Volcengine v0.0.38 published on Friday, Oct 31, 2025 by Volcengine
Volcengine v0.0.38 published on Friday, Oct 31, 2025 by Volcengine
Use this data source to query detailed information of cr tags
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as volcengine from "@pulumi/volcengine";
const foo = volcengine.cr.getTags({
namespace: "test",
registry: "enterprise-1",
repository: "repo",
types: ["Image"],
});
import pulumi
import pulumi_volcengine as volcengine
foo = volcengine.cr.get_tags(namespace="test",
registry="enterprise-1",
repository="repo",
types=["Image"])
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/cr"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := cr.GetTags(ctx, &cr.GetTagsArgs{
Namespace: "test",
Registry: "enterprise-1",
Repository: "repo",
Types: []string{
"Image",
},
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Volcengine = Pulumi.Volcengine;
return await Deployment.RunAsync(() =>
{
var foo = Volcengine.Cr.GetTags.Invoke(new()
{
Namespace = "test",
Registry = "enterprise-1",
Repository = "repo",
Types = new[]
{
"Image",
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.volcengine.cr.CrFunctions;
import com.pulumi.volcengine.cr.inputs.GetTagsArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var foo = CrFunctions.getTags(GetTagsArgs.builder()
.namespace("test")
.registry("enterprise-1")
.repository("repo")
.types("Image")
.build());
}
}
variables:
foo:
fn::invoke:
Function: volcengine:cr:getTags
Arguments:
namespace: test
registry: enterprise-1
repository: repo
types:
- Image
Using getTags
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getTags(args: GetTagsArgs, opts?: InvokeOptions): Promise<GetTagsResult>
function getTagsOutput(args: GetTagsOutputArgs, opts?: InvokeOptions): Output<GetTagsResult>def get_tags(names: Optional[Sequence[str]] = None,
namespace: Optional[str] = None,
output_file: Optional[str] = None,
registry: Optional[str] = None,
repository: Optional[str] = None,
types: Optional[Sequence[str]] = None,
opts: Optional[InvokeOptions] = None) -> GetTagsResult
def get_tags_output(names: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
namespace: Optional[pulumi.Input[str]] = None,
output_file: Optional[pulumi.Input[str]] = None,
registry: Optional[pulumi.Input[str]] = None,
repository: Optional[pulumi.Input[str]] = None,
types: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetTagsResult]func GetTags(ctx *Context, args *GetTagsArgs, opts ...InvokeOption) (*GetTagsResult, error)
func GetTagsOutput(ctx *Context, args *GetTagsOutputArgs, opts ...InvokeOption) GetTagsResultOutput> Note: This function is named GetTags in the Go SDK.
public static class GetTags
{
public static Task<GetTagsResult> InvokeAsync(GetTagsArgs args, InvokeOptions? opts = null)
public static Output<GetTagsResult> Invoke(GetTagsInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetTagsResult> getTags(GetTagsArgs args, InvokeOptions options)
public static Output<GetTagsResult> getTags(GetTagsArgs args, InvokeOptions options)
fn::invoke:
function: volcengine:cr/getTags:getTags
arguments:
# arguments dictionaryThe following arguments are supported:
- Namespace string
- The CR namespace.
- Registry string
- The CR instance name.
- Repository string
- The repository name.
- Names List<string>
- The list of instance names.
- Output
File string - File name where to save data source results.
- Types List<string>
- The list of OCI product tag type.
- Namespace string
- The CR namespace.
- Registry string
- The CR instance name.
- Repository string
- The repository name.
- Names []string
- The list of instance names.
- Output
File string - File name where to save data source results.
- Types []string
- The list of OCI product tag type.
- namespace String
- The CR namespace.
- registry String
- The CR instance name.
- repository String
- The repository name.
- names List<String>
- The list of instance names.
- output
File String - File name where to save data source results.
- types List<String>
- The list of OCI product tag type.
- namespace string
- The CR namespace.
- registry string
- The CR instance name.
- repository string
- The repository name.
- names string[]
- The list of instance names.
- output
File string - File name where to save data source results.
- types string[]
- The list of OCI product tag type.
- namespace str
- The CR namespace.
- registry str
- The CR instance name.
- repository str
- The repository name.
- names Sequence[str]
- The list of instance names.
- output_
file str - File name where to save data source results.
- types Sequence[str]
- The list of OCI product tag type.
- namespace String
- The CR namespace.
- registry String
- The CR instance name.
- repository String
- The repository name.
- names List<String>
- The list of instance names.
- output
File String - File name where to save data source results.
- types List<String>
- The list of OCI product tag type.
getTags Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- Namespace string
- Registry string
- Repository string
-
List<Get
Tags Tag> - The collection of repository query.
- Total
Count int - The total count of tag query.
- Names List<string>
- Output
File string - Types List<string>
- Id string
- The provider-assigned unique ID for this managed resource.
- Namespace string
- Registry string
- Repository string
-
[]Get
Tags Tag - The collection of repository query.
- Total
Count int - The total count of tag query.
- Names []string
- Output
File string - Types []string
- id String
- The provider-assigned unique ID for this managed resource.
- namespace String
- registry String
- repository String
-
List<Get
Tags Tag> - The collection of repository query.
- total
Count Integer - The total count of tag query.
- names List<String>
- output
File String - types List<String>
- id string
- The provider-assigned unique ID for this managed resource.
- namespace string
- registry string
- repository string
-
Get
Tags Tag[] - The collection of repository query.
- total
Count number - The total count of tag query.
- names string[]
- output
File string - types string[]
- id str
- The provider-assigned unique ID for this managed resource.
- namespace str
- registry str
- repository str
-
Sequence[Get
Tags Tag] - The collection of repository query.
- total_
count int - The total count of tag query.
- names Sequence[str]
- output_
file str - types Sequence[str]
- id String
- The provider-assigned unique ID for this managed resource.
- namespace String
- registry String
- repository String
- List<Property Map>
- The collection of repository query.
- total
Count Number - The total count of tag query.
- names List<String>
- output
File String - types List<String>
Supporting Types
GetTagsTag
- Chart
Attribute GetTags Tag Chart Attribute - The chart attribute,valid when tag type is Chart.
- Digest string
- The digest of image.
- Image
Attributes List<GetTags Tag Image Attribute> - The list of image attributes,valid when tag type is Image.
- Name string
- The name of OCI product tag.
- Push
Time string - The last push time of OCI product.
- Size int
- The size of OCI product.
- Type string
- The type of OCI product tag.
- Chart
Attribute GetTags Tag Chart Attribute - The chart attribute,valid when tag type is Chart.
- Digest string
- The digest of image.
- Image
Attributes []GetTags Tag Image Attribute - The list of image attributes,valid when tag type is Image.
- Name string
- The name of OCI product tag.
- Push
Time string - The last push time of OCI product.
- Size int
- The size of OCI product.
- Type string
- The type of OCI product tag.
- chart
Attribute GetTags Tag Chart Attribute - The chart attribute,valid when tag type is Chart.
- digest String
- The digest of image.
- image
Attributes List<GetTags Tag Image Attribute> - The list of image attributes,valid when tag type is Image.
- name String
- The name of OCI product tag.
- push
Time String - The last push time of OCI product.
- size Integer
- The size of OCI product.
- type String
- The type of OCI product tag.
- chart
Attribute GetTags Tag Chart Attribute - The chart attribute,valid when tag type is Chart.
- digest string
- The digest of image.
- image
Attributes GetTags Tag Image Attribute[] - The list of image attributes,valid when tag type is Image.
- name string
- The name of OCI product tag.
- push
Time string - The last push time of OCI product.
- size number
- The size of OCI product.
- type string
- The type of OCI product tag.
- chart_
attribute GetTags Tag Chart Attribute - The chart attribute,valid when tag type is Chart.
- digest str
- The digest of image.
- image_
attributes Sequence[GetTags Tag Image Attribute] - The list of image attributes,valid when tag type is Image.
- name str
- The name of OCI product tag.
- push_
time str - The last push time of OCI product.
- size int
- The size of OCI product.
- type str
- The type of OCI product tag.
- chart
Attribute Property Map - The chart attribute,valid when tag type is Chart.
- digest String
- The digest of image.
- image
Attributes List<Property Map> - The list of image attributes,valid when tag type is Image.
- name String
- The name of OCI product tag.
- push
Time String - The last push time of OCI product.
- size Number
- The size of OCI product.
- type String
- The type of OCI product tag.
GetTagsTagChartAttribute
- Api
Version string - The Helm version.
- Name string
- The name of OCI product tag.
- Version string
- The Helm Chart version.
- Api
Version string - The Helm version.
- Name string
- The name of OCI product tag.
- Version string
- The Helm Chart version.
- api
Version String - The Helm version.
- name String
- The name of OCI product tag.
- version String
- The Helm Chart version.
- api
Version string - The Helm version.
- name string
- The name of OCI product tag.
- version string
- The Helm Chart version.
- api_
version str - The Helm version.
- name str
- The name of OCI product tag.
- version str
- The Helm Chart version.
- api
Version String - The Helm version.
- name String
- The name of OCI product tag.
- version String
- The Helm Chart version.
GetTagsTagImageAttribute
- Architecture string
- The image architecture.
- string
- The image author.
- Digest string
- The digest of image.
- Os string
- The iamge os.
- Architecture string
- The image architecture.
- string
- The image author.
- Digest string
- The digest of image.
- Os string
- The iamge os.
- architecture String
- The image architecture.
- String
- The image author.
- digest String
- The digest of image.
- os String
- The iamge os.
- architecture string
- The image architecture.
- string
- The image author.
- digest string
- The digest of image.
- os string
- The iamge os.
- architecture str
- The image architecture.
- str
- The image author.
- digest str
- The digest of image.
- os str
- The iamge os.
- architecture String
- The image architecture.
- String
- The image author.
- digest String
- The digest of image.
- os String
- The iamge os.
Package Details
- Repository
- volcengine volcengine/pulumi-volcengine
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
volcengineTerraform Provider.
Volcengine v0.0.38 published on Friday, Oct 31, 2025 by Volcengine
