oci 2.101.0__py3-none-any.whl → 2.103.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/access_governance_cp/access_governance_cp_client_composite_operations.py +9 -1
- oci/adm/application_dependency_management_client.py +18 -18
- oci/adm/application_dependency_management_client_composite_operations.py +9 -1
- oci/ai_anomaly_detection/anomaly_detection_client.py +36 -36
- oci/ai_anomaly_detection/anomaly_detection_client_composite_operations.py +18 -2
- oci/ai_document/ai_service_document_client.py +3 -3
- oci/ai_language/ai_service_language_client.py +35 -35
- oci/ai_speech/ai_service_speech_client.py +9 -9
- 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/announcement_subscription_client_composite_operations.py +9 -1
- 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 +18 -18
- oci/apm_traces/query_client.py +2 -2
- oci/apm_traces/trace_client.py +4 -4
- oci/application_migration/application_migration_client.py +19 -19
- oci/appmgmt_control/appmgmt_control_client.py +8 -8
- oci/artifacts/artifacts_client.py +30 -30
- oci/artifacts/artifacts_client_composite_operations.py +36 -4
- oci/audit/audit_client.py +3 -3
- oci/auth/signers/instance_principals_security_token_signer.py +9 -3
- oci/autoscaling/auto_scaling_client.py +11 -11
- oci/bastion/bastion_client.py +15 -15
- oci/bds/bds_client.py +40 -40
- oci/blockchain/blockchain_platform_client.py +27 -27
- oci/budget/budget_client.py +10 -10
- oci/budget/budget_client_composite_operations.py +9 -1
- oci/certificates/certificates_client.py +5 -5
- oci/certificates_management/certificates_management_client.py +32 -32
- oci/certificates_management/certificates_management_client_composite_operations.py +9 -1
- oci/cims/incident_client.py +7 -7
- 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/discovery_client_composite_operations.py +9 -1
- oci/cloud_bridge/inventory_client.py +16 -16
- oci/cloud_bridge/inventory_client_composite_operations.py +9 -1
- oci/cloud_bridge/ocb_agent_svc_client.py +23 -23
- oci/cloud_bridge/ocb_agent_svc_client_composite_operations.py +27 -3
- oci/cloud_guard/cloud_guard_client.py +133 -133
- oci/cloud_guard/cloud_guard_client_composite_operations.py +63 -7
- oci/cloud_migrations/migration_client.py +43 -43
- 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 +36 -36
- oci/container_instances/container_instance_client.py +18 -18
- oci/core/blockstorage_client.py +60 -60
- oci/core/blockstorage_client_composite_operations.py +54 -6
- oci/core/compute_client.py +89 -89
- oci/core/compute_client_composite_operations.py +72 -8
- oci/core/compute_management_client.py +32 -32
- oci/core/compute_management_client_composite_operations.py +9 -1
- oci/core/virtual_network_client.py +241 -241
- oci/core/virtual_network_client_composite_operations.py +216 -24
- oci/dashboard_service/dashboard_client.py +6 -6
- oci/dashboard_service/dashboard_client_composite_operations.py +9 -1
- oci/dashboard_service/dashboard_group_client.py +6 -6
- oci/dashboard_service/dashboard_group_client_composite_operations.py +9 -1
- oci/data_catalog/data_catalog_client.py +139 -139
- oci/data_flow/data_flow_client.py +28 -28
- oci/data_flow/data_flow_client_composite_operations.py +18 -2
- oci/data_integration/data_integration_client.py +152 -152
- oci/data_labeling_service/data_labeling_management_client.py +16 -16
- oci/data_labeling_service_dataplane/data_labeling_client.py +15 -15
- oci/data_labeling_service_dataplane/data_labeling_client_composite_operations.py +18 -2
- oci/data_safe/data_safe_client.py +214 -214
- oci/data_safe/data_safe_client_composite_operations.py +18 -2
- oci/data_science/data_science_client.py +85 -85
- oci/data_science/data_science_client_composite_operations.py +27 -3
- oci/database/database_client.py +428 -304
- oci/database/database_client_composite_operations.py +18 -2
- oci/database/models/__init__.py +4 -0
- oci/database/models/autonomous_container_database.py +2 -2
- oci/database/models/autonomous_container_database_summary.py +2 -2
- oci/database/models/autonomous_database.py +6 -2
- oci/database/models/autonomous_database_summary.py +6 -2
- oci/database/models/autonomous_virtual_machine.py +37 -2
- oci/database/models/autonomous_virtual_machine_summary.py +37 -2
- oci/database/models/autonomous_vm_cluster.py +10 -6
- oci/database/models/autonomous_vm_cluster_resource_details.py +105 -0
- oci/database/models/autonomous_vm_cluster_summary.py +10 -6
- oci/database/models/cloud_autonomous_vm_cluster.py +43 -4
- oci/database/models/cloud_autonomous_vm_cluster_summary.py +43 -4
- oci/database/models/create_autonomous_container_database_details.py +2 -2
- oci/database/models/create_autonomous_vm_cluster_details.py +6 -2
- oci/database/models/create_cloud_autonomous_vm_cluster_details.py +6 -2
- oci/database/models/exadata_infrastructure.py +31 -0
- oci/database/models/exadata_infrastructure_summary.py +31 -0
- oci/database/models/exadata_infrastructure_un_allocated_resources.py +260 -0
- oci/database/models/rotate_autonomous_vm_cluster_ords_certs_details.py +2 -2
- oci/database/models/rotate_autonomous_vm_cluster_ssl_certs_details.py +3 -3
- oci/database/models/rotate_cloud_autonomous_vm_cluster_ords_certs_details.py +2 -2
- oci/database/models/rotate_cloud_autonomous_vm_cluster_ssl_certs_details.py +2 -2
- oci/database/models/vm_cluster.py +31 -0
- oci/database/models/vm_cluster_summary.py +31 -0
- oci/database_management/db_management_client.py +157 -157
- oci/database_management/db_management_client_composite_operations.py +45 -5
- oci/database_management/diagnosability_client.py +4 -4
- oci/database_management/sql_tuning_client.py +10 -10
- oci/database_migration/database_migration_client.py +41 -41
- oci/database_migration/database_migration_client_composite_operations.py +9 -1
- oci/database_tools/database_tools_client.py +19 -19
- oci/devops/devops_client.py +89 -89
- oci/disaster_recovery/disaster_recovery_client.py +29 -29
- oci/disaster_recovery/disaster_recovery_client_composite_operations.py +9 -1
- oci/dns/dns_client.py +197 -51
- oci/dns/dns_client_composite_operations.py +45 -5
- oci/dns/models/__init__.py +2 -0
- oci/dns/models/create_zone_details.py +35 -2
- oci/dns/models/external_downstream.py +137 -0
- oci/dns/models/update_zone_details.py +35 -2
- oci/dns/models/zone.py +33 -0
- oci/dts/appliance_export_job_client.py +6 -6
- oci/dts/appliance_export_job_client_composite_operations.py +9 -1
- 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_job_client_composite_operations.py +9 -1
- 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 +25 -25
- oci/email/email_client_composite_operations.py +9 -1
- oci/events/events_client.py +6 -6
- oci/events/events_client_composite_operations.py +9 -1
- oci/file_storage/file_storage_client.py +35 -35
- oci/file_storage/file_storage_client_composite_operations.py +54 -6
- oci/functions/functions_invoke_client.py +1 -1
- oci/functions/functions_management_client.py +16 -16
- oci/functions/functions_management_client_composite_operations.py +18 -2
- oci/fusion_apps/data_masking_activity_client.py +3 -3
- oci/fusion_apps/fusion_applications_client.py +357 -36
- oci/fusion_apps/fusion_applications_client_composite_operations.py +90 -0
- oci/fusion_apps/fusion_environment_client.py +15 -15
- oci/fusion_apps/fusion_environment_family_client.py +8 -8
- oci/fusion_apps/models/__init__.py +2 -12
- oci/fusion_apps/models/create_service_attachment_details.py +45 -52
- oci/fusion_apps/models/service_attachment.py +0 -31
- oci/fusion_apps/models/verify_service_attachment_details.py +101 -0
- 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/generic_artifacts_content/generic_artifacts_content_client.py +3 -3
- oci/golden_gate/golden_gate_client.py +53 -53
- 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/identity_client_composite_operations.py +63 -7
- oci/identity_data_plane/dataplane_client.py +1 -1
- oci/identity_domains/identity_domains_client.py +134 -134
- oci/integration/integration_instance_client.py +15 -15
- oci/jms/java_management_service_client.py +44 -44
- oci/key_management/kms_crypto_client.py +6 -6
- 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/license_manager/license_manager_client_composite_operations.py +18 -2
- oci/limits/limits_client.py +4 -4
- oci/limits/quotas_client.py +7 -7
- oci/limits/quotas_client_composite_operations.py +9 -1
- oci/load_balancer/load_balancer_client.py +61 -61
- oci/lockbox/lockbox_client.py +22 -22
- oci/lockbox/lockbox_client_composite_operations.py +18 -2
- oci/log_analytics/log_analytics_client.py +184 -184
- oci/logging/logging_management_client.py +62 -300
- oci/logging/logging_management_client_composite_operations.py +12 -4
- oci/logging/models/__init__.py +2 -6
- oci/logging/models/archiving.py +2 -2
- oci/logging/models/category.py +2 -2
- oci/logging/models/change_log_saved_search_compartment_details.py +1 -1
- oci/logging/models/create_log_details.py +2 -2
- oci/logging/models/create_log_saved_search_details.py +1 -1
- oci/logging/models/log.py +2 -2
- oci/logging/models/log_saved_search.py +1 -1
- oci/logging/models/log_saved_search_summary.py +1 -1
- oci/logging/models/log_summary.py +2 -2
- oci/logging/models/parameter.py +77 -5
- oci/logging/models/unified_agent_apache2_parser.py +1 -1
- oci/logging/models/unified_agent_apache_error_parser.py +1 -1
- oci/logging/models/unified_agent_auditd_parser.py +1 -1
- oci/logging/models/unified_agent_cri_parser.py +160 -0
- oci/logging/models/unified_agent_csv_parser.py +10 -2
- oci/logging/models/unified_agent_grok_parser.py +14 -2
- oci/logging/models/unified_agent_logging_configuration.py +6 -2
- oci/logging/models/unified_agent_msgpack_parser.py +1 -1
- oci/logging/models/unified_agent_multiline_grok_parser.py +18 -2
- oci/logging/models/unified_agent_multiline_parser.py +10 -2
- oci/logging/models/unified_agent_none_parser.py +5 -1
- oci/logging/models/unified_agent_parser.py +51 -3
- oci/logging/models/unified_agent_regex_parser.py +10 -2
- oci/logging/models/unified_agent_syslog_parser.py +25 -1
- oci/logging/models/unified_agent_tail_log_source.py +5 -1
- oci/logging/models/unified_agent_tsv_parser.py +10 -2
- oci/logging/models/unified_agent_windows_event_source.py +5 -1
- oci/logging/models/unified_json_parser.py +9 -1
- oci/logging/models/update_log_details.py +2 -2
- oci/logging/models/update_log_saved_search_details.py +1 -1
- oci/logging/models/work_request.py +2 -2
- oci/logging/models/work_request_summary.py +2 -2
- oci/loggingingestion/logging_client.py +1 -1
- oci/loggingsearch/log_search_client.py +1 -1
- oci/management_agent/management_agent_client.py +23 -23
- oci/management_agent/management_agent_client_composite_operations.py +18 -2
- oci/management_dashboard/dashx_apis_client.py +14 -14
- oci/management_dashboard/dashx_apis_client_composite_operations.py +18 -2
- oci/marketplace/account_client.py +2 -2
- oci/marketplace/marketplace_client.py +25 -25
- oci/marketplace/marketplace_client_composite_operations.py +9 -1
- oci/media_services/media_services_client.py +48 -48
- oci/media_services/media_services_client_composite_operations.py +63 -7
- oci/media_services/media_stream_client.py +2 -2
- oci/monitoring/monitoring_client.py +13 -13
- oci/monitoring/monitoring_client_composite_operations.py +9 -1
- oci/mysql/channels_client.py +7 -7
- oci/mysql/db_backups_client.py +6 -6
- oci/mysql/db_system_client.py +26 -26
- oci/mysql/mysqlaas_client.py +7 -7
- oci/mysql/mysqlaas_client_composite_operations.py +9 -1
- oci/mysql/replicas_client.py +5 -5
- oci/mysql/work_requests_client.py +4 -4
- oci/network_firewall/network_firewall_client.py +17 -17
- oci/network_load_balancer/network_load_balancer_client.py +34 -34
- oci/nosql/nosql_client.py +22 -22
- oci/object_storage/object_storage_client.py +50 -50
- oci/oce/oce_instance_client.py +10 -10
- oci/ocvp/esxi_host_client.py +5 -5
- oci/ocvp/sddc_client.py +13 -13
- oci/ocvp/work_request_client.py +4 -4
- oci/oda/management_client.py +56 -56
- 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/ons/notification_data_plane_client_composite_operations.py +9 -1
- oci/opa/opa_instance_client.py +11 -11
- 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 +9 -9
- oci/operator_access_control/operator_actions_client.py +2 -2
- oci/operator_access_control/operator_control_assignment_client.py +6 -6
- oci/operator_access_control/operator_control_assignment_client_composite_operations.py +9 -1
- oci/operator_access_control/operator_control_client.py +6 -6
- oci/operator_access_control/operator_control_client_composite_operations.py +9 -1
- oci/opsi/operations_insights_client.py +151 -151
- oci/optimizer/optimizer_client.py +26 -26
- oci/optimizer/optimizer_client_composite_operations.py +9 -1
- oci/os_management/event_client.py +8 -8
- oci/os_management/os_management_client.py +69 -69
- oci/os_management/os_management_client_composite_operations.py +27 -3
- 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/queue/queue_admin_client.py +11 -11
- oci/queue/queue_client.py +7 -7
- oci/recovery/database_recovery_client.py +23 -23
- oci/resource_manager/resource_manager_client.py +52 -52
- oci/resource_manager/resource_manager_client_composite_operations.py +45 -5
- oci/resource_search/resource_search_client.py +3 -3
- oci/rover/rover_cluster_client.py +7 -7
- oci/rover/rover_cluster_client_composite_operations.py +9 -1
- oci/rover/rover_entitlement_client.py +6 -6
- oci/rover/rover_entitlement_client_composite_operations.py +9 -1
- oci/rover/rover_node_client.py +10 -10
- oci/rover/rover_node_client_composite_operations.py +9 -1
- oci/rover/shape_client.py +1 -1
- 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_catalog/service_catalog_client_composite_operations.py +9 -1
- 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 +22 -22
- oci/stack_monitoring/stack_monitoring_client_composite_operations.py +9 -1
- oci/streaming/stream_admin_client.py +18 -18
- oci/streaming/stream_admin_client_composite_operations.py +27 -3
- oci/streaming/stream_client.py +8 -8
- oci/tenant_manager_control_plane/domain_client.py +5 -5
- oci/tenant_manager_control_plane/domain_client_composite_operations.py +9 -1
- oci/tenant_manager_control_plane/domain_governance_client.py +5 -5
- oci/tenant_manager_control_plane/domain_governance_client_composite_operations.py +9 -1
- 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 +9 -9
- oci/tenant_manager_control_plane/subscription_client_composite_operations.py +9 -1
- oci/tenant_manager_control_plane/work_request_client.py +4 -4
- oci/threat_intelligence/threatintel_client.py +5 -5
- oci/usage/rewards_client.py +6 -6
- oci/usage_api/usageapi_client.py +19 -19
- oci/usage_api/usageapi_client_composite_operations.py +9 -1
- oci/vault/vaults_client.py +11 -11
- 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/vn_monitoring/vn_monitoring_client_composite_operations.py +9 -1
- 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/waas/waas_client_composite_operations.py +27 -3
- oci/waf/waf_client.py +24 -24
- oci/work_requests/work_request_client.py +4 -4
- {oci-2.101.0.dist-info → oci-2.103.0.dist-info}/METADATA +1 -1
- {oci-2.101.0.dist-info → oci-2.103.0.dist-info}/RECORD +341 -336
- {oci-2.101.0.dist-info → oci-2.103.0.dist-info}/LICENSE.txt +0 -0
- {oci-2.101.0.dist-info → oci-2.103.0.dist-info}/THIRD_PARTY_LICENSES.txt +0 -0
- {oci-2.101.0.dist-info → oci-2.103.0.dist-info}/WHEEL +0 -0
- {oci-2.101.0.dist-info → oci-2.103.0.dist-info}/top_level.txt +0 -0
@@ -318,11 +318,19 @@ class DnsClientCompositeOperations(object):
|
|
318
318
|
lowered_wait_for_states = [w.lower() for w in wait_for_states]
|
319
319
|
|
320
320
|
try:
|
321
|
+
if ("succeed_on_not_found" in waiter_kwargs) and (waiter_kwargs["succeed_on_not_found"] is False):
|
322
|
+
self.client.base_client.logger.warning("The waiter kwarg succeed_on_not_found was passed as False for the delete composite operation delete_steering_policy, 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")
|
323
|
+
else:
|
324
|
+
"""
|
325
|
+
If the user does not send in this value, we set it to True by default.
|
326
|
+
We are doing this because during a delete resource scenario and waiting on its state, the service can
|
327
|
+
return a 404 NOT FOUND exception as the resource was deleted and a get on its state would fail
|
328
|
+
"""
|
329
|
+
waiter_kwargs["succeed_on_not_found"] = True
|
321
330
|
waiter_result = oci.wait_until(
|
322
331
|
self.client,
|
323
332
|
initial_get_result, # noqa: F821
|
324
333
|
evaluate_response=lambda r: getattr(r.data, 'lifecycle_state') and getattr(r.data, 'lifecycle_state').lower() in lowered_wait_for_states,
|
325
|
-
succeed_on_not_found=True,
|
326
334
|
**waiter_kwargs
|
327
335
|
)
|
328
336
|
result_to_return = waiter_result
|
@@ -370,11 +378,19 @@ class DnsClientCompositeOperations(object):
|
|
370
378
|
lowered_wait_for_states = [w.lower() for w in wait_for_states]
|
371
379
|
|
372
380
|
try:
|
381
|
+
if ("succeed_on_not_found" in waiter_kwargs) and (waiter_kwargs["succeed_on_not_found"] is False):
|
382
|
+
self.client.base_client.logger.warning("The waiter kwarg succeed_on_not_found was passed as False for the delete composite operation delete_steering_policy_attachment, 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")
|
383
|
+
else:
|
384
|
+
"""
|
385
|
+
If the user does not send in this value, we set it to True by default.
|
386
|
+
We are doing this because during a delete resource scenario and waiting on its state, the service can
|
387
|
+
return a 404 NOT FOUND exception as the resource was deleted and a get on its state would fail
|
388
|
+
"""
|
389
|
+
waiter_kwargs["succeed_on_not_found"] = True
|
373
390
|
waiter_result = oci.wait_until(
|
374
391
|
self.client,
|
375
392
|
initial_get_result, # noqa: F821
|
376
393
|
evaluate_response=lambda r: getattr(r.data, 'lifecycle_state') and getattr(r.data, 'lifecycle_state').lower() in lowered_wait_for_states,
|
377
|
-
succeed_on_not_found=True,
|
378
394
|
**waiter_kwargs
|
379
395
|
)
|
380
396
|
result_to_return = waiter_result
|
@@ -422,11 +438,19 @@ class DnsClientCompositeOperations(object):
|
|
422
438
|
lowered_wait_for_states = [w.lower() for w in wait_for_states]
|
423
439
|
|
424
440
|
try:
|
441
|
+
if ("succeed_on_not_found" in waiter_kwargs) and (waiter_kwargs["succeed_on_not_found"] is False):
|
442
|
+
self.client.base_client.logger.warning("The waiter kwarg succeed_on_not_found was passed as False for the delete composite operation delete_tsig_key, 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")
|
443
|
+
else:
|
444
|
+
"""
|
445
|
+
If the user does not send in this value, we set it to True by default.
|
446
|
+
We are doing this because during a delete resource scenario and waiting on its state, the service can
|
447
|
+
return a 404 NOT FOUND exception as the resource was deleted and a get on its state would fail
|
448
|
+
"""
|
449
|
+
waiter_kwargs["succeed_on_not_found"] = True
|
425
450
|
waiter_result = oci.wait_until(
|
426
451
|
self.client,
|
427
452
|
initial_get_result, # noqa: F821
|
428
453
|
evaluate_response=lambda r: getattr(r.data, 'lifecycle_state') and getattr(r.data, 'lifecycle_state').lower() in lowered_wait_for_states,
|
429
|
-
succeed_on_not_found=True,
|
430
454
|
**waiter_kwargs
|
431
455
|
)
|
432
456
|
result_to_return = waiter_result
|
@@ -474,11 +498,19 @@ class DnsClientCompositeOperations(object):
|
|
474
498
|
lowered_wait_for_states = [w.lower() for w in wait_for_states]
|
475
499
|
|
476
500
|
try:
|
501
|
+
if ("succeed_on_not_found" in waiter_kwargs) and (waiter_kwargs["succeed_on_not_found"] is False):
|
502
|
+
self.client.base_client.logger.warning("The waiter kwarg succeed_on_not_found was passed as False for the delete composite operation delete_view, 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")
|
503
|
+
else:
|
504
|
+
"""
|
505
|
+
If the user does not send in this value, we set it to True by default.
|
506
|
+
We are doing this because during a delete resource scenario and waiting on its state, the service can
|
507
|
+
return a 404 NOT FOUND exception as the resource was deleted and a get on its state would fail
|
508
|
+
"""
|
509
|
+
waiter_kwargs["succeed_on_not_found"] = True
|
477
510
|
waiter_result = oci.wait_until(
|
478
511
|
self.client,
|
479
512
|
initial_get_result, # noqa: F821
|
480
513
|
evaluate_response=lambda r: getattr(r.data, 'lifecycle_state') and getattr(r.data, 'lifecycle_state').lower() in lowered_wait_for_states,
|
481
|
-
succeed_on_not_found=True,
|
482
514
|
**waiter_kwargs
|
483
515
|
)
|
484
516
|
result_to_return = waiter_result
|
@@ -526,11 +558,19 @@ class DnsClientCompositeOperations(object):
|
|
526
558
|
lowered_wait_for_states = [w.lower() for w in wait_for_states]
|
527
559
|
|
528
560
|
try:
|
561
|
+
if ("succeed_on_not_found" in waiter_kwargs) and (waiter_kwargs["succeed_on_not_found"] is False):
|
562
|
+
self.client.base_client.logger.warning("The waiter kwarg succeed_on_not_found was passed as False for the delete composite operation delete_zone, 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")
|
563
|
+
else:
|
564
|
+
"""
|
565
|
+
If the user does not send in this value, we set it to True by default.
|
566
|
+
We are doing this because during a delete resource scenario and waiting on its state, the service can
|
567
|
+
return a 404 NOT FOUND exception as the resource was deleted and a get on its state would fail
|
568
|
+
"""
|
569
|
+
waiter_kwargs["succeed_on_not_found"] = True
|
529
570
|
waiter_result = oci.wait_until(
|
530
571
|
self.client,
|
531
572
|
initial_get_result, # noqa: F821
|
532
573
|
evaluate_response=lambda r: getattr(r.data, 'lifecycle_state') and getattr(r.data, 'lifecycle_state').lower() in lowered_wait_for_states,
|
533
|
-
succeed_on_not_found=True,
|
534
574
|
**waiter_kwargs
|
535
575
|
)
|
536
576
|
result_to_return = waiter_result
|
oci/dns/models/__init__.py
CHANGED
@@ -21,6 +21,7 @@ from .create_view_details import CreateViewDetails
|
|
21
21
|
from .create_zone_base_details import CreateZoneBaseDetails
|
22
22
|
from .create_zone_details import CreateZoneDetails
|
23
23
|
from .dynect_migration_details import DynectMigrationDetails
|
24
|
+
from .external_downstream import ExternalDownstream
|
24
25
|
from .external_master import ExternalMaster
|
25
26
|
from .migration_replacement import MigrationReplacement
|
26
27
|
from .nameserver import Nameserver
|
@@ -99,6 +100,7 @@ dns_type_mapping = {
|
|
99
100
|
"CreateZoneBaseDetails": CreateZoneBaseDetails,
|
100
101
|
"CreateZoneDetails": CreateZoneDetails,
|
101
102
|
"DynectMigrationDetails": DynectMigrationDetails,
|
103
|
+
"ExternalDownstream": ExternalDownstream,
|
102
104
|
"ExternalMaster": ExternalMaster,
|
103
105
|
"MigrationReplacement": MigrationReplacement,
|
104
106
|
"Nameserver": Nameserver,
|
@@ -76,6 +76,10 @@ class CreateZoneDetails(CreateZoneBaseDetails):
|
|
76
76
|
The value to assign to the external_masters property of this CreateZoneDetails.
|
77
77
|
:type external_masters: list[oci.dns.models.ExternalMaster]
|
78
78
|
|
79
|
+
:param external_downstreams:
|
80
|
+
The value to assign to the external_downstreams property of this CreateZoneDetails.
|
81
|
+
:type external_downstreams: list[oci.dns.models.ExternalDownstream]
|
82
|
+
|
79
83
|
"""
|
80
84
|
self.swagger_types = {
|
81
85
|
'migration_source': 'str',
|
@@ -86,7 +90,8 @@ class CreateZoneDetails(CreateZoneBaseDetails):
|
|
86
90
|
'zone_type': 'str',
|
87
91
|
'view_id': 'str',
|
88
92
|
'scope': 'str',
|
89
|
-
'external_masters': 'list[ExternalMaster]'
|
93
|
+
'external_masters': 'list[ExternalMaster]',
|
94
|
+
'external_downstreams': 'list[ExternalDownstream]'
|
90
95
|
}
|
91
96
|
|
92
97
|
self.attribute_map = {
|
@@ -98,7 +103,8 @@ class CreateZoneDetails(CreateZoneBaseDetails):
|
|
98
103
|
'zone_type': 'zoneType',
|
99
104
|
'view_id': 'viewId',
|
100
105
|
'scope': 'scope',
|
101
|
-
'external_masters': 'externalMasters'
|
106
|
+
'external_masters': 'externalMasters',
|
107
|
+
'external_downstreams': 'externalDownstreams'
|
102
108
|
}
|
103
109
|
|
104
110
|
self._migration_source = None
|
@@ -110,6 +116,7 @@ class CreateZoneDetails(CreateZoneBaseDetails):
|
|
110
116
|
self._view_id = None
|
111
117
|
self._scope = None
|
112
118
|
self._external_masters = None
|
119
|
+
self._external_downstreams = None
|
113
120
|
self._migration_source = 'NONE'
|
114
121
|
|
115
122
|
@property
|
@@ -228,6 +235,32 @@ class CreateZoneDetails(CreateZoneBaseDetails):
|
|
228
235
|
"""
|
229
236
|
self._external_masters = external_masters
|
230
237
|
|
238
|
+
@property
|
239
|
+
def external_downstreams(self):
|
240
|
+
"""
|
241
|
+
Gets the external_downstreams of this CreateZoneDetails.
|
242
|
+
External secondary servers for the zone.
|
243
|
+
This field is currently not supported when `zoneType` is `SECONDARY` or `scope` is `PRIVATE`.
|
244
|
+
|
245
|
+
|
246
|
+
:return: The external_downstreams of this CreateZoneDetails.
|
247
|
+
:rtype: list[oci.dns.models.ExternalDownstream]
|
248
|
+
"""
|
249
|
+
return self._external_downstreams
|
250
|
+
|
251
|
+
@external_downstreams.setter
|
252
|
+
def external_downstreams(self, external_downstreams):
|
253
|
+
"""
|
254
|
+
Sets the external_downstreams of this CreateZoneDetails.
|
255
|
+
External secondary servers for the zone.
|
256
|
+
This field is currently not supported when `zoneType` is `SECONDARY` or `scope` is `PRIVATE`.
|
257
|
+
|
258
|
+
|
259
|
+
:param external_downstreams: The external_downstreams of this CreateZoneDetails.
|
260
|
+
:type: list[oci.dns.models.ExternalDownstream]
|
261
|
+
"""
|
262
|
+
self._external_downstreams = external_downstreams
|
263
|
+
|
231
264
|
def __repr__(self):
|
232
265
|
return formatted_flat_dict(self)
|
233
266
|
|
@@ -0,0 +1,137 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
# Copyright (c) 2016, 2023, 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
|
+
|
6
|
+
from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
|
7
|
+
from oci.decorators import init_model_state_from_kwargs
|
8
|
+
|
9
|
+
|
10
|
+
@init_model_state_from_kwargs
|
11
|
+
class ExternalDownstream(object):
|
12
|
+
"""
|
13
|
+
External downstream nameserver for the zone.
|
14
|
+
This field is currently not supported when `zoneType` is `SECONDARY` or `scope` is `PRIVATE`.
|
15
|
+
"""
|
16
|
+
|
17
|
+
def __init__(self, **kwargs):
|
18
|
+
"""
|
19
|
+
Initializes a new ExternalDownstream object with values from keyword arguments.
|
20
|
+
The following keyword arguments are supported (corresponding to the getters/setters of this class):
|
21
|
+
|
22
|
+
:param address:
|
23
|
+
The value to assign to the address property of this ExternalDownstream.
|
24
|
+
:type address: str
|
25
|
+
|
26
|
+
:param port:
|
27
|
+
The value to assign to the port property of this ExternalDownstream.
|
28
|
+
:type port: int
|
29
|
+
|
30
|
+
:param tsig_key_id:
|
31
|
+
The value to assign to the tsig_key_id property of this ExternalDownstream.
|
32
|
+
:type tsig_key_id: str
|
33
|
+
|
34
|
+
"""
|
35
|
+
self.swagger_types = {
|
36
|
+
'address': 'str',
|
37
|
+
'port': 'int',
|
38
|
+
'tsig_key_id': 'str'
|
39
|
+
}
|
40
|
+
|
41
|
+
self.attribute_map = {
|
42
|
+
'address': 'address',
|
43
|
+
'port': 'port',
|
44
|
+
'tsig_key_id': 'tsigKeyId'
|
45
|
+
}
|
46
|
+
|
47
|
+
self._address = None
|
48
|
+
self._port = None
|
49
|
+
self._tsig_key_id = None
|
50
|
+
|
51
|
+
@property
|
52
|
+
def address(self):
|
53
|
+
"""
|
54
|
+
**[Required]** Gets the address of this ExternalDownstream.
|
55
|
+
The server's IP address (IPv4 or IPv6).
|
56
|
+
|
57
|
+
|
58
|
+
:return: The address of this ExternalDownstream.
|
59
|
+
:rtype: str
|
60
|
+
"""
|
61
|
+
return self._address
|
62
|
+
|
63
|
+
@address.setter
|
64
|
+
def address(self, address):
|
65
|
+
"""
|
66
|
+
Sets the address of this ExternalDownstream.
|
67
|
+
The server's IP address (IPv4 or IPv6).
|
68
|
+
|
69
|
+
|
70
|
+
:param address: The address of this ExternalDownstream.
|
71
|
+
:type: str
|
72
|
+
"""
|
73
|
+
self._address = address
|
74
|
+
|
75
|
+
@property
|
76
|
+
def port(self):
|
77
|
+
"""
|
78
|
+
Gets the port of this ExternalDownstream.
|
79
|
+
The server's port. Port value must be a value of 53, otherwise omit
|
80
|
+
the port value.
|
81
|
+
|
82
|
+
|
83
|
+
:return: The port of this ExternalDownstream.
|
84
|
+
:rtype: int
|
85
|
+
"""
|
86
|
+
return self._port
|
87
|
+
|
88
|
+
@port.setter
|
89
|
+
def port(self, port):
|
90
|
+
"""
|
91
|
+
Sets the port of this ExternalDownstream.
|
92
|
+
The server's port. Port value must be a value of 53, otherwise omit
|
93
|
+
the port value.
|
94
|
+
|
95
|
+
|
96
|
+
:param port: The port of this ExternalDownstream.
|
97
|
+
:type: int
|
98
|
+
"""
|
99
|
+
self._port = port
|
100
|
+
|
101
|
+
@property
|
102
|
+
def tsig_key_id(self):
|
103
|
+
"""
|
104
|
+
Gets the tsig_key_id of this ExternalDownstream.
|
105
|
+
The OCID of the TSIG key.
|
106
|
+
A TSIG key is used to secure DNS messages (in this case, zone transfers) between two systems that both have the (shared) secret.
|
107
|
+
|
108
|
+
|
109
|
+
:return: The tsig_key_id of this ExternalDownstream.
|
110
|
+
:rtype: str
|
111
|
+
"""
|
112
|
+
return self._tsig_key_id
|
113
|
+
|
114
|
+
@tsig_key_id.setter
|
115
|
+
def tsig_key_id(self, tsig_key_id):
|
116
|
+
"""
|
117
|
+
Sets the tsig_key_id of this ExternalDownstream.
|
118
|
+
The OCID of the TSIG key.
|
119
|
+
A TSIG key is used to secure DNS messages (in this case, zone transfers) between two systems that both have the (shared) secret.
|
120
|
+
|
121
|
+
|
122
|
+
:param tsig_key_id: The tsig_key_id of this ExternalDownstream.
|
123
|
+
:type: str
|
124
|
+
"""
|
125
|
+
self._tsig_key_id = tsig_key_id
|
126
|
+
|
127
|
+
def __repr__(self):
|
128
|
+
return formatted_flat_dict(self)
|
129
|
+
|
130
|
+
def __eq__(self, other):
|
131
|
+
if other is None:
|
132
|
+
return False
|
133
|
+
|
134
|
+
return self.__dict__ == other.__dict__
|
135
|
+
|
136
|
+
def __ne__(self, other):
|
137
|
+
return not self == other
|
@@ -32,22 +32,29 @@ class UpdateZoneDetails(object):
|
|
32
32
|
The value to assign to the external_masters property of this UpdateZoneDetails.
|
33
33
|
:type external_masters: list[oci.dns.models.ExternalMaster]
|
34
34
|
|
35
|
+
:param external_downstreams:
|
36
|
+
The value to assign to the external_downstreams property of this UpdateZoneDetails.
|
37
|
+
:type external_downstreams: list[oci.dns.models.ExternalDownstream]
|
38
|
+
|
35
39
|
"""
|
36
40
|
self.swagger_types = {
|
37
41
|
'freeform_tags': 'dict(str, str)',
|
38
42
|
'defined_tags': 'dict(str, dict(str, object))',
|
39
|
-
'external_masters': 'list[ExternalMaster]'
|
43
|
+
'external_masters': 'list[ExternalMaster]',
|
44
|
+
'external_downstreams': 'list[ExternalDownstream]'
|
40
45
|
}
|
41
46
|
|
42
47
|
self.attribute_map = {
|
43
48
|
'freeform_tags': 'freeformTags',
|
44
49
|
'defined_tags': 'definedTags',
|
45
|
-
'external_masters': 'externalMasters'
|
50
|
+
'external_masters': 'externalMasters',
|
51
|
+
'external_downstreams': 'externalDownstreams'
|
46
52
|
}
|
47
53
|
|
48
54
|
self._freeform_tags = None
|
49
55
|
self._defined_tags = None
|
50
56
|
self._external_masters = None
|
57
|
+
self._external_downstreams = None
|
51
58
|
|
52
59
|
@property
|
53
60
|
def freeform_tags(self):
|
@@ -147,6 +154,32 @@ class UpdateZoneDetails(object):
|
|
147
154
|
"""
|
148
155
|
self._external_masters = external_masters
|
149
156
|
|
157
|
+
@property
|
158
|
+
def external_downstreams(self):
|
159
|
+
"""
|
160
|
+
Gets the external_downstreams of this UpdateZoneDetails.
|
161
|
+
External secondary servers for the zone.
|
162
|
+
This field is currently not supported when `zoneType` is `SECONDARY` or `scope` is `PRIVATE`.
|
163
|
+
|
164
|
+
|
165
|
+
:return: The external_downstreams of this UpdateZoneDetails.
|
166
|
+
:rtype: list[oci.dns.models.ExternalDownstream]
|
167
|
+
"""
|
168
|
+
return self._external_downstreams
|
169
|
+
|
170
|
+
@external_downstreams.setter
|
171
|
+
def external_downstreams(self, external_downstreams):
|
172
|
+
"""
|
173
|
+
Sets the external_downstreams of this UpdateZoneDetails.
|
174
|
+
External secondary servers for the zone.
|
175
|
+
This field is currently not supported when `zoneType` is `SECONDARY` or `scope` is `PRIVATE`.
|
176
|
+
|
177
|
+
|
178
|
+
:param external_downstreams: The external_downstreams of this UpdateZoneDetails.
|
179
|
+
:type: list[oci.dns.models.ExternalDownstream]
|
180
|
+
"""
|
181
|
+
self._external_downstreams = external_downstreams
|
182
|
+
|
150
183
|
def __repr__(self):
|
151
184
|
return formatted_flat_dict(self)
|
152
185
|
|
oci/dns/models/zone.py
CHANGED
@@ -96,6 +96,10 @@ class Zone(object):
|
|
96
96
|
The value to assign to the external_masters property of this Zone.
|
97
97
|
:type external_masters: list[oci.dns.models.ExternalMaster]
|
98
98
|
|
99
|
+
:param external_downstreams:
|
100
|
+
The value to assign to the external_downstreams property of this Zone.
|
101
|
+
:type external_downstreams: list[oci.dns.models.ExternalDownstream]
|
102
|
+
|
99
103
|
:param self_uri:
|
100
104
|
The value to assign to the self_uri property of this Zone.
|
101
105
|
:type self_uri: str
|
@@ -144,6 +148,7 @@ class Zone(object):
|
|
144
148
|
'freeform_tags': 'dict(str, str)',
|
145
149
|
'defined_tags': 'dict(str, dict(str, object))',
|
146
150
|
'external_masters': 'list[ExternalMaster]',
|
151
|
+
'external_downstreams': 'list[ExternalDownstream]',
|
147
152
|
'self_uri': 'str',
|
148
153
|
'id': 'str',
|
149
154
|
'time_created': 'datetime',
|
@@ -164,6 +169,7 @@ class Zone(object):
|
|
164
169
|
'freeform_tags': 'freeformTags',
|
165
170
|
'defined_tags': 'definedTags',
|
166
171
|
'external_masters': 'externalMasters',
|
172
|
+
'external_downstreams': 'externalDownstreams',
|
167
173
|
'self_uri': 'self',
|
168
174
|
'id': 'id',
|
169
175
|
'time_created': 'timeCreated',
|
@@ -183,6 +189,7 @@ class Zone(object):
|
|
183
189
|
self._freeform_tags = None
|
184
190
|
self._defined_tags = None
|
185
191
|
self._external_masters = None
|
192
|
+
self._external_downstreams = None
|
186
193
|
self._self_uri = None
|
187
194
|
self._id = None
|
188
195
|
self._time_created = None
|
@@ -427,6 +434,32 @@ class Zone(object):
|
|
427
434
|
"""
|
428
435
|
self._external_masters = external_masters
|
429
436
|
|
437
|
+
@property
|
438
|
+
def external_downstreams(self):
|
439
|
+
"""
|
440
|
+
**[Required]** Gets the external_downstreams of this Zone.
|
441
|
+
External secondary servers for the zone.
|
442
|
+
This field is currently not supported when `zoneType` is `SECONDARY` or `scope` is `PRIVATE`.
|
443
|
+
|
444
|
+
|
445
|
+
:return: The external_downstreams of this Zone.
|
446
|
+
:rtype: list[oci.dns.models.ExternalDownstream]
|
447
|
+
"""
|
448
|
+
return self._external_downstreams
|
449
|
+
|
450
|
+
@external_downstreams.setter
|
451
|
+
def external_downstreams(self, external_downstreams):
|
452
|
+
"""
|
453
|
+
Sets the external_downstreams of this Zone.
|
454
|
+
External secondary servers for the zone.
|
455
|
+
This field is currently not supported when `zoneType` is `SECONDARY` or `scope` is `PRIVATE`.
|
456
|
+
|
457
|
+
|
458
|
+
:param external_downstreams: The external_downstreams of this Zone.
|
459
|
+
:type: list[oci.dns.models.ExternalDownstream]
|
460
|
+
"""
|
461
|
+
self._external_downstreams = external_downstreams
|
462
|
+
|
430
463
|
@property
|
431
464
|
def self_uri(self):
|
432
465
|
"""
|
@@ -151,7 +151,7 @@ class ApplianceExportJobClient(object):
|
|
151
151
|
:rtype: :class:`~oci.response.Response`
|
152
152
|
|
153
153
|
:example:
|
154
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
154
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/dts/change_appliance_export_job_compartment.py.html>`__ to see an example of how to use change_appliance_export_job_compartment API.
|
155
155
|
"""
|
156
156
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
157
157
|
required_arguments = ['applianceExportJobId']
|
@@ -260,7 +260,7 @@ class ApplianceExportJobClient(object):
|
|
260
260
|
:rtype: :class:`~oci.response.Response`
|
261
261
|
|
262
262
|
:example:
|
263
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
263
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/dts/create_appliance_export_job.py.html>`__ to see an example of how to use create_appliance_export_job API.
|
264
264
|
"""
|
265
265
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
266
266
|
required_arguments = []
|
@@ -361,7 +361,7 @@ class ApplianceExportJobClient(object):
|
|
361
361
|
:rtype: :class:`~oci.response.Response`
|
362
362
|
|
363
363
|
:example:
|
364
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
364
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/dts/delete_appliance_export_job.py.html>`__ to see an example of how to use delete_appliance_export_job API.
|
365
365
|
"""
|
366
366
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
367
367
|
required_arguments = ['applianceExportJobId']
|
@@ -461,7 +461,7 @@ class ApplianceExportJobClient(object):
|
|
461
461
|
:rtype: :class:`~oci.response.Response`
|
462
462
|
|
463
463
|
:example:
|
464
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
464
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/dts/get_appliance_export_job.py.html>`__ to see an example of how to use get_appliance_export_job API.
|
465
465
|
"""
|
466
466
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
467
467
|
required_arguments = ['applianceExportJobId']
|
@@ -582,7 +582,7 @@ class ApplianceExportJobClient(object):
|
|
582
582
|
:rtype: :class:`~oci.response.Response`
|
583
583
|
|
584
584
|
:example:
|
585
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
585
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/dts/list_appliance_export_jobs.py.html>`__ to see an example of how to use list_appliance_export_jobs API.
|
586
586
|
"""
|
587
587
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
588
588
|
required_arguments = ['compartmentId']
|
@@ -696,7 +696,7 @@ class ApplianceExportJobClient(object):
|
|
696
696
|
:rtype: :class:`~oci.response.Response`
|
697
697
|
|
698
698
|
:example:
|
699
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
699
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/dts/update_appliance_export_job.py.html>`__ to see an example of how to use update_appliance_export_job API.
|
700
700
|
"""
|
701
701
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
702
702
|
required_arguments = ['applianceExportJobId']
|
@@ -100,11 +100,19 @@ class ApplianceExportJobClientCompositeOperations(object):
|
|
100
100
|
lowered_wait_for_states = [w.lower() for w in wait_for_states]
|
101
101
|
|
102
102
|
try:
|
103
|
+
if ("succeed_on_not_found" in waiter_kwargs) and (waiter_kwargs["succeed_on_not_found"] is False):
|
104
|
+
self.client.base_client.logger.warning("The waiter kwarg succeed_on_not_found was passed as False for the delete composite operation delete_appliance_export_job, 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")
|
105
|
+
else:
|
106
|
+
"""
|
107
|
+
If the user does not send in this value, we set it to True by default.
|
108
|
+
We are doing this because during a delete resource scenario and waiting on its state, the service can
|
109
|
+
return a 404 NOT FOUND exception as the resource was deleted and a get on its state would fail
|
110
|
+
"""
|
111
|
+
waiter_kwargs["succeed_on_not_found"] = True
|
103
112
|
waiter_result = oci.wait_until(
|
104
113
|
self.client,
|
105
114
|
initial_get_result, # noqa: F821
|
106
115
|
evaluate_response=lambda r: getattr(r.data, 'lifecycle_state') and getattr(r.data, 'lifecycle_state').lower() in lowered_wait_for_states,
|
107
|
-
succeed_on_not_found=True,
|
108
116
|
**waiter_kwargs
|
109
117
|
)
|
110
118
|
result_to_return = waiter_result
|
@@ -130,7 +130,7 @@ class ShippingVendorsClient(object):
|
|
130
130
|
:rtype: :class:`~oci.response.Response`
|
131
131
|
|
132
132
|
:example:
|
133
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
133
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/dts/list_shipping_vendors.py.html>`__ to see an example of how to use list_shipping_vendors API.
|
134
134
|
"""
|
135
135
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
136
136
|
required_arguments = []
|
@@ -143,7 +143,7 @@ class TransferApplianceClient(object):
|
|
143
143
|
:rtype: :class:`~oci.response.Response`
|
144
144
|
|
145
145
|
:example:
|
146
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
146
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/dts/create_transfer_appliance.py.html>`__ to see an example of how to use create_transfer_appliance API.
|
147
147
|
"""
|
148
148
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
149
149
|
required_arguments = ['id']
|
@@ -252,7 +252,7 @@ class TransferApplianceClient(object):
|
|
252
252
|
:rtype: :class:`~oci.response.Response`
|
253
253
|
|
254
254
|
:example:
|
255
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
255
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/dts/create_transfer_appliance_admin_credentials.py.html>`__ to see an example of how to use create_transfer_appliance_admin_credentials API.
|
256
256
|
"""
|
257
257
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
258
258
|
required_arguments = ['id', 'transferApplianceLabel']
|
@@ -359,7 +359,7 @@ class TransferApplianceClient(object):
|
|
359
359
|
:rtype: :class:`~oci.response.Response`
|
360
360
|
|
361
361
|
:example:
|
362
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
362
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/dts/delete_transfer_appliance.py.html>`__ to see an example of how to use delete_transfer_appliance API.
|
363
363
|
"""
|
364
364
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
365
365
|
required_arguments = ['id', 'transferApplianceLabel']
|
@@ -455,7 +455,7 @@ class TransferApplianceClient(object):
|
|
455
455
|
:rtype: :class:`~oci.response.Response`
|
456
456
|
|
457
457
|
:example:
|
458
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
458
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/dts/get_transfer_appliance.py.html>`__ to see an example of how to use get_transfer_appliance API.
|
459
459
|
"""
|
460
460
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
461
461
|
required_arguments = ['id', 'transferApplianceLabel']
|
@@ -545,7 +545,7 @@ class TransferApplianceClient(object):
|
|
545
545
|
:rtype: :class:`~oci.response.Response`
|
546
546
|
|
547
547
|
:example:
|
548
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
548
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/dts/get_transfer_appliance_certificate_authority_certificate.py.html>`__ to see an example of how to use get_transfer_appliance_certificate_authority_certificate API.
|
549
549
|
"""
|
550
550
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
551
551
|
required_arguments = ['id', 'transferApplianceLabel']
|
@@ -635,7 +635,7 @@ class TransferApplianceClient(object):
|
|
635
635
|
:rtype: :class:`~oci.response.Response`
|
636
636
|
|
637
637
|
:example:
|
638
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
638
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/dts/get_transfer_appliance_encryption_passphrase.py.html>`__ to see an example of how to use get_transfer_appliance_encryption_passphrase API.
|
639
639
|
"""
|
640
640
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
641
641
|
required_arguments = ['id', 'transferApplianceLabel']
|
@@ -727,7 +727,7 @@ class TransferApplianceClient(object):
|
|
727
727
|
:rtype: :class:`~oci.response.Response`
|
728
728
|
|
729
729
|
:example:
|
730
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
730
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/dts/list_transfer_appliances.py.html>`__ to see an example of how to use list_transfer_appliances API.
|
731
731
|
"""
|
732
732
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
733
733
|
required_arguments = ['id']
|
@@ -842,7 +842,7 @@ class TransferApplianceClient(object):
|
|
842
842
|
:rtype: :class:`~oci.response.Response`
|
843
843
|
|
844
844
|
:example:
|
845
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
845
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/dts/update_transfer_appliance.py.html>`__ to see an example of how to use update_transfer_appliance API.
|
846
846
|
"""
|
847
847
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
848
848
|
required_arguments = ['id', 'transferApplianceLabel']
|
@@ -144,7 +144,7 @@ class TransferApplianceEntitlementClient(object):
|
|
144
144
|
:rtype: :class:`~oci.response.Response`
|
145
145
|
|
146
146
|
:example:
|
147
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
147
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/dts/create_transfer_appliance_entitlement.py.html>`__ to see an example of how to use create_transfer_appliance_entitlement API.
|
148
148
|
"""
|
149
149
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
150
150
|
required_arguments = []
|
@@ -241,7 +241,7 @@ class TransferApplianceEntitlementClient(object):
|
|
241
241
|
:rtype: :class:`~oci.response.Response`
|
242
242
|
|
243
243
|
:example:
|
244
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
244
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/dts/get_transfer_appliance_entitlement.py.html>`__ to see an example of how to use get_transfer_appliance_entitlement API.
|
245
245
|
"""
|
246
246
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
247
247
|
required_arguments = ['id']
|
@@ -347,7 +347,7 @@ class TransferApplianceEntitlementClient(object):
|
|
347
347
|
:rtype: :class:`~oci.response.Response`
|
348
348
|
|
349
349
|
:example:
|
350
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
350
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/dts/list_transfer_appliance_entitlement.py.html>`__ to see an example of how to use list_transfer_appliance_entitlement API.
|
351
351
|
"""
|
352
352
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
353
353
|
required_arguments = ['compartmentId']
|