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
@@ -161,7 +161,7 @@ class ArtifactsClient(object):
|
|
161
161
|
:rtype: :class:`~oci.response.Response`
|
162
162
|
|
163
163
|
:example:
|
164
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
164
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/artifacts/change_container_repository_compartment.py.html>`__ to see an example of how to use change_container_repository_compartment API.
|
165
165
|
"""
|
166
166
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
167
167
|
required_arguments = ['repositoryId']
|
@@ -286,7 +286,7 @@ class ArtifactsClient(object):
|
|
286
286
|
:rtype: :class:`~oci.response.Response`
|
287
287
|
|
288
288
|
:example:
|
289
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
289
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/artifacts/change_repository_compartment.py.html>`__ to see an example of how to use change_repository_compartment API.
|
290
290
|
"""
|
291
291
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
292
292
|
required_arguments = ['repositoryId']
|
@@ -400,7 +400,7 @@ class ArtifactsClient(object):
|
|
400
400
|
:rtype: :class:`~oci.response.Response`
|
401
401
|
|
402
402
|
:example:
|
403
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
403
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/artifacts/create_container_image_signature.py.html>`__ to see an example of how to use create_container_image_signature API.
|
404
404
|
"""
|
405
405
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
406
406
|
required_arguments = []
|
@@ -499,7 +499,7 @@ class ArtifactsClient(object):
|
|
499
499
|
:rtype: :class:`~oci.response.Response`
|
500
500
|
|
501
501
|
:example:
|
502
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
502
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/artifacts/create_container_repository.py.html>`__ to see an example of how to use create_container_repository API.
|
503
503
|
"""
|
504
504
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
505
505
|
required_arguments = []
|
@@ -596,7 +596,7 @@ class ArtifactsClient(object):
|
|
596
596
|
:rtype: :class:`~oci.response.Response`
|
597
597
|
|
598
598
|
:example:
|
599
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
599
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/artifacts/create_repository.py.html>`__ to see an example of how to use create_repository API.
|
600
600
|
"""
|
601
601
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
602
602
|
required_arguments = []
|
@@ -695,7 +695,7 @@ class ArtifactsClient(object):
|
|
695
695
|
:rtype: :class:`~oci.response.Response`
|
696
696
|
|
697
697
|
:example:
|
698
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
698
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/artifacts/delete_container_image.py.html>`__ to see an example of how to use delete_container_image API.
|
699
699
|
"""
|
700
700
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
701
701
|
required_arguments = ['imageId']
|
@@ -801,7 +801,7 @@ class ArtifactsClient(object):
|
|
801
801
|
:rtype: :class:`~oci.response.Response`
|
802
802
|
|
803
803
|
:example:
|
804
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
804
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/artifacts/delete_container_image_signature.py.html>`__ to see an example of how to use delete_container_image_signature API.
|
805
805
|
"""
|
806
806
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
807
807
|
required_arguments = ['imageSignatureId']
|
@@ -907,7 +907,7 @@ class ArtifactsClient(object):
|
|
907
907
|
:rtype: :class:`~oci.response.Response`
|
908
908
|
|
909
909
|
:example:
|
910
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
910
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/artifacts/delete_container_repository.py.html>`__ to see an example of how to use delete_container_repository API.
|
911
911
|
"""
|
912
912
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
913
913
|
required_arguments = ['repositoryId']
|
@@ -1015,7 +1015,7 @@ class ArtifactsClient(object):
|
|
1015
1015
|
:rtype: :class:`~oci.response.Response`
|
1016
1016
|
|
1017
1017
|
:example:
|
1018
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1018
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/artifacts/delete_generic_artifact.py.html>`__ to see an example of how to use delete_generic_artifact API.
|
1019
1019
|
"""
|
1020
1020
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1021
1021
|
required_arguments = ['artifactId']
|
@@ -1131,7 +1131,7 @@ class ArtifactsClient(object):
|
|
1131
1131
|
:rtype: :class:`~oci.response.Response`
|
1132
1132
|
|
1133
1133
|
:example:
|
1134
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1134
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/artifacts/delete_generic_artifact_by_path.py.html>`__ to see an example of how to use delete_generic_artifact_by_path API.
|
1135
1135
|
"""
|
1136
1136
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1137
1137
|
required_arguments = ['repositoryId', 'artifactPath', 'version']
|
@@ -1239,7 +1239,7 @@ class ArtifactsClient(object):
|
|
1239
1239
|
:rtype: :class:`~oci.response.Response`
|
1240
1240
|
|
1241
1241
|
:example:
|
1242
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1242
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/artifacts/delete_repository.py.html>`__ to see an example of how to use delete_repository API.
|
1243
1243
|
"""
|
1244
1244
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1245
1245
|
required_arguments = ['repositoryId']
|
@@ -1338,7 +1338,7 @@ class ArtifactsClient(object):
|
|
1338
1338
|
:rtype: :class:`~oci.response.Response`
|
1339
1339
|
|
1340
1340
|
:example:
|
1341
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1341
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/artifacts/get_container_configuration.py.html>`__ to see an example of how to use get_container_configuration API.
|
1342
1342
|
"""
|
1343
1343
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1344
1344
|
required_arguments = ['compartmentId']
|
@@ -1434,7 +1434,7 @@ class ArtifactsClient(object):
|
|
1434
1434
|
:rtype: :class:`~oci.response.Response`
|
1435
1435
|
|
1436
1436
|
:example:
|
1437
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1437
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/artifacts/get_container_image.py.html>`__ to see an example of how to use get_container_image API.
|
1438
1438
|
"""
|
1439
1439
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1440
1440
|
required_arguments = ['imageId']
|
@@ -1535,7 +1535,7 @@ class ArtifactsClient(object):
|
|
1535
1535
|
:rtype: :class:`~oci.response.Response`
|
1536
1536
|
|
1537
1537
|
:example:
|
1538
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1538
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/artifacts/get_container_image_signature.py.html>`__ to see an example of how to use get_container_image_signature API.
|
1539
1539
|
"""
|
1540
1540
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1541
1541
|
required_arguments = ['imageSignatureId']
|
@@ -1636,7 +1636,7 @@ class ArtifactsClient(object):
|
|
1636
1636
|
:rtype: :class:`~oci.response.Response`
|
1637
1637
|
|
1638
1638
|
:example:
|
1639
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1639
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/artifacts/get_container_repository.py.html>`__ to see an example of how to use get_container_repository API.
|
1640
1640
|
"""
|
1641
1641
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1642
1642
|
required_arguments = ['repositoryId']
|
@@ -1739,7 +1739,7 @@ class ArtifactsClient(object):
|
|
1739
1739
|
:rtype: :class:`~oci.response.Response`
|
1740
1740
|
|
1741
1741
|
:example:
|
1742
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1742
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/artifacts/get_generic_artifact.py.html>`__ to see an example of how to use get_generic_artifact API.
|
1743
1743
|
"""
|
1744
1744
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1745
1745
|
required_arguments = ['artifactId']
|
@@ -1850,7 +1850,7 @@ class ArtifactsClient(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/artifacts/get_generic_artifact_by_path.py.html>`__ to see an example of how to use get_generic_artifact_by_path API.
|
1854
1854
|
"""
|
1855
1855
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1856
1856
|
required_arguments = ['repositoryId', 'artifactPath', 'version']
|
@@ -1953,7 +1953,7 @@ class ArtifactsClient(object):
|
|
1953
1953
|
:rtype: :class:`~oci.response.Response`
|
1954
1954
|
|
1955
1955
|
:example:
|
1956
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1956
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/artifacts/get_repository.py.html>`__ to see an example of how to use get_repository API.
|
1957
1957
|
"""
|
1958
1958
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1959
1959
|
required_arguments = ['repositoryId']
|
@@ -2131,7 +2131,7 @@ class ArtifactsClient(object):
|
|
2131
2131
|
:rtype: :class:`~oci.response.Response`
|
2132
2132
|
|
2133
2133
|
:example:
|
2134
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
2134
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/artifacts/list_container_image_signatures.py.html>`__ to see an example of how to use list_container_image_signatures API.
|
2135
2135
|
"""
|
2136
2136
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2137
2137
|
required_arguments = ['compartmentId']
|
@@ -2338,7 +2338,7 @@ class ArtifactsClient(object):
|
|
2338
2338
|
:rtype: :class:`~oci.response.Response`
|
2339
2339
|
|
2340
2340
|
:example:
|
2341
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
2341
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/artifacts/list_container_images.py.html>`__ to see an example of how to use list_container_images API.
|
2342
2342
|
"""
|
2343
2343
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2344
2344
|
required_arguments = ['compartmentId']
|
@@ -2523,7 +2523,7 @@ class ArtifactsClient(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/artifacts/list_container_repositories.py.html>`__ to see an example of how to use list_container_repositories API.
|
2527
2527
|
"""
|
2528
2528
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2529
2529
|
required_arguments = ['compartmentId']
|
@@ -2704,7 +2704,7 @@ class ArtifactsClient(object):
|
|
2704
2704
|
:rtype: :class:`~oci.response.Response`
|
2705
2705
|
|
2706
2706
|
:example:
|
2707
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
2707
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/artifacts/list_generic_artifacts.py.html>`__ to see an example of how to use list_generic_artifacts API.
|
2708
2708
|
"""
|
2709
2709
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2710
2710
|
required_arguments = ['compartmentId', 'repositoryId']
|
@@ -2879,7 +2879,7 @@ class ArtifactsClient(object):
|
|
2879
2879
|
:rtype: :class:`~oci.response.Response`
|
2880
2880
|
|
2881
2881
|
:example:
|
2882
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
2882
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/artifacts/list_repositories.py.html>`__ to see an example of how to use list_repositories API.
|
2883
2883
|
"""
|
2884
2884
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2885
2885
|
required_arguments = ['compartmentId']
|
@@ -3020,7 +3020,7 @@ class ArtifactsClient(object):
|
|
3020
3020
|
:rtype: :class:`~oci.response.Response`
|
3021
3021
|
|
3022
3022
|
:example:
|
3023
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
3023
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/artifacts/remove_container_version.py.html>`__ to see an example of how to use remove_container_version API.
|
3024
3024
|
"""
|
3025
3025
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
3026
3026
|
required_arguments = ['imageId']
|
@@ -3143,7 +3143,7 @@ class ArtifactsClient(object):
|
|
3143
3143
|
:rtype: :class:`~oci.response.Response`
|
3144
3144
|
|
3145
3145
|
:example:
|
3146
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
3146
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/artifacts/restore_container_image.py.html>`__ to see an example of how to use restore_container_image API.
|
3147
3147
|
"""
|
3148
3148
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
3149
3149
|
required_arguments = ['imageId']
|
@@ -3257,7 +3257,7 @@ class ArtifactsClient(object):
|
|
3257
3257
|
:rtype: :class:`~oci.response.Response`
|
3258
3258
|
|
3259
3259
|
:example:
|
3260
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
3260
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/artifacts/update_container_configuration.py.html>`__ to see an example of how to use update_container_configuration API.
|
3261
3261
|
"""
|
3262
3262
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
3263
3263
|
required_arguments = ['compartmentId']
|
@@ -3365,7 +3365,7 @@ class ArtifactsClient(object):
|
|
3365
3365
|
:rtype: :class:`~oci.response.Response`
|
3366
3366
|
|
3367
3367
|
:example:
|
3368
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
3368
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/artifacts/update_container_repository.py.html>`__ to see an example of how to use update_container_repository API.
|
3369
3369
|
"""
|
3370
3370
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
3371
3371
|
required_arguments = ['repositoryId']
|
@@ -3482,7 +3482,7 @@ class ArtifactsClient(object):
|
|
3482
3482
|
:rtype: :class:`~oci.response.Response`
|
3483
3483
|
|
3484
3484
|
:example:
|
3485
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
3485
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/artifacts/update_generic_artifact.py.html>`__ to see an example of how to use update_generic_artifact API.
|
3486
3486
|
"""
|
3487
3487
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
3488
3488
|
required_arguments = ['artifactId']
|
@@ -3605,7 +3605,7 @@ class ArtifactsClient(object):
|
|
3605
3605
|
:rtype: :class:`~oci.response.Response`
|
3606
3606
|
|
3607
3607
|
:example:
|
3608
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
3608
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/artifacts/update_generic_artifact_by_path.py.html>`__ to see an example of how to use update_generic_artifact_by_path API.
|
3609
3609
|
"""
|
3610
3610
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
3611
3611
|
required_arguments = ['repositoryId', 'artifactPath', 'version']
|
@@ -3720,7 +3720,7 @@ class ArtifactsClient(object):
|
|
3720
3720
|
:rtype: :class:`~oci.response.Response`
|
3721
3721
|
|
3722
3722
|
:example:
|
3723
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
3723
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/artifacts/update_repository.py.html>`__ to see an example of how to use update_repository API.
|
3724
3724
|
"""
|
3725
3725
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
3726
3726
|
required_arguments = ['repositoryId']
|
@@ -147,11 +147,19 @@ class ArtifactsClientCompositeOperations(object):
|
|
147
147
|
lowered_wait_for_states = [w.lower() for w in wait_for_states]
|
148
148
|
|
149
149
|
try:
|
150
|
+
if ("succeed_on_not_found" in waiter_kwargs) and (waiter_kwargs["succeed_on_not_found"] is False):
|
151
|
+
self.client.base_client.logger.warning("The waiter kwarg succeed_on_not_found was passed as False for the delete composite operation delete_container_image, 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")
|
152
|
+
else:
|
153
|
+
"""
|
154
|
+
If the user does not send in this value, we set it to True by default.
|
155
|
+
We are doing this because during a delete resource scenario and waiting on its state, the service can
|
156
|
+
return a 404 NOT FOUND exception as the resource was deleted and a get on its state would fail
|
157
|
+
"""
|
158
|
+
waiter_kwargs["succeed_on_not_found"] = True
|
150
159
|
waiter_result = oci.wait_until(
|
151
160
|
self.client,
|
152
161
|
initial_get_result, # noqa: F821
|
153
162
|
evaluate_response=lambda r: getattr(r.data, 'lifecycle_state') and getattr(r.data, 'lifecycle_state').lower() in lowered_wait_for_states,
|
154
|
-
succeed_on_not_found=True,
|
155
163
|
**waiter_kwargs
|
156
164
|
)
|
157
165
|
result_to_return = waiter_result
|
@@ -203,11 +211,19 @@ class ArtifactsClientCompositeOperations(object):
|
|
203
211
|
lowered_wait_for_states = [w.lower() for w in wait_for_states]
|
204
212
|
|
205
213
|
try:
|
214
|
+
if ("succeed_on_not_found" in waiter_kwargs) and (waiter_kwargs["succeed_on_not_found"] is False):
|
215
|
+
self.client.base_client.logger.warning("The waiter kwarg succeed_on_not_found was passed as False for the delete composite operation delete_container_repository, 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")
|
216
|
+
else:
|
217
|
+
"""
|
218
|
+
If the user does not send in this value, we set it to True by default.
|
219
|
+
We are doing this because during a delete resource scenario and waiting on its state, the service can
|
220
|
+
return a 404 NOT FOUND exception as the resource was deleted and a get on its state would fail
|
221
|
+
"""
|
222
|
+
waiter_kwargs["succeed_on_not_found"] = True
|
206
223
|
waiter_result = oci.wait_until(
|
207
224
|
self.client,
|
208
225
|
initial_get_result, # noqa: F821
|
209
226
|
evaluate_response=lambda r: getattr(r.data, 'lifecycle_state') and getattr(r.data, 'lifecycle_state').lower() in lowered_wait_for_states,
|
210
|
-
succeed_on_not_found=True,
|
211
227
|
**waiter_kwargs
|
212
228
|
)
|
213
229
|
result_to_return = waiter_result
|
@@ -259,11 +275,19 @@ class ArtifactsClientCompositeOperations(object):
|
|
259
275
|
lowered_wait_for_states = [w.lower() for w in wait_for_states]
|
260
276
|
|
261
277
|
try:
|
278
|
+
if ("succeed_on_not_found" in waiter_kwargs) and (waiter_kwargs["succeed_on_not_found"] is False):
|
279
|
+
self.client.base_client.logger.warning("The waiter kwarg succeed_on_not_found was passed as False for the delete composite operation delete_generic_artifact, 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")
|
280
|
+
else:
|
281
|
+
"""
|
282
|
+
If the user does not send in this value, we set it to True by default.
|
283
|
+
We are doing this because during a delete resource scenario and waiting on its state, the service can
|
284
|
+
return a 404 NOT FOUND exception as the resource was deleted and a get on its state would fail
|
285
|
+
"""
|
286
|
+
waiter_kwargs["succeed_on_not_found"] = True
|
262
287
|
waiter_result = oci.wait_until(
|
263
288
|
self.client,
|
264
289
|
initial_get_result, # noqa: F821
|
265
290
|
evaluate_response=lambda r: getattr(r.data, 'lifecycle_state') and getattr(r.data, 'lifecycle_state').lower() in lowered_wait_for_states,
|
266
|
-
succeed_on_not_found=True,
|
267
291
|
**waiter_kwargs
|
268
292
|
)
|
269
293
|
result_to_return = waiter_result
|
@@ -315,11 +339,19 @@ class ArtifactsClientCompositeOperations(object):
|
|
315
339
|
lowered_wait_for_states = [w.lower() for w in wait_for_states]
|
316
340
|
|
317
341
|
try:
|
342
|
+
if ("succeed_on_not_found" in waiter_kwargs) and (waiter_kwargs["succeed_on_not_found"] is False):
|
343
|
+
self.client.base_client.logger.warning("The waiter kwarg succeed_on_not_found was passed as False for the delete composite operation delete_repository, 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")
|
344
|
+
else:
|
345
|
+
"""
|
346
|
+
If the user does not send in this value, we set it to True by default.
|
347
|
+
We are doing this because during a delete resource scenario and waiting on its state, the service can
|
348
|
+
return a 404 NOT FOUND exception as the resource was deleted and a get on its state would fail
|
349
|
+
"""
|
350
|
+
waiter_kwargs["succeed_on_not_found"] = True
|
318
351
|
waiter_result = oci.wait_until(
|
319
352
|
self.client,
|
320
353
|
initial_get_result, # noqa: F821
|
321
354
|
evaluate_response=lambda r: getattr(r.data, 'lifecycle_state') and getattr(r.data, 'lifecycle_state').lower() in lowered_wait_for_states,
|
322
|
-
succeed_on_not_found=True,
|
323
355
|
**waiter_kwargs
|
324
356
|
)
|
325
357
|
result_to_return = waiter_result
|
oci/audit/audit_client.py
CHANGED
@@ -136,7 +136,7 @@ class AuditClient(object):
|
|
136
136
|
:rtype: :class:`~oci.response.Response`
|
137
137
|
|
138
138
|
:example:
|
139
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
139
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/audit/get_configuration.py.html>`__ to see an example of how to use get_configuration API.
|
140
140
|
"""
|
141
141
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
142
142
|
required_arguments = ['compartmentId']
|
@@ -253,7 +253,7 @@ class AuditClient(object):
|
|
253
253
|
:rtype: :class:`~oci.response.Response`
|
254
254
|
|
255
255
|
:example:
|
256
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
256
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/audit/list_events.py.html>`__ to see an example of how to use list_events API.
|
257
257
|
"""
|
258
258
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
259
259
|
required_arguments = ['compartmentId', 'startTime', 'endTime']
|
@@ -348,7 +348,7 @@ class AuditClient(object):
|
|
348
348
|
:rtype: :class:`~oci.response.Response`
|
349
349
|
|
350
350
|
:example:
|
351
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
351
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/audit/update_configuration.py.html>`__ to see an example of how to use update_configuration API.
|
352
352
|
"""
|
353
353
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
354
354
|
required_arguments = ['compartmentId']
|
@@ -76,11 +76,17 @@ class InstancePrincipalsSecurityTokenSigner(X509FederationClientBasedSecurityTok
|
|
76
76
|
else:
|
77
77
|
self.logger.disabled = True
|
78
78
|
|
79
|
+
# If user sends in custom retry strategy use that, else use INSTANCE_METADATA_URL_CERTIFICATE_RETRIEVER_RETRY_STRATEGY
|
80
|
+
if kwargs.get('retry_strategy'):
|
81
|
+
self.retry_strategy = kwargs['retry_strategy']
|
82
|
+
else:
|
83
|
+
self.retry_strategy = INSTANCE_METADATA_URL_CERTIFICATE_RETRIEVER_RETRY_STRATEGY
|
84
|
+
|
79
85
|
try:
|
80
86
|
self.leaf_certificate_retriever = UrlBasedCertificateRetriever(
|
81
87
|
certificate_url=self.LEAF_CERTIFICATE_URL,
|
82
88
|
private_key_url=self.LEAF_CERTIFICATE_PRIVATE_KEY_URL,
|
83
|
-
retry_strategy=
|
89
|
+
retry_strategy=self.retry_strategy,
|
84
90
|
headers=self.METADATA_AUTH_HEADERS,
|
85
91
|
log_requests=kwargs.get('log_requests'))
|
86
92
|
except (HTTPError, ConnectTimeout) as e:
|
@@ -93,7 +99,7 @@ class InstancePrincipalsSecurityTokenSigner(X509FederationClientBasedSecurityTok
|
|
93
99
|
self.leaf_certificate_retriever = UrlBasedCertificateRetriever(
|
94
100
|
certificate_url=self.LEAF_CERTIFICATE_URL,
|
95
101
|
private_key_url=self.LEAF_CERTIFICATE_PRIVATE_KEY_URL,
|
96
|
-
retry_strategy=
|
102
|
+
retry_strategy=self.retry_strategy,
|
97
103
|
headers=self.METADATA_AUTH_HEADERS)
|
98
104
|
else:
|
99
105
|
if not e.args:
|
@@ -103,7 +109,7 @@ class InstancePrincipalsSecurityTokenSigner(X509FederationClientBasedSecurityTok
|
|
103
109
|
|
104
110
|
self.intermediate_certificate_retriever = UrlBasedCertificateRetriever(
|
105
111
|
certificate_url=self.INTERMEDIATE_CERTIFICATE_URL,
|
106
|
-
retry_strategy=
|
112
|
+
retry_strategy=self.retry_strategy,
|
107
113
|
headers=self.METADATA_AUTH_HEADERS)
|
108
114
|
self.session_key_supplier = SessionKeySupplier()
|
109
115
|
self.tenancy_id = auth_utils.get_tenancy_id_from_certificate(self.leaf_certificate_retriever.get_certificate_as_certificate())
|
@@ -164,7 +164,7 @@ class AutoScalingClient(object):
|
|
164
164
|
:rtype: :class:`~oci.response.Response`
|
165
165
|
|
166
166
|
:example:
|
167
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
167
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/autoscaling/change_auto_scaling_configuration_compartment.py.html>`__ to see an example of how to use change_auto_scaling_configuration_compartment API.
|
168
168
|
"""
|
169
169
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
170
170
|
required_arguments = ['autoScalingConfigurationId']
|
@@ -271,7 +271,7 @@ class AutoScalingClient(object):
|
|
271
271
|
:rtype: :class:`~oci.response.Response`
|
272
272
|
|
273
273
|
:example:
|
274
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
274
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/autoscaling/create_auto_scaling_configuration.py.html>`__ to see an example of how to use create_auto_scaling_configuration API.
|
275
275
|
"""
|
276
276
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
277
277
|
required_arguments = []
|
@@ -379,7 +379,7 @@ class AutoScalingClient(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/autoscaling/create_auto_scaling_policy.py.html>`__ to see an example of how to use create_auto_scaling_policy API.
|
383
383
|
"""
|
384
384
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
385
385
|
required_arguments = ['autoScalingConfigurationId']
|
@@ -486,7 +486,7 @@ class AutoScalingClient(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/autoscaling/delete_auto_scaling_configuration.py.html>`__ to see an example of how to use delete_auto_scaling_configuration API.
|
490
490
|
"""
|
491
491
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
492
492
|
required_arguments = ['autoScalingConfigurationId']
|
@@ -591,7 +591,7 @@ class AutoScalingClient(object):
|
|
591
591
|
:rtype: :class:`~oci.response.Response`
|
592
592
|
|
593
593
|
:example:
|
594
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
594
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/autoscaling/delete_auto_scaling_policy.py.html>`__ to see an example of how to use delete_auto_scaling_policy API.
|
595
595
|
"""
|
596
596
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
597
597
|
required_arguments = ['autoScalingConfigurationId', 'autoScalingPolicyId']
|
@@ -689,7 +689,7 @@ class AutoScalingClient(object):
|
|
689
689
|
:rtype: :class:`~oci.response.Response`
|
690
690
|
|
691
691
|
:example:
|
692
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
692
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/autoscaling/get_auto_scaling_configuration.py.html>`__ to see an example of how to use get_auto_scaling_configuration API.
|
693
693
|
"""
|
694
694
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
695
695
|
required_arguments = ['autoScalingConfigurationId']
|
@@ -789,7 +789,7 @@ class AutoScalingClient(object):
|
|
789
789
|
:rtype: :class:`~oci.response.Response`
|
790
790
|
|
791
791
|
:example:
|
792
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
792
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/autoscaling/get_auto_scaling_policy.py.html>`__ to see an example of how to use get_auto_scaling_policy API.
|
793
793
|
"""
|
794
794
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
795
795
|
required_arguments = ['autoScalingConfigurationId', 'autoScalingPolicyId']
|
@@ -917,7 +917,7 @@ class AutoScalingClient(object):
|
|
917
917
|
:rtype: :class:`~oci.response.Response`
|
918
918
|
|
919
919
|
:example:
|
920
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
920
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/autoscaling/list_auto_scaling_configurations.py.html>`__ to see an example of how to use list_auto_scaling_configurations API.
|
921
921
|
"""
|
922
922
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
923
923
|
required_arguments = ['compartmentId']
|
@@ -1061,7 +1061,7 @@ class AutoScalingClient(object):
|
|
1061
1061
|
:rtype: :class:`~oci.response.Response`
|
1062
1062
|
|
1063
1063
|
:example:
|
1064
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1064
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/autoscaling/list_auto_scaling_policies.py.html>`__ to see an example of how to use list_auto_scaling_policies API.
|
1065
1065
|
"""
|
1066
1066
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1067
1067
|
required_arguments = ['autoScalingConfigurationId']
|
@@ -1204,7 +1204,7 @@ class AutoScalingClient(object):
|
|
1204
1204
|
:rtype: :class:`~oci.response.Response`
|
1205
1205
|
|
1206
1206
|
:example:
|
1207
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1207
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/autoscaling/update_auto_scaling_configuration.py.html>`__ to see an example of how to use update_auto_scaling_configuration API.
|
1208
1208
|
"""
|
1209
1209
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1210
1210
|
required_arguments = ['autoScalingConfigurationId']
|
@@ -1326,7 +1326,7 @@ class AutoScalingClient(object):
|
|
1326
1326
|
:rtype: :class:`~oci.response.Response`
|
1327
1327
|
|
1328
1328
|
:example:
|
1329
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1329
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/autoscaling/update_auto_scaling_policy.py.html>`__ to see an example of how to use update_auto_scaling_policy API.
|
1330
1330
|
"""
|
1331
1331
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1332
1332
|
required_arguments = ['autoScalingConfigurationId', 'autoScalingPolicyId']
|