@pulumi/gcp
Version:
A Pulumi package for creating and managing Google Cloud Platform resources.
74 lines (73 loc) • 2.35 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* Use this data source to get NSX credentials for a Private Cloud.
*
* To get more information about private cloud NSX credentials, see:
* * [API documentation](https://cloud.google.com/vmware-engine/docs/reference/rest/v1/projects.locations.privateClouds/showNsxCredentials)
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as gcp from "@pulumi/gcp";
*
* const ds = gcp.vmwareengine.getNsxCredentials({
* parent: "projects/my-project/locations/us-west1-a/privateClouds/my-cloud",
* });
* ```
*/
export declare function getNsxCredentials(args: GetNsxCredentialsArgs, opts?: pulumi.InvokeOptions): Promise<GetNsxCredentialsResult>;
/**
* A collection of arguments for invoking getNsxCredentials.
*/
export interface GetNsxCredentialsArgs {
/**
* The resource name of the private cloud which contains the NSX.
*/
parent: string;
}
/**
* A collection of values returned by getNsxCredentials.
*/
export interface GetNsxCredentialsResult {
/**
* The provider-assigned unique ID for this managed resource.
*/
readonly id: string;
readonly parent: string;
/**
* The password of the NSX Credential.
*/
readonly password: string;
/**
* The username of the NSX Credential.
*/
readonly username: string;
}
/**
* Use this data source to get NSX credentials for a Private Cloud.
*
* To get more information about private cloud NSX credentials, see:
* * [API documentation](https://cloud.google.com/vmware-engine/docs/reference/rest/v1/projects.locations.privateClouds/showNsxCredentials)
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as gcp from "@pulumi/gcp";
*
* const ds = gcp.vmwareengine.getNsxCredentials({
* parent: "projects/my-project/locations/us-west1-a/privateClouds/my-cloud",
* });
* ```
*/
export declare function getNsxCredentialsOutput(args: GetNsxCredentialsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetNsxCredentialsResult>;
/**
* A collection of arguments for invoking getNsxCredentials.
*/
export interface GetNsxCredentialsOutputArgs {
/**
* The resource name of the private cloud which contains the NSX.
*/
parent: pulumi.Input<string>;
}