1. Packages
  2. Volcengine
  3. API Docs
  4. cr
  5. Tags
Volcengine v0.0.26 published on Friday, Sep 13, 2024 by Volcengine

volcengine.cr.Tags

Explore with Pulumi AI

volcengine logo
Volcengine v0.0.26 published on Friday, Sep 13, 2024 by Volcengine

    Use this data source to query detailed information of cr tags

    Example Usage

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Volcengine = Pulumi.Volcengine;
    
    return await Deployment.RunAsync(() => 
    {
        var foo = Volcengine.Cr.Tags.Invoke(new()
        {
            Namespace = "test",
            Registry = "enterprise-1",
            Repository = "repo",
            Types = new[]
            {
                "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.Tags(ctx, &cr.TagsArgs{
    			Namespace:  "test",
    			Registry:   "enterprise-1",
    			Repository: "repo",
    			Types: []string{
    				"Image",
    			},
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    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.TagsArgs;
    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.Tags(TagsArgs.builder()
                .namespace("test")
                .registry("enterprise-1")
                .repository("repo")
                .types("Image")
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_volcengine as volcengine
    
    foo = volcengine.cr.tags(namespace="test",
        registry="enterprise-1",
        repository="repo",
        types=["Image"])
    
    import * as pulumi from "@pulumi/pulumi";
    import * as volcengine from "@pulumi/volcengine";
    
    const foo = volcengine.cr.Tags({
        namespace: "test",
        registry: "enterprise-1",
        repository: "repo",
        types: ["Image"],
    });
    
    variables:
      foo:
        fn::invoke:
          Function: volcengine:cr:Tags
          Arguments:
            namespace: test
            registry: enterprise-1
            repository: repo
            types:
              - Image
    

    Using Tags

    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 tags(args: TagsArgs, opts?: InvokeOptions): Promise<TagsResult>
    function tagsOutput(args: TagsOutputArgs, opts?: InvokeOptions): Output<TagsResult>
    def 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) -> TagsResult
    def 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[TagsResult]
    func Tags(ctx *Context, args *TagsArgs, opts ...InvokeOption) (*TagsResult, error)
    func TagsOutput(ctx *Context, args *TagsOutputArgs, opts ...InvokeOption) TagsResultOutput
    public static class Tags 
    {
        public static Task<TagsResult> InvokeAsync(TagsArgs args, InvokeOptions? opts = null)
        public static Output<TagsResult> Invoke(TagsInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<TagsResult> tags(TagsArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: volcengine:cr:Tags
      arguments:
        # arguments dictionary

    The 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.
    OutputFile 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.
    OutputFile 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.
    outputFile 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.
    outputFile 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.
    outputFile String
    File name where to save data source results.
    types List<String>
    The list of OCI product tag type.

    Tags Result

    The following output properties are available:

    Id string
    The provider-assigned unique ID for this managed resource.
    Namespace string
    Registry string
    Repository string
    Tags List<Pulumi.Volcengine.Cr.Outputs.TagsTag>
    The collection of repository query.
    TotalCount int
    The total count of tag query.
    Names List<string>
    OutputFile string
    Types List<string>
    Id string
    The provider-assigned unique ID for this managed resource.
    Namespace string
    Registry string
    Repository string
    Tags []TagsTag
    The collection of repository query.
    TotalCount int
    The total count of tag query.
    Names []string
    OutputFile string
    Types []string
    id String
    The provider-assigned unique ID for this managed resource.
    namespace String
    registry String
    repository String
    tags List<TagsTag>
    The collection of repository query.
    totalCount Integer
    The total count of tag query.
    names List<String>
    outputFile String
    types List<String>
    id string
    The provider-assigned unique ID for this managed resource.
    namespace string
    registry string
    repository string
    tags TagsTag[]
    The collection of repository query.
    totalCount number
    The total count of tag query.
    names string[]
    outputFile string
    types string[]
    id str
    The provider-assigned unique ID for this managed resource.
    namespace str
    registry str
    repository str
    tags Sequence[TagsTag]
    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
    tags List<Property Map>
    The collection of repository query.
    totalCount Number
    The total count of tag query.
    names List<String>
    outputFile String
    types List<String>

    Supporting Types

    TagsTag

    ChartAttribute Pulumi.Volcengine.Cr.Inputs.TagsTagChartAttribute
    The chart attribute,valid when tag type is Chart.
    Digest string
    The digest of image.
    ImageAttributes List<Pulumi.Volcengine.Cr.Inputs.TagsTagImageAttribute>
    The list of image attributes,valid when tag type is Image.
    Name string
    The name of OCI product tag.
    PushTime string
    The last push time of OCI product.
    Size int
    The size of OCI product.
    Type string
    The type of OCI product tag.
    ChartAttribute TagsTagChartAttribute
    The chart attribute,valid when tag type is Chart.
    Digest string
    The digest of image.
    ImageAttributes []TagsTagImageAttribute
    The list of image attributes,valid when tag type is Image.
    Name string
    The name of OCI product tag.
    PushTime string
    The last push time of OCI product.
    Size int
    The size of OCI product.
    Type string
    The type of OCI product tag.
    chartAttribute TagsTagChartAttribute
    The chart attribute,valid when tag type is Chart.
    digest String
    The digest of image.
    imageAttributes List<TagsTagImageAttribute>
    The list of image attributes,valid when tag type is Image.
    name String
    The name of OCI product tag.
    pushTime String
    The last push time of OCI product.
    size Integer
    The size of OCI product.
    type String
    The type of OCI product tag.
    chartAttribute TagsTagChartAttribute
    The chart attribute,valid when tag type is Chart.
    digest string
    The digest of image.
    imageAttributes TagsTagImageAttribute[]
    The list of image attributes,valid when tag type is Image.
    name string
    The name of OCI product tag.
    pushTime 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 TagsTagChartAttribute
    The chart attribute,valid when tag type is Chart.
    digest str
    The digest of image.
    image_attributes Sequence[TagsTagImageAttribute]
    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.
    chartAttribute Property Map
    The chart attribute,valid when tag type is Chart.
    digest String
    The digest of image.
    imageAttributes List<Property Map>
    The list of image attributes,valid when tag type is Image.
    name String
    The name of OCI product tag.
    pushTime String
    The last push time of OCI product.
    size Number
    The size of OCI product.
    type String
    The type of OCI product tag.

    TagsTagChartAttribute

    ApiVersion string
    The Helm version.
    Name string
    The name of OCI product tag.
    Version string
    The Helm Chart version.
    ApiVersion string
    The Helm version.
    Name string
    The name of OCI product tag.
    Version string
    The Helm Chart version.
    apiVersion String
    The Helm version.
    name String
    The name of OCI product tag.
    version String
    The Helm Chart version.
    apiVersion 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.
    apiVersion String
    The Helm version.
    name String
    The name of OCI product tag.
    version String
    The Helm Chart version.

    TagsTagImageAttribute

    Architecture string
    The image architecture.
    Author string
    The image author.
    Digest string
    The digest of image.
    Os string
    The iamge os.
    Architecture string
    The image architecture.
    Author string
    The image author.
    Digest string
    The digest of image.
    Os string
    The iamge os.
    architecture String
    The image architecture.
    author String
    The image author.
    digest String
    The digest of image.
    os String
    The iamge os.
    architecture string
    The image architecture.
    author string
    The image author.
    digest string
    The digest of image.
    os string
    The iamge os.
    architecture str
    The image architecture.
    author str
    The image author.
    digest str
    The digest of image.
    os str
    The iamge os.
    architecture String
    The image architecture.
    author 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 volcengine Terraform Provider.
    volcengine logo
    Volcengine v0.0.26 published on Friday, Sep 13, 2024 by Volcengine