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
@@ -565,6 +565,50 @@ class DisasterRecoveryClientCompositeOperations(object):
|
|
565
565
|
except Exception as e:
|
566
566
|
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
567
567
|
|
568
|
+
def refresh_dr_plan_and_wait_for_state(self, refresh_dr_plan_details, dr_plan_id, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
|
569
|
+
"""
|
570
|
+
Calls :py:func:`~oci.disaster_recovery.DisasterRecoveryClient.refresh_dr_plan` and waits for the :py:class:`~oci.disaster_recovery.models.WorkRequest`
|
571
|
+
to enter the given state(s).
|
572
|
+
|
573
|
+
:param oci.disaster_recovery.models.RefreshDrPlanDetails refresh_dr_plan_details: (required)
|
574
|
+
Details for refreshing a DR plan.
|
575
|
+
|
576
|
+
:param str dr_plan_id: (required)
|
577
|
+
The OCID of the DR plan.
|
578
|
+
|
579
|
+
Example: `ocid1.drplan.oc1..uniqueID`
|
580
|
+
|
581
|
+
:param list[str] wait_for_states:
|
582
|
+
An array of states to wait on. These should be valid values for :py:attr:`~oci.disaster_recovery.models.WorkRequest.status`
|
583
|
+
|
584
|
+
:param dict operation_kwargs:
|
585
|
+
A dictionary of keyword arguments to pass to :py:func:`~oci.disaster_recovery.DisasterRecoveryClient.refresh_dr_plan`
|
586
|
+
|
587
|
+
:param dict waiter_kwargs:
|
588
|
+
A dictionary of keyword arguments to pass to the :py:func:`oci.wait_until` function. For example, you could pass ``max_interval_seconds`` or ``max_interval_seconds``
|
589
|
+
as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
|
590
|
+
"""
|
591
|
+
operation_result = self.client.refresh_dr_plan(refresh_dr_plan_details, dr_plan_id, **operation_kwargs)
|
592
|
+
if not wait_for_states:
|
593
|
+
return operation_result
|
594
|
+
lowered_wait_for_states = [w.lower() for w in wait_for_states]
|
595
|
+
if 'opc-work-request-id' not in operation_result.headers:
|
596
|
+
return operation_result
|
597
|
+
wait_for_resource_id = operation_result.headers['opc-work-request-id']
|
598
|
+
|
599
|
+
try:
|
600
|
+
waiter_result = oci.wait_until(
|
601
|
+
self.client,
|
602
|
+
self.client.get_work_request(wait_for_resource_id),
|
603
|
+
evaluate_response=lambda r: getattr(r.data, 'status') and getattr(r.data, 'status').lower() in lowered_wait_for_states,
|
604
|
+
**waiter_kwargs
|
605
|
+
)
|
606
|
+
result_to_return = waiter_result
|
607
|
+
|
608
|
+
return result_to_return
|
609
|
+
except Exception as e:
|
610
|
+
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
611
|
+
|
568
612
|
def resume_dr_plan_execution_and_wait_for_state(self, resume_dr_plan_execution_details, dr_plan_execution_id, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
|
569
613
|
"""
|
570
614
|
Calls :py:func:`~oci.disaster_recovery.DisasterRecoveryClient.resume_dr_plan_execution` and waits for the :py:class:`~oci.disaster_recovery.models.WorkRequest`
|
@@ -828,3 +872,47 @@ class DisasterRecoveryClientCompositeOperations(object):
|
|
828
872
|
return result_to_return
|
829
873
|
except Exception as e:
|
830
874
|
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
875
|
+
|
876
|
+
def verify_dr_plan_and_wait_for_state(self, verify_dr_plan_details, dr_plan_id, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
|
877
|
+
"""
|
878
|
+
Calls :py:func:`~oci.disaster_recovery.DisasterRecoveryClient.verify_dr_plan` and waits for the :py:class:`~oci.disaster_recovery.models.WorkRequest`
|
879
|
+
to enter the given state(s).
|
880
|
+
|
881
|
+
:param oci.disaster_recovery.models.VerifyDrPlanDetails verify_dr_plan_details: (required)
|
882
|
+
Details for verifying a DR plan.
|
883
|
+
|
884
|
+
:param str dr_plan_id: (required)
|
885
|
+
The OCID of the DR plan.
|
886
|
+
|
887
|
+
Example: `ocid1.drplan.oc1..uniqueID`
|
888
|
+
|
889
|
+
:param list[str] wait_for_states:
|
890
|
+
An array of states to wait on. These should be valid values for :py:attr:`~oci.disaster_recovery.models.WorkRequest.status`
|
891
|
+
|
892
|
+
:param dict operation_kwargs:
|
893
|
+
A dictionary of keyword arguments to pass to :py:func:`~oci.disaster_recovery.DisasterRecoveryClient.verify_dr_plan`
|
894
|
+
|
895
|
+
:param dict waiter_kwargs:
|
896
|
+
A dictionary of keyword arguments to pass to the :py:func:`oci.wait_until` function. For example, you could pass ``max_interval_seconds`` or ``max_interval_seconds``
|
897
|
+
as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
|
898
|
+
"""
|
899
|
+
operation_result = self.client.verify_dr_plan(verify_dr_plan_details, dr_plan_id, **operation_kwargs)
|
900
|
+
if not wait_for_states:
|
901
|
+
return operation_result
|
902
|
+
lowered_wait_for_states = [w.lower() for w in wait_for_states]
|
903
|
+
if 'opc-work-request-id' not in operation_result.headers:
|
904
|
+
return operation_result
|
905
|
+
wait_for_resource_id = operation_result.headers['opc-work-request-id']
|
906
|
+
|
907
|
+
try:
|
908
|
+
waiter_result = oci.wait_until(
|
909
|
+
self.client,
|
910
|
+
self.client.get_work_request(wait_for_resource_id),
|
911
|
+
evaluate_response=lambda r: getattr(r.data, 'status') and getattr(r.data, 'status').lower() in lowered_wait_for_states,
|
912
|
+
**waiter_kwargs
|
913
|
+
)
|
914
|
+
result_to_return = waiter_result
|
915
|
+
|
916
|
+
return result_to_return
|
917
|
+
except Exception as e:
|
918
|
+
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
@@ -92,6 +92,8 @@ from .object_storage_log_location import ObjectStorageLogLocation
|
|
92
92
|
from .object_storage_script_location import ObjectStorageScriptLocation
|
93
93
|
from .object_store_script_precheck_step import ObjectStoreScriptPrecheckStep
|
94
94
|
from .pause_dr_plan_execution_details import PauseDrPlanExecutionDetails
|
95
|
+
from .refresh_dr_plan_default_details import RefreshDrPlanDefaultDetails
|
96
|
+
from .refresh_dr_plan_details import RefreshDrPlanDetails
|
95
97
|
from .resume_dr_plan_execution_details import ResumeDrPlanExecutionDetails
|
96
98
|
from .retry_dr_plan_execution_details import RetryDrPlanExecutionDetails
|
97
99
|
from .run_local_script_user_defined_step import RunLocalScriptUserDefinedStep
|
@@ -142,6 +144,8 @@ from .update_object_storage_script_location_details import UpdateObjectStorageSc
|
|
142
144
|
from .update_object_store_script_precheck_step_details import UpdateObjectStoreScriptPrecheckStepDetails
|
143
145
|
from .update_run_local_script_user_defined_step_details import UpdateRunLocalScriptUserDefinedStepDetails
|
144
146
|
from .update_run_object_store_script_user_defined_step_details import UpdateRunObjectStoreScriptUserDefinedStepDetails
|
147
|
+
from .verify_dr_plan_default_details import VerifyDrPlanDefaultDetails
|
148
|
+
from .verify_dr_plan_details import VerifyDrPlanDetails
|
145
149
|
from .work_request import WorkRequest
|
146
150
|
from .work_request_error import WorkRequestError
|
147
151
|
from .work_request_error_collection import WorkRequestErrorCollection
|
@@ -239,6 +243,8 @@ disaster_recovery_type_mapping = {
|
|
239
243
|
"ObjectStorageScriptLocation": ObjectStorageScriptLocation,
|
240
244
|
"ObjectStoreScriptPrecheckStep": ObjectStoreScriptPrecheckStep,
|
241
245
|
"PauseDrPlanExecutionDetails": PauseDrPlanExecutionDetails,
|
246
|
+
"RefreshDrPlanDefaultDetails": RefreshDrPlanDefaultDetails,
|
247
|
+
"RefreshDrPlanDetails": RefreshDrPlanDetails,
|
242
248
|
"ResumeDrPlanExecutionDetails": ResumeDrPlanExecutionDetails,
|
243
249
|
"RetryDrPlanExecutionDetails": RetryDrPlanExecutionDetails,
|
244
250
|
"RunLocalScriptUserDefinedStep": RunLocalScriptUserDefinedStep,
|
@@ -289,6 +295,8 @@ disaster_recovery_type_mapping = {
|
|
289
295
|
"UpdateObjectStoreScriptPrecheckStepDetails": UpdateObjectStoreScriptPrecheckStepDetails,
|
290
296
|
"UpdateRunLocalScriptUserDefinedStepDetails": UpdateRunLocalScriptUserDefinedStepDetails,
|
291
297
|
"UpdateRunObjectStoreScriptUserDefinedStepDetails": UpdateRunObjectStoreScriptUserDefinedStepDetails,
|
298
|
+
"VerifyDrPlanDefaultDetails": VerifyDrPlanDefaultDetails,
|
299
|
+
"VerifyDrPlanDetails": VerifyDrPlanDetails,
|
292
300
|
"WorkRequest": WorkRequest,
|
293
301
|
"WorkRequestError": WorkRequestError,
|
294
302
|
"WorkRequestErrorCollection": WorkRequestErrorCollection,
|
@@ -49,6 +49,10 @@ class CreateDrPlanDetails(object):
|
|
49
49
|
The value to assign to the dr_protection_group_id property of this CreateDrPlanDetails.
|
50
50
|
:type dr_protection_group_id: str
|
51
51
|
|
52
|
+
:param source_plan_id:
|
53
|
+
The value to assign to the source_plan_id property of this CreateDrPlanDetails.
|
54
|
+
:type source_plan_id: str
|
55
|
+
|
52
56
|
:param freeform_tags:
|
53
57
|
The value to assign to the freeform_tags property of this CreateDrPlanDetails.
|
54
58
|
:type freeform_tags: dict(str, str)
|
@@ -62,6 +66,7 @@ class CreateDrPlanDetails(object):
|
|
62
66
|
'display_name': 'str',
|
63
67
|
'type': 'str',
|
64
68
|
'dr_protection_group_id': 'str',
|
69
|
+
'source_plan_id': 'str',
|
65
70
|
'freeform_tags': 'dict(str, str)',
|
66
71
|
'defined_tags': 'dict(str, dict(str, object))'
|
67
72
|
}
|
@@ -70,6 +75,7 @@ class CreateDrPlanDetails(object):
|
|
70
75
|
'display_name': 'displayName',
|
71
76
|
'type': 'type',
|
72
77
|
'dr_protection_group_id': 'drProtectionGroupId',
|
78
|
+
'source_plan_id': 'sourcePlanId',
|
73
79
|
'freeform_tags': 'freeformTags',
|
74
80
|
'defined_tags': 'definedTags'
|
75
81
|
}
|
@@ -77,6 +83,7 @@ class CreateDrPlanDetails(object):
|
|
77
83
|
self._display_name = None
|
78
84
|
self._type = None
|
79
85
|
self._dr_protection_group_id = None
|
86
|
+
self._source_plan_id = None
|
80
87
|
self._freeform_tags = None
|
81
88
|
self._defined_tags = None
|
82
89
|
|
@@ -167,6 +174,34 @@ class CreateDrPlanDetails(object):
|
|
167
174
|
"""
|
168
175
|
self._dr_protection_group_id = dr_protection_group_id
|
169
176
|
|
177
|
+
@property
|
178
|
+
def source_plan_id(self):
|
179
|
+
"""
|
180
|
+
Gets the source_plan_id of this CreateDrPlanDetails.
|
181
|
+
The OCID of the source DR plan that should be cloned.
|
182
|
+
|
183
|
+
Example: `ocid1.drplan.oc1..uniqueID`
|
184
|
+
|
185
|
+
|
186
|
+
:return: The source_plan_id of this CreateDrPlanDetails.
|
187
|
+
:rtype: str
|
188
|
+
"""
|
189
|
+
return self._source_plan_id
|
190
|
+
|
191
|
+
@source_plan_id.setter
|
192
|
+
def source_plan_id(self, source_plan_id):
|
193
|
+
"""
|
194
|
+
Sets the source_plan_id of this CreateDrPlanDetails.
|
195
|
+
The OCID of the source DR plan that should be cloned.
|
196
|
+
|
197
|
+
Example: `ocid1.drplan.oc1..uniqueID`
|
198
|
+
|
199
|
+
|
200
|
+
:param source_plan_id: The source_plan_id of this CreateDrPlanDetails.
|
201
|
+
:type: str
|
202
|
+
"""
|
203
|
+
self._source_plan_id = source_plan_id
|
204
|
+
|
170
205
|
@property
|
171
206
|
def freeform_tags(self):
|
172
207
|
"""
|
@@ -63,6 +63,22 @@ class DrPlan(object):
|
|
63
63
|
#: This constant has a value of "NEEDS_ATTENTION"
|
64
64
|
LIFECYCLE_STATE_NEEDS_ATTENTION = "NEEDS_ATTENTION"
|
65
65
|
|
66
|
+
#: A constant which can be used with the lifecycle_sub_state property of a DrPlan.
|
67
|
+
#: This constant has a value of "NEEDS_REFRESH"
|
68
|
+
LIFECYCLE_SUB_STATE_NEEDS_REFRESH = "NEEDS_REFRESH"
|
69
|
+
|
70
|
+
#: A constant which can be used with the lifecycle_sub_state property of a DrPlan.
|
71
|
+
#: This constant has a value of "NEEDS_VERIFICATION"
|
72
|
+
LIFECYCLE_SUB_STATE_NEEDS_VERIFICATION = "NEEDS_VERIFICATION"
|
73
|
+
|
74
|
+
#: A constant which can be used with the lifecycle_sub_state property of a DrPlan.
|
75
|
+
#: This constant has a value of "REFRESHING"
|
76
|
+
LIFECYCLE_SUB_STATE_REFRESHING = "REFRESHING"
|
77
|
+
|
78
|
+
#: A constant which can be used with the lifecycle_sub_state property of a DrPlan.
|
79
|
+
#: This constant has a value of "VERIFYING"
|
80
|
+
LIFECYCLE_SUB_STATE_VERIFYING = "VERIFYING"
|
81
|
+
|
66
82
|
def __init__(self, **kwargs):
|
67
83
|
"""
|
68
84
|
Initializes a new DrPlan object with values from keyword arguments.
|
@@ -106,6 +122,10 @@ class DrPlan(object):
|
|
106
122
|
The value to assign to the peer_region property of this DrPlan.
|
107
123
|
:type peer_region: str
|
108
124
|
|
125
|
+
:param source_plan_id:
|
126
|
+
The value to assign to the source_plan_id property of this DrPlan.
|
127
|
+
:type source_plan_id: str
|
128
|
+
|
109
129
|
:param plan_groups:
|
110
130
|
The value to assign to the plan_groups property of this DrPlan.
|
111
131
|
:type plan_groups: list[oci.disaster_recovery.models.DrPlanGroup]
|
@@ -116,6 +136,12 @@ class DrPlan(object):
|
|
116
136
|
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
|
117
137
|
:type lifecycle_state: str
|
118
138
|
|
139
|
+
:param lifecycle_sub_state:
|
140
|
+
The value to assign to the lifecycle_sub_state property of this DrPlan.
|
141
|
+
Allowed values for this property are: "NEEDS_REFRESH", "NEEDS_VERIFICATION", "REFRESHING", "VERIFYING", 'UNKNOWN_ENUM_VALUE'.
|
142
|
+
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
|
143
|
+
:type lifecycle_sub_state: str
|
144
|
+
|
119
145
|
:param life_cycle_details:
|
120
146
|
The value to assign to the life_cycle_details property of this DrPlan.
|
121
147
|
:type life_cycle_details: str
|
@@ -143,8 +169,10 @@ class DrPlan(object):
|
|
143
169
|
'dr_protection_group_id': 'str',
|
144
170
|
'peer_dr_protection_group_id': 'str',
|
145
171
|
'peer_region': 'str',
|
172
|
+
'source_plan_id': 'str',
|
146
173
|
'plan_groups': 'list[DrPlanGroup]',
|
147
174
|
'lifecycle_state': 'str',
|
175
|
+
'lifecycle_sub_state': 'str',
|
148
176
|
'life_cycle_details': 'str',
|
149
177
|
'freeform_tags': 'dict(str, str)',
|
150
178
|
'defined_tags': 'dict(str, dict(str, object))',
|
@@ -161,8 +189,10 @@ class DrPlan(object):
|
|
161
189
|
'dr_protection_group_id': 'drProtectionGroupId',
|
162
190
|
'peer_dr_protection_group_id': 'peerDrProtectionGroupId',
|
163
191
|
'peer_region': 'peerRegion',
|
192
|
+
'source_plan_id': 'sourcePlanId',
|
164
193
|
'plan_groups': 'planGroups',
|
165
194
|
'lifecycle_state': 'lifecycleState',
|
195
|
+
'lifecycle_sub_state': 'lifecycleSubState',
|
166
196
|
'life_cycle_details': 'lifeCycleDetails',
|
167
197
|
'freeform_tags': 'freeformTags',
|
168
198
|
'defined_tags': 'definedTags',
|
@@ -178,8 +208,10 @@ class DrPlan(object):
|
|
178
208
|
self._dr_protection_group_id = None
|
179
209
|
self._peer_dr_protection_group_id = None
|
180
210
|
self._peer_region = None
|
211
|
+
self._source_plan_id = None
|
181
212
|
self._plan_groups = None
|
182
213
|
self._lifecycle_state = None
|
214
|
+
self._lifecycle_sub_state = None
|
183
215
|
self._life_cycle_details = None
|
184
216
|
self._freeform_tags = None
|
185
217
|
self._defined_tags = None
|
@@ -443,6 +475,36 @@ class DrPlan(object):
|
|
443
475
|
"""
|
444
476
|
self._peer_region = peer_region
|
445
477
|
|
478
|
+
@property
|
479
|
+
def source_plan_id(self):
|
480
|
+
"""
|
481
|
+
Gets the source_plan_id of this DrPlan.
|
482
|
+
If this is a cloned DR plan, the OCID of the source DR plan that was used to clone this DR plan.
|
483
|
+
If this DR plan was not cloned, then the value for this will be `null`.
|
484
|
+
|
485
|
+
Example: `ocid1.drplan.oc1..uniqueID`
|
486
|
+
|
487
|
+
|
488
|
+
:return: The source_plan_id of this DrPlan.
|
489
|
+
:rtype: str
|
490
|
+
"""
|
491
|
+
return self._source_plan_id
|
492
|
+
|
493
|
+
@source_plan_id.setter
|
494
|
+
def source_plan_id(self, source_plan_id):
|
495
|
+
"""
|
496
|
+
Sets the source_plan_id of this DrPlan.
|
497
|
+
If this is a cloned DR plan, the OCID of the source DR plan that was used to clone this DR plan.
|
498
|
+
If this DR plan was not cloned, then the value for this will be `null`.
|
499
|
+
|
500
|
+
Example: `ocid1.drplan.oc1..uniqueID`
|
501
|
+
|
502
|
+
|
503
|
+
:param source_plan_id: The source_plan_id of this DrPlan.
|
504
|
+
:type: str
|
505
|
+
"""
|
506
|
+
self._source_plan_id = source_plan_id
|
507
|
+
|
446
508
|
@property
|
447
509
|
def plan_groups(self):
|
448
510
|
"""
|
@@ -497,6 +559,36 @@ class DrPlan(object):
|
|
497
559
|
lifecycle_state = 'UNKNOWN_ENUM_VALUE'
|
498
560
|
self._lifecycle_state = lifecycle_state
|
499
561
|
|
562
|
+
@property
|
563
|
+
def lifecycle_sub_state(self):
|
564
|
+
"""
|
565
|
+
Gets the lifecycle_sub_state of this DrPlan.
|
566
|
+
The current state of the DR plan.
|
567
|
+
|
568
|
+
Allowed values for this property are: "NEEDS_REFRESH", "NEEDS_VERIFICATION", "REFRESHING", "VERIFYING", 'UNKNOWN_ENUM_VALUE'.
|
569
|
+
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
|
570
|
+
|
571
|
+
|
572
|
+
:return: The lifecycle_sub_state of this DrPlan.
|
573
|
+
:rtype: str
|
574
|
+
"""
|
575
|
+
return self._lifecycle_sub_state
|
576
|
+
|
577
|
+
@lifecycle_sub_state.setter
|
578
|
+
def lifecycle_sub_state(self, lifecycle_sub_state):
|
579
|
+
"""
|
580
|
+
Sets the lifecycle_sub_state of this DrPlan.
|
581
|
+
The current state of the DR plan.
|
582
|
+
|
583
|
+
|
584
|
+
:param lifecycle_sub_state: The lifecycle_sub_state of this DrPlan.
|
585
|
+
:type: str
|
586
|
+
"""
|
587
|
+
allowed_values = ["NEEDS_REFRESH", "NEEDS_VERIFICATION", "REFRESHING", "VERIFYING"]
|
588
|
+
if not value_allowed_none_or_none_sentinel(lifecycle_sub_state, allowed_values):
|
589
|
+
lifecycle_sub_state = 'UNKNOWN_ENUM_VALUE'
|
590
|
+
self._lifecycle_sub_state = lifecycle_sub_state
|
591
|
+
|
500
592
|
@property
|
501
593
|
def life_cycle_details(self):
|
502
594
|
"""
|
@@ -31,6 +31,18 @@ class DrPlanGroup(object):
|
|
31
31
|
#: This constant has a value of "USER_DEFINED_PAUSE"
|
32
32
|
TYPE_USER_DEFINED_PAUSE = "USER_DEFINED_PAUSE"
|
33
33
|
|
34
|
+
#: A constant which can be used with the refresh_status property of a DrPlanGroup.
|
35
|
+
#: This constant has a value of "GROUP_ADDED"
|
36
|
+
REFRESH_STATUS_GROUP_ADDED = "GROUP_ADDED"
|
37
|
+
|
38
|
+
#: A constant which can be used with the refresh_status property of a DrPlanGroup.
|
39
|
+
#: This constant has a value of "GROUP_DELETED"
|
40
|
+
REFRESH_STATUS_GROUP_DELETED = "GROUP_DELETED"
|
41
|
+
|
42
|
+
#: A constant which can be used with the refresh_status property of a DrPlanGroup.
|
43
|
+
#: This constant has a value of "GROUP_MODIFIED"
|
44
|
+
REFRESH_STATUS_GROUP_MODIFIED = "GROUP_MODIFIED"
|
45
|
+
|
34
46
|
def __init__(self, **kwargs):
|
35
47
|
"""
|
36
48
|
Initializes a new DrPlanGroup object with values from keyword arguments.
|
@@ -46,6 +58,12 @@ class DrPlanGroup(object):
|
|
46
58
|
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
|
47
59
|
:type type: str
|
48
60
|
|
61
|
+
:param refresh_status:
|
62
|
+
The value to assign to the refresh_status property of this DrPlanGroup.
|
63
|
+
Allowed values for this property are: "GROUP_ADDED", "GROUP_DELETED", "GROUP_MODIFIED", 'UNKNOWN_ENUM_VALUE'.
|
64
|
+
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
|
65
|
+
:type refresh_status: str
|
66
|
+
|
49
67
|
:param display_name:
|
50
68
|
The value to assign to the display_name property of this DrPlanGroup.
|
51
69
|
:type display_name: str
|
@@ -62,6 +80,7 @@ class DrPlanGroup(object):
|
|
62
80
|
self.swagger_types = {
|
63
81
|
'id': 'str',
|
64
82
|
'type': 'str',
|
83
|
+
'refresh_status': 'str',
|
65
84
|
'display_name': 'str',
|
66
85
|
'is_pause_enabled': 'bool',
|
67
86
|
'steps': 'list[DrPlanStep]'
|
@@ -70,6 +89,7 @@ class DrPlanGroup(object):
|
|
70
89
|
self.attribute_map = {
|
71
90
|
'id': 'id',
|
72
91
|
'type': 'type',
|
92
|
+
'refresh_status': 'refreshStatus',
|
73
93
|
'display_name': 'displayName',
|
74
94
|
'is_pause_enabled': 'isPauseEnabled',
|
75
95
|
'steps': 'steps'
|
@@ -77,6 +97,7 @@ class DrPlanGroup(object):
|
|
77
97
|
|
78
98
|
self._id = None
|
79
99
|
self._type = None
|
100
|
+
self._refresh_status = None
|
80
101
|
self._display_name = None
|
81
102
|
self._is_pause_enabled = None
|
82
103
|
self._steps = None
|
@@ -143,6 +164,40 @@ class DrPlanGroup(object):
|
|
143
164
|
type = 'UNKNOWN_ENUM_VALUE'
|
144
165
|
self._type = type
|
145
166
|
|
167
|
+
@property
|
168
|
+
def refresh_status(self):
|
169
|
+
"""
|
170
|
+
Gets the refresh_status of this DrPlanGroup.
|
171
|
+
The DR plan group refresh status.
|
172
|
+
|
173
|
+
Example: `GROUP_MODIFIED`
|
174
|
+
|
175
|
+
Allowed values for this property are: "GROUP_ADDED", "GROUP_DELETED", "GROUP_MODIFIED", 'UNKNOWN_ENUM_VALUE'.
|
176
|
+
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
|
177
|
+
|
178
|
+
|
179
|
+
:return: The refresh_status of this DrPlanGroup.
|
180
|
+
:rtype: str
|
181
|
+
"""
|
182
|
+
return self._refresh_status
|
183
|
+
|
184
|
+
@refresh_status.setter
|
185
|
+
def refresh_status(self, refresh_status):
|
186
|
+
"""
|
187
|
+
Sets the refresh_status of this DrPlanGroup.
|
188
|
+
The DR plan group refresh status.
|
189
|
+
|
190
|
+
Example: `GROUP_MODIFIED`
|
191
|
+
|
192
|
+
|
193
|
+
:param refresh_status: The refresh_status of this DrPlanGroup.
|
194
|
+
:type: str
|
195
|
+
"""
|
196
|
+
allowed_values = ["GROUP_ADDED", "GROUP_DELETED", "GROUP_MODIFIED"]
|
197
|
+
if not value_allowed_none_or_none_sentinel(refresh_status, allowed_values):
|
198
|
+
refresh_status = 'UNKNOWN_ENUM_VALUE'
|
199
|
+
self._refresh_status = refresh_status
|
200
|
+
|
146
201
|
@property
|
147
202
|
def display_name(self):
|
148
203
|
"""
|
@@ -387,6 +387,14 @@ class DrPlanStep(object):
|
|
387
387
|
#: This constant has a value of "OBJECT_STORAGE_BUCKET_FAILOVER_SETUP_REVERSE_REPLICATION_STANDBY"
|
388
388
|
TYPE_OBJECT_STORAGE_BUCKET_FAILOVER_SETUP_REVERSE_REPLICATION_STANDBY = "OBJECT_STORAGE_BUCKET_FAILOVER_SETUP_REVERSE_REPLICATION_STANDBY"
|
389
389
|
|
390
|
+
#: A constant which can be used with the refresh_status property of a DrPlanStep.
|
391
|
+
#: This constant has a value of "STEP_ADDED"
|
392
|
+
REFRESH_STATUS_STEP_ADDED = "STEP_ADDED"
|
393
|
+
|
394
|
+
#: A constant which can be used with the refresh_status property of a DrPlanStep.
|
395
|
+
#: This constant has a value of "STEP_DELETED"
|
396
|
+
REFRESH_STATUS_STEP_DELETED = "STEP_DELETED"
|
397
|
+
|
390
398
|
#: A constant which can be used with the error_mode property of a DrPlanStep.
|
391
399
|
#: This constant has a value of "STOP_ON_ERROR"
|
392
400
|
ERROR_MODE_STOP_ON_ERROR = "STOP_ON_ERROR"
|
@@ -418,6 +426,12 @@ class DrPlanStep(object):
|
|
418
426
|
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
|
419
427
|
:type type: str
|
420
428
|
|
429
|
+
:param refresh_status:
|
430
|
+
The value to assign to the refresh_status property of this DrPlanStep.
|
431
|
+
Allowed values for this property are: "STEP_ADDED", "STEP_DELETED", 'UNKNOWN_ENUM_VALUE'.
|
432
|
+
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
|
433
|
+
:type refresh_status: str
|
434
|
+
|
421
435
|
:param display_name:
|
422
436
|
The value to assign to the display_name property of this DrPlanStep.
|
423
437
|
:type display_name: str
|
@@ -446,6 +460,7 @@ class DrPlanStep(object):
|
|
446
460
|
'group_id': 'str',
|
447
461
|
'member_id': 'str',
|
448
462
|
'type': 'str',
|
463
|
+
'refresh_status': 'str',
|
449
464
|
'display_name': 'str',
|
450
465
|
'error_mode': 'str',
|
451
466
|
'timeout': 'int',
|
@@ -458,6 +473,7 @@ class DrPlanStep(object):
|
|
458
473
|
'group_id': 'groupId',
|
459
474
|
'member_id': 'memberId',
|
460
475
|
'type': 'type',
|
476
|
+
'refresh_status': 'refreshStatus',
|
461
477
|
'display_name': 'displayName',
|
462
478
|
'error_mode': 'errorMode',
|
463
479
|
'timeout': 'timeout',
|
@@ -469,6 +485,7 @@ class DrPlanStep(object):
|
|
469
485
|
self._group_id = None
|
470
486
|
self._member_id = None
|
471
487
|
self._type = None
|
488
|
+
self._refresh_status = None
|
472
489
|
self._display_name = None
|
473
490
|
self._error_mode = None
|
474
491
|
self._timeout = None
|
@@ -589,6 +606,40 @@ class DrPlanStep(object):
|
|
589
606
|
type = 'UNKNOWN_ENUM_VALUE'
|
590
607
|
self._type = type
|
591
608
|
|
609
|
+
@property
|
610
|
+
def refresh_status(self):
|
611
|
+
"""
|
612
|
+
Gets the refresh_status of this DrPlanStep.
|
613
|
+
The DR plan step refresh status.
|
614
|
+
|
615
|
+
Example: `STEP_ADDED`
|
616
|
+
|
617
|
+
Allowed values for this property are: "STEP_ADDED", "STEP_DELETED", 'UNKNOWN_ENUM_VALUE'.
|
618
|
+
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
|
619
|
+
|
620
|
+
|
621
|
+
:return: The refresh_status of this DrPlanStep.
|
622
|
+
:rtype: str
|
623
|
+
"""
|
624
|
+
return self._refresh_status
|
625
|
+
|
626
|
+
@refresh_status.setter
|
627
|
+
def refresh_status(self, refresh_status):
|
628
|
+
"""
|
629
|
+
Sets the refresh_status of this DrPlanStep.
|
630
|
+
The DR plan step refresh status.
|
631
|
+
|
632
|
+
Example: `STEP_ADDED`
|
633
|
+
|
634
|
+
|
635
|
+
:param refresh_status: The refresh_status of this DrPlanStep.
|
636
|
+
:type: str
|
637
|
+
"""
|
638
|
+
allowed_values = ["STEP_ADDED", "STEP_DELETED"]
|
639
|
+
if not value_allowed_none_or_none_sentinel(refresh_status, allowed_values):
|
640
|
+
refresh_status = 'UNKNOWN_ENUM_VALUE'
|
641
|
+
self._refresh_status = refresh_status
|
642
|
+
|
592
643
|
@property
|
593
644
|
def display_name(self):
|
594
645
|
"""
|
@@ -63,6 +63,22 @@ class DrPlanSummary(object):
|
|
63
63
|
#: This constant has a value of "NEEDS_ATTENTION"
|
64
64
|
LIFECYCLE_STATE_NEEDS_ATTENTION = "NEEDS_ATTENTION"
|
65
65
|
|
66
|
+
#: A constant which can be used with the lifecycle_sub_state property of a DrPlanSummary.
|
67
|
+
#: This constant has a value of "NEEDS_REFRESH"
|
68
|
+
LIFECYCLE_SUB_STATE_NEEDS_REFRESH = "NEEDS_REFRESH"
|
69
|
+
|
70
|
+
#: A constant which can be used with the lifecycle_sub_state property of a DrPlanSummary.
|
71
|
+
#: This constant has a value of "NEEDS_VERIFICATION"
|
72
|
+
LIFECYCLE_SUB_STATE_NEEDS_VERIFICATION = "NEEDS_VERIFICATION"
|
73
|
+
|
74
|
+
#: A constant which can be used with the lifecycle_sub_state property of a DrPlanSummary.
|
75
|
+
#: This constant has a value of "REFRESHING"
|
76
|
+
LIFECYCLE_SUB_STATE_REFRESHING = "REFRESHING"
|
77
|
+
|
78
|
+
#: A constant which can be used with the lifecycle_sub_state property of a DrPlanSummary.
|
79
|
+
#: This constant has a value of "VERIFYING"
|
80
|
+
LIFECYCLE_SUB_STATE_VERIFYING = "VERIFYING"
|
81
|
+
|
66
82
|
def __init__(self, **kwargs):
|
67
83
|
"""
|
68
84
|
Initializes a new DrPlanSummary object with values from keyword arguments.
|
@@ -112,6 +128,12 @@ class DrPlanSummary(object):
|
|
112
128
|
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
|
113
129
|
:type lifecycle_state: str
|
114
130
|
|
131
|
+
:param lifecycle_sub_state:
|
132
|
+
The value to assign to the lifecycle_sub_state property of this DrPlanSummary.
|
133
|
+
Allowed values for this property are: "NEEDS_REFRESH", "NEEDS_VERIFICATION", "REFRESHING", "VERIFYING", 'UNKNOWN_ENUM_VALUE'.
|
134
|
+
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
|
135
|
+
:type lifecycle_sub_state: str
|
136
|
+
|
115
137
|
:param life_cycle_details:
|
116
138
|
The value to assign to the life_cycle_details property of this DrPlanSummary.
|
117
139
|
:type life_cycle_details: str
|
@@ -140,6 +162,7 @@ class DrPlanSummary(object):
|
|
140
162
|
'time_created': 'datetime',
|
141
163
|
'time_updated': 'datetime',
|
142
164
|
'lifecycle_state': 'str',
|
165
|
+
'lifecycle_sub_state': 'str',
|
143
166
|
'life_cycle_details': 'str',
|
144
167
|
'freeform_tags': 'dict(str, str)',
|
145
168
|
'defined_tags': 'dict(str, dict(str, object))',
|
@@ -157,6 +180,7 @@ class DrPlanSummary(object):
|
|
157
180
|
'time_created': 'timeCreated',
|
158
181
|
'time_updated': 'timeUpdated',
|
159
182
|
'lifecycle_state': 'lifecycleState',
|
183
|
+
'lifecycle_sub_state': 'lifecycleSubState',
|
160
184
|
'life_cycle_details': 'lifeCycleDetails',
|
161
185
|
'freeform_tags': 'freeformTags',
|
162
186
|
'defined_tags': 'definedTags',
|
@@ -173,6 +197,7 @@ class DrPlanSummary(object):
|
|
173
197
|
self._time_created = None
|
174
198
|
self._time_updated = None
|
175
199
|
self._lifecycle_state = None
|
200
|
+
self._lifecycle_sub_state = None
|
176
201
|
self._life_cycle_details = None
|
177
202
|
self._freeform_tags = None
|
178
203
|
self._defined_tags = None
|
@@ -474,6 +499,40 @@ class DrPlanSummary(object):
|
|
474
499
|
lifecycle_state = 'UNKNOWN_ENUM_VALUE'
|
475
500
|
self._lifecycle_state = lifecycle_state
|
476
501
|
|
502
|
+
@property
|
503
|
+
def lifecycle_sub_state(self):
|
504
|
+
"""
|
505
|
+
Gets the lifecycle_sub_state of this DrPlanSummary.
|
506
|
+
The current sub state of the DR plan.
|
507
|
+
|
508
|
+
Example: `NEEDS_REFRESH`
|
509
|
+
|
510
|
+
Allowed values for this property are: "NEEDS_REFRESH", "NEEDS_VERIFICATION", "REFRESHING", "VERIFYING", 'UNKNOWN_ENUM_VALUE'.
|
511
|
+
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
|
512
|
+
|
513
|
+
|
514
|
+
:return: The lifecycle_sub_state of this DrPlanSummary.
|
515
|
+
:rtype: str
|
516
|
+
"""
|
517
|
+
return self._lifecycle_sub_state
|
518
|
+
|
519
|
+
@lifecycle_sub_state.setter
|
520
|
+
def lifecycle_sub_state(self, lifecycle_sub_state):
|
521
|
+
"""
|
522
|
+
Sets the lifecycle_sub_state of this DrPlanSummary.
|
523
|
+
The current sub state of the DR plan.
|
524
|
+
|
525
|
+
Example: `NEEDS_REFRESH`
|
526
|
+
|
527
|
+
|
528
|
+
:param lifecycle_sub_state: The lifecycle_sub_state of this DrPlanSummary.
|
529
|
+
:type: str
|
530
|
+
"""
|
531
|
+
allowed_values = ["NEEDS_REFRESH", "NEEDS_VERIFICATION", "REFRESHING", "VERIFYING"]
|
532
|
+
if not value_allowed_none_or_none_sentinel(lifecycle_sub_state, allowed_values):
|
533
|
+
lifecycle_sub_state = 'UNKNOWN_ENUM_VALUE'
|
534
|
+
self._lifecycle_sub_state = lifecycle_sub_state
|
535
|
+
|
477
536
|
@property
|
478
537
|
def life_cycle_details(self):
|
479
538
|
"""
|