import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * Terraform to manage cloud vm cluster resource in AWS for Oracle Database@AWS. If underlying odb network and cloud exadata infrastructure is shared, ARN must be used while creating VM cluster. * * You can find out more about Oracle Database@AWS from [User Guide](https://docs.aws.amazon.com/odb/latest/UserGuide/what-is-odb.html). * * ## Example Usage * * ### Basic Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const withMinimumParameter = new aws.odb.CloudVmCluster("with_minimum_parameter", { * dataCollectionOptions: { * isDiagnosticsEventsEnabled: false, * isHealthMonitoringEnabled: false, * isIncidentLogsEnabled: false, * }, * displayName: "my_vm_cluster", * cloudExadataInfrastructureId: "", * cpuCoreCount: 6, * giVersion: "23.0.0.0", * hostnamePrefix: "apollo12", * sshPublicKeys: ["public-ssh-key"], * odbNetworkId: "", * isLocalBackupEnabled: true, * isSparseDiskgroupEnabled: true, * licenseModel: "LICENSE_INCLUDED", * dataStorageSizeInTbs: 20, * dbServers: [ * "db-server-1", * "db-server-2", * ], * dbNodeStorageSizeInGbs: 120, * memorySizeInGbs: 60, * }); * ``` * * ### With Optional Arguments * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const withAllParameters = new aws.odb.CloudVmCluster("with_all_parameters", { * dataCollectionOptions: { * isDiagnosticsEventsEnabled: true, * isHealthMonitoringEnabled: true, * isIncidentLogsEnabled: true, * }, * displayName: "my_vm_cluster", * cloudExadataInfrastructureId: "", * cpuCoreCount: 6, * giVersion: "23.0.0.0", * hostnamePrefix: "apollo12", * sshPublicKeys: ["my-ssh-key"], * odbNetworkId: "", * isLocalBackupEnabled: true, * isSparseDiskgroupEnabled: true, * licenseModel: "LICENSE_INCLUDED", * dataStorageSizeInTbs: 20, * dbServers: [ * "my-dbserver-1", * "my-db-server-2", * ], * dbNodeStorageSizeInGbs: 120, * memorySizeInGbs: 60, * clusterName: "julia-13", * timezone: "UTC", * scanListenerPortTcp: 1521, * tags: { * env: "dev", * }, * }); * ``` * * ### With GI Version Tag * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const giVersionTagExample = new aws.odb.CloudVmCluster("gi_version_tag_example", { * dataCollectionOptions: { * isDiagnosticsEventsEnabled: true, * isHealthMonitoringEnabled: true, * isIncidentLogsEnabled: true, * }, * displayName: "my_vm_cluster", * cloudExadataInfrastructureId: "", * cpuCoreCount: 6, * giVersion: "23.0.0.0", * hostnamePrefix: "apollo12", * sshPublicKeys: ["my-ssh-key"], * odbNetworkId: "", * isLocalBackupEnabled: true, * isSparseDiskgroupEnabled: true, * licenseModel: "LICENSE_INCLUDED", * dataStorageSizeInTbs: 20, * dbServers: [ * "my-dbserver-1", * "my-db-server-2", * ], * dbNodeStorageSizeInGbs: 120, * memorySizeInGbs: 60, * clusterName: "julia-13", * timezone: "UTC", * scanListenerPortTcp: 1521, * tags: { * "odb:input_gi_version": "23.0.0.0", * }, * }); * ``` * * ## Import * * Using `pulumi import`, import cloud vm cluster using the `id`. For example: * * ```sh * $ pulumi import aws:odb/cloudVmCluster:CloudVmCluster example example * ``` */ export declare 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 state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: CloudVmClusterState, opts?: pulumi.CustomResourceOptions): CloudVmCluster; /** * 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: any): obj is CloudVmCluster; /** * ARN for the cloud vm cluster. */ readonly arn: pulumi.Output; /** * ARN of the Exadata infrastructure for this VM cluster. Changing this will create a new resource. Either the combination of cloudExadataInfrastructureId and odbNetworkId or cloudExadataInfrastructureArn and odbNetworkArn must be used. */ readonly cloudExadataInfrastructureArn: pulumi.Output; /** * Unique identifier of the Exadata infrastructure for this VM cluster. Changing this will create a new resource. Either the combination of cloudExadataInfrastructureId and odbNetworkId or cloudExadataInfrastructureArn and odbNetworkArn must be used. */ readonly cloudExadataInfrastructureId: pulumi.Output; /** * Name of the Grid Infrastructure (GI) cluster. Changing this will create a new resource. */ readonly clusterName: pulumi.Output; /** * Compute model used when the instance is created or cloned — either ECPU or OCPU. ECPU is a virtualized compute unit; OCPU is a physical processor core with hyper-threading. */ readonly computeModel: pulumi.Output; /** * Number of CPU cores to enable on the VM cluster. Changing this will create a new resource. */ readonly cpuCoreCount: pulumi.Output; /** * Timestamp when the VM cluster was created. */ readonly createdAt: pulumi.Output; /** * Set of preferences for the various diagnostic collection options for the VM cluster. See `dataCollectionOptions` Block below. Changing this will create a new resource. */ readonly dataCollectionOptions: pulumi.Output; /** * Size of the data disk group, in terabytes (TBs), to allocate for the VM cluster. Changing this will create a new resource. */ readonly dataStorageSizeInTbs: pulumi.Output; /** * Amount of local node storage, in gigabytes (GBs), to allocate for the VM cluster. Changing this will create a new resource. */ readonly dbNodeStorageSizeInGbs: pulumi.Output; /** * List of database servers for the VM cluster. Changing this will create a new resource. */ readonly dbServers: pulumi.Output; /** * Type of redundancy for the VM cluster: NORMAL (2-way) or HIGH (3-way). */ readonly diskRedundancy: pulumi.Output; /** * User-friendly name for the VM cluster. Changing this will create a new resource. */ readonly displayName: pulumi.Output; /** * Domain name associated with the VM cluster. */ readonly domain: pulumi.Output; /** * Valid Oracle Grid Infrastructure (GI) software version. To get valid values, use the ListGiVersions operation for the Exadata infrastructure shape. Example: `19.0.0.0`. Changing this creates a new resource. Prefer to provide `odb:input_gi_version` tag. If `odb:input_gi_version` tag is provided, its value must exactly match `giVersion`, otherwise Terraform returns an error. See the `With GI Version Tag` example above. */ readonly giVersion: pulumi.Output; /** * Complete software version of Oracle Grid Infrastructure (GI). */ readonly giVersionComputed: pulumi.Output; /** * Host name prefix for the VM cluster. Constraints: - Can't be "localhost" or "hostname". - Can't contain "-version". - Maximum length of the combined hostname and domain is 63 characters. - Hostname must be unique within the subnet. Changing this will create a new resource. */ readonly hostnamePrefix: pulumi.Output; /** * Host name for the VM cluster. Constraints: - Can't be "localhost" or "hostname". - Can't contain "-version". - Maximum length of the combined hostname and domain is 63 characters. - Hostname must be unique within the subnet. */ readonly hostnamePrefixComputed: pulumi.Output; /** * Exadata IORM (I/O Resource Manager) configuration cache details for the VM cluster. See `iormConfigCache` Block below. */ readonly iormConfigCaches: pulumi.Output; /** * Whether to enable database backups to local Exadata storage for the VM cluster. Changing this will create a new resource. */ readonly isLocalBackupEnabled: pulumi.Output; /** * Whether to create a sparse disk group for the VM cluster. Changing this will create a new resource. */ readonly isSparseDiskgroupEnabled: pulumi.Output; /** * OCID of the most recent maintenance update history entry. */ readonly lastUpdateHistoryEntryId: pulumi.Output; /** * Oracle license model to apply to the VM cluster. Default: LICENSE_INCLUDED. Changing this will create a new resource. */ readonly licenseModel: pulumi.Output; /** * Listener port number configured on the VM cluster. */ readonly listenerPort: pulumi.Output; /** * Amount of memory, in gigabytes (GBs), to allocate for the VM cluster. Changing this will create a new resource. */ readonly memorySizeInGbs: pulumi.Output; /** * Total number of nodes in the VM cluster. */ readonly nodeCount: pulumi.Output; /** * Name of the OCI resource anchor associated with the VM cluster. */ readonly ociResourceAnchorName: pulumi.Output; /** * HTTPS link to the VM cluster resource in OCI. */ readonly ociUrl: pulumi.Output; /** * OCID (Oracle Cloud Identifier) of the VM cluster. */ readonly ocid: pulumi.Output; /** * ARN of the ODB network for the VM cluster. Changing this will create a new resource. Either the combination of cloudExadataInfrastructureId and odbNetworkId or cloudExadataInfrastructureArn and odbNetworkArn must be used. */ readonly odbNetworkArn: pulumi.Output; /** * Unique identifier of the ODB network for the VM cluster. Changing this will create a new resource. Either the combination of cloudExadataInfrastructureId and odbNetworkId or cloudExadataInfrastructureArn and odbNetworkArn must be used. */ readonly odbNetworkId: pulumi.Output; /** * Percentage of progress made on the current operation for the VM cluster. */ readonly percentProgress: pulumi.Output; /** * Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration. */ readonly region: pulumi.Output; /** * Fully qualified domain name (FQDN) for the SCAN IP addresses associated with the VM cluster. */ readonly scanDnsName: pulumi.Output; /** * OCID of the DNS record for the SCAN IPs linked to the VM cluster. */ readonly scanDnsRecordId: pulumi.Output; /** * List of OCIDs for SCAN IP addresses associated with the VM cluster. */ readonly scanIpIds: pulumi.Output; /** * Port number for TCP connections to the single client access name (SCAN) listener. Valid values: 1024–8999, except 2484, 6100, 6200, 7060, 7070, 7085, and 7879. Default: 1521. Changing this will create a new resource. */ readonly scanListenerPortTcp: pulumi.Output; /** * Hardware model name of the Exadata infrastructure running the VM cluster. */ readonly shape: pulumi.Output; /** * Public key portion of one or more key pairs used for SSH access to the VM cluster. Changing this will create a new resource. * * The following arguments are optional: */ readonly sshPublicKeys: pulumi.Output; /** * Current lifecycle status of the VM cluster. */ readonly status: pulumi.Output; /** * Additional information regarding the current status of the VM cluster. */ readonly statusReason: pulumi.Output; /** * Local node storage allocated to the VM cluster, in gigabytes (GB). */ readonly storageSizeInGbs: pulumi.Output; /** * Operating system version of the image chosen for the VM cluster. */ readonly systemVersion: pulumi.Output; /** * Map of tags to assign to the exadata infrastructure. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. */ readonly tags: pulumi.Output<{ [key: string]: string; } | undefined>; /** * Combined set of user-defined and provider-defined tags. */ readonly tagsAll: pulumi.Output<{ [key: string]: string; }>; readonly timeouts: pulumi.Output; /** * Configured time zone of the VM cluster. Changing this will create a new resource. */ readonly timezone: pulumi.Output; /** * Virtual IP (VIP) addresses assigned to the VM cluster. CRS assigns one VIP per node for failover support. */ readonly vipIds: pulumi.Output; /** * 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: string, args: CloudVmClusterArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering CloudVmCluster resources. */ export interface CloudVmClusterState { /** * ARN for the cloud vm cluster. */ arn?: pulumi.Input; /** * ARN of the Exadata infrastructure for this VM cluster. Changing this will create a new resource. Either the combination of cloudExadataInfrastructureId and odbNetworkId or cloudExadataInfrastructureArn and odbNetworkArn must be used. */ cloudExadataInfrastructureArn?: pulumi.Input; /** * Unique identifier of the Exadata infrastructure for this VM cluster. Changing this will create a new resource. Either the combination of cloudExadataInfrastructureId and odbNetworkId or cloudExadataInfrastructureArn and odbNetworkArn must be used. */ cloudExadataInfrastructureId?: pulumi.Input; /** * Name of the Grid Infrastructure (GI) cluster. Changing this will create a new resource. */ clusterName?: pulumi.Input; /** * Compute model used when the instance is created or cloned — either ECPU or OCPU. ECPU is a virtualized compute unit; OCPU is a physical processor core with hyper-threading. */ computeModel?: pulumi.Input; /** * Number of CPU cores to enable on the VM cluster. Changing this will create a new resource. */ cpuCoreCount?: pulumi.Input; /** * Timestamp when the VM cluster was created. */ createdAt?: pulumi.Input; /** * Set of preferences for the various diagnostic collection options for the VM cluster. See `dataCollectionOptions` Block below. Changing this will create a new resource. */ dataCollectionOptions?: pulumi.Input; /** * Size of the data disk group, in terabytes (TBs), to allocate for the VM cluster. Changing this will create a new resource. */ dataStorageSizeInTbs?: pulumi.Input; /** * Amount of local node storage, in gigabytes (GBs), to allocate for the VM cluster. Changing this will create a new resource. */ dbNodeStorageSizeInGbs?: pulumi.Input; /** * List of database servers for the VM cluster. Changing this will create a new resource. */ dbServers?: pulumi.Input[] | undefined>; /** * Type of redundancy for the VM cluster: NORMAL (2-way) or HIGH (3-way). */ diskRedundancy?: pulumi.Input; /** * User-friendly name for the VM cluster. Changing this will create a new resource. */ displayName?: pulumi.Input; /** * Domain name associated with the VM cluster. */ domain?: pulumi.Input; /** * Valid Oracle Grid Infrastructure (GI) software version. To get valid values, use the ListGiVersions operation for the Exadata infrastructure shape. Example: `19.0.0.0`. Changing this creates a new resource. Prefer to provide `odb:input_gi_version` tag. If `odb:input_gi_version` tag is provided, its value must exactly match `giVersion`, otherwise Terraform returns an error. See the `With GI Version Tag` example above. */ giVersion?: pulumi.Input; /** * Complete software version of Oracle Grid Infrastructure (GI). */ giVersionComputed?: pulumi.Input; /** * Host name prefix for the VM cluster. Constraints: - Can't be "localhost" or "hostname". - Can't contain "-version". - Maximum length of the combined hostname and domain is 63 characters. - Hostname must be unique within the subnet. Changing this will create a new resource. */ hostnamePrefix?: pulumi.Input; /** * Host name for the VM cluster. Constraints: - Can't be "localhost" or "hostname". - Can't contain "-version". - Maximum length of the combined hostname and domain is 63 characters. - Hostname must be unique within the subnet. */ hostnamePrefixComputed?: pulumi.Input; /** * Exadata IORM (I/O Resource Manager) configuration cache details for the VM cluster. See `iormConfigCache` Block below. */ iormConfigCaches?: pulumi.Input[] | undefined>; /** * Whether to enable database backups to local Exadata storage for the VM cluster. Changing this will create a new resource. */ isLocalBackupEnabled?: pulumi.Input; /** * Whether to create a sparse disk group for the VM cluster. Changing this will create a new resource. */ isSparseDiskgroupEnabled?: pulumi.Input; /** * OCID of the most recent maintenance update history entry. */ lastUpdateHistoryEntryId?: pulumi.Input; /** * Oracle license model to apply to the VM cluster. Default: LICENSE_INCLUDED. Changing this will create a new resource. */ licenseModel?: pulumi.Input; /** * Listener port number configured on the VM cluster. */ listenerPort?: pulumi.Input; /** * Amount of memory, in gigabytes (GBs), to allocate for the VM cluster. Changing this will create a new resource. */ memorySizeInGbs?: pulumi.Input; /** * Total number of nodes in the VM cluster. */ nodeCount?: pulumi.Input; /** * Name of the OCI resource anchor associated with the VM cluster. */ ociResourceAnchorName?: pulumi.Input; /** * HTTPS link to the VM cluster resource in OCI. */ ociUrl?: pulumi.Input; /** * OCID (Oracle Cloud Identifier) of the VM cluster. */ ocid?: pulumi.Input; /** * ARN of the ODB network for the VM cluster. Changing this will create a new resource. Either the combination of cloudExadataInfrastructureId and odbNetworkId or cloudExadataInfrastructureArn and odbNetworkArn must be used. */ odbNetworkArn?: pulumi.Input; /** * Unique identifier of the ODB network for the VM cluster. Changing this will create a new resource. Either the combination of cloudExadataInfrastructureId and odbNetworkId or cloudExadataInfrastructureArn and odbNetworkArn must be used. */ odbNetworkId?: pulumi.Input; /** * Percentage of progress made on the current operation for the VM cluster. */ percentProgress?: pulumi.Input; /** * Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration. */ region?: pulumi.Input; /** * Fully qualified domain name (FQDN) for the SCAN IP addresses associated with the VM cluster. */ scanDnsName?: pulumi.Input; /** * OCID of the DNS record for the SCAN IPs linked to the VM cluster. */ scanDnsRecordId?: pulumi.Input; /** * List of OCIDs for SCAN IP addresses associated with the VM cluster. */ scanIpIds?: pulumi.Input[] | undefined>; /** * Port number for TCP connections to the single client access name (SCAN) listener. Valid values: 1024–8999, except 2484, 6100, 6200, 7060, 7070, 7085, and 7879. Default: 1521. Changing this will create a new resource. */ scanListenerPortTcp?: pulumi.Input; /** * Hardware model name of the Exadata infrastructure running the VM cluster. */ shape?: pulumi.Input; /** * Public key portion of one or more key pairs used for SSH access to the VM cluster. Changing this will create a new resource. * * The following arguments are optional: */ sshPublicKeys?: pulumi.Input[] | undefined>; /** * Current lifecycle status of the VM cluster. */ status?: pulumi.Input; /** * Additional information regarding the current status of the VM cluster. */ statusReason?: pulumi.Input; /** * Local node storage allocated to the VM cluster, in gigabytes (GB). */ storageSizeInGbs?: pulumi.Input; /** * Operating system version of the image chosen for the VM cluster. */ systemVersion?: pulumi.Input; /** * Map of tags to assign to the exadata infrastructure. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. */ tags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * Combined set of user-defined and provider-defined tags. */ tagsAll?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; timeouts?: pulumi.Input; /** * Configured time zone of the VM cluster. Changing this will create a new resource. */ timezone?: pulumi.Input; /** * Virtual IP (VIP) addresses assigned to the VM cluster. CRS assigns one VIP per node for failover support. */ vipIds?: pulumi.Input[] | undefined>; } /** * The set of arguments for constructing a CloudVmCluster resource. */ export interface CloudVmClusterArgs { /** * ARN of the Exadata infrastructure for this VM cluster. Changing this will create a new resource. Either the combination of cloudExadataInfrastructureId and odbNetworkId or cloudExadataInfrastructureArn and odbNetworkArn must be used. */ cloudExadataInfrastructureArn?: pulumi.Input; /** * Unique identifier of the Exadata infrastructure for this VM cluster. Changing this will create a new resource. Either the combination of cloudExadataInfrastructureId and odbNetworkId or cloudExadataInfrastructureArn and odbNetworkArn must be used. */ cloudExadataInfrastructureId?: pulumi.Input; /** * Name of the Grid Infrastructure (GI) cluster. Changing this will create a new resource. */ clusterName?: pulumi.Input; /** * Number of CPU cores to enable on the VM cluster. Changing this will create a new resource. */ cpuCoreCount: pulumi.Input; /** * Set of preferences for the various diagnostic collection options for the VM cluster. See `dataCollectionOptions` Block below. Changing this will create a new resource. */ dataCollectionOptions: pulumi.Input; /** * Size of the data disk group, in terabytes (TBs), to allocate for the VM cluster. Changing this will create a new resource. */ dataStorageSizeInTbs: pulumi.Input; /** * Amount of local node storage, in gigabytes (GBs), to allocate for the VM cluster. Changing this will create a new resource. */ dbNodeStorageSizeInGbs?: pulumi.Input; /** * List of database servers for the VM cluster. Changing this will create a new resource. */ dbServers: pulumi.Input[]>; /** * User-friendly name for the VM cluster. Changing this will create a new resource. */ displayName: pulumi.Input; /** * Valid Oracle Grid Infrastructure (GI) software version. To get valid values, use the ListGiVersions operation for the Exadata infrastructure shape. Example: `19.0.0.0`. Changing this creates a new resource. Prefer to provide `odb:input_gi_version` tag. If `odb:input_gi_version` tag is provided, its value must exactly match `giVersion`, otherwise Terraform returns an error. See the `With GI Version Tag` example above. */ giVersion: pulumi.Input; /** * Host name prefix for the VM cluster. Constraints: - Can't be "localhost" or "hostname". - Can't contain "-version". - Maximum length of the combined hostname and domain is 63 characters. - Hostname must be unique within the subnet. Changing this will create a new resource. */ hostnamePrefix: pulumi.Input; /** * Whether to enable database backups to local Exadata storage for the VM cluster. Changing this will create a new resource. */ isLocalBackupEnabled?: pulumi.Input; /** * Whether to create a sparse disk group for the VM cluster. Changing this will create a new resource. */ isSparseDiskgroupEnabled?: pulumi.Input; /** * Oracle license model to apply to the VM cluster. Default: LICENSE_INCLUDED. Changing this will create a new resource. */ licenseModel?: pulumi.Input; /** * Amount of memory, in gigabytes (GBs), to allocate for the VM cluster. Changing this will create a new resource. */ memorySizeInGbs?: pulumi.Input; /** * ARN of the ODB network for the VM cluster. Changing this will create a new resource. Either the combination of cloudExadataInfrastructureId and odbNetworkId or cloudExadataInfrastructureArn and odbNetworkArn must be used. */ odbNetworkArn?: pulumi.Input; /** * Unique identifier of the ODB network for the VM cluster. Changing this will create a new resource. Either the combination of cloudExadataInfrastructureId and odbNetworkId or cloudExadataInfrastructureArn and odbNetworkArn must be used. */ odbNetworkId?: pulumi.Input; /** * Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration. */ region?: pulumi.Input; /** * Port number for TCP connections to the single client access name (SCAN) listener. Valid values: 1024–8999, except 2484, 6100, 6200, 7060, 7070, 7085, and 7879. Default: 1521. Changing this will create a new resource. */ scanListenerPortTcp?: pulumi.Input; /** * Public key portion of one or more key pairs used for SSH access to the VM cluster. Changing this will create a new resource. * * The following arguments are optional: */ sshPublicKeys: pulumi.Input[]>; /** * Map of tags to assign to the exadata infrastructure. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. */ tags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; timeouts?: pulumi.Input; /** * Configured time zone of the VM cluster. Changing this will create a new resource. */ timezone?: pulumi.Input; } //# sourceMappingURL=cloudVmCluster.d.ts.map