1. Packages
  2. Volcengine
  3. API Docs
  4. cr
  5. Tags
Volcengine v0.0.27 published on Tuesday, Dec 10, 2024 by Volcengine

volcengine.cr.Tags

Explore with Pulumi AI

Volcengine v0.0.27 published on Tuesday, Dec 10, 2024 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.Tags({
    namespace: "test",
    registry: "enterprise-1",
    repository: "repo",
    types: ["Image"],
});
Copy
import pulumi
import pulumi_volcengine as volcengine

foo = volcengine.cr.tags(namespace="test",
    registry="enterprise-1",
    repository="repo",
    types=["Image"])
Copy
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
	})
}
Copy
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",
        },
    });

});
Copy
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());

    }
}
Copy
variables:
  foo:
    fn::invoke:
      Function: volcengine:cr:Tags
      Arguments:
        namespace: test
        registry: enterprise-1
        repository: repo
        types:
          - Image
Copy

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>
Copy
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]
Copy
func Tags(ctx *Context, args *TagsArgs, opts ...InvokeOption) (*TagsResult, error)
func TagsOutput(ctx *Context, args *TagsOutputArgs, opts ...InvokeOption) TagsResultOutput
Copy
public static class Tags 
{
    public static Task<TagsResult> InvokeAsync(TagsArgs args, InvokeOptions? opts = null)
    public static Output<TagsResult> Invoke(TagsInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<TagsResult> tags(TagsArgs args, InvokeOptions options)
public static Output<TagsResult> tags(TagsArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: volcengine:cr:Tags
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

Namespace This property is required. string
The CR namespace.
Registry This property is required. string
The CR instance name.
Repository This property is required. 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 This property is required. string
The CR namespace.
Registry This property is required. string
The CR instance name.
Repository This property is required. 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 This property is required. String
The CR namespace.
registry This property is required. String
The CR instance name.
repository This property is required. 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 This property is required. string
The CR namespace.
registry This property is required. string
The CR instance name.
repository This property is required. 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 This property is required. str
The CR namespace.
registry This property is required. str
The CR instance name.
repository This property is required. 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 This property is required. String
The CR namespace.
registry This property is required. String
The CR instance name.
repository This property is required. 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<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 This property is required. TagsTagChartAttribute
The chart attribute,valid when tag type is Chart.
Digest This property is required. string
The digest of image.
ImageAttributes This property is required. List<TagsTagImageAttribute>
The list of image attributes,valid when tag type is Image.
Name This property is required. string
The name of OCI product tag.
PushTime This property is required. string
The last push time of OCI product.
Size This property is required. int
The size of OCI product.
Type This property is required. string
The type of OCI product tag.
ChartAttribute This property is required. TagsTagChartAttribute
The chart attribute,valid when tag type is Chart.
Digest This property is required. string
The digest of image.
ImageAttributes This property is required. []TagsTagImageAttribute
The list of image attributes,valid when tag type is Image.
Name This property is required. string
The name of OCI product tag.
PushTime This property is required. string
The last push time of OCI product.
Size This property is required. int
The size of OCI product.
Type This property is required. string
The type of OCI product tag.
chartAttribute This property is required. TagsTagChartAttribute
The chart attribute,valid when tag type is Chart.
digest This property is required. String
The digest of image.
imageAttributes This property is required. List<TagsTagImageAttribute>
The list of image attributes,valid when tag type is Image.
name This property is required. String
The name of OCI product tag.
pushTime This property is required. String
The last push time of OCI product.
size This property is required. Integer
The size of OCI product.
type This property is required. String
The type of OCI product tag.
chartAttribute This property is required. TagsTagChartAttribute
The chart attribute,valid when tag type is Chart.
digest This property is required. string
The digest of image.
imageAttributes This property is required. TagsTagImageAttribute[]
The list of image attributes,valid when tag type is Image.
name This property is required. string
The name of OCI product tag.
pushTime This property is required. string
The last push time of OCI product.
size This property is required. number
The size of OCI product.
type This property is required. string
The type of OCI product tag.
chart_attribute This property is required. TagsTagChartAttribute
The chart attribute,valid when tag type is Chart.
digest This property is required. str
The digest of image.
image_attributes This property is required. Sequence[TagsTagImageAttribute]
The list of image attributes,valid when tag type is Image.
name This property is required. str
The name of OCI product tag.
push_time This property is required. str
The last push time of OCI product.
size This property is required. int
The size of OCI product.
type This property is required. str
The type of OCI product tag.
chartAttribute This property is required. Property Map
The chart attribute,valid when tag type is Chart.
digest This property is required. String
The digest of image.
imageAttributes This property is required. List<Property Map>
The list of image attributes,valid when tag type is Image.
name This property is required. String
The name of OCI product tag.
pushTime This property is required. String
The last push time of OCI product.
size This property is required. Number
The size of OCI product.
type This property is required. String
The type of OCI product tag.

TagsTagChartAttribute

ApiVersion This property is required. string
The Helm version.
Name This property is required. string
The name of OCI product tag.
Version This property is required. string
The Helm Chart version.
ApiVersion This property is required. string
The Helm version.
Name This property is required. string
The name of OCI product tag.
Version This property is required. string
The Helm Chart version.
apiVersion This property is required. String
The Helm version.
name This property is required. String
The name of OCI product tag.
version This property is required. String
The Helm Chart version.
apiVersion This property is required. string
The Helm version.
name This property is required. string
The name of OCI product tag.
version This property is required. string
The Helm Chart version.
api_version This property is required. str
The Helm version.
name This property is required. str
The name of OCI product tag.
version This property is required. str
The Helm Chart version.
apiVersion This property is required. String
The Helm version.
name This property is required. String
The name of OCI product tag.
version This property is required. String
The Helm Chart version.

TagsTagImageAttribute

Architecture This property is required. string
The image architecture.
Author This property is required. string
The image author.
Digest This property is required. string
The digest of image.
Os This property is required. string
The iamge os.
Architecture This property is required. string
The image architecture.
Author This property is required. string
The image author.
Digest This property is required. string
The digest of image.
Os This property is required. string
The iamge os.
architecture This property is required. String
The image architecture.
author This property is required. String
The image author.
digest This property is required. String
The digest of image.
os This property is required. String
The iamge os.
architecture This property is required. string
The image architecture.
author This property is required. string
The image author.
digest This property is required. string
The digest of image.
os This property is required. string
The iamge os.
architecture This property is required. str
The image architecture.
author This property is required. str
The image author.
digest This property is required. str
The digest of image.
os This property is required. str
The iamge os.
architecture This property is required. String
The image architecture.
author This property is required. String
The image author.
digest This property is required. String
The digest of image.
os This property is required. 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 v0.0.27 published on Tuesday, Dec 10, 2024 by Volcengine