oci 2.135.2__py3-none-any.whl → 2.136.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_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/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 +44 -44
- oci/container_engine/models/__init__.py +4 -0
- oci/container_engine/models/cluster.py +33 -2
- oci/container_engine/models/cluster_create_options.py +56 -2
- oci/container_engine/models/open_id_connect_discovery.py +72 -0
- oci/container_engine/models/open_id_connect_token_authentication_config.py +370 -0
- oci/container_engine/models/update_cluster_options_details.py +56 -2
- 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 +4 -0
- oci/core/models/block_volume_replica.py +43 -2
- oci/core/models/block_volume_replica_details.py +45 -2
- oci/core/models/block_volume_replica_info.py +43 -2
- oci/core/models/boot_volume_replica.py +43 -2
- oci/core/models/boot_volume_replica_details.py +45 -2
- oci/core/models/boot_volume_replica_info.py +43 -2
- oci/core/models/boot_volume_source_details.py +4 -0
- oci/core/models/boot_volume_source_from_boot_volume_backup_delta_details.py +143 -0
- oci/core/models/create_boot_volume_details.py +45 -2
- oci/core/models/create_volume_backup_policy_assignment_details.py +45 -2
- oci/core/models/create_volume_details.py +45 -2
- oci/core/models/create_volume_group_details.py +45 -2
- oci/core/models/instance_configuration_create_volume_details.py +45 -2
- oci/core/models/volume_backup_policy_assignment.py +45 -2
- oci/core/models/volume_group_replica_details.py +45 -2
- oci/core/models/volume_group_replica_info.py +43 -2
- oci/core/models/volume_source_details.py +4 -0
- oci/core/models/volume_source_from_volume_backup_delta_details.py +143 -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 +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_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 +29 -29
- oci/dns/dns_client.py +389 -54
- oci/dns/dns_client_composite_operations.py +886 -193
- oci/dns/models/__init__.py +13 -1
- oci/dns/models/create_zone_details.py +101 -2
- oci/dns/models/dnssec_config.py +105 -0
- oci/dns/models/dnssec_key_version_ds_data.py +121 -0
- oci/dns/models/ksk_dnssec_key_version.py +550 -0
- oci/dns/models/promote_zone_dnssec_key_version_details.py +72 -0
- oci/dns/models/stage_zone_dnssec_key_version_details.py +72 -0
- oci/dns/models/update_zone_details.py +99 -0
- oci/dns/models/zone.py +126 -0
- oci/dns/models/zone_summary.py +128 -2
- oci/dns/models/zsk_dnssec_key_version.py +517 -0
- 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 +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/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 +211 -70
- oci/golden_gate/models/__init__.py +8 -0
- oci/golden_gate/models/create_database_registration_details.py +4 -4
- oci/golden_gate/models/create_deployment_details.py +47 -0
- oci/golden_gate/models/create_ogg_deployment_details.py +29 -2
- oci/golden_gate/models/create_oracle_connection_details.py +4 -4
- oci/golden_gate/models/deployment.py +102 -0
- oci/{database_migration/models/agent_collection.py → golden_gate/models/deployment_environment_collection.py} +15 -15
- oci/golden_gate/models/deployment_environment_summary.py +389 -0
- oci/golden_gate/models/deployment_summary.py +103 -1
- oci/golden_gate/models/deployment_type_summary.py +3 -0
- oci/golden_gate/models/group_to_roles_mapping_details.py +197 -0
- oci/golden_gate/models/ogg_deployment.py +29 -2
- oci/golden_gate/models/test_connection_assignment_result.py +34 -2
- oci/golden_gate/models/update_database_registration_details.py +4 -4
- oci/golden_gate/models/update_deployment_details.py +47 -0
- oci/golden_gate/models/update_group_to_roles_mapping_details.py +197 -0
- oci/golden_gate/models/update_ogg_deployment_details.py +29 -2
- oci/golden_gate/models/update_oracle_connection_details.py +4 -4
- 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 +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/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 +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/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 +36 -36
- 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/util.py +2 -1
- 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/zpr_client.py +30 -30
- {oci-2.135.2.dist-info → oci-2.136.0.dist-info}/METADATA +1 -1
- {oci-2.135.2.dist-info → oci-2.136.0.dist-info}/RECORD +314 -452
- oci/ai_language/models/entity_document.py +0 -136
- oci/ai_language/models/key_phrase_document.py +0 -136
- oci/ai_language/models/pre_trained_phi_model_details.py +0 -91
- oci/ai_language/models/sentiments_document.py +0 -136
- oci/ai_language/models/text_classification_document.py +0 -136
- oci/capacity_management/models/occ_capacity_request_compute_details.py +0 -148
- oci/cims/user_client.py +0 -207
- oci/cims/user_client_composite_operations.py +0 -26
- oci/compute_instance_agent/models/instance_agent_command_content_info.py +0 -252
- oci/data_integration/models/connection_from_lakehouse.py +0 -140
- oci/data_integration/models/connection_from_lakehouse_details.py +0 -133
- oci/data_integration/models/connection_summary_from_lakehouse.py +0 -140
- oci/data_integration/models/create_connection_from_lakehouse.py +0 -112
- oci/data_integration/models/create_data_asset_from_lakehouse.py +0 -232
- oci/data_integration/models/data_asset_from_lakehouse_details.py +0 -260
- oci/data_integration/models/data_asset_summary_from_lakehouse.py +0 -253
- oci/data_integration/models/update_connection_from_lakehouse.py +0 -119
- oci/data_integration/models/update_data_asset_from_lakehouse.py +0 -239
- oci/database_migration/models/advisor_settings.py +0 -103
- oci/database_migration/models/agent.py +0 -486
- oci/database_migration/models/agent_image_collection.py +0 -72
- oci/database_migration/models/agent_image_summary.py +0 -103
- oci/database_migration/models/agent_summary.py +0 -455
- oci/database_migration/models/aws_s3_data_transfer_medium_details.py +0 -211
- oci/database_migration/models/aws_s3_details.py +0 -108
- oci/database_migration/models/change_agent_compartment_details.py +0 -72
- oci/database_migration/models/connect_descriptor.py +0 -165
- oci/database_migration/models/create_advisor_settings.py +0 -103
- oci/database_migration/models/create_agent_details.py +0 -260
- oci/database_migration/models/create_aws_s3_details.py +0 -174
- oci/database_migration/models/create_connect_descriptor.py +0 -174
- oci/database_migration/models/create_data_pump_settings.py +0 -251
- oci/database_migration/models/create_data_transfer_medium_details.py +0 -124
- oci/database_migration/models/create_database_link_details.py +0 -99
- oci/database_migration/models/create_dump_transfer_details.py +0 -126
- oci/database_migration/models/create_golden_gate_details.py +0 -95
- oci/database_migration/models/create_golden_gate_hub.py +0 -275
- oci/database_migration/models/create_golden_gate_service_details.py +0 -149
- oci/database_migration/models/create_golden_gate_settings.py +0 -126
- oci/database_migration/models/create_private_endpoint.py +0 -151
- oci/database_migration/models/create_ssh_details.py +0 -166
- oci/database_migration/models/create_vault_details.py +0 -134
- oci/database_migration/models/data_pump_settings.py +0 -251
- oci/database_migration/models/data_transfer_medium_details.py +0 -122
- oci/database_migration/models/data_transfer_medium_details_v2.py +0 -125
- oci/database_migration/models/database_credentials.py +0 -103
- oci/database_migration/models/database_link_details.py +0 -99
- oci/database_migration/models/database_object.py +0 -167
- oci/database_migration/models/db_link_data_transfer_medium_details.py +0 -109
- oci/database_migration/models/dump_transfer_details.py +0 -126
- oci/database_migration/models/generate_token.py +0 -70
- oci/database_migration/models/golden_gate_details.py +0 -95
- oci/database_migration/models/golden_gate_hub.py +0 -275
- oci/database_migration/models/golden_gate_service_details.py +0 -95
- oci/database_migration/models/golden_gate_settings.py +0 -126
- oci/database_migration/models/migration_object_summary.py +0 -214
- oci/database_migration/models/nfs_data_transfer_medium_details.py +0 -78
- oci/database_migration/models/object_storage_data_transfer_medium_details.py +0 -78
- oci/database_migration/models/par_link.py +0 -70
- oci/database_migration/models/private_endpoint_details.py +0 -185
- oci/database_migration/models/ssh_details.py +0 -134
- oci/database_migration/models/update_advisor_settings.py +0 -103
- oci/database_migration/models/update_agent_details.py +0 -231
- oci/database_migration/models/update_aws_s3_details.py +0 -174
- oci/database_migration/models/update_connect_descriptor.py +0 -173
- oci/database_migration/models/update_data_pump_settings.py +0 -253
- oci/database_migration/models/update_data_transfer_medium_details.py +0 -125
- oci/database_migration/models/update_database_link_details.py +0 -99
- oci/database_migration/models/update_dump_transfer_details.py +0 -126
- oci/database_migration/models/update_golden_gate_details.py +0 -95
- oci/database_migration/models/update_golden_gate_hub.py +0 -275
- oci/database_migration/models/update_golden_gate_service_details.py +0 -149
- oci/database_migration/models/update_golden_gate_settings.py +0 -127
- oci/database_migration/models/update_private_endpoint.py +0 -151
- oci/database_migration/models/update_ssh_details.py +0 -165
- oci/database_migration/models/update_vault_details.py +0 -134
- oci/database_migration/models/vault_details.py +0 -134
- oci/database_tools/models/database_tools_allowed_network_sources.py +0 -107
- oci/database_tools/models/database_tools_virtual_source.py +0 -107
- oci/devops/models/run_pipeline_deploy_stage_execution_progress.py +0 -98
- oci/devops/models/run_validation_test_on_compute_instance_deploy_stage_execution_progress.py +0 -98
- oci/em_warehouse/em_data_lake_client.py +0 -1610
- oci/em_warehouse/em_data_lake_client_composite_operations.py +0 -190
- oci/fusion_apps/data_masking_activity_client.py +0 -456
- oci/fusion_apps/data_masking_activity_client_composite_operations.py +0 -65
- oci/fusion_apps/fusion_environment_client.py +0 -1772
- oci/fusion_apps/fusion_environment_client_composite_operations.py +0 -324
- oci/fusion_apps/fusion_environment_family_client.py +0 -943
- oci/fusion_apps/fusion_environment_family_client_composite_operations.py +0 -190
- oci/fusion_apps/models/attach_existing_instance_details.py +0 -194
- oci/fusion_apps/models/create_new_instance_details.py +0 -142
- oci/fusion_apps/models/create_oax_service_instance_details.py +0 -152
- oci/fusion_apps/models/create_oic_service_instance_details.py +0 -142
- oci/fusion_apps/models/create_service_instance_details.py +0 -170
- oci/fusion_apps/models/faw_admin_info_details.py +0 -132
- oci/fusion_apps/refresh_activity_client.py +0 -607
- oci/fusion_apps/refresh_activity_client_composite_operations.py +0 -65
- oci/fusion_apps/scheduled_activity_client.py +0 -380
- oci/fusion_apps/scheduled_activity_client_composite_operations.py +0 -24
- oci/fusion_apps/service_attachment_client.py +0 -370
- oci/fusion_apps/service_attachment_client_composite_operations.py +0 -24
- oci/jms/models/request_summarized_application_usage_details.py +0 -504
- oci/jms/models/request_summarized_installation_usage_details.py +0 -448
- oci/jms/models/request_summarized_jre_usage_details.py +0 -421
- oci/jms/models/request_summarized_managed_instance_usage_details.py +0 -480
- oci/log_analytics/models/agent_upload.py +0 -70
- oci/log_analytics/models/attribute.py +0 -602
- oci/log_analytics/models/create_namespace_details.py +0 -70
- oci/log_analytics/models/field_map.py +0 -101
- oci/log_analytics/models/generate_agent_object_name_details.py +0 -163
- oci/log_analytics/models/log_analytics.py +0 -370
- oci/log_analytics/models/log_analytics_collection_warning.py +0 -70
- oci/log_analytics/models/log_analytics_summary.py +0 -304
- oci/log_analytics/models/out_of_box_entity_type_details.py +0 -211
- oci/log_analytics/models/query.py +0 -70
- oci/log_analytics/models/query_work_request_resource.py +0 -70
- oci/log_analytics/models/register_entity_types_details.py +0 -70
- oci/log_analytics/models/service_tenancy.py +0 -70
- oci/log_analytics/models/string_list_details.py +0 -70
- oci/logging/models/log_included_search.py +0 -307
- oci/logging/models/log_included_search_summary.py +0 -165
- oci/logging/models/log_included_search_summary_collection.py +0 -70
- oci/media_services/models/media_workflow_job_fact.py +0 -198
- oci/media_services/models/media_workflow_job_fact_collection.py +0 -72
- oci/media_services/models/media_workflow_job_fact_summary.py +0 -165
- oci/mysql/models/add_analytics_cluster_details.py +0 -108
- oci/mysql/models/analytics_cluster.py +0 -338
- oci/mysql/models/analytics_cluster_memory_estimate.py +0 -241
- oci/mysql/models/analytics_cluster_node.py +0 -210
- oci/mysql/models/analytics_cluster_schema_memory_estimate.py +0 -107
- oci/mysql/models/analytics_cluster_summary.py +0 -209
- oci/mysql/models/analytics_cluster_table_memory_estimate.py +0 -239
- oci/mysql/models/update_analytics_cluster_details.py +0 -120
- oci/network_firewall/models/tcp_application.py +0 -112
- oci/network_firewall/models/udp_application.py +0 -112
- oci/oce/models/delete_oce_instance_details.py +0 -70
- oci/ocvp/models/datastore_summary.py +0 -154
- oci/ocvp/models/supported_sku_summary.py +0 -96
- oci/ocvp/models/supported_sku_summary_collection.py +0 -72
- oci/os_management/models/errata_id.py +0 -101
- oci/os_management/models/managed_instance_update_details.py +0 -101
- oci/os_management/models/updatable_package_summary.py +0 -287
- oci/osp_gateway/models/billing_address.py +0 -382
- oci/service_mesh/models/create_ingress_gateway_mutual_transport_layer_security_details.py +0 -76
- oci/service_mesh/models/create_mutual_transport_layer_security_details.py +0 -111
- oci/usage_api/models/create_schedule_report_details.py +0 -128
- oci/usage_api/models/saved_schedule_report.py +0 -145
- oci/usage_api/models/schedule_report.py +0 -159
- oci/usage_api/models/schedule_report_collection.py +0 -70
- oci/usage_api/models/schedule_report_summary.py +0 -97
- oci/usage_api/models/update_schedule_report_details.py +0 -66
- {oci-2.135.2.dist-info → oci-2.136.0.dist-info}/LICENSE.txt +0 -0
- {oci-2.135.2.dist-info → oci-2.136.0.dist-info}/THIRD_PARTY_LICENSES.txt +0 -0
- {oci-2.135.2.dist-info → oci-2.136.0.dist-info}/WHEEL +0 -0
- {oci-2.135.2.dist-info → oci-2.136.0.dist-info}/top_level.txt +0 -0
@@ -1,324 +0,0 @@
|
|
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
|
-
import oci # noqa: F401
|
6
|
-
from oci.util import WAIT_RESOURCE_NOT_FOUND # noqa: F401
|
7
|
-
|
8
|
-
|
9
|
-
class FusionEnvironmentClientCompositeOperations(object):
|
10
|
-
"""
|
11
|
-
This class provides a wrapper around :py:class:`~oci.fusion_apps.FusionEnvironmentClient` and offers convenience methods
|
12
|
-
for operations that would otherwise need to be chained together. For example, instead of performing an action
|
13
|
-
on a resource (e.g. launching an instance, creating a load balancer) and then using a waiter to wait for the resource
|
14
|
-
to enter a given state, you can call a single method in this class to accomplish the same functionality
|
15
|
-
"""
|
16
|
-
|
17
|
-
def __init__(self, client, **kwargs):
|
18
|
-
"""
|
19
|
-
Creates a new FusionEnvironmentClientCompositeOperations object
|
20
|
-
|
21
|
-
:param FusionEnvironmentClient client:
|
22
|
-
The service client which will be wrapped by this object
|
23
|
-
"""
|
24
|
-
self.client = client
|
25
|
-
|
26
|
-
def change_fusion_environment_compartment_and_wait_for_state(self, fusion_environment_id, change_fusion_environment_compartment_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
|
27
|
-
"""
|
28
|
-
Calls :py:func:`~oci.fusion_apps.FusionEnvironmentClient.change_fusion_environment_compartment` and waits for the :py:class:`~oci.fusion_apps.models.WorkRequest`
|
29
|
-
to enter the given state(s).
|
30
|
-
|
31
|
-
:param str fusion_environment_id: (required)
|
32
|
-
unique FusionEnvironment identifier
|
33
|
-
|
34
|
-
:param oci.fusion_apps.models.ChangeFusionEnvironmentCompartmentDetails change_fusion_environment_compartment_details: (required)
|
35
|
-
The details of change compartment request.
|
36
|
-
|
37
|
-
:param list[str] wait_for_states:
|
38
|
-
An array of states to wait on. These should be valid values for :py:attr:`~oci.fusion_apps.models.WorkRequest.status`
|
39
|
-
|
40
|
-
:param dict operation_kwargs:
|
41
|
-
A dictionary of keyword arguments to pass to :py:func:`~oci.fusion_apps.FusionEnvironmentClient.change_fusion_environment_compartment`
|
42
|
-
|
43
|
-
:param dict waiter_kwargs:
|
44
|
-
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``
|
45
|
-
as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
|
46
|
-
"""
|
47
|
-
operation_result = self.client.change_fusion_environment_compartment(fusion_environment_id, change_fusion_environment_compartment_details, **operation_kwargs)
|
48
|
-
if not wait_for_states:
|
49
|
-
return operation_result
|
50
|
-
|
51
|
-
lowered_wait_for_states = [w.lower() for w in wait_for_states]
|
52
|
-
wait_for_resource_id = operation_result.headers['opc-work-request-id']
|
53
|
-
|
54
|
-
try:
|
55
|
-
waiter_result = oci.wait_until(
|
56
|
-
self.client,
|
57
|
-
self.client.get_work_request(wait_for_resource_id),
|
58
|
-
evaluate_response=lambda r: getattr(r.data, 'status') and getattr(r.data, 'status').lower() in lowered_wait_for_states,
|
59
|
-
**waiter_kwargs
|
60
|
-
)
|
61
|
-
result_to_return = waiter_result
|
62
|
-
|
63
|
-
return result_to_return
|
64
|
-
except Exception as e:
|
65
|
-
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
66
|
-
|
67
|
-
def create_fusion_environment_and_wait_for_state(self, create_fusion_environment_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
|
68
|
-
"""
|
69
|
-
Calls :py:func:`~oci.fusion_apps.FusionEnvironmentClient.create_fusion_environment` and waits for the :py:class:`~oci.fusion_apps.models.WorkRequest`
|
70
|
-
to enter the given state(s).
|
71
|
-
|
72
|
-
:param oci.fusion_apps.models.CreateFusionEnvironmentDetails create_fusion_environment_details: (required)
|
73
|
-
Details for the new FusionEnvironment.
|
74
|
-
|
75
|
-
:param list[str] wait_for_states:
|
76
|
-
An array of states to wait on. These should be valid values for :py:attr:`~oci.fusion_apps.models.WorkRequest.status`
|
77
|
-
|
78
|
-
:param dict operation_kwargs:
|
79
|
-
A dictionary of keyword arguments to pass to :py:func:`~oci.fusion_apps.FusionEnvironmentClient.create_fusion_environment`
|
80
|
-
|
81
|
-
:param dict waiter_kwargs:
|
82
|
-
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``
|
83
|
-
as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
|
84
|
-
"""
|
85
|
-
operation_result = self.client.create_fusion_environment(create_fusion_environment_details, **operation_kwargs)
|
86
|
-
if not wait_for_states:
|
87
|
-
return operation_result
|
88
|
-
|
89
|
-
lowered_wait_for_states = [w.lower() for w in wait_for_states]
|
90
|
-
wait_for_resource_id = operation_result.headers['opc-work-request-id']
|
91
|
-
|
92
|
-
try:
|
93
|
-
waiter_result = oci.wait_until(
|
94
|
-
self.client,
|
95
|
-
self.client.get_work_request(wait_for_resource_id),
|
96
|
-
evaluate_response=lambda r: getattr(r.data, 'status') and getattr(r.data, 'status').lower() in lowered_wait_for_states,
|
97
|
-
**waiter_kwargs
|
98
|
-
)
|
99
|
-
result_to_return = waiter_result
|
100
|
-
|
101
|
-
return result_to_return
|
102
|
-
except Exception as e:
|
103
|
-
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
104
|
-
|
105
|
-
def create_fusion_environment_admin_user_and_wait_for_state(self, create_fusion_environment_admin_user_details, fusion_environment_id, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
|
106
|
-
"""
|
107
|
-
Calls :py:func:`~oci.fusion_apps.FusionEnvironmentClient.create_fusion_environment_admin_user` and waits for the :py:class:`~oci.fusion_apps.models.WorkRequest`
|
108
|
-
to enter the given state(s).
|
109
|
-
|
110
|
-
:param oci.fusion_apps.models.CreateFusionEnvironmentAdminUserDetails create_fusion_environment_admin_user_details: (required)
|
111
|
-
The admin user to be created.
|
112
|
-
|
113
|
-
:param str fusion_environment_id: (required)
|
114
|
-
unique FusionEnvironment identifier
|
115
|
-
|
116
|
-
:param list[str] wait_for_states:
|
117
|
-
An array of states to wait on. These should be valid values for :py:attr:`~oci.fusion_apps.models.WorkRequest.status`
|
118
|
-
|
119
|
-
:param dict operation_kwargs:
|
120
|
-
A dictionary of keyword arguments to pass to :py:func:`~oci.fusion_apps.FusionEnvironmentClient.create_fusion_environment_admin_user`
|
121
|
-
|
122
|
-
:param dict waiter_kwargs:
|
123
|
-
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``
|
124
|
-
as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
|
125
|
-
"""
|
126
|
-
operation_result = self.client.create_fusion_environment_admin_user(create_fusion_environment_admin_user_details, fusion_environment_id, **operation_kwargs)
|
127
|
-
if not wait_for_states:
|
128
|
-
return operation_result
|
129
|
-
|
130
|
-
lowered_wait_for_states = [w.lower() for w in wait_for_states]
|
131
|
-
wait_for_resource_id = operation_result.headers['opc-work-request-id']
|
132
|
-
|
133
|
-
try:
|
134
|
-
waiter_result = oci.wait_until(
|
135
|
-
self.client,
|
136
|
-
self.client.get_work_request(wait_for_resource_id),
|
137
|
-
evaluate_response=lambda r: getattr(r.data, 'status') and getattr(r.data, 'status').lower() in lowered_wait_for_states,
|
138
|
-
**waiter_kwargs
|
139
|
-
)
|
140
|
-
result_to_return = waiter_result
|
141
|
-
|
142
|
-
return result_to_return
|
143
|
-
except Exception as e:
|
144
|
-
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
145
|
-
|
146
|
-
def delete_fusion_environment_and_wait_for_state(self, fusion_environment_id, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
|
147
|
-
"""
|
148
|
-
Calls :py:func:`~oci.fusion_apps.FusionEnvironmentClient.delete_fusion_environment` and waits for the :py:class:`~oci.fusion_apps.models.WorkRequest`
|
149
|
-
to enter the given state(s).
|
150
|
-
|
151
|
-
:param str fusion_environment_id: (required)
|
152
|
-
unique FusionEnvironment identifier
|
153
|
-
|
154
|
-
:param list[str] wait_for_states:
|
155
|
-
An array of states to wait on. These should be valid values for :py:attr:`~oci.fusion_apps.models.WorkRequest.status`
|
156
|
-
|
157
|
-
:param dict operation_kwargs:
|
158
|
-
A dictionary of keyword arguments to pass to :py:func:`~oci.fusion_apps.FusionEnvironmentClient.delete_fusion_environment`
|
159
|
-
|
160
|
-
:param dict waiter_kwargs:
|
161
|
-
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``
|
162
|
-
as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
|
163
|
-
"""
|
164
|
-
operation_result = None
|
165
|
-
try:
|
166
|
-
operation_result = self.client.delete_fusion_environment(fusion_environment_id, **operation_kwargs)
|
167
|
-
except oci.exceptions.ServiceError as e:
|
168
|
-
if e.status == 404:
|
169
|
-
return WAIT_RESOURCE_NOT_FOUND
|
170
|
-
else:
|
171
|
-
raise e
|
172
|
-
|
173
|
-
if not wait_for_states:
|
174
|
-
return operation_result
|
175
|
-
|
176
|
-
lowered_wait_for_states = [w.lower() for w in wait_for_states]
|
177
|
-
wait_for_resource_id = operation_result.headers['opc-work-request-id']
|
178
|
-
|
179
|
-
try:
|
180
|
-
waiter_result = oci.wait_until(
|
181
|
-
self.client,
|
182
|
-
self.client.get_work_request(wait_for_resource_id),
|
183
|
-
evaluate_response=lambda r: getattr(r.data, 'status') and getattr(r.data, 'status').lower() in lowered_wait_for_states,
|
184
|
-
**waiter_kwargs
|
185
|
-
)
|
186
|
-
result_to_return = waiter_result
|
187
|
-
|
188
|
-
return result_to_return
|
189
|
-
except Exception as e:
|
190
|
-
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
191
|
-
|
192
|
-
def delete_fusion_environment_admin_user_and_wait_for_state(self, admin_username, fusion_environment_id, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
|
193
|
-
"""
|
194
|
-
Calls :py:func:`~oci.fusion_apps.FusionEnvironmentClient.delete_fusion_environment_admin_user` and waits for the :py:class:`~oci.fusion_apps.models.WorkRequest`
|
195
|
-
to enter the given state(s).
|
196
|
-
|
197
|
-
:param str admin_username: (required)
|
198
|
-
The admin user name for the fusion environment.
|
199
|
-
|
200
|
-
:param str fusion_environment_id: (required)
|
201
|
-
unique FusionEnvironment identifier
|
202
|
-
|
203
|
-
:param list[str] wait_for_states:
|
204
|
-
An array of states to wait on. These should be valid values for :py:attr:`~oci.fusion_apps.models.WorkRequest.status`
|
205
|
-
|
206
|
-
:param dict operation_kwargs:
|
207
|
-
A dictionary of keyword arguments to pass to :py:func:`~oci.fusion_apps.FusionEnvironmentClient.delete_fusion_environment_admin_user`
|
208
|
-
|
209
|
-
:param dict waiter_kwargs:
|
210
|
-
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``
|
211
|
-
as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
|
212
|
-
"""
|
213
|
-
operation_result = None
|
214
|
-
try:
|
215
|
-
operation_result = self.client.delete_fusion_environment_admin_user(admin_username, fusion_environment_id, **operation_kwargs)
|
216
|
-
except oci.exceptions.ServiceError as e:
|
217
|
-
if e.status == 404:
|
218
|
-
return WAIT_RESOURCE_NOT_FOUND
|
219
|
-
else:
|
220
|
-
raise e
|
221
|
-
|
222
|
-
if not wait_for_states:
|
223
|
-
return operation_result
|
224
|
-
|
225
|
-
lowered_wait_for_states = [w.lower() for w in wait_for_states]
|
226
|
-
wait_for_resource_id = operation_result.headers['opc-work-request-id']
|
227
|
-
|
228
|
-
try:
|
229
|
-
waiter_result = oci.wait_until(
|
230
|
-
self.client,
|
231
|
-
self.client.get_work_request(wait_for_resource_id),
|
232
|
-
evaluate_response=lambda r: getattr(r.data, 'status') and getattr(r.data, 'status').lower() in lowered_wait_for_states,
|
233
|
-
**waiter_kwargs
|
234
|
-
)
|
235
|
-
result_to_return = waiter_result
|
236
|
-
|
237
|
-
return result_to_return
|
238
|
-
except Exception as e:
|
239
|
-
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
240
|
-
|
241
|
-
def reset_fusion_environment_password_and_wait_for_state(self, reset_fusion_environment_password_details, fusion_environment_id, admin_username, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
|
242
|
-
"""
|
243
|
-
Calls :py:func:`~oci.fusion_apps.FusionEnvironmentClient.reset_fusion_environment_password` and waits for the :py:class:`~oci.fusion_apps.models.WorkRequest`
|
244
|
-
to enter the given state(s).
|
245
|
-
|
246
|
-
:param oci.fusion_apps.models.ResetFusionEnvironmentPasswordDetails reset_fusion_environment_password_details: (required)
|
247
|
-
The information to be updated.
|
248
|
-
|
249
|
-
:param str fusion_environment_id: (required)
|
250
|
-
unique FusionEnvironment identifier
|
251
|
-
|
252
|
-
:param str admin_username: (required)
|
253
|
-
The admin user name for the fusion environment.
|
254
|
-
|
255
|
-
:param list[str] wait_for_states:
|
256
|
-
An array of states to wait on. These should be valid values for :py:attr:`~oci.fusion_apps.models.WorkRequest.status`
|
257
|
-
|
258
|
-
:param dict operation_kwargs:
|
259
|
-
A dictionary of keyword arguments to pass to :py:func:`~oci.fusion_apps.FusionEnvironmentClient.reset_fusion_environment_password`
|
260
|
-
|
261
|
-
:param dict waiter_kwargs:
|
262
|
-
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``
|
263
|
-
as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
|
264
|
-
"""
|
265
|
-
operation_result = self.client.reset_fusion_environment_password(reset_fusion_environment_password_details, fusion_environment_id, admin_username, **operation_kwargs)
|
266
|
-
if not wait_for_states:
|
267
|
-
return operation_result
|
268
|
-
|
269
|
-
lowered_wait_for_states = [w.lower() for w in wait_for_states]
|
270
|
-
wait_for_resource_id = operation_result.headers['opc-work-request-id']
|
271
|
-
|
272
|
-
try:
|
273
|
-
waiter_result = oci.wait_until(
|
274
|
-
self.client,
|
275
|
-
self.client.get_work_request(wait_for_resource_id),
|
276
|
-
evaluate_response=lambda r: getattr(r.data, 'status') and getattr(r.data, 'status').lower() in lowered_wait_for_states,
|
277
|
-
**waiter_kwargs
|
278
|
-
)
|
279
|
-
result_to_return = waiter_result
|
280
|
-
|
281
|
-
return result_to_return
|
282
|
-
except Exception as e:
|
283
|
-
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
284
|
-
|
285
|
-
def update_fusion_environment_and_wait_for_state(self, fusion_environment_id, update_fusion_environment_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
|
286
|
-
"""
|
287
|
-
Calls :py:func:`~oci.fusion_apps.FusionEnvironmentClient.update_fusion_environment` and waits for the :py:class:`~oci.fusion_apps.models.WorkRequest`
|
288
|
-
to enter the given state(s).
|
289
|
-
|
290
|
-
:param str fusion_environment_id: (required)
|
291
|
-
unique FusionEnvironment identifier
|
292
|
-
|
293
|
-
:param oci.fusion_apps.models.UpdateFusionEnvironmentDetails update_fusion_environment_details: (required)
|
294
|
-
The information to be updated.
|
295
|
-
|
296
|
-
:param list[str] wait_for_states:
|
297
|
-
An array of states to wait on. These should be valid values for :py:attr:`~oci.fusion_apps.models.WorkRequest.status`
|
298
|
-
|
299
|
-
:param dict operation_kwargs:
|
300
|
-
A dictionary of keyword arguments to pass to :py:func:`~oci.fusion_apps.FusionEnvironmentClient.update_fusion_environment`
|
301
|
-
|
302
|
-
:param dict waiter_kwargs:
|
303
|
-
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``
|
304
|
-
as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
|
305
|
-
"""
|
306
|
-
operation_result = self.client.update_fusion_environment(fusion_environment_id, update_fusion_environment_details, **operation_kwargs)
|
307
|
-
if not wait_for_states:
|
308
|
-
return operation_result
|
309
|
-
|
310
|
-
lowered_wait_for_states = [w.lower() for w in wait_for_states]
|
311
|
-
wait_for_resource_id = operation_result.headers['opc-work-request-id']
|
312
|
-
|
313
|
-
try:
|
314
|
-
waiter_result = oci.wait_until(
|
315
|
-
self.client,
|
316
|
-
self.client.get_work_request(wait_for_resource_id),
|
317
|
-
evaluate_response=lambda r: getattr(r.data, 'status') and getattr(r.data, 'status').lower() in lowered_wait_for_states,
|
318
|
-
**waiter_kwargs
|
319
|
-
)
|
320
|
-
result_to_return = waiter_result
|
321
|
-
|
322
|
-
return result_to_return
|
323
|
-
except Exception as e:
|
324
|
-
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|