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
@@ -152,7 +152,7 @@ class FileStorageClient(object):
|
|
152
152
|
:rtype: :class:`~oci.response.Response`
|
153
153
|
|
154
154
|
:example:
|
155
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
155
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/filestorage/change_file_system_compartment.py.html>`__ to see an example of how to use change_file_system_compartment API.
|
156
156
|
"""
|
157
157
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
158
158
|
required_arguments = ['fileSystemId']
|
@@ -265,7 +265,7 @@ class FileStorageClient(object):
|
|
265
265
|
:rtype: :class:`~oci.response.Response`
|
266
266
|
|
267
267
|
:example:
|
268
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
268
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/filestorage/change_mount_target_compartment.py.html>`__ to see an example of how to use change_mount_target_compartment API.
|
269
269
|
"""
|
270
270
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
271
271
|
required_arguments = ['mountTargetId']
|
@@ -379,7 +379,7 @@ class FileStorageClient(object):
|
|
379
379
|
:rtype: :class:`~oci.response.Response`
|
380
380
|
|
381
381
|
:example:
|
382
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
382
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/filestorage/change_replication_compartment.py.html>`__ to see an example of how to use change_replication_compartment API.
|
383
383
|
"""
|
384
384
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
385
385
|
required_arguments = ['replicationId']
|
@@ -486,7 +486,7 @@ class FileStorageClient(object):
|
|
486
486
|
:rtype: :class:`~oci.response.Response`
|
487
487
|
|
488
488
|
:example:
|
489
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
489
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/filestorage/create_export.py.html>`__ to see an example of how to use create_export API.
|
490
490
|
"""
|
491
491
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
492
492
|
required_arguments = []
|
@@ -616,7 +616,7 @@ class FileStorageClient(object):
|
|
616
616
|
:rtype: :class:`~oci.response.Response`
|
617
617
|
|
618
618
|
:example:
|
619
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
619
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/filestorage/create_file_system.py.html>`__ to see an example of how to use create_file_system API.
|
620
620
|
"""
|
621
621
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
622
622
|
required_arguments = []
|
@@ -748,7 +748,7 @@ class FileStorageClient(object):
|
|
748
748
|
:rtype: :class:`~oci.response.Response`
|
749
749
|
|
750
750
|
:example:
|
751
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
751
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/filestorage/create_mount_target.py.html>`__ to see an example of how to use create_mount_target API.
|
752
752
|
"""
|
753
753
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
754
754
|
required_arguments = []
|
@@ -876,7 +876,7 @@ class FileStorageClient(object):
|
|
876
876
|
:rtype: :class:`~oci.response.Response`
|
877
877
|
|
878
878
|
:example:
|
879
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
879
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/filestorage/create_replication.py.html>`__ to see an example of how to use create_replication API.
|
880
880
|
"""
|
881
881
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
882
882
|
required_arguments = []
|
@@ -974,7 +974,7 @@ class FileStorageClient(object):
|
|
974
974
|
:rtype: :class:`~oci.response.Response`
|
975
975
|
|
976
976
|
:example:
|
977
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
977
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/filestorage/create_snapshot.py.html>`__ to see an example of how to use create_snapshot API.
|
978
978
|
"""
|
979
979
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
980
980
|
required_arguments = []
|
@@ -1073,7 +1073,7 @@ class FileStorageClient(object):
|
|
1073
1073
|
:rtype: :class:`~oci.response.Response`
|
1074
1074
|
|
1075
1075
|
:example:
|
1076
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1076
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/filestorage/delete_export.py.html>`__ to see an example of how to use delete_export API.
|
1077
1077
|
"""
|
1078
1078
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1079
1079
|
required_arguments = ['exportId']
|
@@ -1181,7 +1181,7 @@ class FileStorageClient(object):
|
|
1181
1181
|
:rtype: :class:`~oci.response.Response`
|
1182
1182
|
|
1183
1183
|
:example:
|
1184
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1184
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/filestorage/delete_file_system.py.html>`__ to see an example of how to use delete_file_system API.
|
1185
1185
|
"""
|
1186
1186
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1187
1187
|
required_arguments = ['fileSystemId']
|
@@ -1288,7 +1288,7 @@ class FileStorageClient(object):
|
|
1288
1288
|
:rtype: :class:`~oci.response.Response`
|
1289
1289
|
|
1290
1290
|
:example:
|
1291
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1291
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/filestorage/delete_mount_target.py.html>`__ to see an example of how to use delete_mount_target API.
|
1292
1292
|
"""
|
1293
1293
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1294
1294
|
required_arguments = ['mountTargetId']
|
@@ -1402,7 +1402,7 @@ class FileStorageClient(object):
|
|
1402
1402
|
:rtype: :class:`~oci.response.Response`
|
1403
1403
|
|
1404
1404
|
:example:
|
1405
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1405
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/filestorage/delete_replication.py.html>`__ to see an example of how to use delete_replication API.
|
1406
1406
|
"""
|
1407
1407
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1408
1408
|
required_arguments = ['replicationId']
|
@@ -1526,7 +1526,7 @@ class FileStorageClient(object):
|
|
1526
1526
|
:rtype: :class:`~oci.response.Response`
|
1527
1527
|
|
1528
1528
|
:example:
|
1529
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1529
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/filestorage/delete_replication_target.py.html>`__ to see an example of how to use delete_replication_target API.
|
1530
1530
|
"""
|
1531
1531
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1532
1532
|
required_arguments = ['replicationTargetId']
|
@@ -1632,7 +1632,7 @@ class FileStorageClient(object):
|
|
1632
1632
|
:rtype: :class:`~oci.response.Response`
|
1633
1633
|
|
1634
1634
|
:example:
|
1635
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1635
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/filestorage/delete_snapshot.py.html>`__ to see an example of how to use delete_snapshot API.
|
1636
1636
|
"""
|
1637
1637
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1638
1638
|
required_arguments = ['snapshotId']
|
@@ -1741,7 +1741,7 @@ class FileStorageClient(object):
|
|
1741
1741
|
:rtype: :class:`~oci.response.Response`
|
1742
1742
|
|
1743
1743
|
:example:
|
1744
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1744
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/filestorage/estimate_replication.py.html>`__ to see an example of how to use estimate_replication API.
|
1745
1745
|
"""
|
1746
1746
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1747
1747
|
required_arguments = ['fileSystemId']
|
@@ -1850,7 +1850,7 @@ class FileStorageClient(object):
|
|
1850
1850
|
:rtype: :class:`~oci.response.Response`
|
1851
1851
|
|
1852
1852
|
:example:
|
1853
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1853
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/filestorage/get_export.py.html>`__ to see an example of how to use get_export API.
|
1854
1854
|
"""
|
1855
1855
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1856
1856
|
required_arguments = ['exportId']
|
@@ -1949,7 +1949,7 @@ class FileStorageClient(object):
|
|
1949
1949
|
:rtype: :class:`~oci.response.Response`
|
1950
1950
|
|
1951
1951
|
:example:
|
1952
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1952
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/filestorage/get_export_set.py.html>`__ to see an example of how to use get_export_set API.
|
1953
1953
|
"""
|
1954
1954
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1955
1955
|
required_arguments = ['exportSetId']
|
@@ -2048,7 +2048,7 @@ class FileStorageClient(object):
|
|
2048
2048
|
:rtype: :class:`~oci.response.Response`
|
2049
2049
|
|
2050
2050
|
:example:
|
2051
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
2051
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/filestorage/get_file_system.py.html>`__ to see an example of how to use get_file_system API.
|
2052
2052
|
"""
|
2053
2053
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2054
2054
|
required_arguments = ['fileSystemId']
|
@@ -2147,7 +2147,7 @@ class FileStorageClient(object):
|
|
2147
2147
|
:rtype: :class:`~oci.response.Response`
|
2148
2148
|
|
2149
2149
|
:example:
|
2150
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
2150
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/filestorage/get_mount_target.py.html>`__ to see an example of how to use get_mount_target API.
|
2151
2151
|
"""
|
2152
2152
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2153
2153
|
required_arguments = ['mountTargetId']
|
@@ -2246,7 +2246,7 @@ class FileStorageClient(object):
|
|
2246
2246
|
:rtype: :class:`~oci.response.Response`
|
2247
2247
|
|
2248
2248
|
:example:
|
2249
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
2249
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/filestorage/get_replication.py.html>`__ to see an example of how to use get_replication API.
|
2250
2250
|
"""
|
2251
2251
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2252
2252
|
required_arguments = ['replicationId']
|
@@ -2345,7 +2345,7 @@ class FileStorageClient(object):
|
|
2345
2345
|
:rtype: :class:`~oci.response.Response`
|
2346
2346
|
|
2347
2347
|
:example:
|
2348
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
2348
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/filestorage/get_replication_target.py.html>`__ to see an example of how to use get_replication_target API.
|
2349
2349
|
"""
|
2350
2350
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2351
2351
|
required_arguments = ['replicationTargetId']
|
@@ -2444,7 +2444,7 @@ class FileStorageClient(object):
|
|
2444
2444
|
:rtype: :class:`~oci.response.Response`
|
2445
2445
|
|
2446
2446
|
:example:
|
2447
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
2447
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/filestorage/get_snapshot.py.html>`__ to see an example of how to use get_snapshot API.
|
2448
2448
|
"""
|
2449
2449
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2450
2450
|
required_arguments = ['snapshotId']
|
@@ -2601,7 +2601,7 @@ class FileStorageClient(object):
|
|
2601
2601
|
:rtype: :class:`~oci.response.Response`
|
2602
2602
|
|
2603
2603
|
:example:
|
2604
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
2604
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/filestorage/list_export_sets.py.html>`__ to see an example of how to use list_export_sets API.
|
2605
2605
|
"""
|
2606
2606
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2607
2607
|
required_arguments = ['compartmentId', 'availabilityDomain']
|
@@ -2791,7 +2791,7 @@ class FileStorageClient(object):
|
|
2791
2791
|
:rtype: :class:`~oci.response.Response`
|
2792
2792
|
|
2793
2793
|
:example:
|
2794
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
2794
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/filestorage/list_exports.py.html>`__ to see an example of how to use list_exports API.
|
2795
2795
|
"""
|
2796
2796
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2797
2797
|
required_arguments = []
|
@@ -2993,7 +2993,7 @@ class FileStorageClient(object):
|
|
2993
2993
|
:rtype: :class:`~oci.response.Response`
|
2994
2994
|
|
2995
2995
|
:example:
|
2996
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
2996
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/filestorage/list_file_systems.py.html>`__ to see an example of how to use list_file_systems API.
|
2997
2997
|
"""
|
2998
2998
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2999
2999
|
required_arguments = ['compartmentId', 'availabilityDomain']
|
@@ -3190,7 +3190,7 @@ class FileStorageClient(object):
|
|
3190
3190
|
:rtype: :class:`~oci.response.Response`
|
3191
3191
|
|
3192
3192
|
:example:
|
3193
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
3193
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/filestorage/list_mount_targets.py.html>`__ to see an example of how to use list_mount_targets API.
|
3194
3194
|
"""
|
3195
3195
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
3196
3196
|
required_arguments = ['compartmentId', 'availabilityDomain']
|
@@ -3380,7 +3380,7 @@ class FileStorageClient(object):
|
|
3380
3380
|
:rtype: :class:`~oci.response.Response`
|
3381
3381
|
|
3382
3382
|
:example:
|
3383
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
3383
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/filestorage/list_replication_targets.py.html>`__ to see an example of how to use list_replication_targets API.
|
3384
3384
|
"""
|
3385
3385
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
3386
3386
|
required_arguments = ['compartmentId', 'availabilityDomain']
|
@@ -3573,7 +3573,7 @@ class FileStorageClient(object):
|
|
3573
3573
|
:rtype: :class:`~oci.response.Response`
|
3574
3574
|
|
3575
3575
|
:example:
|
3576
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
3576
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/filestorage/list_replications.py.html>`__ to see an example of how to use list_replications API.
|
3577
3577
|
"""
|
3578
3578
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
3579
3579
|
required_arguments = ['compartmentId', 'availabilityDomain']
|
@@ -3745,7 +3745,7 @@ class FileStorageClient(object):
|
|
3745
3745
|
:rtype: :class:`~oci.response.Response`
|
3746
3746
|
|
3747
3747
|
:example:
|
3748
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
3748
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/filestorage/list_snapshots.py.html>`__ to see an example of how to use list_snapshots API.
|
3749
3749
|
"""
|
3750
3750
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
3751
3751
|
required_arguments = ['fileSystemId']
|
@@ -3873,7 +3873,7 @@ class FileStorageClient(object):
|
|
3873
3873
|
:rtype: :class:`~oci.response.Response`
|
3874
3874
|
|
3875
3875
|
:example:
|
3876
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
3876
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/filestorage/update_export.py.html>`__ to see an example of how to use update_export API.
|
3877
3877
|
"""
|
3878
3878
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
3879
3879
|
required_arguments = ['exportId']
|
@@ -3986,7 +3986,7 @@ class FileStorageClient(object):
|
|
3986
3986
|
:rtype: :class:`~oci.response.Response`
|
3987
3987
|
|
3988
3988
|
:example:
|
3989
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
3989
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/filestorage/update_export_set.py.html>`__ to see an example of how to use update_export_set API.
|
3990
3990
|
"""
|
3991
3991
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
3992
3992
|
required_arguments = ['exportSetId']
|
@@ -4100,7 +4100,7 @@ class FileStorageClient(object):
|
|
4100
4100
|
:rtype: :class:`~oci.response.Response`
|
4101
4101
|
|
4102
4102
|
:example:
|
4103
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
4103
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/filestorage/update_file_system.py.html>`__ to see an example of how to use update_file_system API.
|
4104
4104
|
"""
|
4105
4105
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
4106
4106
|
required_arguments = ['fileSystemId']
|
@@ -4213,7 +4213,7 @@ class FileStorageClient(object):
|
|
4213
4213
|
:rtype: :class:`~oci.response.Response`
|
4214
4214
|
|
4215
4215
|
:example:
|
4216
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
4216
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/filestorage/update_mount_target.py.html>`__ to see an example of how to use update_mount_target API.
|
4217
4217
|
"""
|
4218
4218
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
4219
4219
|
required_arguments = ['mountTargetId']
|
@@ -4326,7 +4326,7 @@ class FileStorageClient(object):
|
|
4326
4326
|
:rtype: :class:`~oci.response.Response`
|
4327
4327
|
|
4328
4328
|
:example:
|
4329
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
4329
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/filestorage/update_replication.py.html>`__ to see an example of how to use update_replication API.
|
4330
4330
|
"""
|
4331
4331
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
4332
4332
|
required_arguments = ['replicationId']
|
@@ -4439,7 +4439,7 @@ class FileStorageClient(object):
|
|
4439
4439
|
:rtype: :class:`~oci.response.Response`
|
4440
4440
|
|
4441
4441
|
:example:
|
4442
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
4442
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/filestorage/update_snapshot.py.html>`__ to see an example of how to use update_snapshot API.
|
4443
4443
|
"""
|
4444
4444
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
4445
4445
|
required_arguments = ['snapshotId']
|
@@ -274,11 +274,19 @@ class FileStorageClientCompositeOperations(object):
|
|
274
274
|
lowered_wait_for_states = [w.lower() for w in wait_for_states]
|
275
275
|
|
276
276
|
try:
|
277
|
+
if ("succeed_on_not_found" in waiter_kwargs) and (waiter_kwargs["succeed_on_not_found"] is False):
|
278
|
+
self.client.base_client.logger.warning("The waiter kwarg succeed_on_not_found was passed as False for the delete composite operation delete_export, 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")
|
279
|
+
else:
|
280
|
+
"""
|
281
|
+
If the user does not send in this value, we set it to True by default.
|
282
|
+
We are doing this because during a delete resource scenario and waiting on its state, the service can
|
283
|
+
return a 404 NOT FOUND exception as the resource was deleted and a get on its state would fail
|
284
|
+
"""
|
285
|
+
waiter_kwargs["succeed_on_not_found"] = True
|
277
286
|
waiter_result = oci.wait_until(
|
278
287
|
self.client,
|
279
288
|
initial_get_result, # noqa: F821
|
280
289
|
evaluate_response=lambda r: getattr(r.data, 'lifecycle_state') and getattr(r.data, 'lifecycle_state').lower() in lowered_wait_for_states,
|
281
|
-
succeed_on_not_found=True,
|
282
290
|
**waiter_kwargs
|
283
291
|
)
|
284
292
|
result_to_return = waiter_result
|
@@ -328,11 +336,19 @@ class FileStorageClientCompositeOperations(object):
|
|
328
336
|
lowered_wait_for_states = [w.lower() for w in wait_for_states]
|
329
337
|
|
330
338
|
try:
|
339
|
+
if ("succeed_on_not_found" in waiter_kwargs) and (waiter_kwargs["succeed_on_not_found"] is False):
|
340
|
+
self.client.base_client.logger.warning("The waiter kwarg succeed_on_not_found was passed as False for the delete composite operation delete_file_system, 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")
|
341
|
+
else:
|
342
|
+
"""
|
343
|
+
If the user does not send in this value, we set it to True by default.
|
344
|
+
We are doing this because during a delete resource scenario and waiting on its state, the service can
|
345
|
+
return a 404 NOT FOUND exception as the resource was deleted and a get on its state would fail
|
346
|
+
"""
|
347
|
+
waiter_kwargs["succeed_on_not_found"] = True
|
331
348
|
waiter_result = oci.wait_until(
|
332
349
|
self.client,
|
333
350
|
initial_get_result, # noqa: F821
|
334
351
|
evaluate_response=lambda r: getattr(r.data, 'lifecycle_state') and getattr(r.data, 'lifecycle_state').lower() in lowered_wait_for_states,
|
335
|
-
succeed_on_not_found=True,
|
336
352
|
**waiter_kwargs
|
337
353
|
)
|
338
354
|
result_to_return = waiter_result
|
@@ -382,11 +398,19 @@ class FileStorageClientCompositeOperations(object):
|
|
382
398
|
lowered_wait_for_states = [w.lower() for w in wait_for_states]
|
383
399
|
|
384
400
|
try:
|
401
|
+
if ("succeed_on_not_found" in waiter_kwargs) and (waiter_kwargs["succeed_on_not_found"] is False):
|
402
|
+
self.client.base_client.logger.warning("The waiter kwarg succeed_on_not_found was passed as False for the delete composite operation delete_mount_target, 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")
|
403
|
+
else:
|
404
|
+
"""
|
405
|
+
If the user does not send in this value, we set it to True by default.
|
406
|
+
We are doing this because during a delete resource scenario and waiting on its state, the service can
|
407
|
+
return a 404 NOT FOUND exception as the resource was deleted and a get on its state would fail
|
408
|
+
"""
|
409
|
+
waiter_kwargs["succeed_on_not_found"] = True
|
385
410
|
waiter_result = oci.wait_until(
|
386
411
|
self.client,
|
387
412
|
initial_get_result, # noqa: F821
|
388
413
|
evaluate_response=lambda r: getattr(r.data, 'lifecycle_state') and getattr(r.data, 'lifecycle_state').lower() in lowered_wait_for_states,
|
389
|
-
succeed_on_not_found=True,
|
390
414
|
**waiter_kwargs
|
391
415
|
)
|
392
416
|
result_to_return = waiter_result
|
@@ -436,11 +460,19 @@ class FileStorageClientCompositeOperations(object):
|
|
436
460
|
lowered_wait_for_states = [w.lower() for w in wait_for_states]
|
437
461
|
|
438
462
|
try:
|
463
|
+
if ("succeed_on_not_found" in waiter_kwargs) and (waiter_kwargs["succeed_on_not_found"] is False):
|
464
|
+
self.client.base_client.logger.warning("The waiter kwarg succeed_on_not_found was passed as False for the delete composite operation delete_replication, 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")
|
465
|
+
else:
|
466
|
+
"""
|
467
|
+
If the user does not send in this value, we set it to True by default.
|
468
|
+
We are doing this because during a delete resource scenario and waiting on its state, the service can
|
469
|
+
return a 404 NOT FOUND exception as the resource was deleted and a get on its state would fail
|
470
|
+
"""
|
471
|
+
waiter_kwargs["succeed_on_not_found"] = True
|
439
472
|
waiter_result = oci.wait_until(
|
440
473
|
self.client,
|
441
474
|
initial_get_result, # noqa: F821
|
442
475
|
evaluate_response=lambda r: getattr(r.data, 'lifecycle_state') and getattr(r.data, 'lifecycle_state').lower() in lowered_wait_for_states,
|
443
|
-
succeed_on_not_found=True,
|
444
476
|
**waiter_kwargs
|
445
477
|
)
|
446
478
|
result_to_return = waiter_result
|
@@ -490,11 +522,19 @@ class FileStorageClientCompositeOperations(object):
|
|
490
522
|
lowered_wait_for_states = [w.lower() for w in wait_for_states]
|
491
523
|
|
492
524
|
try:
|
525
|
+
if ("succeed_on_not_found" in waiter_kwargs) and (waiter_kwargs["succeed_on_not_found"] is False):
|
526
|
+
self.client.base_client.logger.warning("The waiter kwarg succeed_on_not_found was passed as False for the delete composite operation delete_replication_target, 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")
|
527
|
+
else:
|
528
|
+
"""
|
529
|
+
If the user does not send in this value, we set it to True by default.
|
530
|
+
We are doing this because during a delete resource scenario and waiting on its state, the service can
|
531
|
+
return a 404 NOT FOUND exception as the resource was deleted and a get on its state would fail
|
532
|
+
"""
|
533
|
+
waiter_kwargs["succeed_on_not_found"] = True
|
493
534
|
waiter_result = oci.wait_until(
|
494
535
|
self.client,
|
495
536
|
initial_get_result, # noqa: F821
|
496
537
|
evaluate_response=lambda r: getattr(r.data, 'lifecycle_state') and getattr(r.data, 'lifecycle_state').lower() in lowered_wait_for_states,
|
497
|
-
succeed_on_not_found=True,
|
498
538
|
**waiter_kwargs
|
499
539
|
)
|
500
540
|
result_to_return = waiter_result
|
@@ -544,11 +584,19 @@ class FileStorageClientCompositeOperations(object):
|
|
544
584
|
lowered_wait_for_states = [w.lower() for w in wait_for_states]
|
545
585
|
|
546
586
|
try:
|
587
|
+
if ("succeed_on_not_found" in waiter_kwargs) and (waiter_kwargs["succeed_on_not_found"] is False):
|
588
|
+
self.client.base_client.logger.warning("The waiter kwarg succeed_on_not_found was passed as False for the delete composite operation delete_snapshot, 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")
|
589
|
+
else:
|
590
|
+
"""
|
591
|
+
If the user does not send in this value, we set it to True by default.
|
592
|
+
We are doing this because during a delete resource scenario and waiting on its state, the service can
|
593
|
+
return a 404 NOT FOUND exception as the resource was deleted and a get on its state would fail
|
594
|
+
"""
|
595
|
+
waiter_kwargs["succeed_on_not_found"] = True
|
547
596
|
waiter_result = oci.wait_until(
|
548
597
|
self.client,
|
549
598
|
initial_get_result, # noqa: F821
|
550
599
|
evaluate_response=lambda r: getattr(r.data, 'lifecycle_state') and getattr(r.data, 'lifecycle_state').lower() in lowered_wait_for_states,
|
551
|
-
succeed_on_not_found=True,
|
552
600
|
**waiter_kwargs
|
553
601
|
)
|
554
602
|
result_to_return = waiter_result
|
@@ -162,7 +162,7 @@ class FunctionsInvokeClient(object):
|
|
162
162
|
:rtype: :class:`~oci.response.Response`
|
163
163
|
|
164
164
|
:example:
|
165
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
165
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/functions/invoke_function.py.html>`__ to see an example of how to use invoke_function API.
|
166
166
|
"""
|
167
167
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
168
168
|
required_arguments = ['functionId']
|
@@ -150,7 +150,7 @@ class FunctionsManagementClient(object):
|
|
150
150
|
:rtype: :class:`~oci.response.Response`
|
151
151
|
|
152
152
|
:example:
|
153
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
153
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/functions/change_application_compartment.py.html>`__ to see an example of how to use change_application_compartment API.
|
154
154
|
"""
|
155
155
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
156
156
|
required_arguments = ['applicationId']
|
@@ -251,7 +251,7 @@ class FunctionsManagementClient(object):
|
|
251
251
|
:rtype: :class:`~oci.response.Response`
|
252
252
|
|
253
253
|
:example:
|
254
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
254
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/functions/create_application.py.html>`__ to see an example of how to use create_application API.
|
255
255
|
"""
|
256
256
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
257
257
|
required_arguments = []
|
@@ -340,7 +340,7 @@ class FunctionsManagementClient(object):
|
|
340
340
|
:rtype: :class:`~oci.response.Response`
|
341
341
|
|
342
342
|
:example:
|
343
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
343
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/functions/create_function.py.html>`__ to see an example of how to use create_function API.
|
344
344
|
"""
|
345
345
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
346
346
|
required_arguments = []
|
@@ -436,7 +436,7 @@ class FunctionsManagementClient(object):
|
|
436
436
|
:rtype: :class:`~oci.response.Response`
|
437
437
|
|
438
438
|
:example:
|
439
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
439
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/functions/delete_application.py.html>`__ to see an example of how to use delete_application API.
|
440
440
|
"""
|
441
441
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
442
442
|
required_arguments = ['applicationId']
|
@@ -542,7 +542,7 @@ class FunctionsManagementClient(object):
|
|
542
542
|
:rtype: :class:`~oci.response.Response`
|
543
543
|
|
544
544
|
:example:
|
545
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
545
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/functions/delete_function.py.html>`__ to see an example of how to use delete_function API.
|
546
546
|
"""
|
547
547
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
548
548
|
required_arguments = ['functionId']
|
@@ -643,7 +643,7 @@ class FunctionsManagementClient(object):
|
|
643
643
|
:rtype: :class:`~oci.response.Response`
|
644
644
|
|
645
645
|
:example:
|
646
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
646
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/functions/get_application.py.html>`__ to see an example of how to use get_application API.
|
647
647
|
"""
|
648
648
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
649
649
|
required_arguments = ['applicationId']
|
@@ -744,7 +744,7 @@ class FunctionsManagementClient(object):
|
|
744
744
|
:rtype: :class:`~oci.response.Response`
|
745
745
|
|
746
746
|
:example:
|
747
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
747
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/functions/get_function.py.html>`__ to see an example of how to use get_function API.
|
748
748
|
"""
|
749
749
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
750
750
|
required_arguments = ['functionId']
|
@@ -843,7 +843,7 @@ class FunctionsManagementClient(object):
|
|
843
843
|
:rtype: :class:`~oci.response.Response`
|
844
844
|
|
845
845
|
:example:
|
846
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
846
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/functions/get_pbf_listing.py.html>`__ to see an example of how to use get_pbf_listing API.
|
847
847
|
"""
|
848
848
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
849
849
|
required_arguments = ['pbfListingId']
|
@@ -942,7 +942,7 @@ class FunctionsManagementClient(object):
|
|
942
942
|
:rtype: :class:`~oci.response.Response`
|
943
943
|
|
944
944
|
:example:
|
945
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
945
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/functions/get_pbf_listing_version.py.html>`__ to see an example of how to use get_pbf_listing_version API.
|
946
946
|
"""
|
947
947
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
948
948
|
required_arguments = ['pbfListingVersionId']
|
@@ -1082,7 +1082,7 @@ class FunctionsManagementClient(object):
|
|
1082
1082
|
:rtype: :class:`~oci.response.Response`
|
1083
1083
|
|
1084
1084
|
:example:
|
1085
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1085
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/functions/list_applications.py.html>`__ to see an example of how to use list_applications API.
|
1086
1086
|
"""
|
1087
1087
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1088
1088
|
required_arguments = ['compartmentId']
|
@@ -1252,7 +1252,7 @@ class FunctionsManagementClient(object):
|
|
1252
1252
|
:rtype: :class:`~oci.response.Response`
|
1253
1253
|
|
1254
1254
|
:example:
|
1255
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1255
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/functions/list_functions.py.html>`__ to see an example of how to use list_functions API.
|
1256
1256
|
"""
|
1257
1257
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1258
1258
|
required_arguments = ['applicationId']
|
@@ -1422,7 +1422,7 @@ class FunctionsManagementClient(object):
|
|
1422
1422
|
:rtype: :class:`~oci.response.Response`
|
1423
1423
|
|
1424
1424
|
:example:
|
1425
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1425
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/functions/list_pbf_listing_versions.py.html>`__ to see an example of how to use list_pbf_listing_versions API.
|
1426
1426
|
"""
|
1427
1427
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1428
1428
|
required_arguments = ['pbfListingId']
|
@@ -1592,7 +1592,7 @@ class FunctionsManagementClient(object):
|
|
1592
1592
|
:rtype: :class:`~oci.response.Response`
|
1593
1593
|
|
1594
1594
|
:example:
|
1595
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1595
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/functions/list_pbf_listings.py.html>`__ to see an example of how to use list_pbf_listings API.
|
1596
1596
|
"""
|
1597
1597
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1598
1598
|
required_arguments = []
|
@@ -1742,7 +1742,7 @@ class FunctionsManagementClient(object):
|
|
1742
1742
|
:rtype: :class:`~oci.response.Response`
|
1743
1743
|
|
1744
1744
|
:example:
|
1745
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1745
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/functions/list_triggers.py.html>`__ to see an example of how to use list_triggers API.
|
1746
1746
|
"""
|
1747
1747
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1748
1748
|
required_arguments = []
|
@@ -1860,7 +1860,7 @@ class FunctionsManagementClient(object):
|
|
1860
1860
|
:rtype: :class:`~oci.response.Response`
|
1861
1861
|
|
1862
1862
|
:example:
|
1863
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1863
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/functions/update_application.py.html>`__ to see an example of how to use update_application API.
|
1864
1864
|
"""
|
1865
1865
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1866
1866
|
required_arguments = ['applicationId']
|
@@ -1973,7 +1973,7 @@ class FunctionsManagementClient(object):
|
|
1973
1973
|
:rtype: :class:`~oci.response.Response`
|
1974
1974
|
|
1975
1975
|
:example:
|
1976
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1976
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/functions/update_function.py.html>`__ to see an example of how to use update_function API.
|
1977
1977
|
"""
|
1978
1978
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1979
1979
|
required_arguments = ['functionId']
|