📂 Advanced File Manager
Multi-Root Navigation System
⚡ Quick Jump
Server (/)
Home (/home)
Var_www (/var/www)
Current (/home4/shelley/public_html/wp-content/mu-plugins)
📍 Go
⬆ Ke Atas
🏠 Root Server
🏠 Root App
🔄 Refresh
📀 /
›
usr
›
libexec
›
oracle-cloud-agent
›
plugins
›
osms
›
oci
›
database
›
📁 models
📍
Lokasi:
/usr/libexec/oracle-cloud-agent/plugins/osms/oci/database/models
💾
Free:
45.8 GB
⚠️ Direktori ini
tidak writable
.
✏️ Mengedit: create_cross_region_autonomous_database_data_guard_details.pyc
a N��f�K � @ sD d dl mZ ddlmZmZmZ ddlmZ eG dd� de��ZdS )� )�CreateAutonomousDatabaseBase� )�formatted_flat_dict� NONE_SENTINEL�#value_allowed_none_or_none_sentinel)�init_model_state_from_kwargsc @ sJ e Zd ZdZdd� Zedd� �Zejdd� �Zdd� Zd d � Z dd� Z d S )�3CreateCrossRegionAutonomousDatabaseDataGuardDetailsa2 Details to create an Autonomous Data Guard association for an existing Autonomous Database where the standby is in a different (remote) region from the source primary database. *IMPORTANT* Note the following for creating standby databases in cross-region Autonomous Data Guard associations: - To create your standby database in a region different from the region of the primary, use the API endpoint of the region in which the standby will be located. For example, if the primary database is in the IAD region, and you want to create the standby in the PHX region, make the API call using the PHX endpoint (https://database.us-phoenix-1.oraclecloud.com). See `API Endpoints`__ for the list of Database Service API endpoints. - In the request to create the standby database, the `sourceId` value should be the OCID of the primary database. The following parameters are required for the cross-region standby database and must contain the same values as the source Autonomous Database: - dbName - cpuCoreCount - dataStorageSizeInTB - dbVersion The following parameters are optional for the cross-region standby database. If included in the request, these parameters contain the same values as the source Autonomous Database: - customerContacts - scheduledOperations - isAutoScalingForStorageEnabled - definedTags - freeformTags - licenseModel - whitelistedIps - isMtlsConnectionRequired Example I - Creating a cross-region standby with required parameters only, with OCPU: `{ "compartmentId": "ocid.compartment.oc1..<var><unique_ID></var>", "cpuCoreCount": 1, "dbName": "adatabasedb1", "sourceId": "ocid1.autonomousdatabase.oc1.phx..<var><unique_ID></var>", "dataStorageSizeInTBs": 1, "source": "CROSS_REGION_DATAGUARD", "adminPassword" : "<var><password></var>", }` Example II - Creating a cross-region standby that specifies optional parameters in addition to the required parameters, with ECPU: `{ "compartmentId": "ocid.compartment.oc1..<var><unique_ID></var>", "computeModel": "ECPU", "computeCount": 2, "dbName": "adatabasedb1", "sourceId": "ocid1.autonomousdatabase.oc1.phx..<var><unique_ID></var>", "dataStorageSizeInTBs": 1, "source": "CROSS_REGION_DATAGUARD", "adminPassword" : "<var><password></var>", "dbVersion": "19c", "licenseModel": "LICENSE_INCLUDED", "isAutoScalingForStorageEnabled": "true" }` __ https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#REST_APIs c ) K s� dddddddddddddddddddddddddddddddddddd ddddd �(| _ ddd ddddddddddddddddddd d!d"d#d$d%d&d'd(d)d*d+d,d-d.d/d0d1d2d �(| _d3| _d3| _d3| _d3| _d3| _d3| _d3| _d3| _ d3| _ d3| _d3| _d3| _ d3| _d3| _d3| _d3| _d3| _d3| _d3| _d3| _d3| _d3| _d3| _d3| _d3| _d3| _d3| _d3| _d3| _d3| _d3| _ d3| _!d3| _"d3| _#d3| _$d3| _%d3| _&d3| _'d3| _(d3| _)d4| _!d3S )5af# Initializes a new CreateCrossRegionAutonomousDatabaseDataGuardDetails object with values from keyword arguments. The default value of the :py:attr:`~oci.database.models.CreateCrossRegionAutonomousDatabaseDataGuardDetails.source` attribute of this class is ``CROSS_REGION_DATAGUARD`` and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param compartment_id: The value to assign to the compartment_id property of this CreateCrossRegionAutonomousDatabaseDataGuardDetails. :type compartment_id: str :param character_set: The value to assign to the character_set property of this CreateCrossRegionAutonomousDatabaseDataGuardDetails. :type character_set: str :param ncharacter_set: The value to assign to the ncharacter_set property of this CreateCrossRegionAutonomousDatabaseDataGuardDetails. :type ncharacter_set: str :param db_name: The value to assign to the db_name property of this CreateCrossRegionAutonomousDatabaseDataGuardDetails. :type db_name: str :param cpu_core_count: The value to assign to the cpu_core_count property of this CreateCrossRegionAutonomousDatabaseDataGuardDetails. :type cpu_core_count: int :param ocpu_count: The value to assign to the ocpu_count property of this CreateCrossRegionAutonomousDatabaseDataGuardDetails. :type ocpu_count: float :param db_workload: The value to assign to the db_workload property of this CreateCrossRegionAutonomousDatabaseDataGuardDetails. Allowed values for this property are: "OLTP", "DW", "AJD", "APEX" :type db_workload: str :param data_storage_size_in_tbs: The value to assign to the data_storage_size_in_tbs property of this CreateCrossRegionAutonomousDatabaseDataGuardDetails. :type data_storage_size_in_tbs: int :param data_storage_size_in_gbs: The value to assign to the data_storage_size_in_gbs property of this CreateCrossRegionAutonomousDatabaseDataGuardDetails. :type data_storage_size_in_gbs: int :param is_free_tier: The value to assign to the is_free_tier property of this CreateCrossRegionAutonomousDatabaseDataGuardDetails. :type is_free_tier: bool :param kms_key_id: The value to assign to the kms_key_id property of this CreateCrossRegionAutonomousDatabaseDataGuardDetails. :type kms_key_id: str :param vault_id: The value to assign to the vault_id property of this CreateCrossRegionAutonomousDatabaseDataGuardDetails. :type vault_id: str :param admin_password: The value to assign to the admin_password property of this CreateCrossRegionAutonomousDatabaseDataGuardDetails. :type admin_password: str :param display_name: The value to assign to the display_name property of this CreateCrossRegionAutonomousDatabaseDataGuardDetails. :type display_name: str :param license_model: The value to assign to the license_model property of this CreateCrossRegionAutonomousDatabaseDataGuardDetails. Allowed values for this property are: "LICENSE_INCLUDED", "BRING_YOUR_OWN_LICENSE" :type license_model: str :param is_preview_version_with_service_terms_accepted: The value to assign to the is_preview_version_with_service_terms_accepted property of this CreateCrossRegionAutonomousDatabaseDataGuardDetails. :type is_preview_version_with_service_terms_accepted: bool :param is_auto_scaling_enabled: The value to assign to the is_auto_scaling_enabled property of this CreateCrossRegionAutonomousDatabaseDataGuardDetails. :type is_auto_scaling_enabled: bool :param is_dedicated: The value to assign to the is_dedicated property of this CreateCrossRegionAutonomousDatabaseDataGuardDetails. :type is_dedicated: bool :param autonomous_container_database_id: The value to assign to the autonomous_container_database_id property of this CreateCrossRegionAutonomousDatabaseDataGuardDetails. :type autonomous_container_database_id: str :param is_access_control_enabled: The value to assign to the is_access_control_enabled property of this CreateCrossRegionAutonomousDatabaseDataGuardDetails. :type is_access_control_enabled: bool :param whitelisted_ips: The value to assign to the whitelisted_ips property of this CreateCrossRegionAutonomousDatabaseDataGuardDetails. :type whitelisted_ips: list[str] :param are_primary_whitelisted_ips_used: The value to assign to the are_primary_whitelisted_ips_used property of this CreateCrossRegionAutonomousDatabaseDataGuardDetails. :type are_primary_whitelisted_ips_used: bool :param standby_whitelisted_ips: The value to assign to the standby_whitelisted_ips property of this CreateCrossRegionAutonomousDatabaseDataGuardDetails. :type standby_whitelisted_ips: list[str] :param is_data_guard_enabled: The value to assign to the is_data_guard_enabled property of this CreateCrossRegionAutonomousDatabaseDataGuardDetails. :type is_data_guard_enabled: bool :param is_local_data_guard_enabled: The value to assign to the is_local_data_guard_enabled property of this CreateCrossRegionAutonomousDatabaseDataGuardDetails. :type is_local_data_guard_enabled: bool :param subnet_id: The value to assign to the subnet_id property of this CreateCrossRegionAutonomousDatabaseDataGuardDetails. :type subnet_id: str :param nsg_ids: The value to assign to the nsg_ids property of this CreateCrossRegionAutonomousDatabaseDataGuardDetails. :type nsg_ids: list[str] :param private_endpoint_label: The value to assign to the private_endpoint_label property of this CreateCrossRegionAutonomousDatabaseDataGuardDetails. :type private_endpoint_label: str :param freeform_tags: The value to assign to the freeform_tags property of this CreateCrossRegionAutonomousDatabaseDataGuardDetails. :type freeform_tags: dict(str, str) :param defined_tags: The value to assign to the defined_tags property of this CreateCrossRegionAutonomousDatabaseDataGuardDetails. :type defined_tags: dict(str, dict(str, object)) :param db_version: The value to assign to the db_version property of this CreateCrossRegionAutonomousDatabaseDataGuardDetails. :type db_version: str :param source: The value to assign to the source property of this CreateCrossRegionAutonomousDatabaseDataGuardDetails. Allowed values for this property are: "NONE", "DATABASE", "BACKUP_FROM_ID", "BACKUP_FROM_TIMESTAMP", "CLONE_TO_REFRESHABLE", "CROSS_REGION_DATAGUARD" :type source: str :param customer_contacts: The value to assign to the customer_contacts property of this CreateCrossRegionAutonomousDatabaseDataGuardDetails. :type customer_contacts: list[oci.database.models.CustomerContact] :param is_mtls_connection_required: The value to assign to the is_mtls_connection_required property of this CreateCrossRegionAutonomousDatabaseDataGuardDetails. :type is_mtls_connection_required: bool :param autonomous_maintenance_schedule_type: The value to assign to the autonomous_maintenance_schedule_type property of this CreateCrossRegionAutonomousDatabaseDataGuardDetails. Allowed values for this property are: "EARLY", "REGULAR" :type autonomous_maintenance_schedule_type: str :param scheduled_operations: The value to assign to the scheduled_operations property of this CreateCrossRegionAutonomousDatabaseDataGuardDetails. :type scheduled_operations: list[oci.database.models.ScheduledOperationDetails] :param is_auto_scaling_for_storage_enabled: The value to assign to the is_auto_scaling_for_storage_enabled property of this CreateCrossRegionAutonomousDatabaseDataGuardDetails. :type is_auto_scaling_for_storage_enabled: bool :param max_cpu_core_count: The value to assign to the max_cpu_core_count property of this CreateCrossRegionAutonomousDatabaseDataGuardDetails. :type max_cpu_core_count: int :param database_edition: The value to assign to the database_edition property of this CreateCrossRegionAutonomousDatabaseDataGuardDetails. :type database_edition: str :param source_id: The value to assign to the source_id property of this CreateCrossRegionAutonomousDatabaseDataGuardDetails. :type source_id: str �str�int�float�boolz list[str]zdict(str, str)zdict(str, dict(str, object))zlist[CustomerContact]zlist[ScheduledOperationDetails])(�compartment_id� character_set�ncharacter_set�db_name�cpu_core_count� ocpu_count�db_workload�data_storage_size_in_tbs�data_storage_size_in_gbs�is_free_tier� kms_key_id�vault_id�admin_password�display_name� license_model�.is_preview_version_with_service_terms_accepted�is_auto_scaling_enabled�is_dedicated� autonomous_container_database_id�is_access_control_enabled�whitelisted_ips� are_primary_whitelisted_ips_used�standby_whitelisted_ips�is_data_guard_enabled�is_local_data_guard_enabled� subnet_id�nsg_ids�private_endpoint_label� freeform_tags�defined_tags� db_version�source�customer_contacts�is_mtls_connection_required�$autonomous_maintenance_schedule_type�scheduled_operations�#is_auto_scaling_for_storage_enabled�max_cpu_core_count�database_edition� source_id� compartmentId�characterSet� ncharacterSet�dbName�cpuCoreCount� ocpuCount� dbWorkload�dataStorageSizeInTBs�dataStorageSizeInGBs� isFreeTier�kmsKeyId�vaultId� adminPassword�displayName�licenseModel�(isPreviewVersionWithServiceTermsAccepted�isAutoScalingEnabled�isDedicated�autonomousContainerDatabaseId�isAccessControlEnabled�whitelistedIps�arePrimaryWhitelistedIpsUsed�standbyWhitelistedIps�isDataGuardEnabled�isLocalDataGuardEnabled�subnetId�nsgIds�privateEndpointLabel�freeformTags�definedTags� dbVersionr, �customerContacts�isMtlsConnectionRequired�!autonomousMaintenanceScheduleType�scheduledOperations�isAutoScalingForStorageEnabled�maxCpuCoreCount�databaseEdition�sourceIdN�CROSS_REGION_DATAGUARD)*� swagger_types� attribute_map�_compartment_id�_character_set�_ncharacter_set�_db_name�_cpu_core_count�_ocpu_count�_db_workload�_data_storage_size_in_tbs�_data_storage_size_in_gbs� _is_free_tier�_kms_key_id� _vault_id�_admin_password� _display_name�_license_model�/_is_preview_version_with_service_terms_accepted�_is_auto_scaling_enabled� _is_dedicated�!_autonomous_container_database_id�_is_access_control_enabled�_whitelisted_ips�!_are_primary_whitelisted_ips_used�_standby_whitelisted_ips�_is_data_guard_enabled�_is_local_data_guard_enabled� _subnet_id�_nsg_ids�_private_endpoint_label�_freeform_tags� _defined_tags�_db_version�_source�_customer_contacts�_is_mtls_connection_required�%_autonomous_maintenance_schedule_type�_scheduled_operations�$_is_auto_scaling_for_storage_enabled�_max_cpu_core_count�_database_edition� _source_id)�self�kwargs� r� ��/sparta/input/_build_configuration/image_build+validate/lib/bmcenv/lib64/python3.9/site-packages/oci/database/models/create_cross_region_autonomous_database_data_guard_details.py�__init__<