UNPKG

@volcengine/pulumi

Version:

A Pulumi package for creating and managing volcengine cloud resources.

96 lines (95 loc) 2.51 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", * }); * ``` */ export declare function getNamespaces(args: GetNamespacesArgs, opts?: pulumi.InvokeOptions): Promise<GetNamespacesResult>; /** * A collection of arguments for invoking getNamespaces. */ export interface GetNamespacesArgs { /** * 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 getNamespaces. */ export interface GetNamespacesResult { /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly names?: string[]; /** * The collection of namespaces query. */ readonly namespaces: outputs.cr.GetNamespacesNamespace[]; 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", * }); * ``` */ export declare function getNamespacesOutput(args: GetNamespacesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetNamespacesResult>; /** * A collection of arguments for invoking getNamespaces. */ export interface GetNamespacesOutputArgs { /** * 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>; }