oci 2.128.0__py3-none-any.whl → 2.128.1__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 +22 -22
- oci/ai_language/ai_service_language_client.py +44 -44
- oci/ai_speech/ai_service_speech_client.py +10 -10
- oci/ai_vision/ai_service_vision_client.py +25 -25
- oci/analytics/analytics_client.py +23 -23
- oci/announcements_service/announcement_client.py +4 -4
- oci/announcements_service/announcement_subscription_client.py +9 -9
- oci/announcements_service/announcements_preferences_client.py +4 -4
- 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 +108 -8
- oci/apm_config/models/__init__.py +10 -0
- oci/apm_config/models/filter_text_or_id.py +112 -0
- oci/apm_config/models/test_details.py +101 -0
- oci/apm_config/models/test_output.py +101 -0
- oci/apm_config/models/test_span_enrichment_details.py +148 -0
- oci/apm_config/models/test_span_enrichment_output.py +113 -0
- 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/bastion/bastion_client.py +15 -15
- oci/bds/bds_client.py +66 -66
- oci/blockchain/blockchain_platform_client.py +27 -27
- oci/budget/budget_client.py +10 -10
- oci/capacity_management/capacity_management_client.py +22 -22
- oci/certificates/certificates_client.py +5 -5
- oci/certificates_management/certificates_management_client.py +32 -32
- oci/cims/incident_client.py +8 -8
- oci/cims/user_client.py +1 -1
- oci/cloud_bridge/common_client.py +5 -5
- oci/cloud_bridge/discovery_client.py +14 -14
- 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_guard/models/resource_profile.py +66 -4
- oci/cloud_guard/models/resource_profile_endpoint_summary.py +97 -4
- oci/cloud_guard/models/resource_profile_impacted_resource_summary.py +126 -2
- oci/cloud_guard/models/resource_profile_summary.py +66 -4
- oci/cloud_guard/models/security_policy_collection.py +115 -2
- oci/cloud_guard/models/sighting.py +66 -4
- oci/cloud_guard/models/sighting_endpoint_summary.py +97 -4
- oci/cloud_guard/models/sighting_impacted_resource_summary.py +126 -2
- oci/cloud_guard/models/sighting_summary.py +66 -4
- 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 +99 -99
- oci/core/compute_management_client.py +32 -32
- oci/core/virtual_network_client.py +247 -247
- 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 +42 -42
- 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 +278 -278
- oci/data_science/data_science_client.py +91 -91
- oci/database/database_client.py +334 -334
- oci/database_management/db_management_client.py +208 -208
- 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 +41 -41
- oci/database_tools/database_tools_client.py +23 -23
- oci/demand_signal/occ_demand_signal_client.py +7 -7
- oci/desktops/desktop_service_client.py +21 -21
- oci/devops/devops_client.py +89 -89
- oci/disaster_recovery/disaster_recovery_client.py +29 -29
- oci/dns/dns_client.py +52 -52
- 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_data_lake_client.py +13 -13
- 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 +50 -50
- oci/fleet_software_update/fleet_software_update_client.py +44 -44
- oci/functions/functions_invoke_client.py +1 -1
- oci/functions/functions_management_client.py +16 -16
- oci/fusion_apps/data_masking_activity_client.py +3 -3
- oci/fusion_apps/fusion_applications_client.py +233 -39
- oci/fusion_apps/fusion_applications_client_composite_operations.py +39 -0
- oci/fusion_apps/fusion_environment_client.py +15 -15
- oci/fusion_apps/fusion_environment_family_client.py +8 -8
- oci/fusion_apps/models/__init__.py +4 -0
- oci/fusion_apps/models/extract_details_collection.py +72 -0
- oci/fusion_apps/models/extract_details_summary.py +134 -0
- oci/fusion_apps/models/fusion_environment.py +33 -2
- oci/fusion_apps/models/subscription.py +214 -0
- oci/fusion_apps/models/work_request.py +27 -3
- oci/fusion_apps/refresh_activity_client.py +4 -4
- oci/fusion_apps/scheduled_activity_client.py +2 -2
- oci/fusion_apps/service_attachment_client.py +2 -2
- oci/generative_ai/generative_ai_client.py +22 -22
- 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/models/create_dedicated_sharded_database.py +93 -0
- oci/globally_distributed_database/models/dedicated_sharded_database.py +111 -0
- oci/globally_distributed_database/models/dedicated_sharded_database_summary.py +93 -0
- oci/globally_distributed_database/models/private_endpoint.py +31 -0
- oci/globally_distributed_database/models/work_request.py +51 -3
- oci/globally_distributed_database/models/work_request_summary.py +51 -3
- oci/globally_distributed_database/sharded_database_service_client.py +174 -30
- oci/globally_distributed_database/sharded_database_service_client_composite_operations.py +39 -0
- oci/golden_gate/golden_gate_client.py +68 -68
- 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 +300 -300
- oci/integration/integration_instance_client.py +15 -15
- oci/jms/java_management_service_client.py +66 -66
- 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/models/alarm.py +167 -8
- oci/monitoring/models/alarm_dimension_states_entry.py +49 -4
- oci/monitoring/models/alarm_history_entry.py +47 -0
- oci/monitoring/models/alarm_override.py +34 -4
- oci/monitoring/models/alarm_status_summary.py +49 -4
- oci/monitoring/models/alarm_summary.py +172 -6
- oci/monitoring/models/create_alarm_details.py +169 -10
- oci/monitoring/models/update_alarm_details.py +169 -10
- oci/monitoring/monitoring_client.py +18 -18
- oci/mysql/channels_client.py +7 -7
- oci/mysql/db_backups_client.py +6 -6
- 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 +80 -80
- oci/network_load_balancer/network_load_balancer_client.py +34 -34
- oci/nosql/nosql_client.py +24 -24
- oci/object_storage/object_storage_client.py +50 -50
- 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 +14 -14
- 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 +175 -175
- 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/models/get_message.py +35 -0
- oci/queue/models/queue.py +7 -3
- oci/queue/models/queue_stats.py +2 -2
- oci/queue/queue_admin_client.py +13 -13
- oci/queue/queue_client.py +10 -10
- oci/recovery/database_recovery_client.py +25 -25
- oci/redis/redis_cluster_client.py +22 -22
- 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/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 +64 -64
- 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 +13 -13
- 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-2.128.0.dist-info → oci-2.128.1.dist-info}/METADATA +1 -1
- {oci-2.128.0.dist-info → oci-2.128.1.dist-info}/RECORD +294 -287
- {oci-2.128.0.dist-info → oci-2.128.1.dist-info}/LICENSE.txt +0 -0
- {oci-2.128.0.dist-info → oci-2.128.1.dist-info}/THIRD_PARTY_LICENSES.txt +0 -0
- {oci-2.128.0.dist-info → oci-2.128.1.dist-info}/WHEEL +0 -0
- {oci-2.128.0.dist-info → oci-2.128.1.dist-info}/top_level.txt +0 -0
@@ -87,6 +87,54 @@ class WorkRequestSummary(object):
|
|
87
87
|
#: This constant has a value of "CONFIGURE_SHARDING"
|
88
88
|
OPERATION_TYPE_CONFIGURE_SHARDING = "CONFIGURE_SHARDING"
|
89
89
|
|
90
|
+
#: A constant which can be used with the operation_type property of a WorkRequestSummary.
|
91
|
+
#: This constant has a value of "EXECUTE_VALIDATE_NETWORK_TESTS"
|
92
|
+
OPERATION_TYPE_EXECUTE_VALIDATE_NETWORK_TESTS = "EXECUTE_VALIDATE_NETWORK_TESTS"
|
93
|
+
|
94
|
+
#: A constant which can be used with the operation_type property of a WorkRequestSummary.
|
95
|
+
#: This constant has a value of "UPDATE_SHARD"
|
96
|
+
OPERATION_TYPE_UPDATE_SHARD = "UPDATE_SHARD"
|
97
|
+
|
98
|
+
#: A constant which can be used with the operation_type property of a WorkRequestSummary.
|
99
|
+
#: This constant has a value of "PRIVATE_DELETE_SDB"
|
100
|
+
OPERATION_TYPE_PRIVATE_DELETE_SDB = "PRIVATE_DELETE_SDB"
|
101
|
+
|
102
|
+
#: A constant which can be used with the operation_type property of a WorkRequestSummary.
|
103
|
+
#: This constant has a value of "PROCESS_SHARDED_DATABASE"
|
104
|
+
OPERATION_TYPE_PROCESS_SHARDED_DATABASE = "PROCESS_SHARDED_DATABASE"
|
105
|
+
|
106
|
+
#: A constant which can be used with the operation_type property of a WorkRequestSummary.
|
107
|
+
#: This constant has a value of "CREATE_CATALOGS"
|
108
|
+
OPERATION_TYPE_CREATE_CATALOGS = "CREATE_CATALOGS"
|
109
|
+
|
110
|
+
#: A constant which can be used with the operation_type property of a WorkRequestSummary.
|
111
|
+
#: This constant has a value of "CREATE_SHARDS"
|
112
|
+
OPERATION_TYPE_CREATE_SHARDS = "CREATE_SHARDS"
|
113
|
+
|
114
|
+
#: A constant which can be used with the operation_type property of a WorkRequestSummary.
|
115
|
+
#: This constant has a value of "CREATE_GSM_NODES"
|
116
|
+
OPERATION_TYPE_CREATE_GSM_NODES = "CREATE_GSM_NODES"
|
117
|
+
|
118
|
+
#: A constant which can be used with the operation_type property of a WorkRequestSummary.
|
119
|
+
#: This constant has a value of "ADD_GSM_NODES"
|
120
|
+
OPERATION_TYPE_ADD_GSM_NODES = "ADD_GSM_NODES"
|
121
|
+
|
122
|
+
#: A constant which can be used with the operation_type property of a WorkRequestSummary.
|
123
|
+
#: This constant has a value of "PRIVATE_DELETE_ATPD_CATALOG"
|
124
|
+
OPERATION_TYPE_PRIVATE_DELETE_ATPD_CATALOG = "PRIVATE_DELETE_ATPD_CATALOG"
|
125
|
+
|
126
|
+
#: A constant which can be used with the operation_type property of a WorkRequestSummary.
|
127
|
+
#: This constant has a value of "PRIVATE_DELETE_ATPD_SHARD"
|
128
|
+
OPERATION_TYPE_PRIVATE_DELETE_ATPD_SHARD = "PRIVATE_DELETE_ATPD_SHARD"
|
129
|
+
|
130
|
+
#: A constant which can be used with the operation_type property of a WorkRequestSummary.
|
131
|
+
#: This constant has a value of "PRIVATE_DELETE_GSM"
|
132
|
+
OPERATION_TYPE_PRIVATE_DELETE_GSM = "PRIVATE_DELETE_GSM"
|
133
|
+
|
134
|
+
#: A constant which can be used with the operation_type property of a WorkRequestSummary.
|
135
|
+
#: This constant has a value of "REINSTATE_PROXY_INSTANCE"
|
136
|
+
OPERATION_TYPE_REINSTATE_PROXY_INSTANCE = "REINSTATE_PROXY_INSTANCE"
|
137
|
+
|
90
138
|
#: A constant which can be used with the status property of a WorkRequestSummary.
|
91
139
|
#: This constant has a value of "ACCEPTED"
|
92
140
|
STATUS_ACCEPTED = "ACCEPTED"
|
@@ -122,7 +170,7 @@ class WorkRequestSummary(object):
|
|
122
170
|
|
123
171
|
:param operation_type:
|
124
172
|
The value to assign to the operation_type property of this WorkRequestSummary.
|
125
|
-
Allowed values for this property are: "CREATE_SHARDED_DATABASE", "DELETE_SHARDED_DATABASE", "UPDATE_SHARDED_DATABASE", "CONFIGURE_SHARDED_DATABASE_GSMS", "START_SHARDED_DATABASE", "STOP_SHARDED_DATABASE", "VALIDATE_NETWORK", "CHANGE_SHARDED_DB_COMPARTMENT", "CREATE_PRIVATE_ENDPOINT", "UPDATE_PRIVATE_ENDPOINT", "DELETE_PRIVATE_ENDPOINT", "CHANGE_PRIVATE_ENDPOINT_COMPARTMENT", "INSERT_SHARDS", "REMOVE_SHARDS", "MERGE_CATALOG_SHARDS", "UPLOAD_SIGNED_CERT_AND_GENERATE_WALLET", "GENERATE_GSM_CERT_SIGNING_REQ", "CONFIGURE_SHARDING", 'UNKNOWN_ENUM_VALUE'.
|
173
|
+
Allowed values for this property are: "CREATE_SHARDED_DATABASE", "DELETE_SHARDED_DATABASE", "UPDATE_SHARDED_DATABASE", "CONFIGURE_SHARDED_DATABASE_GSMS", "START_SHARDED_DATABASE", "STOP_SHARDED_DATABASE", "VALIDATE_NETWORK", "CHANGE_SHARDED_DB_COMPARTMENT", "CREATE_PRIVATE_ENDPOINT", "UPDATE_PRIVATE_ENDPOINT", "DELETE_PRIVATE_ENDPOINT", "CHANGE_PRIVATE_ENDPOINT_COMPARTMENT", "INSERT_SHARDS", "REMOVE_SHARDS", "MERGE_CATALOG_SHARDS", "UPLOAD_SIGNED_CERT_AND_GENERATE_WALLET", "GENERATE_GSM_CERT_SIGNING_REQ", "CONFIGURE_SHARDING", "EXECUTE_VALIDATE_NETWORK_TESTS", "UPDATE_SHARD", "PRIVATE_DELETE_SDB", "PROCESS_SHARDED_DATABASE", "CREATE_CATALOGS", "CREATE_SHARDS", "CREATE_GSM_NODES", "ADD_GSM_NODES", "PRIVATE_DELETE_ATPD_CATALOG", "PRIVATE_DELETE_ATPD_SHARD", "PRIVATE_DELETE_GSM", "REINSTATE_PROXY_INSTANCE", 'UNKNOWN_ENUM_VALUE'.
|
126
174
|
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
|
127
175
|
:type operation_type: str
|
128
176
|
|
@@ -201,7 +249,7 @@ class WorkRequestSummary(object):
|
|
201
249
|
**[Required]** Gets the operation_type of this WorkRequestSummary.
|
202
250
|
Type of the work request
|
203
251
|
|
204
|
-
Allowed values for this property are: "CREATE_SHARDED_DATABASE", "DELETE_SHARDED_DATABASE", "UPDATE_SHARDED_DATABASE", "CONFIGURE_SHARDED_DATABASE_GSMS", "START_SHARDED_DATABASE", "STOP_SHARDED_DATABASE", "VALIDATE_NETWORK", "CHANGE_SHARDED_DB_COMPARTMENT", "CREATE_PRIVATE_ENDPOINT", "UPDATE_PRIVATE_ENDPOINT", "DELETE_PRIVATE_ENDPOINT", "CHANGE_PRIVATE_ENDPOINT_COMPARTMENT", "INSERT_SHARDS", "REMOVE_SHARDS", "MERGE_CATALOG_SHARDS", "UPLOAD_SIGNED_CERT_AND_GENERATE_WALLET", "GENERATE_GSM_CERT_SIGNING_REQ", "CONFIGURE_SHARDING", 'UNKNOWN_ENUM_VALUE'.
|
252
|
+
Allowed values for this property are: "CREATE_SHARDED_DATABASE", "DELETE_SHARDED_DATABASE", "UPDATE_SHARDED_DATABASE", "CONFIGURE_SHARDED_DATABASE_GSMS", "START_SHARDED_DATABASE", "STOP_SHARDED_DATABASE", "VALIDATE_NETWORK", "CHANGE_SHARDED_DB_COMPARTMENT", "CREATE_PRIVATE_ENDPOINT", "UPDATE_PRIVATE_ENDPOINT", "DELETE_PRIVATE_ENDPOINT", "CHANGE_PRIVATE_ENDPOINT_COMPARTMENT", "INSERT_SHARDS", "REMOVE_SHARDS", "MERGE_CATALOG_SHARDS", "UPLOAD_SIGNED_CERT_AND_GENERATE_WALLET", "GENERATE_GSM_CERT_SIGNING_REQ", "CONFIGURE_SHARDING", "EXECUTE_VALIDATE_NETWORK_TESTS", "UPDATE_SHARD", "PRIVATE_DELETE_SDB", "PROCESS_SHARDED_DATABASE", "CREATE_CATALOGS", "CREATE_SHARDS", "CREATE_GSM_NODES", "ADD_GSM_NODES", "PRIVATE_DELETE_ATPD_CATALOG", "PRIVATE_DELETE_ATPD_SHARD", "PRIVATE_DELETE_GSM", "REINSTATE_PROXY_INSTANCE", 'UNKNOWN_ENUM_VALUE'.
|
205
253
|
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
|
206
254
|
|
207
255
|
|
@@ -220,7 +268,7 @@ class WorkRequestSummary(object):
|
|
220
268
|
:param operation_type: The operation_type of this WorkRequestSummary.
|
221
269
|
:type: str
|
222
270
|
"""
|
223
|
-
allowed_values = ["CREATE_SHARDED_DATABASE", "DELETE_SHARDED_DATABASE", "UPDATE_SHARDED_DATABASE", "CONFIGURE_SHARDED_DATABASE_GSMS", "START_SHARDED_DATABASE", "STOP_SHARDED_DATABASE", "VALIDATE_NETWORK", "CHANGE_SHARDED_DB_COMPARTMENT", "CREATE_PRIVATE_ENDPOINT", "UPDATE_PRIVATE_ENDPOINT", "DELETE_PRIVATE_ENDPOINT", "CHANGE_PRIVATE_ENDPOINT_COMPARTMENT", "INSERT_SHARDS", "REMOVE_SHARDS", "MERGE_CATALOG_SHARDS", "UPLOAD_SIGNED_CERT_AND_GENERATE_WALLET", "GENERATE_GSM_CERT_SIGNING_REQ", "CONFIGURE_SHARDING"]
|
271
|
+
allowed_values = ["CREATE_SHARDED_DATABASE", "DELETE_SHARDED_DATABASE", "UPDATE_SHARDED_DATABASE", "CONFIGURE_SHARDED_DATABASE_GSMS", "START_SHARDED_DATABASE", "STOP_SHARDED_DATABASE", "VALIDATE_NETWORK", "CHANGE_SHARDED_DB_COMPARTMENT", "CREATE_PRIVATE_ENDPOINT", "UPDATE_PRIVATE_ENDPOINT", "DELETE_PRIVATE_ENDPOINT", "CHANGE_PRIVATE_ENDPOINT_COMPARTMENT", "INSERT_SHARDS", "REMOVE_SHARDS", "MERGE_CATALOG_SHARDS", "UPLOAD_SIGNED_CERT_AND_GENERATE_WALLET", "GENERATE_GSM_CERT_SIGNING_REQ", "CONFIGURE_SHARDING", "EXECUTE_VALIDATE_NETWORK_TESTS", "UPDATE_SHARD", "PRIVATE_DELETE_SDB", "PROCESS_SHARDED_DATABASE", "CREATE_CATALOGS", "CREATE_SHARDS", "CREATE_GSM_NODES", "ADD_GSM_NODES", "PRIVATE_DELETE_ATPD_CATALOG", "PRIVATE_DELETE_ATPD_SHARD", "PRIVATE_DELETE_GSM", "REINSTATE_PROXY_INSTANCE"]
|
224
272
|
if not value_allowed_none_or_none_sentinel(operation_type, allowed_values):
|
225
273
|
operation_type = 'UNKNOWN_ENUM_VALUE'
|
226
274
|
self._operation_type = operation_type
|
@@ -160,7 +160,7 @@ class ShardedDatabaseServiceClient(object):
|
|
160
160
|
:rtype: :class:`~oci.response.Response`
|
161
161
|
|
162
162
|
:example:
|
163
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.128.
|
163
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.128.1/globallydistributeddatabase/change_private_endpoint_compartment.py.html>`__ to see an example of how to use change_private_endpoint_compartment API.
|
164
164
|
"""
|
165
165
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
166
166
|
required_arguments = ['privateEndpointId']
|
@@ -280,7 +280,7 @@ class ShardedDatabaseServiceClient(object):
|
|
280
280
|
:rtype: :class:`~oci.response.Response`
|
281
281
|
|
282
282
|
:example:
|
283
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.128.
|
283
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.128.1/globallydistributeddatabase/change_sharded_database_compartment.py.html>`__ to see an example of how to use change_sharded_database_compartment API.
|
284
284
|
"""
|
285
285
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
286
286
|
required_arguments = ['shardedDatabaseId']
|
@@ -403,7 +403,7 @@ class ShardedDatabaseServiceClient(object):
|
|
403
403
|
:rtype: :class:`~oci.response.Response`
|
404
404
|
|
405
405
|
:example:
|
406
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.128.
|
406
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.128.1/globallydistributeddatabase/configure_sharded_database_gsms.py.html>`__ to see an example of how to use configure_sharded_database_gsms API.
|
407
407
|
"""
|
408
408
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
409
409
|
required_arguments = ['shardedDatabaseId']
|
@@ -528,7 +528,7 @@ class ShardedDatabaseServiceClient(object):
|
|
528
528
|
:rtype: :class:`~oci.response.Response`
|
529
529
|
|
530
530
|
:example:
|
531
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.128.
|
531
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.128.1/globallydistributeddatabase/configure_sharding.py.html>`__ to see an example of how to use configure_sharding API.
|
532
532
|
"""
|
533
533
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
534
534
|
required_arguments = ['shardedDatabaseId']
|
@@ -644,7 +644,7 @@ class ShardedDatabaseServiceClient(object):
|
|
644
644
|
:rtype: :class:`~oci.response.Response`
|
645
645
|
|
646
646
|
:example:
|
647
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.128.
|
647
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.128.1/globallydistributeddatabase/create_private_endpoint.py.html>`__ to see an example of how to use create_private_endpoint API.
|
648
648
|
"""
|
649
649
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
650
650
|
required_arguments = []
|
@@ -742,7 +742,7 @@ class ShardedDatabaseServiceClient(object):
|
|
742
742
|
:rtype: :class:`~oci.response.Response`
|
743
743
|
|
744
744
|
:example:
|
745
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.128.
|
745
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.128.1/globallydistributeddatabase/create_sharded_database.py.html>`__ to see an example of how to use create_sharded_database API.
|
746
746
|
"""
|
747
747
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
748
748
|
required_arguments = []
|
@@ -847,7 +847,7 @@ class ShardedDatabaseServiceClient(object):
|
|
847
847
|
:rtype: :class:`~oci.response.Response`
|
848
848
|
|
849
849
|
:example:
|
850
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.128.
|
850
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.128.1/globallydistributeddatabase/delete_private_endpoint.py.html>`__ to see an example of how to use delete_private_endpoint API.
|
851
851
|
"""
|
852
852
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
853
853
|
required_arguments = ['privateEndpointId']
|
@@ -962,7 +962,7 @@ class ShardedDatabaseServiceClient(object):
|
|
962
962
|
:rtype: :class:`~oci.response.Response`
|
963
963
|
|
964
964
|
:example:
|
965
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.128.
|
965
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.128.1/globallydistributeddatabase/delete_sharded_database.py.html>`__ to see an example of how to use delete_sharded_database API.
|
966
966
|
"""
|
967
967
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
968
968
|
required_arguments = ['shardedDatabaseId']
|
@@ -1080,7 +1080,7 @@ class ShardedDatabaseServiceClient(object):
|
|
1080
1080
|
:rtype: :class:`~oci.response.Response`
|
1081
1081
|
|
1082
1082
|
:example:
|
1083
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.128.
|
1083
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.128.1/globallydistributeddatabase/download_gsm_certificate_signing_request.py.html>`__ to see an example of how to use download_gsm_certificate_signing_request API.
|
1084
1084
|
"""
|
1085
1085
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1086
1086
|
required_arguments = ['shardedDatabaseId']
|
@@ -1197,7 +1197,7 @@ class ShardedDatabaseServiceClient(object):
|
|
1197
1197
|
:rtype: :class:`~oci.response.Response`
|
1198
1198
|
|
1199
1199
|
:example:
|
1200
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.128.
|
1200
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.128.1/globallydistributeddatabase/fetch_connection_string.py.html>`__ to see an example of how to use fetch_connection_string API.
|
1201
1201
|
"""
|
1202
1202
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1203
1203
|
required_arguments = ['shardedDatabaseId']
|
@@ -1307,7 +1307,7 @@ class ShardedDatabaseServiceClient(object):
|
|
1307
1307
|
:rtype: :class:`~oci.response.Response`
|
1308
1308
|
|
1309
1309
|
:example:
|
1310
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.128.
|
1310
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.128.1/globallydistributeddatabase/fetch_shardable_cloud_autonomous_vm_clusters.py.html>`__ to see an example of how to use fetch_shardable_cloud_autonomous_vm_clusters API.
|
1311
1311
|
"""
|
1312
1312
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1313
1313
|
required_arguments = []
|
@@ -1398,6 +1398,9 @@ class ShardedDatabaseServiceClient(object):
|
|
1398
1398
|
has been deleted and purged from the system, then a retry of the original creation request
|
1399
1399
|
might be rejected.
|
1400
1400
|
|
1401
|
+
:param str ca_bundle_id: (optional)
|
1402
|
+
The ID of the Ca Bundle.
|
1403
|
+
|
1401
1404
|
:param obj retry_strategy: (optional)
|
1402
1405
|
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
1403
1406
|
|
@@ -1414,7 +1417,7 @@ class ShardedDatabaseServiceClient(object):
|
|
1414
1417
|
:rtype: :class:`~oci.response.Response`
|
1415
1418
|
|
1416
1419
|
:example:
|
1417
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.128.
|
1420
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.128.1/globallydistributeddatabase/generate_gsm_certificate_signing_request.py.html>`__ to see an example of how to use generate_gsm_certificate_signing_request API.
|
1418
1421
|
"""
|
1419
1422
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1420
1423
|
required_arguments = ['shardedDatabaseId']
|
@@ -1429,7 +1432,8 @@ class ShardedDatabaseServiceClient(object):
|
|
1429
1432
|
"retry_strategy",
|
1430
1433
|
"opc_request_id",
|
1431
1434
|
"if_match",
|
1432
|
-
"opc_retry_token"
|
1435
|
+
"opc_retry_token",
|
1436
|
+
"ca_bundle_id"
|
1433
1437
|
]
|
1434
1438
|
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
1435
1439
|
if extra_kwargs:
|
@@ -1446,6 +1450,11 @@ class ShardedDatabaseServiceClient(object):
|
|
1446
1450
|
if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
|
1447
1451
|
raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
|
1448
1452
|
|
1453
|
+
query_params = {
|
1454
|
+
"caBundleId": kwargs.get("ca_bundle_id", missing)
|
1455
|
+
}
|
1456
|
+
query_params = {k: v for (k, v) in six.iteritems(query_params) if v is not missing and v is not None}
|
1457
|
+
|
1449
1458
|
header_params = {
|
1450
1459
|
"accept": "application/json",
|
1451
1460
|
"content-type": "application/json",
|
@@ -1472,6 +1481,7 @@ class ShardedDatabaseServiceClient(object):
|
|
1472
1481
|
resource_path=resource_path,
|
1473
1482
|
method=method,
|
1474
1483
|
path_params=path_params,
|
1484
|
+
query_params=query_params,
|
1475
1485
|
header_params=header_params,
|
1476
1486
|
allow_control_chars=kwargs.get('allow_control_chars'),
|
1477
1487
|
operation_name=operation_name,
|
@@ -1482,6 +1492,7 @@ class ShardedDatabaseServiceClient(object):
|
|
1482
1492
|
resource_path=resource_path,
|
1483
1493
|
method=method,
|
1484
1494
|
path_params=path_params,
|
1495
|
+
query_params=query_params,
|
1485
1496
|
header_params=header_params,
|
1486
1497
|
allow_control_chars=kwargs.get('allow_control_chars'),
|
1487
1498
|
operation_name=operation_name,
|
@@ -1532,7 +1543,7 @@ class ShardedDatabaseServiceClient(object):
|
|
1532
1543
|
:rtype: :class:`~oci.response.Response`
|
1533
1544
|
|
1534
1545
|
:example:
|
1535
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.128.
|
1546
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.128.1/globallydistributeddatabase/generate_wallet.py.html>`__ to see an example of how to use generate_wallet API.
|
1536
1547
|
"""
|
1537
1548
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1538
1549
|
required_arguments = ['shardedDatabaseId']
|
@@ -1618,6 +1629,13 @@ class ShardedDatabaseServiceClient(object):
|
|
1618
1629
|
:param str private_endpoint_id: (required)
|
1619
1630
|
Oracle Sharded Database PrivateEndpoint identifier
|
1620
1631
|
|
1632
|
+
:param str if_none_match: (optional)
|
1633
|
+
For conditional requests. In the GET call for a resource, set the
|
1634
|
+
`If-None-Match` header to the value of the ETag from a previous GET (or
|
1635
|
+
POST or PUT) response for that resource. The server will return with
|
1636
|
+
either a 304 Not Modified response if the resource has not changed, or a
|
1637
|
+
200 OK response with the updated representation.
|
1638
|
+
|
1621
1639
|
:param str opc_request_id: (optional)
|
1622
1640
|
The client request ID for tracing.
|
1623
1641
|
|
@@ -1637,7 +1655,7 @@ class ShardedDatabaseServiceClient(object):
|
|
1637
1655
|
:rtype: :class:`~oci.response.Response`
|
1638
1656
|
|
1639
1657
|
:example:
|
1640
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.128.
|
1658
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.128.1/globallydistributeddatabase/get_private_endpoint.py.html>`__ to see an example of how to use get_private_endpoint API.
|
1641
1659
|
"""
|
1642
1660
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1643
1661
|
required_arguments = ['privateEndpointId']
|
@@ -1650,6 +1668,7 @@ class ShardedDatabaseServiceClient(object):
|
|
1650
1668
|
expected_kwargs = [
|
1651
1669
|
"allow_control_chars",
|
1652
1670
|
"retry_strategy",
|
1671
|
+
"if_none_match",
|
1653
1672
|
"opc_request_id"
|
1654
1673
|
]
|
1655
1674
|
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
@@ -1670,6 +1689,7 @@ class ShardedDatabaseServiceClient(object):
|
|
1670
1689
|
header_params = {
|
1671
1690
|
"accept": "application/json",
|
1672
1691
|
"content-type": "application/json",
|
1692
|
+
"if-none-match": kwargs.get("if_none_match", missing),
|
1673
1693
|
"opc-request-id": kwargs.get("opc_request_id", missing)
|
1674
1694
|
}
|
1675
1695
|
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
@@ -1720,6 +1740,13 @@ class ShardedDatabaseServiceClient(object):
|
|
1720
1740
|
Comma separated names of argument corresponding to which metadata need to be retrived, namely VM_CLUSTER_INFO, ADDITIONAL_RESOURCE_INFO.
|
1721
1741
|
An example is metadata=VM_CLUSTER_INFO,ADDITIONAL_RESOURCE_INFO.
|
1722
1742
|
|
1743
|
+
:param str if_none_match: (optional)
|
1744
|
+
For conditional requests. In the GET call for a resource, set the
|
1745
|
+
`If-None-Match` header to the value of the ETag from a previous GET (or
|
1746
|
+
POST or PUT) response for that resource. The server will return with
|
1747
|
+
either a 304 Not Modified response if the resource has not changed, or a
|
1748
|
+
200 OK response with the updated representation.
|
1749
|
+
|
1723
1750
|
:param str opc_request_id: (optional)
|
1724
1751
|
The client request ID for tracing.
|
1725
1752
|
|
@@ -1739,7 +1766,7 @@ class ShardedDatabaseServiceClient(object):
|
|
1739
1766
|
:rtype: :class:`~oci.response.Response`
|
1740
1767
|
|
1741
1768
|
:example:
|
1742
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.128.
|
1769
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.128.1/globallydistributeddatabase/get_sharded_database.py.html>`__ to see an example of how to use get_sharded_database API.
|
1743
1770
|
"""
|
1744
1771
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1745
1772
|
required_arguments = ['shardedDatabaseId']
|
@@ -1753,6 +1780,7 @@ class ShardedDatabaseServiceClient(object):
|
|
1753
1780
|
"allow_control_chars",
|
1754
1781
|
"retry_strategy",
|
1755
1782
|
"metadata",
|
1783
|
+
"if_none_match",
|
1756
1784
|
"opc_request_id"
|
1757
1785
|
]
|
1758
1786
|
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
@@ -1778,6 +1806,7 @@ class ShardedDatabaseServiceClient(object):
|
|
1778
1806
|
header_params = {
|
1779
1807
|
"accept": "application/json",
|
1780
1808
|
"content-type": "application/json",
|
1809
|
+
"if-none-match": kwargs.get("if_none_match", missing),
|
1781
1810
|
"opc-request-id": kwargs.get("opc_request_id", missing)
|
1782
1811
|
}
|
1783
1812
|
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
@@ -1845,7 +1874,7 @@ class ShardedDatabaseServiceClient(object):
|
|
1845
1874
|
:rtype: :class:`~oci.response.Response`
|
1846
1875
|
|
1847
1876
|
:example:
|
1848
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.128.
|
1877
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.128.1/globallydistributeddatabase/get_work_request.py.html>`__ to see an example of how to use get_work_request API.
|
1849
1878
|
"""
|
1850
1879
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1851
1880
|
required_arguments = ['workRequestId']
|
@@ -1967,7 +1996,7 @@ class ShardedDatabaseServiceClient(object):
|
|
1967
1996
|
:rtype: :class:`~oci.response.Response`
|
1968
1997
|
|
1969
1998
|
:example:
|
1970
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.128.
|
1999
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.128.1/globallydistributeddatabase/list_private_endpoints.py.html>`__ to see an example of how to use list_private_endpoints API.
|
1971
2000
|
"""
|
1972
2001
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1973
2002
|
required_arguments = ['compartmentId']
|
@@ -2117,7 +2146,7 @@ class ShardedDatabaseServiceClient(object):
|
|
2117
2146
|
:rtype: :class:`~oci.response.Response`
|
2118
2147
|
|
2119
2148
|
:example:
|
2120
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.128.
|
2149
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.128.1/globallydistributeddatabase/list_sharded_databases.py.html>`__ to see an example of how to use list_sharded_databases API.
|
2121
2150
|
"""
|
2122
2151
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2123
2152
|
required_arguments = ['compartmentId']
|
@@ -2259,7 +2288,7 @@ class ShardedDatabaseServiceClient(object):
|
|
2259
2288
|
:rtype: :class:`~oci.response.Response`
|
2260
2289
|
|
2261
2290
|
:example:
|
2262
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.128.
|
2291
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.128.1/globallydistributeddatabase/list_work_request_errors.py.html>`__ to see an example of how to use list_work_request_errors API.
|
2263
2292
|
"""
|
2264
2293
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2265
2294
|
required_arguments = ['workRequestId']
|
@@ -2401,7 +2430,7 @@ class ShardedDatabaseServiceClient(object):
|
|
2401
2430
|
:rtype: :class:`~oci.response.Response`
|
2402
2431
|
|
2403
2432
|
:example:
|
2404
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.128.
|
2433
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.128.1/globallydistributeddatabase/list_work_request_logs.py.html>`__ to see an example of how to use list_work_request_logs API.
|
2405
2434
|
"""
|
2406
2435
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2407
2436
|
required_arguments = ['workRequestId']
|
@@ -2554,7 +2583,7 @@ class ShardedDatabaseServiceClient(object):
|
|
2554
2583
|
:rtype: :class:`~oci.response.Response`
|
2555
2584
|
|
2556
2585
|
:example:
|
2557
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.128.
|
2586
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.128.1/globallydistributeddatabase/list_work_requests.py.html>`__ to see an example of how to use list_work_requests API.
|
2558
2587
|
"""
|
2559
2588
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2560
2589
|
required_arguments = ['compartmentId']
|
@@ -2694,7 +2723,7 @@ class ShardedDatabaseServiceClient(object):
|
|
2694
2723
|
:rtype: :class:`~oci.response.Response`
|
2695
2724
|
|
2696
2725
|
:example:
|
2697
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.128.
|
2726
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.128.1/globallydistributeddatabase/patch_sharded_database.py.html>`__ to see an example of how to use patch_sharded_database API.
|
2698
2727
|
"""
|
2699
2728
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2700
2729
|
required_arguments = ['shardedDatabaseId']
|
@@ -2804,7 +2833,7 @@ class ShardedDatabaseServiceClient(object):
|
|
2804
2833
|
:rtype: :class:`~oci.response.Response`
|
2805
2834
|
|
2806
2835
|
:example:
|
2807
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.128.
|
2836
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.128.1/globallydistributeddatabase/prevalidate_sharded_database.py.html>`__ to see an example of how to use prevalidate_sharded_database API.
|
2808
2837
|
"""
|
2809
2838
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2810
2839
|
required_arguments = ['compartmentId']
|
@@ -2875,6 +2904,121 @@ class ShardedDatabaseServiceClient(object):
|
|
2875
2904
|
api_reference_link=api_reference_link,
|
2876
2905
|
required_arguments=required_arguments)
|
2877
2906
|
|
2907
|
+
def reinstate_proxy_instance(self, private_endpoint_id, **kwargs):
|
2908
|
+
"""
|
2909
|
+
API to reinstate the proxy instances associated with the private endpoint.
|
2910
|
+
|
2911
|
+
|
2912
|
+
:param str private_endpoint_id: (required)
|
2913
|
+
Oracle Sharded Database PrivateEndpoint identifier
|
2914
|
+
|
2915
|
+
:param str opc_request_id: (optional)
|
2916
|
+
The client request ID for tracing.
|
2917
|
+
|
2918
|
+
:param str if_match: (optional)
|
2919
|
+
For optimistic concurrency control. In the PUT or DELETE call
|
2920
|
+
for a resource, set the `if-match` parameter to the value of the
|
2921
|
+
etag from a previous GET or POST response for that resource.
|
2922
|
+
The resource will be updated or deleted only if the etag you
|
2923
|
+
provide matches the resource's current etag value.
|
2924
|
+
|
2925
|
+
:param str opc_retry_token: (optional)
|
2926
|
+
A token that uniquely identifies a request so it can be retried in case of a timeout or
|
2927
|
+
server error without risk of executing that same action again. Retry tokens expire after 24
|
2928
|
+
hours, but can be invalidated before then due to conflicting operations. For example, if a resource
|
2929
|
+
has been deleted and purged from the system, then a retry of the original creation request
|
2930
|
+
might be rejected.
|
2931
|
+
|
2932
|
+
:param obj retry_strategy: (optional)
|
2933
|
+
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
2934
|
+
|
2935
|
+
This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
|
2936
|
+
The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
|
2937
|
+
|
2938
|
+
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
|
2939
|
+
|
2940
|
+
:param bool allow_control_chars: (optional)
|
2941
|
+
allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
|
2942
|
+
By default, the response will not allow control characters in strings
|
2943
|
+
|
2944
|
+
:return: A :class:`~oci.response.Response` object with data of type None
|
2945
|
+
:rtype: :class:`~oci.response.Response`
|
2946
|
+
|
2947
|
+
:example:
|
2948
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.128.1/globallydistributeddatabase/reinstate_proxy_instance.py.html>`__ to see an example of how to use reinstate_proxy_instance API.
|
2949
|
+
"""
|
2950
|
+
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2951
|
+
required_arguments = ['privateEndpointId']
|
2952
|
+
resource_path = "/privateEndpoints/{privateEndpointId}/actions/reinstateProxyInstance"
|
2953
|
+
method = "POST"
|
2954
|
+
operation_name = "reinstate_proxy_instance"
|
2955
|
+
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/globally-distributed-autonomous-database/20230301/PrivateEndpoint/ReinstateProxyInstance"
|
2956
|
+
|
2957
|
+
# Don't accept unknown kwargs
|
2958
|
+
expected_kwargs = [
|
2959
|
+
"allow_control_chars",
|
2960
|
+
"retry_strategy",
|
2961
|
+
"opc_request_id",
|
2962
|
+
"if_match",
|
2963
|
+
"opc_retry_token"
|
2964
|
+
]
|
2965
|
+
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
2966
|
+
if extra_kwargs:
|
2967
|
+
raise ValueError(
|
2968
|
+
f"reinstate_proxy_instance got unknown kwargs: {extra_kwargs!r}")
|
2969
|
+
|
2970
|
+
path_params = {
|
2971
|
+
"privateEndpointId": private_endpoint_id
|
2972
|
+
}
|
2973
|
+
|
2974
|
+
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
|
2975
|
+
|
2976
|
+
for (k, v) in six.iteritems(path_params):
|
2977
|
+
if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
|
2978
|
+
raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
|
2979
|
+
|
2980
|
+
header_params = {
|
2981
|
+
"accept": "application/json",
|
2982
|
+
"content-type": "application/json",
|
2983
|
+
"opc-request-id": kwargs.get("opc_request_id", missing),
|
2984
|
+
"if-match": kwargs.get("if_match", missing),
|
2985
|
+
"opc-retry-token": kwargs.get("opc_retry_token", missing)
|
2986
|
+
}
|
2987
|
+
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
2988
|
+
|
2989
|
+
retry_strategy = self.base_client.get_preferred_retry_strategy(
|
2990
|
+
operation_retry_strategy=kwargs.get('retry_strategy'),
|
2991
|
+
client_retry_strategy=self.retry_strategy
|
2992
|
+
)
|
2993
|
+
if retry_strategy is None:
|
2994
|
+
retry_strategy = retry.DEFAULT_RETRY_STRATEGY
|
2995
|
+
|
2996
|
+
if retry_strategy:
|
2997
|
+
if not isinstance(retry_strategy, retry.NoneRetryStrategy):
|
2998
|
+
self.base_client.add_opc_retry_token_if_needed(header_params)
|
2999
|
+
self.base_client.add_opc_client_retries_header(header_params)
|
3000
|
+
retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
|
3001
|
+
return retry_strategy.make_retrying_call(
|
3002
|
+
self.base_client.call_api,
|
3003
|
+
resource_path=resource_path,
|
3004
|
+
method=method,
|
3005
|
+
path_params=path_params,
|
3006
|
+
header_params=header_params,
|
3007
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
3008
|
+
operation_name=operation_name,
|
3009
|
+
api_reference_link=api_reference_link,
|
3010
|
+
required_arguments=required_arguments)
|
3011
|
+
else:
|
3012
|
+
return self.base_client.call_api(
|
3013
|
+
resource_path=resource_path,
|
3014
|
+
method=method,
|
3015
|
+
path_params=path_params,
|
3016
|
+
header_params=header_params,
|
3017
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
3018
|
+
operation_name=operation_name,
|
3019
|
+
api_reference_link=api_reference_link,
|
3020
|
+
required_arguments=required_arguments)
|
3021
|
+
|
2878
3022
|
def start_sharded_database(self, sharded_database_id, **kwargs):
|
2879
3023
|
"""
|
2880
3024
|
Start the shards, catalog and GSMs of Sharded Database.
|
@@ -2916,7 +3060,7 @@ class ShardedDatabaseServiceClient(object):
|
|
2916
3060
|
:rtype: :class:`~oci.response.Response`
|
2917
3061
|
|
2918
3062
|
:example:
|
2919
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.128.
|
3063
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.128.1/globallydistributeddatabase/start_sharded_database.py.html>`__ to see an example of how to use start_sharded_database API.
|
2920
3064
|
"""
|
2921
3065
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2922
3066
|
required_arguments = ['shardedDatabaseId']
|
@@ -3031,7 +3175,7 @@ class ShardedDatabaseServiceClient(object):
|
|
3031
3175
|
:rtype: :class:`~oci.response.Response`
|
3032
3176
|
|
3033
3177
|
:example:
|
3034
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.128.
|
3178
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.128.1/globallydistributeddatabase/stop_sharded_database.py.html>`__ to see an example of how to use stop_sharded_database API.
|
3035
3179
|
"""
|
3036
3180
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
3037
3181
|
required_arguments = ['shardedDatabaseId']
|
@@ -3149,7 +3293,7 @@ class ShardedDatabaseServiceClient(object):
|
|
3149
3293
|
:rtype: :class:`~oci.response.Response`
|
3150
3294
|
|
3151
3295
|
:example:
|
3152
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.128.
|
3296
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.128.1/globallydistributeddatabase/update_private_endpoint.py.html>`__ to see an example of how to use update_private_endpoint API.
|
3153
3297
|
"""
|
3154
3298
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
3155
3299
|
required_arguments = ['privateEndpointId']
|
@@ -3264,7 +3408,7 @@ class ShardedDatabaseServiceClient(object):
|
|
3264
3408
|
:rtype: :class:`~oci.response.Response`
|
3265
3409
|
|
3266
3410
|
:example:
|
3267
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.128.
|
3411
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.128.1/globallydistributeddatabase/update_sharded_database.py.html>`__ to see an example of how to use update_sharded_database API.
|
3268
3412
|
"""
|
3269
3413
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
3270
3414
|
required_arguments = ['shardedDatabaseId']
|
@@ -3386,7 +3530,7 @@ class ShardedDatabaseServiceClient(object):
|
|
3386
3530
|
:rtype: :class:`~oci.response.Response`
|
3387
3531
|
|
3388
3532
|
:example:
|
3389
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.128.
|
3533
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.128.1/globallydistributeddatabase/upload_signed_certificate_and_generate_wallet.py.html>`__ to see an example of how to use upload_signed_certificate_and_generate_wallet API.
|
3390
3534
|
"""
|
3391
3535
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
3392
3536
|
required_arguments = ['shardedDatabaseId']
|
@@ -3512,7 +3656,7 @@ class ShardedDatabaseServiceClient(object):
|
|
3512
3656
|
:rtype: :class:`~oci.response.Response`
|
3513
3657
|
|
3514
3658
|
:example:
|
3515
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.128.
|
3659
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.128.1/globallydistributeddatabase/validate_network.py.html>`__ to see an example of how to use validate_network API.
|
3516
3660
|
"""
|
3517
3661
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
3518
3662
|
required_arguments = ['shardedDatabaseId']
|
@@ -443,6 +443,45 @@ class ShardedDatabaseServiceClientCompositeOperations(object):
|
|
443
443
|
except Exception as e:
|
444
444
|
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
445
445
|
|
446
|
+
def reinstate_proxy_instance_and_wait_for_state(self, private_endpoint_id, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
|
447
|
+
"""
|
448
|
+
Calls :py:func:`~oci.globally_distributed_database.ShardedDatabaseServiceClient.reinstate_proxy_instance` and waits for the :py:class:`~oci.globally_distributed_database.models.WorkRequest`
|
449
|
+
to enter the given state(s).
|
450
|
+
|
451
|
+
:param str private_endpoint_id: (required)
|
452
|
+
Oracle Sharded Database PrivateEndpoint identifier
|
453
|
+
|
454
|
+
:param list[str] wait_for_states:
|
455
|
+
An array of states to wait on. These should be valid values for :py:attr:`~oci.globally_distributed_database.models.WorkRequest.status`
|
456
|
+
|
457
|
+
:param dict operation_kwargs:
|
458
|
+
A dictionary of keyword arguments to pass to :py:func:`~oci.globally_distributed_database.ShardedDatabaseServiceClient.reinstate_proxy_instance`
|
459
|
+
|
460
|
+
:param dict waiter_kwargs:
|
461
|
+
A dictionary of keyword arguments to pass to the :py:func:`oci.wait_until` function. For example, you could pass ``max_interval_seconds`` or ``max_interval_seconds``
|
462
|
+
as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
|
463
|
+
"""
|
464
|
+
operation_result = self.client.reinstate_proxy_instance(private_endpoint_id, **operation_kwargs)
|
465
|
+
if not wait_for_states:
|
466
|
+
return operation_result
|
467
|
+
lowered_wait_for_states = [w.lower() for w in wait_for_states]
|
468
|
+
if 'opc-work-request-id' not in operation_result.headers:
|
469
|
+
return operation_result
|
470
|
+
wait_for_resource_id = operation_result.headers['opc-work-request-id']
|
471
|
+
|
472
|
+
try:
|
473
|
+
waiter_result = oci.wait_until(
|
474
|
+
self.client,
|
475
|
+
self.client.get_work_request(wait_for_resource_id),
|
476
|
+
evaluate_response=lambda r: getattr(r.data, 'status') and getattr(r.data, 'status').lower() in lowered_wait_for_states,
|
477
|
+
**waiter_kwargs
|
478
|
+
)
|
479
|
+
result_to_return = waiter_result
|
480
|
+
|
481
|
+
return result_to_return
|
482
|
+
except Exception as e:
|
483
|
+
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
484
|
+
|
446
485
|
def start_sharded_database_and_wait_for_state(self, sharded_database_id, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
|
447
486
|
"""
|
448
487
|
Calls :py:func:`~oci.globally_distributed_database.ShardedDatabaseServiceClient.start_sharded_database` and waits for the :py:class:`~oci.globally_distributed_database.models.WorkRequest`
|