oci 2.144.0__py3-none-any.whl → 2.145.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/adm/application_dependency_management_client.py +36 -36
- oci/ai_anomaly_detection/anomaly_detection_client.py +36 -36
- oci/ai_document/ai_service_document_client.py +26 -26
- oci/ai_language/ai_service_language_client.py +44 -44
- oci/ai_speech/ai_service_speech_client.py +19 -19
- oci/ai_speech/models/realtime_parameters.py +61 -4
- oci/ai_vision/ai_service_vision_client.py +28 -28
- oci/analytics/analytics_client.py +24 -24
- oci/announcements_service/announcement_client.py +5 -5
- oci/announcements_service/announcement_subscription_client.py +9 -9
- oci/announcements_service/announcements_preferences_client.py +4 -4
- oci/announcements_service/service_client.py +1 -1
- 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 +9 -9
- oci/apm_control_plane/apm_domain_client.py +14 -14
- oci/apm_synthetics/apm_synthetic_client.py +28 -28
- oci/apm_traces/attributes_client.py +8 -8
- oci/apm_traces/query_client.py +2 -2
- oci/apm_traces/trace_client.py +4 -4
- oci/appmgmt_control/appmgmt_control_client.py +8 -8
- oci/artifacts/artifacts_client.py +32 -32
- oci/audit/audit_client.py +3 -3
- oci/auth/signers/ephemeral_resource_principals_v21_signer.py +3 -3
- oci/auth/signers/key_pair_signer.py +6 -5
- oci/autoscaling/auto_scaling_client.py +11 -11
- oci/base_client.py +2 -2
- oci/bastion/bastion_client.py +15 -15
- oci/bds/bds_client.py +84 -84
- oci/blockchain/blockchain_platform_client.py +27 -27
- oci/budget/budget_client.py +10 -10
- oci/capacity_management/capacity_management_client.py +32 -32
- oci/certificates/certificates_client.py +5 -5
- oci/certificates_management/certificates_management_client.py +32 -32
- oci/cims/incident_client.py +6 -6
- oci/cloud_bridge/common_client.py +5 -5
- oci/cloud_bridge/discovery_client.py +15 -15
- oci/cloud_bridge/inventory_client.py +16 -16
- oci/cloud_bridge/ocb_agent_svc_client.py +23 -23
- oci/cloud_guard/cloud_guard_client.py +155 -155
- oci/cloud_migrations/migration_client.py +43 -43
- oci/cluster_placement_groups/cluster_placement_groups_cp_client.py +13 -13
- oci/compute_cloud_at_customer/compute_cloud_at_customer_client.py +12 -12
- 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 +44 -44
- oci/container_engine/models/cluster_create_options.py +47 -0
- oci/container_engine/models/cluster_endpoints.py +33 -2
- oci/container_instances/container_instance_client.py +18 -18
- oci/core/blockstorage_client.py +60 -60
- oci/core/compute_client.py +102 -102
- oci/core/compute_management_client.py +32 -32
- oci/core/virtual_network_client.py +256 -256
- oci/dashboard_service/dashboard_client.py +6 -6
- oci/dashboard_service/dashboard_group_client.py +6 -6
- oci/data_catalog/data_catalog_client.py +149 -149
- oci/data_flow/data_flow_client.py +45 -45
- oci/data_integration/data_integration_client.py +163 -163
- oci/data_labeling_service/data_labeling_management_client.py +17 -17
- oci/data_labeling_service_dataplane/data_labeling_client.py +15 -15
- oci/data_safe/data_safe_client.py +306 -306
- oci/data_science/data_science_client.py +101 -101
- oci/database/database_client.py +409 -404
- oci/database/models/__init__.py +8 -0
- oci/database/models/autonomous_container_database.py +89 -0
- oci/database/models/autonomous_container_database_summary.py +89 -0
- oci/database/models/autonomous_database.py +64 -2
- oci/database/models/autonomous_database_backup.py +15 -3
- oci/database/models/autonomous_database_backup_summary.py +15 -3
- oci/database/models/autonomous_database_standby_summary.py +93 -0
- oci/database/models/autonomous_database_summary.py +64 -2
- oci/database/models/autonomous_dw_database.py +64 -2
- oci/database/models/backup_destination.py +95 -2
- oci/database/models/backup_destination_configuration_summary.py +387 -0
- oci/database/models/backup_destination_details_summary.py +356 -0
- oci/database/models/backup_destination_properties.py +134 -0
- oci/database/models/backup_destination_summary.py +95 -2
- oci/database/models/create_autonomous_database_clone_details.py +7 -3
- oci/database/models/create_autonomous_database_from_backup_details.py +40 -5
- oci/database/models/create_autonomous_database_from_backup_timestamp_details.py +40 -5
- oci/database/models/create_data_guard_association_with_new_db_system_details.py +33 -0
- oci/database/models/db_system.py +96 -10
- oci/database/models/db_system_summary.py +96 -10
- oci/database/models/launch_db_system_base.py +33 -0
- oci/database/models/launch_db_system_details.py +7 -0
- oci/database/models/launch_db_system_from_backup_details.py +7 -0
- oci/database/models/launch_db_system_from_database_details.py +7 -0
- oci/database/models/launch_db_system_from_db_system_details.py +7 -0
- oci/database/models/recovery_appliance_details.py +134 -0
- oci/database/models/restore_autonomous_database_details.py +1 -1
- oci/database_management/db_management_client.py +228 -228
- oci/database_management/diagnosability_client.py +4 -4
- oci/database_management/managed_my_sql_databases_client.py +9 -9
- oci/database_management/perfhub_client.py +1 -1
- oci/database_management/sql_tuning_client.py +17 -17
- oci/database_migration/database_migration_client.py +42 -42
- oci/database_tools/database_tools_client.py +23 -23
- oci/delegate_access_control/delegate_access_control_client.py +26 -26
- oci/delegate_access_control/work_request_client.py +4 -4
- oci/demand_signal/occ_demand_signal_client.py +7 -7
- oci/desktops/desktop_service_client.py +21 -21
- oci/devops/devops_client.py +141 -141
- oci/disaster_recovery/disaster_recovery_client.py +31 -31
- oci/dns/dns_client.py +54 -54
- oci/dts/appliance_export_job_client.py +6 -6
- 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_package_client.py +7 -7
- oci/em_warehouse/em_warehouse_client.py +13 -13
- oci/email/email_client.py +31 -31
- oci/email_data_plane/email_dp_client.py +1 -1
- oci/events/events_client.py +6 -6
- oci/file_storage/file_storage_client.py +68 -68
- oci/file_storage/models/file_system.py +33 -0
- oci/file_storage/models/file_system_summary.py +33 -0
- oci/file_storage/models/filesystem_snapshot_policy.py +35 -2
- oci/file_storage/models/filesystem_snapshot_policy_summary.py +35 -2
- oci/file_storage/models/ldap_bind_account.py +7 -0
- oci/file_storage/models/ldap_bind_account_summary.py +7 -0
- oci/file_storage/models/mount_target.py +35 -2
- oci/file_storage/models/mount_target_summary.py +35 -2
- oci/file_storage/models/outbound_connector.py +35 -2
- oci/file_storage/models/outbound_connector_summary.py +35 -2
- oci/file_storage/models/replication.py +35 -2
- oci/file_storage/models/replication_summary.py +33 -0
- oci/file_storage/models/replication_target.py +33 -0
- oci/file_storage/models/replication_target_summary.py +33 -0
- oci/file_storage/models/snapshot.py +33 -0
- oci/file_storage/models/snapshot_summary.py +35 -2
- oci/fleet_apps_management/fleet_apps_management_admin_client.py +25 -25
- oci/fleet_apps_management/fleet_apps_management_client.py +35 -35
- oci/fleet_apps_management/fleet_apps_management_maintenance_window_client.py +5 -5
- oci/fleet_apps_management/fleet_apps_management_operations_client.py +26 -26
- oci/fleet_apps_management/fleet_apps_management_runbooks_client.py +12 -12
- oci/fleet_software_update/fleet_software_update_client.py +46 -46
- oci/functions/functions_invoke_client.py +1 -1
- oci/functions/functions_management_client.py +16 -16
- oci/fusion_apps/fusion_applications_client.py +41 -41
- oci/generative_ai/generative_ai_client.py +22 -22
- oci/generative_ai_agent/generative_ai_agent_client.py +33 -33
- oci/generative_ai_agent_runtime/generative_ai_agent_runtime_client.py +5 -5
- oci/generative_ai_inference/generative_ai_inference_client.py +5 -5
- oci/generic_artifacts_content/generic_artifacts_content_client.py +3 -3
- oci/globally_distributed_database/sharded_database_service_client.py +30 -30
- oci/golden_gate/golden_gate_client.py +90 -90
- oci/golden_gate/models/__init__.py +24 -0
- oci/golden_gate/models/amazon_kinesis_connection.py +1 -1
- oci/golden_gate/models/amazon_kinesis_connection_summary.py +1 -1
- oci/golden_gate/models/amazon_redshift_connection.py +1 -1
- oci/golden_gate/models/amazon_redshift_connection_summary.py +1 -1
- oci/golden_gate/models/amazon_s3_connection.py +1 -1
- oci/golden_gate/models/amazon_s3_connection_summary.py +1 -1
- oci/golden_gate/models/azure_data_lake_storage_connection.py +1 -1
- oci/golden_gate/models/azure_data_lake_storage_connection_summary.py +1 -1
- oci/golden_gate/models/azure_synapse_connection.py +1 -1
- oci/golden_gate/models/azure_synapse_connection_summary.py +1 -1
- oci/golden_gate/models/connection.py +59 -35
- oci/golden_gate/models/connection_summary.py +62 -38
- oci/golden_gate/models/create_amazon_kinesis_connection_details.py +3 -1
- oci/golden_gate/models/create_amazon_redshift_connection_details.py +3 -1
- oci/golden_gate/models/create_amazon_s3_connection_details.py +3 -1
- oci/golden_gate/models/create_azure_data_lake_storage_connection_details.py +7 -1
- oci/golden_gate/models/create_azure_synapse_connection_details.py +3 -1
- oci/golden_gate/models/create_connection_details.py +58 -34
- oci/golden_gate/models/create_database_registration_details.py +4 -0
- oci/golden_gate/models/create_databricks_connection_details.py +437 -0
- oci/golden_gate/models/create_db2_connection_details.py +7 -1
- oci/golden_gate/models/create_elasticsearch_connection_details.py +3 -1
- oci/golden_gate/models/create_generic_connection_details.py +1 -1
- oci/golden_gate/models/create_golden_gate_connection_details.py +3 -1
- oci/golden_gate/models/create_google_big_query_connection_details.py +3 -1
- oci/golden_gate/models/create_google_cloud_storage_connection_details.py +3 -1
- oci/golden_gate/models/create_google_pub_sub_connection_details.py +241 -0
- oci/golden_gate/models/create_hdfs_connection_details.py +1 -1
- oci/golden_gate/models/create_java_message_service_connection_details.py +15 -1
- oci/golden_gate/models/create_kafka_connection_details.py +13 -1
- oci/golden_gate/models/create_kafka_schema_registry_connection_details.py +13 -1
- oci/golden_gate/models/create_microsoft_fabric_connection_details.py +336 -0
- oci/golden_gate/models/create_microsoft_sqlserver_connection_details.py +3 -1
- oci/golden_gate/models/create_mongo_db_connection_details.py +209 -3
- oci/golden_gate/models/create_mysql_connection_details.py +5 -1
- oci/golden_gate/models/create_oci_object_storage_connection_details.py +43 -4
- oci/golden_gate/models/create_oracle_connection_details.py +5 -1
- oci/golden_gate/models/create_oracle_nosql_connection_details.py +43 -4
- oci/golden_gate/models/create_postgresql_connection_details.py +5 -1
- oci/golden_gate/models/create_redis_connection_details.py +11 -1
- oci/golden_gate/models/create_snowflake_connection_details.py +7 -1
- oci/golden_gate/models/databricks_connection.py +456 -0
- oci/golden_gate/models/databricks_connection_summary.py +418 -0
- oci/golden_gate/models/db2_connection.py +1 -1
- oci/golden_gate/models/db2_connection_summary.py +1 -1
- oci/golden_gate/models/deployment_type_summary.py +15 -3
- oci/golden_gate/models/elasticsearch_connection.py +1 -1
- oci/golden_gate/models/elasticsearch_connection_summary.py +1 -1
- oci/golden_gate/models/generic_connection.py +1 -1
- oci/golden_gate/models/generic_connection_summary.py +1 -1
- oci/golden_gate/models/golden_gate_connection.py +1 -1
- oci/golden_gate/models/golden_gate_connection_summary.py +1 -1
- oci/golden_gate/models/google_big_query_connection.py +1 -1
- oci/golden_gate/models/google_big_query_connection_summary.py +1 -1
- oci/golden_gate/models/google_cloud_storage_connection.py +1 -1
- oci/golden_gate/models/google_cloud_storage_connection_summary.py +1 -1
- oci/golden_gate/models/google_pub_sub_connection.py +271 -0
- oci/golden_gate/models/google_pub_sub_connection_summary.py +255 -0
- oci/golden_gate/models/hdfs_connection.py +1 -1
- oci/golden_gate/models/hdfs_connection_summary.py +1 -1
- oci/golden_gate/models/java_message_service_connection.py +1 -1
- oci/golden_gate/models/java_message_service_connection_summary.py +1 -1
- oci/golden_gate/models/kafka_connection.py +1 -1
- oci/golden_gate/models/kafka_connection_summary.py +1 -1
- oci/golden_gate/models/kafka_schema_registry_connection.py +1 -1
- oci/golden_gate/models/kafka_schema_registry_connection_summary.py +1 -1
- oci/golden_gate/models/microsoft_fabric_connection.py +372 -0
- oci/golden_gate/models/microsoft_fabric_connection_summary.py +352 -0
- oci/golden_gate/models/microsoft_sqlserver_connection.py +1 -1
- oci/golden_gate/models/microsoft_sqlserver_connection_summary.py +1 -1
- oci/golden_gate/models/mongo_db_connection.py +141 -6
- oci/golden_gate/models/mongo_db_connection_summary.py +110 -3
- oci/golden_gate/models/mysql_connection.py +1 -1
- oci/golden_gate/models/mysql_connection_summary.py +1 -1
- oci/golden_gate/models/oci_object_storage_connection.py +38 -3
- oci/golden_gate/models/oci_object_storage_connection_summary.py +38 -3
- oci/golden_gate/models/oracle_connection.py +24 -4
- oci/golden_gate/models/oracle_connection_summary.py +1 -1
- oci/golden_gate/models/oracle_nosql_connection.py +38 -3
- oci/golden_gate/models/oracle_nosql_connection_summary.py +38 -3
- oci/golden_gate/models/postgresql_connection.py +8 -4
- oci/golden_gate/models/postgresql_connection_summary.py +1 -1
- oci/golden_gate/models/redis_connection.py +1 -1
- oci/golden_gate/models/redis_connection_summary.py +1 -1
- oci/golden_gate/models/snowflake_connection.py +1 -1
- oci/golden_gate/models/snowflake_connection_summary.py +1 -1
- oci/golden_gate/models/update_amazon_kinesis_connection_details.py +3 -1
- oci/golden_gate/models/update_amazon_redshift_connection_details.py +3 -1
- oci/golden_gate/models/update_amazon_s3_connection_details.py +3 -1
- oci/golden_gate/models/update_azure_data_lake_storage_connection_details.py +7 -1
- oci/golden_gate/models/update_azure_synapse_connection_details.py +3 -1
- oci/golden_gate/models/update_connection_details.py +46 -22
- oci/golden_gate/models/update_database_registration_details.py +4 -0
- oci/golden_gate/models/update_databricks_connection_details.py +392 -0
- oci/golden_gate/models/update_db2_connection_details.py +7 -1
- oci/golden_gate/models/update_elasticsearch_connection_details.py +3 -1
- oci/golden_gate/models/update_generic_connection_details.py +1 -1
- oci/golden_gate/models/update_golden_gate_connection_details.py +3 -1
- oci/golden_gate/models/update_google_big_query_connection_details.py +3 -1
- oci/golden_gate/models/update_google_cloud_storage_connection_details.py +3 -1
- oci/golden_gate/models/update_google_pub_sub_connection_details.py +196 -0
- oci/golden_gate/models/update_hdfs_connection_details.py +1 -1
- oci/golden_gate/models/update_java_message_service_connection_details.py +15 -1
- oci/golden_gate/models/update_kafka_connection_details.py +13 -1
- oci/golden_gate/models/update_kafka_schema_registry_connection_details.py +13 -1
- oci/golden_gate/models/update_microsoft_fabric_connection_details.py +291 -0
- oci/golden_gate/models/update_microsoft_sqlserver_connection_details.py +3 -1
- oci/golden_gate/models/update_mongo_db_connection_details.py +209 -3
- oci/golden_gate/models/update_mysql_connection_details.py +5 -1
- oci/golden_gate/models/update_oci_object_storage_connection_details.py +42 -3
- oci/golden_gate/models/update_oracle_connection_details.py +5 -1
- oci/golden_gate/models/update_oracle_nosql_connection_details.py +42 -3
- oci/golden_gate/models/update_postgresql_connection_details.py +5 -1
- oci/golden_gate/models/update_redis_connection_details.py +11 -1
- oci/golden_gate/models/update_snowflake_connection_details.py +7 -1
- 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_data_plane/dataplane_client.py +2 -2
- oci/identity_domains/identity_domains_client.py +311 -311
- oci/integration/integration_instance_client.py +19 -19
- oci/jms/java_management_service_client.py +653 -75
- oci/jms/models/__init__.py +24 -0
- oci/jms/models/fleet_error_aggregation.py +119 -0
- oci/jms/models/fleet_error_aggregation_collection.py +72 -0
- oci/jms/models/fleet_error_aggregation_summary.py +103 -0
- oci/jms/models/fleet_error_collection.py +72 -0
- oci/jms/models/fleet_error_details.py +156 -0
- oci/jms/models/fleet_error_summary.py +235 -0
- oci/jms/models/generate_agent_installer_configuration_details.py +2 -2
- oci/jms/models/operating_system.py +31 -0
- oci/jms/models/plugin_error_aggregation.py +123 -0
- oci/jms/models/plugin_error_aggregation_collection.py +72 -0
- oci/jms/models/plugin_error_aggregation_summary.py +103 -0
- oci/jms/models/plugin_error_collection.py +72 -0
- oci/jms/models/plugin_error_details.py +160 -0
- oci/jms/models/plugin_error_summary.py +282 -0
- oci/jms_java_downloads/java_download_client.py +25 -25
- oci/key_management/ekm_client.py +5 -5
- oci/key_management/kms_crypto_client.py +6 -6
- oci/key_management/kms_hsm_cluster_client.py +12 -12
- 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/limits/limits_client.py +4 -4
- oci/limits/quotas_client.py +7 -7
- oci/load_balancer/load_balancer_client.py +61 -61
- oci/lockbox/lockbox_client.py +24 -24
- oci/log_analytics/log_analytics_client.py +193 -193
- oci/logging/logging_management_client.py +30 -30
- oci/loggingingestion/logging_client.py +1 -1
- oci/loggingsearch/log_search_client.py +1 -1
- oci/management_agent/management_agent_client.py +28 -28
- oci/management_dashboard/dashx_apis_client.py +14 -14
- oci/marketplace/account_client.py +2 -2
- oci/marketplace/marketplace_client.py +30 -30
- oci/marketplace_private_offer/attachment_client.py +5 -5
- oci/marketplace_private_offer/offer_client.py +6 -6
- oci/marketplace_publisher/attachment_client.py +5 -5
- oci/marketplace_publisher/marketplace_publisher_client.py +71 -71
- oci/marketplace_publisher/offer_client.py +6 -6
- oci/media_services/media_services_client.py +60 -60
- oci/media_services/media_stream_client.py +2 -2
- oci/monitoring/monitoring_client.py +18 -18
- oci/mysql/channels_client.py +7 -7
- oci/mysql/db_backups_client.py +7 -7
- oci/mysql/db_system_client.py +17 -17
- oci/mysql/mysqlaas_client.py +7 -7
- oci/mysql/replicas_client.py +5 -5
- oci/mysql/work_requests_client.py +4 -4
- oci/network_firewall/network_firewall_client.py +86 -86
- oci/network_load_balancer/network_load_balancer_client.py +35 -35
- oci/nosql/nosql_client.py +24 -24
- oci/object_storage/object_storage_client.py +55 -55
- oci/oce/oce_instance_client.py +10 -10
- oci/oci_control_center/occ_metrics_client.py +3 -3
- oci/ocvp/cluster_client.py +5 -5
- oci/ocvp/esxi_host_client.py +8 -8
- oci/ocvp/sddc_client.py +14 -14
- oci/ocvp/work_request_client.py +4 -4
- oci/oda/management_client.py +59 -59
- 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/opa/opa_instance_client.py +13 -13
- oci/opensearch/opensearch_cluster_backup_client.py +4 -4
- oci/opensearch/opensearch_cluster_client.py +16 -16
- oci/operator_access_control/access_requests_client.py +10 -10
- oci/operator_access_control/operator_actions_client.py +2 -2
- oci/operator_access_control/operator_control_assignment_client.py +8 -8
- oci/operator_access_control/operator_control_client.py +6 -6
- oci/opsi/operations_insights_client.py +181 -181
- oci/optimizer/optimizer_client.py +26 -26
- oci/os_management/event_client.py +8 -8
- oci/os_management/os_management_client.py +69 -69
- oci/os_management_hub/event_client.py +8 -8
- oci/os_management_hub/lifecycle_environment_client.py +12 -12
- oci/os_management_hub/managed_instance_client.py +31 -31
- oci/os_management_hub/managed_instance_group_client.py +25 -25
- oci/os_management_hub/management_station_client.py +10 -10
- oci/os_management_hub/onboarding_client.py +6 -6
- oci/os_management_hub/reporting_managed_instance_client.py +3 -3
- oci/os_management_hub/scheduled_job_client.py +7 -7
- oci/os_management_hub/software_source_client.py +27 -27
- oci/os_management_hub/work_request_client.py +4 -4
- oci/osp_gateway/address_rule_service_client.py +1 -1
- oci/osp_gateway/address_service_client.py +2 -2
- 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/psql/postgresql_client.py +33 -33
- oci/queue/queue_admin_client.py +11 -11
- oci/queue/queue_client.py +8 -8
- oci/recovery/database_recovery_client.py +26 -26
- oci/redis/redis_cluster_client.py +12 -12
- oci/resource_manager/resource_manager_client.py +52 -52
- oci/resource_scheduler/schedule_client.py +13 -13
- oci/resource_search/resource_search_client.py +3 -3
- oci/rover/rover_bundle_client.py +8 -8
- oci/rover/rover_cluster_client.py +8 -8
- oci/rover/rover_entitlement_client.py +6 -6
- oci/rover/rover_node_client.py +15 -15
- oci/rover/shape_client.py +1 -1
- oci/rover/work_requests_client.py +5 -5
- oci/sch/connector_plugins_client.py +2 -2
- oci/sch/service_connector_client.py +12 -12
- oci/secrets/secrets_client.py +3 -3
- oci/security_attribute/security_attribute_client.py +18 -18
- oci/service_catalog/service_catalog_client.py +26 -26
- oci/service_manager_proxy/service_manager_proxy_client.py +2 -2
- oci/service_mesh/service_mesh_client.py +48 -48
- oci/stack_monitoring/models/__init__.py +42 -0
- oci/stack_monitoring/models/alarm_condition.py +588 -0
- oci/stack_monitoring/models/alarm_condition_collection.py +72 -0
- oci/stack_monitoring/models/alarm_condition_summary.py +588 -0
- oci/stack_monitoring/models/associated_monitored_resource.py +7 -3
- oci/stack_monitoring/models/associated_resources_summary.py +7 -3
- oci/stack_monitoring/models/condition.py +243 -0
- oci/stack_monitoring/models/create_alarm_condition_details.py +309 -0
- oci/stack_monitoring/models/create_license_auto_assign_config_details.py +7 -3
- oci/stack_monitoring/models/create_monitored_resource_details.py +7 -3
- oci/stack_monitoring/models/create_monitoring_template_details.py +406 -0
- oci/stack_monitoring/models/defined_alarm_condition.py +150 -0
- oci/stack_monitoring/models/defined_monitoring_template_collection.py +72 -0
- oci/stack_monitoring/models/defined_monitoring_template_summary.py +326 -0
- oci/stack_monitoring/models/discovery_details.py +7 -3
- oci/stack_monitoring/models/discovery_job_summary.py +7 -3
- oci/stack_monitoring/models/license_auto_assign_config_details.py +7 -3
- oci/stack_monitoring/models/license_auto_assign_config_summary.py +7 -3
- oci/stack_monitoring/models/manage_license_details.py +7 -3
- oci/stack_monitoring/models/member_reference.py +154 -0
- oci/stack_monitoring/models/metric_extension.py +2 -2
- oci/stack_monitoring/models/metric_extension_metric_aggregation_collection.py +72 -0
- oci/stack_monitoring/models/metric_extension_resource_aggregation.py +105 -0
- oci/stack_monitoring/models/metric_extension_resource_aggregation_collection.py +72 -0
- oci/stack_monitoring/models/metric_extensions_metric_aggregation.py +105 -0
- oci/stack_monitoring/models/monitored_resource.py +7 -3
- oci/stack_monitoring/models/monitored_resource_member_summary.py +7 -3
- oci/stack_monitoring/models/monitored_resource_summary.py +7 -3
- oci/stack_monitoring/models/monitored_resource_type.py +31 -0
- oci/stack_monitoring/models/monitored_resource_type_summary.py +31 -0
- oci/stack_monitoring/models/monitoring_template.py +743 -0
- oci/stack_monitoring/models/monitoring_template_collection.py +72 -0
- oci/stack_monitoring/models/monitoring_template_summary.py +599 -0
- oci/stack_monitoring/models/request_summarized_metric_extensions_metrics_details.py +263 -0
- oci/stack_monitoring/models/request_summarized_metric_extensions_resources_details.py +357 -0
- oci/stack_monitoring/models/search_monitored_resources_details.py +7 -3
- oci/stack_monitoring/models/system_format_resource_type_metadata_details.py +37 -2
- oci/stack_monitoring/models/update_alarm_condition_details.py +309 -0
- oci/stack_monitoring/models/update_license_auto_assign_config_details.py +7 -3
- oci/stack_monitoring/models/update_monitoring_template_details.py +375 -0
- oci/stack_monitoring/models/work_request.py +18 -6
- oci/stack_monitoring/models/work_request_summary.py +18 -6
- oci/stack_monitoring/stack_monitoring_client.py +2446 -446
- oci/stack_monitoring/stack_monitoring_client_composite_operations.py +331 -0
- oci/streaming/stream_admin_client.py +18 -18
- oci/streaming/stream_client.py +8 -8
- oci/tenant_manager_control_plane/domain_client.py +5 -5
- oci/tenant_manager_control_plane/domain_governance_client.py +5 -5
- 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 +11 -11
- oci/tenant_manager_control_plane/work_request_client.py +4 -4
- oci/threat_intelligence/threatintel_client.py +5 -5
- oci/usage/resources_client.py +2 -2
- oci/usage/rewards_client.py +6 -6
- oci/usage/usagelimits_client.py +1 -1
- oci/usage_api/usageapi_client.py +33 -33
- oci/vault/vaults_client.py +13 -13
- oci/vbs_inst/vbs_instance_client.py +10 -10
- oci/version.py +1 -1
- oci/visual_builder/vb_instance_client.py +14 -14
- oci/vn_monitoring/vn_monitoring_client.py +12 -12
- 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/waf/waf_client.py +24 -24
- oci/work_requests/work_request_client.py +4 -4
- oci/zpr/zpr_client.py +15 -15
- {oci-2.144.0.dist-info → oci-2.145.0.dist-info}/METADATA +1 -1
- {oci-2.144.0.dist-info → oci-2.145.0.dist-info}/RECORD +481 -432
- {oci-2.144.0.dist-info → oci-2.145.0.dist-info}/LICENSE.txt +0 -0
- {oci-2.144.0.dist-info → oci-2.145.0.dist-info}/THIRD_PARTY_LICENSES.txt +0 -0
- {oci-2.144.0.dist-info → oci-2.145.0.dist-info}/WHEEL +0 -0
- {oci-2.144.0.dist-info → oci-2.145.0.dist-info}/top_level.txt +0 -0
@@ -25,6 +25,47 @@ class StackMonitoringClientCompositeOperations(object):
|
|
25
25
|
"""
|
26
26
|
self.client = client
|
27
27
|
|
28
|
+
def apply_monitoring_template_and_wait_for_state(self, monitoring_template_id, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
|
29
|
+
"""
|
30
|
+
Calls :py:func:`~oci.stack_monitoring.StackMonitoringClient.apply_monitoring_template` and waits for the :py:class:`~oci.stack_monitoring.models.WorkRequest`
|
31
|
+
to enter the given state(s).
|
32
|
+
|
33
|
+
:param str monitoring_template_id: (required)
|
34
|
+
The `OCID`__ of the monitoring template.
|
35
|
+
|
36
|
+
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
|
37
|
+
|
38
|
+
:param list[str] wait_for_states:
|
39
|
+
An array of states to wait on. These should be valid values for :py:attr:`~oci.stack_monitoring.models.WorkRequest.status`
|
40
|
+
|
41
|
+
:param dict operation_kwargs:
|
42
|
+
A dictionary of keyword arguments to pass to :py:func:`~oci.stack_monitoring.StackMonitoringClient.apply_monitoring_template`
|
43
|
+
|
44
|
+
:param dict waiter_kwargs:
|
45
|
+
A dictionary of keyword arguments to pass to the :py:func:`oci.wait_until` function. For example, you could pass ``max_interval_seconds`` or ``max_interval_seconds``
|
46
|
+
as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
|
47
|
+
"""
|
48
|
+
operation_result = self.client.apply_monitoring_template(monitoring_template_id, **operation_kwargs)
|
49
|
+
if not wait_for_states:
|
50
|
+
return operation_result
|
51
|
+
lowered_wait_for_states = [w.lower() for w in wait_for_states]
|
52
|
+
if 'opc-work-request-id' not in operation_result.headers:
|
53
|
+
return operation_result
|
54
|
+
wait_for_resource_id = operation_result.headers['opc-work-request-id']
|
55
|
+
|
56
|
+
try:
|
57
|
+
waiter_result = oci.wait_until(
|
58
|
+
self.client,
|
59
|
+
self.client.get_work_request(wait_for_resource_id),
|
60
|
+
evaluate_response=lambda r: getattr(r.data, 'status') and getattr(r.data, 'status').lower() in lowered_wait_for_states,
|
61
|
+
**waiter_kwargs
|
62
|
+
)
|
63
|
+
result_to_return = waiter_result
|
64
|
+
|
65
|
+
return result_to_return
|
66
|
+
except Exception as e:
|
67
|
+
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
68
|
+
|
28
69
|
def change_monitored_resource_compartment_and_wait_for_state(self, monitored_resource_id, change_monitored_resource_compartment_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
|
29
70
|
"""
|
30
71
|
Calls :py:func:`~oci.stack_monitoring.StackMonitoringClient.change_monitored_resource_compartment` and waits for the :py:class:`~oci.stack_monitoring.models.WorkRequest`
|
@@ -69,6 +110,53 @@ class StackMonitoringClientCompositeOperations(object):
|
|
69
110
|
except Exception as e:
|
70
111
|
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
71
112
|
|
113
|
+
def create_alarm_condition_and_wait_for_state(self, create_alarm_condition_details, monitoring_template_id, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
|
114
|
+
"""
|
115
|
+
Calls :py:func:`~oci.stack_monitoring.StackMonitoringClient.create_alarm_condition` and waits for the :py:class:`~oci.stack_monitoring.models.AlarmCondition` acted upon
|
116
|
+
to enter the given state(s).
|
117
|
+
|
118
|
+
:param oci.stack_monitoring.models.CreateAlarmConditionDetails create_alarm_condition_details: (required)
|
119
|
+
Details required for creating a new alarm condition
|
120
|
+
|
121
|
+
:param str monitoring_template_id: (required)
|
122
|
+
The `OCID`__ of the monitoring template.
|
123
|
+
|
124
|
+
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
|
125
|
+
|
126
|
+
:param list[str] wait_for_states:
|
127
|
+
An array of states to wait on. These should be valid values for :py:attr:`~oci.stack_monitoring.models.AlarmCondition.lifecycle_state`
|
128
|
+
|
129
|
+
:param dict operation_kwargs:
|
130
|
+
A dictionary of keyword arguments to pass to :py:func:`~oci.stack_monitoring.StackMonitoringClient.create_alarm_condition`
|
131
|
+
|
132
|
+
:param dict waiter_kwargs:
|
133
|
+
A dictionary of keyword arguments to pass to the :py:func:`oci.wait_until` function. For example, you could pass ``max_interval_seconds`` or ``max_interval_seconds``
|
134
|
+
as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
|
135
|
+
"""
|
136
|
+
operation_result = self.client.create_alarm_condition(create_alarm_condition_details, monitoring_template_id, **operation_kwargs)
|
137
|
+
if not wait_for_states:
|
138
|
+
return operation_result
|
139
|
+
lowered_wait_for_states = [w.lower() for w in wait_for_states]
|
140
|
+
alarm_condition_id = operation_result.data.id
|
141
|
+
|
142
|
+
try:
|
143
|
+
waiter_result = oci.wait_until(
|
144
|
+
self.client,
|
145
|
+
self.client.get_alarm_condition(alarm_condition_id, monitoring_template_id), # noqa: F821
|
146
|
+
evaluate_response=lambda r: getattr(r.data, 'lifecycle_state') and getattr(r.data, 'lifecycle_state').lower() in lowered_wait_for_states,
|
147
|
+
**waiter_kwargs
|
148
|
+
)
|
149
|
+
result_to_return = waiter_result
|
150
|
+
|
151
|
+
return result_to_return
|
152
|
+
except (NameError, TypeError) as e:
|
153
|
+
if not e.args:
|
154
|
+
e.args = ('',)
|
155
|
+
e.args = e.args + ('This composite operation is currently not supported in the SDK. Please use the operation from the service client and use waiters as an alternative. For more information on waiters, visit: "https://docs.oracle.com/en-us/iaas/tools/python/latest/api/waiters.html"', )
|
156
|
+
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
157
|
+
except Exception as e:
|
158
|
+
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
159
|
+
|
72
160
|
def create_baselineable_metric_and_wait_for_state(self, create_baselineable_metric_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
|
73
161
|
"""
|
74
162
|
Calls :py:func:`~oci.stack_monitoring.StackMonitoringClient.create_baselineable_metric` and waits for the :py:class:`~oci.stack_monitoring.models.BaselineableMetric` acted upon
|
@@ -396,6 +484,48 @@ class StackMonitoringClientCompositeOperations(object):
|
|
396
484
|
except Exception as e:
|
397
485
|
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
398
486
|
|
487
|
+
def create_monitoring_template_and_wait_for_state(self, create_monitoring_template_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
|
488
|
+
"""
|
489
|
+
Calls :py:func:`~oci.stack_monitoring.StackMonitoringClient.create_monitoring_template` and waits for the :py:class:`~oci.stack_monitoring.models.MonitoringTemplate` acted upon
|
490
|
+
to enter the given state(s).
|
491
|
+
|
492
|
+
:param oci.stack_monitoring.models.CreateMonitoringTemplateDetails create_monitoring_template_details: (required)
|
493
|
+
Details required for creating a new monitoring template.
|
494
|
+
|
495
|
+
:param list[str] wait_for_states:
|
496
|
+
An array of states to wait on. These should be valid values for :py:attr:`~oci.stack_monitoring.models.MonitoringTemplate.lifecycle_state`
|
497
|
+
|
498
|
+
:param dict operation_kwargs:
|
499
|
+
A dictionary of keyword arguments to pass to :py:func:`~oci.stack_monitoring.StackMonitoringClient.create_monitoring_template`
|
500
|
+
|
501
|
+
:param dict waiter_kwargs:
|
502
|
+
A dictionary of keyword arguments to pass to the :py:func:`oci.wait_until` function. For example, you could pass ``max_interval_seconds`` or ``max_interval_seconds``
|
503
|
+
as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
|
504
|
+
"""
|
505
|
+
operation_result = self.client.create_monitoring_template(create_monitoring_template_details, **operation_kwargs)
|
506
|
+
if not wait_for_states:
|
507
|
+
return operation_result
|
508
|
+
lowered_wait_for_states = [w.lower() for w in wait_for_states]
|
509
|
+
monitoring_template_id = operation_result.data.id
|
510
|
+
|
511
|
+
try:
|
512
|
+
waiter_result = oci.wait_until(
|
513
|
+
self.client,
|
514
|
+
self.client.get_monitoring_template(monitoring_template_id), # noqa: F821
|
515
|
+
evaluate_response=lambda r: getattr(r.data, 'lifecycle_state') and getattr(r.data, 'lifecycle_state').lower() in lowered_wait_for_states,
|
516
|
+
**waiter_kwargs
|
517
|
+
)
|
518
|
+
result_to_return = waiter_result
|
519
|
+
|
520
|
+
return result_to_return
|
521
|
+
except (NameError, TypeError) as e:
|
522
|
+
if not e.args:
|
523
|
+
e.args = ('',)
|
524
|
+
e.args = e.args + ('This composite operation is currently not supported in the SDK. Please use the operation from the service client and use waiters as an alternative. For more information on waiters, visit: "https://docs.oracle.com/en-us/iaas/tools/python/latest/api/waiters.html"', )
|
525
|
+
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
526
|
+
except Exception as e:
|
527
|
+
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
528
|
+
|
399
529
|
def create_process_set_and_wait_for_state(self, create_process_set_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
|
400
530
|
"""
|
401
531
|
Calls :py:func:`~oci.stack_monitoring.StackMonitoringClient.create_process_set` and waits for the :py:class:`~oci.stack_monitoring.models.ProcessSet` acted upon
|
@@ -835,6 +965,67 @@ class StackMonitoringClientCompositeOperations(object):
|
|
835
965
|
except Exception as e:
|
836
966
|
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
837
967
|
|
968
|
+
def delete_monitoring_template_and_wait_for_state(self, monitoring_template_id, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
|
969
|
+
"""
|
970
|
+
Calls :py:func:`~oci.stack_monitoring.StackMonitoringClient.delete_monitoring_template` and waits for the :py:class:`~oci.stack_monitoring.models.MonitoringTemplate` acted upon
|
971
|
+
to enter the given state(s).
|
972
|
+
|
973
|
+
:param str monitoring_template_id: (required)
|
974
|
+
The `OCID`__ of the monitoring template.
|
975
|
+
|
976
|
+
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
|
977
|
+
|
978
|
+
:param list[str] wait_for_states:
|
979
|
+
An array of states to wait on. These should be valid values for :py:attr:`~oci.stack_monitoring.models.MonitoringTemplate.lifecycle_state`
|
980
|
+
|
981
|
+
:param dict operation_kwargs:
|
982
|
+
A dictionary of keyword arguments to pass to :py:func:`~oci.stack_monitoring.StackMonitoringClient.delete_monitoring_template`
|
983
|
+
|
984
|
+
:param dict waiter_kwargs:
|
985
|
+
A dictionary of keyword arguments to pass to the :py:func:`oci.wait_until` function. For example, you could pass ``max_interval_seconds`` or ``max_interval_seconds``
|
986
|
+
as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
|
987
|
+
"""
|
988
|
+
initial_get_result = self.client.get_monitoring_template(monitoring_template_id)
|
989
|
+
operation_result = None
|
990
|
+
try:
|
991
|
+
operation_result = self.client.delete_monitoring_template(monitoring_template_id, **operation_kwargs)
|
992
|
+
except oci.exceptions.ServiceError as e:
|
993
|
+
if e.status == 404:
|
994
|
+
return WAIT_RESOURCE_NOT_FOUND
|
995
|
+
else:
|
996
|
+
raise e
|
997
|
+
|
998
|
+
if not wait_for_states:
|
999
|
+
return operation_result
|
1000
|
+
lowered_wait_for_states = [w.lower() for w in wait_for_states]
|
1001
|
+
|
1002
|
+
try:
|
1003
|
+
if ("succeed_on_not_found" in waiter_kwargs) and (waiter_kwargs["succeed_on_not_found"] is False):
|
1004
|
+
self.client.base_client.logger.warning("The waiter kwarg succeed_on_not_found was passed as False for the delete composite operation delete_monitoring_template, this would result in the operation to fail if the resource is not found! Please, do not pass this kwarg if this was not intended")
|
1005
|
+
else:
|
1006
|
+
"""
|
1007
|
+
If the user does not send in this value, we set it to True by default.
|
1008
|
+
We are doing this because during a delete resource scenario and waiting on its state, the service can
|
1009
|
+
return a 404 NOT FOUND exception as the resource was deleted and a get on its state would fail
|
1010
|
+
"""
|
1011
|
+
waiter_kwargs["succeed_on_not_found"] = True
|
1012
|
+
waiter_result = oci.wait_until(
|
1013
|
+
self.client,
|
1014
|
+
initial_get_result, # noqa: F821
|
1015
|
+
evaluate_response=lambda r: getattr(r.data, 'lifecycle_state') and getattr(r.data, 'lifecycle_state').lower() in lowered_wait_for_states,
|
1016
|
+
**waiter_kwargs
|
1017
|
+
)
|
1018
|
+
result_to_return = waiter_result
|
1019
|
+
|
1020
|
+
return result_to_return
|
1021
|
+
except (NameError, TypeError) as e:
|
1022
|
+
if not e.args:
|
1023
|
+
e.args = ('',)
|
1024
|
+
e.args = e.args + ('This composite operation is currently not supported in the SDK. Please use the operation from the service client and use waiters as an alternative. For more information on waiters, visit: "https://docs.oracle.com/en-us/iaas/tools/python/latest/api/waiters.html"', )
|
1025
|
+
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
1026
|
+
except Exception as e:
|
1027
|
+
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
1028
|
+
|
838
1029
|
def delete_process_set_and_wait_for_state(self, process_set_id, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
|
839
1030
|
"""
|
840
1031
|
Calls :py:func:`~oci.stack_monitoring.StackMonitoringClient.delete_process_set` and waits for the :py:class:`~oci.stack_monitoring.models.ProcessSet` acted upon
|
@@ -1193,6 +1384,99 @@ class StackMonitoringClientCompositeOperations(object):
|
|
1193
1384
|
except Exception as e:
|
1194
1385
|
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
1195
1386
|
|
1387
|
+
def unapply_monitoring_template_and_wait_for_state(self, monitoring_template_id, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
|
1388
|
+
"""
|
1389
|
+
Calls :py:func:`~oci.stack_monitoring.StackMonitoringClient.unapply_monitoring_template` and waits for the :py:class:`~oci.stack_monitoring.models.WorkRequest`
|
1390
|
+
to enter the given state(s).
|
1391
|
+
|
1392
|
+
:param str monitoring_template_id: (required)
|
1393
|
+
The `OCID`__ of the monitoring template.
|
1394
|
+
|
1395
|
+
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
|
1396
|
+
|
1397
|
+
:param list[str] wait_for_states:
|
1398
|
+
An array of states to wait on. These should be valid values for :py:attr:`~oci.stack_monitoring.models.WorkRequest.status`
|
1399
|
+
|
1400
|
+
:param dict operation_kwargs:
|
1401
|
+
A dictionary of keyword arguments to pass to :py:func:`~oci.stack_monitoring.StackMonitoringClient.unapply_monitoring_template`
|
1402
|
+
|
1403
|
+
:param dict waiter_kwargs:
|
1404
|
+
A dictionary of keyword arguments to pass to the :py:func:`oci.wait_until` function. For example, you could pass ``max_interval_seconds`` or ``max_interval_seconds``
|
1405
|
+
as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
|
1406
|
+
"""
|
1407
|
+
operation_result = self.client.unapply_monitoring_template(monitoring_template_id, **operation_kwargs)
|
1408
|
+
if not wait_for_states:
|
1409
|
+
return operation_result
|
1410
|
+
lowered_wait_for_states = [w.lower() for w in wait_for_states]
|
1411
|
+
if 'opc-work-request-id' not in operation_result.headers:
|
1412
|
+
return operation_result
|
1413
|
+
wait_for_resource_id = operation_result.headers['opc-work-request-id']
|
1414
|
+
|
1415
|
+
try:
|
1416
|
+
waiter_result = oci.wait_until(
|
1417
|
+
self.client,
|
1418
|
+
self.client.get_work_request(wait_for_resource_id),
|
1419
|
+
evaluate_response=lambda r: getattr(r.data, 'status') and getattr(r.data, 'status').lower() in lowered_wait_for_states,
|
1420
|
+
**waiter_kwargs
|
1421
|
+
)
|
1422
|
+
result_to_return = waiter_result
|
1423
|
+
|
1424
|
+
return result_to_return
|
1425
|
+
except Exception as e:
|
1426
|
+
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
1427
|
+
|
1428
|
+
def update_alarm_condition_and_wait_for_state(self, update_alarm_condition_details, alarm_condition_id, monitoring_template_id, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
|
1429
|
+
"""
|
1430
|
+
Calls :py:func:`~oci.stack_monitoring.StackMonitoringClient.update_alarm_condition` and waits for the :py:class:`~oci.stack_monitoring.models.AlarmCondition` acted upon
|
1431
|
+
to enter the given state(s).
|
1432
|
+
|
1433
|
+
:param oci.stack_monitoring.models.UpdateAlarmConditionDetails update_alarm_condition_details: (required)
|
1434
|
+
Details required for updating a new alarm condition
|
1435
|
+
|
1436
|
+
:param str alarm_condition_id: (required)
|
1437
|
+
The `OCID`__ of the alarm condition.
|
1438
|
+
|
1439
|
+
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
|
1440
|
+
|
1441
|
+
:param str monitoring_template_id: (required)
|
1442
|
+
The `OCID`__ of the monitoring template.
|
1443
|
+
|
1444
|
+
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
|
1445
|
+
|
1446
|
+
:param list[str] wait_for_states:
|
1447
|
+
An array of states to wait on. These should be valid values for :py:attr:`~oci.stack_monitoring.models.AlarmCondition.lifecycle_state`
|
1448
|
+
|
1449
|
+
:param dict operation_kwargs:
|
1450
|
+
A dictionary of keyword arguments to pass to :py:func:`~oci.stack_monitoring.StackMonitoringClient.update_alarm_condition`
|
1451
|
+
|
1452
|
+
:param dict waiter_kwargs:
|
1453
|
+
A dictionary of keyword arguments to pass to the :py:func:`oci.wait_until` function. For example, you could pass ``max_interval_seconds`` or ``max_interval_seconds``
|
1454
|
+
as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
|
1455
|
+
"""
|
1456
|
+
operation_result = self.client.update_alarm_condition(update_alarm_condition_details, alarm_condition_id, monitoring_template_id, **operation_kwargs)
|
1457
|
+
if not wait_for_states:
|
1458
|
+
return operation_result
|
1459
|
+
lowered_wait_for_states = [w.lower() for w in wait_for_states]
|
1460
|
+
alarm_condition_id = operation_result.data.id
|
1461
|
+
|
1462
|
+
try:
|
1463
|
+
waiter_result = oci.wait_until(
|
1464
|
+
self.client,
|
1465
|
+
self.client.get_alarm_condition(alarm_condition_id, monitoring_template_id), # noqa: F821
|
1466
|
+
evaluate_response=lambda r: getattr(r.data, 'lifecycle_state') and getattr(r.data, 'lifecycle_state').lower() in lowered_wait_for_states,
|
1467
|
+
**waiter_kwargs
|
1468
|
+
)
|
1469
|
+
result_to_return = waiter_result
|
1470
|
+
|
1471
|
+
return result_to_return
|
1472
|
+
except (NameError, TypeError) as e:
|
1473
|
+
if not e.args:
|
1474
|
+
e.args = ('',)
|
1475
|
+
e.args = e.args + ('This composite operation is currently not supported in the SDK. Please use the operation from the service client and use waiters as an alternative. For more information on waiters, visit: "https://docs.oracle.com/en-us/iaas/tools/python/latest/api/waiters.html"', )
|
1476
|
+
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
1477
|
+
except Exception as e:
|
1478
|
+
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
1479
|
+
|
1196
1480
|
def update_and_propagate_tags_and_wait_for_state(self, monitored_resource_id, update_and_propagate_tags_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
|
1197
1481
|
"""
|
1198
1482
|
Calls :py:func:`~oci.stack_monitoring.StackMonitoringClient.update_and_propagate_tags` and waits for the :py:class:`~oci.stack_monitoring.models.WorkRequest`
|
@@ -1556,6 +1840,53 @@ class StackMonitoringClientCompositeOperations(object):
|
|
1556
1840
|
except Exception as e:
|
1557
1841
|
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
1558
1842
|
|
1843
|
+
def update_monitoring_template_and_wait_for_state(self, monitoring_template_id, update_monitoring_template_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
|
1844
|
+
"""
|
1845
|
+
Calls :py:func:`~oci.stack_monitoring.StackMonitoringClient.update_monitoring_template` and waits for the :py:class:`~oci.stack_monitoring.models.MonitoringTemplate` acted upon
|
1846
|
+
to enter the given state(s).
|
1847
|
+
|
1848
|
+
:param str monitoring_template_id: (required)
|
1849
|
+
The `OCID`__ of the monitoring template.
|
1850
|
+
|
1851
|
+
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
|
1852
|
+
|
1853
|
+
:param oci.stack_monitoring.models.UpdateMonitoringTemplateDetails update_monitoring_template_details: (required)
|
1854
|
+
The information to be updated.
|
1855
|
+
|
1856
|
+
:param list[str] wait_for_states:
|
1857
|
+
An array of states to wait on. These should be valid values for :py:attr:`~oci.stack_monitoring.models.MonitoringTemplate.lifecycle_state`
|
1858
|
+
|
1859
|
+
:param dict operation_kwargs:
|
1860
|
+
A dictionary of keyword arguments to pass to :py:func:`~oci.stack_monitoring.StackMonitoringClient.update_monitoring_template`
|
1861
|
+
|
1862
|
+
:param dict waiter_kwargs:
|
1863
|
+
A dictionary of keyword arguments to pass to the :py:func:`oci.wait_until` function. For example, you could pass ``max_interval_seconds`` or ``max_interval_seconds``
|
1864
|
+
as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
|
1865
|
+
"""
|
1866
|
+
operation_result = self.client.update_monitoring_template(monitoring_template_id, update_monitoring_template_details, **operation_kwargs)
|
1867
|
+
if not wait_for_states:
|
1868
|
+
return operation_result
|
1869
|
+
lowered_wait_for_states = [w.lower() for w in wait_for_states]
|
1870
|
+
monitoring_template_id = operation_result.data.id
|
1871
|
+
|
1872
|
+
try:
|
1873
|
+
waiter_result = oci.wait_until(
|
1874
|
+
self.client,
|
1875
|
+
self.client.get_monitoring_template(monitoring_template_id), # noqa: F821
|
1876
|
+
evaluate_response=lambda r: getattr(r.data, 'lifecycle_state') and getattr(r.data, 'lifecycle_state').lower() in lowered_wait_for_states,
|
1877
|
+
**waiter_kwargs
|
1878
|
+
)
|
1879
|
+
result_to_return = waiter_result
|
1880
|
+
|
1881
|
+
return result_to_return
|
1882
|
+
except (NameError, TypeError) as e:
|
1883
|
+
if not e.args:
|
1884
|
+
e.args = ('',)
|
1885
|
+
e.args = e.args + ('This composite operation is currently not supported in the SDK. Please use the operation from the service client and use waiters as an alternative. For more information on waiters, visit: "https://docs.oracle.com/en-us/iaas/tools/python/latest/api/waiters.html"', )
|
1886
|
+
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
1887
|
+
except Exception as e:
|
1888
|
+
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
1889
|
+
|
1559
1890
|
def update_process_set_and_wait_for_state(self, process_set_id, update_process_set_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
|
1560
1891
|
"""
|
1561
1892
|
Calls :py:func:`~oci.stack_monitoring.StackMonitoringClient.update_process_set` and waits for the :py:class:`~oci.stack_monitoring.models.ProcessSet` acted upon
|
@@ -150,7 +150,7 @@ class StreamAdminClient(object):
|
|
150
150
|
:rtype: :class:`~oci.response.Response`
|
151
151
|
|
152
152
|
:example:
|
153
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
153
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.145.0/streaming/change_connect_harness_compartment.py.html>`__ to see an example of how to use change_connect_harness_compartment API.
|
154
154
|
"""
|
155
155
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
156
156
|
required_arguments = ['connectHarnessId']
|
@@ -259,7 +259,7 @@ class StreamAdminClient(object):
|
|
259
259
|
:rtype: :class:`~oci.response.Response`
|
260
260
|
|
261
261
|
:example:
|
262
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
262
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.145.0/streaming/change_stream_compartment.py.html>`__ to see an example of how to use change_stream_compartment API.
|
263
263
|
"""
|
264
264
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
265
265
|
required_arguments = ['streamId']
|
@@ -366,7 +366,7 @@ class StreamAdminClient(object):
|
|
366
366
|
:rtype: :class:`~oci.response.Response`
|
367
367
|
|
368
368
|
:example:
|
369
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
369
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.145.0/streaming/change_stream_pool_compartment.py.html>`__ to see an example of how to use change_stream_pool_compartment API.
|
370
370
|
"""
|
371
371
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
372
372
|
required_arguments = ['streamPoolId']
|
@@ -471,7 +471,7 @@ class StreamAdminClient(object):
|
|
471
471
|
:rtype: :class:`~oci.response.Response`
|
472
472
|
|
473
473
|
:example:
|
474
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
474
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.145.0/streaming/create_connect_harness.py.html>`__ to see an example of how to use create_connect_harness API.
|
475
475
|
"""
|
476
476
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
477
477
|
required_arguments = []
|
@@ -567,7 +567,7 @@ class StreamAdminClient(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.145.0/streaming/create_stream.py.html>`__ to see an example of how to use create_stream API.
|
571
571
|
"""
|
572
572
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
573
573
|
required_arguments = []
|
@@ -661,7 +661,7 @@ class StreamAdminClient(object):
|
|
661
661
|
:rtype: :class:`~oci.response.Response`
|
662
662
|
|
663
663
|
:example:
|
664
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
664
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.145.0/streaming/create_stream_pool.py.html>`__ to see an example of how to use create_stream_pool API.
|
665
665
|
"""
|
666
666
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
667
667
|
required_arguments = []
|
@@ -760,7 +760,7 @@ class StreamAdminClient(object):
|
|
760
760
|
:rtype: :class:`~oci.response.Response`
|
761
761
|
|
762
762
|
:example:
|
763
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
763
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.145.0/streaming/delete_connect_harness.py.html>`__ to see an example of how to use delete_connect_harness API.
|
764
764
|
"""
|
765
765
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
766
766
|
required_arguments = ['connectHarnessId']
|
@@ -866,7 +866,7 @@ class StreamAdminClient(object):
|
|
866
866
|
:rtype: :class:`~oci.response.Response`
|
867
867
|
|
868
868
|
:example:
|
869
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
869
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.145.0/streaming/delete_stream.py.html>`__ to see an example of how to use delete_stream API.
|
870
870
|
"""
|
871
871
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
872
872
|
required_arguments = ['streamId']
|
@@ -969,7 +969,7 @@ class StreamAdminClient(object):
|
|
969
969
|
:rtype: :class:`~oci.response.Response`
|
970
970
|
|
971
971
|
:example:
|
972
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
972
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.145.0/streaming/delete_stream_pool.py.html>`__ to see an example of how to use delete_stream_pool API.
|
973
973
|
"""
|
974
974
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
975
975
|
required_arguments = ['streamPoolId']
|
@@ -1068,7 +1068,7 @@ class StreamAdminClient(object):
|
|
1068
1068
|
:rtype: :class:`~oci.response.Response`
|
1069
1069
|
|
1070
1070
|
:example:
|
1071
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1071
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.145.0/streaming/get_connect_harness.py.html>`__ to see an example of how to use get_connect_harness API.
|
1072
1072
|
"""
|
1073
1073
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1074
1074
|
required_arguments = ['connectHarnessId']
|
@@ -1167,7 +1167,7 @@ class StreamAdminClient(object):
|
|
1167
1167
|
:rtype: :class:`~oci.response.Response`
|
1168
1168
|
|
1169
1169
|
:example:
|
1170
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1170
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.145.0/streaming/get_stream.py.html>`__ to see an example of how to use get_stream API.
|
1171
1171
|
"""
|
1172
1172
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1173
1173
|
required_arguments = ['streamId']
|
@@ -1266,7 +1266,7 @@ class StreamAdminClient(object):
|
|
1266
1266
|
:rtype: :class:`~oci.response.Response`
|
1267
1267
|
|
1268
1268
|
:example:
|
1269
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1269
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.145.0/streaming/get_stream_pool.py.html>`__ to see an example of how to use get_stream_pool API.
|
1270
1270
|
"""
|
1271
1271
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1272
1272
|
required_arguments = ['streamPoolId']
|
@@ -1392,7 +1392,7 @@ class StreamAdminClient(object):
|
|
1392
1392
|
:rtype: :class:`~oci.response.Response`
|
1393
1393
|
|
1394
1394
|
:example:
|
1395
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1395
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.145.0/streaming/list_connect_harnesses.py.html>`__ to see an example of how to use list_connect_harnesses API.
|
1396
1396
|
"""
|
1397
1397
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1398
1398
|
required_arguments = ['compartmentId']
|
@@ -1548,7 +1548,7 @@ class StreamAdminClient(object):
|
|
1548
1548
|
:rtype: :class:`~oci.response.Response`
|
1549
1549
|
|
1550
1550
|
:example:
|
1551
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1551
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.145.0/streaming/list_stream_pools.py.html>`__ to see an example of how to use list_stream_pools API.
|
1552
1552
|
"""
|
1553
1553
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1554
1554
|
required_arguments = ['compartmentId']
|
@@ -1710,7 +1710,7 @@ class StreamAdminClient(object):
|
|
1710
1710
|
:rtype: :class:`~oci.response.Response`
|
1711
1711
|
|
1712
1712
|
:example:
|
1713
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1713
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.145.0/streaming/list_streams.py.html>`__ to see an example of how to use list_streams API.
|
1714
1714
|
"""
|
1715
1715
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1716
1716
|
required_arguments = []
|
@@ -1848,7 +1848,7 @@ class StreamAdminClient(object):
|
|
1848
1848
|
:rtype: :class:`~oci.response.Response`
|
1849
1849
|
|
1850
1850
|
:example:
|
1851
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1851
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.145.0/streaming/update_connect_harness.py.html>`__ to see an example of how to use update_connect_harness API.
|
1852
1852
|
"""
|
1853
1853
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1854
1854
|
required_arguments = ['connectHarnessId']
|
@@ -1957,7 +1957,7 @@ class StreamAdminClient(object):
|
|
1957
1957
|
:rtype: :class:`~oci.response.Response`
|
1958
1958
|
|
1959
1959
|
:example:
|
1960
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1960
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.145.0/streaming/update_stream.py.html>`__ to see an example of how to use update_stream API.
|
1961
1961
|
"""
|
1962
1962
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1963
1963
|
required_arguments = ['streamId']
|
@@ -2066,7 +2066,7 @@ class StreamAdminClient(object):
|
|
2066
2066
|
:rtype: :class:`~oci.response.Response`
|
2067
2067
|
|
2068
2068
|
:example:
|
2069
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
2069
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.145.0/streaming/update_stream_pool.py.html>`__ to see an example of how to use update_stream_pool API.
|
2070
2070
|
"""
|
2071
2071
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2072
2072
|
required_arguments = ['streamPoolId']
|
oci/streaming/stream_client.py
CHANGED
@@ -144,7 +144,7 @@ class StreamClient(object):
|
|
144
144
|
:rtype: :class:`~oci.response.Response`
|
145
145
|
|
146
146
|
:example:
|
147
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
147
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.145.0/streaming/consumer_commit.py.html>`__ to see an example of how to use consumer_commit API.
|
148
148
|
"""
|
149
149
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
150
150
|
required_arguments = ['streamId', 'cursor']
|
@@ -253,7 +253,7 @@ class StreamClient(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.145.0/streaming/consumer_heartbeat.py.html>`__ to see an example of how to use consumer_heartbeat API.
|
257
257
|
"""
|
258
258
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
259
259
|
required_arguments = ['streamId', 'cursor']
|
@@ -366,7 +366,7 @@ class StreamClient(object):
|
|
366
366
|
:rtype: :class:`~oci.response.Response`
|
367
367
|
|
368
368
|
:example:
|
369
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
369
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.145.0/streaming/create_cursor.py.html>`__ to see an example of how to use create_cursor API.
|
370
370
|
"""
|
371
371
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
372
372
|
required_arguments = ['streamId']
|
@@ -470,7 +470,7 @@ class StreamClient(object):
|
|
470
470
|
:rtype: :class:`~oci.response.Response`
|
471
471
|
|
472
472
|
:example:
|
473
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
473
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.145.0/streaming/create_group_cursor.py.html>`__ to see an example of how to use create_group_cursor API.
|
474
474
|
"""
|
475
475
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
476
476
|
required_arguments = ['streamId']
|
@@ -574,7 +574,7 @@ class StreamClient(object):
|
|
574
574
|
:rtype: :class:`~oci.response.Response`
|
575
575
|
|
576
576
|
:example:
|
577
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
577
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.145.0/streaming/get_group.py.html>`__ to see an example of how to use get_group API.
|
578
578
|
"""
|
579
579
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
580
580
|
required_arguments = ['streamId', 'groupName']
|
@@ -683,7 +683,7 @@ class StreamClient(object):
|
|
683
683
|
:rtype: :class:`~oci.response.Response`
|
684
684
|
|
685
685
|
:example:
|
686
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
686
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.145.0/streaming/get_messages.py.html>`__ to see an example of how to use get_messages API.
|
687
687
|
"""
|
688
688
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
689
689
|
required_arguments = ['streamId', 'cursor']
|
@@ -797,7 +797,7 @@ class StreamClient(object):
|
|
797
797
|
:rtype: :class:`~oci.response.Response`
|
798
798
|
|
799
799
|
:example:
|
800
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
800
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.145.0/streaming/put_messages.py.html>`__ to see an example of how to use put_messages API.
|
801
801
|
"""
|
802
802
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
803
803
|
required_arguments = ['streamId']
|
@@ -904,7 +904,7 @@ class StreamClient(object):
|
|
904
904
|
:rtype: :class:`~oci.response.Response`
|
905
905
|
|
906
906
|
:example:
|
907
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
907
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.145.0/streaming/update_group.py.html>`__ to see an example of how to use update_group API.
|
908
908
|
"""
|
909
909
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
910
910
|
required_arguments = ['streamId', 'groupName']
|