oci 2.149.2__py3-none-any.whl → 2.150.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 +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 +12 -12
- 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 +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 +117 -117
- oci/core/compute_management_client.py +32 -32
- oci/core/virtual_network_client.py +258 -258
- 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 +317 -317
- oci/data_science/data_science_client.py +145 -145
- oci/database/database_client.py +414 -414
- oci/database/models/autonomous_container_database.py +31 -0
- oci/database/models/autonomous_container_database_summary.py +31 -0
- oci/database/models/create_autonomous_container_database_details.py +31 -0
- oci/database/models/update_autonomous_container_database_details.py +31 -0
- oci/database_management/db_management_client.py +228 -228
- oci/database_management/diagnosability_client.py +4 -4
- oci/database_management/managed_my_sql_databases_client.py +9 -9
- 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/dblm/db_life_cycle_management_client.py +12 -12
- 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 +74 -74
- 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 +8 -3
- 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 +38 -38
- oci/generative_ai_agent_runtime/generative_ai_agent_runtime_client.py +6 -6
- oci/generative_ai_inference/generative_ai_inference_client.py +102 -5
- oci/generative_ai_inference/models/__init__.py +26 -0
- oci/generative_ai_inference/models/apply_guardrails_details.py +124 -0
- oci/generative_ai_inference/models/apply_guardrails_result.py +66 -0
- oci/generative_ai_inference/models/assistant_message.py +3 -0
- oci/generative_ai_inference/models/category_score.py +101 -0
- oci/generative_ai_inference/models/cohere_chat_request.py +53 -2
- oci/generative_ai_inference/models/content_moderation_configuration.py +70 -0
- oci/generative_ai_inference/models/content_moderation_result.py +70 -0
- oci/generative_ai_inference/models/guardrail_configs.py +120 -0
- oci/generative_ai_inference/models/guardrails_input.py +99 -0
- oci/generative_ai_inference/models/guardrails_results.py +124 -0
- oci/generative_ai_inference/models/guardrails_text_input.py +111 -0
- oci/generative_ai_inference/models/personally_identifiable_information_configuration.py +70 -0
- oci/generative_ai_inference/models/personally_identifiable_information_result.py +194 -0
- oci/generative_ai_inference/models/prompt_injection_configuration.py +39 -0
- oci/generative_ai_inference/models/prompt_injection_protection_result.py +70 -0
- 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 +751 -113
- oci/golden_gate/golden_gate_client_composite_operations.py +170 -0
- oci/golden_gate/models/__init__.py +18 -0
- oci/golden_gate/models/add_deployment_local_peer_details.py +101 -0
- oci/golden_gate/models/collect_pipeline_diagnostic_details.py +132 -0
- oci/golden_gate/models/create_deployment_details.py +132 -4
- oci/golden_gate/models/deployment.py +212 -0
- oci/golden_gate/models/deployment_peer_collection.py +70 -0
- oci/golden_gate/models/deployment_peer_summary.py +464 -0
- oci/golden_gate/models/deployment_placement_details.py +103 -0
- oci/golden_gate/models/deployment_placement_info.py +101 -0
- oci/golden_gate/models/deployment_type_summary.py +69 -2
- oci/golden_gate/models/pipeline.py +27 -0
- oci/golden_gate/models/pipeline_diagnostic_data.py +220 -0
- oci/golden_gate/models/process_options.py +49 -2
- oci/golden_gate/models/remove_deployment_local_peer_details.py +101 -0
- oci/golden_gate/models/switchover_deployment_peer_details.py +101 -0
- oci/golden_gate/models/update_deployment_details.py +31 -0
- oci/golden_gate/models/work_request.py +11 -3
- oci/golden_gate/models/zero_etl_pipeline.py +7 -0
- 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 +79 -79
- 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/key_management/models/__init__.py +4 -0
- oci/key_management/models/create_vault_replica_details.py +29 -2
- oci/key_management/models/replica_external_vault_metadata.py +111 -0
- oci/key_management/models/replica_vault_metadata.py +101 -0
- 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/lustre_file_storage/lustre_file_storage_client.py +22 -22
- 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/mngdmac/mac_device_client.py +3 -3
- oci/mngdmac/mac_order_client.py +11 -11
- 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/network_load_balancer_client.py +35 -35
- 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/opensearch/opensearch_cluster_pipeline_client.py +5 -5
- 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 +181 -181
- 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 +13 -13
- oci/os_management_hub/managed_instance_client.py +33 -33
- oci/os_management_hub/managed_instance_group_client.py +26 -26
- oci/os_management_hub/management_station_client.py +10 -10
- oci/os_management_hub/onboarding_client.py +13 -13
- 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 +33 -33
- oci/os_management_hub/work_request_client.py +5 -5
- 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 +34 -34
- 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 +4 -4
- oci/sch/models/__init__.py +32 -0
- oci/sch/models/function_task_details_response.py +158 -0
- oci/sch/models/functions_target_details_response.py +192 -0
- oci/sch/models/log_rule_task_details_response.py +91 -0
- oci/sch/models/logging_analytics_target_details_response.py +130 -0
- oci/sch/models/logging_source_details_response.py +91 -0
- oci/sch/models/monitoring_source_details_response.py +91 -0
- oci/sch/models/monitoring_target_details_response.py +192 -0
- oci/sch/models/notifications_target_details_response.py +128 -0
- oci/sch/models/object_storage_target_details_response.py +219 -0
- oci/sch/models/plugin_source_details_response.py +128 -0
- oci/sch/models/private_endpoint_metadata.py +101 -0
- oci/sch/models/service_connector.py +19 -15
- oci/sch/models/service_connector_summary.py +7 -3
- oci/sch/models/source_details.py +5 -5
- oci/sch/models/source_details_response.py +158 -0
- oci/sch/models/streaming_source_details_response.py +121 -0
- oci/sch/models/streaming_target_details_response.py +94 -0
- oci/sch/models/target_details.py +5 -5
- oci/sch/models/target_details_response.py +174 -0
- oci/sch/models/task_details.py +5 -5
- oci/sch/models/task_details_response.py +142 -0
- oci/sch/service_connector_client.py +14 -14
- 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 +87 -87
- 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.149.2.dist-info → oci-2.150.1.dist-info}/METADATA +1 -1
- {oci-2.149.2.dist-info → oci-2.150.1.dist-info}/RECORD +328 -288
- {oci-2.149.2.dist-info → oci-2.150.1.dist-info}/LICENSE.txt +0 -0
- {oci-2.149.2.dist-info → oci-2.150.1.dist-info}/THIRD_PARTY_LICENSES.txt +0 -0
- {oci-2.149.2.dist-info → oci-2.150.1.dist-info}/WHEEL +0 -0
- {oci-2.149.2.dist-info → oci-2.150.1.dist-info}/top_level.txt +0 -0
@@ -154,7 +154,7 @@ class GoldenGateClient(object):
|
|
154
154
|
:rtype: :class:`~oci.response.Response`
|
155
155
|
|
156
156
|
:example:
|
157
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
157
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.1/goldengate/add_connection_lock.py.html>`__ to see an example of how to use add_connection_lock API.
|
158
158
|
"""
|
159
159
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
160
160
|
required_arguments = ['connectionId']
|
@@ -265,7 +265,7 @@ class GoldenGateClient(object):
|
|
265
265
|
:rtype: :class:`~oci.response.Response`
|
266
266
|
|
267
267
|
:example:
|
268
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
268
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.1/goldengate/add_deployment_backup_lock.py.html>`__ to see an example of how to use add_deployment_backup_lock API.
|
269
269
|
"""
|
270
270
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
271
271
|
required_arguments = ['deploymentBackupId']
|
@@ -340,6 +340,124 @@ class GoldenGateClient(object):
|
|
340
340
|
api_reference_link=api_reference_link,
|
341
341
|
required_arguments=required_arguments)
|
342
342
|
|
343
|
+
def add_deployment_local_peer(self, deployment_id, add_deployment_local_peer_details, **kwargs):
|
344
|
+
"""
|
345
|
+
Adds a new local peer to the deployment, this will add the given placement to deployment placement attribute. When provided, If-Match is checked against ETag values of the resource.
|
346
|
+
|
347
|
+
|
348
|
+
:param str deployment_id: (required)
|
349
|
+
A unique Deployment identifier.
|
350
|
+
|
351
|
+
:param oci.golden_gate.models.AddDeploymentLocalPeerDetails add_deployment_local_peer_details: (required)
|
352
|
+
Metadata to add a local deployment
|
353
|
+
|
354
|
+
:param str if_match: (optional)
|
355
|
+
For optimistic concurrency control. In the PUT or DELETE call for a resource, set the
|
356
|
+
`if-match` parameter to the value of the etag from a previous GET or POST response for that
|
357
|
+
resource. The resource is updated or deleted only if the etag you provide matches the
|
358
|
+
resource's current etag value.
|
359
|
+
|
360
|
+
:param str opc_request_id: (optional)
|
361
|
+
The client request ID for tracing.
|
362
|
+
|
363
|
+
:param str opc_retry_token: (optional)
|
364
|
+
A token that uniquely identifies a request so it can be retried, in case of a timeout or server error,
|
365
|
+
without the risk of executing that same action again. Retry tokens expire after 24 hours but can be
|
366
|
+
invalidated before then due to conflicting operations. For example, if a resource was deleted and purged
|
367
|
+
from the system, then a retry of the original creation request is rejected.
|
368
|
+
|
369
|
+
:param obj retry_strategy: (optional)
|
370
|
+
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
371
|
+
|
372
|
+
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.
|
373
|
+
The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
|
374
|
+
|
375
|
+
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
|
376
|
+
|
377
|
+
:param bool allow_control_chars: (optional)
|
378
|
+
allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
|
379
|
+
By default, the response will not allow control characters in strings
|
380
|
+
|
381
|
+
:return: A :class:`~oci.response.Response` object with data of type None
|
382
|
+
:rtype: :class:`~oci.response.Response`
|
383
|
+
|
384
|
+
:example:
|
385
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.1/goldengate/add_deployment_local_peer.py.html>`__ to see an example of how to use add_deployment_local_peer API.
|
386
|
+
"""
|
387
|
+
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
388
|
+
required_arguments = ['deploymentId']
|
389
|
+
resource_path = "/deployments/{deploymentId}/actions/addLocalPeer"
|
390
|
+
method = "POST"
|
391
|
+
operation_name = "add_deployment_local_peer"
|
392
|
+
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/goldengate/20200407/Deployment/AddDeploymentLocalPeer"
|
393
|
+
|
394
|
+
# Don't accept unknown kwargs
|
395
|
+
expected_kwargs = [
|
396
|
+
"allow_control_chars",
|
397
|
+
"retry_strategy",
|
398
|
+
"if_match",
|
399
|
+
"opc_request_id",
|
400
|
+
"opc_retry_token"
|
401
|
+
]
|
402
|
+
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
403
|
+
if extra_kwargs:
|
404
|
+
raise ValueError(
|
405
|
+
f"add_deployment_local_peer got unknown kwargs: {extra_kwargs!r}")
|
406
|
+
|
407
|
+
path_params = {
|
408
|
+
"deploymentId": deployment_id
|
409
|
+
}
|
410
|
+
|
411
|
+
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
|
412
|
+
|
413
|
+
for (k, v) in six.iteritems(path_params):
|
414
|
+
if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
|
415
|
+
raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
|
416
|
+
|
417
|
+
header_params = {
|
418
|
+
"accept": "application/json",
|
419
|
+
"content-type": "application/json",
|
420
|
+
"if-match": kwargs.get("if_match", missing),
|
421
|
+
"opc-request-id": kwargs.get("opc_request_id", missing),
|
422
|
+
"opc-retry-token": kwargs.get("opc_retry_token", missing)
|
423
|
+
}
|
424
|
+
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
425
|
+
|
426
|
+
retry_strategy = self.base_client.get_preferred_retry_strategy(
|
427
|
+
operation_retry_strategy=kwargs.get('retry_strategy'),
|
428
|
+
client_retry_strategy=self.retry_strategy
|
429
|
+
)
|
430
|
+
if retry_strategy is None:
|
431
|
+
retry_strategy = retry.DEFAULT_RETRY_STRATEGY
|
432
|
+
|
433
|
+
if retry_strategy:
|
434
|
+
if not isinstance(retry_strategy, retry.NoneRetryStrategy):
|
435
|
+
self.base_client.add_opc_retry_token_if_needed(header_params)
|
436
|
+
self.base_client.add_opc_client_retries_header(header_params)
|
437
|
+
retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
|
438
|
+
return retry_strategy.make_retrying_call(
|
439
|
+
self.base_client.call_api,
|
440
|
+
resource_path=resource_path,
|
441
|
+
method=method,
|
442
|
+
path_params=path_params,
|
443
|
+
header_params=header_params,
|
444
|
+
body=add_deployment_local_peer_details,
|
445
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
446
|
+
operation_name=operation_name,
|
447
|
+
api_reference_link=api_reference_link,
|
448
|
+
required_arguments=required_arguments)
|
449
|
+
else:
|
450
|
+
return self.base_client.call_api(
|
451
|
+
resource_path=resource_path,
|
452
|
+
method=method,
|
453
|
+
path_params=path_params,
|
454
|
+
header_params=header_params,
|
455
|
+
body=add_deployment_local_peer_details,
|
456
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
457
|
+
operation_name=operation_name,
|
458
|
+
api_reference_link=api_reference_link,
|
459
|
+
required_arguments=required_arguments)
|
460
|
+
|
343
461
|
def add_deployment_lock(self, deployment_id, add_resource_lock_details, **kwargs):
|
344
462
|
"""
|
345
463
|
Adds a lock to a Deployment resource.
|
@@ -376,7 +494,7 @@ class GoldenGateClient(object):
|
|
376
494
|
:rtype: :class:`~oci.response.Response`
|
377
495
|
|
378
496
|
:example:
|
379
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
497
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.1/goldengate/add_deployment_lock.py.html>`__ to see an example of how to use add_deployment_lock API.
|
380
498
|
"""
|
381
499
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
382
500
|
required_arguments = ['deploymentId']
|
@@ -496,7 +614,7 @@ class GoldenGateClient(object):
|
|
496
614
|
:rtype: :class:`~oci.response.Response`
|
497
615
|
|
498
616
|
:example:
|
499
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
617
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.1/goldengate/cancel_deployment_backup.py.html>`__ to see an example of how to use cancel_deployment_backup API.
|
500
618
|
"""
|
501
619
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
502
620
|
required_arguments = ['deploymentBackupId']
|
@@ -622,7 +740,7 @@ class GoldenGateClient(object):
|
|
622
740
|
:rtype: :class:`~oci.response.Response`
|
623
741
|
|
624
742
|
:example:
|
625
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
743
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.1/goldengate/cancel_deployment_upgrade.py.html>`__ to see an example of how to use cancel_deployment_upgrade API.
|
626
744
|
"""
|
627
745
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
628
746
|
required_arguments = ['deploymentUpgradeId']
|
@@ -742,7 +860,7 @@ class GoldenGateClient(object):
|
|
742
860
|
:rtype: :class:`~oci.response.Response`
|
743
861
|
|
744
862
|
:example:
|
745
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
863
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.1/goldengate/cancel_snooze_deployment_upgrade.py.html>`__ to see an example of how to use cancel_snooze_deployment_upgrade API.
|
746
864
|
"""
|
747
865
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
748
866
|
required_arguments = ['deploymentUpgradeId']
|
@@ -864,7 +982,7 @@ class GoldenGateClient(object):
|
|
864
982
|
:rtype: :class:`~oci.response.Response`
|
865
983
|
|
866
984
|
:example:
|
867
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
985
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.1/goldengate/change_connection_compartment.py.html>`__ to see an example of how to use change_connection_compartment API.
|
868
986
|
"""
|
869
987
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
870
988
|
required_arguments = ['connectionId']
|
@@ -993,7 +1111,7 @@ class GoldenGateClient(object):
|
|
993
1111
|
:rtype: :class:`~oci.response.Response`
|
994
1112
|
|
995
1113
|
:example:
|
996
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1114
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.1/goldengate/change_database_registration_compartment.py.html>`__ to see an example of how to use change_database_registration_compartment API.
|
997
1115
|
"""
|
998
1116
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
999
1117
|
required_arguments = ['databaseRegistrationId']
|
@@ -1119,7 +1237,7 @@ class GoldenGateClient(object):
|
|
1119
1237
|
:rtype: :class:`~oci.response.Response`
|
1120
1238
|
|
1121
1239
|
:example:
|
1122
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1240
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.1/goldengate/change_deployment_backup_compartment.py.html>`__ to see an example of how to use change_deployment_backup_compartment API.
|
1123
1241
|
"""
|
1124
1242
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1125
1243
|
required_arguments = ['deploymentBackupId']
|
@@ -1253,7 +1371,7 @@ class GoldenGateClient(object):
|
|
1253
1371
|
:rtype: :class:`~oci.response.Response`
|
1254
1372
|
|
1255
1373
|
:example:
|
1256
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1374
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.1/goldengate/change_deployment_compartment.py.html>`__ to see an example of how to use change_deployment_compartment API.
|
1257
1375
|
"""
|
1258
1376
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1259
1377
|
required_arguments = ['deploymentId']
|
@@ -1389,7 +1507,7 @@ class GoldenGateClient(object):
|
|
1389
1507
|
:rtype: :class:`~oci.response.Response`
|
1390
1508
|
|
1391
1509
|
:example:
|
1392
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1510
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.1/goldengate/change_pipeline_compartment.py.html>`__ to see an example of how to use change_pipeline_compartment API.
|
1393
1511
|
"""
|
1394
1512
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1395
1513
|
required_arguments = ['pipelineId']
|
@@ -1515,7 +1633,7 @@ class GoldenGateClient(object):
|
|
1515
1633
|
:rtype: :class:`~oci.response.Response`
|
1516
1634
|
|
1517
1635
|
:example:
|
1518
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1636
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.1/goldengate/collect_deployment_diagnostic.py.html>`__ to see an example of how to use collect_deployment_diagnostic API.
|
1519
1637
|
"""
|
1520
1638
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1521
1639
|
required_arguments = ['deploymentId']
|
@@ -1591,6 +1709,126 @@ class GoldenGateClient(object):
|
|
1591
1709
|
api_reference_link=api_reference_link,
|
1592
1710
|
required_arguments=required_arguments)
|
1593
1711
|
|
1712
|
+
def collect_pipeline_diagnostic(self, pipeline_id, collect_pipeline_diagnostic_details, **kwargs):
|
1713
|
+
"""
|
1714
|
+
Collects diagnostics for the pipeline
|
1715
|
+
|
1716
|
+
|
1717
|
+
:param str pipeline_id: (required)
|
1718
|
+
The `OCID`__ of the pipeline created.
|
1719
|
+
|
1720
|
+
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
|
1721
|
+
|
1722
|
+
:param oci.golden_gate.models.CollectPipelineDiagnosticDetails collect_pipeline_diagnostic_details: (required)
|
1723
|
+
Details for collecting the diagnostic. It includes the object storage information where the diagnostic will be uploaded.
|
1724
|
+
|
1725
|
+
:param str if_match: (optional)
|
1726
|
+
For optimistic concurrency control. In the PUT or DELETE call for a resource, set the
|
1727
|
+
`if-match` parameter to the value of the etag from a previous GET or POST response for that
|
1728
|
+
resource. The resource is updated or deleted only if the etag you provide matches the
|
1729
|
+
resource's current etag value.
|
1730
|
+
|
1731
|
+
:param str opc_request_id: (optional)
|
1732
|
+
The client request ID for tracing.
|
1733
|
+
|
1734
|
+
:param str opc_retry_token: (optional)
|
1735
|
+
A token that uniquely identifies a request so it can be retried, in case of a timeout or server error,
|
1736
|
+
without the risk of executing that same action again. Retry tokens expire after 24 hours but can be
|
1737
|
+
invalidated before then due to conflicting operations. For example, if a resource was deleted and purged
|
1738
|
+
from the system, then a retry of the original creation request is rejected.
|
1739
|
+
|
1740
|
+
:param obj retry_strategy: (optional)
|
1741
|
+
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
1742
|
+
|
1743
|
+
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.
|
1744
|
+
The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
|
1745
|
+
|
1746
|
+
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
|
1747
|
+
|
1748
|
+
:param bool allow_control_chars: (optional)
|
1749
|
+
allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
|
1750
|
+
By default, the response will not allow control characters in strings
|
1751
|
+
|
1752
|
+
:return: A :class:`~oci.response.Response` object with data of type None
|
1753
|
+
:rtype: :class:`~oci.response.Response`
|
1754
|
+
|
1755
|
+
:example:
|
1756
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.1/goldengate/collect_pipeline_diagnostic.py.html>`__ to see an example of how to use collect_pipeline_diagnostic API.
|
1757
|
+
"""
|
1758
|
+
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1759
|
+
required_arguments = ['pipelineId']
|
1760
|
+
resource_path = "/pipelines/{pipelineId}/actions/collectDiagnostics"
|
1761
|
+
method = "POST"
|
1762
|
+
operation_name = "collect_pipeline_diagnostic"
|
1763
|
+
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/goldengate/20200407/Pipeline/CollectPipelineDiagnostic"
|
1764
|
+
|
1765
|
+
# Don't accept unknown kwargs
|
1766
|
+
expected_kwargs = [
|
1767
|
+
"allow_control_chars",
|
1768
|
+
"retry_strategy",
|
1769
|
+
"if_match",
|
1770
|
+
"opc_request_id",
|
1771
|
+
"opc_retry_token"
|
1772
|
+
]
|
1773
|
+
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
1774
|
+
if extra_kwargs:
|
1775
|
+
raise ValueError(
|
1776
|
+
f"collect_pipeline_diagnostic got unknown kwargs: {extra_kwargs!r}")
|
1777
|
+
|
1778
|
+
path_params = {
|
1779
|
+
"pipelineId": pipeline_id
|
1780
|
+
}
|
1781
|
+
|
1782
|
+
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
|
1783
|
+
|
1784
|
+
for (k, v) in six.iteritems(path_params):
|
1785
|
+
if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
|
1786
|
+
raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
|
1787
|
+
|
1788
|
+
header_params = {
|
1789
|
+
"accept": "application/json",
|
1790
|
+
"content-type": "application/json",
|
1791
|
+
"if-match": kwargs.get("if_match", missing),
|
1792
|
+
"opc-request-id": kwargs.get("opc_request_id", missing),
|
1793
|
+
"opc-retry-token": kwargs.get("opc_retry_token", missing)
|
1794
|
+
}
|
1795
|
+
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
1796
|
+
|
1797
|
+
retry_strategy = self.base_client.get_preferred_retry_strategy(
|
1798
|
+
operation_retry_strategy=kwargs.get('retry_strategy'),
|
1799
|
+
client_retry_strategy=self.retry_strategy
|
1800
|
+
)
|
1801
|
+
if retry_strategy is None:
|
1802
|
+
retry_strategy = retry.DEFAULT_RETRY_STRATEGY
|
1803
|
+
|
1804
|
+
if retry_strategy:
|
1805
|
+
if not isinstance(retry_strategy, retry.NoneRetryStrategy):
|
1806
|
+
self.base_client.add_opc_retry_token_if_needed(header_params)
|
1807
|
+
self.base_client.add_opc_client_retries_header(header_params)
|
1808
|
+
retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
|
1809
|
+
return retry_strategy.make_retrying_call(
|
1810
|
+
self.base_client.call_api,
|
1811
|
+
resource_path=resource_path,
|
1812
|
+
method=method,
|
1813
|
+
path_params=path_params,
|
1814
|
+
header_params=header_params,
|
1815
|
+
body=collect_pipeline_diagnostic_details,
|
1816
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
1817
|
+
operation_name=operation_name,
|
1818
|
+
api_reference_link=api_reference_link,
|
1819
|
+
required_arguments=required_arguments)
|
1820
|
+
else:
|
1821
|
+
return self.base_client.call_api(
|
1822
|
+
resource_path=resource_path,
|
1823
|
+
method=method,
|
1824
|
+
path_params=path_params,
|
1825
|
+
header_params=header_params,
|
1826
|
+
body=collect_pipeline_diagnostic_details,
|
1827
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
1828
|
+
operation_name=operation_name,
|
1829
|
+
api_reference_link=api_reference_link,
|
1830
|
+
required_arguments=required_arguments)
|
1831
|
+
|
1594
1832
|
def copy_deployment_backup(self, deployment_backup_id, copy_deployment_backup_details, **kwargs):
|
1595
1833
|
"""
|
1596
1834
|
Creates a copy of a Deployment Backup.
|
@@ -1633,7 +1871,7 @@ class GoldenGateClient(object):
|
|
1633
1871
|
:rtype: :class:`~oci.response.Response`
|
1634
1872
|
|
1635
1873
|
:example:
|
1636
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1874
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.1/goldengate/copy_deployment_backup.py.html>`__ to see an example of how to use copy_deployment_backup API.
|
1637
1875
|
"""
|
1638
1876
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1639
1877
|
required_arguments = ['deploymentBackupId']
|
@@ -1750,7 +1988,7 @@ class GoldenGateClient(object):
|
|
1750
1988
|
:rtype: :class:`~oci.response.Response`
|
1751
1989
|
|
1752
1990
|
:example:
|
1753
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1991
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.1/goldengate/create_certificate.py.html>`__ to see an example of how to use create_certificate API.
|
1754
1992
|
"""
|
1755
1993
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1756
1994
|
required_arguments = ['deploymentId']
|
@@ -1865,7 +2103,7 @@ class GoldenGateClient(object):
|
|
1865
2103
|
:rtype: :class:`~oci.response.Response`
|
1866
2104
|
|
1867
2105
|
:example:
|
1868
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
2106
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.1/goldengate/create_connection.py.html>`__ to see an example of how to use create_connection API.
|
1869
2107
|
"""
|
1870
2108
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1871
2109
|
required_arguments = []
|
@@ -1965,7 +2203,7 @@ class GoldenGateClient(object):
|
|
1965
2203
|
:rtype: :class:`~oci.response.Response`
|
1966
2204
|
|
1967
2205
|
:example:
|
1968
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
2206
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.1/goldengate/create_connection_assignment.py.html>`__ to see an example of how to use create_connection_assignment API.
|
1969
2207
|
"""
|
1970
2208
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1971
2209
|
required_arguments = []
|
@@ -2071,7 +2309,7 @@ class GoldenGateClient(object):
|
|
2071
2309
|
:rtype: :class:`~oci.response.Response`
|
2072
2310
|
|
2073
2311
|
:example:
|
2074
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
2312
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.1/goldengate/create_database_registration.py.html>`__ to see an example of how to use create_database_registration API.
|
2075
2313
|
"""
|
2076
2314
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2077
2315
|
required_arguments = []
|
@@ -2168,7 +2406,7 @@ class GoldenGateClient(object):
|
|
2168
2406
|
:rtype: :class:`~oci.response.Response`
|
2169
2407
|
|
2170
2408
|
:example:
|
2171
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
2409
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.1/goldengate/create_deployment.py.html>`__ to see an example of how to use create_deployment API.
|
2172
2410
|
"""
|
2173
2411
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2174
2412
|
required_arguments = []
|
@@ -2265,7 +2503,7 @@ class GoldenGateClient(object):
|
|
2265
2503
|
:rtype: :class:`~oci.response.Response`
|
2266
2504
|
|
2267
2505
|
:example:
|
2268
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
2506
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.1/goldengate/create_deployment_backup.py.html>`__ to see an example of how to use create_deployment_backup API.
|
2269
2507
|
"""
|
2270
2508
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2271
2509
|
required_arguments = []
|
@@ -2362,7 +2600,7 @@ class GoldenGateClient(object):
|
|
2362
2600
|
:rtype: :class:`~oci.response.Response`
|
2363
2601
|
|
2364
2602
|
:example:
|
2365
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
2603
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.1/goldengate/create_pipeline.py.html>`__ to see an example of how to use create_pipeline API.
|
2366
2604
|
"""
|
2367
2605
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2368
2606
|
required_arguments = []
|
@@ -2465,7 +2703,7 @@ class GoldenGateClient(object):
|
|
2465
2703
|
:rtype: :class:`~oci.response.Response`
|
2466
2704
|
|
2467
2705
|
:example:
|
2468
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
2706
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.1/goldengate/delete_certificate.py.html>`__ to see an example of how to use delete_certificate API.
|
2469
2707
|
"""
|
2470
2708
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2471
2709
|
required_arguments = ['deploymentId', 'certificateKey']
|
@@ -2583,7 +2821,7 @@ class GoldenGateClient(object):
|
|
2583
2821
|
:rtype: :class:`~oci.response.Response`
|
2584
2822
|
|
2585
2823
|
:example:
|
2586
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
2824
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.1/goldengate/delete_connection.py.html>`__ to see an example of how to use delete_connection API.
|
2587
2825
|
"""
|
2588
2826
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2589
2827
|
required_arguments = ['connectionId']
|
@@ -2700,7 +2938,7 @@ class GoldenGateClient(object):
|
|
2700
2938
|
:rtype: :class:`~oci.response.Response`
|
2701
2939
|
|
2702
2940
|
:example:
|
2703
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
2941
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.1/goldengate/delete_connection_assignment.py.html>`__ to see an example of how to use delete_connection_assignment API.
|
2704
2942
|
"""
|
2705
2943
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2706
2944
|
required_arguments = ['connectionAssignmentId']
|
@@ -2813,7 +3051,7 @@ class GoldenGateClient(object):
|
|
2813
3051
|
:rtype: :class:`~oci.response.Response`
|
2814
3052
|
|
2815
3053
|
:example:
|
2816
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
3054
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.1/goldengate/delete_database_registration.py.html>`__ to see an example of how to use delete_database_registration API.
|
2817
3055
|
"""
|
2818
3056
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2819
3057
|
required_arguments = ['databaseRegistrationId']
|
@@ -2920,7 +3158,7 @@ class GoldenGateClient(object):
|
|
2920
3158
|
:rtype: :class:`~oci.response.Response`
|
2921
3159
|
|
2922
3160
|
:example:
|
2923
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
3161
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.1/goldengate/delete_deployment.py.html>`__ to see an example of how to use delete_deployment API.
|
2924
3162
|
"""
|
2925
3163
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2926
3164
|
required_arguments = ['deploymentId']
|
@@ -3035,7 +3273,7 @@ class GoldenGateClient(object):
|
|
3035
3273
|
:rtype: :class:`~oci.response.Response`
|
3036
3274
|
|
3037
3275
|
:example:
|
3038
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
3276
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.1/goldengate/delete_deployment_backup.py.html>`__ to see an example of how to use delete_deployment_backup API.
|
3039
3277
|
"""
|
3040
3278
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
3041
3279
|
required_arguments = ['deploymentBackupId']
|
@@ -3152,7 +3390,7 @@ class GoldenGateClient(object):
|
|
3152
3390
|
:rtype: :class:`~oci.response.Response`
|
3153
3391
|
|
3154
3392
|
:example:
|
3155
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
3393
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.1/goldengate/delete_pipeline.py.html>`__ to see an example of how to use delete_pipeline API.
|
3156
3394
|
"""
|
3157
3395
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
3158
3396
|
required_arguments = ['pipelineId']
|
@@ -3273,7 +3511,7 @@ class GoldenGateClient(object):
|
|
3273
3511
|
:rtype: :class:`~oci.response.Response`
|
3274
3512
|
|
3275
3513
|
:example:
|
3276
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
3514
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.1/goldengate/deployment_wallet_exists.py.html>`__ to see an example of how to use deployment_wallet_exists API.
|
3277
3515
|
"""
|
3278
3516
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
3279
3517
|
required_arguments = ['deploymentId']
|
@@ -3393,7 +3631,7 @@ class GoldenGateClient(object):
|
|
3393
3631
|
:rtype: :class:`~oci.response.Response`
|
3394
3632
|
|
3395
3633
|
:example:
|
3396
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
3634
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.1/goldengate/export_deployment_wallet.py.html>`__ to see an example of how to use export_deployment_wallet API.
|
3397
3635
|
"""
|
3398
3636
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
3399
3637
|
required_arguments = ['deploymentId']
|
@@ -3511,7 +3749,7 @@ class GoldenGateClient(object):
|
|
3511
3749
|
:rtype: :class:`~oci.response.Response`
|
3512
3750
|
|
3513
3751
|
:example:
|
3514
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
3752
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.1/goldengate/generate_library_url.py.html>`__ to see an example of how to use generate_library_url API.
|
3515
3753
|
"""
|
3516
3754
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
3517
3755
|
required_arguments = ['deploymentId']
|
@@ -3619,7 +3857,7 @@ class GoldenGateClient(object):
|
|
3619
3857
|
:rtype: :class:`~oci.response.Response`
|
3620
3858
|
|
3621
3859
|
:example:
|
3622
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
3860
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.1/goldengate/get_certificate.py.html>`__ to see an example of how to use get_certificate API.
|
3623
3861
|
"""
|
3624
3862
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
3625
3863
|
required_arguments = ['deploymentId', 'certificateKey']
|
@@ -3720,7 +3958,7 @@ class GoldenGateClient(object):
|
|
3720
3958
|
:rtype: :class:`~oci.response.Response`
|
3721
3959
|
|
3722
3960
|
:example:
|
3723
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
3961
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.1/goldengate/get_connection.py.html>`__ to see an example of how to use get_connection API.
|
3724
3962
|
"""
|
3725
3963
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
3726
3964
|
required_arguments = ['connectionId']
|
@@ -3820,7 +4058,7 @@ class GoldenGateClient(object):
|
|
3820
4058
|
:rtype: :class:`~oci.response.Response`
|
3821
4059
|
|
3822
4060
|
:example:
|
3823
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
4061
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.1/goldengate/get_connection_assignment.py.html>`__ to see an example of how to use get_connection_assignment API.
|
3824
4062
|
"""
|
3825
4063
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
3826
4064
|
required_arguments = ['connectionAssignmentId']
|
@@ -3919,7 +4157,7 @@ class GoldenGateClient(object):
|
|
3919
4157
|
:rtype: :class:`~oci.response.Response`
|
3920
4158
|
|
3921
4159
|
:example:
|
3922
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
4160
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.1/goldengate/get_database_registration.py.html>`__ to see an example of how to use get_database_registration API.
|
3923
4161
|
"""
|
3924
4162
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
3925
4163
|
required_arguments = ['databaseRegistrationId']
|
@@ -4017,7 +4255,7 @@ class GoldenGateClient(object):
|
|
4017
4255
|
:rtype: :class:`~oci.response.Response`
|
4018
4256
|
|
4019
4257
|
:example:
|
4020
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
4258
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.1/goldengate/get_deployment.py.html>`__ to see an example of how to use get_deployment API.
|
4021
4259
|
"""
|
4022
4260
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
4023
4261
|
required_arguments = ['deploymentId']
|
@@ -4115,7 +4353,7 @@ class GoldenGateClient(object):
|
|
4115
4353
|
:rtype: :class:`~oci.response.Response`
|
4116
4354
|
|
4117
4355
|
:example:
|
4118
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
4356
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.1/goldengate/get_deployment_backup.py.html>`__ to see an example of how to use get_deployment_backup API.
|
4119
4357
|
"""
|
4120
4358
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
4121
4359
|
required_arguments = ['deploymentBackupId']
|
@@ -4213,7 +4451,7 @@ class GoldenGateClient(object):
|
|
4213
4451
|
:rtype: :class:`~oci.response.Response`
|
4214
4452
|
|
4215
4453
|
:example:
|
4216
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
4454
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.1/goldengate/get_deployment_upgrade.py.html>`__ to see an example of how to use get_deployment_upgrade API.
|
4217
4455
|
"""
|
4218
4456
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
4219
4457
|
required_arguments = ['deploymentUpgradeId']
|
@@ -4313,7 +4551,7 @@ class GoldenGateClient(object):
|
|
4313
4551
|
:rtype: :class:`~oci.response.Response`
|
4314
4552
|
|
4315
4553
|
:example:
|
4316
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
4554
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.1/goldengate/get_pipeline.py.html>`__ to see an example of how to use get_pipeline API.
|
4317
4555
|
"""
|
4318
4556
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
4319
4557
|
required_arguments = ['pipelineId']
|
@@ -4413,7 +4651,7 @@ class GoldenGateClient(object):
|
|
4413
4651
|
:rtype: :class:`~oci.response.Response`
|
4414
4652
|
|
4415
4653
|
:example:
|
4416
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
4654
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.1/goldengate/get_work_request.py.html>`__ to see an example of how to use get_work_request API.
|
4417
4655
|
"""
|
4418
4656
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
4419
4657
|
required_arguments = ['workRequestId']
|
@@ -4529,7 +4767,7 @@ class GoldenGateClient(object):
|
|
4529
4767
|
:rtype: :class:`~oci.response.Response`
|
4530
4768
|
|
4531
4769
|
:example:
|
4532
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
4770
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.1/goldengate/import_deployment_wallet.py.html>`__ to see an example of how to use import_deployment_wallet API.
|
4533
4771
|
"""
|
4534
4772
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
4535
4773
|
required_arguments = ['deploymentId']
|
@@ -4664,7 +4902,7 @@ class GoldenGateClient(object):
|
|
4664
4902
|
:rtype: :class:`~oci.response.Response`
|
4665
4903
|
|
4666
4904
|
:example:
|
4667
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
4905
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.1/goldengate/list_certificates.py.html>`__ to see an example of how to use list_certificates API.
|
4668
4906
|
"""
|
4669
4907
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
4670
4908
|
required_arguments = ['deploymentId']
|
@@ -4839,7 +5077,7 @@ class GoldenGateClient(object):
|
|
4839
5077
|
:rtype: :class:`~oci.response.Response`
|
4840
5078
|
|
4841
5079
|
:example:
|
4842
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
5080
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.1/goldengate/list_connection_assignments.py.html>`__ to see an example of how to use list_connection_assignments API.
|
4843
5081
|
"""
|
4844
5082
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
4845
5083
|
required_arguments = ['compartmentId']
|
@@ -5020,7 +5258,7 @@ class GoldenGateClient(object):
|
|
5020
5258
|
:rtype: :class:`~oci.response.Response`
|
5021
5259
|
|
5022
5260
|
:example:
|
5023
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
5261
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.1/goldengate/list_connections.py.html>`__ to see an example of how to use list_connections API.
|
5024
5262
|
"""
|
5025
5263
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
5026
5264
|
required_arguments = ['compartmentId']
|
@@ -5210,7 +5448,7 @@ class GoldenGateClient(object):
|
|
5210
5448
|
:rtype: :class:`~oci.response.Response`
|
5211
5449
|
|
5212
5450
|
:example:
|
5213
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
5451
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.1/goldengate/list_database_registrations.py.html>`__ to see an example of how to use list_database_registrations API.
|
5214
5452
|
"""
|
5215
5453
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
5216
5454
|
required_arguments = ['compartmentId']
|
@@ -5371,7 +5609,7 @@ class GoldenGateClient(object):
|
|
5371
5609
|
:rtype: :class:`~oci.response.Response`
|
5372
5610
|
|
5373
5611
|
:example:
|
5374
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
5612
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.1/goldengate/list_deployment_backups.py.html>`__ to see an example of how to use list_deployment_backups API.
|
5375
5613
|
"""
|
5376
5614
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
5377
5615
|
required_arguments = ['compartmentId']
|
@@ -5521,7 +5759,7 @@ class GoldenGateClient(object):
|
|
5521
5759
|
:rtype: :class:`~oci.response.Response`
|
5522
5760
|
|
5523
5761
|
:example:
|
5524
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
5762
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.1/goldengate/list_deployment_environments.py.html>`__ to see an example of how to use list_deployment_environments API.
|
5525
5763
|
"""
|
5526
5764
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
5527
5765
|
required_arguments = ['compartmentId']
|
@@ -5609,31 +5847,22 @@ class GoldenGateClient(object):
|
|
5609
5847
|
api_reference_link=api_reference_link,
|
5610
5848
|
required_arguments=required_arguments)
|
5611
5849
|
|
5612
|
-
def
|
5850
|
+
def list_deployment_peers(self, deployment_id, **kwargs):
|
5613
5851
|
"""
|
5614
|
-
|
5852
|
+
Lists the local and remote peers in a deployment.
|
5615
5853
|
|
5616
5854
|
|
5617
|
-
:param str
|
5618
|
-
|
5619
|
-
to the same compartment as the resource the work request affects. If the work request concerns
|
5620
|
-
multiple resources, and those resources are not in the same compartment, it is up to the service team
|
5621
|
-
to pick the primary resource whose compartment should be used.
|
5622
|
-
|
5623
|
-
:param str deployment_type: (optional)
|
5624
|
-
The type of deployment, the value determines the exact 'type' of the service executed in the deployment. Default value is DATABASE_ORACLE.
|
5855
|
+
:param str deployment_id: (required)
|
5856
|
+
A unique Deployment identifier.
|
5625
5857
|
|
5626
|
-
|
5858
|
+
:param str lifecycle_state: (optional)
|
5859
|
+
A filter to return only the resources that match the 'lifecycleState' given.
|
5627
5860
|
|
5628
|
-
|
5629
|
-
Allows to query by a specific GoldenGate version.
|
5861
|
+
Allowed values are: "CREATING", "UPDATING", "ACTIVE", "INACTIVE", "DELETING", "DELETED", "FAILED", "NEEDS_ATTENTION", "IN_PROGRESS", "CANCELING", "CANCELED", "SUCCEEDED", "WAITING"
|
5630
5862
|
|
5631
5863
|
:param str display_name: (optional)
|
5632
5864
|
A filter to return only the resources that match the entire 'displayName' given.
|
5633
5865
|
|
5634
|
-
:param str opc_request_id: (optional)
|
5635
|
-
The client request ID for tracing.
|
5636
|
-
|
5637
5866
|
:param int limit: (optional)
|
5638
5867
|
The maximum number of items to return.
|
5639
5868
|
|
@@ -5653,6 +5882,9 @@ class GoldenGateClient(object):
|
|
5653
5882
|
|
5654
5883
|
Allowed values are: "timeCreated", "displayName"
|
5655
5884
|
|
5885
|
+
:param str opc_request_id: (optional)
|
5886
|
+
The client request ID for tracing.
|
5887
|
+
|
5656
5888
|
:param obj retry_strategy: (optional)
|
5657
5889
|
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
5658
5890
|
|
@@ -5665,39 +5897,209 @@ class GoldenGateClient(object):
|
|
5665
5897
|
allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
|
5666
5898
|
By default, the response will not allow control characters in strings
|
5667
5899
|
|
5668
|
-
:return: A :class:`~oci.response.Response` object with data of type :class:`~oci.golden_gate.models.
|
5900
|
+
:return: A :class:`~oci.response.Response` object with data of type :class:`~oci.golden_gate.models.DeploymentPeerCollection`
|
5669
5901
|
:rtype: :class:`~oci.response.Response`
|
5670
5902
|
|
5671
5903
|
:example:
|
5672
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
5904
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.1/goldengate/list_deployment_peers.py.html>`__ to see an example of how to use list_deployment_peers API.
|
5673
5905
|
"""
|
5674
5906
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
5675
|
-
required_arguments = ['
|
5676
|
-
resource_path = "/
|
5907
|
+
required_arguments = ['deploymentId']
|
5908
|
+
resource_path = "/deployments/{deploymentId}/peers"
|
5677
5909
|
method = "GET"
|
5678
|
-
operation_name = "
|
5679
|
-
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/goldengate/20200407/
|
5910
|
+
operation_name = "list_deployment_peers"
|
5911
|
+
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/goldengate/20200407/DeploymentPeerSummary/ListDeploymentPeers"
|
5680
5912
|
|
5681
5913
|
# Don't accept unknown kwargs
|
5682
5914
|
expected_kwargs = [
|
5683
5915
|
"allow_control_chars",
|
5684
5916
|
"retry_strategy",
|
5685
|
-
"
|
5686
|
-
"ogg_version",
|
5917
|
+
"lifecycle_state",
|
5687
5918
|
"display_name",
|
5688
|
-
"opc_request_id",
|
5689
5919
|
"limit",
|
5690
5920
|
"page",
|
5691
5921
|
"sort_order",
|
5692
|
-
"sort_by"
|
5922
|
+
"sort_by",
|
5923
|
+
"opc_request_id"
|
5693
5924
|
]
|
5694
5925
|
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
5695
5926
|
if extra_kwargs:
|
5696
5927
|
raise ValueError(
|
5697
|
-
f"
|
5928
|
+
f"list_deployment_peers got unknown kwargs: {extra_kwargs!r}")
|
5698
5929
|
|
5699
|
-
|
5700
|
-
|
5930
|
+
path_params = {
|
5931
|
+
"deploymentId": deployment_id
|
5932
|
+
}
|
5933
|
+
|
5934
|
+
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
|
5935
|
+
|
5936
|
+
for (k, v) in six.iteritems(path_params):
|
5937
|
+
if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
|
5938
|
+
raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
|
5939
|
+
|
5940
|
+
if 'lifecycle_state' in kwargs:
|
5941
|
+
lifecycle_state_allowed_values = ["CREATING", "UPDATING", "ACTIVE", "INACTIVE", "DELETING", "DELETED", "FAILED", "NEEDS_ATTENTION", "IN_PROGRESS", "CANCELING", "CANCELED", "SUCCEEDED", "WAITING"]
|
5942
|
+
if kwargs['lifecycle_state'] not in lifecycle_state_allowed_values:
|
5943
|
+
raise ValueError(
|
5944
|
+
f"Invalid value for `lifecycle_state`, must be one of { lifecycle_state_allowed_values }"
|
5945
|
+
)
|
5946
|
+
|
5947
|
+
if 'sort_order' in kwargs:
|
5948
|
+
sort_order_allowed_values = ["ASC", "DESC"]
|
5949
|
+
if kwargs['sort_order'] not in sort_order_allowed_values:
|
5950
|
+
raise ValueError(
|
5951
|
+
f"Invalid value for `sort_order`, must be one of { sort_order_allowed_values }"
|
5952
|
+
)
|
5953
|
+
|
5954
|
+
if 'sort_by' in kwargs:
|
5955
|
+
sort_by_allowed_values = ["timeCreated", "displayName"]
|
5956
|
+
if kwargs['sort_by'] not in sort_by_allowed_values:
|
5957
|
+
raise ValueError(
|
5958
|
+
f"Invalid value for `sort_by`, must be one of { sort_by_allowed_values }"
|
5959
|
+
)
|
5960
|
+
|
5961
|
+
query_params = {
|
5962
|
+
"lifecycleState": kwargs.get("lifecycle_state", missing),
|
5963
|
+
"displayName": kwargs.get("display_name", missing),
|
5964
|
+
"limit": kwargs.get("limit", missing),
|
5965
|
+
"page": kwargs.get("page", missing),
|
5966
|
+
"sortOrder": kwargs.get("sort_order", missing),
|
5967
|
+
"sortBy": kwargs.get("sort_by", missing)
|
5968
|
+
}
|
5969
|
+
query_params = {k: v for (k, v) in six.iteritems(query_params) if v is not missing and v is not None}
|
5970
|
+
|
5971
|
+
header_params = {
|
5972
|
+
"accept": "application/json",
|
5973
|
+
"content-type": "application/json",
|
5974
|
+
"opc-request-id": kwargs.get("opc_request_id", missing)
|
5975
|
+
}
|
5976
|
+
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
5977
|
+
|
5978
|
+
retry_strategy = self.base_client.get_preferred_retry_strategy(
|
5979
|
+
operation_retry_strategy=kwargs.get('retry_strategy'),
|
5980
|
+
client_retry_strategy=self.retry_strategy
|
5981
|
+
)
|
5982
|
+
if retry_strategy is None:
|
5983
|
+
retry_strategy = retry.DEFAULT_RETRY_STRATEGY
|
5984
|
+
|
5985
|
+
if retry_strategy:
|
5986
|
+
if not isinstance(retry_strategy, retry.NoneRetryStrategy):
|
5987
|
+
self.base_client.add_opc_client_retries_header(header_params)
|
5988
|
+
retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
|
5989
|
+
return retry_strategy.make_retrying_call(
|
5990
|
+
self.base_client.call_api,
|
5991
|
+
resource_path=resource_path,
|
5992
|
+
method=method,
|
5993
|
+
path_params=path_params,
|
5994
|
+
query_params=query_params,
|
5995
|
+
header_params=header_params,
|
5996
|
+
response_type="DeploymentPeerCollection",
|
5997
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
5998
|
+
operation_name=operation_name,
|
5999
|
+
api_reference_link=api_reference_link,
|
6000
|
+
required_arguments=required_arguments)
|
6001
|
+
else:
|
6002
|
+
return self.base_client.call_api(
|
6003
|
+
resource_path=resource_path,
|
6004
|
+
method=method,
|
6005
|
+
path_params=path_params,
|
6006
|
+
query_params=query_params,
|
6007
|
+
header_params=header_params,
|
6008
|
+
response_type="DeploymentPeerCollection",
|
6009
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
6010
|
+
operation_name=operation_name,
|
6011
|
+
api_reference_link=api_reference_link,
|
6012
|
+
required_arguments=required_arguments)
|
6013
|
+
|
6014
|
+
def list_deployment_types(self, compartment_id, **kwargs):
|
6015
|
+
"""
|
6016
|
+
Returns an array of DeploymentTypeDescriptor
|
6017
|
+
|
6018
|
+
|
6019
|
+
:param str compartment_id: (required)
|
6020
|
+
The OCID of the compartment that contains the work request. Work requests should be scoped
|
6021
|
+
to the same compartment as the resource the work request affects. If the work request concerns
|
6022
|
+
multiple resources, and those resources are not in the same compartment, it is up to the service team
|
6023
|
+
to pick the primary resource whose compartment should be used.
|
6024
|
+
|
6025
|
+
:param str deployment_type: (optional)
|
6026
|
+
The type of deployment, the value determines the exact 'type' of the service executed in the deployment. Default value is DATABASE_ORACLE.
|
6027
|
+
|
6028
|
+
Allowed values are: "OGG", "DATABASE_ORACLE", "BIGDATA", "DATABASE_MICROSOFT_SQLSERVER", "DATABASE_MYSQL", "DATABASE_POSTGRESQL", "DATABASE_DB2ZOS", "GGSA", "DATA_TRANSFORMS"
|
6029
|
+
|
6030
|
+
:param str ogg_version: (optional)
|
6031
|
+
Allows to query by a specific GoldenGate version.
|
6032
|
+
|
6033
|
+
:param str display_name: (optional)
|
6034
|
+
A filter to return only the resources that match the entire 'displayName' given.
|
6035
|
+
|
6036
|
+
:param str opc_request_id: (optional)
|
6037
|
+
The client request ID for tracing.
|
6038
|
+
|
6039
|
+
:param int limit: (optional)
|
6040
|
+
The maximum number of items to return.
|
6041
|
+
|
6042
|
+
:param str page: (optional)
|
6043
|
+
The page token representing the page at which to start retrieving results. This is usually
|
6044
|
+
retrieved from a previous list call.
|
6045
|
+
|
6046
|
+
:param str sort_order: (optional)
|
6047
|
+
The sort order to use, either 'asc' or 'desc'.
|
6048
|
+
|
6049
|
+
Allowed values are: "ASC", "DESC"
|
6050
|
+
|
6051
|
+
:param str sort_by: (optional)
|
6052
|
+
The field to sort by. Only one sort order can be provided. Default order for 'timeCreated' is
|
6053
|
+
descending. Default order for 'displayName' is ascending. If no value is specified
|
6054
|
+
timeCreated is the default.
|
6055
|
+
|
6056
|
+
Allowed values are: "timeCreated", "displayName"
|
6057
|
+
|
6058
|
+
:param obj retry_strategy: (optional)
|
6059
|
+
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
6060
|
+
|
6061
|
+
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.
|
6062
|
+
The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
|
6063
|
+
|
6064
|
+
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
|
6065
|
+
|
6066
|
+
:param bool allow_control_chars: (optional)
|
6067
|
+
allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
|
6068
|
+
By default, the response will not allow control characters in strings
|
6069
|
+
|
6070
|
+
:return: A :class:`~oci.response.Response` object with data of type :class:`~oci.golden_gate.models.DeploymentTypeCollection`
|
6071
|
+
:rtype: :class:`~oci.response.Response`
|
6072
|
+
|
6073
|
+
:example:
|
6074
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.1/goldengate/list_deployment_types.py.html>`__ to see an example of how to use list_deployment_types API.
|
6075
|
+
"""
|
6076
|
+
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
6077
|
+
required_arguments = ['compartmentId']
|
6078
|
+
resource_path = "/deploymentTypes"
|
6079
|
+
method = "GET"
|
6080
|
+
operation_name = "list_deployment_types"
|
6081
|
+
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/goldengate/20200407/DeploymentTypeCollection/ListDeploymentTypes"
|
6082
|
+
|
6083
|
+
# Don't accept unknown kwargs
|
6084
|
+
expected_kwargs = [
|
6085
|
+
"allow_control_chars",
|
6086
|
+
"retry_strategy",
|
6087
|
+
"deployment_type",
|
6088
|
+
"ogg_version",
|
6089
|
+
"display_name",
|
6090
|
+
"opc_request_id",
|
6091
|
+
"limit",
|
6092
|
+
"page",
|
6093
|
+
"sort_order",
|
6094
|
+
"sort_by"
|
6095
|
+
]
|
6096
|
+
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
6097
|
+
if extra_kwargs:
|
6098
|
+
raise ValueError(
|
6099
|
+
f"list_deployment_types got unknown kwargs: {extra_kwargs!r}")
|
6100
|
+
|
6101
|
+
if 'deployment_type' in kwargs:
|
6102
|
+
deployment_type_allowed_values = ["OGG", "DATABASE_ORACLE", "BIGDATA", "DATABASE_MICROSOFT_SQLSERVER", "DATABASE_MYSQL", "DATABASE_POSTGRESQL", "DATABASE_DB2ZOS", "GGSA", "DATA_TRANSFORMS"]
|
5701
6103
|
if kwargs['deployment_type'] not in deployment_type_allowed_values:
|
5702
6104
|
raise ValueError(
|
5703
6105
|
f"Invalid value for `deployment_type`, must be one of { deployment_type_allowed_values }"
|
@@ -5832,7 +6234,7 @@ class GoldenGateClient(object):
|
|
5832
6234
|
:rtype: :class:`~oci.response.Response`
|
5833
6235
|
|
5834
6236
|
:example:
|
5835
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
6237
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.1/goldengate/list_deployment_upgrades.py.html>`__ to see an example of how to use list_deployment_upgrades API.
|
5836
6238
|
"""
|
5837
6239
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
5838
6240
|
required_arguments = ['compartmentId']
|
@@ -5992,7 +6394,7 @@ class GoldenGateClient(object):
|
|
5992
6394
|
:rtype: :class:`~oci.response.Response`
|
5993
6395
|
|
5994
6396
|
:example:
|
5995
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
6397
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.1/goldengate/list_deployment_versions.py.html>`__ to see an example of how to use list_deployment_versions API.
|
5996
6398
|
"""
|
5997
6399
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
5998
6400
|
required_arguments = ['compartmentId']
|
@@ -6139,7 +6541,7 @@ class GoldenGateClient(object):
|
|
6139
6541
|
:rtype: :class:`~oci.response.Response`
|
6140
6542
|
|
6141
6543
|
:example:
|
6142
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
6544
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.1/goldengate/list_deployment_wallets_operations.py.html>`__ to see an example of how to use list_deployment_wallets_operations API.
|
6143
6545
|
"""
|
6144
6546
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
6145
6547
|
required_arguments = ['deploymentId']
|
@@ -6316,7 +6718,7 @@ class GoldenGateClient(object):
|
|
6316
6718
|
:rtype: :class:`~oci.response.Response`
|
6317
6719
|
|
6318
6720
|
:example:
|
6319
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
6721
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.1/goldengate/list_deployments.py.html>`__ to see an example of how to use list_deployments API.
|
6320
6722
|
"""
|
6321
6723
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
6322
6724
|
required_arguments = ['compartmentId']
|
@@ -6473,7 +6875,7 @@ class GoldenGateClient(object):
|
|
6473
6875
|
:rtype: :class:`~oci.response.Response`
|
6474
6876
|
|
6475
6877
|
:example:
|
6476
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
6878
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.1/goldengate/list_messages.py.html>`__ to see an example of how to use list_messages API.
|
6477
6879
|
"""
|
6478
6880
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
6479
6881
|
required_arguments = ['deploymentId']
|
@@ -6572,7 +6974,7 @@ class GoldenGateClient(object):
|
|
6572
6974
|
:rtype: :class:`~oci.response.Response`
|
6573
6975
|
|
6574
6976
|
:example:
|
6575
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
6977
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.1/goldengate/list_pipeline_initialization_steps.py.html>`__ to see an example of how to use list_pipeline_initialization_steps API.
|
6576
6978
|
"""
|
6577
6979
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
6578
6980
|
required_arguments = ['pipelineId']
|
@@ -6645,7 +7047,7 @@ class GoldenGateClient(object):
|
|
6645
7047
|
|
6646
7048
|
def list_pipeline_running_processes(self, pipeline_id, **kwargs):
|
6647
7049
|
"""
|
6648
|
-
Retrieves a Pipeline's running replication process's status like
|
7050
|
+
Retrieves a Pipeline's running replication process's status like Capture/Apply.
|
6649
7051
|
|
6650
7052
|
|
6651
7053
|
:param str pipeline_id: (required)
|
@@ -6691,7 +7093,7 @@ class GoldenGateClient(object):
|
|
6691
7093
|
:rtype: :class:`~oci.response.Response`
|
6692
7094
|
|
6693
7095
|
:example:
|
6694
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
7096
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.1/goldengate/list_pipeline_running_processes.py.html>`__ to see an example of how to use list_pipeline_running_processes API.
|
6695
7097
|
"""
|
6696
7098
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
6697
7099
|
required_arguments = ['pipelineId']
|
@@ -6847,7 +7249,7 @@ class GoldenGateClient(object):
|
|
6847
7249
|
:rtype: :class:`~oci.response.Response`
|
6848
7250
|
|
6849
7251
|
:example:
|
6850
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
7252
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.1/goldengate/list_pipeline_schema_tables.py.html>`__ to see an example of how to use list_pipeline_schema_tables API.
|
6851
7253
|
"""
|
6852
7254
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
6853
7255
|
required_arguments = ['pipelineId', 'sourceSchemaName', 'targetSchemaName']
|
@@ -7001,7 +7403,7 @@ class GoldenGateClient(object):
|
|
7001
7403
|
:rtype: :class:`~oci.response.Response`
|
7002
7404
|
|
7003
7405
|
:example:
|
7004
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
7406
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.1/goldengate/list_pipeline_schemas.py.html>`__ to see an example of how to use list_pipeline_schemas API.
|
7005
7407
|
"""
|
7006
7408
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
7007
7409
|
required_arguments = ['pipelineId']
|
@@ -7164,7 +7566,7 @@ class GoldenGateClient(object):
|
|
7164
7566
|
:rtype: :class:`~oci.response.Response`
|
7165
7567
|
|
7166
7568
|
:example:
|
7167
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
7569
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.1/goldengate/list_pipelines.py.html>`__ to see an example of how to use list_pipelines API.
|
7168
7570
|
"""
|
7169
7571
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
7170
7572
|
required_arguments = ['compartmentId']
|
@@ -7329,7 +7731,7 @@ class GoldenGateClient(object):
|
|
7329
7731
|
:rtype: :class:`~oci.response.Response`
|
7330
7732
|
|
7331
7733
|
:example:
|
7332
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
7734
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.1/goldengate/list_recipes.py.html>`__ to see an example of how to use list_recipes API.
|
7333
7735
|
"""
|
7334
7736
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
7335
7737
|
required_arguments = ['compartmentId']
|
@@ -7481,7 +7883,7 @@ class GoldenGateClient(object):
|
|
7481
7883
|
:rtype: :class:`~oci.response.Response`
|
7482
7884
|
|
7483
7885
|
:example:
|
7484
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
7886
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.1/goldengate/list_trail_files.py.html>`__ to see an example of how to use list_trail_files API.
|
7485
7887
|
"""
|
7486
7888
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
7487
7889
|
required_arguments = ['deploymentId']
|
@@ -7629,7 +8031,7 @@ class GoldenGateClient(object):
|
|
7629
8031
|
:rtype: :class:`~oci.response.Response`
|
7630
8032
|
|
7631
8033
|
:example:
|
7632
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
8034
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.1/goldengate/list_trail_sequences.py.html>`__ to see an example of how to use list_trail_sequences API.
|
7633
8035
|
"""
|
7634
8036
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
7635
8037
|
required_arguments = ['deploymentId', 'trailFileId']
|
@@ -7758,7 +8160,7 @@ class GoldenGateClient(object):
|
|
7758
8160
|
:rtype: :class:`~oci.response.Response`
|
7759
8161
|
|
7760
8162
|
:example:
|
7761
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
8163
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.1/goldengate/list_work_request_errors.py.html>`__ to see an example of how to use list_work_request_errors API.
|
7762
8164
|
"""
|
7763
8165
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
7764
8166
|
required_arguments = ['workRequestId']
|
@@ -7875,7 +8277,7 @@ class GoldenGateClient(object):
|
|
7875
8277
|
:rtype: :class:`~oci.response.Response`
|
7876
8278
|
|
7877
8279
|
:example:
|
7878
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
8280
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.1/goldengate/list_work_request_logs.py.html>`__ to see an example of how to use list_work_request_logs API.
|
7879
8281
|
"""
|
7880
8282
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
7881
8283
|
required_arguments = ['workRequestId']
|
@@ -7998,7 +8400,7 @@ class GoldenGateClient(object):
|
|
7998
8400
|
:rtype: :class:`~oci.response.Response`
|
7999
8401
|
|
8000
8402
|
:example:
|
8001
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
8403
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.1/goldengate/list_work_requests.py.html>`__ to see an example of how to use list_work_requests API.
|
8002
8404
|
"""
|
8003
8405
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
8004
8406
|
required_arguments = ['compartmentId']
|
@@ -8111,7 +8513,7 @@ class GoldenGateClient(object):
|
|
8111
8513
|
:rtype: :class:`~oci.response.Response`
|
8112
8514
|
|
8113
8515
|
:example:
|
8114
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
8516
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.1/goldengate/refresh_connection.py.html>`__ to see an example of how to use refresh_connection API.
|
8115
8517
|
"""
|
8116
8518
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
8117
8519
|
required_arguments = ['connectionId']
|
@@ -8230,7 +8632,7 @@ class GoldenGateClient(object):
|
|
8230
8632
|
:rtype: :class:`~oci.response.Response`
|
8231
8633
|
|
8232
8634
|
:example:
|
8233
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
8635
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.1/goldengate/remove_connection_lock.py.html>`__ to see an example of how to use remove_connection_lock API.
|
8234
8636
|
"""
|
8235
8637
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
8236
8638
|
required_arguments = ['connectionId']
|
@@ -8341,7 +8743,7 @@ class GoldenGateClient(object):
|
|
8341
8743
|
:rtype: :class:`~oci.response.Response`
|
8342
8744
|
|
8343
8745
|
:example:
|
8344
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
8746
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.1/goldengate/remove_deployment_backup_lock.py.html>`__ to see an example of how to use remove_deployment_backup_lock API.
|
8345
8747
|
"""
|
8346
8748
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
8347
8749
|
required_arguments = ['deploymentBackupId']
|
@@ -8416,6 +8818,124 @@ class GoldenGateClient(object):
|
|
8416
8818
|
api_reference_link=api_reference_link,
|
8417
8819
|
required_arguments=required_arguments)
|
8418
8820
|
|
8821
|
+
def remove_deployment_local_peer(self, deployment_id, remove_deployment_local_peer_details, **kwargs):
|
8822
|
+
"""
|
8823
|
+
Removes a local peer of the deployment, this will remove the given placement entry from the deployment placement attribute. When provided, If-Match is checked against ETag values of the resource.
|
8824
|
+
|
8825
|
+
|
8826
|
+
:param str deployment_id: (required)
|
8827
|
+
A unique Deployment identifier.
|
8828
|
+
|
8829
|
+
:param oci.golden_gate.models.RemoveDeploymentLocalPeerDetails remove_deployment_local_peer_details: (required)
|
8830
|
+
Metadata to remove a local deployment peer
|
8831
|
+
|
8832
|
+
:param str if_match: (optional)
|
8833
|
+
For optimistic concurrency control. In the PUT or DELETE call for a resource, set the
|
8834
|
+
`if-match` parameter to the value of the etag from a previous GET or POST response for that
|
8835
|
+
resource. The resource is updated or deleted only if the etag you provide matches the
|
8836
|
+
resource's current etag value.
|
8837
|
+
|
8838
|
+
:param str opc_request_id: (optional)
|
8839
|
+
The client request ID for tracing.
|
8840
|
+
|
8841
|
+
:param str opc_retry_token: (optional)
|
8842
|
+
A token that uniquely identifies a request so it can be retried, in case of a timeout or server error,
|
8843
|
+
without the risk of executing that same action again. Retry tokens expire after 24 hours but can be
|
8844
|
+
invalidated before then due to conflicting operations. For example, if a resource was deleted and purged
|
8845
|
+
from the system, then a retry of the original creation request is rejected.
|
8846
|
+
|
8847
|
+
:param obj retry_strategy: (optional)
|
8848
|
+
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
8849
|
+
|
8850
|
+
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.
|
8851
|
+
The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
|
8852
|
+
|
8853
|
+
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
|
8854
|
+
|
8855
|
+
:param bool allow_control_chars: (optional)
|
8856
|
+
allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
|
8857
|
+
By default, the response will not allow control characters in strings
|
8858
|
+
|
8859
|
+
:return: A :class:`~oci.response.Response` object with data of type None
|
8860
|
+
:rtype: :class:`~oci.response.Response`
|
8861
|
+
|
8862
|
+
:example:
|
8863
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.1/goldengate/remove_deployment_local_peer.py.html>`__ to see an example of how to use remove_deployment_local_peer API.
|
8864
|
+
"""
|
8865
|
+
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
8866
|
+
required_arguments = ['deploymentId']
|
8867
|
+
resource_path = "/deployments/{deploymentId}/actions/removeLocalPeer"
|
8868
|
+
method = "POST"
|
8869
|
+
operation_name = "remove_deployment_local_peer"
|
8870
|
+
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/goldengate/20200407/Deployment/RemoveDeploymentLocalPeer"
|
8871
|
+
|
8872
|
+
# Don't accept unknown kwargs
|
8873
|
+
expected_kwargs = [
|
8874
|
+
"allow_control_chars",
|
8875
|
+
"retry_strategy",
|
8876
|
+
"if_match",
|
8877
|
+
"opc_request_id",
|
8878
|
+
"opc_retry_token"
|
8879
|
+
]
|
8880
|
+
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
8881
|
+
if extra_kwargs:
|
8882
|
+
raise ValueError(
|
8883
|
+
f"remove_deployment_local_peer got unknown kwargs: {extra_kwargs!r}")
|
8884
|
+
|
8885
|
+
path_params = {
|
8886
|
+
"deploymentId": deployment_id
|
8887
|
+
}
|
8888
|
+
|
8889
|
+
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
|
8890
|
+
|
8891
|
+
for (k, v) in six.iteritems(path_params):
|
8892
|
+
if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
|
8893
|
+
raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
|
8894
|
+
|
8895
|
+
header_params = {
|
8896
|
+
"accept": "application/json",
|
8897
|
+
"content-type": "application/json",
|
8898
|
+
"if-match": kwargs.get("if_match", missing),
|
8899
|
+
"opc-request-id": kwargs.get("opc_request_id", missing),
|
8900
|
+
"opc-retry-token": kwargs.get("opc_retry_token", missing)
|
8901
|
+
}
|
8902
|
+
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
8903
|
+
|
8904
|
+
retry_strategy = self.base_client.get_preferred_retry_strategy(
|
8905
|
+
operation_retry_strategy=kwargs.get('retry_strategy'),
|
8906
|
+
client_retry_strategy=self.retry_strategy
|
8907
|
+
)
|
8908
|
+
if retry_strategy is None:
|
8909
|
+
retry_strategy = retry.DEFAULT_RETRY_STRATEGY
|
8910
|
+
|
8911
|
+
if retry_strategy:
|
8912
|
+
if not isinstance(retry_strategy, retry.NoneRetryStrategy):
|
8913
|
+
self.base_client.add_opc_retry_token_if_needed(header_params)
|
8914
|
+
self.base_client.add_opc_client_retries_header(header_params)
|
8915
|
+
retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
|
8916
|
+
return retry_strategy.make_retrying_call(
|
8917
|
+
self.base_client.call_api,
|
8918
|
+
resource_path=resource_path,
|
8919
|
+
method=method,
|
8920
|
+
path_params=path_params,
|
8921
|
+
header_params=header_params,
|
8922
|
+
body=remove_deployment_local_peer_details,
|
8923
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
8924
|
+
operation_name=operation_name,
|
8925
|
+
api_reference_link=api_reference_link,
|
8926
|
+
required_arguments=required_arguments)
|
8927
|
+
else:
|
8928
|
+
return self.base_client.call_api(
|
8929
|
+
resource_path=resource_path,
|
8930
|
+
method=method,
|
8931
|
+
path_params=path_params,
|
8932
|
+
header_params=header_params,
|
8933
|
+
body=remove_deployment_local_peer_details,
|
8934
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
8935
|
+
operation_name=operation_name,
|
8936
|
+
api_reference_link=api_reference_link,
|
8937
|
+
required_arguments=required_arguments)
|
8938
|
+
|
8419
8939
|
def remove_deployment_lock(self, deployment_id, remove_resource_lock_details, **kwargs):
|
8420
8940
|
"""
|
8421
8941
|
Removes a lock from a Deployment resource.
|
@@ -8452,7 +8972,7 @@ class GoldenGateClient(object):
|
|
8452
8972
|
:rtype: :class:`~oci.response.Response`
|
8453
8973
|
|
8454
8974
|
:example:
|
8455
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
8975
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.1/goldengate/remove_deployment_lock.py.html>`__ to see an example of how to use remove_deployment_lock API.
|
8456
8976
|
"""
|
8457
8977
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
8458
8978
|
required_arguments = ['deploymentId']
|
@@ -8569,7 +9089,7 @@ class GoldenGateClient(object):
|
|
8569
9089
|
:rtype: :class:`~oci.response.Response`
|
8570
9090
|
|
8571
9091
|
:example:
|
8572
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
9092
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.1/goldengate/reschedule_deployment_upgrade.py.html>`__ to see an example of how to use reschedule_deployment_upgrade API.
|
8573
9093
|
"""
|
8574
9094
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
8575
9095
|
required_arguments = ['deploymentUpgradeId']
|
@@ -8692,7 +9212,7 @@ class GoldenGateClient(object):
|
|
8692
9212
|
:rtype: :class:`~oci.response.Response`
|
8693
9213
|
|
8694
9214
|
:example:
|
8695
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
9215
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.1/goldengate/restore_deployment.py.html>`__ to see an example of how to use restore_deployment API.
|
8696
9216
|
"""
|
8697
9217
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
8698
9218
|
required_arguments = ['deploymentBackupId']
|
@@ -8821,7 +9341,7 @@ class GoldenGateClient(object):
|
|
8821
9341
|
:rtype: :class:`~oci.response.Response`
|
8822
9342
|
|
8823
9343
|
:example:
|
8824
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
9344
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.1/goldengate/rollback_deployment_upgrade.py.html>`__ to see an example of how to use rollback_deployment_upgrade API.
|
8825
9345
|
"""
|
8826
9346
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
8827
9347
|
required_arguments = ['deploymentUpgradeId']
|
@@ -8947,7 +9467,7 @@ class GoldenGateClient(object):
|
|
8947
9467
|
:rtype: :class:`~oci.response.Response`
|
8948
9468
|
|
8949
9469
|
:example:
|
8950
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
9470
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.1/goldengate/snooze_deployment_upgrade.py.html>`__ to see an example of how to use snooze_deployment_upgrade API.
|
8951
9471
|
"""
|
8952
9472
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
8953
9473
|
required_arguments = ['deploymentUpgradeId']
|
@@ -9068,7 +9588,7 @@ class GoldenGateClient(object):
|
|
9068
9588
|
:rtype: :class:`~oci.response.Response`
|
9069
9589
|
|
9070
9590
|
:example:
|
9071
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
9591
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.1/goldengate/start_deployment.py.html>`__ to see an example of how to use start_deployment API.
|
9072
9592
|
"""
|
9073
9593
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
9074
9594
|
required_arguments = ['deploymentId']
|
@@ -9199,7 +9719,7 @@ class GoldenGateClient(object):
|
|
9199
9719
|
:rtype: :class:`~oci.response.Response`
|
9200
9720
|
|
9201
9721
|
:example:
|
9202
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
9722
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.1/goldengate/start_pipeline.py.html>`__ to see an example of how to use start_pipeline API.
|
9203
9723
|
"""
|
9204
9724
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
9205
9725
|
required_arguments = ['pipelineId']
|
@@ -9328,7 +9848,7 @@ class GoldenGateClient(object):
|
|
9328
9848
|
:rtype: :class:`~oci.response.Response`
|
9329
9849
|
|
9330
9850
|
:example:
|
9331
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
9851
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.1/goldengate/stop_deployment.py.html>`__ to see an example of how to use stop_deployment API.
|
9332
9852
|
"""
|
9333
9853
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
9334
9854
|
required_arguments = ['deploymentId']
|
@@ -9459,7 +9979,7 @@ class GoldenGateClient(object):
|
|
9459
9979
|
:rtype: :class:`~oci.response.Response`
|
9460
9980
|
|
9461
9981
|
:example:
|
9462
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
9982
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.1/goldengate/stop_pipeline.py.html>`__ to see an example of how to use stop_pipeline API.
|
9463
9983
|
"""
|
9464
9984
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
9465
9985
|
required_arguments = ['pipelineId']
|
@@ -9543,6 +10063,124 @@ class GoldenGateClient(object):
|
|
9543
10063
|
api_reference_link=api_reference_link,
|
9544
10064
|
required_arguments=required_arguments)
|
9545
10065
|
|
10066
|
+
def switchover_deployment_peer(self, deployment_id, switchover_deployment_peer_details, **kwargs):
|
10067
|
+
"""
|
10068
|
+
Switchover to the selected standby peer, which can be a local placement or a standby deployment in different region. When provided, If-Match is checked against ETag values of the resource.
|
10069
|
+
|
10070
|
+
|
10071
|
+
:param str deployment_id: (required)
|
10072
|
+
A unique Deployment identifier.
|
10073
|
+
|
10074
|
+
:param oci.golden_gate.models.SwitchoverDeploymentPeerDetails switchover_deployment_peer_details: (required)
|
10075
|
+
Metadata to switchover a deployment to a peer
|
10076
|
+
|
10077
|
+
:param str if_match: (optional)
|
10078
|
+
For optimistic concurrency control. In the PUT or DELETE call for a resource, set the
|
10079
|
+
`if-match` parameter to the value of the etag from a previous GET or POST response for that
|
10080
|
+
resource. The resource is updated or deleted only if the etag you provide matches the
|
10081
|
+
resource's current etag value.
|
10082
|
+
|
10083
|
+
:param str opc_request_id: (optional)
|
10084
|
+
The client request ID for tracing.
|
10085
|
+
|
10086
|
+
:param str opc_retry_token: (optional)
|
10087
|
+
A token that uniquely identifies a request so it can be retried, in case of a timeout or server error,
|
10088
|
+
without the risk of executing that same action again. Retry tokens expire after 24 hours but can be
|
10089
|
+
invalidated before then due to conflicting operations. For example, if a resource was deleted and purged
|
10090
|
+
from the system, then a retry of the original creation request is rejected.
|
10091
|
+
|
10092
|
+
:param obj retry_strategy: (optional)
|
10093
|
+
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
10094
|
+
|
10095
|
+
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.
|
10096
|
+
The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
|
10097
|
+
|
10098
|
+
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
|
10099
|
+
|
10100
|
+
:param bool allow_control_chars: (optional)
|
10101
|
+
allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
|
10102
|
+
By default, the response will not allow control characters in strings
|
10103
|
+
|
10104
|
+
:return: A :class:`~oci.response.Response` object with data of type None
|
10105
|
+
:rtype: :class:`~oci.response.Response`
|
10106
|
+
|
10107
|
+
:example:
|
10108
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.1/goldengate/switchover_deployment_peer.py.html>`__ to see an example of how to use switchover_deployment_peer API.
|
10109
|
+
"""
|
10110
|
+
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
10111
|
+
required_arguments = ['deploymentId']
|
10112
|
+
resource_path = "/deployments/{deploymentId}/actions/switchover"
|
10113
|
+
method = "POST"
|
10114
|
+
operation_name = "switchover_deployment_peer"
|
10115
|
+
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/goldengate/20200407/Deployment/SwitchoverDeploymentPeer"
|
10116
|
+
|
10117
|
+
# Don't accept unknown kwargs
|
10118
|
+
expected_kwargs = [
|
10119
|
+
"allow_control_chars",
|
10120
|
+
"retry_strategy",
|
10121
|
+
"if_match",
|
10122
|
+
"opc_request_id",
|
10123
|
+
"opc_retry_token"
|
10124
|
+
]
|
10125
|
+
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
10126
|
+
if extra_kwargs:
|
10127
|
+
raise ValueError(
|
10128
|
+
f"switchover_deployment_peer got unknown kwargs: {extra_kwargs!r}")
|
10129
|
+
|
10130
|
+
path_params = {
|
10131
|
+
"deploymentId": deployment_id
|
10132
|
+
}
|
10133
|
+
|
10134
|
+
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
|
10135
|
+
|
10136
|
+
for (k, v) in six.iteritems(path_params):
|
10137
|
+
if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
|
10138
|
+
raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
|
10139
|
+
|
10140
|
+
header_params = {
|
10141
|
+
"accept": "application/json",
|
10142
|
+
"content-type": "application/json",
|
10143
|
+
"if-match": kwargs.get("if_match", missing),
|
10144
|
+
"opc-request-id": kwargs.get("opc_request_id", missing),
|
10145
|
+
"opc-retry-token": kwargs.get("opc_retry_token", missing)
|
10146
|
+
}
|
10147
|
+
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
10148
|
+
|
10149
|
+
retry_strategy = self.base_client.get_preferred_retry_strategy(
|
10150
|
+
operation_retry_strategy=kwargs.get('retry_strategy'),
|
10151
|
+
client_retry_strategy=self.retry_strategy
|
10152
|
+
)
|
10153
|
+
if retry_strategy is None:
|
10154
|
+
retry_strategy = retry.DEFAULT_RETRY_STRATEGY
|
10155
|
+
|
10156
|
+
if retry_strategy:
|
10157
|
+
if not isinstance(retry_strategy, retry.NoneRetryStrategy):
|
10158
|
+
self.base_client.add_opc_retry_token_if_needed(header_params)
|
10159
|
+
self.base_client.add_opc_client_retries_header(header_params)
|
10160
|
+
retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
|
10161
|
+
return retry_strategy.make_retrying_call(
|
10162
|
+
self.base_client.call_api,
|
10163
|
+
resource_path=resource_path,
|
10164
|
+
method=method,
|
10165
|
+
path_params=path_params,
|
10166
|
+
header_params=header_params,
|
10167
|
+
body=switchover_deployment_peer_details,
|
10168
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
10169
|
+
operation_name=operation_name,
|
10170
|
+
api_reference_link=api_reference_link,
|
10171
|
+
required_arguments=required_arguments)
|
10172
|
+
else:
|
10173
|
+
return self.base_client.call_api(
|
10174
|
+
resource_path=resource_path,
|
10175
|
+
method=method,
|
10176
|
+
path_params=path_params,
|
10177
|
+
header_params=header_params,
|
10178
|
+
body=switchover_deployment_peer_details,
|
10179
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
10180
|
+
operation_name=operation_name,
|
10181
|
+
api_reference_link=api_reference_link,
|
10182
|
+
required_arguments=required_arguments)
|
10183
|
+
|
9546
10184
|
def test_connection_assignment(self, connection_assignment_id, test_connection_assignment_details, **kwargs):
|
9547
10185
|
"""
|
9548
10186
|
Tests the connectivity between given GoldenGate deployment and one of the associated database / service.
|
@@ -9588,7 +10226,7 @@ class GoldenGateClient(object):
|
|
9588
10226
|
:rtype: :class:`~oci.response.Response`
|
9589
10227
|
|
9590
10228
|
:example:
|
9591
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
10229
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.1/goldengate/test_connection_assignment.py.html>`__ to see an example of how to use test_connection_assignment API.
|
9592
10230
|
"""
|
9593
10231
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
9594
10232
|
required_arguments = ['connectionAssignmentId']
|
@@ -9711,7 +10349,7 @@ class GoldenGateClient(object):
|
|
9711
10349
|
:rtype: :class:`~oci.response.Response`
|
9712
10350
|
|
9713
10351
|
:example:
|
9714
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
10352
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.1/goldengate/test_pipeline_connection.py.html>`__ to see an example of how to use test_pipeline_connection API.
|
9715
10353
|
"""
|
9716
10354
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
9717
10355
|
required_arguments = ['pipelineId']
|
@@ -9830,7 +10468,7 @@ class GoldenGateClient(object):
|
|
9830
10468
|
:rtype: :class:`~oci.response.Response`
|
9831
10469
|
|
9832
10470
|
:example:
|
9833
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
10471
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.1/goldengate/update_connection.py.html>`__ to see an example of how to use update_connection API.
|
9834
10472
|
"""
|
9835
10473
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
9836
10474
|
required_arguments = ['connectionId']
|
@@ -9948,7 +10586,7 @@ class GoldenGateClient(object):
|
|
9948
10586
|
:rtype: :class:`~oci.response.Response`
|
9949
10587
|
|
9950
10588
|
:example:
|
9951
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
10589
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.1/goldengate/update_database_registration.py.html>`__ to see an example of how to use update_database_registration API.
|
9952
10590
|
"""
|
9953
10591
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
9954
10592
|
required_arguments = ['databaseRegistrationId']
|
@@ -10060,7 +10698,7 @@ class GoldenGateClient(object):
|
|
10060
10698
|
:rtype: :class:`~oci.response.Response`
|
10061
10699
|
|
10062
10700
|
:example:
|
10063
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
10701
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.1/goldengate/update_deployment.py.html>`__ to see an example of how to use update_deployment API.
|
10064
10702
|
"""
|
10065
10703
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
10066
10704
|
required_arguments = ['deploymentId']
|
@@ -10180,7 +10818,7 @@ class GoldenGateClient(object):
|
|
10180
10818
|
:rtype: :class:`~oci.response.Response`
|
10181
10819
|
|
10182
10820
|
:example:
|
10183
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
10821
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.1/goldengate/update_deployment_backup.py.html>`__ to see an example of how to use update_deployment_backup API.
|
10184
10822
|
"""
|
10185
10823
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
10186
10824
|
required_arguments = ['deploymentBackupId']
|
@@ -10304,7 +10942,7 @@ class GoldenGateClient(object):
|
|
10304
10942
|
:rtype: :class:`~oci.response.Response`
|
10305
10943
|
|
10306
10944
|
:example:
|
10307
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
10945
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.1/goldengate/update_pipeline.py.html>`__ to see an example of how to use update_pipeline API.
|
10308
10946
|
"""
|
10309
10947
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
10310
10948
|
required_arguments = ['pipelineId']
|
@@ -10430,7 +11068,7 @@ class GoldenGateClient(object):
|
|
10430
11068
|
:rtype: :class:`~oci.response.Response`
|
10431
11069
|
|
10432
11070
|
:example:
|
10433
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
11071
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.1/goldengate/upgrade_deployment.py.html>`__ to see an example of how to use upgrade_deployment API.
|
10434
11072
|
"""
|
10435
11073
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
10436
11074
|
required_arguments = ['deploymentId']
|
@@ -10559,7 +11197,7 @@ class GoldenGateClient(object):
|
|
10559
11197
|
:rtype: :class:`~oci.response.Response`
|
10560
11198
|
|
10561
11199
|
:example:
|
10562
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
11200
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.1/goldengate/upgrade_deployment_upgrade.py.html>`__ to see an example of how to use upgrade_deployment_upgrade API.
|
10563
11201
|
"""
|
10564
11202
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
10565
11203
|
required_arguments = ['deploymentUpgradeId']
|