@pulumi/aws-native
Version:
The Pulumi AWS Cloud Control Provider enables you to build, deploy, and manage [any AWS resource that's supported by the AWS Cloud Control API](https://github.com/pulumi/pulumi-aws-native/blob/master/provider/cmd/pulumi-gen-aws-native/supported-types.txt)
128 lines • 7.41 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.CloudVmCluster = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("../utilities");
/**
* The AWS::ODB::CloudVmCluster resource creates a Cloud VM Cluster
*/
class CloudVmCluster extends pulumi.CustomResource {
/**
* Get an existing CloudVmCluster resource's state with the given name, ID, and optional extra
* properties used to qualify the lookup.
*
* @param name The _unique_ name of the resulting resource.
* @param id The _unique_ provider ID of the resource to lookup.
* @param opts Optional settings to control the behavior of the CustomResource.
*/
static get(name, id, opts) {
return new CloudVmCluster(name, undefined, { ...opts, id: id });
}
/**
* Returns true if the given object is an instance of CloudVmCluster. This is designed to work even
* when multiple copies of the Pulumi SDK have been loaded into the same process.
*/
static isInstance(obj) {
if (obj === undefined || obj === null) {
return false;
}
return obj['__pulumiType'] === CloudVmCluster.__pulumiType;
}
/**
* Create a CloudVmCluster resource with the given unique name, arguments, and options.
*
* @param name The _unique_ name of the resource.
* @param args The arguments to use to populate this resource's properties.
* @param opts A bag of options that control this resource's behavior.
*/
constructor(name, args, opts) {
let resourceInputs = {};
opts = opts || {};
if (!opts.id) {
resourceInputs["cloudExadataInfrastructureId"] = args?.cloudExadataInfrastructureId;
resourceInputs["clusterName"] = args?.clusterName;
resourceInputs["cpuCoreCount"] = args?.cpuCoreCount;
resourceInputs["dataCollectionOptions"] = args?.dataCollectionOptions;
resourceInputs["dataStorageSizeInTbs"] = args?.dataStorageSizeInTbs;
resourceInputs["dbNodeStorageSizeInGbs"] = args?.dbNodeStorageSizeInGbs;
resourceInputs["dbNodes"] = args?.dbNodes;
resourceInputs["dbServers"] = args?.dbServers;
resourceInputs["displayName"] = args?.displayName;
resourceInputs["giVersion"] = args?.giVersion;
resourceInputs["hostname"] = args?.hostname;
resourceInputs["isLocalBackupEnabled"] = args?.isLocalBackupEnabled;
resourceInputs["isSparseDiskgroupEnabled"] = args?.isSparseDiskgroupEnabled;
resourceInputs["licenseModel"] = args?.licenseModel;
resourceInputs["memorySizeInGbs"] = args?.memorySizeInGbs;
resourceInputs["odbNetworkId"] = args?.odbNetworkId;
resourceInputs["scanListenerPortTcp"] = args?.scanListenerPortTcp;
resourceInputs["sshPublicKeys"] = args?.sshPublicKeys;
resourceInputs["systemVersion"] = args?.systemVersion;
resourceInputs["tags"] = args?.tags;
resourceInputs["timeZone"] = args?.timeZone;
resourceInputs["cloudVmClusterArn"] = undefined /*out*/;
resourceInputs["cloudVmClusterId"] = undefined /*out*/;
resourceInputs["computeModel"] = undefined /*out*/;
resourceInputs["diskRedundancy"] = undefined /*out*/;
resourceInputs["domain"] = undefined /*out*/;
resourceInputs["listenerPort"] = undefined /*out*/;
resourceInputs["nodeCount"] = undefined /*out*/;
resourceInputs["ociResourceAnchorName"] = undefined /*out*/;
resourceInputs["ociUrl"] = undefined /*out*/;
resourceInputs["ocid"] = undefined /*out*/;
resourceInputs["scanDnsName"] = undefined /*out*/;
resourceInputs["scanIpIds"] = undefined /*out*/;
resourceInputs["shape"] = undefined /*out*/;
resourceInputs["storageSizeInGbs"] = undefined /*out*/;
resourceInputs["vipIds"] = undefined /*out*/;
}
else {
resourceInputs["cloudExadataInfrastructureId"] = undefined /*out*/;
resourceInputs["cloudVmClusterArn"] = undefined /*out*/;
resourceInputs["cloudVmClusterId"] = undefined /*out*/;
resourceInputs["clusterName"] = undefined /*out*/;
resourceInputs["computeModel"] = undefined /*out*/;
resourceInputs["cpuCoreCount"] = undefined /*out*/;
resourceInputs["dataCollectionOptions"] = undefined /*out*/;
resourceInputs["dataStorageSizeInTbs"] = undefined /*out*/;
resourceInputs["dbNodeStorageSizeInGbs"] = undefined /*out*/;
resourceInputs["dbNodes"] = undefined /*out*/;
resourceInputs["dbServers"] = undefined /*out*/;
resourceInputs["diskRedundancy"] = undefined /*out*/;
resourceInputs["displayName"] = undefined /*out*/;
resourceInputs["domain"] = undefined /*out*/;
resourceInputs["giVersion"] = undefined /*out*/;
resourceInputs["hostname"] = undefined /*out*/;
resourceInputs["isLocalBackupEnabled"] = undefined /*out*/;
resourceInputs["isSparseDiskgroupEnabled"] = undefined /*out*/;
resourceInputs["licenseModel"] = undefined /*out*/;
resourceInputs["listenerPort"] = undefined /*out*/;
resourceInputs["memorySizeInGbs"] = undefined /*out*/;
resourceInputs["nodeCount"] = undefined /*out*/;
resourceInputs["ociResourceAnchorName"] = undefined /*out*/;
resourceInputs["ociUrl"] = undefined /*out*/;
resourceInputs["ocid"] = undefined /*out*/;
resourceInputs["odbNetworkId"] = undefined /*out*/;
resourceInputs["scanDnsName"] = undefined /*out*/;
resourceInputs["scanIpIds"] = undefined /*out*/;
resourceInputs["scanListenerPortTcp"] = undefined /*out*/;
resourceInputs["shape"] = undefined /*out*/;
resourceInputs["sshPublicKeys"] = undefined /*out*/;
resourceInputs["storageSizeInGbs"] = undefined /*out*/;
resourceInputs["systemVersion"] = undefined /*out*/;
resourceInputs["tags"] = undefined /*out*/;
resourceInputs["timeZone"] = undefined /*out*/;
resourceInputs["vipIds"] = undefined /*out*/;
}
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
const replaceOnChanges = { replaceOnChanges: ["cloudExadataInfrastructureId", "clusterName", "cpuCoreCount", "dataCollectionOptions", "dataStorageSizeInTbs", "dbNodeStorageSizeInGbs", "dbNodes[*].dbServerId", "dbServers[*]", "displayName", "giVersion", "hostname", "isLocalBackupEnabled", "isSparseDiskgroupEnabled", "licenseModel", "memorySizeInGbs", "odbNetworkId", "scanListenerPortTcp", "sshPublicKeys[*]", "systemVersion", "timeZone"] };
opts = pulumi.mergeOptions(opts, replaceOnChanges);
super(CloudVmCluster.__pulumiType, name, resourceInputs, opts);
}
}
exports.CloudVmCluster = CloudVmCluster;
/** @internal */
CloudVmCluster.__pulumiType = 'aws-native:odb:CloudVmCluster';
//# sourceMappingURL=cloudVmCluster.js.map