UNPKG

@pulumi/gcp

Version:

A Pulumi package for creating and managing Google Cloud Platform resources.

109 lines 3.81 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Get information about a Cloud VMware Engine Datastore. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as gcp from "@pulumi/gcp"; * * const _default = gcp.vmwareengine.getDatastore({ * location: exampleThirdparty.location, * name: exampleThirdparty.name, * }); * ``` */ export declare function getDatastore(args: GetDatastoreArgs, opts?: pulumi.InvokeOptions): Promise<GetDatastoreResult>; /** * A collection of arguments for invoking getDatastore. */ export interface GetDatastoreArgs { /** * Resource ID segment making up resource `name`. It identifies the resource within its parent collection as described in https://google.aip.dev/122. */ location: string; /** * The user-provided identifier of the datastore to be created. * This identifier must be unique among each `Datastore` within the parent * and becomes the final token in the name URI. * The identifier must meet the following requirements: * * Only contains 1-63 alphanumeric characters and hyphens * * Begins with an alphabetical character * * Ends with a non-hyphen character * * Not formatted as a UUID * * Complies with [RFC 1034](https://datatracker.ietf.org/doc/html/rfc1034) * (section 3.5) */ name: string; /** * The ID of the project in which the resource belongs. * If it is not provided, the provider project is used. */ project?: string; } /** * A collection of values returned by getDatastore. */ export interface GetDatastoreResult { readonly clusters: string[]; readonly createTime: string; readonly deletionPolicy: string; readonly description: string; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly location: string; readonly name: string; readonly nfsDatastores: outputs.vmwareengine.GetDatastoreNfsDatastore[]; readonly project?: string; readonly state: string; readonly uid: string; readonly updateTime: string; } /** * Get information about a Cloud VMware Engine Datastore. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as gcp from "@pulumi/gcp"; * * const _default = gcp.vmwareengine.getDatastore({ * location: exampleThirdparty.location, * name: exampleThirdparty.name, * }); * ``` */ export declare function getDatastoreOutput(args: GetDatastoreOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetDatastoreResult>; /** * A collection of arguments for invoking getDatastore. */ export interface GetDatastoreOutputArgs { /** * Resource ID segment making up resource `name`. It identifies the resource within its parent collection as described in https://google.aip.dev/122. */ location: pulumi.Input<string>; /** * The user-provided identifier of the datastore to be created. * This identifier must be unique among each `Datastore` within the parent * and becomes the final token in the name URI. * The identifier must meet the following requirements: * * Only contains 1-63 alphanumeric characters and hyphens * * Begins with an alphabetical character * * Ends with a non-hyphen character * * Not formatted as a UUID * * Complies with [RFC 1034](https://datatracker.ietf.org/doc/html/rfc1034) * (section 3.5) */ name: pulumi.Input<string>; /** * The ID of the project in which the resource belongs. * If it is not provided, the provider project is used. */ project?: pulumi.Input<string | undefined>; } //# sourceMappingURL=getDatastore.d.ts.map