@pulumi/gcp
Version:
A Pulumi package for creating and managing Google Cloud Platform resources.
62 lines • 2.47 kB
JavaScript
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
Object.defineProperty(exports, "__esModule", { value: true });
exports.getCloudExadataInfrastructureOutput = exports.getCloudExadataInfrastructure = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("../utilities");
/**
* 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",
* });
* ```
*/
function getCloudExadataInfrastructure(args, opts) {
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invoke("gcp:oracledatabase/getCloudExadataInfrastructure:getCloudExadataInfrastructure", {
"cloudExadataInfrastructureId": args.cloudExadataInfrastructureId,
"location": args.location,
"project": args.project,
}, opts);
}
exports.getCloudExadataInfrastructure = getCloudExadataInfrastructure;
/**
* 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",
* });
* ```
*/
function getCloudExadataInfrastructureOutput(args, opts) {
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invokeOutput("gcp:oracledatabase/getCloudExadataInfrastructure:getCloudExadataInfrastructure", {
"cloudExadataInfrastructureId": args.cloudExadataInfrastructureId,
"location": args.location,
"project": args.project,
}, opts);
}
exports.getCloudExadataInfrastructureOutput = getCloudExadataInfrastructureOutput;
//# sourceMappingURL=getCloudExadataInfrastructure.js.map
;