@pulumi/gcp
Version:
A Pulumi package for creating and managing Google Cloud Platform resources.
109 lines (108 loc) • 3.34 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* Get information about an ExadataInfrastructure.
*
* For more information see the
* [API](https://cloud.google.com/oracle/database/docs/reference/rest/v1/projects.locations.cloudExadataInfrastructures).
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as gcp from "@pulumi/gcp";
*
* const my_instance = gcp.oracledatabase.getCloudExadataInfrastructure({
* location: "us-east4",
* cloudExadataInfrastructureId: "exadata-id",
* });
* ```
*/
export declare function getCloudExadataInfrastructure(args: GetCloudExadataInfrastructureArgs, opts?: pulumi.InvokeOptions): Promise<GetCloudExadataInfrastructureResult>;
/**
* A collection of arguments for invoking getCloudExadataInfrastructure.
*/
export interface GetCloudExadataInfrastructureArgs {
/**
* The ID of the ExadataInfrastructure.
*/
cloudExadataInfrastructureId: string;
/**
* The location of the resource.
*
* - - -
*/
location: string;
/**
* The project to which the resource belongs. If it
* is not provided, the provider project is used.
*/
project?: string;
}
/**
* A collection of values returned by getCloudExadataInfrastructure.
*/
export interface GetCloudExadataInfrastructureResult {
readonly cloudExadataInfrastructureId: string;
readonly createTime: string;
readonly deletionProtection: boolean;
readonly displayName: string;
readonly effectiveLabels: {
[key: string]: string;
};
readonly entitlementId: 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 project?: string;
readonly properties: outputs.oracledatabase.GetCloudExadataInfrastructureProperty[];
readonly pulumiLabels: {
[key: string]: string;
};
}
/**
* Get information about an ExadataInfrastructure.
*
* For more information see the
* [API](https://cloud.google.com/oracle/database/docs/reference/rest/v1/projects.locations.cloudExadataInfrastructures).
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as gcp from "@pulumi/gcp";
*
* const my_instance = gcp.oracledatabase.getCloudExadataInfrastructure({
* location: "us-east4",
* cloudExadataInfrastructureId: "exadata-id",
* });
* ```
*/
export declare function getCloudExadataInfrastructureOutput(args: GetCloudExadataInfrastructureOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetCloudExadataInfrastructureResult>;
/**
* A collection of arguments for invoking getCloudExadataInfrastructure.
*/
export interface GetCloudExadataInfrastructureOutputArgs {
/**
* The ID of the ExadataInfrastructure.
*/
cloudExadataInfrastructureId: pulumi.Input<string>;
/**
* The location of the resource.
*
* - - -
*/
location: pulumi.Input<string>;
/**
* The project to which the resource belongs. If it
* is not provided, the provider project is used.
*/
project?: pulumi.Input<string>;
}