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
@@ -153,7 +153,7 @@ class StackMonitoringClient(object):
|
|
153
153
|
:rtype: :class:`~oci.response.Response`
|
154
154
|
|
155
155
|
:example:
|
156
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
156
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/stackmonitoring/associate_monitored_resources.py.html>`__ to see an example of how to use associate_monitored_resources API.
|
157
157
|
"""
|
158
158
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
159
159
|
required_arguments = []
|
@@ -265,7 +265,7 @@ class StackMonitoringClient(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/stackmonitoring/change_monitored_resource_compartment.py.html>`__ to see an example of how to use change_monitored_resource_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 = ['monitoredResourceId']
|
@@ -374,7 +374,7 @@ class StackMonitoringClient(object):
|
|
374
374
|
:rtype: :class:`~oci.response.Response`
|
375
375
|
|
376
376
|
:example:
|
377
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
377
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/stackmonitoring/create_discovery_job.py.html>`__ to see an example of how to use create_discovery_job API.
|
378
378
|
"""
|
379
379
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
380
380
|
required_arguments = []
|
@@ -479,7 +479,7 @@ class StackMonitoringClient(object):
|
|
479
479
|
:rtype: :class:`~oci.response.Response`
|
480
480
|
|
481
481
|
:example:
|
482
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
482
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/stackmonitoring/create_monitored_resource.py.html>`__ to see an example of how to use create_monitored_resource API.
|
483
483
|
"""
|
484
484
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
485
485
|
required_arguments = []
|
@@ -578,7 +578,7 @@ class StackMonitoringClient(object):
|
|
578
578
|
:rtype: :class:`~oci.response.Response`
|
579
579
|
|
580
580
|
:example:
|
581
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
581
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/stackmonitoring/delete_discovery_job.py.html>`__ to see an example of how to use delete_discovery_job API.
|
582
582
|
"""
|
583
583
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
584
584
|
required_arguments = ['discoveryJobId']
|
@@ -695,7 +695,7 @@ class StackMonitoringClient(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/stackmonitoring/delete_monitored_resource.py.html>`__ to see an example of how to use delete_monitored_resource API.
|
699
699
|
"""
|
700
700
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
701
701
|
required_arguments = ['monitoredResourceId']
|
@@ -817,7 +817,7 @@ class StackMonitoringClient(object):
|
|
817
817
|
:rtype: :class:`~oci.response.Response`
|
818
818
|
|
819
819
|
:example:
|
820
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
820
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/stackmonitoring/disable_external_database.py.html>`__ to see an example of how to use disable_external_database API.
|
821
821
|
"""
|
822
822
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
823
823
|
required_arguments = ['monitoredResourceId']
|
@@ -931,7 +931,7 @@ class StackMonitoringClient(object):
|
|
931
931
|
:rtype: :class:`~oci.response.Response`
|
932
932
|
|
933
933
|
:example:
|
934
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
934
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/stackmonitoring/disassociate_monitored_resources.py.html>`__ to see an example of how to use disassociate_monitored_resources API.
|
935
935
|
"""
|
936
936
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
937
937
|
required_arguments = []
|
@@ -1021,7 +1021,7 @@ class StackMonitoringClient(object):
|
|
1021
1021
|
:rtype: :class:`~oci.response.Response`
|
1022
1022
|
|
1023
1023
|
:example:
|
1024
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1024
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/stackmonitoring/get_discovery_job.py.html>`__ to see an example of how to use get_discovery_job API.
|
1025
1025
|
"""
|
1026
1026
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1027
1027
|
required_arguments = ['discoveryJobId']
|
@@ -1124,7 +1124,7 @@ class StackMonitoringClient(object):
|
|
1124
1124
|
:rtype: :class:`~oci.response.Response`
|
1125
1125
|
|
1126
1126
|
:example:
|
1127
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1127
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/stackmonitoring/get_monitored_resource.py.html>`__ to see an example of how to use get_monitored_resource API.
|
1128
1128
|
"""
|
1129
1129
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1130
1130
|
required_arguments = ['monitoredResourceId']
|
@@ -1225,7 +1225,7 @@ class StackMonitoringClient(object):
|
|
1225
1225
|
:rtype: :class:`~oci.response.Response`
|
1226
1226
|
|
1227
1227
|
:example:
|
1228
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1228
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/stackmonitoring/get_work_request.py.html>`__ to see an example of how to use get_work_request API.
|
1229
1229
|
"""
|
1230
1230
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1231
1231
|
required_arguments = ['workRequestId']
|
@@ -1353,7 +1353,7 @@ class StackMonitoringClient(object):
|
|
1353
1353
|
:rtype: :class:`~oci.response.Response`
|
1354
1354
|
|
1355
1355
|
:example:
|
1356
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1356
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/stackmonitoring/list_discovery_job_logs.py.html>`__ to see an example of how to use list_discovery_job_logs API.
|
1357
1357
|
"""
|
1358
1358
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1359
1359
|
required_arguments = ['discoveryJobId']
|
@@ -1516,7 +1516,7 @@ class StackMonitoringClient(object):
|
|
1516
1516
|
:rtype: :class:`~oci.response.Response`
|
1517
1517
|
|
1518
1518
|
:example:
|
1519
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1519
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/stackmonitoring/list_discovery_jobs.py.html>`__ to see an example of how to use list_discovery_jobs API.
|
1520
1520
|
"""
|
1521
1521
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1522
1522
|
required_arguments = ['compartmentId']
|
@@ -1660,7 +1660,7 @@ class StackMonitoringClient(object):
|
|
1660
1660
|
:rtype: :class:`~oci.response.Response`
|
1661
1661
|
|
1662
1662
|
:example:
|
1663
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1663
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/stackmonitoring/list_work_request_errors.py.html>`__ to see an example of how to use list_work_request_errors API.
|
1664
1664
|
"""
|
1665
1665
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1666
1666
|
required_arguments = ['workRequestId']
|
@@ -1813,7 +1813,7 @@ class StackMonitoringClient(object):
|
|
1813
1813
|
:rtype: :class:`~oci.response.Response`
|
1814
1814
|
|
1815
1815
|
:example:
|
1816
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1816
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/stackmonitoring/list_work_request_logs.py.html>`__ to see an example of how to use list_work_request_logs API.
|
1817
1817
|
"""
|
1818
1818
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1819
1819
|
required_arguments = ['workRequestId']
|
@@ -1975,7 +1975,7 @@ class StackMonitoringClient(object):
|
|
1975
1975
|
:rtype: :class:`~oci.response.Response`
|
1976
1976
|
|
1977
1977
|
:example:
|
1978
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1978
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/stackmonitoring/list_work_requests.py.html>`__ to see an example of how to use list_work_requests API.
|
1979
1979
|
"""
|
1980
1980
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1981
1981
|
required_arguments = ['compartmentId']
|
@@ -2157,7 +2157,7 @@ class StackMonitoringClient(object):
|
|
2157
2157
|
:rtype: :class:`~oci.response.Response`
|
2158
2158
|
|
2159
2159
|
:example:
|
2160
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
2160
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/stackmonitoring/search_associated_resources.py.html>`__ to see an example of how to use search_associated_resources API.
|
2161
2161
|
"""
|
2162
2162
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2163
2163
|
required_arguments = []
|
@@ -2293,7 +2293,7 @@ class StackMonitoringClient(object):
|
|
2293
2293
|
:rtype: :class:`~oci.response.Response`
|
2294
2294
|
|
2295
2295
|
:example:
|
2296
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
2296
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/stackmonitoring/search_monitored_resource_associations.py.html>`__ to see an example of how to use search_monitored_resource_associations API.
|
2297
2297
|
"""
|
2298
2298
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2299
2299
|
required_arguments = []
|
@@ -2442,7 +2442,7 @@ class StackMonitoringClient(object):
|
|
2442
2442
|
:rtype: :class:`~oci.response.Response`
|
2443
2443
|
|
2444
2444
|
:example:
|
2445
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
2445
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/stackmonitoring/search_monitored_resource_members.py.html>`__ to see an example of how to use search_monitored_resource_members API.
|
2446
2446
|
"""
|
2447
2447
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2448
2448
|
required_arguments = ['monitoredResourceId']
|
@@ -2628,7 +2628,7 @@ class StackMonitoringClient(object):
|
|
2628
2628
|
:rtype: :class:`~oci.response.Response`
|
2629
2629
|
|
2630
2630
|
:example:
|
2631
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
2631
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/stackmonitoring/search_monitored_resources.py.html>`__ to see an example of how to use search_monitored_resources API.
|
2632
2632
|
"""
|
2633
2633
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2634
2634
|
required_arguments = []
|
@@ -2760,7 +2760,7 @@ class StackMonitoringClient(object):
|
|
2760
2760
|
:rtype: :class:`~oci.response.Response`
|
2761
2761
|
|
2762
2762
|
:example:
|
2763
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
2763
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/stackmonitoring/update_and_propagate_tags.py.html>`__ to see an example of how to use update_and_propagate_tags API.
|
2764
2764
|
"""
|
2765
2765
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2766
2766
|
required_arguments = ['monitoredResourceId']
|
@@ -2880,7 +2880,7 @@ class StackMonitoringClient(object):
|
|
2880
2880
|
:rtype: :class:`~oci.response.Response`
|
2881
2881
|
|
2882
2882
|
:example:
|
2883
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
2883
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/stackmonitoring/update_monitored_resource.py.html>`__ to see an example of how to use update_monitored_resource API.
|
2884
2884
|
"""
|
2885
2885
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2886
2886
|
required_arguments = ['monitoredResourceId']
|
@@ -181,11 +181,19 @@ class StackMonitoringClientCompositeOperations(object):
|
|
181
181
|
lowered_wait_for_states = [w.lower() for w in wait_for_states]
|
182
182
|
|
183
183
|
try:
|
184
|
+
if ("succeed_on_not_found" in waiter_kwargs) and (waiter_kwargs["succeed_on_not_found"] is False):
|
185
|
+
self.client.base_client.logger.warning("The waiter kwarg succeed_on_not_found was passed as False for the delete composite operation delete_discovery_job, this would result in the operation to fail if the resource is not found! Please, do not pass this kwarg if this was not intended")
|
186
|
+
else:
|
187
|
+
"""
|
188
|
+
If the user does not send in this value, we set it to True by default.
|
189
|
+
We are doing this because during a delete resource scenario and waiting on its state, the service can
|
190
|
+
return a 404 NOT FOUND exception as the resource was deleted and a get on its state would fail
|
191
|
+
"""
|
192
|
+
waiter_kwargs["succeed_on_not_found"] = True
|
184
193
|
waiter_result = oci.wait_until(
|
185
194
|
self.client,
|
186
195
|
initial_get_result, # noqa: F821
|
187
196
|
evaluate_response=lambda r: getattr(r.data, 'lifecycle_state') and getattr(r.data, 'lifecycle_state').lower() in lowered_wait_for_states,
|
188
|
-
succeed_on_not_found=True,
|
189
197
|
**waiter_kwargs
|
190
198
|
)
|
191
199
|
result_to_return = waiter_result
|
@@ -143,7 +143,7 @@ class StreamAdminClient(object):
|
|
143
143
|
:rtype: :class:`~oci.response.Response`
|
144
144
|
|
145
145
|
:example:
|
146
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
146
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/streaming/change_connect_harness_compartment.py.html>`__ to see an example of how to use change_connect_harness_compartment API.
|
147
147
|
"""
|
148
148
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
149
149
|
required_arguments = ['connectHarnessId']
|
@@ -252,7 +252,7 @@ class StreamAdminClient(object):
|
|
252
252
|
:rtype: :class:`~oci.response.Response`
|
253
253
|
|
254
254
|
:example:
|
255
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
255
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/streaming/change_stream_compartment.py.html>`__ to see an example of how to use change_stream_compartment API.
|
256
256
|
"""
|
257
257
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
258
258
|
required_arguments = ['streamId']
|
@@ -359,7 +359,7 @@ class StreamAdminClient(object):
|
|
359
359
|
:rtype: :class:`~oci.response.Response`
|
360
360
|
|
361
361
|
:example:
|
362
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
362
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/streaming/change_stream_pool_compartment.py.html>`__ to see an example of how to use change_stream_pool_compartment API.
|
363
363
|
"""
|
364
364
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
365
365
|
required_arguments = ['streamPoolId']
|
@@ -464,7 +464,7 @@ class StreamAdminClient(object):
|
|
464
464
|
:rtype: :class:`~oci.response.Response`
|
465
465
|
|
466
466
|
:example:
|
467
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
467
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/streaming/create_connect_harness.py.html>`__ to see an example of how to use create_connect_harness API.
|
468
468
|
"""
|
469
469
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
470
470
|
required_arguments = []
|
@@ -560,7 +560,7 @@ class StreamAdminClient(object):
|
|
560
560
|
:rtype: :class:`~oci.response.Response`
|
561
561
|
|
562
562
|
:example:
|
563
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
563
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/streaming/create_stream.py.html>`__ to see an example of how to use create_stream API.
|
564
564
|
"""
|
565
565
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
566
566
|
required_arguments = []
|
@@ -654,7 +654,7 @@ class StreamAdminClient(object):
|
|
654
654
|
:rtype: :class:`~oci.response.Response`
|
655
655
|
|
656
656
|
:example:
|
657
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
657
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/streaming/create_stream_pool.py.html>`__ to see an example of how to use create_stream_pool API.
|
658
658
|
"""
|
659
659
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
660
660
|
required_arguments = []
|
@@ -753,7 +753,7 @@ class StreamAdminClient(object):
|
|
753
753
|
:rtype: :class:`~oci.response.Response`
|
754
754
|
|
755
755
|
:example:
|
756
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
756
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/streaming/delete_connect_harness.py.html>`__ to see an example of how to use delete_connect_harness API.
|
757
757
|
"""
|
758
758
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
759
759
|
required_arguments = ['connectHarnessId']
|
@@ -859,7 +859,7 @@ class StreamAdminClient(object):
|
|
859
859
|
:rtype: :class:`~oci.response.Response`
|
860
860
|
|
861
861
|
:example:
|
862
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
862
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/streaming/delete_stream.py.html>`__ to see an example of how to use delete_stream API.
|
863
863
|
"""
|
864
864
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
865
865
|
required_arguments = ['streamId']
|
@@ -962,7 +962,7 @@ class StreamAdminClient(object):
|
|
962
962
|
:rtype: :class:`~oci.response.Response`
|
963
963
|
|
964
964
|
:example:
|
965
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
965
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/streaming/delete_stream_pool.py.html>`__ to see an example of how to use delete_stream_pool API.
|
966
966
|
"""
|
967
967
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
968
968
|
required_arguments = ['streamPoolId']
|
@@ -1061,7 +1061,7 @@ class StreamAdminClient(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/streaming/get_connect_harness.py.html>`__ to see an example of how to use get_connect_harness API.
|
1065
1065
|
"""
|
1066
1066
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1067
1067
|
required_arguments = ['connectHarnessId']
|
@@ -1160,7 +1160,7 @@ class StreamAdminClient(object):
|
|
1160
1160
|
:rtype: :class:`~oci.response.Response`
|
1161
1161
|
|
1162
1162
|
:example:
|
1163
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1163
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/streaming/get_stream.py.html>`__ to see an example of how to use get_stream API.
|
1164
1164
|
"""
|
1165
1165
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1166
1166
|
required_arguments = ['streamId']
|
@@ -1259,7 +1259,7 @@ class StreamAdminClient(object):
|
|
1259
1259
|
:rtype: :class:`~oci.response.Response`
|
1260
1260
|
|
1261
1261
|
:example:
|
1262
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1262
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/streaming/get_stream_pool.py.html>`__ to see an example of how to use get_stream_pool API.
|
1263
1263
|
"""
|
1264
1264
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1265
1265
|
required_arguments = ['streamPoolId']
|
@@ -1385,7 +1385,7 @@ class StreamAdminClient(object):
|
|
1385
1385
|
:rtype: :class:`~oci.response.Response`
|
1386
1386
|
|
1387
1387
|
:example:
|
1388
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1388
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/streaming/list_connect_harnesses.py.html>`__ to see an example of how to use list_connect_harnesses API.
|
1389
1389
|
"""
|
1390
1390
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1391
1391
|
required_arguments = ['compartmentId']
|
@@ -1541,7 +1541,7 @@ class StreamAdminClient(object):
|
|
1541
1541
|
:rtype: :class:`~oci.response.Response`
|
1542
1542
|
|
1543
1543
|
:example:
|
1544
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1544
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/streaming/list_stream_pools.py.html>`__ to see an example of how to use list_stream_pools API.
|
1545
1545
|
"""
|
1546
1546
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1547
1547
|
required_arguments = ['compartmentId']
|
@@ -1703,7 +1703,7 @@ class StreamAdminClient(object):
|
|
1703
1703
|
:rtype: :class:`~oci.response.Response`
|
1704
1704
|
|
1705
1705
|
:example:
|
1706
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1706
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/streaming/list_streams.py.html>`__ to see an example of how to use list_streams API.
|
1707
1707
|
"""
|
1708
1708
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1709
1709
|
required_arguments = []
|
@@ -1841,7 +1841,7 @@ class StreamAdminClient(object):
|
|
1841
1841
|
:rtype: :class:`~oci.response.Response`
|
1842
1842
|
|
1843
1843
|
:example:
|
1844
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1844
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/streaming/update_connect_harness.py.html>`__ to see an example of how to use update_connect_harness API.
|
1845
1845
|
"""
|
1846
1846
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1847
1847
|
required_arguments = ['connectHarnessId']
|
@@ -1950,7 +1950,7 @@ class StreamAdminClient(object):
|
|
1950
1950
|
:rtype: :class:`~oci.response.Response`
|
1951
1951
|
|
1952
1952
|
:example:
|
1953
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1953
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/streaming/update_stream.py.html>`__ to see an example of how to use update_stream API.
|
1954
1954
|
"""
|
1955
1955
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1956
1956
|
required_arguments = ['streamId']
|
@@ -2059,7 +2059,7 @@ class StreamAdminClient(object):
|
|
2059
2059
|
:rtype: :class:`~oci.response.Response`
|
2060
2060
|
|
2061
2061
|
:example:
|
2062
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
2062
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/streaming/update_stream_pool.py.html>`__ to see an example of how to use update_stream_pool API.
|
2063
2063
|
"""
|
2064
2064
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2065
2065
|
required_arguments = ['streamPoolId']
|
@@ -186,11 +186,19 @@ class StreamAdminClientCompositeOperations(object):
|
|
186
186
|
lowered_wait_for_states = [w.lower() for w in wait_for_states]
|
187
187
|
|
188
188
|
try:
|
189
|
+
if ("succeed_on_not_found" in waiter_kwargs) and (waiter_kwargs["succeed_on_not_found"] is False):
|
190
|
+
self.client.base_client.logger.warning("The waiter kwarg succeed_on_not_found was passed as False for the delete composite operation delete_connect_harness, 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")
|
191
|
+
else:
|
192
|
+
"""
|
193
|
+
If the user does not send in this value, we set it to True by default.
|
194
|
+
We are doing this because during a delete resource scenario and waiting on its state, the service can
|
195
|
+
return a 404 NOT FOUND exception as the resource was deleted and a get on its state would fail
|
196
|
+
"""
|
197
|
+
waiter_kwargs["succeed_on_not_found"] = True
|
189
198
|
waiter_result = oci.wait_until(
|
190
199
|
self.client,
|
191
200
|
initial_get_result, # noqa: F821
|
192
201
|
evaluate_response=lambda r: getattr(r.data, 'lifecycle_state') and getattr(r.data, 'lifecycle_state').lower() in lowered_wait_for_states,
|
193
|
-
succeed_on_not_found=True,
|
194
202
|
**waiter_kwargs
|
195
203
|
)
|
196
204
|
result_to_return = waiter_result
|
@@ -238,11 +246,19 @@ class StreamAdminClientCompositeOperations(object):
|
|
238
246
|
lowered_wait_for_states = [w.lower() for w in wait_for_states]
|
239
247
|
|
240
248
|
try:
|
249
|
+
if ("succeed_on_not_found" in waiter_kwargs) and (waiter_kwargs["succeed_on_not_found"] is False):
|
250
|
+
self.client.base_client.logger.warning("The waiter kwarg succeed_on_not_found was passed as False for the delete composite operation delete_stream, 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")
|
251
|
+
else:
|
252
|
+
"""
|
253
|
+
If the user does not send in this value, we set it to True by default.
|
254
|
+
We are doing this because during a delete resource scenario and waiting on its state, the service can
|
255
|
+
return a 404 NOT FOUND exception as the resource was deleted and a get on its state would fail
|
256
|
+
"""
|
257
|
+
waiter_kwargs["succeed_on_not_found"] = True
|
241
258
|
waiter_result = oci.wait_until(
|
242
259
|
self.client,
|
243
260
|
initial_get_result, # noqa: F821
|
244
261
|
evaluate_response=lambda r: getattr(r.data, 'lifecycle_state') and getattr(r.data, 'lifecycle_state').lower() in lowered_wait_for_states,
|
245
|
-
succeed_on_not_found=True,
|
246
262
|
**waiter_kwargs
|
247
263
|
)
|
248
264
|
result_to_return = waiter_result
|
@@ -290,11 +306,19 @@ class StreamAdminClientCompositeOperations(object):
|
|
290
306
|
lowered_wait_for_states = [w.lower() for w in wait_for_states]
|
291
307
|
|
292
308
|
try:
|
309
|
+
if ("succeed_on_not_found" in waiter_kwargs) and (waiter_kwargs["succeed_on_not_found"] is False):
|
310
|
+
self.client.base_client.logger.warning("The waiter kwarg succeed_on_not_found was passed as False for the delete composite operation delete_stream_pool, 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")
|
311
|
+
else:
|
312
|
+
"""
|
313
|
+
If the user does not send in this value, we set it to True by default.
|
314
|
+
We are doing this because during a delete resource scenario and waiting on its state, the service can
|
315
|
+
return a 404 NOT FOUND exception as the resource was deleted and a get on its state would fail
|
316
|
+
"""
|
317
|
+
waiter_kwargs["succeed_on_not_found"] = True
|
293
318
|
waiter_result = oci.wait_until(
|
294
319
|
self.client,
|
295
320
|
initial_get_result, # noqa: F821
|
296
321
|
evaluate_response=lambda r: getattr(r.data, 'lifecycle_state') and getattr(r.data, 'lifecycle_state').lower() in lowered_wait_for_states,
|
297
|
-
succeed_on_not_found=True,
|
298
322
|
**waiter_kwargs
|
299
323
|
)
|
300
324
|
result_to_return = waiter_result
|
oci/streaming/stream_client.py
CHANGED
@@ -137,7 +137,7 @@ class StreamClient(object):
|
|
137
137
|
:rtype: :class:`~oci.response.Response`
|
138
138
|
|
139
139
|
:example:
|
140
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
140
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/streaming/consumer_commit.py.html>`__ to see an example of how to use consumer_commit API.
|
141
141
|
"""
|
142
142
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
143
143
|
required_arguments = ['streamId', 'cursor']
|
@@ -246,7 +246,7 @@ class StreamClient(object):
|
|
246
246
|
:rtype: :class:`~oci.response.Response`
|
247
247
|
|
248
248
|
:example:
|
249
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
249
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/streaming/consumer_heartbeat.py.html>`__ to see an example of how to use consumer_heartbeat API.
|
250
250
|
"""
|
251
251
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
252
252
|
required_arguments = ['streamId', 'cursor']
|
@@ -359,7 +359,7 @@ class StreamClient(object):
|
|
359
359
|
:rtype: :class:`~oci.response.Response`
|
360
360
|
|
361
361
|
:example:
|
362
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
362
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/streaming/create_cursor.py.html>`__ to see an example of how to use create_cursor API.
|
363
363
|
"""
|
364
364
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
365
365
|
required_arguments = ['streamId']
|
@@ -463,7 +463,7 @@ class StreamClient(object):
|
|
463
463
|
:rtype: :class:`~oci.response.Response`
|
464
464
|
|
465
465
|
:example:
|
466
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
466
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/streaming/create_group_cursor.py.html>`__ to see an example of how to use create_group_cursor API.
|
467
467
|
"""
|
468
468
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
469
469
|
required_arguments = ['streamId']
|
@@ -567,7 +567,7 @@ class StreamClient(object):
|
|
567
567
|
:rtype: :class:`~oci.response.Response`
|
568
568
|
|
569
569
|
:example:
|
570
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
570
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/streaming/get_group.py.html>`__ to see an example of how to use get_group API.
|
571
571
|
"""
|
572
572
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
573
573
|
required_arguments = ['streamId', 'groupName']
|
@@ -676,7 +676,7 @@ class StreamClient(object):
|
|
676
676
|
:rtype: :class:`~oci.response.Response`
|
677
677
|
|
678
678
|
:example:
|
679
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
679
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/streaming/get_messages.py.html>`__ to see an example of how to use get_messages API.
|
680
680
|
"""
|
681
681
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
682
682
|
required_arguments = ['streamId', 'cursor']
|
@@ -790,7 +790,7 @@ class StreamClient(object):
|
|
790
790
|
:rtype: :class:`~oci.response.Response`
|
791
791
|
|
792
792
|
:example:
|
793
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
793
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/streaming/put_messages.py.html>`__ to see an example of how to use put_messages API.
|
794
794
|
"""
|
795
795
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
796
796
|
required_arguments = ['streamId']
|
@@ -897,7 +897,7 @@ class StreamClient(object):
|
|
897
897
|
:rtype: :class:`~oci.response.Response`
|
898
898
|
|
899
899
|
:example:
|
900
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
900
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/streaming/update_group.py.html>`__ to see an example of how to use update_group API.
|
901
901
|
"""
|
902
902
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
903
903
|
required_arguments = ['streamId', 'groupName']
|
@@ -143,7 +143,7 @@ class DomainClient(object):
|
|
143
143
|
:rtype: :class:`~oci.response.Response`
|
144
144
|
|
145
145
|
:example:
|
146
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
146
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/tenantmanagercontrolplane/create_domain.py.html>`__ to see an example of how to use create_domain API.
|
147
147
|
"""
|
148
148
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
149
149
|
required_arguments = []
|
@@ -239,7 +239,7 @@ class DomainClient(object):
|
|
239
239
|
:rtype: :class:`~oci.response.Response`
|
240
240
|
|
241
241
|
:example:
|
242
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
242
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/tenantmanagercontrolplane/delete_domain.py.html>`__ to see an example of how to use delete_domain API.
|
243
243
|
"""
|
244
244
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
245
245
|
required_arguments = ['domainId']
|
@@ -335,7 +335,7 @@ class DomainClient(object):
|
|
335
335
|
:rtype: :class:`~oci.response.Response`
|
336
336
|
|
337
337
|
:example:
|
338
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
338
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/tenantmanagercontrolplane/get_domain.py.html>`__ to see an example of how to use get_domain API.
|
339
339
|
"""
|
340
340
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
341
341
|
required_arguments = ['domainId']
|
@@ -466,7 +466,7 @@ class DomainClient(object):
|
|
466
466
|
:rtype: :class:`~oci.response.Response`
|
467
467
|
|
468
468
|
:example:
|
469
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
469
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/tenantmanagercontrolplane/list_domains.py.html>`__ to see an example of how to use list_domains API.
|
470
470
|
"""
|
471
471
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
472
472
|
required_arguments = ['compartmentId']
|
@@ -611,7 +611,7 @@ class DomainClient(object):
|
|
611
611
|
:rtype: :class:`~oci.response.Response`
|
612
612
|
|
613
613
|
:example:
|
614
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
614
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.103.0/tenantmanagercontrolplane/update_domain.py.html>`__ to see an example of how to use update_domain API.
|
615
615
|
"""
|
616
616
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
617
617
|
required_arguments = ['domainId']
|
@@ -95,11 +95,19 @@ class DomainClientCompositeOperations(object):
|
|
95
95
|
lowered_wait_for_states = [w.lower() for w in wait_for_states]
|
96
96
|
|
97
97
|
try:
|
98
|
+
if ("succeed_on_not_found" in waiter_kwargs) and (waiter_kwargs["succeed_on_not_found"] is False):
|
99
|
+
self.client.base_client.logger.warning("The waiter kwarg succeed_on_not_found was passed as False for the delete composite operation delete_domain, 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")
|
100
|
+
else:
|
101
|
+
"""
|
102
|
+
If the user does not send in this value, we set it to True by default.
|
103
|
+
We are doing this because during a delete resource scenario and waiting on its state, the service can
|
104
|
+
return a 404 NOT FOUND exception as the resource was deleted and a get on its state would fail
|
105
|
+
"""
|
106
|
+
waiter_kwargs["succeed_on_not_found"] = True
|
98
107
|
waiter_result = oci.wait_until(
|
99
108
|
self.client,
|
100
109
|
initial_get_result, # noqa: F821
|
101
110
|
evaluate_response=lambda r: getattr(r.data, 'lifecycle_state') and getattr(r.data, 'lifecycle_state').lower() in lowered_wait_for_states,
|
102
|
-
succeed_on_not_found=True,
|
103
111
|
**waiter_kwargs
|
104
112
|
)
|
105
113
|
result_to_return = waiter_result
|