oci 2.135.0__py3-none-any.whl → 2.135.2__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/__init__.py +2 -2
- oci/access_governance_cp/access_governance_cp_client.py +8 -8
- oci/adm/application_dependency_management_client.py +36 -36
- oci/ai_anomaly_detection/anomaly_detection_client.py +36 -36
- oci/ai_document/ai_service_document_client.py +26 -26
- oci/ai_language/ai_service_language_client.py +44 -44
- oci/ai_speech/ai_service_speech_client.py +19 -19
- oci/ai_vision/ai_service_vision_client.py +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/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 +8 -8
- oci/cims/user_client.py +1 -1
- oci/cloud_bridge/common_client.py +5 -5
- oci/cloud_bridge/discovery_client.py +14 -14
- oci/cloud_bridge/inventory_client.py +16 -16
- oci/cloud_bridge/ocb_agent_svc_client.py +23 -23
- oci/cloud_guard/cloud_guard_client.py +155 -155
- oci/cloud_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 +98 -94
- oci/container_engine/models/cluster.py +6 -2
- oci/container_engine/models/cluster_summary.py +6 -2
- oci/container_engine/models/node.py +6 -2
- oci/container_engine/models/node_pool.py +6 -2
- oci/container_engine/models/node_pool_summary.py +6 -2
- oci/container_engine/models/start_credential_rotation_details.py +2 -2
- oci/container_engine/models/work_request.py +7 -3
- oci/container_engine/models/work_request_summary.py +7 -3
- oci/container_engine/models/workload_mapping.py +35 -2
- oci/container_engine/models/workload_mapping_summary.py +35 -2
- oci/container_instances/container_instance_client.py +18 -18
- oci/core/blockstorage_client.py +60 -60
- oci/core/compute_client.py +108 -102
- oci/core/compute_management_client.py +32 -32
- oci/core/models/__init__.py +2 -0
- oci/core/models/add_network_security_group_security_rules_details.py +6 -2
- oci/core/models/create_service_gateway_details.py +2 -2
- oci/core/models/create_vcn_details.py +35 -0
- oci/core/models/create_vnic_details.py +35 -0
- oci/core/models/instance.py +82 -0
- oci/core/models/instance_configuration_create_vnic_details.py +35 -0
- oci/core/models/instance_configuration_launch_instance_details.py +35 -0
- oci/core/models/launch_attach_paravirtualized_volume_details.py +123 -0
- oci/core/models/launch_attach_volume_details.py +4 -0
- oci/core/models/launch_instance_details.py +35 -0
- oci/core/models/service_gateway.py +4 -4
- oci/core/models/update_instance_details.py +35 -0
- oci/core/models/update_vcn_details.py +37 -2
- oci/core/models/update_vnic_details.py +35 -0
- oci/core/models/vcn.py +35 -0
- oci/core/models/vnic.py +35 -0
- oci/core/virtual_network_client.py +253 -250
- oci/dashboard_service/dashboard_client.py +6 -6
- oci/dashboard_service/dashboard_group_client.py +6 -6
- oci/data_catalog/data_catalog_client.py +149 -149
- oci/data_flow/data_flow_client.py +42 -42
- oci/data_integration/data_integration_client.py +163 -163
- oci/data_labeling_service/data_labeling_management_client.py +17 -17
- oci/data_labeling_service_dataplane/data_labeling_client.py +15 -15
- oci/data_safe/data_safe_client.py +292 -292
- oci/data_science/data_science_client.py +91 -91
- oci/database/database_client.py +396 -396
- oci/database/models/autonomous_database.py +39 -0
- oci/database/models/autonomous_database_summary.py +39 -0
- oci/database/models/cloud_autonomous_vm_cluster.py +39 -0
- oci/database/models/cloud_autonomous_vm_cluster_summary.py +39 -0
- oci/database/models/cloud_vm_cluster.py +68 -2
- oci/database/models/cloud_vm_cluster_summary.py +68 -2
- oci/database/models/create_autonomous_database_base.py +39 -0
- oci/database/models/create_autonomous_database_clone_details.py +7 -0
- oci/database/models/create_autonomous_database_details.py +7 -0
- oci/database/models/create_autonomous_database_from_backup_details.py +7 -0
- oci/database/models/create_autonomous_database_from_backup_timestamp_details.py +7 -0
- oci/database/models/create_cloud_autonomous_vm_cluster_details.py +41 -2
- oci/database/models/create_cloud_vm_cluster_details.py +68 -2
- oci/database/models/create_cross_region_autonomous_database_data_guard_details.py +7 -0
- oci/database/models/create_cross_region_disaster_recovery_details.py +7 -0
- oci/database/models/create_cross_tenancy_disaster_recovery_details.py +7 -0
- oci/database/models/create_data_guard_association_with_new_db_system_details.py +39 -0
- oci/database/models/create_exadb_vm_cluster_details.py +39 -0
- oci/database/models/create_refreshable_autonomous_database_clone_details.py +7 -0
- oci/database/models/create_vm_cluster_details.py +29 -2
- oci/database/models/db_system.py +39 -0
- oci/database/models/db_system_summary.py +39 -0
- oci/database/models/exadb_vm_cluster.py +39 -0
- oci/database/models/exadb_vm_cluster_summary.py +39 -0
- oci/database/models/launch_db_system_base.py +39 -0
- oci/database/models/launch_db_system_details.py +7 -0
- oci/database/models/launch_db_system_from_backup_details.py +7 -0
- oci/database/models/launch_db_system_from_database_details.py +7 -0
- oci/database/models/launch_db_system_from_db_system_details.py +7 -0
- oci/database/models/undelete_autonomous_database_details.py +7 -0
- oci/database/models/update_autonomous_database_details.py +39 -0
- oci/database/models/update_cloud_autonomous_vm_cluster_details.py +41 -2
- oci/database/models/update_cloud_vm_cluster_details.py +68 -2
- oci/database/models/update_db_system_details.py +39 -0
- oci/database/models/update_exadb_vm_cluster_details.py +39 -0
- oci/database/models/update_vm_cluster_details.py +29 -2
- oci/database/models/vm_cluster.py +29 -2
- oci/database/models/vm_cluster_summary.py +29 -2
- 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 +33 -22
- oci/desktops/models/__init__.py +18 -0
- oci/desktops/models/create_desktop_pool_desktop_session_lifecycle_actions.py +95 -0
- oci/desktops/models/create_desktop_pool_details.py +136 -4
- oci/desktops/models/create_desktop_pool_private_access_details.py +142 -0
- oci/desktops/models/create_desktop_pool_shape_config_details.py +170 -0
- oci/desktops/models/desktop_image.py +33 -2
- oci/desktops/models/desktop_network_configuration.py +14 -4
- oci/desktops/models/desktop_pool.py +136 -4
- oci/desktops/models/desktop_pool_private_access_details.py +212 -0
- oci/desktops/models/desktop_pool_shape_config.py +170 -0
- oci/desktops/models/desktop_session_lifecycle_actions.py +95 -0
- oci/desktops/models/disconnect_config.py +121 -0
- oci/desktops/models/inactivity_config.py +121 -0
- oci/desktops/models/update_desktop_pool_desktop_session_lifecycle_actions.py +95 -0
- oci/desktops/models/update_desktop_pool_details.py +29 -2
- oci/devops/devops_client.py +141 -141
- oci/disaster_recovery/disaster_recovery_client.py +29 -29
- oci/dns/dns_client.py +52 -52
- oci/dts/appliance_export_job_client.py +6 -6
- oci/dts/shipping_vendors_client.py +1 -1
- oci/dts/transfer_appliance_client.py +8 -8
- oci/dts/transfer_appliance_entitlement_client.py +3 -3
- oci/dts/transfer_device_client.py +5 -5
- oci/dts/transfer_job_client.py +6 -6
- oci/dts/transfer_package_client.py +7 -7
- oci/em_warehouse/em_data_lake_client.py +13 -13
- oci/em_warehouse/em_warehouse_client.py +13 -13
- oci/email/email_client.py +31 -31
- oci/email_data_plane/email_dp_client.py +1 -1
- oci/events/events_client.py +6 -6
- oci/file_storage/file_storage_client.py +54 -54
- oci/fleet_apps_management/fleet_apps_management_admin_client.py +8 -8
- 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 +13 -13
- oci/fleet_apps_management/fleet_apps_management_runbooks_client.py +4 -4
- oci/fleet_software_update/fleet_software_update_client.py +46 -46
- oci/functions/functions_invoke_client.py +1 -1
- oci/functions/functions_management_client.py +16 -16
- oci/fusion_apps/data_masking_activity_client.py +3 -3
- oci/fusion_apps/fusion_applications_client.py +42 -42
- oci/fusion_apps/fusion_environment_client.py +15 -15
- oci/fusion_apps/fusion_environment_family_client.py +8 -8
- oci/fusion_apps/models/create_fusion_environment_admin_user_details.py +1 -1
- oci/fusion_apps/refresh_activity_client.py +4 -4
- oci/fusion_apps/scheduled_activity_client.py +2 -2
- oci/fusion_apps/service_attachment_client.py +2 -2
- oci/generative_ai/generative_ai_client.py +22 -22
- oci/generative_ai_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 +68 -68
- oci/governance_rules_control_plane/governance_rule_client.py +15 -15
- oci/governance_rules_control_plane/work_request_client.py +5 -5
- oci/healthchecks/health_checks_client.py +17 -17
- oci/identity/identity_client.py +145 -145
- oci/identity_data_plane/dataplane_client.py +2 -2
- oci/identity_domains/identity_domains_client.py +307 -307
- oci/integration/integration_instance_client.py +137 -18
- oci/integration/integration_instance_client_composite_operations.py +39 -0
- oci/integration/models/__init__.py +4 -0
- oci/integration/models/create_integration_instance_details.py +31 -0
- oci/integration/models/cross_region_integration_instance_details.py +185 -0
- oci/integration/models/disaster_recovery_details.py +150 -0
- oci/integration/models/integration_instance.py +89 -0
- oci/integration/models/integration_instance_summary.py +62 -0
- oci/integration/models/work_request.py +7 -3
- oci/integration/models/work_request_summary.py +7 -3
- 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/load_balancer/models/connection_configuration.py +47 -2
- oci/load_balancer/models/create_load_balancer_details.py +35 -0
- oci/load_balancer/models/load_balancer.py +35 -0
- oci/load_balancer/models/update_load_balancer_details.py +37 -2
- oci/lockbox/lockbox_client.py +24 -24
- oci/log_analytics/log_analytics_client.py +193 -193
- oci/logging/logging_management_client.py +30 -30
- oci/loggingingestion/logging_client.py +1 -1
- oci/loggingsearch/log_search_client.py +1 -1
- oci/management_agent/management_agent_client.py +28 -28
- oci/management_dashboard/dashx_apis_client.py +14 -14
- oci/marketplace/account_client.py +2 -2
- oci/marketplace/marketplace_client.py +30 -30
- oci/marketplace_private_offer/attachment_client.py +5 -5
- oci/marketplace_private_offer/offer_client.py +6 -6
- oci/marketplace_publisher/attachment_client.py +5 -5
- oci/marketplace_publisher/marketplace_publisher_client.py +71 -71
- oci/marketplace_publisher/offer_client.py +6 -6
- oci/media_services/media_services_client.py +60 -60
- oci/media_services/media_stream_client.py +2 -2
- oci/monitoring/monitoring_client.py +18 -18
- oci/mysql/channels_client.py +7 -7
- oci/mysql/db_backups_client.py +7 -7
- oci/mysql/db_system_client.py +17 -17
- oci/mysql/mysqlaas_client.py +7 -7
- oci/mysql/replicas_client.py +5 -5
- oci/mysql/work_requests_client.py +4 -4
- oci/network_firewall/network_firewall_client.py +86 -86
- oci/network_load_balancer/models/create_network_load_balancer_details.py +43 -2
- oci/network_load_balancer/models/network_load_balancer.py +41 -0
- oci/network_load_balancer/models/network_load_balancer_summary.py +41 -0
- oci/network_load_balancer/models/update_network_load_balancer_details.py +43 -2
- 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/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/models/__init__.py +6 -0
- oci/opsi/models/create_autonomous_database_insight_details.py +291 -0
- oci/opsi/models/create_database_insight_details.py +4 -0
- oci/opsi/models/credential_by_iam.py +58 -0
- oci/opsi/models/credential_by_vault.py +1 -1
- oci/opsi/models/credential_details.py +13 -5
- oci/opsi/models/credentials_by_source.py +1 -1
- oci/opsi/models/enable_autonomous_database_insight_details.py +301 -0
- oci/opsi/models/enable_database_insight_details.py +4 -0
- oci/opsi/operations_insights_client.py +179 -179
- 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/regions_definitions.py +8 -0
- 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/__init__.py +14 -0
- oci/security_attribute/models/__init__.py +54 -0
- oci/security_attribute/models/base_security_attribute_validator.py +122 -0
- oci/security_attribute/models/bulk_delete_security_attributes_details.py +72 -0
- oci/security_attribute/models/bulk_edit_resource.py +134 -0
- oci/security_attribute/models/bulk_edit_security_attribute_details.py +134 -0
- oci/security_attribute/models/bulk_edit_security_attribute_operation_details.py +147 -0
- oci/security_attribute/models/change_security_attribute_namespace_compartment_details.py +72 -0
- oci/security_attribute/models/create_security_attribute_details.py +132 -0
- oci/security_attribute/models/create_security_attribute_namespace_details.py +216 -0
- oci/security_attribute/models/default_security_attribute_validator.py +53 -0
- oci/security_attribute/models/enum_security_attribute_validator.py +85 -0
- oci/security_attribute/models/security_attribute.py +421 -0
- oci/security_attribute/models/security_attribute_namespace.py +446 -0
- oci/security_attribute/models/security_attribute_namespace_summary.py +410 -0
- oci/security_attribute/models/security_attribute_summary.py +361 -0
- oci/security_attribute/models/security_attribute_work_request.py +387 -0
- oci/security_attribute/models/security_attribute_work_request_error_summary.py +136 -0
- oci/security_attribute/models/security_attribute_work_request_log_summary.py +105 -0
- oci/security_attribute/models/security_attribute_work_request_summary.py +386 -0
- oci/security_attribute/models/update_security_attribute_details.py +136 -0
- oci/security_attribute/models/update_security_attribute_namespace_details.py +191 -0
- oci/security_attribute/models/work_request_resource.py +197 -0
- oci/security_attribute/security_attribute_client.py +2321 -0
- oci/security_attribute/security_attribute_client_composite_operations.py +265 -0
- 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/models/__init__.py +20 -0
- oci/stack_monitoring/models/create_maintenance_window_details.py +196 -0
- oci/stack_monitoring/models/create_maintenance_window_resource_details.py +111 -0
- oci/stack_monitoring/models/maintenance_window.py +439 -0
- oci/stack_monitoring/models/maintenance_window_collection.py +72 -0
- oci/stack_monitoring/models/maintenance_window_schedule.py +109 -0
- oci/stack_monitoring/models/maintenance_window_summary.py +519 -0
- oci/stack_monitoring/models/monitored_resource_details.py +171 -0
- oci/stack_monitoring/models/one_time_maintenance_window_schedule.py +113 -0
- oci/stack_monitoring/models/recurrent_maintenance_window_schedule.py +191 -0
- oci/stack_monitoring/models/update_maintenance_window_details.py +130 -0
- oci/stack_monitoring/models/work_request.py +19 -3
- oci/stack_monitoring/models/work_request_summary.py +19 -3
- oci/stack_monitoring/stack_monitoring_client.py +921 -113
- oci/stack_monitoring/stack_monitoring_client_composite_operations.py +214 -0
- oci/streaming/stream_admin_client.py +18 -18
- oci/streaming/stream_client.py +8 -8
- oci/tenant_manager_control_plane/domain_client.py +5 -5
- oci/tenant_manager_control_plane/domain_governance_client.py +5 -5
- oci/tenant_manager_control_plane/governance_client.py +2 -2
- oci/tenant_manager_control_plane/link_client.py +3 -3
- oci/tenant_manager_control_plane/orders_client.py +2 -2
- oci/tenant_manager_control_plane/organization_client.py +10 -10
- oci/tenant_manager_control_plane/recipient_invitation_client.py +5 -5
- oci/tenant_manager_control_plane/sender_invitation_client.py +5 -5
- oci/tenant_manager_control_plane/subscription_client.py +11 -11
- oci/tenant_manager_control_plane/work_request_client.py +4 -4
- oci/threat_intelligence/threatintel_client.py +5 -5
- oci/usage/resources_client.py +2 -2
- oci/usage/rewards_client.py +6 -6
- oci/usage/usagelimits_client.py +1 -1
- oci/usage_api/usageapi_client.py +33 -33
- oci/vault/vaults_client.py +13 -13
- oci/vbs_inst/vbs_instance_client.py +10 -10
- oci/version.py +1 -1
- oci/visual_builder/vb_instance_client.py +13 -13
- oci/vn_monitoring/vn_monitoring_client.py +12 -12
- oci/vulnerability_scanning/vulnerability_scanning_client.py +58 -58
- oci/waa/waa_client.py +13 -13
- oci/waa/work_request_client.py +4 -4
- oci/waas/redirect_client.py +6 -6
- oci/waas/waas_client.py +66 -66
- oci/waf/waf_client.py +24 -24
- oci/work_requests/work_request_client.py +4 -4
- oci/zpr/__init__.py +14 -0
- oci/zpr/models/__init__.py +42 -0
- oci/zpr/models/configuration.py +449 -0
- oci/zpr/models/create_configuration_details.py +189 -0
- oci/zpr/models/create_zpr_policy_details.py +251 -0
- oci/zpr/models/update_zpr_policy_details.py +185 -0
- oci/zpr/models/work_request.py +459 -0
- oci/zpr/models/work_request_error.py +146 -0
- oci/zpr/models/work_request_error_collection.py +72 -0
- oci/zpr/models/work_request_log_entry.py +109 -0
- oci/zpr/models/work_request_log_entry_collection.py +72 -0
- oci/zpr/models/work_request_resource.py +238 -0
- oci/zpr/models/work_request_summary.py +457 -0
- oci/zpr/models/work_request_summary_collection.py +72 -0
- oci/zpr/models/zpr_policy.py +505 -0
- oci/zpr/models/zpr_policy_collection.py +72 -0
- oci/zpr/models/zpr_policy_summary.py +463 -0
- oci/zpr/zpr_client.py +2123 -0
- oci/zpr/zpr_client_composite_operations.py +197 -0
- {oci-2.135.0.dist-info → oci-2.135.2.dist-info}/METADATA +2 -2
- {oci-2.135.0.dist-info → oci-2.135.2.dist-info}/RECORD +431 -362
- {oci-2.135.0.dist-info → oci-2.135.2.dist-info}/LICENSE.txt +0 -0
- {oci-2.135.0.dist-info → oci-2.135.2.dist-info}/THIRD_PARTY_LICENSES.txt +0 -0
- {oci-2.135.0.dist-info → oci-2.135.2.dist-info}/WHEEL +0 -0
- {oci-2.135.0.dist-info → oci-2.135.2.dist-info}/top_level.txt +0 -0
@@ -161,7 +161,7 @@ class IntegrationInstanceClient(object):
|
|
161
161
|
:rtype: :class:`~oci.response.Response`
|
162
162
|
|
163
163
|
:example:
|
164
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.135.
|
164
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.135.2/integration/add_oracle_managed_custom_endpoint.py.html>`__ to see an example of how to use add_oracle_managed_custom_endpoint API.
|
165
165
|
"""
|
166
166
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
167
167
|
required_arguments = ['integrationInstanceId']
|
@@ -282,7 +282,7 @@ class IntegrationInstanceClient(object):
|
|
282
282
|
:rtype: :class:`~oci.response.Response`
|
283
283
|
|
284
284
|
:example:
|
285
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.135.
|
285
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.135.2/integration/change_integration_instance_compartment.py.html>`__ to see an example of how to use change_integration_instance_compartment API.
|
286
286
|
"""
|
287
287
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
288
288
|
required_arguments = ['integrationInstanceId']
|
@@ -402,7 +402,7 @@ class IntegrationInstanceClient(object):
|
|
402
402
|
:rtype: :class:`~oci.response.Response`
|
403
403
|
|
404
404
|
:example:
|
405
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.135.
|
405
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.135.2/integration/change_integration_instance_network_endpoint.py.html>`__ to see an example of how to use change_integration_instance_network_endpoint API.
|
406
406
|
"""
|
407
407
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
408
408
|
required_arguments = ['integrationInstanceId']
|
@@ -522,7 +522,7 @@ class IntegrationInstanceClient(object):
|
|
522
522
|
:rtype: :class:`~oci.response.Response`
|
523
523
|
|
524
524
|
:example:
|
525
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.135.
|
525
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.135.2/integration/change_private_endpoint_outbound_connection.py.html>`__ to see an example of how to use change_private_endpoint_outbound_connection API.
|
526
526
|
"""
|
527
527
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
528
528
|
required_arguments = ['integrationInstanceId']
|
@@ -631,7 +631,7 @@ class IntegrationInstanceClient(object):
|
|
631
631
|
:rtype: :class:`~oci.response.Response`
|
632
632
|
|
633
633
|
:example:
|
634
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.135.
|
634
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.135.2/integration/create_integration_instance.py.html>`__ to see an example of how to use create_integration_instance API.
|
635
635
|
"""
|
636
636
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
637
637
|
required_arguments = []
|
@@ -727,7 +727,7 @@ class IntegrationInstanceClient(object):
|
|
727
727
|
:rtype: :class:`~oci.response.Response`
|
728
728
|
|
729
729
|
:example:
|
730
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.135.
|
730
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.135.2/integration/delete_integration_instance.py.html>`__ to see an example of how to use delete_integration_instance API.
|
731
731
|
"""
|
732
732
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
733
733
|
required_arguments = ['integrationInstanceId']
|
@@ -796,6 +796,125 @@ class IntegrationInstanceClient(object):
|
|
796
796
|
api_reference_link=api_reference_link,
|
797
797
|
required_arguments=required_arguments)
|
798
798
|
|
799
|
+
def disaster_recovery_failover(self, integration_instance_id, **kwargs):
|
800
|
+
"""
|
801
|
+
Allows failover for disaster recovery. Called in the context of integration instance in that region.
|
802
|
+
Upon calling the failover api in the region where given instance was created,
|
803
|
+
the intigration instance if primary will be switched to standby and crossRegion integration instance
|
804
|
+
will be switched to primary and vice-versa.
|
805
|
+
|
806
|
+
|
807
|
+
:param str integration_instance_id: (required)
|
808
|
+
Unique Integration Instance identifier.
|
809
|
+
|
810
|
+
:param str if_match: (optional)
|
811
|
+
For optimistic concurrency control. In the PUT or DELETE call
|
812
|
+
for a resource, set the `if-match` parameter to the value of the
|
813
|
+
etag from a previous GET or POST response for that resource.
|
814
|
+
The resource will be updated or deleted only if the etag you
|
815
|
+
provide matches the resource's current etag value.
|
816
|
+
|
817
|
+
:param str opc_request_id: (optional)
|
818
|
+
The client request ID for tracing.
|
819
|
+
|
820
|
+
:param str opc_retry_token: (optional)
|
821
|
+
A token that uniquely identifies a request so it can be retried in case
|
822
|
+
of a timeout or server error without risk of executing that same action
|
823
|
+
again. Retry tokens expire after 24 hours, but can be invalidated before
|
824
|
+
then due to conflicting operations. For example, if a resource has been
|
825
|
+
deleted and purged from the system, then a retry of the original creation
|
826
|
+
request might be rejected.
|
827
|
+
|
828
|
+
:param obj retry_strategy: (optional)
|
829
|
+
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
830
|
+
|
831
|
+
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.
|
832
|
+
The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
|
833
|
+
|
834
|
+
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
|
835
|
+
|
836
|
+
:param bool allow_control_chars: (optional)
|
837
|
+
allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
|
838
|
+
By default, the response will not allow control characters in strings
|
839
|
+
|
840
|
+
:return: A :class:`~oci.response.Response` object with data of type None
|
841
|
+
:rtype: :class:`~oci.response.Response`
|
842
|
+
|
843
|
+
:example:
|
844
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.135.2/integration/disaster_recovery_failover.py.html>`__ to see an example of how to use disaster_recovery_failover API.
|
845
|
+
"""
|
846
|
+
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
847
|
+
required_arguments = ['integrationInstanceId']
|
848
|
+
resource_path = "/integrationInstances/{integrationInstanceId}/actions/failover"
|
849
|
+
method = "POST"
|
850
|
+
operation_name = "disaster_recovery_failover"
|
851
|
+
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/integration/20190131/IntegrationInstance/DisasterRecoveryFailover"
|
852
|
+
|
853
|
+
# Don't accept unknown kwargs
|
854
|
+
expected_kwargs = [
|
855
|
+
"allow_control_chars",
|
856
|
+
"retry_strategy",
|
857
|
+
"if_match",
|
858
|
+
"opc_request_id",
|
859
|
+
"opc_retry_token"
|
860
|
+
]
|
861
|
+
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
862
|
+
if extra_kwargs:
|
863
|
+
raise ValueError(
|
864
|
+
f"disaster_recovery_failover got unknown kwargs: {extra_kwargs!r}")
|
865
|
+
|
866
|
+
path_params = {
|
867
|
+
"integrationInstanceId": integration_instance_id
|
868
|
+
}
|
869
|
+
|
870
|
+
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
|
871
|
+
|
872
|
+
for (k, v) in six.iteritems(path_params):
|
873
|
+
if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
|
874
|
+
raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
|
875
|
+
|
876
|
+
header_params = {
|
877
|
+
"accept": "application/json",
|
878
|
+
"content-type": "application/json",
|
879
|
+
"if-match": kwargs.get("if_match", missing),
|
880
|
+
"opc-request-id": kwargs.get("opc_request_id", missing),
|
881
|
+
"opc-retry-token": kwargs.get("opc_retry_token", missing)
|
882
|
+
}
|
883
|
+
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
884
|
+
|
885
|
+
retry_strategy = self.base_client.get_preferred_retry_strategy(
|
886
|
+
operation_retry_strategy=kwargs.get('retry_strategy'),
|
887
|
+
client_retry_strategy=self.retry_strategy
|
888
|
+
)
|
889
|
+
if retry_strategy is None:
|
890
|
+
retry_strategy = retry.DEFAULT_RETRY_STRATEGY
|
891
|
+
|
892
|
+
if retry_strategy:
|
893
|
+
if not isinstance(retry_strategy, retry.NoneRetryStrategy):
|
894
|
+
self.base_client.add_opc_retry_token_if_needed(header_params)
|
895
|
+
self.base_client.add_opc_client_retries_header(header_params)
|
896
|
+
retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
|
897
|
+
return retry_strategy.make_retrying_call(
|
898
|
+
self.base_client.call_api,
|
899
|
+
resource_path=resource_path,
|
900
|
+
method=method,
|
901
|
+
path_params=path_params,
|
902
|
+
header_params=header_params,
|
903
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
904
|
+
operation_name=operation_name,
|
905
|
+
api_reference_link=api_reference_link,
|
906
|
+
required_arguments=required_arguments)
|
907
|
+
else:
|
908
|
+
return self.base_client.call_api(
|
909
|
+
resource_path=resource_path,
|
910
|
+
method=method,
|
911
|
+
path_params=path_params,
|
912
|
+
header_params=header_params,
|
913
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
914
|
+
operation_name=operation_name,
|
915
|
+
api_reference_link=api_reference_link,
|
916
|
+
required_arguments=required_arguments)
|
917
|
+
|
799
918
|
def enable_process_automation(self, integration_instance_id, **kwargs):
|
800
919
|
"""
|
801
920
|
Enable Process Automation for given Integration Instance
|
@@ -838,7 +957,7 @@ class IntegrationInstanceClient(object):
|
|
838
957
|
:rtype: :class:`~oci.response.Response`
|
839
958
|
|
840
959
|
:example:
|
841
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.135.
|
960
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.135.2/integration/enable_process_automation.py.html>`__ to see an example of how to use enable_process_automation API.
|
842
961
|
"""
|
843
962
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
844
963
|
required_arguments = ['integrationInstanceId']
|
@@ -955,7 +1074,7 @@ class IntegrationInstanceClient(object):
|
|
955
1074
|
:rtype: :class:`~oci.response.Response`
|
956
1075
|
|
957
1076
|
:example:
|
958
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.135.
|
1077
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.135.2/integration/extend_data_retention.py.html>`__ to see an example of how to use extend_data_retention API.
|
959
1078
|
"""
|
960
1079
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
961
1080
|
required_arguments = ['integrationInstanceId']
|
@@ -1058,7 +1177,7 @@ class IntegrationInstanceClient(object):
|
|
1058
1177
|
:rtype: :class:`~oci.response.Response`
|
1059
1178
|
|
1060
1179
|
:example:
|
1061
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.135.
|
1180
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.135.2/integration/get_integration_instance.py.html>`__ to see an example of how to use get_integration_instance API.
|
1062
1181
|
"""
|
1063
1182
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1064
1183
|
required_arguments = ['integrationInstanceId']
|
@@ -1154,7 +1273,7 @@ class IntegrationInstanceClient(object):
|
|
1154
1273
|
:rtype: :class:`~oci.response.Response`
|
1155
1274
|
|
1156
1275
|
:example:
|
1157
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.135.
|
1276
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.135.2/integration/get_work_request.py.html>`__ to see an example of how to use get_work_request API.
|
1158
1277
|
"""
|
1159
1278
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1160
1279
|
required_arguments = ['workRequestId']
|
@@ -1278,7 +1397,7 @@ class IntegrationInstanceClient(object):
|
|
1278
1397
|
:rtype: :class:`~oci.response.Response`
|
1279
1398
|
|
1280
1399
|
:example:
|
1281
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.135.
|
1400
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.135.2/integration/list_integration_instances.py.html>`__ to see an example of how to use list_integration_instances API.
|
1282
1401
|
"""
|
1283
1402
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1284
1403
|
required_arguments = ['compartmentId']
|
@@ -1411,7 +1530,7 @@ class IntegrationInstanceClient(object):
|
|
1411
1530
|
:rtype: :class:`~oci.response.Response`
|
1412
1531
|
|
1413
1532
|
:example:
|
1414
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.135.
|
1533
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.135.2/integration/list_work_request_errors.py.html>`__ to see an example of how to use list_work_request_errors API.
|
1415
1534
|
"""
|
1416
1535
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1417
1536
|
required_arguments = ['workRequestId', 'compartmentId']
|
@@ -1527,7 +1646,7 @@ class IntegrationInstanceClient(object):
|
|
1527
1646
|
:rtype: :class:`~oci.response.Response`
|
1528
1647
|
|
1529
1648
|
:example:
|
1530
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.135.
|
1649
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.135.2/integration/list_work_request_logs.py.html>`__ to see an example of how to use list_work_request_logs API.
|
1531
1650
|
"""
|
1532
1651
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1533
1652
|
required_arguments = ['workRequestId', 'compartmentId']
|
@@ -1643,7 +1762,7 @@ class IntegrationInstanceClient(object):
|
|
1643
1762
|
:rtype: :class:`~oci.response.Response`
|
1644
1763
|
|
1645
1764
|
:example:
|
1646
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.135.
|
1765
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.135.2/integration/list_work_requests.py.html>`__ to see an example of how to use list_work_requests API.
|
1647
1766
|
"""
|
1648
1767
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1649
1768
|
required_arguments = ['compartmentId']
|
@@ -1755,7 +1874,7 @@ class IntegrationInstanceClient(object):
|
|
1755
1874
|
:rtype: :class:`~oci.response.Response`
|
1756
1875
|
|
1757
1876
|
:example:
|
1758
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.135.
|
1877
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.135.2/integration/remove_oracle_managed_custom_endpoint.py.html>`__ to see an example of how to use remove_oracle_managed_custom_endpoint API.
|
1759
1878
|
"""
|
1760
1879
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1761
1880
|
required_arguments = ['integrationInstanceId']
|
@@ -1871,7 +1990,7 @@ class IntegrationInstanceClient(object):
|
|
1871
1990
|
:rtype: :class:`~oci.response.Response`
|
1872
1991
|
|
1873
1992
|
:example:
|
1874
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.135.
|
1993
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.135.2/integration/start_integration_instance.py.html>`__ to see an example of how to use start_integration_instance API.
|
1875
1994
|
"""
|
1876
1995
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1877
1996
|
required_arguments = ['integrationInstanceId']
|
@@ -1985,7 +2104,7 @@ class IntegrationInstanceClient(object):
|
|
1985
2104
|
:rtype: :class:`~oci.response.Response`
|
1986
2105
|
|
1987
2106
|
:example:
|
1988
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.135.
|
2107
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.135.2/integration/stop_integration_instance.py.html>`__ to see an example of how to use stop_integration_instance API.
|
1989
2108
|
"""
|
1990
2109
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1991
2110
|
required_arguments = ['integrationInstanceId']
|
@@ -2094,7 +2213,7 @@ class IntegrationInstanceClient(object):
|
|
2094
2213
|
:rtype: :class:`~oci.response.Response`
|
2095
2214
|
|
2096
2215
|
:example:
|
2097
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.135.
|
2216
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.135.2/integration/update_integration_instance.py.html>`__ to see an example of how to use update_integration_instance API.
|
2098
2217
|
"""
|
2099
2218
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2100
2219
|
required_arguments = ['integrationInstanceId']
|
@@ -279,6 +279,45 @@ class IntegrationInstanceClientCompositeOperations(object):
|
|
279
279
|
except Exception as e:
|
280
280
|
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
281
281
|
|
282
|
+
def disaster_recovery_failover_and_wait_for_state(self, integration_instance_id, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
|
283
|
+
"""
|
284
|
+
Calls :py:func:`~oci.integration.IntegrationInstanceClient.disaster_recovery_failover` and waits for the :py:class:`~oci.integration.models.WorkRequest`
|
285
|
+
to enter the given state(s).
|
286
|
+
|
287
|
+
:param str integration_instance_id: (required)
|
288
|
+
Unique Integration Instance identifier.
|
289
|
+
|
290
|
+
:param list[str] wait_for_states:
|
291
|
+
An array of states to wait on. These should be valid values for :py:attr:`~oci.integration.models.WorkRequest.status`
|
292
|
+
|
293
|
+
:param dict operation_kwargs:
|
294
|
+
A dictionary of keyword arguments to pass to :py:func:`~oci.integration.IntegrationInstanceClient.disaster_recovery_failover`
|
295
|
+
|
296
|
+
:param dict waiter_kwargs:
|
297
|
+
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``
|
298
|
+
as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
|
299
|
+
"""
|
300
|
+
operation_result = self.client.disaster_recovery_failover(integration_instance_id, **operation_kwargs)
|
301
|
+
if not wait_for_states:
|
302
|
+
return operation_result
|
303
|
+
lowered_wait_for_states = [w.lower() for w in wait_for_states]
|
304
|
+
if 'opc-work-request-id' not in operation_result.headers:
|
305
|
+
return operation_result
|
306
|
+
wait_for_resource_id = operation_result.headers['opc-work-request-id']
|
307
|
+
|
308
|
+
try:
|
309
|
+
waiter_result = oci.wait_until(
|
310
|
+
self.client,
|
311
|
+
self.client.get_work_request(wait_for_resource_id),
|
312
|
+
evaluate_response=lambda r: getattr(r.data, 'status') and getattr(r.data, 'status').lower() in lowered_wait_for_states,
|
313
|
+
**waiter_kwargs
|
314
|
+
)
|
315
|
+
result_to_return = waiter_result
|
316
|
+
|
317
|
+
return result_to_return
|
318
|
+
except Exception as e:
|
319
|
+
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
320
|
+
|
282
321
|
def enable_process_automation_and_wait_for_state(self, integration_instance_id, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
|
283
322
|
"""
|
284
323
|
Calls :py:func:`~oci.integration.IntegrationInstanceClient.enable_process_automation` and waits for the :py:class:`~oci.integration.models.WorkRequest`
|
@@ -13,7 +13,9 @@ from .change_integration_instance_network_endpoint_details import ChangeIntegrat
|
|
13
13
|
from .change_private_endpoint_outbound_connection_details import ChangePrivateEndpointOutboundConnectionDetails
|
14
14
|
from .create_custom_endpoint_details import CreateCustomEndpointDetails
|
15
15
|
from .create_integration_instance_details import CreateIntegrationInstanceDetails
|
16
|
+
from .cross_region_integration_instance_details import CrossRegionIntegrationInstanceDetails
|
16
17
|
from .custom_endpoint_details import CustomEndpointDetails
|
18
|
+
from .disaster_recovery_details import DisasterRecoveryDetails
|
17
19
|
from .extend_data_retention_details import ExtendDataRetentionDetails
|
18
20
|
from .idcs_info_details import IdcsInfoDetails
|
19
21
|
from .integration_instance import IntegrationInstance
|
@@ -41,7 +43,9 @@ integration_type_mapping = {
|
|
41
43
|
"ChangePrivateEndpointOutboundConnectionDetails": ChangePrivateEndpointOutboundConnectionDetails,
|
42
44
|
"CreateCustomEndpointDetails": CreateCustomEndpointDetails,
|
43
45
|
"CreateIntegrationInstanceDetails": CreateIntegrationInstanceDetails,
|
46
|
+
"CrossRegionIntegrationInstanceDetails": CrossRegionIntegrationInstanceDetails,
|
44
47
|
"CustomEndpointDetails": CustomEndpointDetails,
|
48
|
+
"DisasterRecoveryDetails": DisasterRecoveryDetails,
|
45
49
|
"ExtendDataRetentionDetails": ExtendDataRetentionDetails,
|
46
50
|
"IdcsInfoDetails": IdcsInfoDetails,
|
47
51
|
"IntegrationInstance": IntegrationInstance,
|
@@ -119,6 +119,10 @@ class CreateIntegrationInstanceDetails(object):
|
|
119
119
|
The value to assign to the is_file_server_enabled property of this CreateIntegrationInstanceDetails.
|
120
120
|
:type is_file_server_enabled: bool
|
121
121
|
|
122
|
+
:param is_disaster_recovery_enabled:
|
123
|
+
The value to assign to the is_disaster_recovery_enabled property of this CreateIntegrationInstanceDetails.
|
124
|
+
:type is_disaster_recovery_enabled: bool
|
125
|
+
|
122
126
|
:param network_endpoint_details:
|
123
127
|
The value to assign to the network_endpoint_details property of this CreateIntegrationInstanceDetails.
|
124
128
|
:type network_endpoint_details: oci.integration.models.NetworkEndpointDetails
|
@@ -147,6 +151,7 @@ class CreateIntegrationInstanceDetails(object):
|
|
147
151
|
'alternate_custom_endpoints': 'list[CreateCustomEndpointDetails]',
|
148
152
|
'consumption_model': 'str',
|
149
153
|
'is_file_server_enabled': 'bool',
|
154
|
+
'is_disaster_recovery_enabled': 'bool',
|
150
155
|
'network_endpoint_details': 'NetworkEndpointDetails',
|
151
156
|
'shape': 'str',
|
152
157
|
'domain_id': 'str'
|
@@ -166,6 +171,7 @@ class CreateIntegrationInstanceDetails(object):
|
|
166
171
|
'alternate_custom_endpoints': 'alternateCustomEndpoints',
|
167
172
|
'consumption_model': 'consumptionModel',
|
168
173
|
'is_file_server_enabled': 'isFileServerEnabled',
|
174
|
+
'is_disaster_recovery_enabled': 'isDisasterRecoveryEnabled',
|
169
175
|
'network_endpoint_details': 'networkEndpointDetails',
|
170
176
|
'shape': 'shape',
|
171
177
|
'domain_id': 'domainId'
|
@@ -184,6 +190,7 @@ class CreateIntegrationInstanceDetails(object):
|
|
184
190
|
self._alternate_custom_endpoints = None
|
185
191
|
self._consumption_model = None
|
186
192
|
self._is_file_server_enabled = None
|
193
|
+
self._is_disaster_recovery_enabled = None
|
187
194
|
self._network_endpoint_details = None
|
188
195
|
self._shape = None
|
189
196
|
self._domain_id = None
|
@@ -524,6 +531,30 @@ class CreateIntegrationInstanceDetails(object):
|
|
524
531
|
"""
|
525
532
|
self._is_file_server_enabled = is_file_server_enabled
|
526
533
|
|
534
|
+
@property
|
535
|
+
def is_disaster_recovery_enabled(self):
|
536
|
+
"""
|
537
|
+
Gets the is_disaster_recovery_enabled of this CreateIntegrationInstanceDetails.
|
538
|
+
Is Disaster Recovery enabled or not.
|
539
|
+
|
540
|
+
|
541
|
+
:return: The is_disaster_recovery_enabled of this CreateIntegrationInstanceDetails.
|
542
|
+
:rtype: bool
|
543
|
+
"""
|
544
|
+
return self._is_disaster_recovery_enabled
|
545
|
+
|
546
|
+
@is_disaster_recovery_enabled.setter
|
547
|
+
def is_disaster_recovery_enabled(self, is_disaster_recovery_enabled):
|
548
|
+
"""
|
549
|
+
Sets the is_disaster_recovery_enabled of this CreateIntegrationInstanceDetails.
|
550
|
+
Is Disaster Recovery enabled or not.
|
551
|
+
|
552
|
+
|
553
|
+
:param is_disaster_recovery_enabled: The is_disaster_recovery_enabled of this CreateIntegrationInstanceDetails.
|
554
|
+
:type: bool
|
555
|
+
"""
|
556
|
+
self._is_disaster_recovery_enabled = is_disaster_recovery_enabled
|
557
|
+
|
527
558
|
@property
|
528
559
|
def network_endpoint_details(self):
|
529
560
|
"""
|
@@ -0,0 +1,185 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
# Copyright (c) 2016, 2024, Oracle and/or its affiliates. All rights reserved.
|
3
|
+
# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
4
|
+
|
5
|
+
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20190131
|
6
|
+
|
7
|
+
|
8
|
+
from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
|
9
|
+
from oci.decorators import init_model_state_from_kwargs
|
10
|
+
|
11
|
+
|
12
|
+
@init_model_state_from_kwargs
|
13
|
+
class CrossRegionIntegrationInstanceDetails(object):
|
14
|
+
"""
|
15
|
+
Details of integration instance created in cross region for disaster recovery.
|
16
|
+
"""
|
17
|
+
|
18
|
+
#: A constant which can be used with the role property of a CrossRegionIntegrationInstanceDetails.
|
19
|
+
#: This constant has a value of "PRIMARY"
|
20
|
+
ROLE_PRIMARY = "PRIMARY"
|
21
|
+
|
22
|
+
#: A constant which can be used with the role property of a CrossRegionIntegrationInstanceDetails.
|
23
|
+
#: This constant has a value of "SECONDARY"
|
24
|
+
ROLE_SECONDARY = "SECONDARY"
|
25
|
+
|
26
|
+
#: A constant which can be used with the role property of a CrossRegionIntegrationInstanceDetails.
|
27
|
+
#: This constant has a value of "UNKNOWN"
|
28
|
+
ROLE_UNKNOWN = "UNKNOWN"
|
29
|
+
|
30
|
+
def __init__(self, **kwargs):
|
31
|
+
"""
|
32
|
+
Initializes a new CrossRegionIntegrationInstanceDetails object with values from keyword arguments.
|
33
|
+
The following keyword arguments are supported (corresponding to the getters/setters of this class):
|
34
|
+
|
35
|
+
:param role:
|
36
|
+
The value to assign to the role property of this CrossRegionIntegrationInstanceDetails.
|
37
|
+
Allowed values for this property are: "PRIMARY", "SECONDARY", "UNKNOWN", 'UNKNOWN_ENUM_VALUE'.
|
38
|
+
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
|
39
|
+
:type role: str
|
40
|
+
|
41
|
+
:param id:
|
42
|
+
The value to assign to the id property of this CrossRegionIntegrationInstanceDetails.
|
43
|
+
:type id: str
|
44
|
+
|
45
|
+
:param region:
|
46
|
+
The value to assign to the region property of this CrossRegionIntegrationInstanceDetails.
|
47
|
+
:type region: str
|
48
|
+
|
49
|
+
:param time_role_changed:
|
50
|
+
The value to assign to the time_role_changed property of this CrossRegionIntegrationInstanceDetails.
|
51
|
+
:type time_role_changed: datetime
|
52
|
+
|
53
|
+
"""
|
54
|
+
self.swagger_types = {
|
55
|
+
'role': 'str',
|
56
|
+
'id': 'str',
|
57
|
+
'region': 'str',
|
58
|
+
'time_role_changed': 'datetime'
|
59
|
+
}
|
60
|
+
|
61
|
+
self.attribute_map = {
|
62
|
+
'role': 'role',
|
63
|
+
'id': 'id',
|
64
|
+
'region': 'region',
|
65
|
+
'time_role_changed': 'timeRoleChanged'
|
66
|
+
}
|
67
|
+
|
68
|
+
self._role = None
|
69
|
+
self._id = None
|
70
|
+
self._region = None
|
71
|
+
self._time_role_changed = None
|
72
|
+
|
73
|
+
@property
|
74
|
+
def role(self):
|
75
|
+
"""
|
76
|
+
Gets the role of this CrossRegionIntegrationInstanceDetails.
|
77
|
+
Role of the integration instance in the region
|
78
|
+
|
79
|
+
Allowed values for this property are: "PRIMARY", "SECONDARY", "UNKNOWN", 'UNKNOWN_ENUM_VALUE'.
|
80
|
+
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
|
81
|
+
|
82
|
+
|
83
|
+
:return: The role of this CrossRegionIntegrationInstanceDetails.
|
84
|
+
:rtype: str
|
85
|
+
"""
|
86
|
+
return self._role
|
87
|
+
|
88
|
+
@role.setter
|
89
|
+
def role(self, role):
|
90
|
+
"""
|
91
|
+
Sets the role of this CrossRegionIntegrationInstanceDetails.
|
92
|
+
Role of the integration instance in the region
|
93
|
+
|
94
|
+
|
95
|
+
:param role: The role of this CrossRegionIntegrationInstanceDetails.
|
96
|
+
:type: str
|
97
|
+
"""
|
98
|
+
allowed_values = ["PRIMARY", "SECONDARY", "UNKNOWN"]
|
99
|
+
if not value_allowed_none_or_none_sentinel(role, allowed_values):
|
100
|
+
role = 'UNKNOWN_ENUM_VALUE'
|
101
|
+
self._role = role
|
102
|
+
|
103
|
+
@property
|
104
|
+
def id(self):
|
105
|
+
"""
|
106
|
+
Gets the id of this CrossRegionIntegrationInstanceDetails.
|
107
|
+
Cross region integration instance identifier
|
108
|
+
|
109
|
+
|
110
|
+
:return: The id of this CrossRegionIntegrationInstanceDetails.
|
111
|
+
:rtype: str
|
112
|
+
"""
|
113
|
+
return self._id
|
114
|
+
|
115
|
+
@id.setter
|
116
|
+
def id(self, id):
|
117
|
+
"""
|
118
|
+
Sets the id of this CrossRegionIntegrationInstanceDetails.
|
119
|
+
Cross region integration instance identifier
|
120
|
+
|
121
|
+
|
122
|
+
:param id: The id of this CrossRegionIntegrationInstanceDetails.
|
123
|
+
:type: str
|
124
|
+
"""
|
125
|
+
self._id = id
|
126
|
+
|
127
|
+
@property
|
128
|
+
def region(self):
|
129
|
+
"""
|
130
|
+
Gets the region of this CrossRegionIntegrationInstanceDetails.
|
131
|
+
Cross region where integration instance is created
|
132
|
+
|
133
|
+
|
134
|
+
:return: The region of this CrossRegionIntegrationInstanceDetails.
|
135
|
+
:rtype: str
|
136
|
+
"""
|
137
|
+
return self._region
|
138
|
+
|
139
|
+
@region.setter
|
140
|
+
def region(self, region):
|
141
|
+
"""
|
142
|
+
Sets the region of this CrossRegionIntegrationInstanceDetails.
|
143
|
+
Cross region where integration instance is created
|
144
|
+
|
145
|
+
|
146
|
+
:param region: The region of this CrossRegionIntegrationInstanceDetails.
|
147
|
+
:type: str
|
148
|
+
"""
|
149
|
+
self._region = region
|
150
|
+
|
151
|
+
@property
|
152
|
+
def time_role_changed(self):
|
153
|
+
"""
|
154
|
+
Gets the time_role_changed of this CrossRegionIntegrationInstanceDetails.
|
155
|
+
Time when cross region integration instance role was changed
|
156
|
+
|
157
|
+
|
158
|
+
:return: The time_role_changed of this CrossRegionIntegrationInstanceDetails.
|
159
|
+
:rtype: datetime
|
160
|
+
"""
|
161
|
+
return self._time_role_changed
|
162
|
+
|
163
|
+
@time_role_changed.setter
|
164
|
+
def time_role_changed(self, time_role_changed):
|
165
|
+
"""
|
166
|
+
Sets the time_role_changed of this CrossRegionIntegrationInstanceDetails.
|
167
|
+
Time when cross region integration instance role was changed
|
168
|
+
|
169
|
+
|
170
|
+
:param time_role_changed: The time_role_changed of this CrossRegionIntegrationInstanceDetails.
|
171
|
+
:type: datetime
|
172
|
+
"""
|
173
|
+
self._time_role_changed = time_role_changed
|
174
|
+
|
175
|
+
def __repr__(self):
|
176
|
+
return formatted_flat_dict(self)
|
177
|
+
|
178
|
+
def __eq__(self, other):
|
179
|
+
if other is None:
|
180
|
+
return False
|
181
|
+
|
182
|
+
return self.__dict__ == other.__dict__
|
183
|
+
|
184
|
+
def __ne__(self, other):
|
185
|
+
return not self == other
|