Volcengine v0.0.26 published on Friday, Sep 13, 2024 by Volcengine
volcengine.cr.Tags
Explore with Pulumi AI
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.
- 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.
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
- List<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
- []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<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
- 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[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
TagsTag
- Chart
Attribute TagsTag Chart Attribute - The chart attribute,valid when tag type is Chart.
- Digest string
- The digest of image.
- Image
Attributes List<TagsTag 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 TagsTag Chart Attribute - The chart attribute,valid when tag type is Chart.
- Digest string
- The digest of image.
- Image
Attributes []TagsTag 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 TagsTag Chart Attribute - The chart attribute,valid when tag type is Chart.
- digest String
- The digest of image.
- image
Attributes List<TagsTag 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 TagsTag Chart Attribute - The chart attribute,valid when tag type is Chart.
- digest string
- The digest of image.
- image
Attributes TagsTag 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 TagsTag Chart Attribute - The chart attribute,valid when tag type is Chart.
- digest str
- The digest of image.
- image_
attributes Sequence[TagsTag 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.
TagsTagChartAttribute
- 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.
TagsTagImageAttribute
- 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
volcengine
Terraform Provider.