Class CloudAutonomousVmCluster


  • public class CloudAutonomousVmCluster
    extends com.pulumi.resources.CustomResource
    Resource managing cloud autonomous vm cluster in AWS for Oracle Database@AWS. 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
     
     package generated_program;
     
     import com.pulumi.Context;
     import com.pulumi.Pulumi;
     import com.pulumi.core.Output;
     import com.pulumi.aws.odb.CloudAutonomousVmCluster;
     import com.pulumi.aws.odb.CloudAutonomousVmClusterArgs;
     import com.pulumi.aws.odb.inputs.CloudAutonomousVmClusterMaintenanceWindowArgs;
     import com.pulumi.aws.odb.inputs.CloudAutonomousVmClusterMaintenanceWindowDaysOfWeekArgs;
     import com.pulumi.aws.odb.inputs.CloudAutonomousVmClusterMaintenanceWindowMonthArgs;
     import java.util.ArrayList;
     import java.util.Arrays;
     import java.util.Map;
     import java.io.File;
     import java.nio.file.Files;
     import java.nio.file.Paths;
     
     public class App {
         public static void main(String[] args) {
             Pulumi.run(App::stack);
         }
     
         public static void stack(Context ctx) {
             var avmcWithMinimumParameters = new CloudAutonomousVmCluster("avmcWithMinimumParameters", CloudAutonomousVmClusterArgs.builder()
                 .maintenanceWindow(CloudAutonomousVmClusterMaintenanceWindowArgs.builder()
                     .preference("NO_PREFERENCE")
                     .build())
                 .cloudExadataInfrastructureId("<aws_odb_cloud_exadata_infrastructure_id>")
                 .odbNetworkId("<aws_odb_network_id>")
                 .displayName("my_autonomous_vm_cluster")
                 .autonomousDataStorageSizeInTbs(5.0)
                 .memoryPerOracleComputeUnitInGbs(2)
                 .totalContainerDatabases(1)
                 .cpuCoreCountPerNode(40)
                 .licenseModel("LICENSE_INCLUDED")
                 .dbServers("<my_db_server_id>")
                 .scanListenerPortTls(8561)
                 .scanListenerPortNonTls(1024)
                 .build());
     
             var avmcWithAllParams = new CloudAutonomousVmCluster("avmcWithAllParams", CloudAutonomousVmClusterArgs.builder()
                 .maintenanceWindow(CloudAutonomousVmClusterMaintenanceWindowArgs.builder()
                     .daysOfWeeks(                
                         CloudAutonomousVmClusterMaintenanceWindowDaysOfWeekArgs.builder()
                             .name("MONDAY")
                             .build(),
                         CloudAutonomousVmClusterMaintenanceWindowDaysOfWeekArgs.builder()
                             .name("TUESDAY")
                             .build())
                     .hoursOfDays(                
                         4,
                         16)
                     .leadTimeInWeeks(3)
                     .months(                
                         CloudAutonomousVmClusterMaintenanceWindowMonthArgs.builder()
                             .name("FEBRUARY")
                             .build(),
                         CloudAutonomousVmClusterMaintenanceWindowMonthArgs.builder()
                             .name("MAY")
                             .build(),
                         CloudAutonomousVmClusterMaintenanceWindowMonthArgs.builder()
                             .name("AUGUST")
                             .build(),
                         CloudAutonomousVmClusterMaintenanceWindowMonthArgs.builder()
                             .name("NOVEMBER")
                             .build())
                     .preference("CUSTOM_PREFERENCE")
                     .weeksOfMonths(                
                         2,
                         4)
                     .build())
                 .description("my first avmc")
                 .timeZone("UTC")
                 .cloudExadataInfrastructureId("<aws_odb_cloud_exadata_infrastructure_id>")
                 .odbNetworkId("<aws_odb_network_id>")
                 .displayName("my_autonomous_vm_cluster")
                 .autonomousDataStorageSizeInTbs(5.0)
                 .memoryPerOracleComputeUnitInGbs(2)
                 .totalContainerDatabases(1)
                 .cpuCoreCountPerNode(40)
                 .licenseModel("LICENSE_INCLUDED")
                 .dbServers(            
                     "<my_db_server_1>",
                     "<my_db_server_2>")
                 .scanListenerPortTls(8561)
                 .scanListenerPortNonTls(1024)
                 .tags(Map.of("env", "dev"))
                 .build());
     
         }
     }
     
     
    ## Import Using `pulumi import`, import cloud autonomous vm cluster `id`. For example: ```sh $ pulumi import aws:odb/cloudAutonomousVmCluster:CloudAutonomousVmCluster example example ```
    • Constructor Detail

      • CloudAutonomousVmCluster

        public CloudAutonomousVmCluster​(java.lang.String name)
        Parameters:
        name - The _unique_ name of the resulting resource.
      • CloudAutonomousVmCluster

        public CloudAutonomousVmCluster​(java.lang.String name,
                                        CloudAutonomousVmClusterArgs args)
        Parameters:
        name - The _unique_ name of the resulting resource.
        args - The arguments to use to populate this resource's properties.
      • CloudAutonomousVmCluster

        public CloudAutonomousVmCluster​(java.lang.String name,
                                        CloudAutonomousVmClusterArgs args,
                                        @Nullable
                                        com.pulumi.resources.CustomResourceOptions options)
        Parameters:
        name - The _unique_ name of the resulting resource.
        args - The arguments to use to populate this resource's properties.
        options - A bag of options that control this resource's behavior.
    • Method Detail

      • arn

        public com.pulumi.core.Output<java.lang.String> arn()
        Returns:
        ARN for the Exadata infrastructure.
      • autonomousDataStoragePercentage

        public com.pulumi.core.Output<java.lang.Double> autonomousDataStoragePercentage()
        Returns:
        Progress of the current operation on the Autonomous VM cluster, as a percentage.
      • autonomousDataStorageSizeInTbs

        public com.pulumi.core.Output<java.lang.Double> autonomousDataStorageSizeInTbs()
        Returns:
        Data storage size allocated for Autonomous Databases in the Autonomous VM cluster, in TB. Changing this will force terraform to create new resource.
      • availableAutonomousDataStorageSizeInTbs

        public com.pulumi.core.Output<java.lang.Double> availableAutonomousDataStorageSizeInTbs()
        Returns:
        Available data storage space for Autonomous Databases in the Autonomous VM cluster, in TB.
      • availableContainerDatabases

        public com.pulumi.core.Output<java.lang.Integer> availableContainerDatabases()
        Returns:
        Number of Autonomous CDBs that you can create with the currently available storage.
      • availableCpus

        public com.pulumi.core.Output<java.lang.Double> availableCpus()
        Returns:
        Number of CPU cores available for allocation to Autonomous Databases.
      • cloudExadataInfrastructureArn

        public com.pulumi.core.Output<java.lang.String> cloudExadataInfrastructureArn()
        Returns:
        Exadata infrastructure ARN. Changing this will force Terraform to create a new resource. Either the combination of `cloudExadataInfrastructureId` and `odbNetworkId` or `cloudExadataInfrastructureArn` and `odbNetworkArn` must be used.
      • cloudExadataInfrastructureId

        public com.pulumi.core.Output<java.lang.String> cloudExadataInfrastructureId()
        Returns:
        Exadata infrastructure ID. Changing this will force Terraform to create a new resource. Either the combination of `cloudExadataInfrastructureId` and `odbNetworkId` or `cloudExadataInfrastructureArn` and `odbNetworkArn` must be used.
      • computeModel

        public com.pulumi.core.Output<java.lang.String> computeModel()
        Returns:
        Compute model of the Autonomous VM cluster: ECPU or OCPU.
      • cpuCoreCount

        public com.pulumi.core.Output<java.lang.Integer> cpuCoreCount()
        Returns:
        Total number of CPU cores in the Autonomous VM cluster.
      • cpuCoreCountPerNode

        public com.pulumi.core.Output<java.lang.Integer> cpuCoreCountPerNode()
        Returns:
        Number of CPU cores enabled per node in the Autonomous VM cluster. Changing this will force terraform to create new resource.
      • cpuPercentage

        public com.pulumi.core.Output<java.lang.Double> cpuPercentage()
        Returns:
        Percentage of total CPU cores currently in use in the Autonomous VM cluster.
      • createdAt

        public com.pulumi.core.Output<java.lang.String> createdAt()
        Returns:
        Date and time when the Autonomous VM cluster was created.
      • dataStorageSizeInGbs

        public com.pulumi.core.Output<java.lang.Double> dataStorageSizeInGbs()
        Returns:
        Total data storage allocated to the Autonomous VM cluster, in GB.
      • dataStorageSizeInTbs

        public com.pulumi.core.Output<java.lang.Double> dataStorageSizeInTbs()
        Returns:
        Total data storage allocated to the Autonomous VM cluster, in TB.
      • dbServers

        public com.pulumi.core.Output<java.util.List<java.lang.String>> dbServers()
        Returns:
        Database servers in the Autonomous VM cluster. Changing this will force terraform to create new resource.
      • description

        public com.pulumi.core.Output<java.util.Optional<java.lang.String>> description()
        Returns:
        Description of the Autonomous VM cluster.
      • displayName

        public com.pulumi.core.Output<java.lang.String> displayName()
        Returns:
        Display name of the Autonomous VM cluster. Changing this will force terraform to create new resource.
      • domain

        public com.pulumi.core.Output<java.lang.String> domain()
        Returns:
        Domain name of the Autonomous VM cluster.
      • exadataStorageInTbsLowestScaledValue

        public com.pulumi.core.Output<java.lang.Double> exadataStorageInTbsLowestScaledValue()
        Returns:
        Minimum value to which you can scale down the Exadata storage, in TB.
      • hostname

        public com.pulumi.core.Output<java.lang.String> hostname()
        Returns:
        Hostname of the Autonomous VM cluster.
      • isMtlsEnabledVmCluster

        public com.pulumi.core.Output<java.lang.Boolean> isMtlsEnabledVmCluster()
        Returns:
        Whether mutual TLS (mTLS) authentication is enabled for the Autonomous VM cluster. Changing this will force terraform to create new resource.
      • licenseModel

        public com.pulumi.core.Output<java.lang.String> licenseModel()
        Returns:
        License model for the Autonomous VM cluster. Valid values are LICENSE_INCLUDED or BRING_YOUR_OWN_LICENSE. Changing this will force terraform to create new resource.
      • maintenanceWindow

        public com.pulumi.core.Output<CloudAutonomousVmClusterMaintenanceWindow> maintenanceWindow()
        Returns:
        Maintenance window of the Autonomous VM cluster. Changing this will force terraform to create new resource.
      • maxAcdsLowestScaledValue

        public com.pulumi.core.Output<java.lang.Integer> maxAcdsLowestScaledValue()
        Returns:
        Minimum value to which you can scale down the maximum number of Autonomous CDBs.
      • memoryPerOracleComputeUnitInGbs

        public com.pulumi.core.Output<java.lang.Integer> memoryPerOracleComputeUnitInGbs()
        Returns:
        Amount of memory allocated per Oracle Compute Unit, in GB. Changing this will force terraform to create new resource.
      • memorySizeInGbs

        public com.pulumi.core.Output<java.lang.Integer> memorySizeInGbs()
        Returns:
        Total amount of memory allocated to the Autonomous VM cluster, in gigabytes(GB).
      • nodeCount

        public com.pulumi.core.Output<java.lang.Integer> nodeCount()
        Returns:
        Number of database server nodes in the Autonomous VM cluster.
      • nonProvisionableAutonomousContainerDatabases

        public com.pulumi.core.Output<java.lang.Integer> nonProvisionableAutonomousContainerDatabases()
        Returns:
        Number of Autonomous CDBs that can't be provisioned because of resource constraints.
      • ociResourceAnchorName

        public com.pulumi.core.Output<java.lang.String> ociResourceAnchorName()
        Returns:
        Name of the OCI resource anchor associated with this Autonomous VM cluster.
      • ociUrl

        public com.pulumi.core.Output<java.lang.String> ociUrl()
        Returns:
        URL for accessing the OCI console page for this Autonomous VM cluster.
      • ocid

        public com.pulumi.core.Output<java.lang.String> ocid()
        Returns:
        Oracle Cloud Identifier (OCID) of the Autonomous VM cluster.
      • odbNetworkArn

        public com.pulumi.core.Output<java.lang.String> odbNetworkArn()
        Returns:
        ARN of the ODB network associated with this Autonomous VM Cluster. Changing this will force Terraform to create a new resource. Either the combination of `cloudExadataInfrastructureId` and `odbNetworkId` or `cloudExadataInfrastructureArn` and `odbNetworkArn` must be used.
      • odbNetworkId

        public com.pulumi.core.Output<java.lang.String> odbNetworkId()
        Returns:
        Unique identifier of the ODB network associated with this Autonomous VM Cluster. Changing this will force Terraform to create a new resource. Changing this will create a new resource. Either the combination of `cloudExadataInfrastructureId` and `odbNetworkId` or `cloudExadataInfrastructureArn` and `odbNetworkArn` must be used.
      • odbNodeStorageSizeInGbs

        public com.pulumi.core.Output<java.lang.Integer> odbNodeStorageSizeInGbs()
        Returns:
        Local node storage allocated to the Autonomous VM cluster, in gigabytes (GB).
      • percentProgress

        public com.pulumi.core.Output<java.lang.Double> percentProgress()
        Returns:
        Progress of the current operation on the Autonomous VM cluster, as a percentage.
      • provisionableAutonomousContainerDatabases

        public com.pulumi.core.Output<java.lang.Integer> provisionableAutonomousContainerDatabases()
        Returns:
        Number of Autonomous CDBs that can be provisioned in the Autonomous VM cluster.
      • provisionedAutonomousContainerDatabases

        public com.pulumi.core.Output<java.lang.Integer> provisionedAutonomousContainerDatabases()
        Returns:
        Number of Autonomous CDBs currently provisioned in the Autonomous VM cluster.
      • provisionedCpus

        public com.pulumi.core.Output<java.lang.Double> provisionedCpus()
        Returns:
        Number of CPUs provisioned in the Autonomous VM cluster.
      • reclaimableCpus

        public com.pulumi.core.Output<java.lang.Double> reclaimableCpus()
        Returns:
        Number of CPU cores that can be reclaimed from terminated or scaled-down Autonomous Databases.
      • region

        public com.pulumi.core.Output<java.lang.String> region()
        Returns:
        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.
      • reservedCpus

        public com.pulumi.core.Output<java.lang.Double> reservedCpus()
        Returns:
        Number of CPU cores reserved for system operations and redundancy.
      • scanListenerPortNonTls

        public com.pulumi.core.Output<java.lang.Integer> scanListenerPortNonTls()
        Returns:
        SCAN listener port for non-TLS (TCP) protocol. The default is 1521. Changing this will force terraform to create new resource.
      • scanListenerPortTls

        public com.pulumi.core.Output<java.lang.Integer> scanListenerPortTls()
        Returns:
        SCAN listener port for TLS (TCP) protocol. The default is 2484. Changing this will force terraform to create new resource.
      • shape

        public com.pulumi.core.Output<java.lang.String> shape()
        Returns:
        Shape of the Exadata infrastructure for the Autonomous VM cluster.
      • status

        public com.pulumi.core.Output<java.lang.String> status()
        Returns:
        Status of the Autonomous VM cluster. Possible values include CREATING, AVAILABLE, UPDATING, DELETING, DELETED, FAILED.
      • statusReason

        public com.pulumi.core.Output<java.lang.String> statusReason()
        Returns:
        Additional information about the current status of the Autonomous VM cluster.
      • tags

        public com.pulumi.core.Output<java.util.Optional<java.util.Map<java.lang.String,​java.lang.String>>> tags()
        Returns:
        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.
      • tagsAll

        public com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> tagsAll()
        Returns:
        Combined set of user-defined and provider-defined tags.
      • timeDatabaseSslCertificateExpires

        public com.pulumi.core.Output<java.lang.String> timeDatabaseSslCertificateExpires()
        Returns:
        Expiration date and time of the database SSL certificate.
      • timeOrdsCertificateExpires

        public com.pulumi.core.Output<java.lang.String> timeOrdsCertificateExpires()
        Returns:
        Expiration date and time of the ORDS certificate.
      • timeZone

        public com.pulumi.core.Output<java.lang.String> timeZone()
        Returns:
        Time zone of the Autonomous VM cluster. Changing this will force terraform to create new resource.
      • totalContainerDatabases

        public com.pulumi.core.Output<java.lang.Integer> totalContainerDatabases()
        Returns:
        Total number of Autonomous Container Databases that can be created with the allocated local storage. Changing this will force terraform to create new resource. The following arguments are optional:
      • get

        public static CloudAutonomousVmCluster get​(java.lang.String name,
                                                   com.pulumi.core.Output<java.lang.String> id,
                                                   @Nullable
                                                   CloudAutonomousVmClusterState state,
                                                   @Nullable
                                                   com.pulumi.resources.CustomResourceOptions options)
        Get an existing Host resource's state with the given name, ID, and optional extra properties used to qualify the lookup.
        Parameters:
        name - The _unique_ name of the resulting resource.
        id - The _unique_ provider ID of the resource to lookup.
        state -
        options - Optional settings to control the behavior of the CustomResource.