@pulumi/gcp
Version:
A Pulumi package for creating and managing Google Cloud Platform resources.
56 lines • 2.29 kB
JavaScript
;
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
Object.defineProperty(exports, "__esModule", { value: true });
exports.getVcenterCredentialsOutput = exports.getVcenterCredentials = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("../utilities");
/**
* Use this data source to get Vcenter credentials for a Private Cloud.
*
* To get more information about private cloud Vcenter credentials, see:
* * [API documentation](https://cloud.google.com/vmware-engine/docs/reference/rest/v1/projects.locations.privateClouds/showVcenterCredentials)
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as gcp from "@pulumi/gcp";
*
* const ds = gcp.vmwareengine.getVcenterCredentials({
* parent: "projects/my-project/locations/us-west1-a/privateClouds/my-cloud",
* });
* ```
*/
function getVcenterCredentials(args, opts) {
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invoke("gcp:vmwareengine/getVcenterCredentials:getVcenterCredentials", {
"parent": args.parent,
}, opts);
}
exports.getVcenterCredentials = getVcenterCredentials;
/**
* Use this data source to get Vcenter credentials for a Private Cloud.
*
* To get more information about private cloud Vcenter credentials, see:
* * [API documentation](https://cloud.google.com/vmware-engine/docs/reference/rest/v1/projects.locations.privateClouds/showVcenterCredentials)
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as gcp from "@pulumi/gcp";
*
* const ds = gcp.vmwareengine.getVcenterCredentials({
* parent: "projects/my-project/locations/us-west1-a/privateClouds/my-cloud",
* });
* ```
*/
function getVcenterCredentialsOutput(args, opts) {
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invokeOutput("gcp:vmwareengine/getVcenterCredentials:getVcenterCredentials", {
"parent": args.parent,
}, opts);
}
exports.getVcenterCredentialsOutput = getVcenterCredentialsOutput;
//# sourceMappingURL=getVcenterCredentials.js.map