oci 2.102.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 +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/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.102.0.dist-info → oci-2.103.0.dist-info}/METADATA +1 -1
- {oci-2.102.0.dist-info → oci-2.103.0.dist-info}/RECORD +336 -332
- {oci-2.102.0.dist-info → oci-2.103.0.dist-info}/LICENSE.txt +0 -0
- {oci-2.102.0.dist-info → oci-2.103.0.dist-info}/THIRD_PARTY_LICENSES.txt +0 -0
- {oci-2.102.0.dist-info → oci-2.103.0.dist-info}/WHEEL +0 -0
- {oci-2.102.0.dist-info → oci-2.103.0.dist-info}/top_level.txt +0 -0
oci/lockbox/lockbox_client.py
CHANGED
@@ -145,7 +145,7 @@ class LockboxClient(object):
|
|
145
145
|
:rtype: :class:`~oci.response.Response`
|
146
146
|
|
147
147
|
:example:
|
148
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
148
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/lockbox/cancel_work_request.py.html>`__ to see an example of how to use cancel_work_request API.
|
149
149
|
"""
|
150
150
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
151
151
|
required_arguments = ['workRequestId']
|
@@ -258,7 +258,7 @@ class LockboxClient(object):
|
|
258
258
|
:rtype: :class:`~oci.response.Response`
|
259
259
|
|
260
260
|
:example:
|
261
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
261
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/lockbox/change_approval_template_compartment.py.html>`__ to see an example of how to use change_approval_template_compartment API.
|
262
262
|
"""
|
263
263
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
264
264
|
required_arguments = ['approvalTemplateId']
|
@@ -376,7 +376,7 @@ class LockboxClient(object):
|
|
376
376
|
:rtype: :class:`~oci.response.Response`
|
377
377
|
|
378
378
|
:example:
|
379
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
379
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/lockbox/change_lockbox_compartment.py.html>`__ to see an example of how to use change_lockbox_compartment API.
|
380
380
|
"""
|
381
381
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
382
382
|
required_arguments = ['lockboxId']
|
@@ -484,7 +484,7 @@ class LockboxClient(object):
|
|
484
484
|
:rtype: :class:`~oci.response.Response`
|
485
485
|
|
486
486
|
:example:
|
487
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
487
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/lockbox/create_access_request.py.html>`__ to see an example of how to use create_access_request API.
|
488
488
|
"""
|
489
489
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
490
490
|
required_arguments = []
|
@@ -580,7 +580,7 @@ class LockboxClient(object):
|
|
580
580
|
:rtype: :class:`~oci.response.Response`
|
581
581
|
|
582
582
|
:example:
|
583
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
583
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/lockbox/create_approval_template.py.html>`__ to see an example of how to use create_approval_template API.
|
584
584
|
"""
|
585
585
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
586
586
|
required_arguments = []
|
@@ -676,7 +676,7 @@ class LockboxClient(object):
|
|
676
676
|
:rtype: :class:`~oci.response.Response`
|
677
677
|
|
678
678
|
:example:
|
679
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
679
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/lockbox/create_lockbox.py.html>`__ to see an example of how to use create_lockbox API.
|
680
680
|
"""
|
681
681
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
682
682
|
required_arguments = []
|
@@ -772,7 +772,7 @@ class LockboxClient(object):
|
|
772
772
|
:rtype: :class:`~oci.response.Response`
|
773
773
|
|
774
774
|
:example:
|
775
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
775
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/lockbox/delete_approval_template.py.html>`__ to see an example of how to use delete_approval_template API.
|
776
776
|
"""
|
777
777
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
778
778
|
required_arguments = ['approvalTemplateId']
|
@@ -882,7 +882,7 @@ class LockboxClient(object):
|
|
882
882
|
:rtype: :class:`~oci.response.Response`
|
883
883
|
|
884
884
|
:example:
|
885
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
885
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/lockbox/delete_lockbox.py.html>`__ to see an example of how to use delete_lockbox API.
|
886
886
|
"""
|
887
887
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
888
888
|
required_arguments = ['lockboxId']
|
@@ -981,7 +981,7 @@ class LockboxClient(object):
|
|
981
981
|
:rtype: :class:`~oci.response.Response`
|
982
982
|
|
983
983
|
:example:
|
984
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
984
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/lockbox/get_access_materials.py.html>`__ to see an example of how to use get_access_materials API.
|
985
985
|
"""
|
986
986
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
987
987
|
required_arguments = ['accessRequestId']
|
@@ -1077,7 +1077,7 @@ class LockboxClient(object):
|
|
1077
1077
|
:rtype: :class:`~oci.response.Response`
|
1078
1078
|
|
1079
1079
|
:example:
|
1080
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1080
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/lockbox/get_access_request.py.html>`__ to see an example of how to use get_access_request API.
|
1081
1081
|
"""
|
1082
1082
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1083
1083
|
required_arguments = ['accessRequestId']
|
@@ -1173,7 +1173,7 @@ class LockboxClient(object):
|
|
1173
1173
|
:rtype: :class:`~oci.response.Response`
|
1174
1174
|
|
1175
1175
|
:example:
|
1176
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1176
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/lockbox/get_approval_template.py.html>`__ to see an example of how to use get_approval_template API.
|
1177
1177
|
"""
|
1178
1178
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1179
1179
|
required_arguments = ['approvalTemplateId']
|
@@ -1269,7 +1269,7 @@ class LockboxClient(object):
|
|
1269
1269
|
:rtype: :class:`~oci.response.Response`
|
1270
1270
|
|
1271
1271
|
:example:
|
1272
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1272
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/lockbox/get_lockbox.py.html>`__ to see an example of how to use get_lockbox API.
|
1273
1273
|
"""
|
1274
1274
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1275
1275
|
required_arguments = ['lockboxId']
|
@@ -1365,7 +1365,7 @@ class LockboxClient(object):
|
|
1365
1365
|
:rtype: :class:`~oci.response.Response`
|
1366
1366
|
|
1367
1367
|
:example:
|
1368
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1368
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/lockbox/get_work_request.py.html>`__ to see an example of how to use get_work_request API.
|
1369
1369
|
"""
|
1370
1370
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1371
1371
|
required_arguments = ['workRequestId']
|
@@ -1478,7 +1478,7 @@ class LockboxClient(object):
|
|
1478
1478
|
:rtype: :class:`~oci.response.Response`
|
1479
1479
|
|
1480
1480
|
:example:
|
1481
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1481
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/lockbox/handle_access_request.py.html>`__ to see an example of how to use handle_access_request API.
|
1482
1482
|
"""
|
1483
1483
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1484
1484
|
required_arguments = ['accessRequestId']
|
@@ -1614,7 +1614,7 @@ class LockboxClient(object):
|
|
1614
1614
|
:rtype: :class:`~oci.response.Response`
|
1615
1615
|
|
1616
1616
|
:example:
|
1617
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1617
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/lockbox/list_access_requests.py.html>`__ to see an example of how to use list_access_requests API.
|
1618
1618
|
"""
|
1619
1619
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1620
1620
|
required_arguments = []
|
@@ -1779,7 +1779,7 @@ class LockboxClient(object):
|
|
1779
1779
|
:rtype: :class:`~oci.response.Response`
|
1780
1780
|
|
1781
1781
|
:example:
|
1782
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1782
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/lockbox/list_approval_templates.py.html>`__ to see an example of how to use list_approval_templates API.
|
1783
1783
|
"""
|
1784
1784
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1785
1785
|
required_arguments = []
|
@@ -1941,7 +1941,7 @@ class LockboxClient(object):
|
|
1941
1941
|
:rtype: :class:`~oci.response.Response`
|
1942
1942
|
|
1943
1943
|
:example:
|
1944
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1944
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/lockbox/list_lockboxes.py.html>`__ to see an example of how to use list_lockboxes API.
|
1945
1945
|
"""
|
1946
1946
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1947
1947
|
required_arguments = []
|
@@ -2095,7 +2095,7 @@ class LockboxClient(object):
|
|
2095
2095
|
:rtype: :class:`~oci.response.Response`
|
2096
2096
|
|
2097
2097
|
:example:
|
2098
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
2098
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/lockbox/list_work_request_errors.py.html>`__ to see an example of how to use list_work_request_errors API.
|
2099
2099
|
"""
|
2100
2100
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2101
2101
|
required_arguments = ['workRequestId']
|
@@ -2235,7 +2235,7 @@ class LockboxClient(object):
|
|
2235
2235
|
:rtype: :class:`~oci.response.Response`
|
2236
2236
|
|
2237
2237
|
:example:
|
2238
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
2238
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/lockbox/list_work_request_logs.py.html>`__ to see an example of how to use list_work_request_logs API.
|
2239
2239
|
"""
|
2240
2240
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2241
2241
|
required_arguments = ['workRequestId']
|
@@ -2386,7 +2386,7 @@ class LockboxClient(object):
|
|
2386
2386
|
:rtype: :class:`~oci.response.Response`
|
2387
2387
|
|
2388
2388
|
:example:
|
2389
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
2389
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/lockbox/list_work_requests.py.html>`__ to see an example of how to use list_work_requests API.
|
2390
2390
|
"""
|
2391
2391
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2392
2392
|
required_arguments = []
|
@@ -2523,7 +2523,7 @@ class LockboxClient(object):
|
|
2523
2523
|
:rtype: :class:`~oci.response.Response`
|
2524
2524
|
|
2525
2525
|
:example:
|
2526
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
2526
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/lockbox/update_approval_template.py.html>`__ to see an example of how to use update_approval_template API.
|
2527
2527
|
"""
|
2528
2528
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2529
2529
|
required_arguments = ['approvalTemplateId']
|
@@ -2633,7 +2633,7 @@ class LockboxClient(object):
|
|
2633
2633
|
:rtype: :class:`~oci.response.Response`
|
2634
2634
|
|
2635
2635
|
:example:
|
2636
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
2636
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/lockbox/update_lockbox.py.html>`__ to see an example of how to use update_lockbox API.
|
2637
2637
|
"""
|
2638
2638
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2639
2639
|
required_arguments = ['lockboxId']
|
@@ -181,11 +181,19 @@ class LockboxClientCompositeOperations(object):
|
|
181
181
|
lowered_wait_for_states = [w.lower() for w in wait_for_states]
|
182
182
|
|
183
183
|
try:
|
184
|
+
if ("succeed_on_not_found" in waiter_kwargs) and (waiter_kwargs["succeed_on_not_found"] is False):
|
185
|
+
self.client.base_client.logger.warning("The waiter kwarg succeed_on_not_found was passed as False for the delete composite operation delete_approval_template, 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")
|
186
|
+
else:
|
187
|
+
"""
|
188
|
+
If the user does not send in this value, we set it to True by default.
|
189
|
+
We are doing this because during a delete resource scenario and waiting on its state, the service can
|
190
|
+
return a 404 NOT FOUND exception as the resource was deleted and a get on its state would fail
|
191
|
+
"""
|
192
|
+
waiter_kwargs["succeed_on_not_found"] = True
|
184
193
|
waiter_result = oci.wait_until(
|
185
194
|
self.client,
|
186
195
|
initial_get_result, # noqa: F821
|
187
196
|
evaluate_response=lambda r: getattr(r.data, 'lifecycle_state') and getattr(r.data, 'lifecycle_state').lower() in lowered_wait_for_states,
|
188
|
-
succeed_on_not_found=True,
|
189
197
|
**waiter_kwargs
|
190
198
|
)
|
191
199
|
result_to_return = waiter_result
|
@@ -233,11 +241,19 @@ class LockboxClientCompositeOperations(object):
|
|
233
241
|
lowered_wait_for_states = [w.lower() for w in wait_for_states]
|
234
242
|
|
235
243
|
try:
|
244
|
+
if ("succeed_on_not_found" in waiter_kwargs) and (waiter_kwargs["succeed_on_not_found"] is False):
|
245
|
+
self.client.base_client.logger.warning("The waiter kwarg succeed_on_not_found was passed as False for the delete composite operation delete_lockbox, 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")
|
246
|
+
else:
|
247
|
+
"""
|
248
|
+
If the user does not send in this value, we set it to True by default.
|
249
|
+
We are doing this because during a delete resource scenario and waiting on its state, the service can
|
250
|
+
return a 404 NOT FOUND exception as the resource was deleted and a get on its state would fail
|
251
|
+
"""
|
252
|
+
waiter_kwargs["succeed_on_not_found"] = True
|
236
253
|
waiter_result = oci.wait_until(
|
237
254
|
self.client,
|
238
255
|
initial_get_result, # noqa: F821
|
239
256
|
evaluate_response=lambda r: getattr(r.data, 'lifecycle_state') and getattr(r.data, 'lifecycle_state').lower() in lowered_wait_for_states,
|
240
|
-
succeed_on_not_found=True,
|
241
257
|
**waiter_kwargs
|
242
258
|
)
|
243
259
|
result_to_return = waiter_result
|