oci 2.139.0__py3-none-any.whl → 2.140.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- oci/access_governance_cp/access_governance_cp_client.py +8 -8
- oci/adm/application_dependency_management_client.py +36 -36
- oci/ai_anomaly_detection/anomaly_detection_client.py +36 -36
- oci/ai_document/ai_service_document_client.py +26 -26
- oci/ai_language/ai_service_language_client.py +44 -44
- oci/ai_language/models/__init__.py +6 -0
- oci/ai_language/models/batch_detect_dominant_language_details.py +31 -0
- oci/ai_language/models/batch_detect_health_entity_details.py +31 -0
- oci/ai_language/models/batch_detect_language_entities_details.py +31 -0
- oci/ai_language/models/batch_detect_language_key_phrases_details.py +31 -0
- oci/ai_language/models/batch_detect_language_pii_entities_details.py +31 -0
- oci/ai_language/models/batch_detect_language_sentiments_details.py +31 -0
- oci/ai_language/models/batch_detect_language_text_classification_details.py +31 -0
- oci/ai_language/models/batch_language_translation_details.py +93 -0
- oci/ai_language/models/create_endpoint_details.py +78 -0
- oci/ai_language/models/endpoint.py +78 -0
- oci/ai_language/models/endpoint_summary.py +78 -0
- oci/ai_language/models/health_nlu_model_details.py +91 -0
- oci/ai_language/models/hierarchical_entity.py +27 -0
- oci/ai_language/models/meta_info.py +196 -0
- oci/ai_language/models/model_details.py +35 -23
- oci/ai_language/models/named_entity_recognition_model_details.py +1 -1
- oci/ai_language/models/pii_entity_mask.py +14 -0
- oci/ai_language/models/pii_entity_masking.py +64 -2
- oci/ai_language/models/pii_entity_remove.py +16 -2
- oci/ai_language/models/pii_entity_replace.py +14 -0
- oci/ai_language/models/pii_model_details.py +1 -1
- oci/ai_language/models/pre_trained_health_nlu_model_details.py +1 -1
- oci/ai_language/models/pre_trained_key_phrase_extraction_model_details.py +1 -1
- oci/ai_language/models/pre_trained_language_detection_model_details.py +1 -1
- oci/ai_language/models/pre_trained_named_entity_recognition_model_details.py +1 -1
- oci/ai_language/models/pre_trained_pii_model_details.py +1 -1
- oci/ai_language/models/pre_trained_sentiment_analysis_model_details.py +1 -1
- oci/ai_language/models/pre_trained_summarization.py +1 -1
- oci/ai_language/models/pre_trained_text_classification_model_details.py +1 -1
- oci/ai_language/models/pre_trained_translation_model_details.py +91 -0
- oci/ai_language/models/pre_trained_universal_model.py +1 -1
- oci/ai_language/models/text_classification_model_details.py +1 -1
- oci/ai_language/models/update_endpoint_details.py +31 -0
- oci/ai_speech/ai_service_speech_client.py +19 -19
- oci/ai_vision/ai_service_vision_client.py +25 -25
- oci/analytics/analytics_client.py +24 -24
- oci/announcements_service/announcement_client.py +5 -5
- oci/announcements_service/announcement_subscription_client.py +9 -9
- oci/announcements_service/announcements_preferences_client.py +4 -4
- oci/announcements_service/service_client.py +1 -1
- oci/apigateway/api_gateway_client.py +21 -21
- oci/apigateway/deployment_client.py +6 -6
- oci/apigateway/gateway_client.py +6 -6
- oci/apigateway/subscribers_client.py +6 -6
- oci/apigateway/usage_plans_client.py +6 -6
- oci/apigateway/work_requests_client.py +5 -5
- oci/apm_config/config_client.py +9 -9
- oci/apm_control_plane/apm_domain_client.py +14 -14
- oci/apm_synthetics/apm_synthetic_client.py +28 -28
- oci/apm_traces/attributes_client.py +8 -8
- oci/apm_traces/query_client.py +2 -2
- oci/apm_traces/trace_client.py +4 -4
- oci/appmgmt_control/appmgmt_control_client.py +8 -8
- oci/artifacts/artifacts_client.py +32 -32
- oci/audit/audit_client.py +3 -3
- oci/auth/signers/oke_workload_identity_resource_principal_signer.py +12 -5
- oci/autoscaling/auto_scaling_client.py +11 -11
- oci/bastion/bastion_client.py +15 -15
- oci/bds/bds_client.py +72 -72
- 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 +22 -22
- oci/cloud_guard/cloud_guard_client.py +155 -155
- oci/cloud_migrations/migration_client.py +43 -43
- oci/cluster_placement_groups/cluster_placement_groups_cp_client.py +13 -13
- oci/compute_cloud_at_customer/compute_cloud_at_customer_client.py +12 -12
- oci/compute_instance_agent/compute_instance_agent_client.py +6 -6
- oci/compute_instance_agent/plugin_client.py +2 -2
- oci/compute_instance_agent/pluginconfig_client.py +1 -1
- oci/container_engine/container_engine_client.py +44 -44
- oci/container_instances/container_instance_client.py +18 -18
- oci/core/blockstorage_client.py +60 -60
- oci/core/compute_client.py +102 -102
- oci/core/compute_management_client.py +32 -32
- oci/core/models/__init__.py +10 -0
- oci/core/models/instance.py +33 -2
- oci/core/models/instance_configuration_launch_instance_details.py +33 -2
- oci/core/models/launch_instance_details.py +33 -2
- oci/core/models/launch_instance_licensing_config.py +152 -0
- oci/core/models/launch_instance_windows_licensing_config.py +59 -0
- oci/core/models/licensing_config.py +166 -0
- oci/core/models/update_instance_details.py +33 -2
- oci/core/models/update_instance_licensing_config.py +152 -0
- oci/core/models/update_instance_windows_licensing_config.py +59 -0
- oci/core/virtual_network_client.py +247 -247
- oci/dashboard_service/dashboard_client.py +6 -6
- oci/dashboard_service/dashboard_group_client.py +6 -6
- oci/data_catalog/data_catalog_client.py +149 -149
- oci/data_flow/data_flow_client.py +146 -44
- oci/data_flow/data_flow_client_composite_operations.py +39 -0
- oci/data_flow/models/application.py +7 -3
- oci/data_flow/models/application_summary.py +7 -3
- oci/data_integration/data_integration_client.py +163 -163
- oci/data_labeling_service/data_labeling_management_client.py +17 -17
- oci/data_labeling_service_dataplane/data_labeling_client.py +15 -15
- oci/data_safe/data_safe_client.py +292 -292
- oci/data_science/data_science_client.py +92 -92
- oci/database/database_client.py +411 -399
- oci/database/models/__init__.py +4 -0
- oci/database/models/rotate_autonomous_container_database_encryption_key_details.py +76 -0
- oci/database/models/rotate_autonomous_database_encryption_key_details.py +76 -0
- oci/database_management/db_management_client.py +211 -211
- oci/database_management/diagnosability_client.py +4 -4
- oci/database_management/managed_my_sql_databases_client.py +7 -7
- oci/database_management/perfhub_client.py +1 -1
- oci/database_management/sql_tuning_client.py +17 -17
- oci/database_migration/database_migration_client.py +42 -42
- oci/database_tools/database_tools_client.py +23 -23
- oci/delegate_access_control/delegate_access_control_client.py +26 -26
- oci/delegate_access_control/work_request_client.py +4 -4
- oci/demand_signal/occ_demand_signal_client.py +7 -7
- oci/desktops/desktop_service_client.py +21 -21
- oci/devops/devops_client.py +141 -141
- oci/disaster_recovery/disaster_recovery_client.py +289 -31
- oci/disaster_recovery/disaster_recovery_client_composite_operations.py +88 -0
- oci/disaster_recovery/models/__init__.py +8 -0
- oci/disaster_recovery/models/create_dr_plan_details.py +35 -0
- oci/disaster_recovery/models/dr_plan.py +92 -0
- oci/disaster_recovery/models/dr_plan_group.py +55 -0
- oci/disaster_recovery/models/dr_plan_step.py +51 -0
- oci/disaster_recovery/models/dr_plan_summary.py +59 -0
- oci/disaster_recovery/models/refresh_dr_plan_default_details.py +51 -0
- oci/disaster_recovery/models/refresh_dr_plan_details.py +101 -0
- oci/disaster_recovery/models/verify_dr_plan_default_details.py +51 -0
- oci/disaster_recovery/models/verify_dr_plan_details.py +101 -0
- oci/disaster_recovery/models/work_request.py +11 -3
- oci/disaster_recovery/models/work_request_summary.py +11 -3
- oci/dns/dns_client.py +54 -54
- oci/dts/appliance_export_job_client.py +6 -6
- oci/dts/shipping_vendors_client.py +1 -1
- oci/dts/transfer_appliance_client.py +8 -8
- oci/dts/transfer_appliance_entitlement_client.py +3 -3
- oci/dts/transfer_device_client.py +5 -5
- oci/dts/transfer_job_client.py +6 -6
- oci/dts/transfer_package_client.py +7 -7
- oci/em_warehouse/em_warehouse_client.py +13 -13
- oci/email/email_client.py +31 -31
- oci/email_data_plane/email_dp_client.py +1 -1
- oci/events/events_client.py +6 -6
- oci/file_storage/file_storage_client.py +68 -68
- oci/fleet_apps_management/fleet_apps_management_admin_client.py +25 -25
- oci/fleet_apps_management/fleet_apps_management_client.py +35 -35
- oci/fleet_apps_management/fleet_apps_management_maintenance_window_client.py +5 -5
- oci/fleet_apps_management/fleet_apps_management_operations_client.py +26 -26
- oci/fleet_apps_management/fleet_apps_management_runbooks_client.py +12 -12
- oci/fleet_software_update/fleet_software_update_client.py +48 -48
- oci/fleet_software_update/models/__init__.py +12 -0
- oci/fleet_software_update/models/apply_action.py +1 -1
- oci/fleet_software_update/models/apply_action_summary.py +1 -1
- oci/fleet_software_update/models/apply_fsu_job.py +1 -1
- oci/fleet_software_update/models/apply_fsu_job_summary.py +1 -1
- oci/fleet_software_update/models/cleanup_action.py +1 -1
- oci/fleet_software_update/models/cleanup_action_summary.py +1 -1
- oci/fleet_software_update/models/cleanup_fsu_job.py +1 -1
- oci/fleet_software_update/models/cleanup_fsu_job_summary.py +1 -1
- oci/fleet_software_update/models/create_apply_action_details.py +1 -1
- oci/fleet_software_update/models/create_cleanup_action_details.py +1 -1
- oci/fleet_software_update/models/create_fsu_action_details.py +11 -3
- oci/fleet_software_update/models/create_precheck_action_details.py +1 -1
- oci/fleet_software_update/models/create_rollback_action_details.py +1 -1
- oci/fleet_software_update/models/create_rollback_cycle_apply_action_details.py +111 -0
- oci/fleet_software_update/models/create_stage_action_details.py +1 -1
- oci/fleet_software_update/models/db_collection.py +7 -0
- oci/fleet_software_update/models/db_fsu_collection_summary.py +7 -0
- oci/fleet_software_update/models/fsu_action.py +11 -3
- oci/fleet_software_update/models/fsu_action_summary.py +11 -3
- oci/fleet_software_update/models/fsu_collection.py +35 -0
- oci/fleet_software_update/models/fsu_collection_summary.py +35 -0
- oci/fleet_software_update/models/fsu_cycle.py +105 -3
- oci/fleet_software_update/models/fsu_cycle_summary.py +101 -3
- oci/fleet_software_update/models/fsu_job.py +11 -3
- oci/fleet_software_update/models/fsu_job_summary.py +11 -3
- oci/fleet_software_update/models/gi_collection.py +7 -0
- oci/fleet_software_update/models/gi_fsu_collection_summary.py +7 -0
- oci/fleet_software_update/models/next_action_to_execute_details.py +7 -3
- oci/fleet_software_update/models/patch_fsu_cycle.py +16 -1
- oci/fleet_software_update/models/precheck_action.py +1 -1
- oci/fleet_software_update/models/precheck_action_summary.py +1 -1
- oci/fleet_software_update/models/precheck_fsu_job.py +1 -1
- oci/fleet_software_update/models/precheck_fsu_job_summary.py +1 -1
- oci/fleet_software_update/models/rollback_action.py +1 -1
- oci/fleet_software_update/models/rollback_action_summary.py +1 -1
- oci/fleet_software_update/models/rollback_cycle_action.py +226 -0
- oci/fleet_software_update/models/rollback_cycle_action_summary.py +225 -0
- oci/fleet_software_update/models/rollback_cycle_fsu_job.py +278 -0
- oci/fleet_software_update/models/rollback_cycle_fsu_job_summary.py +251 -0
- oci/fleet_software_update/models/rollback_fsu_job.py +1 -1
- oci/fleet_software_update/models/rollback_fsu_job_summary.py +1 -1
- oci/fleet_software_update/models/stage_action.py +1 -1
- oci/fleet_software_update/models/stage_action_summary.py +1 -1
- oci/fleet_software_update/models/stage_fsu_job.py +1 -1
- oci/fleet_software_update/models/stage_fsu_job_summary.py +1 -1
- oci/fleet_software_update/models/update_apply_action_details.py +1 -1
- oci/fleet_software_update/models/update_cleanup_action_details.py +1 -1
- oci/fleet_software_update/models/update_fsu_action_details.py +11 -3
- oci/fleet_software_update/models/update_precheck_action_details.py +1 -1
- oci/fleet_software_update/models/update_rollback_action_details.py +1 -1
- oci/fleet_software_update/models/update_rollback_cycle_action_details.py +72 -0
- oci/fleet_software_update/models/update_stage_action_details.py +1 -1
- oci/fleet_software_update/models/work_request.py +7 -3
- oci/fleet_software_update/models/work_request_summary.py +7 -3
- oci/functions/functions_invoke_client.py +1 -1
- oci/functions/functions_management_client.py +16 -16
- oci/fusion_apps/fusion_applications_client.py +41 -41
- oci/generative_ai/generative_ai_client.py +22 -22
- oci/generative_ai_agent/generative_ai_agent_client.py +33 -33
- oci/generative_ai_agent_runtime/generative_ai_agent_runtime_client.py +5 -5
- oci/generative_ai_inference/generative_ai_inference_client.py +4 -4
- oci/generic_artifacts_content/generic_artifacts_content_client.py +3 -3
- oci/globally_distributed_database/sharded_database_service_client.py +30 -30
- oci/golden_gate/golden_gate_client.py +70 -70
- oci/governance_rules_control_plane/governance_rule_client.py +15 -15
- oci/governance_rules_control_plane/work_request_client.py +5 -5
- oci/healthchecks/health_checks_client.py +17 -17
- oci/identity/identity_client.py +145 -145
- oci/identity_data_plane/dataplane_client.py +2 -2
- oci/identity_domains/identity_domains_client.py +311 -311
- oci/integration/integration_instance_client.py +19 -19
- oci/jms/java_management_service_client.py +75 -75
- oci/jms_java_downloads/java_download_client.py +25 -25
- oci/key_management/ekm_client.py +5 -5
- oci/key_management/kms_crypto_client.py +6 -6
- oci/key_management/kms_hsm_cluster_client.py +12 -12
- oci/key_management/kms_management_client.py +21 -21
- oci/key_management/kms_vault_client.py +14 -14
- oci/license_manager/license_manager_client.py +18 -18
- oci/limits/limits_client.py +4 -4
- oci/limits/quotas_client.py +7 -7
- oci/load_balancer/load_balancer_client.py +61 -61
- oci/lockbox/lockbox_client.py +24 -24
- oci/log_analytics/log_analytics_client.py +193 -193
- oci/logging/logging_management_client.py +30 -30
- oci/loggingingestion/logging_client.py +1 -1
- oci/loggingsearch/log_search_client.py +1 -1
- oci/management_agent/management_agent_client.py +28 -28
- oci/management_dashboard/dashx_apis_client.py +14 -14
- oci/marketplace/account_client.py +2 -2
- oci/marketplace/marketplace_client.py +30 -30
- oci/marketplace_private_offer/attachment_client.py +5 -5
- oci/marketplace_private_offer/offer_client.py +6 -6
- oci/marketplace_publisher/attachment_client.py +5 -5
- oci/marketplace_publisher/marketplace_publisher_client.py +71 -71
- oci/marketplace_publisher/offer_client.py +6 -6
- oci/media_services/media_services_client.py +60 -60
- oci/media_services/media_stream_client.py +2 -2
- oci/monitoring/monitoring_client.py +18 -18
- oci/mysql/channels_client.py +7 -7
- oci/mysql/db_backups_client.py +7 -7
- oci/mysql/db_system_client.py +17 -17
- oci/mysql/mysqlaas_client.py +7 -7
- oci/mysql/replicas_client.py +5 -5
- oci/mysql/work_requests_client.py +4 -4
- oci/network_firewall/network_firewall_client.py +86 -86
- oci/network_load_balancer/network_load_balancer_client.py +34 -34
- oci/nosql/nosql_client.py +24 -24
- oci/object_storage/object_storage_client.py +55 -55
- oci/object_storage/transfer/internal/multipart_object_assembler.py +15 -0
- oci/oce/oce_instance_client.py +10 -10
- oci/oci_control_center/occ_metrics_client.py +3 -3
- oci/ocvp/cluster_client.py +5 -5
- oci/ocvp/esxi_host_client.py +8 -8
- oci/ocvp/sddc_client.py +14 -14
- oci/ocvp/work_request_client.py +4 -4
- oci/oda/management_client.py +59 -59
- oci/oda/oda_client.py +17 -17
- oci/oda/odapackage_client.py +7 -7
- oci/onesubscription/billing_schedule_client.py +1 -1
- oci/onesubscription/commitment_client.py +2 -2
- oci/onesubscription/computed_usage_client.py +3 -3
- oci/onesubscription/invoice_summary_client.py +2 -2
- oci/onesubscription/organization_subscription_client.py +1 -1
- oci/onesubscription/ratecard_client.py +1 -1
- oci/onesubscription/subscribed_service_client.py +2 -2
- oci/onesubscription/subscription_client.py +1 -1
- oci/ons/notification_control_plane_client.py +6 -6
- oci/ons/notification_data_plane_client.py +10 -10
- oci/opa/opa_instance_client.py +13 -13
- oci/opensearch/opensearch_cluster_backup_client.py +4 -4
- oci/opensearch/opensearch_cluster_client.py +14 -14
- oci/operator_access_control/access_requests_client.py +10 -10
- oci/operator_access_control/operator_actions_client.py +2 -2
- oci/operator_access_control/operator_control_assignment_client.py +8 -8
- oci/operator_access_control/operator_control_client.py +6 -6
- oci/opsi/operations_insights_client.py +180 -180
- oci/optimizer/optimizer_client.py +26 -26
- oci/os_management/event_client.py +8 -8
- oci/os_management/os_management_client.py +69 -69
- oci/os_management_hub/event_client.py +8 -8
- oci/os_management_hub/lifecycle_environment_client.py +12 -12
- oci/os_management_hub/managed_instance_client.py +31 -31
- oci/os_management_hub/managed_instance_group_client.py +25 -25
- oci/os_management_hub/management_station_client.py +10 -10
- oci/os_management_hub/onboarding_client.py +6 -6
- oci/os_management_hub/reporting_managed_instance_client.py +3 -3
- oci/os_management_hub/scheduled_job_client.py +7 -7
- oci/os_management_hub/software_source_client.py +27 -27
- oci/os_management_hub/work_request_client.py +4 -4
- oci/osp_gateway/address_rule_service_client.py +1 -1
- oci/osp_gateway/address_service_client.py +2 -2
- oci/osp_gateway/invoice_service_client.py +5 -5
- oci/osp_gateway/subscription_service_client.py +5 -5
- oci/osub_billing_schedule/billing_schedule_client.py +1 -1
- oci/osub_organization_subscription/organization_subscription_client.py +1 -1
- oci/osub_subscription/commitment_client.py +2 -2
- oci/osub_subscription/ratecard_client.py +1 -1
- oci/osub_subscription/subscription_client.py +1 -1
- oci/osub_usage/computed_usage_client.py +3 -3
- oci/psql/postgresql_client.py +33 -33
- oci/queue/queue_admin_client.py +11 -11
- oci/queue/queue_client.py +8 -8
- oci/recovery/database_recovery_client.py +26 -26
- oci/redis/redis_cluster_client.py +12 -12
- oci/resource_manager/resource_manager_client.py +52 -52
- oci/resource_scheduler/schedule_client.py +13 -13
- oci/resource_search/resource_search_client.py +3 -3
- oci/rover/rover_bundle_client.py +8 -8
- oci/rover/rover_cluster_client.py +8 -8
- oci/rover/rover_entitlement_client.py +6 -6
- oci/rover/rover_node_client.py +15 -15
- oci/rover/shape_client.py +1 -1
- oci/rover/work_requests_client.py +5 -5
- oci/sch/connector_plugins_client.py +2 -2
- oci/sch/service_connector_client.py +12 -12
- oci/secrets/secrets_client.py +3 -3
- oci/security_attribute/security_attribute_client.py +18 -18
- oci/service_catalog/service_catalog_client.py +26 -26
- oci/service_manager_proxy/service_manager_proxy_client.py +2 -2
- oci/service_mesh/service_mesh_client.py +48 -48
- oci/stack_monitoring/stack_monitoring_client.py +71 -71
- oci/streaming/stream_admin_client.py +18 -18
- oci/streaming/stream_client.py +8 -8
- oci/tenant_manager_control_plane/domain_client.py +5 -5
- oci/tenant_manager_control_plane/domain_governance_client.py +5 -5
- oci/tenant_manager_control_plane/governance_client.py +2 -2
- oci/tenant_manager_control_plane/link_client.py +3 -3
- oci/tenant_manager_control_plane/orders_client.py +2 -2
- oci/tenant_manager_control_plane/organization_client.py +10 -10
- oci/tenant_manager_control_plane/recipient_invitation_client.py +5 -5
- oci/tenant_manager_control_plane/sender_invitation_client.py +5 -5
- oci/tenant_manager_control_plane/subscription_client.py +11 -11
- oci/tenant_manager_control_plane/work_request_client.py +4 -4
- oci/threat_intelligence/threatintel_client.py +5 -5
- oci/usage/resources_client.py +2 -2
- oci/usage/rewards_client.py +6 -6
- oci/usage/usagelimits_client.py +1 -1
- oci/usage_api/usageapi_client.py +33 -33
- oci/vault/vaults_client.py +13 -13
- oci/vbs_inst/vbs_instance_client.py +10 -10
- oci/version.py +1 -1
- oci/visual_builder/models/__init__.py +8 -4
- oci/visual_builder/models/create_vb_instance_details.py +29 -2
- oci/visual_builder/models/network_endpoint_details.py +102 -0
- oci/visual_builder/models/private_endpoint_details.py +144 -0
- oci/visual_builder/models/update_network_endpoint_details.py +102 -0
- oci/visual_builder/models/update_private_endpoint_details.py +113 -0
- oci/visual_builder/models/update_vb_instance_details.py +29 -2
- oci/visual_builder/models/vb_instance.py +29 -60
- oci/visual_builder/models/vb_instance_summary.py +29 -2
- oci/visual_builder/vb_instance_client.py +129 -13
- oci/visual_builder/vb_instance_client_composite_operations.py +39 -0
- 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.139.0.dist-info → oci-2.140.0.dist-info}/METADATA +1 -1
- {oci-2.139.0.dist-info → oci-2.140.0.dist-info}/RECORD +388 -366
- oci/visual_builder/models/attachment_details.py +0 -218
- oci/visual_builder/models/idcs_info_details.py +0 -198
- {oci-2.139.0.dist-info → oci-2.140.0.dist-info}/LICENSE.txt +0 -0
- {oci-2.139.0.dist-info → oci-2.140.0.dist-info}/THIRD_PARTY_LICENSES.txt +0 -0
- {oci-2.139.0.dist-info → oci-2.140.0.dist-info}/WHEEL +0 -0
- {oci-2.139.0.dist-info → oci-2.140.0.dist-info}/top_level.txt +0 -0
@@ -166,7 +166,7 @@ class DisasterRecoveryClient(object):
|
|
166
166
|
:rtype: :class:`~oci.response.Response`
|
167
167
|
|
168
168
|
:example:
|
169
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
169
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.140.0/disasterrecovery/associate_dr_protection_group.py.html>`__ to see an example of how to use associate_dr_protection_group API.
|
170
170
|
"""
|
171
171
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
172
172
|
required_arguments = ['drProtectionGroupId']
|
@@ -288,7 +288,7 @@ class DisasterRecoveryClient(object):
|
|
288
288
|
:rtype: :class:`~oci.response.Response`
|
289
289
|
|
290
290
|
:example:
|
291
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
291
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.140.0/disasterrecovery/cancel_dr_plan_execution.py.html>`__ to see an example of how to use cancel_dr_plan_execution API.
|
292
292
|
"""
|
293
293
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
294
294
|
required_arguments = ['drPlanExecutionId']
|
@@ -400,7 +400,7 @@ class DisasterRecoveryClient(object):
|
|
400
400
|
:rtype: :class:`~oci.response.Response`
|
401
401
|
|
402
402
|
:example:
|
403
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
403
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.140.0/disasterrecovery/cancel_work_request.py.html>`__ to see an example of how to use cancel_work_request API.
|
404
404
|
"""
|
405
405
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
406
406
|
required_arguments = ['workRequestId']
|
@@ -517,7 +517,7 @@ class DisasterRecoveryClient(object):
|
|
517
517
|
:rtype: :class:`~oci.response.Response`
|
518
518
|
|
519
519
|
:example:
|
520
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
520
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.140.0/disasterrecovery/change_dr_protection_group_compartment.py.html>`__ to see an example of how to use change_dr_protection_group_compartment API.
|
521
521
|
"""
|
522
522
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
523
523
|
required_arguments = ['drProtectionGroupId']
|
@@ -627,7 +627,7 @@ class DisasterRecoveryClient(object):
|
|
627
627
|
:rtype: :class:`~oci.response.Response`
|
628
628
|
|
629
629
|
:example:
|
630
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
630
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.140.0/disasterrecovery/create_dr_plan.py.html>`__ to see an example of how to use create_dr_plan API.
|
631
631
|
"""
|
632
632
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
633
633
|
required_arguments = []
|
@@ -725,7 +725,7 @@ class DisasterRecoveryClient(object):
|
|
725
725
|
:rtype: :class:`~oci.response.Response`
|
726
726
|
|
727
727
|
:example:
|
728
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
728
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.140.0/disasterrecovery/create_dr_plan_execution.py.html>`__ to see an example of how to use create_dr_plan_execution API.
|
729
729
|
"""
|
730
730
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
731
731
|
required_arguments = []
|
@@ -823,7 +823,7 @@ class DisasterRecoveryClient(object):
|
|
823
823
|
:rtype: :class:`~oci.response.Response`
|
824
824
|
|
825
825
|
:example:
|
826
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
826
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.140.0/disasterrecovery/create_dr_protection_group.py.html>`__ to see an example of how to use create_dr_protection_group API.
|
827
827
|
"""
|
828
828
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
829
829
|
required_arguments = []
|
@@ -923,7 +923,7 @@ class DisasterRecoveryClient(object):
|
|
923
923
|
:rtype: :class:`~oci.response.Response`
|
924
924
|
|
925
925
|
:example:
|
926
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
926
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.140.0/disasterrecovery/delete_dr_plan.py.html>`__ to see an example of how to use delete_dr_plan API.
|
927
927
|
"""
|
928
928
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
929
929
|
required_arguments = ['drPlanId']
|
@@ -1030,7 +1030,7 @@ class DisasterRecoveryClient(object):
|
|
1030
1030
|
:rtype: :class:`~oci.response.Response`
|
1031
1031
|
|
1032
1032
|
:example:
|
1033
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1033
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.140.0/disasterrecovery/delete_dr_plan_execution.py.html>`__ to see an example of how to use delete_dr_plan_execution API.
|
1034
1034
|
"""
|
1035
1035
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1036
1036
|
required_arguments = ['drPlanExecutionId']
|
@@ -1137,7 +1137,7 @@ class DisasterRecoveryClient(object):
|
|
1137
1137
|
:rtype: :class:`~oci.response.Response`
|
1138
1138
|
|
1139
1139
|
:example:
|
1140
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1140
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.140.0/disasterrecovery/delete_dr_protection_group.py.html>`__ to see an example of how to use delete_dr_protection_group API.
|
1141
1141
|
"""
|
1142
1142
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1143
1143
|
required_arguments = ['drProtectionGroupId']
|
@@ -1255,7 +1255,7 @@ class DisasterRecoveryClient(object):
|
|
1255
1255
|
:rtype: :class:`~oci.response.Response`
|
1256
1256
|
|
1257
1257
|
:example:
|
1258
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1258
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.140.0/disasterrecovery/disassociate_dr_protection_group.py.html>`__ to see an example of how to use disassociate_dr_protection_group API.
|
1259
1259
|
"""
|
1260
1260
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1261
1261
|
required_arguments = ['drProtectionGroupId']
|
@@ -1360,7 +1360,7 @@ class DisasterRecoveryClient(object):
|
|
1360
1360
|
:rtype: :class:`~oci.response.Response`
|
1361
1361
|
|
1362
1362
|
:example:
|
1363
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1363
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.140.0/disasterrecovery/get_dr_plan.py.html>`__ to see an example of how to use get_dr_plan API.
|
1364
1364
|
"""
|
1365
1365
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1366
1366
|
required_arguments = ['drPlanId']
|
@@ -1460,7 +1460,7 @@ class DisasterRecoveryClient(object):
|
|
1460
1460
|
:rtype: :class:`~oci.response.Response`
|
1461
1461
|
|
1462
1462
|
:example:
|
1463
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1463
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.140.0/disasterrecovery/get_dr_plan_execution.py.html>`__ to see an example of how to use get_dr_plan_execution API.
|
1464
1464
|
"""
|
1465
1465
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1466
1466
|
required_arguments = ['drPlanExecutionId']
|
@@ -1560,7 +1560,7 @@ class DisasterRecoveryClient(object):
|
|
1560
1560
|
:rtype: :class:`~oci.response.Response`
|
1561
1561
|
|
1562
1562
|
:example:
|
1563
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1563
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.140.0/disasterrecovery/get_dr_protection_group.py.html>`__ to see an example of how to use get_dr_protection_group API.
|
1564
1564
|
"""
|
1565
1565
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1566
1566
|
required_arguments = ['drProtectionGroupId']
|
@@ -1660,7 +1660,7 @@ class DisasterRecoveryClient(object):
|
|
1660
1660
|
:rtype: :class:`~oci.response.Response`
|
1661
1661
|
|
1662
1662
|
:example:
|
1663
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1663
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.140.0/disasterrecovery/get_work_request.py.html>`__ to see an example of how to use get_work_request API.
|
1664
1664
|
"""
|
1665
1665
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1666
1666
|
required_arguments = ['workRequestId']
|
@@ -1777,7 +1777,7 @@ class DisasterRecoveryClient(object):
|
|
1777
1777
|
:rtype: :class:`~oci.response.Response`
|
1778
1778
|
|
1779
1779
|
:example:
|
1780
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1780
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.140.0/disasterrecovery/ignore_dr_plan_execution.py.html>`__ to see an example of how to use ignore_dr_plan_execution API.
|
1781
1781
|
"""
|
1782
1782
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1783
1783
|
required_arguments = ['drPlanExecutionId']
|
@@ -1931,7 +1931,7 @@ class DisasterRecoveryClient(object):
|
|
1931
1931
|
:rtype: :class:`~oci.response.Response`
|
1932
1932
|
|
1933
1933
|
:example:
|
1934
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1934
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.140.0/disasterrecovery/list_dr_plan_executions.py.html>`__ to see an example of how to use list_dr_plan_executions API.
|
1935
1935
|
"""
|
1936
1936
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1937
1937
|
required_arguments = ['drProtectionGroupId']
|
@@ -2099,6 +2099,11 @@ class DisasterRecoveryClient(object):
|
|
2099
2099
|
:param str opc_request_id: (optional)
|
2100
2100
|
The client request ID for tracing.
|
2101
2101
|
|
2102
|
+
:param str lifecycle_sub_state: (optional)
|
2103
|
+
A filter to return only DR plans that match the given lifecycle sub-state.
|
2104
|
+
|
2105
|
+
Allowed values are: "NEEDS_REFRESH", "NEEDS_VERIFICATION", "REFRESHING", "VERIFYING"
|
2106
|
+
|
2102
2107
|
:param obj retry_strategy: (optional)
|
2103
2108
|
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
2104
2109
|
|
@@ -2115,7 +2120,7 @@ class DisasterRecoveryClient(object):
|
|
2115
2120
|
:rtype: :class:`~oci.response.Response`
|
2116
2121
|
|
2117
2122
|
:example:
|
2118
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
2123
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.140.0/disasterrecovery/list_dr_plans.py.html>`__ to see an example of how to use list_dr_plans API.
|
2119
2124
|
"""
|
2120
2125
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2121
2126
|
required_arguments = ['drProtectionGroupId']
|
@@ -2136,7 +2141,8 @@ class DisasterRecoveryClient(object):
|
|
2136
2141
|
"page",
|
2137
2142
|
"sort_order",
|
2138
2143
|
"sort_by",
|
2139
|
-
"opc_request_id"
|
2144
|
+
"opc_request_id",
|
2145
|
+
"lifecycle_sub_state"
|
2140
2146
|
]
|
2141
2147
|
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
2142
2148
|
if extra_kwargs:
|
@@ -2171,6 +2177,13 @@ class DisasterRecoveryClient(object):
|
|
2171
2177
|
f"Invalid value for `sort_by`, must be one of { sort_by_allowed_values }"
|
2172
2178
|
)
|
2173
2179
|
|
2180
|
+
if 'lifecycle_sub_state' in kwargs:
|
2181
|
+
lifecycle_sub_state_allowed_values = ["NEEDS_REFRESH", "NEEDS_VERIFICATION", "REFRESHING", "VERIFYING"]
|
2182
|
+
if kwargs['lifecycle_sub_state'] not in lifecycle_sub_state_allowed_values:
|
2183
|
+
raise ValueError(
|
2184
|
+
f"Invalid value for `lifecycle_sub_state`, must be one of { lifecycle_sub_state_allowed_values }"
|
2185
|
+
)
|
2186
|
+
|
2174
2187
|
query_params = {
|
2175
2188
|
"drProtectionGroupId": dr_protection_group_id,
|
2176
2189
|
"lifecycleState": kwargs.get("lifecycle_state", missing),
|
@@ -2180,7 +2193,8 @@ class DisasterRecoveryClient(object):
|
|
2180
2193
|
"limit": kwargs.get("limit", missing),
|
2181
2194
|
"page": kwargs.get("page", missing),
|
2182
2195
|
"sortOrder": kwargs.get("sort_order", missing),
|
2183
|
-
"sortBy": kwargs.get("sort_by", missing)
|
2196
|
+
"sortBy": kwargs.get("sort_by", missing),
|
2197
|
+
"lifecycleSubState": kwargs.get("lifecycle_sub_state", missing)
|
2184
2198
|
}
|
2185
2199
|
query_params = {k: v for (k, v) in six.iteritems(query_params) if v is not missing and v is not None}
|
2186
2200
|
|
@@ -2313,7 +2327,7 @@ class DisasterRecoveryClient(object):
|
|
2313
2327
|
:rtype: :class:`~oci.response.Response`
|
2314
2328
|
|
2315
2329
|
:example:
|
2316
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
2330
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.140.0/disasterrecovery/list_dr_protection_groups.py.html>`__ to see an example of how to use list_dr_protection_groups API.
|
2317
2331
|
"""
|
2318
2332
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2319
2333
|
required_arguments = ['compartmentId']
|
@@ -2493,7 +2507,7 @@ class DisasterRecoveryClient(object):
|
|
2493
2507
|
:rtype: :class:`~oci.response.Response`
|
2494
2508
|
|
2495
2509
|
:example:
|
2496
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
2510
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.140.0/disasterrecovery/list_work_request_errors.py.html>`__ to see an example of how to use list_work_request_errors API.
|
2497
2511
|
"""
|
2498
2512
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2499
2513
|
required_arguments = ['workRequestId']
|
@@ -2653,7 +2667,7 @@ class DisasterRecoveryClient(object):
|
|
2653
2667
|
:rtype: :class:`~oci.response.Response`
|
2654
2668
|
|
2655
2669
|
:example:
|
2656
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
2670
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.140.0/disasterrecovery/list_work_request_logs.py.html>`__ to see an example of how to use list_work_request_logs API.
|
2657
2671
|
"""
|
2658
2672
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2659
2673
|
required_arguments = ['workRequestId']
|
@@ -2828,7 +2842,7 @@ class DisasterRecoveryClient(object):
|
|
2828
2842
|
:rtype: :class:`~oci.response.Response`
|
2829
2843
|
|
2830
2844
|
:example:
|
2831
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
2845
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.140.0/disasterrecovery/list_work_requests.py.html>`__ to see an example of how to use list_work_requests API.
|
2832
2846
|
"""
|
2833
2847
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2834
2848
|
required_arguments = []
|
@@ -2976,7 +2990,7 @@ class DisasterRecoveryClient(object):
|
|
2976
2990
|
:rtype: :class:`~oci.response.Response`
|
2977
2991
|
|
2978
2992
|
:example:
|
2979
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
2993
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.140.0/disasterrecovery/pause_dr_plan_execution.py.html>`__ to see an example of how to use pause_dr_plan_execution API.
|
2980
2994
|
"""
|
2981
2995
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2982
2996
|
required_arguments = ['drPlanExecutionId']
|
@@ -3052,6 +3066,128 @@ class DisasterRecoveryClient(object):
|
|
3052
3066
|
api_reference_link=api_reference_link,
|
3053
3067
|
required_arguments=required_arguments)
|
3054
3068
|
|
3069
|
+
def refresh_dr_plan(self, refresh_dr_plan_details, dr_plan_id, **kwargs):
|
3070
|
+
"""
|
3071
|
+
Refresh DR Plan identified by *drPlanId*.
|
3072
|
+
|
3073
|
+
|
3074
|
+
:param oci.disaster_recovery.models.RefreshDrPlanDetails refresh_dr_plan_details: (required)
|
3075
|
+
Details for refreshing a DR plan.
|
3076
|
+
|
3077
|
+
:param str dr_plan_id: (required)
|
3078
|
+
The OCID of the DR plan.
|
3079
|
+
|
3080
|
+
Example: `ocid1.drplan.oc1..uniqueID`
|
3081
|
+
|
3082
|
+
:param str if_match: (optional)
|
3083
|
+
For optimistic concurrency control. In the PUT or DELETE call
|
3084
|
+
for a resource, set the `if-match` parameter to the value of the
|
3085
|
+
etag from a previous GET or POST response for that resource.
|
3086
|
+
The resource will be updated or deleted only if the etag you
|
3087
|
+
provide matches the resource's current etag value.
|
3088
|
+
|
3089
|
+
:param str opc_retry_token: (optional)
|
3090
|
+
A token that uniquely identifies a request so it can be retried in case of a timeout or
|
3091
|
+
server error without risk of executing that same action again. Retry tokens expire after 24
|
3092
|
+
hours, but can be invalidated before then due to conflicting operations. For example, if a resource
|
3093
|
+
has been deleted and purged from the system, then a retry of the original creation request
|
3094
|
+
might be rejected.
|
3095
|
+
|
3096
|
+
:param str opc_request_id: (optional)
|
3097
|
+
The client request ID for tracing.
|
3098
|
+
|
3099
|
+
:param obj retry_strategy: (optional)
|
3100
|
+
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
3101
|
+
|
3102
|
+
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.
|
3103
|
+
The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
|
3104
|
+
|
3105
|
+
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
|
3106
|
+
|
3107
|
+
:param bool allow_control_chars: (optional)
|
3108
|
+
allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
|
3109
|
+
By default, the response will not allow control characters in strings
|
3110
|
+
|
3111
|
+
:return: A :class:`~oci.response.Response` object with data of type None
|
3112
|
+
:rtype: :class:`~oci.response.Response`
|
3113
|
+
|
3114
|
+
:example:
|
3115
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.140.0/disasterrecovery/refresh_dr_plan.py.html>`__ to see an example of how to use refresh_dr_plan API.
|
3116
|
+
"""
|
3117
|
+
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
3118
|
+
required_arguments = ['drPlanId']
|
3119
|
+
resource_path = "/drPlans/{drPlanId}/actions/refresh"
|
3120
|
+
method = "POST"
|
3121
|
+
operation_name = "refresh_dr_plan"
|
3122
|
+
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/disaster-recovery/20220125/DrPlan/RefreshDrPlan"
|
3123
|
+
|
3124
|
+
# Don't accept unknown kwargs
|
3125
|
+
expected_kwargs = [
|
3126
|
+
"allow_control_chars",
|
3127
|
+
"retry_strategy",
|
3128
|
+
"if_match",
|
3129
|
+
"opc_retry_token",
|
3130
|
+
"opc_request_id"
|
3131
|
+
]
|
3132
|
+
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
3133
|
+
if extra_kwargs:
|
3134
|
+
raise ValueError(
|
3135
|
+
f"refresh_dr_plan got unknown kwargs: {extra_kwargs!r}")
|
3136
|
+
|
3137
|
+
path_params = {
|
3138
|
+
"drPlanId": dr_plan_id
|
3139
|
+
}
|
3140
|
+
|
3141
|
+
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
|
3142
|
+
|
3143
|
+
for (k, v) in six.iteritems(path_params):
|
3144
|
+
if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
|
3145
|
+
raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
|
3146
|
+
|
3147
|
+
header_params = {
|
3148
|
+
"accept": "application/json",
|
3149
|
+
"content-type": "application/json",
|
3150
|
+
"if-match": kwargs.get("if_match", missing),
|
3151
|
+
"opc-retry-token": kwargs.get("opc_retry_token", missing),
|
3152
|
+
"opc-request-id": kwargs.get("opc_request_id", missing)
|
3153
|
+
}
|
3154
|
+
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
3155
|
+
|
3156
|
+
retry_strategy = self.base_client.get_preferred_retry_strategy(
|
3157
|
+
operation_retry_strategy=kwargs.get('retry_strategy'),
|
3158
|
+
client_retry_strategy=self.retry_strategy
|
3159
|
+
)
|
3160
|
+
if retry_strategy is None:
|
3161
|
+
retry_strategy = retry.DEFAULT_RETRY_STRATEGY
|
3162
|
+
|
3163
|
+
if retry_strategy:
|
3164
|
+
if not isinstance(retry_strategy, retry.NoneRetryStrategy):
|
3165
|
+
self.base_client.add_opc_retry_token_if_needed(header_params)
|
3166
|
+
self.base_client.add_opc_client_retries_header(header_params)
|
3167
|
+
retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
|
3168
|
+
return retry_strategy.make_retrying_call(
|
3169
|
+
self.base_client.call_api,
|
3170
|
+
resource_path=resource_path,
|
3171
|
+
method=method,
|
3172
|
+
path_params=path_params,
|
3173
|
+
header_params=header_params,
|
3174
|
+
body=refresh_dr_plan_details,
|
3175
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
3176
|
+
operation_name=operation_name,
|
3177
|
+
api_reference_link=api_reference_link,
|
3178
|
+
required_arguments=required_arguments)
|
3179
|
+
else:
|
3180
|
+
return self.base_client.call_api(
|
3181
|
+
resource_path=resource_path,
|
3182
|
+
method=method,
|
3183
|
+
path_params=path_params,
|
3184
|
+
header_params=header_params,
|
3185
|
+
body=refresh_dr_plan_details,
|
3186
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
3187
|
+
operation_name=operation_name,
|
3188
|
+
api_reference_link=api_reference_link,
|
3189
|
+
required_arguments=required_arguments)
|
3190
|
+
|
3055
3191
|
def resume_dr_plan_execution(self, resume_dr_plan_execution_details, dr_plan_execution_id, **kwargs):
|
3056
3192
|
"""
|
3057
3193
|
Resume the DR plan execution identified by *drPlanExecutionId*.
|
@@ -3098,7 +3234,7 @@ class DisasterRecoveryClient(object):
|
|
3098
3234
|
:rtype: :class:`~oci.response.Response`
|
3099
3235
|
|
3100
3236
|
:example:
|
3101
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
3237
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.140.0/disasterrecovery/resume_dr_plan_execution.py.html>`__ to see an example of how to use resume_dr_plan_execution API.
|
3102
3238
|
"""
|
3103
3239
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
3104
3240
|
required_arguments = ['drPlanExecutionId']
|
@@ -3220,7 +3356,7 @@ class DisasterRecoveryClient(object):
|
|
3220
3356
|
:rtype: :class:`~oci.response.Response`
|
3221
3357
|
|
3222
3358
|
:example:
|
3223
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
3359
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.140.0/disasterrecovery/retry_dr_plan_execution.py.html>`__ to see an example of how to use retry_dr_plan_execution API.
|
3224
3360
|
"""
|
3225
3361
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
3226
3362
|
required_arguments = ['drPlanExecutionId']
|
@@ -3335,7 +3471,7 @@ class DisasterRecoveryClient(object):
|
|
3335
3471
|
:rtype: :class:`~oci.response.Response`
|
3336
3472
|
|
3337
3473
|
:example:
|
3338
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
3474
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.140.0/disasterrecovery/update_dr_plan.py.html>`__ to see an example of how to use update_dr_plan API.
|
3339
3475
|
"""
|
3340
3476
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
3341
3477
|
required_arguments = ['drPlanId']
|
@@ -3447,7 +3583,7 @@ class DisasterRecoveryClient(object):
|
|
3447
3583
|
:rtype: :class:`~oci.response.Response`
|
3448
3584
|
|
3449
3585
|
:example:
|
3450
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
3586
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.140.0/disasterrecovery/update_dr_plan_execution.py.html>`__ to see an example of how to use update_dr_plan_execution API.
|
3451
3587
|
"""
|
3452
3588
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
3453
3589
|
required_arguments = ['drPlanExecutionId']
|
@@ -3559,7 +3695,7 @@ class DisasterRecoveryClient(object):
|
|
3559
3695
|
:rtype: :class:`~oci.response.Response`
|
3560
3696
|
|
3561
3697
|
:example:
|
3562
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
3698
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.140.0/disasterrecovery/update_dr_protection_group.py.html>`__ to see an example of how to use update_dr_protection_group API.
|
3563
3699
|
"""
|
3564
3700
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
3565
3701
|
required_arguments = ['drProtectionGroupId']
|
@@ -3678,7 +3814,7 @@ class DisasterRecoveryClient(object):
|
|
3678
3814
|
:rtype: :class:`~oci.response.Response`
|
3679
3815
|
|
3680
3816
|
:example:
|
3681
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
3817
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.140.0/disasterrecovery/update_dr_protection_group_role.py.html>`__ to see an example of how to use update_dr_protection_group_role API.
|
3682
3818
|
"""
|
3683
3819
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
3684
3820
|
required_arguments = ['drProtectionGroupId']
|
@@ -3753,3 +3889,125 @@ class DisasterRecoveryClient(object):
|
|
3753
3889
|
operation_name=operation_name,
|
3754
3890
|
api_reference_link=api_reference_link,
|
3755
3891
|
required_arguments=required_arguments)
|
3892
|
+
|
3893
|
+
def verify_dr_plan(self, verify_dr_plan_details, dr_plan_id, **kwargs):
|
3894
|
+
"""
|
3895
|
+
Verify DR Plan identified by *drPlanId*.
|
3896
|
+
|
3897
|
+
|
3898
|
+
:param oci.disaster_recovery.models.VerifyDrPlanDetails verify_dr_plan_details: (required)
|
3899
|
+
Details for verifying a DR plan.
|
3900
|
+
|
3901
|
+
:param str dr_plan_id: (required)
|
3902
|
+
The OCID of the DR plan.
|
3903
|
+
|
3904
|
+
Example: `ocid1.drplan.oc1..uniqueID`
|
3905
|
+
|
3906
|
+
:param str if_match: (optional)
|
3907
|
+
For optimistic concurrency control. In the PUT or DELETE call
|
3908
|
+
for a resource, set the `if-match` parameter to the value of the
|
3909
|
+
etag from a previous GET or POST response for that resource.
|
3910
|
+
The resource will be updated or deleted only if the etag you
|
3911
|
+
provide matches the resource's current etag value.
|
3912
|
+
|
3913
|
+
:param str opc_retry_token: (optional)
|
3914
|
+
A token that uniquely identifies a request so it can be retried in case of a timeout or
|
3915
|
+
server error without risk of executing that same action again. Retry tokens expire after 24
|
3916
|
+
hours, but can be invalidated before then due to conflicting operations. For example, if a resource
|
3917
|
+
has been deleted and purged from the system, then a retry of the original creation request
|
3918
|
+
might be rejected.
|
3919
|
+
|
3920
|
+
:param str opc_request_id: (optional)
|
3921
|
+
The client request ID for tracing.
|
3922
|
+
|
3923
|
+
:param obj retry_strategy: (optional)
|
3924
|
+
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
3925
|
+
|
3926
|
+
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.
|
3927
|
+
The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
|
3928
|
+
|
3929
|
+
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
|
3930
|
+
|
3931
|
+
:param bool allow_control_chars: (optional)
|
3932
|
+
allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
|
3933
|
+
By default, the response will not allow control characters in strings
|
3934
|
+
|
3935
|
+
:return: A :class:`~oci.response.Response` object with data of type None
|
3936
|
+
:rtype: :class:`~oci.response.Response`
|
3937
|
+
|
3938
|
+
:example:
|
3939
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.140.0/disasterrecovery/verify_dr_plan.py.html>`__ to see an example of how to use verify_dr_plan API.
|
3940
|
+
"""
|
3941
|
+
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
3942
|
+
required_arguments = ['drPlanId']
|
3943
|
+
resource_path = "/drPlans/{drPlanId}/actions/verify"
|
3944
|
+
method = "POST"
|
3945
|
+
operation_name = "verify_dr_plan"
|
3946
|
+
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/disaster-recovery/20220125/DrPlan/VerifyDrPlan"
|
3947
|
+
|
3948
|
+
# Don't accept unknown kwargs
|
3949
|
+
expected_kwargs = [
|
3950
|
+
"allow_control_chars",
|
3951
|
+
"retry_strategy",
|
3952
|
+
"if_match",
|
3953
|
+
"opc_retry_token",
|
3954
|
+
"opc_request_id"
|
3955
|
+
]
|
3956
|
+
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
3957
|
+
if extra_kwargs:
|
3958
|
+
raise ValueError(
|
3959
|
+
f"verify_dr_plan got unknown kwargs: {extra_kwargs!r}")
|
3960
|
+
|
3961
|
+
path_params = {
|
3962
|
+
"drPlanId": dr_plan_id
|
3963
|
+
}
|
3964
|
+
|
3965
|
+
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
|
3966
|
+
|
3967
|
+
for (k, v) in six.iteritems(path_params):
|
3968
|
+
if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
|
3969
|
+
raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
|
3970
|
+
|
3971
|
+
header_params = {
|
3972
|
+
"accept": "application/json",
|
3973
|
+
"content-type": "application/json",
|
3974
|
+
"if-match": kwargs.get("if_match", missing),
|
3975
|
+
"opc-retry-token": kwargs.get("opc_retry_token", missing),
|
3976
|
+
"opc-request-id": kwargs.get("opc_request_id", missing)
|
3977
|
+
}
|
3978
|
+
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
3979
|
+
|
3980
|
+
retry_strategy = self.base_client.get_preferred_retry_strategy(
|
3981
|
+
operation_retry_strategy=kwargs.get('retry_strategy'),
|
3982
|
+
client_retry_strategy=self.retry_strategy
|
3983
|
+
)
|
3984
|
+
if retry_strategy is None:
|
3985
|
+
retry_strategy = retry.DEFAULT_RETRY_STRATEGY
|
3986
|
+
|
3987
|
+
if retry_strategy:
|
3988
|
+
if not isinstance(retry_strategy, retry.NoneRetryStrategy):
|
3989
|
+
self.base_client.add_opc_retry_token_if_needed(header_params)
|
3990
|
+
self.base_client.add_opc_client_retries_header(header_params)
|
3991
|
+
retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
|
3992
|
+
return retry_strategy.make_retrying_call(
|
3993
|
+
self.base_client.call_api,
|
3994
|
+
resource_path=resource_path,
|
3995
|
+
method=method,
|
3996
|
+
path_params=path_params,
|
3997
|
+
header_params=header_params,
|
3998
|
+
body=verify_dr_plan_details,
|
3999
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
4000
|
+
operation_name=operation_name,
|
4001
|
+
api_reference_link=api_reference_link,
|
4002
|
+
required_arguments=required_arguments)
|
4003
|
+
else:
|
4004
|
+
return self.base_client.call_api(
|
4005
|
+
resource_path=resource_path,
|
4006
|
+
method=method,
|
4007
|
+
path_params=path_params,
|
4008
|
+
header_params=header_params,
|
4009
|
+
body=verify_dr_plan_details,
|
4010
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
4011
|
+
operation_name=operation_name,
|
4012
|
+
api_reference_link=api_reference_link,
|
4013
|
+
required_arguments=required_arguments)
|