UNPKG

@volcengine/pulumi

Version:

A Pulumi package for creating and managing volcengine cloud resources.

98 lines (97 loc) 2.68 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Use this data source to query detailed information of cr namespaces * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as volcengine from "@pulumi/volcengine"; * * const foo = volcengine.cr.getNamespaces({ * names: ["namespace-*"], * registry: "tf-1", * }); * ``` */ /** @deprecated volcengine.cr.Namespaces has been deprecated in favor of volcengine.cr.getNamespaces */ export declare function namespaces(args: NamespacesArgs, opts?: pulumi.InvokeOptions): Promise<NamespacesResult>; /** * A collection of arguments for invoking Namespaces. */ export interface NamespacesArgs { /** * The list of instance IDs. */ names?: string[]; /** * File name where to save data source results. */ outputFile?: string; /** * The list of project names to query. */ projects?: string[]; /** * The target cr instance name. */ registry: string; } /** * A collection of values returned by Namespaces. */ export interface NamespacesResult { /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly names?: string[]; /** * The collection of namespaces query. */ readonly namespaces: outputs.cr.NamespacesNamespace[]; readonly outputFile?: string; readonly projects?: string[]; readonly registry: string; /** * The total count of instance query. */ readonly totalCount: number; } /** * Use this data source to query detailed information of cr namespaces * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as volcengine from "@pulumi/volcengine"; * * const foo = volcengine.cr.getNamespaces({ * names: ["namespace-*"], * registry: "tf-1", * }); * ``` */ /** @deprecated volcengine.cr.Namespaces has been deprecated in favor of volcengine.cr.getNamespaces */ export declare function namespacesOutput(args: NamespacesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<NamespacesResult>; /** * A collection of arguments for invoking Namespaces. */ export interface NamespacesOutputArgs { /** * The list of instance IDs. */ names?: pulumi.Input<pulumi.Input<string>[]>; /** * File name where to save data source results. */ outputFile?: pulumi.Input<string>; /** * The list of project names to query. */ projects?: pulumi.Input<pulumi.Input<string>[]>; /** * The target cr instance name. */ registry: pulumi.Input<string>; }