UNPKG

@volcengine/pulumi

Version:

A Pulumi package for creating and managing volcengine cloud resources.

120 lines (119 loc) 2.98 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Use this data source to query detailed information of cr tags * ## Example Usage * * ```typescript * 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"], * }); * ``` */ /** @deprecated volcengine.cr.Tags has been deprecated in favor of volcengine.cr.getTags */ export declare function tags(args: TagsArgs, opts?: pulumi.InvokeOptions): Promise<TagsResult>; /** * A collection of arguments for invoking Tags. */ export interface TagsArgs { /** * The list of instance names. */ names?: string[]; /** * The CR namespace. */ namespace: string; /** * File name where to save data source results. */ outputFile?: string; /** * The CR instance name. */ registry: string; /** * The repository name. */ repository: string; /** * The list of OCI product tag type. */ types?: string[]; } /** * A collection of values returned by Tags. */ export interface TagsResult { /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly names?: string[]; readonly namespace: string; readonly outputFile?: string; readonly registry: string; readonly repository: string; /** * The collection of repository query. */ readonly tags: outputs.cr.TagsTag[]; /** * The total count of tag query. */ readonly totalCount: number; readonly types?: string[]; } /** * Use this data source to query detailed information of cr tags * ## Example Usage * * ```typescript * 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"], * }); * ``` */ /** @deprecated volcengine.cr.Tags has been deprecated in favor of volcengine.cr.getTags */ export declare function tagsOutput(args: TagsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<TagsResult>; /** * A collection of arguments for invoking Tags. */ export interface TagsOutputArgs { /** * The list of instance names. */ names?: pulumi.Input<pulumi.Input<string>[]>; /** * The CR namespace. */ namespace: pulumi.Input<string>; /** * File name where to save data source results. */ outputFile?: pulumi.Input<string>; /** * The CR instance name. */ registry: pulumi.Input<string>; /** * The repository name. */ repository: pulumi.Input<string>; /** * The list of OCI product tag type. */ types?: pulumi.Input<pulumi.Input<string>[]>; }