@pulumi/gcp
Version:
A Pulumi package for creating and managing Google Cloud Platform resources.
112 lines (111 loc) • 3.15 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* Get information about a CloudVmCluster.
*
* For more information see the
* [API](https://cloud.google.com/oracle/database/docs/reference/rest/v1/projects.locations.cloudVmClusters).
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as gcp from "@pulumi/gcp";
*
* const my_vmcluster = gcp.oracledatabase.getCloudVmCluster({
* location: "us-east4",
* cloudVmClusterId: "vmcluster-id",
* });
* ```
*/
export declare function getCloudVmCluster(args: GetCloudVmClusterArgs, opts?: pulumi.InvokeOptions): Promise<GetCloudVmClusterResult>;
/**
* A collection of arguments for invoking getCloudVmCluster.
*/
export interface GetCloudVmClusterArgs {
/**
* The ID of the VM Cluster.
*/
cloudVmClusterId: string;
/**
* The location of the resource.
*
* - - -
*/
location: string;
/**
* 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 getCloudVmCluster.
*/
export interface GetCloudVmClusterResult {
readonly backupSubnetCidr: string;
readonly cidr: string;
readonly cloudVmClusterId: string;
readonly createTime: string;
readonly deletionProtection: boolean;
readonly displayName: string;
readonly effectiveLabels: {
[key: string]: string;
};
readonly exadataInfrastructure: string;
readonly gcpOracleZone: string;
/**
* The provider-assigned unique ID for this managed resource.
*/
readonly id: string;
readonly labels: {
[key: string]: string;
};
readonly location: string;
readonly name: string;
readonly network: string;
readonly project?: string;
readonly properties: outputs.oracledatabase.GetCloudVmClusterProperty[];
readonly pulumiLabels: {
[key: string]: string;
};
}
/**
* Get information about a CloudVmCluster.
*
* For more information see the
* [API](https://cloud.google.com/oracle/database/docs/reference/rest/v1/projects.locations.cloudVmClusters).
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as gcp from "@pulumi/gcp";
*
* const my_vmcluster = gcp.oracledatabase.getCloudVmCluster({
* location: "us-east4",
* cloudVmClusterId: "vmcluster-id",
* });
* ```
*/
export declare function getCloudVmClusterOutput(args: GetCloudVmClusterOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetCloudVmClusterResult>;
/**
* A collection of arguments for invoking getCloudVmCluster.
*/
export interface GetCloudVmClusterOutputArgs {
/**
* The ID of the VM Cluster.
*/
cloudVmClusterId: pulumi.Input<string>;
/**
* The location of the resource.
*
* - - -
*/
location: pulumi.Input<string>;
/**
* The project in which the resource belongs. If it
* is not provided, the provider project is used.
*/
project?: pulumi.Input<string>;
}