oci 2.126.1__py3-none-any.whl → 2.126.2__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- oci/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 +22 -22
- oci/ai_language/ai_service_language_client.py +44 -44
- oci/ai_speech/ai_service_speech_client.py +10 -10
- oci/ai_vision/ai_service_vision_client.py +25 -25
- oci/analytics/analytics_client.py +23 -23
- oci/announcements_service/announcement_client.py +4 -4
- oci/announcements_service/announcement_subscription_client.py +9 -9
- oci/announcements_service/announcements_preferences_client.py +4 -4
- 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 +8 -8
- 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 +56 -56
- oci/bds/models/__init__.py +6 -0
- oci/bds/models/batching_based_patching_configs.py +144 -0
- oci/bds/models/downtime_based_patching_configs.py +51 -0
- oci/bds/models/install_os_patch_details.py +29 -2
- oci/bds/models/node.py +64 -2
- oci/bds/models/patching_configs.py +109 -0
- oci/bds/models/work_request_error.py +4 -4
- oci/blockchain/blockchain_platform_client.py +27 -27
- oci/budget/budget_client.py +10 -10
- oci/capacity_management/capacity_management_client.py +19 -19
- oci/certificates/certificates_client.py +5 -5
- oci/certificates_management/certificates_management_client.py +32 -32
- oci/cims/incident_client.py +8 -8
- oci/cims/user_client.py +1 -1
- oci/cloud_bridge/common_client.py +5 -5
- oci/cloud_bridge/discovery_client.py +14 -14
- oci/cloud_bridge/inventory_client.py +16 -16
- oci/cloud_bridge/ocb_agent_svc_client.py +23 -23
- oci/cloud_guard/cloud_guard_client.py +155 -155
- oci/cloud_migrations/migration_client.py +43 -43
- oci/cluster_placement_groups/cluster_placement_groups_cp_client.py +13 -13
- oci/compute_cloud_at_customer/compute_cloud_at_customer_client.py +12 -12
- oci/compute_instance_agent/compute_instance_agent_client.py +6 -6
- oci/compute_instance_agent/plugin_client.py +2 -2
- oci/compute_instance_agent/pluginconfig_client.py +1 -1
- oci/container_engine/container_engine_client.py +44 -44
- oci/container_instances/container_instance_client.py +18 -18
- oci/core/blockstorage_client.py +60 -60
- oci/core/compute_client.py +99 -99
- oci/core/compute_management_client.py +32 -32
- oci/core/models/__init__.py +32 -0
- oci/core/models/get_ip_inventory_vcn_overlap_details.py +107 -0
- oci/core/models/inventory_ip_address_summary.py +169 -0
- oci/core/models/inventory_resource_summary.py +212 -0
- oci/core/models/inventory_subnet_cidr_block_summary.py +103 -0
- oci/core/models/inventory_subnet_summary.py +309 -0
- oci/core/models/inventory_vcn_cidr_block_summary.py +103 -0
- oci/core/models/inventory_vcn_summary.py +309 -0
- oci/core/models/ip_inventory_cidr_utilization_collection.py +202 -0
- oci/core/models/ip_inventory_cidr_utilization_summary.py +134 -0
- oci/core/models/ip_inventory_collection.py +202 -0
- oci/core/models/ip_inventory_subnet_resource_collection.py +202 -0
- oci/core/models/ip_inventory_subnet_resource_summary.py +477 -0
- oci/core/models/ip_inventory_vcn_overlap_collection.py +171 -0
- oci/core/models/ip_inventory_vcn_overlap_summary.py +169 -0
- oci/core/models/ipam.py +73 -0
- oci/core/models/list_ip_inventory_details.py +494 -0
- oci/core/virtual_network_client.py +744 -242
- oci/core/virtual_network_client_composite_operations.py +77 -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 +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 +278 -278
- oci/data_science/data_science_client.py +91 -91
- oci/database/database_client.py +333 -333
- oci/database/models/__init__.py +4 -0
- oci/database/models/cloud_exadata_infrastructure.py +33 -2
- oci/database/models/cloud_exadata_infrastructure_summary.py +33 -2
- oci/database/models/cloud_vm_cluster.py +33 -2
- oci/database/models/cloud_vm_cluster_summary.py +33 -2
- oci/database/models/create_cloud_vm_cluster_details.py +33 -2
- oci/database/models/defined_file_system_configuration.py +165 -0
- oci/database/models/file_system_configuration_detail.py +103 -0
- oci/database/models/update_cloud_vm_cluster_details.py +33 -2
- oci/database_management/db_management_client.py +206 -206
- 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 +41 -41
- oci/database_tools/database_tools_client.py +23 -23
- oci/desktops/desktop_service_client.py +21 -21
- oci/devops/devops_client.py +89 -89
- oci/disaster_recovery/disaster_recovery_client.py +29 -29
- oci/disaster_recovery/models/dr_plan_group.py +44 -3
- oci/disaster_recovery/models/dr_plan_group_execution.py +7 -3
- oci/disaster_recovery/models/update_dr_plan_group_details.py +44 -3
- oci/disaster_recovery/models/update_dr_plan_step_details.py +6 -0
- oci/dns/dns_client.py +52 -52
- oci/dts/appliance_export_job_client.py +6 -6
- oci/dts/shipping_vendors_client.py +1 -1
- oci/dts/transfer_appliance_client.py +8 -8
- oci/dts/transfer_appliance_entitlement_client.py +3 -3
- oci/dts/transfer_device_client.py +5 -5
- oci/dts/transfer_job_client.py +6 -6
- oci/dts/transfer_package_client.py +7 -7
- oci/em_warehouse/em_data_lake_client.py +13 -13
- oci/em_warehouse/em_warehouse_client.py +13 -13
- oci/email/email_client.py +26 -26
- oci/email_data_plane/email_dp_client.py +1 -1
- oci/events/events_client.py +6 -6
- oci/file_storage/file_storage_client.py +50 -50
- oci/fleet_software_update/fleet_software_update_client.py +44 -44
- oci/functions/functions_invoke_client.py +1 -1
- oci/functions/functions_management_client.py +16 -16
- oci/fusion_apps/data_masking_activity_client.py +3 -3
- oci/fusion_apps/fusion_applications_client.py +39 -39
- oci/fusion_apps/fusion_environment_client.py +15 -15
- oci/fusion_apps/fusion_environment_family_client.py +8 -8
- oci/fusion_apps/refresh_activity_client.py +4 -4
- oci/fusion_apps/scheduled_activity_client.py +2 -2
- oci/fusion_apps/service_attachment_client.py +2 -2
- oci/generative_ai/generative_ai_client.py +22 -22
- oci/generative_ai_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 +29 -29
- oci/golden_gate/golden_gate_client.py +61 -61
- 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 +300 -300
- oci/integration/integration_instance_client.py +15 -15
- oci/jms/java_management_service_client.py +66 -66
- 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 +62 -61
- oci/load_balancer/models/__init__.py +4 -0
- oci/load_balancer/models/add_http_request_header_rule.py +1 -1
- oci/load_balancer/models/add_http_response_header_rule.py +1 -1
- oci/load_balancer/models/allow_rule.py +1 -1
- oci/load_balancer/models/backend.py +35 -0
- oci/load_balancer/models/backend_details.py +35 -0
- oci/load_balancer/models/backend_set.py +37 -0
- oci/load_balancer/models/backend_set_details.py +37 -0
- oci/load_balancer/models/control_access_using_http_methods_rule.py +1 -1
- oci/load_balancer/models/create_backend_details.py +35 -0
- oci/load_balancer/models/create_backend_set_details.py +37 -0
- oci/load_balancer/models/create_load_balancer_details.py +47 -2
- oci/load_balancer/models/create_ssl_cipher_suite_details.py +25 -25
- oci/load_balancer/models/extend_http_request_header_value_rule.py +1 -1
- oci/load_balancer/models/extend_http_response_header_value_rule.py +1 -1
- oci/load_balancer/models/http_header_rule.py +1 -1
- oci/load_balancer/models/ip_based_max_connections_rule.py +118 -0
- oci/load_balancer/models/ip_max_connections.py +105 -0
- oci/load_balancer/models/load_balancer.py +45 -0
- oci/load_balancer/models/redirect_rule.py +1 -1
- oci/load_balancer/models/remove_http_request_header_rule.py +1 -1
- oci/load_balancer/models/remove_http_response_header_rule.py +1 -1
- oci/load_balancer/models/reserved_ip.py +22 -0
- oci/load_balancer/models/rule.py +11 -3
- oci/load_balancer/models/ssl_cipher_suite.py +25 -25
- oci/load_balancer/models/ssl_cipher_suite_details.py +25 -25
- oci/load_balancer/models/update_backend_details.py +35 -0
- oci/load_balancer/models/update_backend_set_details.py +37 -0
- oci/load_balancer/models/update_load_balancer_details.py +47 -0
- oci/load_balancer/models/update_load_balancer_shape_details.py +2 -2
- oci/load_balancer/models/update_ssl_cipher_suite_details.py +10 -10
- 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_publisher/marketplace_publisher_client.py +71 -71
- 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 +6 -6
- 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 +80 -80
- 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 +50 -50
- 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 +175 -175
- 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 +25 -25
- oci/redis/redis_cluster_client.py +11 -11
- oci/resource_manager/resource_manager_client.py +52 -52
- 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/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 +64 -64
- oci/streaming/stream_admin_client.py +18 -18
- oci/streaming/stream_client.py +8 -8
- oci/tenant_manager_control_plane/domain_client.py +5 -5
- oci/tenant_manager_control_plane/domain_governance_client.py +5 -5
- oci/tenant_manager_control_plane/governance_client.py +2 -2
- oci/tenant_manager_control_plane/link_client.py +3 -3
- oci/tenant_manager_control_plane/orders_client.py +2 -2
- oci/tenant_manager_control_plane/organization_client.py +10 -10
- oci/tenant_manager_control_plane/recipient_invitation_client.py +5 -5
- oci/tenant_manager_control_plane/sender_invitation_client.py +5 -5
- oci/tenant_manager_control_plane/subscription_client.py +11 -11
- oci/tenant_manager_control_plane/work_request_client.py +4 -4
- oci/threat_intelligence/threatintel_client.py +5 -5
- oci/usage/resources_client.py +2 -2
- oci/usage/rewards_client.py +6 -6
- oci/usage/usagelimits_client.py +1 -1
- oci/usage_api/usageapi_client.py +33 -33
- oci/vault/vaults_client.py +13 -13
- oci/vbs_inst/vbs_instance_client.py +10 -10
- oci/version.py +1 -1
- oci/visual_builder/vb_instance_client.py +13 -13
- oci/vn_monitoring/vn_monitoring_client.py +12 -12
- oci/vulnerability_scanning/vulnerability_scanning_client.py +58 -58
- oci/waa/waa_client.py +13 -13
- oci/waa/work_request_client.py +4 -4
- oci/waas/redirect_client.py +6 -6
- oci/waas/waas_client.py +66 -66
- oci/waf/waf_client.py +24 -24
- oci/work_requests/work_request_client.py +4 -4
- {oci-2.126.1.dist-info → oci-2.126.2.dist-info}/METADATA +1 -1
- {oci-2.126.1.dist-info → oci-2.126.2.dist-info}/RECORD +317 -294
- {oci-2.126.1.dist-info → oci-2.126.2.dist-info}/LICENSE.txt +0 -0
- {oci-2.126.1.dist-info → oci-2.126.2.dist-info}/THIRD_PARTY_LICENSES.txt +0 -0
- {oci-2.126.1.dist-info → oci-2.126.2.dist-info}/WHEEL +0 -0
- {oci-2.126.1.dist-info → oci-2.126.2.dist-info}/top_level.txt +0 -0
@@ -3168,6 +3168,83 @@ class VirtualNetworkClientCompositeOperations(object):
|
|
3168
3168
|
except Exception as e:
|
3169
3169
|
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
3170
3170
|
|
3171
|
+
def get_vcn_overlap_and_wait_for_work_request(self, vcn_id, get_vcn_overlap_details, work_request_states=[], operation_kwargs={}, waiter_kwargs={}):
|
3172
|
+
"""
|
3173
|
+
Calls :py:func:`~oci.core.VirtualNetworkClient.get_vcn_overlap` and waits for the oci.work_requests.models.WorkRequest
|
3174
|
+
to enter the given state(s).
|
3175
|
+
|
3176
|
+
:param str vcn_id: (required)
|
3177
|
+
Specify the `OCID`__ of the VCN.
|
3178
|
+
|
3179
|
+
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
|
3180
|
+
|
3181
|
+
:param oci.core.models.GetIpInventoryVcnOverlapDetails get_vcn_overlap_details: (required)
|
3182
|
+
Lists details of the IP Inventory VCN overlap data.
|
3183
|
+
|
3184
|
+
:param list[str] work_request_states: (optional)
|
3185
|
+
An array of work requests states to wait on. These should be valid values for :py:attr:`~oci.work_requests.models.WorkRequest.status`
|
3186
|
+
Default values are termination states: [STATUS_SUCCEEDED, STATUS_FAILED, STATUS_CANCELED]
|
3187
|
+
|
3188
|
+
:param dict operation_kwargs:
|
3189
|
+
A dictionary of keyword arguments to pass to :py:func:`~oci.core.VirtualNetworkClient.get_vcn_overlap`
|
3190
|
+
|
3191
|
+
:param dict waiter_kwargs:
|
3192
|
+
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``
|
3193
|
+
as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
|
3194
|
+
"""
|
3195
|
+
operation_result = self.client.get_vcn_overlap(vcn_id, get_vcn_overlap_details, **operation_kwargs)
|
3196
|
+
work_request_states = work_request_states if work_request_states else oci.waiter._WORK_REQUEST_TERMINATION_STATES
|
3197
|
+
lowered_work_request_states = [w.lower() for w in work_request_states]
|
3198
|
+
if 'opc-work-request-id' not in operation_result.headers:
|
3199
|
+
return operation_result
|
3200
|
+
work_request_id = operation_result.headers['opc-work-request-id']
|
3201
|
+
try:
|
3202
|
+
waiter_result = oci.wait_until(
|
3203
|
+
self._work_request_client,
|
3204
|
+
self._work_request_client.get_work_request(work_request_id),
|
3205
|
+
evaluate_response=lambda r: getattr(r.data, 'status') and getattr(r.data, 'status').lower() in lowered_work_request_states,
|
3206
|
+
**waiter_kwargs
|
3207
|
+
)
|
3208
|
+
return waiter_result
|
3209
|
+
except Exception as e:
|
3210
|
+
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
3211
|
+
|
3212
|
+
def list_ip_inventory_and_wait_for_work_request(self, list_ip_inventory_details, work_request_states=[], operation_kwargs={}, waiter_kwargs={}):
|
3213
|
+
"""
|
3214
|
+
Calls :py:func:`~oci.core.VirtualNetworkClient.list_ip_inventory` and waits for the oci.work_requests.models.WorkRequest
|
3215
|
+
to enter the given state(s).
|
3216
|
+
|
3217
|
+
:param oci.core.models.ListIpInventoryDetails list_ip_inventory_details: (required)
|
3218
|
+
Details required to list the IP Inventory data.
|
3219
|
+
|
3220
|
+
:param list[str] work_request_states: (optional)
|
3221
|
+
An array of work requests states to wait on. These should be valid values for :py:attr:`~oci.work_requests.models.WorkRequest.status`
|
3222
|
+
Default values are termination states: [STATUS_SUCCEEDED, STATUS_FAILED, STATUS_CANCELED]
|
3223
|
+
|
3224
|
+
:param dict operation_kwargs:
|
3225
|
+
A dictionary of keyword arguments to pass to :py:func:`~oci.core.VirtualNetworkClient.list_ip_inventory`
|
3226
|
+
|
3227
|
+
:param dict waiter_kwargs:
|
3228
|
+
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``
|
3229
|
+
as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
|
3230
|
+
"""
|
3231
|
+
operation_result = self.client.list_ip_inventory(list_ip_inventory_details, **operation_kwargs)
|
3232
|
+
work_request_states = work_request_states if work_request_states else oci.waiter._WORK_REQUEST_TERMINATION_STATES
|
3233
|
+
lowered_work_request_states = [w.lower() for w in work_request_states]
|
3234
|
+
if 'opc-work-request-id' not in operation_result.headers:
|
3235
|
+
return operation_result
|
3236
|
+
work_request_id = operation_result.headers['opc-work-request-id']
|
3237
|
+
try:
|
3238
|
+
waiter_result = oci.wait_until(
|
3239
|
+
self._work_request_client,
|
3240
|
+
self._work_request_client.get_work_request(work_request_id),
|
3241
|
+
evaluate_response=lambda r: getattr(r.data, 'status') and getattr(r.data, 'status').lower() in lowered_work_request_states,
|
3242
|
+
**waiter_kwargs
|
3243
|
+
)
|
3244
|
+
return waiter_result
|
3245
|
+
except Exception as e:
|
3246
|
+
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
3247
|
+
|
3171
3248
|
def modify_vcn_cidr_and_wait_for_work_request(self, vcn_id, modify_vcn_cidr_details, work_request_states=[], operation_kwargs={}, waiter_kwargs={}):
|
3172
3249
|
"""
|
3173
3250
|
Calls :py:func:`~oci.core.VirtualNetworkClient.modify_vcn_cidr` 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.126.
|
165
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.2/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.126.
|
282
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.2/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.126.
|
389
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.2/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.126.
|
496
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.2/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.126.
|
637
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.2/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.126.
|
786
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.2/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.126.
|
165
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.2/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.126.
|
282
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.2/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.126.
|
389
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.2/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.126.
|
496
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.2/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.126.
|
637
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.2/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.126.
|
786
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.126.2/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']
|