@pulumi/gcp
Version:
A Pulumi package for creating and managing Google Cloud Platform resources.
84 lines (83 loc) • 2.66 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* Use this data source to get details about a external address resource.
*
* To get more information about external address, see:
* * [API documentation](https://cloud.google.com/vmware-engine/docs/reference/rest/v1/projects.locations.privateClouds.externalAddresses)
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as gcp from "@pulumi/gcp";
*
* const myExternalAddress = gcp.vmwareengine.getExternalAddress({
* name: "my-external-address",
* parent: "project/my-project/locations/us-west1-a/privateClouds/my-cloud",
* });
* ```
*/
export declare function getExternalAddress(args: GetExternalAddressArgs, opts?: pulumi.InvokeOptions): Promise<GetExternalAddressResult>;
/**
* A collection of arguments for invoking getExternalAddress.
*/
export interface GetExternalAddressArgs {
/**
* Name of the resource.
*/
name: string;
/**
* The resource name of the private cloud that this cluster belongs.
*/
parent: string;
}
/**
* A collection of values returned by getExternalAddress.
*/
export interface GetExternalAddressResult {
readonly createTime: string;
readonly description: string;
readonly externalIp: string;
/**
* The provider-assigned unique ID for this managed resource.
*/
readonly id: string;
readonly internalIp: string;
readonly name: string;
readonly parent: string;
readonly state: string;
readonly uid: string;
readonly updateTime: string;
}
/**
* Use this data source to get details about a external address resource.
*
* To get more information about external address, see:
* * [API documentation](https://cloud.google.com/vmware-engine/docs/reference/rest/v1/projects.locations.privateClouds.externalAddresses)
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as gcp from "@pulumi/gcp";
*
* const myExternalAddress = gcp.vmwareengine.getExternalAddress({
* name: "my-external-address",
* parent: "project/my-project/locations/us-west1-a/privateClouds/my-cloud",
* });
* ```
*/
export declare function getExternalAddressOutput(args: GetExternalAddressOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetExternalAddressResult>;
/**
* A collection of arguments for invoking getExternalAddress.
*/
export interface GetExternalAddressOutputArgs {
/**
* Name of the resource.
*/
name: pulumi.Input<string>;
/**
* The resource name of the private cloud that this cluster belongs.
*/
parent: pulumi.Input<string>;
}