oci 2.142.0__py3-none-any.whl → 2.143.1__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- oci/access_governance_cp/access_governance_cp_client.py +8 -8
- oci/adm/application_dependency_management_client.py +36 -36
- oci/ai_anomaly_detection/anomaly_detection_client.py +36 -36
- oci/ai_document/ai_service_document_client.py +26 -26
- oci/ai_language/ai_service_language_client.py +44 -44
- oci/ai_speech/ai_service_speech_client.py +19 -19
- oci/ai_vision/ai_service_vision_client.py +28 -28
- oci/analytics/analytics_client.py +24 -24
- oci/announcements_service/announcement_client.py +5 -5
- oci/announcements_service/announcement_subscription_client.py +9 -9
- oci/announcements_service/announcements_preferences_client.py +4 -4
- oci/announcements_service/service_client.py +1 -1
- oci/apigateway/api_gateway_client.py +21 -21
- oci/apigateway/deployment_client.py +6 -6
- oci/apigateway/gateway_client.py +6 -6
- oci/apigateway/subscribers_client.py +6 -6
- oci/apigateway/usage_plans_client.py +6 -6
- oci/apigateway/work_requests_client.py +5 -5
- oci/apm_config/config_client.py +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/base_client.py +2 -2
- oci/bastion/bastion_client.py +15 -15
- oci/bds/bds_client.py +84 -84
- oci/blockchain/blockchain_platform_client.py +27 -27
- oci/budget/budget_client.py +10 -10
- oci/capacity_management/capacity_management_client.py +32 -32
- oci/certificates/certificates_client.py +5 -5
- oci/certificates_management/certificates_management_client.py +32 -32
- oci/cims/incident_client.py +6 -6
- oci/cloud_bridge/common_client.py +5 -5
- oci/cloud_bridge/discovery_client.py +15 -15
- oci/cloud_bridge/inventory_client.py +16 -16
- oci/cloud_bridge/ocb_agent_svc_client.py +23 -23
- oci/cloud_guard/cloud_guard_client.py +155 -155
- oci/cloud_migrations/migration_client.py +43 -43
- oci/cluster_placement_groups/cluster_placement_groups_cp_client.py +13 -13
- oci/compute_cloud_at_customer/compute_cloud_at_customer_client.py +12 -12
- oci/compute_instance_agent/compute_instance_agent_client.py +6 -6
- oci/compute_instance_agent/plugin_client.py +2 -2
- oci/compute_instance_agent/pluginconfig_client.py +1 -1
- oci/container_engine/container_engine_client.py +44 -44
- oci/container_instances/container_instance_client.py +18 -18
- oci/core/blockstorage_client.py +60 -60
- oci/core/compute_client.py +102 -102
- oci/core/compute_management_client.py +32 -32
- oci/core/models/__init__.py +18 -0
- oci/core/models/byoasn.py +501 -0
- oci/core/models/byoasn_byoip_range.py +173 -0
- oci/core/models/byoasn_collection.py +72 -0
- oci/core/models/byoasn_summary.py +360 -0
- oci/core/models/byoip_range.py +27 -0
- oci/core/models/byoip_range_origin_asn.py +138 -0
- oci/core/models/change_byoasn_compartment_details.py +76 -0
- oci/core/models/create_byoasn_details.py +222 -0
- oci/core/models/set_origin_asn_details.py +107 -0
- oci/core/models/update_byoasn_details.py +156 -0
- oci/core/virtual_network_client.py +1426 -379
- oci/core/virtual_network_client_composite_operations.py +229 -0
- oci/dashboard_service/dashboard_client.py +6 -6
- oci/dashboard_service/dashboard_group_client.py +6 -6
- oci/data_catalog/data_catalog_client.py +149 -149
- oci/data_flow/data_flow_client.py +45 -45
- oci/data_integration/data_integration_client.py +163 -163
- oci/data_labeling_service/data_labeling_management_client.py +17 -17
- oci/data_labeling_service_dataplane/data_labeling_client.py +15 -15
- oci/data_safe/data_safe_client.py +292 -292
- oci/data_science/data_science_client.py +92 -92
- oci/database/database_client.py +2132 -1266
- oci/database/database_client_composite_operations.py +573 -0
- oci/database/models/__init__.py +24 -0
- oci/database/models/autonomous_dw_database.py +4609 -0
- oci/database/models/backup.py +29 -2
- oci/database/models/backup_summary.py +29 -2
- oci/database/models/cloud_exadata_infrastructure.py +111 -2
- oci/database/models/cloud_exadata_infrastructure_summary.py +111 -2
- oci/database/models/cloud_vm_cluster.py +49 -2
- oci/database/models/cloud_vm_cluster_summary.py +49 -2
- oci/database/models/convert_to_standalone_details.py +76 -0
- oci/database/models/create_cloud_exadata_infrastructure_details.py +64 -2
- oci/database/models/create_data_guard_association_details.py +27 -0
- oci/database/models/create_data_guard_association_to_existing_db_system_details.py +7 -0
- oci/database/models/create_data_guard_association_to_existing_vm_cluster_details.py +7 -0
- oci/database/models/create_data_guard_association_with_new_db_system_details.py +7 -0
- oci/database/models/create_database_base.py +13 -3
- oci/database/models/create_database_details.py +29 -2
- oci/database/models/create_database_from_backup.py +1 -1
- oci/database/models/create_database_from_backup_details.py +27 -0
- oci/database/models/create_exadata_infrastructure_details.py +62 -0
- oci/database/models/create_new_database_details.py +1 -1
- oci/database/models/create_stand_by_database_details.py +108 -0
- oci/database/models/create_standby_details.py +396 -0
- oci/database/models/data_guard_group.py +132 -0
- oci/database/models/data_guard_group_member.py +406 -0
- oci/database/models/database.py +56 -2
- oci/database/models/database_summary.py +56 -2
- oci/database/models/db_server.py +49 -2
- oci/database/models/db_server_summary.py +49 -2
- oci/database/models/db_system_shape_summary.py +109 -0
- oci/database/models/encryption_key_location_details.py +101 -0
- oci/database/models/exadata_infrastructure.py +118 -5
- oci/database/models/exadata_infrastructure_summary.py +118 -5
- oci/database/models/external_hsm_encryption_details.py +82 -0
- oci/database/models/failover_data_guard_details.py +76 -0
- oci/database/models/flex_component_summary.py +235 -2
- oci/database/models/reinstate_data_guard_details.py +111 -0
- oci/database/models/switch_over_data_guard_details.py +76 -0
- oci/database/models/update_autonomous_database_details.py +37 -2
- oci/database/models/update_data_guard_details.py +241 -0
- oci/database/models/update_exadata_infrastructure_details.py +7 -3
- oci/database/models/vm_cluster.py +49 -2
- oci/database/models/vm_cluster_summary.py +49 -2
- oci/database_management/db_management_client.py +2738 -600
- oci/database_management/db_management_client_composite_operations.py +301 -0
- oci/database_management/diagnosability_client.py +4 -4
- oci/database_management/managed_my_sql_databases_client.py +275 -7
- oci/database_management/models/__init__.py +54 -0
- oci/database_management/models/alert_log_summary.py +14 -6
- oci/database_management/models/attention_log_summary.py +14 -6
- oci/database_management/models/awr_db_snapshot_range_summary.py +93 -0
- oci/database_management/models/awr_db_summary.py +93 -0
- oci/database_management/models/base_database_ha_details.py +540 -0
- oci/database_management/models/create_external_my_sql_database_connector_details.py +99 -0
- oci/database_management/models/create_external_my_sql_database_details.py +103 -0
- oci/database_management/models/create_my_sql_database_connector_details.py +329 -0
- oci/database_management/models/database_backup_metrics.py +722 -0
- oci/database_management/models/database_backup_summary.py +263 -0
- oci/database_management/models/database_fleet_backup_metrics.py +72 -0
- oci/database_management/models/database_fleet_dataguard_metrics.py +72 -0
- oci/database_management/models/database_fleet_ha_overview_metrics.py +72 -0
- oci/database_management/models/database_ha_backup_details.py +722 -0
- oci/database_management/models/database_ha_metrics.py +629 -0
- oci/database_management/models/dataguard_metrics.py +664 -0
- oci/database_management/models/disable_external_mysql_associated_service_details.py +146 -0
- oci/database_management/models/enable_external_database_management_details.py +72 -0
- oci/database_management/models/enable_external_mysql_associated_service_details.py +146 -0
- oci/database_management/models/exadata_infrastructure_lifecycle_state_values.py +108 -0
- oci/database_management/models/external_my_sql_database.py +181 -0
- oci/database_management/models/external_my_sql_database_collection.py +72 -0
- oci/database_management/models/external_my_sql_database_connector.py +761 -0
- oci/database_management/models/external_my_sql_database_summary.py +365 -0
- oci/database_management/models/ha_metric_definition.py +202 -0
- oci/database_management/models/managed_my_sql_database.py +192 -2
- oci/database_management/models/managed_my_sql_database_summary.py +161 -2
- oci/database_management/models/my_sql_connector_collection.py +72 -0
- oci/database_management/models/my_sql_data_summary.py +93 -0
- oci/database_management/models/my_sql_database_connector_summary.py +711 -0
- oci/database_management/models/stand_by_database_dataguard_metrics.py +294 -0
- oci/database_management/models/update_external_my_sql_database_connector_details.py +99 -0
- oci/database_management/models/update_external_my_sql_database_details.py +72 -0
- oci/database_management/models/update_my_sql_database_connector_details.py +329 -0
- oci/database_management/models/work_request.py +23 -3
- oci/database_management/models/work_request_summary.py +23 -3
- 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 +31 -31
- oci/disaster_recovery/models/__init__.py +48 -0
- oci/disaster_recovery/models/create_dr_protection_group_member_autonomous_container_database_details.py +1 -1
- oci/disaster_recovery/models/create_dr_protection_group_member_autonomous_database_details.py +1 -1
- oci/disaster_recovery/models/create_dr_protection_group_member_compute_instance_details.py +1 -1
- oci/disaster_recovery/models/create_dr_protection_group_member_compute_instance_movable_details.py +1 -1
- oci/disaster_recovery/models/create_dr_protection_group_member_compute_instance_non_movable_details.py +1 -1
- oci/disaster_recovery/models/create_dr_protection_group_member_database_details.py +1 -1
- oci/disaster_recovery/models/create_dr_protection_group_member_details.py +11 -3
- oci/disaster_recovery/models/create_dr_protection_group_member_file_system_details.py +1 -1
- oci/disaster_recovery/models/create_dr_protection_group_member_load_balancer_details.py +1 -1
- oci/disaster_recovery/models/create_dr_protection_group_member_network_load_balancer_details.py +1 -1
- oci/disaster_recovery/models/create_dr_protection_group_member_object_storage_bucket_details.py +1 -1
- oci/disaster_recovery/models/create_dr_protection_group_member_oke_cluster_details.py +351 -0
- oci/disaster_recovery/models/create_dr_protection_group_member_volume_group_details.py +1 -1
- oci/disaster_recovery/models/create_oke_backup_location_details.py +111 -0
- oci/disaster_recovery/models/create_oke_cluster_backup_config_details.py +292 -0
- oci/disaster_recovery/models/create_oke_cluster_load_balancer_mapping_details.py +111 -0
- oci/disaster_recovery/models/create_oke_cluster_managed_node_pool_configuration_details.py +134 -0
- oci/disaster_recovery/models/create_oke_cluster_network_load_balancer_mapping_details.py +111 -0
- oci/disaster_recovery/models/create_oke_cluster_vault_mapping_details.py +111 -0
- oci/disaster_recovery/models/create_oke_cluster_virtual_node_pool_configuration_details.py +134 -0
- oci/disaster_recovery/models/dr_plan_step.py +67 -3
- oci/disaster_recovery/models/dr_plan_step_execution.py +67 -3
- oci/disaster_recovery/models/dr_protection_group_member.py +11 -3
- oci/disaster_recovery/models/dr_protection_group_member_autonomous_container_database.py +1 -1
- oci/disaster_recovery/models/dr_protection_group_member_autonomous_database.py +1 -1
- oci/disaster_recovery/models/dr_protection_group_member_compute_instance.py +1 -1
- oci/disaster_recovery/models/dr_protection_group_member_compute_instance_movable.py +1 -1
- oci/disaster_recovery/models/dr_protection_group_member_compute_instance_non_movable.py +1 -1
- oci/disaster_recovery/models/dr_protection_group_member_database.py +1 -1
- oci/disaster_recovery/models/dr_protection_group_member_file_system.py +1 -1
- oci/disaster_recovery/models/dr_protection_group_member_load_balancer.py +1 -1
- oci/disaster_recovery/models/dr_protection_group_member_network_load_balancer.py +1 -1
- oci/disaster_recovery/models/dr_protection_group_member_object_storage_bucket.py +1 -1
- oci/disaster_recovery/models/dr_protection_group_member_oke_cluster.py +351 -0
- oci/disaster_recovery/models/dr_protection_group_member_volume_group.py +1 -1
- oci/disaster_recovery/models/oke_backup_location.py +146 -0
- oci/disaster_recovery/models/oke_cluster_backup_config.py +234 -0
- oci/disaster_recovery/models/oke_cluster_load_balancer_mapping.py +111 -0
- oci/disaster_recovery/models/oke_cluster_managed_node_pool_configuration.py +134 -0
- oci/disaster_recovery/models/oke_cluster_network_load_balancer_mapping.py +111 -0
- oci/disaster_recovery/models/oke_cluster_vault_mapping.py +111 -0
- oci/disaster_recovery/models/oke_cluster_virtual_node_pool_configuration.py +134 -0
- oci/disaster_recovery/models/update_dr_protection_group_member_autonomous_container_database_details.py +1 -1
- oci/disaster_recovery/models/update_dr_protection_group_member_autonomous_database_details.py +1 -1
- oci/disaster_recovery/models/update_dr_protection_group_member_compute_instance_details.py +1 -1
- oci/disaster_recovery/models/update_dr_protection_group_member_compute_instance_movable_details.py +1 -1
- oci/disaster_recovery/models/update_dr_protection_group_member_compute_instance_non_movable_details.py +1 -1
- oci/disaster_recovery/models/update_dr_protection_group_member_database_details.py +1 -1
- oci/disaster_recovery/models/update_dr_protection_group_member_details.py +11 -3
- oci/disaster_recovery/models/update_dr_protection_group_member_file_system_details.py +1 -1
- oci/disaster_recovery/models/update_dr_protection_group_member_load_balancer_details.py +1 -1
- oci/disaster_recovery/models/update_dr_protection_group_member_network_load_balancer_details.py +1 -1
- oci/disaster_recovery/models/update_dr_protection_group_member_object_storage_bucket_details.py +1 -1
- oci/disaster_recovery/models/update_dr_protection_group_member_oke_cluster_details.py +351 -0
- oci/disaster_recovery/models/update_dr_protection_group_member_volume_group_details.py +1 -1
- oci/disaster_recovery/models/update_oke_backup_location_details.py +111 -0
- oci/disaster_recovery/models/update_oke_cluster_backup_config_details.py +236 -0
- oci/disaster_recovery/models/update_oke_cluster_load_balancer_mapping_details.py +111 -0
- oci/disaster_recovery/models/update_oke_cluster_managed_node_pool_configuration_details.py +134 -0
- oci/disaster_recovery/models/update_oke_cluster_network_load_balancer_mapping_details.py +111 -0
- oci/disaster_recovery/models/update_oke_cluster_vault_mapping_details.py +111 -0
- oci/disaster_recovery/models/update_oke_cluster_virtual_node_pool_configuration_details.py +134 -0
- oci/dns/dns_client.py +54 -54
- oci/dts/appliance_export_job_client.py +6 -6
- oci/dts/shipping_vendors_client.py +1 -1
- oci/dts/transfer_appliance_client.py +8 -8
- oci/dts/transfer_appliance_entitlement_client.py +3 -3
- oci/dts/transfer_device_client.py +5 -5
- oci/dts/transfer_job_client.py +6 -6
- oci/dts/transfer_package_client.py +7 -7
- oci/em_warehouse/em_warehouse_client.py +13 -13
- oci/email/email_client.py +31 -31
- oci/email_data_plane/email_dp_client.py +1 -1
- oci/events/events_client.py +6 -6
- oci/file_storage/file_storage_client.py +68 -68
- oci/fleet_apps_management/fleet_apps_management_admin_client.py +25 -25
- oci/fleet_apps_management/fleet_apps_management_client.py +35 -35
- oci/fleet_apps_management/fleet_apps_management_maintenance_window_client.py +5 -5
- oci/fleet_apps_management/fleet_apps_management_operations_client.py +26 -26
- oci/fleet_apps_management/fleet_apps_management_runbooks_client.py +12 -12
- oci/fleet_software_update/fleet_software_update_client.py +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 +84 -84
- oci/governance_rules_control_plane/governance_rule_client.py +15 -15
- oci/governance_rules_control_plane/work_request_client.py +5 -5
- oci/healthchecks/health_checks_client.py +17 -17
- oci/identity/identity_client.py +145 -145
- oci/identity_data_plane/dataplane_client.py +2 -2
- oci/identity_domains/identity_domains_client.py +311 -311
- oci/integration/integration_instance_client.py +19 -19
- oci/jms/java_management_service_client.py +75 -75
- oci/jms_java_downloads/java_download_client.py +25 -25
- oci/key_management/ekm_client.py +5 -5
- oci/key_management/kms_crypto_client.py +6 -6
- oci/key_management/kms_hsm_cluster_client.py +12 -12
- oci/key_management/kms_management_client.py +21 -21
- oci/key_management/kms_vault_client.py +14 -14
- oci/license_manager/license_manager_client.py +18 -18
- oci/limits/limits_client.py +4 -4
- oci/limits/quotas_client.py +7 -7
- oci/load_balancer/load_balancer_client.py +61 -61
- oci/lockbox/lockbox_client.py +24 -24
- oci/log_analytics/log_analytics_client.py +193 -193
- oci/logging/logging_management_client.py +30 -30
- oci/loggingingestion/logging_client.py +1 -1
- oci/loggingsearch/log_search_client.py +1 -1
- oci/management_agent/management_agent_client.py +28 -28
- oci/management_dashboard/dashx_apis_client.py +14 -14
- oci/marketplace/account_client.py +2 -2
- oci/marketplace/marketplace_client.py +30 -30
- oci/marketplace_private_offer/attachment_client.py +5 -5
- oci/marketplace_private_offer/offer_client.py +6 -6
- oci/marketplace_publisher/attachment_client.py +5 -5
- oci/marketplace_publisher/marketplace_publisher_client.py +71 -71
- oci/marketplace_publisher/offer_client.py +6 -6
- oci/media_services/media_services_client.py +60 -60
- oci/media_services/media_stream_client.py +2 -2
- oci/monitoring/monitoring_client.py +18 -18
- oci/mysql/channels_client.py +7 -7
- oci/mysql/db_backups_client.py +7 -7
- oci/mysql/db_system_client.py +17 -17
- oci/mysql/mysqlaas_client.py +7 -7
- oci/mysql/replicas_client.py +5 -5
- oci/mysql/work_requests_client.py +4 -4
- oci/network_firewall/network_firewall_client.py +86 -86
- oci/network_load_balancer/models/__init__.py +2 -0
- oci/network_load_balancer/models/backend.py +8 -8
- oci/network_load_balancer/models/backend_details.py +4 -4
- oci/network_load_balancer/models/backend_operational_status.py +92 -0
- oci/network_load_balancer/models/backend_set.py +64 -2
- oci/network_load_balancer/models/backend_set_details.py +64 -2
- oci/network_load_balancer/models/backend_set_summary.py +64 -2
- oci/network_load_balancer/models/backend_summary.py +8 -8
- oci/network_load_balancer/models/create_backend_details.py +8 -8
- oci/network_load_balancer/models/create_backend_set_details.py +64 -2
- oci/network_load_balancer/models/create_listener_details.py +3 -3
- oci/network_load_balancer/models/create_network_load_balancer_details.py +6 -6
- oci/network_load_balancer/models/health_checker.py +2 -2
- oci/network_load_balancer/models/health_checker_details.py +2 -2
- oci/network_load_balancer/models/listener.py +3 -3
- oci/network_load_balancer/models/listener_details.py +3 -3
- oci/network_load_balancer/models/listener_summary.py +3 -3
- oci/network_load_balancer/models/network_load_balancer.py +6 -6
- oci/network_load_balancer/models/network_load_balancer_summary.py +4 -4
- oci/network_load_balancer/models/update_backend_details.py +6 -6
- oci/network_load_balancer/models/update_backend_set_details.py +64 -2
- oci/network_load_balancer/models/update_listener_details.py +3 -3
- oci/network_load_balancer/network_load_balancer_client.py +150 -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 +16 -16
- 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 +14 -0
- oci/opsi/models/autonomous_database_configuration_summary.py +1 -1
- oci/opsi/models/autonomous_database_insight.py +1 -1
- oci/opsi/models/autonomous_database_insight_summary.py +1 -1
- oci/opsi/models/change_external_mysql_database_insight_connection_details.py +76 -0
- oci/opsi/models/create_autonomous_database_insight_details.py +1 -1
- oci/opsi/models/create_database_insight_details.py +11 -3
- oci/opsi/models/create_em_managed_external_database_insight_details.py +1 -1
- oci/opsi/models/create_external_mysql_database_insight_details.py +142 -0
- oci/opsi/models/create_macs_managed_cloud_database_insight_details.py +1 -1
- oci/opsi/models/create_mds_my_sql_database_insight_details.py +1 -1
- oci/opsi/models/create_news_report_details.py +99 -5
- oci/opsi/models/create_pe_comanaged_database_insight_details.py +1 -1
- oci/opsi/models/database_configuration_summary.py +11 -3
- oci/opsi/models/database_insight.py +11 -3
- oci/opsi/models/database_insight_summary.py +11 -3
- oci/opsi/models/em_managed_external_database_configuration_summary.py +1 -1
- oci/opsi/models/em_managed_external_database_insight.py +1 -1
- oci/opsi/models/em_managed_external_database_insight_summary.py +1 -1
- oci/opsi/models/enable_autonomous_database_insight_details.py +1 -1
- oci/opsi/models/enable_database_insight_details.py +11 -3
- oci/opsi/models/enable_em_managed_external_database_insight_details.py +1 -1
- oci/opsi/models/enable_external_mysql_database_insight_details.py +86 -0
- oci/opsi/models/enable_macs_managed_cloud_database_insight_details.py +1 -1
- oci/opsi/models/enable_mds_my_sql_database_insight_details.py +1 -1
- oci/opsi/models/enable_pe_comanaged_database_insight_details.py +1 -1
- oci/opsi/models/external_mysql_database_configuration_summary.py +226 -0
- oci/opsi/models/external_mysql_database_insight.py +248 -0
- oci/opsi/models/external_mysql_database_insight_summary.py +280 -0
- oci/opsi/models/macs_managed_cloud_database_configuration_summary.py +1 -1
- oci/opsi/models/macs_managed_cloud_database_insight.py +1 -1
- oci/opsi/models/macs_managed_cloud_database_insight_summary.py +1 -1
- oci/opsi/models/macs_managed_external_database_configuration_summary.py +1 -1
- oci/opsi/models/macs_managed_external_database_insight.py +1 -1
- oci/opsi/models/macs_managed_external_database_insight_summary.py +1 -1
- oci/opsi/models/mds_my_sql_database_insight.py +1 -1
- oci/opsi/models/mds_my_sql_database_insight_summary.py +1 -1
- oci/opsi/models/mds_mysql_database_configuration_summary.py +1 -1
- oci/opsi/models/news_content_types.py +33 -2
- oci/opsi/models/news_report.py +99 -5
- oci/opsi/models/news_report_summary.py +99 -5
- oci/opsi/models/pe_comanaged_database_insight.py +1 -1
- oci/opsi/models/pe_comanaged_database_insight_summary.py +1 -1
- oci/opsi/models/pe_comanaged_managed_external_database_configuration_summary.py +1 -1
- oci/opsi/models/summarize_exadata_insight_resource_utilization_insight_aggregation.py +62 -0
- oci/opsi/models/update_autonomous_database_insight_details.py +1 -1
- oci/opsi/models/update_database_insight_details.py +11 -3
- oci/opsi/models/update_em_managed_external_database_insight_details.py +1 -1
- oci/opsi/models/update_external_mysql_database_insight_details.py +65 -0
- oci/opsi/models/update_macs_managed_cloud_database_insight_details.py +1 -1
- oci/opsi/models/update_macs_managed_external_database_insight_details.py +1 -1
- oci/opsi/models/update_mds_my_sql_database_insight.py +1 -1
- oci/opsi/models/update_news_report_details.py +99 -5
- oci/opsi/models/update_pe_comanaged_database_insight_details.py +1 -1
- oci/opsi/models/vm_cluster_summary.py +8 -8
- oci/opsi/models/work_request.py +7 -3
- oci/opsi/operations_insights_client.py +332 -202
- oci/opsi/operations_insights_client_composite_operations.py +42 -0
- oci/optimizer/optimizer_client.py +26 -26
- oci/os_management/event_client.py +8 -8
- oci/os_management/os_management_client.py +69 -69
- oci/os_management_hub/event_client.py +8 -8
- oci/os_management_hub/lifecycle_environment_client.py +12 -12
- oci/os_management_hub/managed_instance_client.py +31 -31
- oci/os_management_hub/managed_instance_group_client.py +25 -25
- oci/os_management_hub/management_station_client.py +10 -10
- oci/os_management_hub/onboarding_client.py +6 -6
- oci/os_management_hub/reporting_managed_instance_client.py +3 -3
- oci/os_management_hub/scheduled_job_client.py +7 -7
- oci/os_management_hub/software_source_client.py +27 -27
- oci/os_management_hub/work_request_client.py +4 -4
- oci/osp_gateway/address_rule_service_client.py +1 -1
- oci/osp_gateway/address_service_client.py +2 -2
- oci/osp_gateway/invoice_service_client.py +5 -5
- oci/osp_gateway/subscription_service_client.py +5 -5
- oci/osub_billing_schedule/billing_schedule_client.py +1 -1
- oci/osub_organization_subscription/organization_subscription_client.py +1 -1
- oci/osub_subscription/commitment_client.py +2 -2
- oci/osub_subscription/ratecard_client.py +1 -1
- oci/osub_subscription/subscription_client.py +1 -1
- oci/osub_usage/computed_usage_client.py +3 -3
- oci/psql/postgresql_client.py +33 -33
- oci/queue/queue_admin_client.py +11 -11
- oci/queue/queue_client.py +8 -8
- oci/recovery/database_recovery_client.py +26 -26
- oci/redis/redis_cluster_client.py +12 -12
- oci/resource_manager/resource_manager_client.py +52 -52
- oci/resource_scheduler/schedule_client.py +13 -13
- oci/resource_search/resource_search_client.py +3 -3
- oci/rover/rover_bundle_client.py +8 -8
- oci/rover/rover_cluster_client.py +8 -8
- oci/rover/rover_entitlement_client.py +6 -6
- oci/rover/rover_node_client.py +15 -15
- oci/rover/shape_client.py +1 -1
- oci/rover/work_requests_client.py +5 -5
- oci/sch/connector_plugins_client.py +2 -2
- oci/sch/service_connector_client.py +12 -12
- oci/secrets/secrets_client.py +3 -3
- oci/security_attribute/security_attribute_client.py +18 -18
- oci/service_catalog/service_catalog_client.py +26 -26
- oci/service_manager_proxy/service_manager_proxy_client.py +2 -2
- oci/service_mesh/service_mesh_client.py +48 -48
- oci/stack_monitoring/stack_monitoring_client.py +71 -71
- oci/streaming/stream_admin_client.py +18 -18
- oci/streaming/stream_client.py +8 -8
- oci/tenant_manager_control_plane/domain_client.py +5 -5
- oci/tenant_manager_control_plane/domain_governance_client.py +5 -5
- oci/tenant_manager_control_plane/governance_client.py +2 -2
- oci/tenant_manager_control_plane/link_client.py +3 -3
- oci/tenant_manager_control_plane/models/assigned_subscription_line_item_summary.py +35 -2
- oci/tenant_manager_control_plane/models/assigned_subscription_summary.py +35 -2
- oci/tenant_manager_control_plane/models/available_region_summary.py +35 -2
- oci/tenant_manager_control_plane/models/classic_assigned_subscription.py +57 -2
- oci/tenant_manager_control_plane/models/classic_assigned_subscription_summary.py +64 -2
- oci/tenant_manager_control_plane/models/classic_subscription_summary.py +7 -0
- oci/tenant_manager_control_plane/models/cloud_assigned_subscription_summary.py +7 -0
- oci/tenant_manager_control_plane/models/cloud_subscription_summary.py +7 -0
- oci/tenant_manager_control_plane/models/create_child_tenancy_details.py +33 -2
- oci/tenant_manager_control_plane/models/link_summary.py +35 -2
- oci/tenant_manager_control_plane/models/organization_summary.py +35 -2
- oci/tenant_manager_control_plane/models/organization_tenancy_summary.py +35 -2
- oci/tenant_manager_control_plane/models/subscription_line_item_summary.py +35 -2
- oci/tenant_manager_control_plane/models/subscription_mapping_summary.py +35 -2
- oci/tenant_manager_control_plane/models/subscription_summary.py +37 -4
- oci/tenant_manager_control_plane/models/work_request.py +23 -3
- oci/tenant_manager_control_plane/models/work_request_summary.py +23 -3
- oci/tenant_manager_control_plane/orders_client.py +2 -2
- oci/tenant_manager_control_plane/organization_client.py +10 -10
- oci/tenant_manager_control_plane/recipient_invitation_client.py +5 -5
- oci/tenant_manager_control_plane/sender_invitation_client.py +5 -5
- oci/tenant_manager_control_plane/subscription_client.py +11 -11
- oci/tenant_manager_control_plane/work_request_client.py +4 -4
- oci/threat_intelligence/threatintel_client.py +5 -5
- oci/usage/resources_client.py +2 -2
- oci/usage/rewards_client.py +6 -6
- oci/usage/usagelimits_client.py +1 -1
- oci/usage_api/usageapi_client.py +33 -33
- oci/vault/vaults_client.py +13 -13
- oci/vbs_inst/vbs_instance_client.py +10 -10
- oci/version.py +1 -1
- oci/visual_builder/vb_instance_client.py +14 -14
- oci/vn_monitoring/vn_monitoring_client.py +12 -12
- oci/vulnerability_scanning/vulnerability_scanning_client.py +58 -58
- oci/waa/waa_client.py +13 -13
- oci/waa/work_request_client.py +4 -4
- oci/waas/redirect_client.py +6 -6
- oci/waas/waas_client.py +66 -66
- oci/waf/waf_client.py +24 -24
- oci/work_requests/work_request_client.py +4 -4
- oci/zpr/zpr_client.py +15 -15
- {oci-2.142.0.dist-info → oci-2.143.1.dist-info}/METADATA +1 -1
- {oci-2.142.0.dist-info → oci-2.143.1.dist-info}/RECORD +511 -431
- {oci-2.142.0.dist-info → oci-2.143.1.dist-info}/LICENSE.txt +0 -0
- {oci-2.142.0.dist-info → oci-2.143.1.dist-info}/THIRD_PARTY_LICENSES.txt +0 -0
- {oci-2.142.0.dist-info → oci-2.143.1.dist-info}/WHEEL +0 -0
- {oci-2.142.0.dist-info → oci-2.143.1.dist-info}/top_level.txt +0 -0
@@ -489,6 +489,48 @@ class VirtualNetworkClientCompositeOperations(object):
|
|
489
489
|
except Exception as e:
|
490
490
|
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
491
491
|
|
492
|
+
def create_byoasn_and_wait_for_state(self, create_byoasn_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
|
493
|
+
"""
|
494
|
+
Calls :py:func:`~oci.core.VirtualNetworkClient.create_byoasn` and waits for the :py:class:`~oci.core.models.Byoasn` acted upon
|
495
|
+
to enter the given state(s).
|
496
|
+
|
497
|
+
:param oci.core.models.CreateByoasnDetails create_byoasn_details: (required)
|
498
|
+
Details needed to create a BYOASN Resource.
|
499
|
+
|
500
|
+
:param list[str] wait_for_states:
|
501
|
+
An array of states to wait on. These should be valid values for :py:attr:`~oci.core.models.Byoasn.lifecycle_state`
|
502
|
+
|
503
|
+
:param dict operation_kwargs:
|
504
|
+
A dictionary of keyword arguments to pass to :py:func:`~oci.core.VirtualNetworkClient.create_byoasn`
|
505
|
+
|
506
|
+
:param dict waiter_kwargs:
|
507
|
+
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``
|
508
|
+
as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
|
509
|
+
"""
|
510
|
+
operation_result = self.client.create_byoasn(create_byoasn_details, **operation_kwargs)
|
511
|
+
if not wait_for_states:
|
512
|
+
return operation_result
|
513
|
+
lowered_wait_for_states = [w.lower() for w in wait_for_states]
|
514
|
+
byoasn_id = operation_result.data.id
|
515
|
+
|
516
|
+
try:
|
517
|
+
waiter_result = oci.wait_until(
|
518
|
+
self.client,
|
519
|
+
self.client.get_byoasn(byoasn_id), # noqa: F821
|
520
|
+
evaluate_response=lambda r: getattr(r.data, 'lifecycle_state') and getattr(r.data, 'lifecycle_state').lower() in lowered_wait_for_states,
|
521
|
+
**waiter_kwargs
|
522
|
+
)
|
523
|
+
result_to_return = waiter_result
|
524
|
+
|
525
|
+
return result_to_return
|
526
|
+
except (NameError, TypeError) as e:
|
527
|
+
if not e.args:
|
528
|
+
e.args = ('',)
|
529
|
+
e.args = e.args + ('This composite operation is currently not supported in the SDK. Please use the operation from the service client and use waiters as an alternative. For more information on waiters, visit: "https://docs.oracle.com/en-us/iaas/tools/python/latest/api/waiters.html"', )
|
530
|
+
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
531
|
+
except Exception as e:
|
532
|
+
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
533
|
+
|
492
534
|
def create_byoip_range_and_wait_for_state(self, create_byoip_range_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
|
493
535
|
"""
|
494
536
|
Calls :py:func:`~oci.core.VirtualNetworkClient.create_byoip_range` and waits for the :py:class:`~oci.core.models.ByoipRange` acted upon
|
@@ -1581,6 +1623,67 @@ class VirtualNetworkClientCompositeOperations(object):
|
|
1581
1623
|
except Exception as e:
|
1582
1624
|
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
1583
1625
|
|
1626
|
+
def delete_byoasn_and_wait_for_state(self, byoasn_id, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
|
1627
|
+
"""
|
1628
|
+
Calls :py:func:`~oci.core.VirtualNetworkClient.delete_byoasn` and waits for the :py:class:`~oci.core.models.Byoasn` acted upon
|
1629
|
+
to enter the given state(s).
|
1630
|
+
|
1631
|
+
:param str byoasn_id: (required)
|
1632
|
+
The `OCID`__ of the `Byoasn` resource.
|
1633
|
+
|
1634
|
+
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
|
1635
|
+
|
1636
|
+
:param list[str] wait_for_states:
|
1637
|
+
An array of states to wait on. These should be valid values for :py:attr:`~oci.core.models.Byoasn.lifecycle_state`
|
1638
|
+
|
1639
|
+
:param dict operation_kwargs:
|
1640
|
+
A dictionary of keyword arguments to pass to :py:func:`~oci.core.VirtualNetworkClient.delete_byoasn`
|
1641
|
+
|
1642
|
+
:param dict waiter_kwargs:
|
1643
|
+
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``
|
1644
|
+
as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
|
1645
|
+
"""
|
1646
|
+
initial_get_result = self.client.get_byoasn(byoasn_id)
|
1647
|
+
operation_result = None
|
1648
|
+
try:
|
1649
|
+
operation_result = self.client.delete_byoasn(byoasn_id, **operation_kwargs)
|
1650
|
+
except oci.exceptions.ServiceError as e:
|
1651
|
+
if e.status == 404:
|
1652
|
+
return WAIT_RESOURCE_NOT_FOUND
|
1653
|
+
else:
|
1654
|
+
raise e
|
1655
|
+
|
1656
|
+
if not wait_for_states:
|
1657
|
+
return operation_result
|
1658
|
+
lowered_wait_for_states = [w.lower() for w in wait_for_states]
|
1659
|
+
|
1660
|
+
try:
|
1661
|
+
if ("succeed_on_not_found" in waiter_kwargs) and (waiter_kwargs["succeed_on_not_found"] is False):
|
1662
|
+
self.client.base_client.logger.warning("The waiter kwarg succeed_on_not_found was passed as False for the delete composite operation delete_byoasn, this would result in the operation to fail if the resource is not found! Please, do not pass this kwarg if this was not intended")
|
1663
|
+
else:
|
1664
|
+
"""
|
1665
|
+
If the user does not send in this value, we set it to True by default.
|
1666
|
+
We are doing this because during a delete resource scenario and waiting on its state, the service can
|
1667
|
+
return a 404 NOT FOUND exception as the resource was deleted and a get on its state would fail
|
1668
|
+
"""
|
1669
|
+
waiter_kwargs["succeed_on_not_found"] = True
|
1670
|
+
waiter_result = oci.wait_until(
|
1671
|
+
self.client,
|
1672
|
+
initial_get_result, # noqa: F821
|
1673
|
+
evaluate_response=lambda r: getattr(r.data, 'lifecycle_state') and getattr(r.data, 'lifecycle_state').lower() in lowered_wait_for_states,
|
1674
|
+
**waiter_kwargs
|
1675
|
+
)
|
1676
|
+
result_to_return = waiter_result
|
1677
|
+
|
1678
|
+
return result_to_return
|
1679
|
+
except (NameError, TypeError) as e:
|
1680
|
+
if not e.args:
|
1681
|
+
e.args = ('',)
|
1682
|
+
e.args = e.args + ('This composite operation is currently not supported in the SDK. Please use the operation from the service client and use waiters as an alternative. For more information on waiters, visit: "https://docs.oracle.com/en-us/iaas/tools/python/latest/api/waiters.html"', )
|
1683
|
+
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
1684
|
+
except Exception as e:
|
1685
|
+
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
1686
|
+
|
1584
1687
|
def delete_byoip_range_and_wait_for_work_request(self, byoip_range_id, work_request_states=[], operation_kwargs={}, waiter_kwargs={}):
|
1585
1688
|
"""
|
1586
1689
|
Calls :py:func:`~oci.core.VirtualNetworkClient.delete_byoip_range` and waits for the oci.work_requests.models.WorkRequest
|
@@ -3541,6 +3644,94 @@ class VirtualNetworkClientCompositeOperations(object):
|
|
3541
3644
|
except Exception as e:
|
3542
3645
|
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
3543
3646
|
|
3647
|
+
def set_origin_asn_and_wait_for_work_request(self, byoip_range_id, set_origin_asn_details, work_request_states=[], operation_kwargs={}, waiter_kwargs={}):
|
3648
|
+
"""
|
3649
|
+
Calls :py:func:`~oci.core.VirtualNetworkClient.set_origin_asn` and waits for the oci.work_requests.models.WorkRequest
|
3650
|
+
to enter the given state(s).
|
3651
|
+
|
3652
|
+
:param str byoip_range_id: (required)
|
3653
|
+
The `OCID`__ of the `ByoipRange` resource containing the BYOIP CIDR block.
|
3654
|
+
|
3655
|
+
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
|
3656
|
+
|
3657
|
+
:param oci.core.models.SetOriginAsnDetails set_origin_asn_details: (required)
|
3658
|
+
ASN details
|
3659
|
+
|
3660
|
+
:param list[str] work_request_states: (optional)
|
3661
|
+
An array of work requests states to wait on. These should be valid values for :py:attr:`~oci.work_requests.models.WorkRequest.status`
|
3662
|
+
Default values are termination states: [STATUS_SUCCEEDED, STATUS_FAILED, STATUS_CANCELED]
|
3663
|
+
|
3664
|
+
:param dict operation_kwargs:
|
3665
|
+
A dictionary of keyword arguments to pass to :py:func:`~oci.core.VirtualNetworkClient.set_origin_asn`
|
3666
|
+
|
3667
|
+
:param dict waiter_kwargs:
|
3668
|
+
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``
|
3669
|
+
as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
|
3670
|
+
"""
|
3671
|
+
operation_result = self.client.set_origin_asn(byoip_range_id, set_origin_asn_details, **operation_kwargs)
|
3672
|
+
work_request_states = work_request_states if work_request_states else oci.waiter._WORK_REQUEST_TERMINATION_STATES
|
3673
|
+
lowered_work_request_states = [w.lower() for w in work_request_states]
|
3674
|
+
if 'opc-work-request-id' not in operation_result.headers:
|
3675
|
+
return operation_result
|
3676
|
+
work_request_id = operation_result.headers['opc-work-request-id']
|
3677
|
+
try:
|
3678
|
+
waiter_result = oci.wait_until(
|
3679
|
+
self._work_request_client,
|
3680
|
+
self._work_request_client.get_work_request(work_request_id),
|
3681
|
+
evaluate_response=lambda r: getattr(r.data, 'status') and getattr(r.data, 'status').lower() in lowered_work_request_states,
|
3682
|
+
**waiter_kwargs
|
3683
|
+
)
|
3684
|
+
return waiter_result
|
3685
|
+
except Exception as e:
|
3686
|
+
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
3687
|
+
|
3688
|
+
def update_byoasn_and_wait_for_state(self, byoasn_id, update_byoasn_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
|
3689
|
+
"""
|
3690
|
+
Calls :py:func:`~oci.core.VirtualNetworkClient.update_byoasn` and waits for the :py:class:`~oci.core.models.Byoasn` acted upon
|
3691
|
+
to enter the given state(s).
|
3692
|
+
|
3693
|
+
:param str byoasn_id: (required)
|
3694
|
+
The `OCID`__ of the `Byoasn` resource.
|
3695
|
+
|
3696
|
+
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
|
3697
|
+
|
3698
|
+
:param oci.core.models.UpdateByoasnDetails update_byoasn_details: (required)
|
3699
|
+
Byoasn Range details.
|
3700
|
+
|
3701
|
+
:param list[str] wait_for_states:
|
3702
|
+
An array of states to wait on. These should be valid values for :py:attr:`~oci.core.models.Byoasn.lifecycle_state`
|
3703
|
+
|
3704
|
+
:param dict operation_kwargs:
|
3705
|
+
A dictionary of keyword arguments to pass to :py:func:`~oci.core.VirtualNetworkClient.update_byoasn`
|
3706
|
+
|
3707
|
+
:param dict waiter_kwargs:
|
3708
|
+
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``
|
3709
|
+
as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
|
3710
|
+
"""
|
3711
|
+
operation_result = self.client.update_byoasn(byoasn_id, update_byoasn_details, **operation_kwargs)
|
3712
|
+
if not wait_for_states:
|
3713
|
+
return operation_result
|
3714
|
+
lowered_wait_for_states = [w.lower() for w in wait_for_states]
|
3715
|
+
byoasn_id = operation_result.data.id
|
3716
|
+
|
3717
|
+
try:
|
3718
|
+
waiter_result = oci.wait_until(
|
3719
|
+
self.client,
|
3720
|
+
self.client.get_byoasn(byoasn_id), # noqa: F821
|
3721
|
+
evaluate_response=lambda r: getattr(r.data, 'lifecycle_state') and getattr(r.data, 'lifecycle_state').lower() in lowered_wait_for_states,
|
3722
|
+
**waiter_kwargs
|
3723
|
+
)
|
3724
|
+
result_to_return = waiter_result
|
3725
|
+
|
3726
|
+
return result_to_return
|
3727
|
+
except (NameError, TypeError) as e:
|
3728
|
+
if not e.args:
|
3729
|
+
e.args = ('',)
|
3730
|
+
e.args = e.args + ('This composite operation is currently not supported in the SDK. Please use the operation from the service client and use waiters as an alternative. For more information on waiters, visit: "https://docs.oracle.com/en-us/iaas/tools/python/latest/api/waiters.html"', )
|
3731
|
+
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
3732
|
+
except Exception as e:
|
3733
|
+
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
3734
|
+
|
3544
3735
|
def update_byoip_range_and_wait_for_state(self, byoip_range_id, update_byoip_range_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
|
3545
3736
|
"""
|
3546
3737
|
Calls :py:func:`~oci.core.VirtualNetworkClient.update_byoip_range` and waits for the :py:class:`~oci.core.models.ByoipRange` acted upon
|
@@ -4941,6 +5132,44 @@ class VirtualNetworkClientCompositeOperations(object):
|
|
4941
5132
|
except Exception as e:
|
4942
5133
|
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
4943
5134
|
|
5135
|
+
def validate_byoasn_and_wait_for_work_request(self, byoasn_id, work_request_states=[], operation_kwargs={}, waiter_kwargs={}):
|
5136
|
+
"""
|
5137
|
+
Calls :py:func:`~oci.core.VirtualNetworkClient.validate_byoasn` and waits for the oci.work_requests.models.WorkRequest
|
5138
|
+
to enter the given state(s).
|
5139
|
+
|
5140
|
+
:param str byoasn_id: (required)
|
5141
|
+
The `OCID`__ of the `Byoasn` resource.
|
5142
|
+
|
5143
|
+
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
|
5144
|
+
|
5145
|
+
:param list[str] work_request_states: (optional)
|
5146
|
+
An array of work requests states to wait on. These should be valid values for :py:attr:`~oci.work_requests.models.WorkRequest.status`
|
5147
|
+
Default values are termination states: [STATUS_SUCCEEDED, STATUS_FAILED, STATUS_CANCELED]
|
5148
|
+
|
5149
|
+
:param dict operation_kwargs:
|
5150
|
+
A dictionary of keyword arguments to pass to :py:func:`~oci.core.VirtualNetworkClient.validate_byoasn`
|
5151
|
+
|
5152
|
+
:param dict waiter_kwargs:
|
5153
|
+
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``
|
5154
|
+
as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
|
5155
|
+
"""
|
5156
|
+
operation_result = self.client.validate_byoasn(byoasn_id, **operation_kwargs)
|
5157
|
+
work_request_states = work_request_states if work_request_states else oci.waiter._WORK_REQUEST_TERMINATION_STATES
|
5158
|
+
lowered_work_request_states = [w.lower() for w in work_request_states]
|
5159
|
+
if 'opc-work-request-id' not in operation_result.headers:
|
5160
|
+
return operation_result
|
5161
|
+
work_request_id = operation_result.headers['opc-work-request-id']
|
5162
|
+
try:
|
5163
|
+
waiter_result = oci.wait_until(
|
5164
|
+
self._work_request_client,
|
5165
|
+
self._work_request_client.get_work_request(work_request_id),
|
5166
|
+
evaluate_response=lambda r: getattr(r.data, 'status') and getattr(r.data, 'status').lower() in lowered_work_request_states,
|
5167
|
+
**waiter_kwargs
|
5168
|
+
)
|
5169
|
+
return waiter_result
|
5170
|
+
except Exception as e:
|
5171
|
+
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
5172
|
+
|
4944
5173
|
def validate_byoip_range_and_wait_for_work_request(self, byoip_range_id, work_request_states=[], operation_kwargs={}, waiter_kwargs={}):
|
4945
5174
|
"""
|
4946
5175
|
Calls :py:func:`~oci.core.VirtualNetworkClient.validate_byoip_range` and waits for the oci.work_requests.models.WorkRequest
|
@@ -162,7 +162,7 @@ class DashboardClient(object):
|
|
162
162
|
:rtype: :class:`~oci.response.Response`
|
163
163
|
|
164
164
|
:example:
|
165
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
165
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/dashboardservice/change_dashboard_group.py.html>`__ to see an example of how to use change_dashboard_group API.
|
166
166
|
"""
|
167
167
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
168
168
|
required_arguments = ['dashboardId']
|
@@ -279,7 +279,7 @@ class DashboardClient(object):
|
|
279
279
|
:rtype: :class:`~oci.response.Response`
|
280
280
|
|
281
281
|
:example:
|
282
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
282
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/dashboardservice/create_dashboard.py.html>`__ to see an example of how to use create_dashboard API.
|
283
283
|
"""
|
284
284
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
285
285
|
required_arguments = []
|
@@ -386,7 +386,7 @@ class DashboardClient(object):
|
|
386
386
|
:rtype: :class:`~oci.response.Response`
|
387
387
|
|
388
388
|
:example:
|
389
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
389
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/dashboardservice/delete_dashboard.py.html>`__ to see an example of how to use delete_dashboard API.
|
390
390
|
"""
|
391
391
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
392
392
|
required_arguments = ['dashboardId']
|
@@ -493,7 +493,7 @@ class DashboardClient(object):
|
|
493
493
|
:rtype: :class:`~oci.response.Response`
|
494
494
|
|
495
495
|
:example:
|
496
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
496
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/dashboardservice/get_dashboard.py.html>`__ to see an example of how to use get_dashboard API.
|
497
497
|
"""
|
498
498
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
499
499
|
required_arguments = ['dashboardId']
|
@@ -634,7 +634,7 @@ class DashboardClient(object):
|
|
634
634
|
:rtype: :class:`~oci.response.Response`
|
635
635
|
|
636
636
|
:example:
|
637
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
637
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/dashboardservice/list_dashboards.py.html>`__ to see an example of how to use list_dashboards API.
|
638
638
|
"""
|
639
639
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
640
640
|
required_arguments = ['dashboardGroupId']
|
@@ -783,7 +783,7 @@ class DashboardClient(object):
|
|
783
783
|
:rtype: :class:`~oci.response.Response`
|
784
784
|
|
785
785
|
:example:
|
786
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
786
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/dashboardservice/update_dashboard.py.html>`__ to see an example of how to use update_dashboard API.
|
787
787
|
"""
|
788
788
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
789
789
|
required_arguments = ['dashboardId']
|
@@ -162,7 +162,7 @@ class DashboardGroupClient(object):
|
|
162
162
|
:rtype: :class:`~oci.response.Response`
|
163
163
|
|
164
164
|
:example:
|
165
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
165
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/dashboardservice/change_dashboard_group_compartment.py.html>`__ to see an example of how to use change_dashboard_group_compartment API.
|
166
166
|
"""
|
167
167
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
168
168
|
required_arguments = ['dashboardGroupId']
|
@@ -279,7 +279,7 @@ class DashboardGroupClient(object):
|
|
279
279
|
:rtype: :class:`~oci.response.Response`
|
280
280
|
|
281
281
|
:example:
|
282
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
282
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/dashboardservice/create_dashboard_group.py.html>`__ to see an example of how to use create_dashboard_group API.
|
283
283
|
"""
|
284
284
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
285
285
|
required_arguments = []
|
@@ -386,7 +386,7 @@ class DashboardGroupClient(object):
|
|
386
386
|
:rtype: :class:`~oci.response.Response`
|
387
387
|
|
388
388
|
:example:
|
389
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
389
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/dashboardservice/delete_dashboard_group.py.html>`__ to see an example of how to use delete_dashboard_group API.
|
390
390
|
"""
|
391
391
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
392
392
|
required_arguments = ['dashboardGroupId']
|
@@ -493,7 +493,7 @@ class DashboardGroupClient(object):
|
|
493
493
|
:rtype: :class:`~oci.response.Response`
|
494
494
|
|
495
495
|
:example:
|
496
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
496
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/dashboardservice/get_dashboard_group.py.html>`__ to see an example of how to use get_dashboard_group API.
|
497
497
|
"""
|
498
498
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
499
499
|
required_arguments = ['dashboardGroupId']
|
@@ -634,7 +634,7 @@ class DashboardGroupClient(object):
|
|
634
634
|
:rtype: :class:`~oci.response.Response`
|
635
635
|
|
636
636
|
:example:
|
637
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
637
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/dashboardservice/list_dashboard_groups.py.html>`__ to see an example of how to use list_dashboard_groups API.
|
638
638
|
"""
|
639
639
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
640
640
|
required_arguments = ['compartmentId']
|
@@ -783,7 +783,7 @@ class DashboardGroupClient(object):
|
|
783
783
|
:rtype: :class:`~oci.response.Response`
|
784
784
|
|
785
785
|
:example:
|
786
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
786
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/dashboardservice/update_dashboard_group.py.html>`__ to see an example of how to use update_dashboard_group API.
|
787
787
|
"""
|
788
788
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
789
789
|
required_arguments = ['dashboardGroupId']
|