oci 2.142.0__py3-none-any.whl → 2.143.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- oci/access_governance_cp/access_governance_cp_client.py +8 -8
- oci/adm/application_dependency_management_client.py +36 -36
- oci/ai_anomaly_detection/anomaly_detection_client.py +36 -36
- oci/ai_document/ai_service_document_client.py +26 -26
- oci/ai_language/ai_service_language_client.py +44 -44
- oci/ai_speech/ai_service_speech_client.py +19 -19
- oci/ai_vision/ai_service_vision_client.py +28 -28
- oci/analytics/analytics_client.py +24 -24
- oci/announcements_service/announcement_client.py +5 -5
- oci/announcements_service/announcement_subscription_client.py +9 -9
- oci/announcements_service/announcements_preferences_client.py +4 -4
- oci/announcements_service/service_client.py +1 -1
- oci/apigateway/api_gateway_client.py +21 -21
- oci/apigateway/deployment_client.py +6 -6
- oci/apigateway/gateway_client.py +6 -6
- oci/apigateway/subscribers_client.py +6 -6
- oci/apigateway/usage_plans_client.py +6 -6
- oci/apigateway/work_requests_client.py +5 -5
- oci/apm_config/config_client.py +9 -9
- oci/apm_control_plane/apm_domain_client.py +14 -14
- oci/apm_synthetics/apm_synthetic_client.py +28 -28
- oci/apm_traces/attributes_client.py +8 -8
- oci/apm_traces/query_client.py +2 -2
- oci/apm_traces/trace_client.py +4 -4
- oci/appmgmt_control/appmgmt_control_client.py +8 -8
- oci/artifacts/artifacts_client.py +32 -32
- oci/audit/audit_client.py +3 -3
- oci/autoscaling/auto_scaling_client.py +11 -11
- oci/base_client.py +2 -2
- oci/bastion/bastion_client.py +15 -15
- oci/bds/bds_client.py +84 -84
- oci/blockchain/blockchain_platform_client.py +27 -27
- oci/budget/budget_client.py +10 -10
- oci/capacity_management/capacity_management_client.py +32 -32
- oci/certificates/certificates_client.py +5 -5
- oci/certificates_management/certificates_management_client.py +32 -32
- oci/cims/incident_client.py +6 -6
- oci/cloud_bridge/common_client.py +5 -5
- oci/cloud_bridge/discovery_client.py +15 -15
- oci/cloud_bridge/inventory_client.py +16 -16
- oci/cloud_bridge/ocb_agent_svc_client.py +23 -23
- oci/cloud_guard/cloud_guard_client.py +155 -155
- oci/cloud_migrations/migration_client.py +43 -43
- oci/cluster_placement_groups/cluster_placement_groups_cp_client.py +13 -13
- oci/compute_cloud_at_customer/compute_cloud_at_customer_client.py +12 -12
- oci/compute_instance_agent/compute_instance_agent_client.py +6 -6
- oci/compute_instance_agent/plugin_client.py +2 -2
- oci/compute_instance_agent/pluginconfig_client.py +1 -1
- oci/container_engine/container_engine_client.py +44 -44
- oci/container_instances/container_instance_client.py +18 -18
- oci/core/blockstorage_client.py +60 -60
- oci/core/compute_client.py +102 -102
- oci/core/compute_management_client.py +32 -32
- oci/core/models/__init__.py +18 -0
- oci/core/models/byoasn.py +501 -0
- oci/core/models/byoasn_byoip_range.py +173 -0
- oci/core/models/byoasn_collection.py +72 -0
- oci/core/models/byoasn_summary.py +360 -0
- oci/core/models/byoip_range.py +27 -0
- oci/core/models/byoip_range_origin_asn.py +138 -0
- oci/core/models/change_byoasn_compartment_details.py +76 -0
- oci/core/models/create_byoasn_details.py +222 -0
- oci/core/models/set_origin_asn_details.py +107 -0
- oci/core/models/update_byoasn_details.py +156 -0
- oci/core/virtual_network_client.py +1426 -379
- oci/core/virtual_network_client_composite_operations.py +229 -0
- oci/dashboard_service/dashboard_client.py +6 -6
- oci/dashboard_service/dashboard_group_client.py +6 -6
- oci/data_catalog/data_catalog_client.py +149 -149
- oci/data_flow/data_flow_client.py +45 -45
- oci/data_integration/data_integration_client.py +163 -163
- oci/data_labeling_service/data_labeling_management_client.py +17 -17
- oci/data_labeling_service_dataplane/data_labeling_client.py +15 -15
- oci/data_safe/data_safe_client.py +292 -292
- oci/data_science/data_science_client.py +92 -92
- oci/database/database_client.py +2127 -1266
- oci/database/database_client_composite_operations.py +573 -0
- oci/database/models/__init__.py +24 -0
- oci/database/models/autonomous_dw_database.py +4609 -0
- oci/database/models/backup.py +29 -2
- oci/database/models/backup_summary.py +29 -2
- oci/database/models/convert_to_standalone_details.py +76 -0
- oci/database/models/create_data_guard_association_details.py +27 -0
- oci/database/models/create_data_guard_association_to_existing_db_system_details.py +7 -0
- oci/database/models/create_data_guard_association_to_existing_vm_cluster_details.py +7 -0
- oci/database/models/create_data_guard_association_with_new_db_system_details.py +7 -0
- oci/database/models/create_database_base.py +13 -3
- oci/database/models/create_database_details.py +29 -2
- oci/database/models/create_database_from_backup.py +1 -1
- oci/database/models/create_database_from_backup_details.py +27 -0
- oci/database/models/create_new_database_details.py +1 -1
- oci/database/models/create_stand_by_database_details.py +108 -0
- oci/database/models/create_standby_details.py +396 -0
- oci/database/models/data_guard_group.py +132 -0
- oci/database/models/data_guard_group_member.py +406 -0
- oci/database/models/database.py +56 -2
- oci/database/models/database_summary.py +56 -2
- oci/database/models/encryption_key_location_details.py +101 -0
- oci/database/models/external_hsm_encryption_details.py +82 -0
- oci/database/models/failover_data_guard_details.py +76 -0
- oci/database/models/reinstate_data_guard_details.py +111 -0
- oci/database/models/switch_over_data_guard_details.py +76 -0
- oci/database/models/update_autonomous_database_details.py +37 -2
- oci/database/models/update_data_guard_details.py +241 -0
- oci/database_management/db_management_client.py +211 -211
- oci/database_management/diagnosability_client.py +4 -4
- oci/database_management/managed_my_sql_databases_client.py +7 -7
- oci/database_management/perfhub_client.py +1 -1
- oci/database_management/sql_tuning_client.py +17 -17
- oci/database_migration/database_migration_client.py +42 -42
- oci/database_tools/database_tools_client.py +23 -23
- oci/delegate_access_control/delegate_access_control_client.py +26 -26
- oci/delegate_access_control/work_request_client.py +4 -4
- oci/demand_signal/occ_demand_signal_client.py +7 -7
- oci/desktops/desktop_service_client.py +21 -21
- oci/devops/devops_client.py +141 -141
- oci/disaster_recovery/disaster_recovery_client.py +31 -31
- oci/dns/dns_client.py +54 -54
- oci/dts/appliance_export_job_client.py +6 -6
- oci/dts/shipping_vendors_client.py +1 -1
- oci/dts/transfer_appliance_client.py +8 -8
- oci/dts/transfer_appliance_entitlement_client.py +3 -3
- oci/dts/transfer_device_client.py +5 -5
- oci/dts/transfer_job_client.py +6 -6
- oci/dts/transfer_package_client.py +7 -7
- oci/em_warehouse/em_warehouse_client.py +13 -13
- oci/email/email_client.py +31 -31
- oci/email_data_plane/email_dp_client.py +1 -1
- oci/events/events_client.py +6 -6
- oci/file_storage/file_storage_client.py +68 -68
- oci/fleet_apps_management/fleet_apps_management_admin_client.py +25 -25
- oci/fleet_apps_management/fleet_apps_management_client.py +35 -35
- oci/fleet_apps_management/fleet_apps_management_maintenance_window_client.py +5 -5
- oci/fleet_apps_management/fleet_apps_management_operations_client.py +26 -26
- oci/fleet_apps_management/fleet_apps_management_runbooks_client.py +12 -12
- oci/fleet_software_update/fleet_software_update_client.py +46 -46
- oci/functions/functions_invoke_client.py +1 -1
- oci/functions/functions_management_client.py +16 -16
- oci/fusion_apps/fusion_applications_client.py +41 -41
- oci/generative_ai/generative_ai_client.py +22 -22
- oci/generative_ai_agent/generative_ai_agent_client.py +33 -33
- oci/generative_ai_agent_runtime/generative_ai_agent_runtime_client.py +5 -5
- oci/generative_ai_inference/generative_ai_inference_client.py +4 -4
- oci/generic_artifacts_content/generic_artifacts_content_client.py +3 -3
- oci/globally_distributed_database/sharded_database_service_client.py +30 -30
- oci/golden_gate/golden_gate_client.py +84 -84
- oci/governance_rules_control_plane/governance_rule_client.py +15 -15
- oci/governance_rules_control_plane/work_request_client.py +5 -5
- oci/healthchecks/health_checks_client.py +17 -17
- oci/identity/identity_client.py +145 -145
- oci/identity_data_plane/dataplane_client.py +2 -2
- oci/identity_domains/identity_domains_client.py +311 -311
- oci/integration/integration_instance_client.py +19 -19
- oci/jms/java_management_service_client.py +75 -75
- oci/jms_java_downloads/java_download_client.py +25 -25
- oci/key_management/ekm_client.py +5 -5
- oci/key_management/kms_crypto_client.py +6 -6
- oci/key_management/kms_hsm_cluster_client.py +12 -12
- oci/key_management/kms_management_client.py +21 -21
- oci/key_management/kms_vault_client.py +14 -14
- oci/license_manager/license_manager_client.py +18 -18
- oci/limits/limits_client.py +4 -4
- oci/limits/quotas_client.py +7 -7
- oci/load_balancer/load_balancer_client.py +61 -61
- oci/lockbox/lockbox_client.py +24 -24
- oci/log_analytics/log_analytics_client.py +193 -193
- oci/logging/logging_management_client.py +30 -30
- oci/loggingingestion/logging_client.py +1 -1
- oci/loggingsearch/log_search_client.py +1 -1
- oci/management_agent/management_agent_client.py +28 -28
- oci/management_dashboard/dashx_apis_client.py +14 -14
- oci/marketplace/account_client.py +2 -2
- oci/marketplace/marketplace_client.py +30 -30
- oci/marketplace_private_offer/attachment_client.py +5 -5
- oci/marketplace_private_offer/offer_client.py +6 -6
- oci/marketplace_publisher/attachment_client.py +5 -5
- oci/marketplace_publisher/marketplace_publisher_client.py +71 -71
- oci/marketplace_publisher/offer_client.py +6 -6
- oci/media_services/media_services_client.py +60 -60
- oci/media_services/media_stream_client.py +2 -2
- oci/monitoring/monitoring_client.py +18 -18
- oci/mysql/channels_client.py +7 -7
- oci/mysql/db_backups_client.py +7 -7
- oci/mysql/db_system_client.py +17 -17
- oci/mysql/mysqlaas_client.py +7 -7
- oci/mysql/replicas_client.py +5 -5
- oci/mysql/work_requests_client.py +4 -4
- oci/network_firewall/network_firewall_client.py +86 -86
- oci/network_load_balancer/models/__init__.py +2 -0
- oci/network_load_balancer/models/backend.py +8 -8
- oci/network_load_balancer/models/backend_details.py +4 -4
- oci/network_load_balancer/models/backend_operational_status.py +92 -0
- oci/network_load_balancer/models/backend_set.py +64 -2
- oci/network_load_balancer/models/backend_set_details.py +64 -2
- oci/network_load_balancer/models/backend_set_summary.py +64 -2
- oci/network_load_balancer/models/backend_summary.py +8 -8
- oci/network_load_balancer/models/create_backend_details.py +8 -8
- oci/network_load_balancer/models/create_backend_set_details.py +64 -2
- oci/network_load_balancer/models/create_listener_details.py +3 -3
- oci/network_load_balancer/models/create_network_load_balancer_details.py +6 -6
- oci/network_load_balancer/models/health_checker.py +2 -2
- oci/network_load_balancer/models/health_checker_details.py +2 -2
- oci/network_load_balancer/models/listener.py +3 -3
- oci/network_load_balancer/models/listener_details.py +3 -3
- oci/network_load_balancer/models/listener_summary.py +3 -3
- oci/network_load_balancer/models/network_load_balancer.py +6 -6
- oci/network_load_balancer/models/network_load_balancer_summary.py +4 -4
- oci/network_load_balancer/models/update_backend_details.py +6 -6
- oci/network_load_balancer/models/update_backend_set_details.py +64 -2
- oci/network_load_balancer/models/update_listener_details.py +3 -3
- oci/network_load_balancer/network_load_balancer_client.py +150 -34
- oci/nosql/nosql_client.py +24 -24
- oci/object_storage/object_storage_client.py +55 -55
- oci/oce/oce_instance_client.py +10 -10
- oci/oci_control_center/occ_metrics_client.py +3 -3
- oci/ocvp/cluster_client.py +5 -5
- oci/ocvp/esxi_host_client.py +8 -8
- oci/ocvp/sddc_client.py +14 -14
- oci/ocvp/work_request_client.py +4 -4
- oci/oda/management_client.py +59 -59
- oci/oda/oda_client.py +17 -17
- oci/oda/odapackage_client.py +7 -7
- oci/onesubscription/billing_schedule_client.py +1 -1
- oci/onesubscription/commitment_client.py +2 -2
- oci/onesubscription/computed_usage_client.py +3 -3
- oci/onesubscription/invoice_summary_client.py +2 -2
- oci/onesubscription/organization_subscription_client.py +1 -1
- oci/onesubscription/ratecard_client.py +1 -1
- oci/onesubscription/subscribed_service_client.py +2 -2
- oci/onesubscription/subscription_client.py +1 -1
- oci/ons/notification_control_plane_client.py +6 -6
- oci/ons/notification_data_plane_client.py +10 -10
- oci/opa/opa_instance_client.py +13 -13
- oci/opensearch/opensearch_cluster_backup_client.py +4 -4
- oci/opensearch/opensearch_cluster_client.py +16 -16
- oci/operator_access_control/access_requests_client.py +10 -10
- oci/operator_access_control/operator_actions_client.py +2 -2
- oci/operator_access_control/operator_control_assignment_client.py +8 -8
- oci/operator_access_control/operator_control_client.py +6 -6
- oci/opsi/operations_insights_client.py +180 -180
- oci/optimizer/optimizer_client.py +26 -26
- oci/os_management/event_client.py +8 -8
- oci/os_management/os_management_client.py +69 -69
- oci/os_management_hub/event_client.py +8 -8
- oci/os_management_hub/lifecycle_environment_client.py +12 -12
- oci/os_management_hub/managed_instance_client.py +31 -31
- oci/os_management_hub/managed_instance_group_client.py +25 -25
- oci/os_management_hub/management_station_client.py +10 -10
- oci/os_management_hub/onboarding_client.py +6 -6
- oci/os_management_hub/reporting_managed_instance_client.py +3 -3
- oci/os_management_hub/scheduled_job_client.py +7 -7
- oci/os_management_hub/software_source_client.py +27 -27
- oci/os_management_hub/work_request_client.py +4 -4
- oci/osp_gateway/address_rule_service_client.py +1 -1
- oci/osp_gateway/address_service_client.py +2 -2
- oci/osp_gateway/invoice_service_client.py +5 -5
- oci/osp_gateway/subscription_service_client.py +5 -5
- oci/osub_billing_schedule/billing_schedule_client.py +1 -1
- oci/osub_organization_subscription/organization_subscription_client.py +1 -1
- oci/osub_subscription/commitment_client.py +2 -2
- oci/osub_subscription/ratecard_client.py +1 -1
- oci/osub_subscription/subscription_client.py +1 -1
- oci/osub_usage/computed_usage_client.py +3 -3
- oci/psql/postgresql_client.py +33 -33
- oci/queue/queue_admin_client.py +11 -11
- oci/queue/queue_client.py +8 -8
- oci/recovery/database_recovery_client.py +26 -26
- oci/redis/redis_cluster_client.py +12 -12
- oci/resource_manager/resource_manager_client.py +52 -52
- oci/resource_scheduler/schedule_client.py +13 -13
- oci/resource_search/resource_search_client.py +3 -3
- oci/rover/rover_bundle_client.py +8 -8
- oci/rover/rover_cluster_client.py +8 -8
- oci/rover/rover_entitlement_client.py +6 -6
- oci/rover/rover_node_client.py +15 -15
- oci/rover/shape_client.py +1 -1
- oci/rover/work_requests_client.py +5 -5
- oci/sch/connector_plugins_client.py +2 -2
- oci/sch/service_connector_client.py +12 -12
- oci/secrets/secrets_client.py +3 -3
- oci/security_attribute/security_attribute_client.py +18 -18
- oci/service_catalog/service_catalog_client.py +26 -26
- oci/service_manager_proxy/service_manager_proxy_client.py +2 -2
- oci/service_mesh/service_mesh_client.py +48 -48
- oci/stack_monitoring/stack_monitoring_client.py +71 -71
- oci/streaming/stream_admin_client.py +18 -18
- oci/streaming/stream_client.py +8 -8
- oci/tenant_manager_control_plane/domain_client.py +5 -5
- oci/tenant_manager_control_plane/domain_governance_client.py +5 -5
- oci/tenant_manager_control_plane/governance_client.py +2 -2
- oci/tenant_manager_control_plane/link_client.py +3 -3
- oci/tenant_manager_control_plane/orders_client.py +2 -2
- oci/tenant_manager_control_plane/organization_client.py +10 -10
- oci/tenant_manager_control_plane/recipient_invitation_client.py +5 -5
- oci/tenant_manager_control_plane/sender_invitation_client.py +5 -5
- oci/tenant_manager_control_plane/subscription_client.py +11 -11
- oci/tenant_manager_control_plane/work_request_client.py +4 -4
- oci/threat_intelligence/threatintel_client.py +5 -5
- oci/usage/resources_client.py +2 -2
- oci/usage/rewards_client.py +6 -6
- oci/usage/usagelimits_client.py +1 -1
- oci/usage_api/usageapi_client.py +33 -33
- oci/vault/vaults_client.py +13 -13
- oci/vbs_inst/vbs_instance_client.py +10 -10
- oci/version.py +1 -1
- oci/visual_builder/vb_instance_client.py +14 -14
- oci/vn_monitoring/vn_monitoring_client.py +12 -12
- oci/vulnerability_scanning/vulnerability_scanning_client.py +58 -58
- oci/waa/waa_client.py +13 -13
- oci/waa/work_request_client.py +4 -4
- oci/waas/redirect_client.py +6 -6
- oci/waas/waas_client.py +66 -66
- oci/waf/waf_client.py +24 -24
- oci/work_requests/work_request_client.py +4 -4
- oci/zpr/zpr_client.py +15 -15
- {oci-2.142.0.dist-info → oci-2.143.0.dist-info}/METADATA +1 -1
- {oci-2.142.0.dist-info → oci-2.143.0.dist-info}/RECORD +321 -299
- {oci-2.142.0.dist-info → oci-2.143.0.dist-info}/LICENSE.txt +0 -0
- {oci-2.142.0.dist-info → oci-2.143.0.dist-info}/THIRD_PARTY_LICENSES.txt +0 -0
- {oci-2.142.0.dist-info → oci-2.143.0.dist-info}/WHEEL +0 -0
- {oci-2.142.0.dist-info → oci-2.143.0.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,82 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
# Copyright (c) 2016, 2025, Oracle and/or its affiliates. All rights reserved.
|
3
|
+
# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
4
|
+
|
5
|
+
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20160918
|
6
|
+
|
7
|
+
from .encryption_key_location_details import EncryptionKeyLocationDetails
|
8
|
+
from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
|
9
|
+
from oci.decorators import init_model_state_from_kwargs
|
10
|
+
|
11
|
+
|
12
|
+
@init_model_state_from_kwargs
|
13
|
+
class ExternalHsmEncryptionDetails(EncryptionKeyLocationDetails):
|
14
|
+
"""
|
15
|
+
Details for External HSM Input
|
16
|
+
"""
|
17
|
+
|
18
|
+
def __init__(self, **kwargs):
|
19
|
+
"""
|
20
|
+
Initializes a new ExternalHsmEncryptionDetails object with values from keyword arguments. The default value of the :py:attr:`~oci.database.models.ExternalHsmEncryptionDetails.provider_type` attribute
|
21
|
+
of this class is ``EXTERNAL`` and it should not be changed.
|
22
|
+
The following keyword arguments are supported (corresponding to the getters/setters of this class):
|
23
|
+
|
24
|
+
:param provider_type:
|
25
|
+
The value to assign to the provider_type property of this ExternalHsmEncryptionDetails.
|
26
|
+
Allowed values for this property are: "EXTERNAL"
|
27
|
+
:type provider_type: str
|
28
|
+
|
29
|
+
:param hsm_password:
|
30
|
+
The value to assign to the hsm_password property of this ExternalHsmEncryptionDetails.
|
31
|
+
:type hsm_password: str
|
32
|
+
|
33
|
+
"""
|
34
|
+
self.swagger_types = {
|
35
|
+
'provider_type': 'str',
|
36
|
+
'hsm_password': 'str'
|
37
|
+
}
|
38
|
+
|
39
|
+
self.attribute_map = {
|
40
|
+
'provider_type': 'providerType',
|
41
|
+
'hsm_password': 'hsmPassword'
|
42
|
+
}
|
43
|
+
|
44
|
+
self._provider_type = None
|
45
|
+
self._hsm_password = None
|
46
|
+
self._provider_type = 'EXTERNAL'
|
47
|
+
|
48
|
+
@property
|
49
|
+
def hsm_password(self):
|
50
|
+
"""
|
51
|
+
**[Required]** Gets the hsm_password of this ExternalHsmEncryptionDetails.
|
52
|
+
Provide the HSM password as you would in RDBMS for External HSM.
|
53
|
+
|
54
|
+
|
55
|
+
:return: The hsm_password of this ExternalHsmEncryptionDetails.
|
56
|
+
:rtype: str
|
57
|
+
"""
|
58
|
+
return self._hsm_password
|
59
|
+
|
60
|
+
@hsm_password.setter
|
61
|
+
def hsm_password(self, hsm_password):
|
62
|
+
"""
|
63
|
+
Sets the hsm_password of this ExternalHsmEncryptionDetails.
|
64
|
+
Provide the HSM password as you would in RDBMS for External HSM.
|
65
|
+
|
66
|
+
|
67
|
+
:param hsm_password: The hsm_password of this ExternalHsmEncryptionDetails.
|
68
|
+
:type: str
|
69
|
+
"""
|
70
|
+
self._hsm_password = hsm_password
|
71
|
+
|
72
|
+
def __repr__(self):
|
73
|
+
return formatted_flat_dict(self)
|
74
|
+
|
75
|
+
def __eq__(self, other):
|
76
|
+
if other is None:
|
77
|
+
return False
|
78
|
+
|
79
|
+
return self.__dict__ == other.__dict__
|
80
|
+
|
81
|
+
def __ne__(self, other):
|
82
|
+
return not self == other
|
@@ -0,0 +1,76 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
# Copyright (c) 2016, 2025, Oracle and/or its affiliates. All rights reserved.
|
3
|
+
# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
4
|
+
|
5
|
+
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20160918
|
6
|
+
|
7
|
+
|
8
|
+
from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
|
9
|
+
from oci.decorators import init_model_state_from_kwargs
|
10
|
+
|
11
|
+
|
12
|
+
@init_model_state_from_kwargs
|
13
|
+
class FailoverDataGuardDetails(object):
|
14
|
+
"""
|
15
|
+
The Data Guard failover parameters.
|
16
|
+
"""
|
17
|
+
|
18
|
+
def __init__(self, **kwargs):
|
19
|
+
"""
|
20
|
+
Initializes a new FailoverDataGuardDetails object with values from keyword arguments.
|
21
|
+
The following keyword arguments are supported (corresponding to the getters/setters of this class):
|
22
|
+
|
23
|
+
:param database_admin_password:
|
24
|
+
The value to assign to the database_admin_password property of this FailoverDataGuardDetails.
|
25
|
+
:type database_admin_password: str
|
26
|
+
|
27
|
+
"""
|
28
|
+
self.swagger_types = {
|
29
|
+
'database_admin_password': 'str'
|
30
|
+
}
|
31
|
+
|
32
|
+
self.attribute_map = {
|
33
|
+
'database_admin_password': 'databaseAdminPassword'
|
34
|
+
}
|
35
|
+
|
36
|
+
self._database_admin_password = None
|
37
|
+
|
38
|
+
@property
|
39
|
+
def database_admin_password(self):
|
40
|
+
"""
|
41
|
+
**[Required]** Gets the database_admin_password of this FailoverDataGuardDetails.
|
42
|
+
The administrator password of the primary database in this Data Guard association.
|
43
|
+
|
44
|
+
**The password MUST be the same as the primary admin password.**
|
45
|
+
|
46
|
+
|
47
|
+
:return: The database_admin_password of this FailoverDataGuardDetails.
|
48
|
+
:rtype: str
|
49
|
+
"""
|
50
|
+
return self._database_admin_password
|
51
|
+
|
52
|
+
@database_admin_password.setter
|
53
|
+
def database_admin_password(self, database_admin_password):
|
54
|
+
"""
|
55
|
+
Sets the database_admin_password of this FailoverDataGuardDetails.
|
56
|
+
The administrator password of the primary database in this Data Guard association.
|
57
|
+
|
58
|
+
**The password MUST be the same as the primary admin password.**
|
59
|
+
|
60
|
+
|
61
|
+
:param database_admin_password: The database_admin_password of this FailoverDataGuardDetails.
|
62
|
+
:type: str
|
63
|
+
"""
|
64
|
+
self._database_admin_password = database_admin_password
|
65
|
+
|
66
|
+
def __repr__(self):
|
67
|
+
return formatted_flat_dict(self)
|
68
|
+
|
69
|
+
def __eq__(self, other):
|
70
|
+
if other is None:
|
71
|
+
return False
|
72
|
+
|
73
|
+
return self.__dict__ == other.__dict__
|
74
|
+
|
75
|
+
def __ne__(self, other):
|
76
|
+
return not self == other
|
@@ -0,0 +1,111 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
# Copyright (c) 2016, 2025, Oracle and/or its affiliates. All rights reserved.
|
3
|
+
# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
4
|
+
|
5
|
+
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20160918
|
6
|
+
|
7
|
+
|
8
|
+
from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
|
9
|
+
from oci.decorators import init_model_state_from_kwargs
|
10
|
+
|
11
|
+
|
12
|
+
@init_model_state_from_kwargs
|
13
|
+
class ReinstateDataGuardDetails(object):
|
14
|
+
"""
|
15
|
+
The Data Guard reinstate parameters.
|
16
|
+
"""
|
17
|
+
|
18
|
+
def __init__(self, **kwargs):
|
19
|
+
"""
|
20
|
+
Initializes a new ReinstateDataGuardDetails object with values from keyword arguments.
|
21
|
+
The following keyword arguments are supported (corresponding to the getters/setters of this class):
|
22
|
+
|
23
|
+
:param database_admin_password:
|
24
|
+
The value to assign to the database_admin_password property of this ReinstateDataGuardDetails.
|
25
|
+
:type database_admin_password: str
|
26
|
+
|
27
|
+
:param source_database_id:
|
28
|
+
The value to assign to the source_database_id property of this ReinstateDataGuardDetails.
|
29
|
+
:type source_database_id: str
|
30
|
+
|
31
|
+
"""
|
32
|
+
self.swagger_types = {
|
33
|
+
'database_admin_password': 'str',
|
34
|
+
'source_database_id': 'str'
|
35
|
+
}
|
36
|
+
|
37
|
+
self.attribute_map = {
|
38
|
+
'database_admin_password': 'databaseAdminPassword',
|
39
|
+
'source_database_id': 'sourceDatabaseId'
|
40
|
+
}
|
41
|
+
|
42
|
+
self._database_admin_password = None
|
43
|
+
self._source_database_id = None
|
44
|
+
|
45
|
+
@property
|
46
|
+
def database_admin_password(self):
|
47
|
+
"""
|
48
|
+
**[Required]** Gets the database_admin_password of this ReinstateDataGuardDetails.
|
49
|
+
The administrator password of the primary database in this Data Guard association.
|
50
|
+
|
51
|
+
**The password MUST be the same as the primary admin password.**
|
52
|
+
|
53
|
+
|
54
|
+
:return: The database_admin_password of this ReinstateDataGuardDetails.
|
55
|
+
:rtype: str
|
56
|
+
"""
|
57
|
+
return self._database_admin_password
|
58
|
+
|
59
|
+
@database_admin_password.setter
|
60
|
+
def database_admin_password(self, database_admin_password):
|
61
|
+
"""
|
62
|
+
Sets the database_admin_password of this ReinstateDataGuardDetails.
|
63
|
+
The administrator password of the primary database in this Data Guard association.
|
64
|
+
|
65
|
+
**The password MUST be the same as the primary admin password.**
|
66
|
+
|
67
|
+
|
68
|
+
:param database_admin_password: The database_admin_password of this ReinstateDataGuardDetails.
|
69
|
+
:type: str
|
70
|
+
"""
|
71
|
+
self._database_admin_password = database_admin_password
|
72
|
+
|
73
|
+
@property
|
74
|
+
def source_database_id(self):
|
75
|
+
"""
|
76
|
+
**[Required]** Gets the source_database_id of this ReinstateDataGuardDetails.
|
77
|
+
The `OCID`__ of the source (primary) database in the Data Guard group.
|
78
|
+
|
79
|
+
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
|
80
|
+
|
81
|
+
|
82
|
+
:return: The source_database_id of this ReinstateDataGuardDetails.
|
83
|
+
:rtype: str
|
84
|
+
"""
|
85
|
+
return self._source_database_id
|
86
|
+
|
87
|
+
@source_database_id.setter
|
88
|
+
def source_database_id(self, source_database_id):
|
89
|
+
"""
|
90
|
+
Sets the source_database_id of this ReinstateDataGuardDetails.
|
91
|
+
The `OCID`__ of the source (primary) database in the Data Guard group.
|
92
|
+
|
93
|
+
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
|
94
|
+
|
95
|
+
|
96
|
+
:param source_database_id: The source_database_id of this ReinstateDataGuardDetails.
|
97
|
+
:type: str
|
98
|
+
"""
|
99
|
+
self._source_database_id = source_database_id
|
100
|
+
|
101
|
+
def __repr__(self):
|
102
|
+
return formatted_flat_dict(self)
|
103
|
+
|
104
|
+
def __eq__(self, other):
|
105
|
+
if other is None:
|
106
|
+
return False
|
107
|
+
|
108
|
+
return self.__dict__ == other.__dict__
|
109
|
+
|
110
|
+
def __ne__(self, other):
|
111
|
+
return not self == other
|
@@ -0,0 +1,76 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
# Copyright (c) 2016, 2025, Oracle and/or its affiliates. All rights reserved.
|
3
|
+
# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
4
|
+
|
5
|
+
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20160918
|
6
|
+
|
7
|
+
|
8
|
+
from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
|
9
|
+
from oci.decorators import init_model_state_from_kwargs
|
10
|
+
|
11
|
+
|
12
|
+
@init_model_state_from_kwargs
|
13
|
+
class SwitchOverDataGuardDetails(object):
|
14
|
+
"""
|
15
|
+
The Data Guard switchover parameters.
|
16
|
+
"""
|
17
|
+
|
18
|
+
def __init__(self, **kwargs):
|
19
|
+
"""
|
20
|
+
Initializes a new SwitchOverDataGuardDetails object with values from keyword arguments.
|
21
|
+
The following keyword arguments are supported (corresponding to the getters/setters of this class):
|
22
|
+
|
23
|
+
:param database_admin_password:
|
24
|
+
The value to assign to the database_admin_password property of this SwitchOverDataGuardDetails.
|
25
|
+
:type database_admin_password: str
|
26
|
+
|
27
|
+
"""
|
28
|
+
self.swagger_types = {
|
29
|
+
'database_admin_password': 'str'
|
30
|
+
}
|
31
|
+
|
32
|
+
self.attribute_map = {
|
33
|
+
'database_admin_password': 'databaseAdminPassword'
|
34
|
+
}
|
35
|
+
|
36
|
+
self._database_admin_password = None
|
37
|
+
|
38
|
+
@property
|
39
|
+
def database_admin_password(self):
|
40
|
+
"""
|
41
|
+
**[Required]** Gets the database_admin_password of this SwitchOverDataGuardDetails.
|
42
|
+
The administrator password of the primary database in this Data Guard association.
|
43
|
+
|
44
|
+
**The password MUST be the same as the primary admin password.**
|
45
|
+
|
46
|
+
|
47
|
+
:return: The database_admin_password of this SwitchOverDataGuardDetails.
|
48
|
+
:rtype: str
|
49
|
+
"""
|
50
|
+
return self._database_admin_password
|
51
|
+
|
52
|
+
@database_admin_password.setter
|
53
|
+
def database_admin_password(self, database_admin_password):
|
54
|
+
"""
|
55
|
+
Sets the database_admin_password of this SwitchOverDataGuardDetails.
|
56
|
+
The administrator password of the primary database in this Data Guard association.
|
57
|
+
|
58
|
+
**The password MUST be the same as the primary admin password.**
|
59
|
+
|
60
|
+
|
61
|
+
:param database_admin_password: The database_admin_password of this SwitchOverDataGuardDetails.
|
62
|
+
:type: str
|
63
|
+
"""
|
64
|
+
self._database_admin_password = database_admin_password
|
65
|
+
|
66
|
+
def __repr__(self):
|
67
|
+
return formatted_flat_dict(self)
|
68
|
+
|
69
|
+
def __eq__(self, other):
|
70
|
+
if other is None:
|
71
|
+
return False
|
72
|
+
|
73
|
+
return self.__dict__ == other.__dict__
|
74
|
+
|
75
|
+
def __ne__(self, other):
|
76
|
+
return not self == other
|
@@ -313,6 +313,10 @@ class UpdateAutonomousDatabaseDetails(object):
|
|
313
313
|
The value to assign to the encryption_key property of this UpdateAutonomousDatabaseDetails.
|
314
314
|
:type encryption_key: oci.database.models.AutonomousDatabaseEncryptionKeyDetails
|
315
315
|
|
316
|
+
:param is_disconnect_peer:
|
317
|
+
The value to assign to the is_disconnect_peer property of this UpdateAutonomousDatabaseDetails.
|
318
|
+
:type is_disconnect_peer: bool
|
319
|
+
|
316
320
|
"""
|
317
321
|
self.swagger_types = {
|
318
322
|
'backup_retention_period_in_days': 'int',
|
@@ -368,7 +372,8 @@ class UpdateAutonomousDatabaseDetails(object):
|
|
368
372
|
'db_tools_details': 'list[DatabaseTool]',
|
369
373
|
'secret_id': 'str',
|
370
374
|
'secret_version_number': 'int',
|
371
|
-
'encryption_key': 'AutonomousDatabaseEncryptionKeyDetails'
|
375
|
+
'encryption_key': 'AutonomousDatabaseEncryptionKeyDetails',
|
376
|
+
'is_disconnect_peer': 'bool'
|
372
377
|
}
|
373
378
|
|
374
379
|
self.attribute_map = {
|
@@ -425,7 +430,8 @@ class UpdateAutonomousDatabaseDetails(object):
|
|
425
430
|
'db_tools_details': 'dbToolsDetails',
|
426
431
|
'secret_id': 'secretId',
|
427
432
|
'secret_version_number': 'secretVersionNumber',
|
428
|
-
'encryption_key': 'encryptionKey'
|
433
|
+
'encryption_key': 'encryptionKey',
|
434
|
+
'is_disconnect_peer': 'isDisconnectPeer'
|
429
435
|
}
|
430
436
|
|
431
437
|
self._backup_retention_period_in_days = None
|
@@ -482,6 +488,7 @@ class UpdateAutonomousDatabaseDetails(object):
|
|
482
488
|
self._secret_id = None
|
483
489
|
self._secret_version_number = None
|
484
490
|
self._encryption_key = None
|
491
|
+
self._is_disconnect_peer = None
|
485
492
|
|
486
493
|
@property
|
487
494
|
def backup_retention_period_in_days(self):
|
@@ -2170,6 +2177,34 @@ class UpdateAutonomousDatabaseDetails(object):
|
|
2170
2177
|
"""
|
2171
2178
|
self._encryption_key = encryption_key
|
2172
2179
|
|
2180
|
+
@property
|
2181
|
+
def is_disconnect_peer(self):
|
2182
|
+
"""
|
2183
|
+
Gets the is_disconnect_peer of this UpdateAutonomousDatabaseDetails.
|
2184
|
+
If true, this will disconnect the Autonomous Database from its peer and the Autonomous Database can work permanently as a standalone database.
|
2185
|
+
|
2186
|
+
To disconnect a cross region standby, please also provide the OCID of the standby database in the `peerDbId` parameter.
|
2187
|
+
|
2188
|
+
|
2189
|
+
:return: The is_disconnect_peer of this UpdateAutonomousDatabaseDetails.
|
2190
|
+
:rtype: bool
|
2191
|
+
"""
|
2192
|
+
return self._is_disconnect_peer
|
2193
|
+
|
2194
|
+
@is_disconnect_peer.setter
|
2195
|
+
def is_disconnect_peer(self, is_disconnect_peer):
|
2196
|
+
"""
|
2197
|
+
Sets the is_disconnect_peer of this UpdateAutonomousDatabaseDetails.
|
2198
|
+
If true, this will disconnect the Autonomous Database from its peer and the Autonomous Database can work permanently as a standalone database.
|
2199
|
+
|
2200
|
+
To disconnect a cross region standby, please also provide the OCID of the standby database in the `peerDbId` parameter.
|
2201
|
+
|
2202
|
+
|
2203
|
+
:param is_disconnect_peer: The is_disconnect_peer of this UpdateAutonomousDatabaseDetails.
|
2204
|
+
:type: bool
|
2205
|
+
"""
|
2206
|
+
self._is_disconnect_peer = is_disconnect_peer
|
2207
|
+
|
2173
2208
|
def __repr__(self):
|
2174
2209
|
return formatted_flat_dict(self)
|
2175
2210
|
|
@@ -0,0 +1,241 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
# Copyright (c) 2016, 2025, Oracle and/or its affiliates. All rights reserved.
|
3
|
+
# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
4
|
+
|
5
|
+
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20160918
|
6
|
+
|
7
|
+
|
8
|
+
from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
|
9
|
+
from oci.decorators import init_model_state_from_kwargs
|
10
|
+
|
11
|
+
|
12
|
+
@init_model_state_from_kwargs
|
13
|
+
class UpdateDataGuardDetails(object):
|
14
|
+
"""
|
15
|
+
The properties for updating a standby database.
|
16
|
+
"""
|
17
|
+
|
18
|
+
#: A constant which can be used with the protection_mode property of a UpdateDataGuardDetails.
|
19
|
+
#: This constant has a value of "MAXIMUM_AVAILABILITY"
|
20
|
+
PROTECTION_MODE_MAXIMUM_AVAILABILITY = "MAXIMUM_AVAILABILITY"
|
21
|
+
|
22
|
+
#: A constant which can be used with the protection_mode property of a UpdateDataGuardDetails.
|
23
|
+
#: This constant has a value of "MAXIMUM_PERFORMANCE"
|
24
|
+
PROTECTION_MODE_MAXIMUM_PERFORMANCE = "MAXIMUM_PERFORMANCE"
|
25
|
+
|
26
|
+
#: A constant which can be used with the protection_mode property of a UpdateDataGuardDetails.
|
27
|
+
#: This constant has a value of "MAXIMUM_PROTECTION"
|
28
|
+
PROTECTION_MODE_MAXIMUM_PROTECTION = "MAXIMUM_PROTECTION"
|
29
|
+
|
30
|
+
#: A constant which can be used with the transport_type property of a UpdateDataGuardDetails.
|
31
|
+
#: This constant has a value of "SYNC"
|
32
|
+
TRANSPORT_TYPE_SYNC = "SYNC"
|
33
|
+
|
34
|
+
#: A constant which can be used with the transport_type property of a UpdateDataGuardDetails.
|
35
|
+
#: This constant has a value of "ASYNC"
|
36
|
+
TRANSPORT_TYPE_ASYNC = "ASYNC"
|
37
|
+
|
38
|
+
#: A constant which can be used with the transport_type property of a UpdateDataGuardDetails.
|
39
|
+
#: This constant has a value of "FASTSYNC"
|
40
|
+
TRANSPORT_TYPE_FASTSYNC = "FASTSYNC"
|
41
|
+
|
42
|
+
def __init__(self, **kwargs):
|
43
|
+
"""
|
44
|
+
Initializes a new UpdateDataGuardDetails object with values from keyword arguments.
|
45
|
+
The following keyword arguments are supported (corresponding to the getters/setters of this class):
|
46
|
+
|
47
|
+
:param database_admin_password:
|
48
|
+
The value to assign to the database_admin_password property of this UpdateDataGuardDetails.
|
49
|
+
:type database_admin_password: str
|
50
|
+
|
51
|
+
:param protection_mode:
|
52
|
+
The value to assign to the protection_mode property of this UpdateDataGuardDetails.
|
53
|
+
Allowed values for this property are: "MAXIMUM_AVAILABILITY", "MAXIMUM_PERFORMANCE", "MAXIMUM_PROTECTION"
|
54
|
+
:type protection_mode: str
|
55
|
+
|
56
|
+
:param transport_type:
|
57
|
+
The value to assign to the transport_type property of this UpdateDataGuardDetails.
|
58
|
+
Allowed values for this property are: "SYNC", "ASYNC", "FASTSYNC"
|
59
|
+
:type transport_type: str
|
60
|
+
|
61
|
+
:param is_active_data_guard_enabled:
|
62
|
+
The value to assign to the is_active_data_guard_enabled property of this UpdateDataGuardDetails.
|
63
|
+
:type is_active_data_guard_enabled: bool
|
64
|
+
|
65
|
+
"""
|
66
|
+
self.swagger_types = {
|
67
|
+
'database_admin_password': 'str',
|
68
|
+
'protection_mode': 'str',
|
69
|
+
'transport_type': 'str',
|
70
|
+
'is_active_data_guard_enabled': 'bool'
|
71
|
+
}
|
72
|
+
|
73
|
+
self.attribute_map = {
|
74
|
+
'database_admin_password': 'databaseAdminPassword',
|
75
|
+
'protection_mode': 'protectionMode',
|
76
|
+
'transport_type': 'transportType',
|
77
|
+
'is_active_data_guard_enabled': 'isActiveDataGuardEnabled'
|
78
|
+
}
|
79
|
+
|
80
|
+
self._database_admin_password = None
|
81
|
+
self._protection_mode = None
|
82
|
+
self._transport_type = None
|
83
|
+
self._is_active_data_guard_enabled = None
|
84
|
+
|
85
|
+
@property
|
86
|
+
def database_admin_password(self):
|
87
|
+
"""
|
88
|
+
Gets the database_admin_password of this UpdateDataGuardDetails.
|
89
|
+
The administrator password of the primary database in this Data Guard association.
|
90
|
+
|
91
|
+
**The password MUST be the same as the primary admin password.**
|
92
|
+
|
93
|
+
|
94
|
+
:return: The database_admin_password of this UpdateDataGuardDetails.
|
95
|
+
:rtype: str
|
96
|
+
"""
|
97
|
+
return self._database_admin_password
|
98
|
+
|
99
|
+
@database_admin_password.setter
|
100
|
+
def database_admin_password(self, database_admin_password):
|
101
|
+
"""
|
102
|
+
Sets the database_admin_password of this UpdateDataGuardDetails.
|
103
|
+
The administrator password of the primary database in this Data Guard association.
|
104
|
+
|
105
|
+
**The password MUST be the same as the primary admin password.**
|
106
|
+
|
107
|
+
|
108
|
+
:param database_admin_password: The database_admin_password of this UpdateDataGuardDetails.
|
109
|
+
:type: str
|
110
|
+
"""
|
111
|
+
self._database_admin_password = database_admin_password
|
112
|
+
|
113
|
+
@property
|
114
|
+
def protection_mode(self):
|
115
|
+
"""
|
116
|
+
Gets the protection_mode of this UpdateDataGuardDetails.
|
117
|
+
The protection mode of this Data Guard. For more information, see
|
118
|
+
`Oracle Data Guard Protection Modes`__
|
119
|
+
in the Oracle Data Guard documentation.
|
120
|
+
|
121
|
+
__ http://docs.oracle.com/database/122/SBYDB/oracle-data-guard-protection-modes.htm#SBYDB02000
|
122
|
+
|
123
|
+
Allowed values for this property are: "MAXIMUM_AVAILABILITY", "MAXIMUM_PERFORMANCE", "MAXIMUM_PROTECTION"
|
124
|
+
|
125
|
+
|
126
|
+
:return: The protection_mode of this UpdateDataGuardDetails.
|
127
|
+
:rtype: str
|
128
|
+
"""
|
129
|
+
return self._protection_mode
|
130
|
+
|
131
|
+
@protection_mode.setter
|
132
|
+
def protection_mode(self, protection_mode):
|
133
|
+
"""
|
134
|
+
Sets the protection_mode of this UpdateDataGuardDetails.
|
135
|
+
The protection mode of this Data Guard. For more information, see
|
136
|
+
`Oracle Data Guard Protection Modes`__
|
137
|
+
in the Oracle Data Guard documentation.
|
138
|
+
|
139
|
+
__ http://docs.oracle.com/database/122/SBYDB/oracle-data-guard-protection-modes.htm#SBYDB02000
|
140
|
+
|
141
|
+
|
142
|
+
:param protection_mode: The protection_mode of this UpdateDataGuardDetails.
|
143
|
+
:type: str
|
144
|
+
"""
|
145
|
+
allowed_values = ["MAXIMUM_AVAILABILITY", "MAXIMUM_PERFORMANCE", "MAXIMUM_PROTECTION"]
|
146
|
+
if not value_allowed_none_or_none_sentinel(protection_mode, allowed_values):
|
147
|
+
raise ValueError(
|
148
|
+
f"Invalid value for `protection_mode`, must be None or one of {allowed_values}"
|
149
|
+
)
|
150
|
+
self._protection_mode = protection_mode
|
151
|
+
|
152
|
+
@property
|
153
|
+
def transport_type(self):
|
154
|
+
"""
|
155
|
+
Gets the transport_type of this UpdateDataGuardDetails.
|
156
|
+
The redo transport type to use for this Data Guard association. Valid values depend on the specified `protectionMode`:
|
157
|
+
|
158
|
+
* MAXIMUM_AVAILABILITY - SYNC or FASTSYNC
|
159
|
+
* MAXIMUM_PERFORMANCE - ASYNC
|
160
|
+
* MAXIMUM_PROTECTION - SYNC
|
161
|
+
|
162
|
+
For more information, see
|
163
|
+
`Redo Transport Services`__
|
164
|
+
in the Oracle Data Guard documentation.
|
165
|
+
|
166
|
+
**IMPORTANT** - The only transport type currently supported by the Database service is ASYNC.
|
167
|
+
|
168
|
+
__ http://docs.oracle.com/database/122/SBYDB/oracle-data-guard-redo-transport-services.htm#SBYDB00400
|
169
|
+
|
170
|
+
Allowed values for this property are: "SYNC", "ASYNC", "FASTSYNC"
|
171
|
+
|
172
|
+
|
173
|
+
:return: The transport_type of this UpdateDataGuardDetails.
|
174
|
+
:rtype: str
|
175
|
+
"""
|
176
|
+
return self._transport_type
|
177
|
+
|
178
|
+
@transport_type.setter
|
179
|
+
def transport_type(self, transport_type):
|
180
|
+
"""
|
181
|
+
Sets the transport_type of this UpdateDataGuardDetails.
|
182
|
+
The redo transport type to use for this Data Guard association. Valid values depend on the specified `protectionMode`:
|
183
|
+
|
184
|
+
* MAXIMUM_AVAILABILITY - SYNC or FASTSYNC
|
185
|
+
* MAXIMUM_PERFORMANCE - ASYNC
|
186
|
+
* MAXIMUM_PROTECTION - SYNC
|
187
|
+
|
188
|
+
For more information, see
|
189
|
+
`Redo Transport Services`__
|
190
|
+
in the Oracle Data Guard documentation.
|
191
|
+
|
192
|
+
**IMPORTANT** - The only transport type currently supported by the Database service is ASYNC.
|
193
|
+
|
194
|
+
__ http://docs.oracle.com/database/122/SBYDB/oracle-data-guard-redo-transport-services.htm#SBYDB00400
|
195
|
+
|
196
|
+
|
197
|
+
:param transport_type: The transport_type of this UpdateDataGuardDetails.
|
198
|
+
:type: str
|
199
|
+
"""
|
200
|
+
allowed_values = ["SYNC", "ASYNC", "FASTSYNC"]
|
201
|
+
if not value_allowed_none_or_none_sentinel(transport_type, allowed_values):
|
202
|
+
raise ValueError(
|
203
|
+
f"Invalid value for `transport_type`, must be None or one of {allowed_values}"
|
204
|
+
)
|
205
|
+
self._transport_type = transport_type
|
206
|
+
|
207
|
+
@property
|
208
|
+
def is_active_data_guard_enabled(self):
|
209
|
+
"""
|
210
|
+
Gets the is_active_data_guard_enabled of this UpdateDataGuardDetails.
|
211
|
+
True if active Data Guard is enabled.
|
212
|
+
|
213
|
+
|
214
|
+
:return: The is_active_data_guard_enabled of this UpdateDataGuardDetails.
|
215
|
+
:rtype: bool
|
216
|
+
"""
|
217
|
+
return self._is_active_data_guard_enabled
|
218
|
+
|
219
|
+
@is_active_data_guard_enabled.setter
|
220
|
+
def is_active_data_guard_enabled(self, is_active_data_guard_enabled):
|
221
|
+
"""
|
222
|
+
Sets the is_active_data_guard_enabled of this UpdateDataGuardDetails.
|
223
|
+
True if active Data Guard is enabled.
|
224
|
+
|
225
|
+
|
226
|
+
:param is_active_data_guard_enabled: The is_active_data_guard_enabled of this UpdateDataGuardDetails.
|
227
|
+
:type: bool
|
228
|
+
"""
|
229
|
+
self._is_active_data_guard_enabled = is_active_data_guard_enabled
|
230
|
+
|
231
|
+
def __repr__(self):
|
232
|
+
return formatted_flat_dict(self)
|
233
|
+
|
234
|
+
def __eq__(self, other):
|
235
|
+
if other is None:
|
236
|
+
return False
|
237
|
+
|
238
|
+
return self.__dict__ == other.__dict__
|
239
|
+
|
240
|
+
def __ne__(self, other):
|
241
|
+
return not self == other
|