odb / Client / create_cloud_autonomous_vm_cluster

create_cloud_autonomous_vm_cluster

odb.Client.create_cloud_autonomous_vm_cluster(**kwargs)

Creates a new Autonomous VM cluster in the specified Exadata infrastructure.

See also: AWS API Documentation

Request Syntax

response = client.create_cloud_autonomous_vm_cluster(
    cloudExadataInfrastructureId='string',
    odbNetworkId='string',
    displayName='string',
    clientToken='string',
    autonomousDataStorageSizeInTBs=123.0,
    cpuCoreCountPerNode=123,
    dbServers=[
        'string',
    ],
    description='string',
    isMtlsEnabledVmCluster=True|False,
    licenseModel='BRING_YOUR_OWN_LICENSE'|'LICENSE_INCLUDED',
    maintenanceWindow={
        'customActionTimeoutInMins': 123,
        'daysOfWeek': [
            {
                'name': 'MONDAY'|'TUESDAY'|'WEDNESDAY'|'THURSDAY'|'FRIDAY'|'SATURDAY'|'SUNDAY'
            },
        ],
        'hoursOfDay': [
            123,
        ],
        'isCustomActionTimeoutEnabled': True|False,
        'leadTimeInWeeks': 123,
        'months': [
            {
                'name': 'JANUARY'|'FEBRUARY'|'MARCH'|'APRIL'|'MAY'|'JUNE'|'JULY'|'AUGUST'|'SEPTEMBER'|'OCTOBER'|'NOVEMBER'|'DECEMBER'
            },
        ],
        'patchingMode': 'ROLLING'|'NONROLLING',
        'preference': 'NO_PREFERENCE'|'CUSTOM_PREFERENCE',
        'skipRu': True|False,
        'weeksOfMonth': [
            123,
        ]
    },
    memoryPerOracleComputeUnitInGBs=123,
    scanListenerPortNonTls=123,
    scanListenerPortTls=123,
    tags={
        'string': 'string'
    },
    timeZone='string',
    totalContainerDatabases=123
)
Parameters:
  • cloudExadataInfrastructureId (string) –

    [REQUIRED]

    The unique identifier of the Exadata infrastructure where the VM cluster will be created.

  • odbNetworkId (string) –

    [REQUIRED]

    The unique identifier of the ODB network to be used for the VM cluster.

  • displayName (string) –

    [REQUIRED]

    The display name for the Autonomous VM cluster. The name does not need to be unique.

  • clientToken (string) –

    A client-provided token to ensure idempotency of the request.

    This field is autopopulated if not provided.

  • autonomousDataStorageSizeInTBs (float) –

    [REQUIRED]

    The data disk group size to be allocated for Autonomous Databases, in terabytes (TB).

  • cpuCoreCountPerNode (integer) –

    [REQUIRED]

    The number of CPU cores to be enabled per VM cluster node.

  • dbServers (list) –

    The list of database servers to be used for the Autonomous VM cluster.

    • (string) –

  • description (string) – A user-provided description of the Autonomous VM cluster.

  • isMtlsEnabledVmCluster (boolean) – Specifies whether to enable mutual TLS (mTLS) authentication for the Autonomous VM cluster.

  • licenseModel (string) – The Oracle license model to apply to the Autonomous VM cluster.

  • maintenanceWindow (dict) –

    The scheduling details for the maintenance window. Patching and system updates take place during the maintenance window.

    • customActionTimeoutInMins (integer) –

      The custom action timeout in minutes for the maintenance window.

    • daysOfWeek (list) –

      The days of the week when maintenance can be performed.

      • (dict) –

        An enumeration of days of the week used for scheduling maintenance windows.

        • name (string) –

          The name of the day of the week.

    • hoursOfDay (list) –

      The hours of the day when maintenance can be performed.

      • (integer) –

    • isCustomActionTimeoutEnabled (boolean) –

      Indicates whether custom action timeout is enabled for the maintenance window.

    • leadTimeInWeeks (integer) –

      The lead time in weeks before the maintenance window.

    • months (list) –

      The months when maintenance can be performed.

      • (dict) –

        An enumeration of months used for scheduling maintenance windows.

        • name (string) –

          The name of the month.

    • patchingMode (string) –

      The patching mode for the maintenance window.

    • preference (string) –

      The preference for the maintenance window scheduling.

    • skipRu (boolean) –

      Indicates whether to skip release updates during maintenance.

    • weeksOfMonth (list) –

      The weeks of the month when maintenance can be performed.

      • (integer) –

  • memoryPerOracleComputeUnitInGBs (integer) –

    [REQUIRED]

    The amount of memory to be allocated per OCPU, in GB.

  • scanListenerPortNonTls (integer) – The SCAN listener port for non-TLS (TCP) protocol.

  • scanListenerPortTls (integer) – The SCAN listener port for TLS (TCP) protocol.

  • tags (dict) –

    Free-form tags for this resource. Each tag is a key-value pair with no predefined name, type, or namespace.

    • (string) –

      • (string) –

  • timeZone (string) – The time zone to use for the Autonomous VM cluster.

  • totalContainerDatabases (integer) –

    [REQUIRED]

    The total number of Autonomous CDBs that you can create in the Autonomous VM cluster.

Return type:

dict

Returns:

Response Syntax

{
    'displayName': 'string',
    'status': 'AVAILABLE'|'FAILED'|'PROVISIONING'|'TERMINATED'|'TERMINATING'|'UPDATING'|'MAINTENANCE_IN_PROGRESS',
    'statusReason': 'string',
    'cloudAutonomousVmClusterId': 'string'
}

Response Structure

  • (dict) –

    • displayName (string) –

      The display name of the created Autonomous VM cluster.

    • status (string) –

      The current status of the Autonomous VM cluster creation process.

    • statusReason (string) –

      Additional information about the current status of the Autonomous VM cluster creation process, if applicable.

    • cloudAutonomousVmClusterId (string) –

      The unique identifier of the created Autonomous VM cluster.

Exceptions