import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * This resource provides the Autonomous Vm Cluster resource in Oracle Cloud Infrastructure Database service. * Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/database/latest/AutonomousVmCluster * * Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/database * * Creates an Autonomous VM cluster for Exadata Cloud@Customer. To create an Autonomous VM Cluster in the Oracle cloud, see [CreateCloudAutonomousVmCluster](https://docs.cloud.oracle.com/iaas/api/#/en/database/latest/CloudAutonomousVmCluster/CreateCloudAutonomousVmCluster). * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testAutonomousVmCluster = new oci.database.AutonomousVmCluster("test_autonomous_vm_cluster", { * compartmentId: compartmentId, * displayName: autonomousVmClusterDisplayName, * exadataInfrastructureId: testExadataInfrastructure.id, * vmClusterNetworkId: testVmClusterNetwork.id, * autonomousDataStorageSizeInTbs: autonomousVmClusterAutonomousDataStorageSizeInTbs, * computeModel: autonomousVmClusterComputeModel, * cpuCoreCountPerNode: Number(autonomousVmClusterCpuCoreCountPerNode), * dbServers: autonomousVmClusterDbServers, * definedTags: autonomousVmClusterDefinedTags, * distributionAlgorithm: autonomousVmClusterDistributionAlgorithm, * freeformTags: { * Department: "Finance", * }, * isLocalBackupEnabled: autonomousVmClusterIsLocalBackupEnabled === "true", * isMtlsEnabled: autonomousVmClusterIsMtlsEnabled === "true", * licenseModel: autonomousVmClusterLicenseModel, * maintenanceWindowDetails: [{ * daysOfWeeks: [{ * name: autonomousVmClusterMaintenanceWindowDetailsDaysOfWeekName, * }], * hoursOfDays: autonomousVmClusterMaintenanceWindowDetailsHoursOfDay, * leadTimeInWeeks: Number(autonomousVmClusterMaintenanceWindowDetailsLeadTimeInWeeks), * months: [{ * name: autonomousVmClusterMaintenanceWindowDetailsMonthsName, * }], * patchingMode: autonomousVmClusterMaintenanceWindowDetailsPatchingMode, * preference: autonomousVmClusterMaintenanceWindowDetailsPreference, * weeksOfMonths: autonomousVmClusterMaintenanceWindowDetailsWeeksOfMonth, * }], * memoryPerOracleComputeUnitInGbs: Number(autonomousVmClusterMemoryPerOracleComputeUnitInGbs), * scanListenerPortNonTls: Number(autonomousVmClusterScanListenerPortNonTls), * scanListenerPortTls: Number(autonomousVmClusterScanListenerPortTls), * sgaPercentage: autonomousVmClusterSgaPercentage, * timeZone: autonomousVmClusterTimeZone, * totalContainerDatabases: Number(autonomousVmClusterTotalContainerDatabases), * }); * ``` * * ## Import * * AutonomousVmClusters can be imported using the `id`, e.g. * * ```sh * $ pulumi import oci:Database/autonomousVmCluster:AutonomousVmCluster test_autonomous_vm_cluster "id" * ``` */ export declare class AutonomousVmCluster extends pulumi.CustomResource { /** * Get an existing AutonomousVmCluster 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?: AutonomousVmClusterState, opts?: pulumi.CustomResourceOptions): AutonomousVmCluster; /** * Returns true if the given object is an instance of AutonomousVmCluster. 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 AutonomousVmCluster; readonly autonomousDataStoragePercentage: pulumi.Output; /** * (Updatable) The data disk group size to be allocated for Autonomous Databases, in TBs. */ readonly autonomousDataStorageSizeInTbs: pulumi.Output; /** * The data disk group size available for Autonomous Databases, in TBs. */ readonly availableAutonomousDataStorageSizeInTbs: pulumi.Output; /** * The number of Autonomous Container Databases that can be created with the currently available local storage. */ readonly availableContainerDatabases: pulumi.Output; /** * The numnber of CPU cores available. */ readonly availableCpus: pulumi.Output; /** * **Deprecated.** Use `availableAutonomousDataStorageSizeInTBs` for Autonomous Databases' data storage availability in TBs. */ readonly availableDataStorageSizeInTbs: pulumi.Output; /** * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. */ readonly compartmentId: pulumi.Output; /** * The compute model of the Autonomous VM Cluster. ECPU compute model is the recommended model and OCPU compute model is legacy. */ readonly computeModel: pulumi.Output; /** * (Updatable) The number of CPU cores to enable per VM cluster node. */ readonly cpuCoreCountPerNode: pulumi.Output; readonly cpuPercentage: pulumi.Output; /** * The number of enabled CPU cores. */ readonly cpusEnabled: pulumi.Output; readonly cpusLowestScaledValue: pulumi.Output; readonly dataStorageSizeInGb: pulumi.Output; /** * The total data storage allocated in TBs */ readonly dataStorageSizeInTbs: pulumi.Output; /** * The local node storage allocated in GBs. */ readonly dbNodeStorageSizeInGbs: pulumi.Output; /** * The list of [OCIDs](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Db servers. */ readonly dbServers: pulumi.Output; /** * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). */ readonly definedTags: pulumi.Output<{ [key: string]: string; }>; /** * The user-friendly name for the Autonomous VM cluster. The name does not need to be unique. */ readonly displayName: pulumi.Output; /** * (Updatable) The distribution algorithm used for the Autonomous VM cluster. */ readonly distributionAlgorithm: pulumi.Output; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Exadata infrastructure. */ readonly exadataInfrastructureId: pulumi.Output; /** * The lowest value to which exadataStorage(in TBs) can be scaled down. */ readonly exadataStorageInTbsLowestScaledValue: pulumi.Output; /** * (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` */ readonly freeformTags: pulumi.Output<{ [key: string]: string; }>; /** * If true, database backup on local Exadata storage is configured for the Autonomous VM cluster. If false, database backup on local Exadata storage is not available in the Autonomous VM cluster. */ readonly isLocalBackupEnabled: pulumi.Output; /** * (Updatable) Enable mutual TLS(mTLS) authentication for database while provisioning a VMCluster. Default is TLS. */ readonly isMtlsEnabled: pulumi.Output; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the last maintenance run. */ readonly lastMaintenanceRunId: pulumi.Output; /** * (Updatable) The Oracle license model that applies to the Autonomous VM cluster. The default is BRING_YOUR_OWN_LICENSE. */ readonly licenseModel: pulumi.Output; /** * Additional information about the current lifecycle state. */ readonly lifecycleDetails: pulumi.Output; /** * (Updatable) The scheduling details for the quarterly maintenance window. Patching and system updates take place during the maintenance window. */ readonly maintenanceWindowDetails: pulumi.Output; /** * The scheduling details for the quarterly maintenance window. Patching and system updates take place during the maintenance window. */ readonly maintenanceWindows: pulumi.Output; /** * The lowest value to which maximum number of ACDs can be scaled down. */ readonly maxAcdsLowestScaledValue: pulumi.Output; /** * The amount of memory (in GBs) to be enabled per OCPU or ECPU. */ readonly memoryPerComputeUnitInGbs: pulumi.Output; /** * The amount of memory (in GBs) to be enabled per OCPU or ECPU. */ readonly memoryPerOracleComputeUnitInGbs: pulumi.Output; /** * The memory allocated in GBs. */ readonly memorySizeInGbs: pulumi.Output; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the next maintenance run. */ readonly nextMaintenanceRunId: pulumi.Output; /** * The number of nodes in the Autonomous VM Cluster. */ readonly nodeCount: pulumi.Output; readonly nonProvisionableAutonomousContainerDatabases: pulumi.Output; /** * The number of enabled OCPU cores. */ readonly ocpusEnabled: pulumi.Output; /** * **Deprecated.** Use field totalContainerDatabases. */ readonly provisionableAutonomousContainerDatabases: pulumi.Output; /** * The number of provisioned Autonomous Container Databases in an Autonomous VM Cluster. */ readonly provisionedAutonomousContainerDatabases: pulumi.Output; /** * The number of CPUs provisioned in an Autonomous VM Cluster. */ readonly provisionedCpus: pulumi.Output; /** * For Autonomous Databases on Dedicated Exadata Infrastructure: * * These are the CPUs that continue to be included in the count of CPUs available to the Autonomous Container Database even after one of its Autonomous Database is terminated or scaled down. You can release them to the available CPUs at its parent Autonomous VM Cluster level by restarting the Autonomous Container Database. * * The CPU type (OCPUs or ECPUs) is determined by the parent Autonomous Exadata VM Cluster's compute model. */ readonly reclaimableCpus: pulumi.Output; /** * The number of CPUs reserved in an Autonomous VM Cluster. */ readonly reservedCpus: pulumi.Output; /** * (Updatable) The SCAN Listener Non TLS port number. Default value is 1521. */ readonly scanListenerPortNonTls: pulumi.Output; /** * (Updatable) The SCAN Listener TLS port number. Default value is 2484. */ readonly scanListenerPortTls: pulumi.Output; /** * Percentage of ECPU memory allocated for SGA(System Global Area). */ readonly sgaPercentage: pulumi.Output; /** * The current state of the Autonomous VM cluster. */ readonly state: pulumi.Output; /** * System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). */ readonly systemTags: pulumi.Output<{ [key: string]: string; }>; /** * The date and time that the Autonomous VM cluster was created. */ readonly timeCreated: pulumi.Output; /** * The date and time of Database SSL certificate expiration. */ readonly timeDatabaseSslCertificateExpires: pulumi.Output; /** * The date and time of ORDS certificate expiration. */ readonly timeOrdsCertificateExpires: pulumi.Output; /** * (Updatable) The time zone to use for the Autonomous VM cluster. For details, see [DB System Time Zones](https://docs.cloud.oracle.com/iaas/Content/Database/References/timezones.htm). */ readonly timeZone: pulumi.Output; readonly totalAutonomousDataStorageInTbs: pulumi.Output; /** * (Updatable) The total number of Autonomous Container Databases that can be created. */ readonly totalContainerDatabases: pulumi.Output; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VM cluster network. * * ** IMPORTANT ** * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values */ readonly vmClusterNetworkId: pulumi.Output; /** * Create a AutonomousVmCluster 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: AutonomousVmClusterArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering AutonomousVmCluster resources. */ export interface AutonomousVmClusterState { autonomousDataStoragePercentage?: pulumi.Input; /** * (Updatable) The data disk group size to be allocated for Autonomous Databases, in TBs. */ autonomousDataStorageSizeInTbs?: pulumi.Input; /** * The data disk group size available for Autonomous Databases, in TBs. */ availableAutonomousDataStorageSizeInTbs?: pulumi.Input; /** * The number of Autonomous Container Databases that can be created with the currently available local storage. */ availableContainerDatabases?: pulumi.Input; /** * The numnber of CPU cores available. */ availableCpus?: pulumi.Input; /** * **Deprecated.** Use `availableAutonomousDataStorageSizeInTBs` for Autonomous Databases' data storage availability in TBs. */ availableDataStorageSizeInTbs?: pulumi.Input; /** * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. */ compartmentId?: pulumi.Input; /** * The compute model of the Autonomous VM Cluster. ECPU compute model is the recommended model and OCPU compute model is legacy. */ computeModel?: pulumi.Input; /** * (Updatable) The number of CPU cores to enable per VM cluster node. */ cpuCoreCountPerNode?: pulumi.Input; cpuPercentage?: pulumi.Input; /** * The number of enabled CPU cores. */ cpusEnabled?: pulumi.Input; cpusLowestScaledValue?: pulumi.Input; dataStorageSizeInGb?: pulumi.Input; /** * The total data storage allocated in TBs */ dataStorageSizeInTbs?: pulumi.Input; /** * The local node storage allocated in GBs. */ dbNodeStorageSizeInGbs?: pulumi.Input; /** * The list of [OCIDs](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Db servers. */ dbServers?: pulumi.Input[] | undefined>; /** * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). */ definedTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * The user-friendly name for the Autonomous VM cluster. The name does not need to be unique. */ displayName?: pulumi.Input; /** * (Updatable) The distribution algorithm used for the Autonomous VM cluster. */ distributionAlgorithm?: pulumi.Input; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Exadata infrastructure. */ exadataInfrastructureId?: pulumi.Input; /** * The lowest value to which exadataStorage(in TBs) can be scaled down. */ exadataStorageInTbsLowestScaledValue?: pulumi.Input; /** * (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` */ freeformTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * If true, database backup on local Exadata storage is configured for the Autonomous VM cluster. If false, database backup on local Exadata storage is not available in the Autonomous VM cluster. */ isLocalBackupEnabled?: pulumi.Input; /** * (Updatable) Enable mutual TLS(mTLS) authentication for database while provisioning a VMCluster. Default is TLS. */ isMtlsEnabled?: pulumi.Input; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the last maintenance run. */ lastMaintenanceRunId?: pulumi.Input; /** * (Updatable) The Oracle license model that applies to the Autonomous VM cluster. The default is BRING_YOUR_OWN_LICENSE. */ licenseModel?: pulumi.Input; /** * Additional information about the current lifecycle state. */ lifecycleDetails?: pulumi.Input; /** * (Updatable) The scheduling details for the quarterly maintenance window. Patching and system updates take place during the maintenance window. */ maintenanceWindowDetails?: pulumi.Input[] | undefined>; /** * The scheduling details for the quarterly maintenance window. Patching and system updates take place during the maintenance window. */ maintenanceWindows?: pulumi.Input[] | undefined>; /** * The lowest value to which maximum number of ACDs can be scaled down. */ maxAcdsLowestScaledValue?: pulumi.Input; /** * The amount of memory (in GBs) to be enabled per OCPU or ECPU. */ memoryPerComputeUnitInGbs?: pulumi.Input; /** * The amount of memory (in GBs) to be enabled per OCPU or ECPU. */ memoryPerOracleComputeUnitInGbs?: pulumi.Input; /** * The memory allocated in GBs. */ memorySizeInGbs?: pulumi.Input; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the next maintenance run. */ nextMaintenanceRunId?: pulumi.Input; /** * The number of nodes in the Autonomous VM Cluster. */ nodeCount?: pulumi.Input; nonProvisionableAutonomousContainerDatabases?: pulumi.Input; /** * The number of enabled OCPU cores. */ ocpusEnabled?: pulumi.Input; /** * **Deprecated.** Use field totalContainerDatabases. */ provisionableAutonomousContainerDatabases?: pulumi.Input; /** * The number of provisioned Autonomous Container Databases in an Autonomous VM Cluster. */ provisionedAutonomousContainerDatabases?: pulumi.Input; /** * The number of CPUs provisioned in an Autonomous VM Cluster. */ provisionedCpus?: pulumi.Input; /** * For Autonomous Databases on Dedicated Exadata Infrastructure: * * These are the CPUs that continue to be included in the count of CPUs available to the Autonomous Container Database even after one of its Autonomous Database is terminated or scaled down. You can release them to the available CPUs at its parent Autonomous VM Cluster level by restarting the Autonomous Container Database. * * The CPU type (OCPUs or ECPUs) is determined by the parent Autonomous Exadata VM Cluster's compute model. */ reclaimableCpus?: pulumi.Input; /** * The number of CPUs reserved in an Autonomous VM Cluster. */ reservedCpus?: pulumi.Input; /** * (Updatable) The SCAN Listener Non TLS port number. Default value is 1521. */ scanListenerPortNonTls?: pulumi.Input; /** * (Updatable) The SCAN Listener TLS port number. Default value is 2484. */ scanListenerPortTls?: pulumi.Input; /** * Percentage of ECPU memory allocated for SGA(System Global Area). */ sgaPercentage?: pulumi.Input; /** * The current state of the Autonomous VM cluster. */ state?: pulumi.Input; /** * System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). */ systemTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * The date and time that the Autonomous VM cluster was created. */ timeCreated?: pulumi.Input; /** * The date and time of Database SSL certificate expiration. */ timeDatabaseSslCertificateExpires?: pulumi.Input; /** * The date and time of ORDS certificate expiration. */ timeOrdsCertificateExpires?: pulumi.Input; /** * (Updatable) The time zone to use for the Autonomous VM cluster. For details, see [DB System Time Zones](https://docs.cloud.oracle.com/iaas/Content/Database/References/timezones.htm). */ timeZone?: pulumi.Input; totalAutonomousDataStorageInTbs?: pulumi.Input; /** * (Updatable) The total number of Autonomous Container Databases that can be created. */ totalContainerDatabases?: pulumi.Input; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VM cluster network. * * ** IMPORTANT ** * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values */ vmClusterNetworkId?: pulumi.Input; } /** * The set of arguments for constructing a AutonomousVmCluster resource. */ export interface AutonomousVmClusterArgs { /** * (Updatable) The data disk group size to be allocated for Autonomous Databases, in TBs. */ autonomousDataStorageSizeInTbs?: pulumi.Input; /** * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. */ compartmentId: pulumi.Input; /** * The compute model of the Autonomous VM Cluster. ECPU compute model is the recommended model and OCPU compute model is legacy. */ computeModel?: pulumi.Input; /** * (Updatable) The number of CPU cores to enable per VM cluster node. */ cpuCoreCountPerNode?: pulumi.Input; /** * The list of [OCIDs](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Db servers. */ dbServers?: pulumi.Input[] | undefined>; /** * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). */ definedTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * The user-friendly name for the Autonomous VM cluster. The name does not need to be unique. */ displayName: pulumi.Input; /** * (Updatable) The distribution algorithm used for the Autonomous VM cluster. */ distributionAlgorithm?: pulumi.Input; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Exadata infrastructure. */ exadataInfrastructureId: pulumi.Input; /** * (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` */ freeformTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * If true, database backup on local Exadata storage is configured for the Autonomous VM cluster. If false, database backup on local Exadata storage is not available in the Autonomous VM cluster. */ isLocalBackupEnabled?: pulumi.Input; /** * (Updatable) Enable mutual TLS(mTLS) authentication for database while provisioning a VMCluster. Default is TLS. */ isMtlsEnabled?: pulumi.Input; /** * (Updatable) The Oracle license model that applies to the Autonomous VM cluster. The default is BRING_YOUR_OWN_LICENSE. */ licenseModel?: pulumi.Input; /** * (Updatable) The scheduling details for the quarterly maintenance window. Patching and system updates take place during the maintenance window. */ maintenanceWindowDetails?: pulumi.Input[] | undefined>; /** * The amount of memory (in GBs) to be enabled per OCPU or ECPU. */ memoryPerOracleComputeUnitInGbs?: pulumi.Input; /** * (Updatable) The SCAN Listener Non TLS port number. Default value is 1521. */ scanListenerPortNonTls?: pulumi.Input; /** * (Updatable) The SCAN Listener TLS port number. Default value is 2484. */ scanListenerPortTls?: pulumi.Input; /** * Percentage of ECPU memory allocated for SGA(System Global Area). */ sgaPercentage?: pulumi.Input; /** * (Updatable) The time zone to use for the Autonomous VM cluster. For details, see [DB System Time Zones](https://docs.cloud.oracle.com/iaas/Content/Database/References/timezones.htm). */ timeZone?: pulumi.Input; /** * (Updatable) The total number of Autonomous Container Databases that can be created. */ totalContainerDatabases?: pulumi.Input; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VM cluster network. * * ** IMPORTANT ** * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values */ vmClusterNetworkId: pulumi.Input; } //# sourceMappingURL=autonomousVmCluster.d.ts.map