oci 2.11.0 → 2.12.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -0
- data/lib/oci.rb +1 -0
- data/lib/oci/analytics/analytics_client.rb +15 -0
- data/lib/oci/announcements_service/announcement_client.rb +4 -0
- data/lib/oci/apigateway/api_gateway_client.rb +15 -0
- data/lib/oci/apigateway/deployment_client.rb +6 -0
- data/lib/oci/apigateway/gateway_client.rb +6 -0
- data/lib/oci/apigateway/work_requests_client.rb +5 -0
- data/lib/oci/application_migration/application_migration_client.rb +19 -0
- data/lib/oci/audit/audit_client.rb +4 -1
- data/lib/oci/audit/models/audit_event.rb +8 -7
- data/lib/oci/audit/models/data.rb +0 -107
- data/lib/oci/audit/models/identity.rb +0 -17
- data/lib/oci/audit/models/request.rb +0 -46
- data/lib/oci/audit/models/response.rb +0 -34
- data/lib/oci/audit/models/state_change.rb +0 -9
- data/lib/oci/auth/signers/ephemeral_resource_principals_signer.rb +0 -1
- data/lib/oci/auth/signers/resource_principals_signer.rb +1 -1
- data/lib/oci/autoscaling/auto_scaling_client.rb +11 -0
- data/lib/oci/bds/bds_client.rb +16 -0
- data/lib/oci/blockchain/blockchain.rb +1 -0
- data/lib/oci/blockchain/blockchain_platform_client.rb +57 -0
- data/lib/oci/blockchain/models/blockchain_platform.rb +36 -3
- data/lib/oci/blockchain/models/blockchain_platform_by_hostname.rb +1 -1
- data/lib/oci/blockchain/models/blockchain_platform_summary.rb +1 -1
- data/lib/oci/blockchain/models/create_blockchain_platform_details.rb +2 -2
- data/lib/oci/blockchain/models/scaled_blockchain_platform_preview.rb +1 -1
- data/lib/oci/blockchain/models/work_request.rb +1 -0
- data/lib/oci/blockchain/models/work_request_resource.rb +18 -4
- data/lib/oci/blockchain/models/work_request_resource_sub_type_detail.rb +206 -0
- data/lib/oci/blockchain/models/work_request_summary.rb +1 -0
- data/lib/oci/budget/budget_client.rb +10 -0
- data/lib/oci/cims/incident_client.rb +7 -0
- data/lib/oci/cims/user_client.rb +1 -0
- data/lib/oci/cloud_guard/cloud_guard_client.rb +82 -0
- data/lib/oci/cloud_guard/models/rule_summary.rb +1 -0
- data/lib/oci/compute_instance_agent/compute_instance_agent_client.rb +6 -0
- data/lib/oci/container_engine/container_engine_client.rb +18 -0
- data/lib/oci/core/blockstorage_client.rb +53 -0
- data/lib/oci/core/compute_client.rb +71 -0
- data/lib/oci/core/compute_management_client.rb +28 -0
- data/lib/oci/core/virtual_network_client.rb +194 -0
- data/lib/oci/data_catalog/data_catalog.rb +5 -0
- data/lib/oci/data_catalog/data_catalog_client.rb +307 -4
- data/lib/oci/data_catalog/models/attribute.rb +45 -4
- data/lib/oci/data_catalog/models/attribute_summary.rb +45 -4
- data/lib/oci/data_catalog/models/faceted_search_aggregation.rb +55 -4
- data/lib/oci/{database/models/create_autonomous_data_warehouse_backup_details.rb → data_catalog/models/rule_attribute.rb} +25 -18
- data/lib/oci/data_catalog/models/rule_collection.rb +161 -0
- data/lib/oci/data_catalog/models/rule_origin_type.rb +12 -0
- data/lib/oci/data_catalog/models/rule_summary.rb +439 -0
- data/lib/oci/data_catalog/models/rule_type.rb +12 -0
- data/lib/oci/data_catalog/models/search_result_collection.rb +18 -4
- data/lib/oci/data_flow/data_flow_client.rb +24 -0
- data/lib/oci/data_integration/data_integration_client.rb +92 -0
- data/lib/oci/data_safe/data_safe.rb +8 -0
- data/lib/oci/data_safe/data_safe_client.rb +606 -13
- data/lib/oci/data_safe/data_safe_client_composite_operations.rb +198 -0
- data/lib/oci/data_safe/models/change_on_prem_connector_compartment_details.rb +154 -0
- data/lib/oci/data_safe/models/create_data_safe_private_endpoint_details.rb +1 -1
- data/lib/oci/{database/models/update_autonomous_data_warehouse_details.rb → data_safe/models/create_on_prem_connector_details.rb} +27 -49
- data/lib/oci/data_safe/models/data_safe_configuration.rb +5 -5
- data/lib/oci/data_safe/models/data_safe_private_endpoint.rb +2 -2
- data/lib/oci/data_safe/models/data_safe_private_endpoint_summary.rb +1 -1
- data/lib/oci/data_safe/models/enable_data_safe_configuration_details.rb +6 -40
- data/lib/oci/{database/models/generate_autonomous_data_warehouse_wallet_details.rb → data_safe/models/generate_on_prem_connector_configuration_details.rb} +3 -4
- data/lib/oci/{database/models/autonomous_data_warehouse_backup_summary.rb → data_safe/models/on_prem_connector.rb} +98 -98
- data/lib/oci/data_safe/models/on_prem_connector_lifecycle_state.rb +16 -0
- data/lib/oci/{database/models/autonomous_data_warehouse_backup.rb → data_safe/models/on_prem_connector_summary.rb} +90 -99
- data/lib/oci/data_safe/models/service_list.rb +1 -0
- data/lib/oci/data_safe/models/update_data_safe_private_endpoint_details.rb +1 -1
- data/lib/oci/data_safe/models/update_on_prem_connector_details.rb +198 -0
- data/lib/oci/data_safe/models/update_on_prem_connector_wallet_details.rb +156 -0
- data/lib/oci/data_safe/models/work_request.rb +11 -6
- data/lib/oci/data_safe/models/work_request_error.rb +3 -4
- data/lib/oci/data_safe/models/work_request_log_entry.rb +3 -3
- data/lib/oci/data_safe/models/work_request_summary.rb +13 -8
- data/lib/oci/data_science/data_science_client.rb +34 -0
- data/lib/oci/database/database.rb +4 -8
- data/lib/oci/database/database_client.rb +523 -766
- data/lib/oci/database/database_client_composite_operations.rb +1299 -330
- data/lib/oci/database/models/activate_exadata_infrastructure_details.rb +2 -1
- data/lib/oci/database/models/autonomous_container_database.rb +3 -3
- data/lib/oci/database/models/autonomous_container_database_dataguard_association.rb +2 -2
- data/lib/oci/database/models/autonomous_container_database_summary.rb +3 -3
- data/lib/oci/database/models/autonomous_data_warehouse.rb +8 -21
- data/lib/oci/database/models/autonomous_data_warehouse_summary.rb +8 -21
- data/lib/oci/database/models/autonomous_database.rb +35 -3
- data/lib/oci/database/models/autonomous_database_apex.rb +169 -0
- data/lib/oci/database/models/autonomous_database_dataguard_association.rb +2 -2
- data/lib/oci/database/models/autonomous_database_summary.rb +35 -3
- data/lib/oci/database/models/autonomous_db_preview_version_summary.rb +2 -0
- data/lib/oci/database/models/autonomous_db_version_summary.rb +2 -0
- data/lib/oci/database/models/backup.rb +19 -5
- data/lib/oci/database/models/backup_summary.rb +19 -5
- data/lib/oci/database/models/change_cloud_exadata_infrastructure_compartment_details.rb +1 -1
- data/lib/oci/database/models/change_cloud_vm_cluster_compartment_details.rb +1 -1
- data/lib/oci/database/models/cloud_exadata_infrastructure.rb +2 -1
- data/lib/oci/database/models/cloud_exadata_infrastructure_summary.rb +2 -1
- data/lib/oci/database/models/cloud_vm_cluster.rb +1 -1
- data/lib/oci/database/models/cloud_vm_cluster_summary.rb +1 -1
- data/lib/oci/database/models/create_autonomous_container_database_details.rb +1 -1
- data/lib/oci/database/models/create_autonomous_database_base.rb +7 -3
- data/lib/oci/database/models/create_cloud_exadata_infrastructure_details.rb +1 -1
- data/lib/oci/database/models/create_cloud_vm_cluster_details.rb +2 -1
- data/lib/oci/database/models/create_database_base.rb +33 -4
- data/lib/oci/database/models/create_database_from_backup.rb +9 -1
- data/lib/oci/database/models/create_db_home_base.rb +30 -1
- data/lib/oci/database/models/create_db_home_with_db_system_id_details.rb +9 -1
- data/lib/oci/database/models/create_db_home_with_db_system_id_from_backup_details.rb +9 -1
- data/lib/oci/database/models/create_db_home_with_db_system_id_from_database_details.rb +9 -1
- data/lib/oci/database/models/create_db_home_with_vm_cluster_id_details.rb +9 -1
- data/lib/oci/database/models/create_db_home_with_vm_cluster_id_from_backup_details.rb +9 -1
- data/lib/oci/database/models/create_exadata_infrastructure_details.rb +16 -2
- data/lib/oci/database/models/create_new_database_details.rb +9 -1
- data/lib/oci/database/models/create_vm_cluster_details.rb +2 -1
- data/lib/oci/database/models/database.rb +16 -2
- data/lib/oci/database/models/database_summary.rb +16 -2
- data/lib/oci/database/models/db_home.rb +16 -2
- data/lib/oci/database/models/db_home_summary.rb +16 -2
- data/lib/oci/database/models/db_system.rb +16 -2
- data/lib/oci/database/models/db_system_summary.rb +16 -2
- data/lib/oci/database/models/exadata_db_system_migration.rb +1 -1
- data/lib/oci/database/models/exadata_db_system_migration_summary.rb +1 -1
- data/lib/oci/database/models/exadata_infrastructure.rb +15 -1
- data/lib/oci/database/models/exadata_infrastructure_summary.rb +18 -2
- data/lib/oci/database/models/flex_component_collection.rb +150 -0
- data/lib/oci/database/models/flex_component_summary.rb +197 -0
- data/lib/oci/database/models/generate_recommended_network_details.rb +1 -1
- data/lib/oci/database/models/launch_db_system_base.rb +30 -1
- data/lib/oci/database/models/launch_db_system_details.rb +9 -1
- data/lib/oci/database/models/launch_db_system_from_backup_details.rb +9 -1
- data/lib/oci/database/models/launch_db_system_from_database_details.rb +9 -1
- data/lib/oci/database/models/launch_db_system_from_db_system_details.rb +9 -1
- data/lib/oci/database/models/maintenance_run.rb +2 -1
- data/lib/oci/database/models/maintenance_run_summary.rb +2 -1
- data/lib/oci/database/models/migrate_vault_key_details.rb +170 -0
- data/lib/oci/database/models/update_autonomous_container_database_details.rb +1 -1
- data/lib/oci/database/models/update_autonomous_database_details.rb +6 -2
- data/lib/oci/database/models/update_cloud_exadata_infrastructure_details.rb +1 -1
- data/lib/oci/database/models/update_cloud_vm_cluster_details.rb +3 -2
- data/lib/oci/database/models/update_database_details.rb +1 -1
- data/lib/oci/database/models/update_details.rb +1 -1
- data/lib/oci/database/models/update_exadata_infrastructure_details.rb +16 -2
- data/lib/oci/database/models/update_history_entry_summary.rb +2 -1
- data/lib/oci/database/models/update_summary.rb +1 -1
- data/lib/oci/database/models/update_vm_cluster_details.rb +3 -1
- data/lib/oci/database/models/update_vm_cluster_network_details.rb +1 -1
- data/lib/oci/database/models/vm_cluster.rb +2 -1
- data/lib/oci/database/models/vm_cluster_network_details.rb +1 -1
- data/lib/oci/database/models/vm_cluster_network_summary.rb +2 -1
- data/lib/oci/database/models/vm_cluster_summary.rb +1 -0
- data/lib/oci/database/models/vm_network_details.rb +2 -1
- data/lib/oci/dns/dns_client.rb +49 -0
- data/lib/oci/dts/appliance_export_job_client.rb +6 -0
- data/lib/oci/dts/shipping_vendors_client.rb +1 -0
- data/lib/oci/dts/transfer_appliance_client.rb +8 -0
- data/lib/oci/dts/transfer_appliance_entitlement_client.rb +3 -0
- data/lib/oci/dts/transfer_device_client.rb +5 -0
- data/lib/oci/dts/transfer_job_client.rb +6 -0
- data/lib/oci/dts/transfer_package_client.rb +7 -0
- data/lib/oci/email/email_client.rb +10 -0
- data/lib/oci/events/events_client.rb +6 -0
- data/lib/oci/file_storage/file_storage_client.rb +25 -0
- data/lib/oci/functions/functions_invoke_client.rb +1 -0
- data/lib/oci/functions/functions_management_client.rb +11 -0
- data/lib/oci/healthchecks/health_checks_client.rb +17 -0
- data/lib/oci/identity/identity_client.rb +120 -0
- data/lib/oci/identity/models/saml2_identity_provider.rb +12 -1
- data/lib/oci/integration/integration.rb +3 -0
- data/lib/oci/integration/integration_instance_client.rb +12 -0
- data/lib/oci/integration/models/create_custom_endpoint_details.rb +167 -0
- data/lib/oci/integration/models/create_integration_instance_details.rb +44 -1
- data/lib/oci/integration/models/custom_endpoint_details.rb +180 -0
- data/lib/oci/integration/models/integration_instance.rb +43 -1
- data/lib/oci/integration/models/integration_instance_summary.rb +43 -1
- data/lib/oci/integration/models/update_custom_endpoint_details.rb +167 -0
- data/lib/oci/integration/models/update_integration_instance_details.rb +47 -4
- data/lib/oci/key_management/kms_crypto_client.rb +4 -0
- data/lib/oci/key_management/kms_management_client.rb +31 -0
- data/lib/oci/key_management/kms_vault_client.rb +11 -0
- data/lib/oci/limits/limits_client.rb +4 -0
- data/lib/oci/limits/quotas_client.rb +5 -0
- data/lib/oci/load_balancer/load_balancer.rb +1 -0
- data/lib/oci/load_balancer/load_balancer_client.rb +56 -0
- data/lib/oci/load_balancer/models/create_load_balancer_details.rb +16 -1
- data/lib/oci/load_balancer/models/load_balancer.rb +14 -1
- data/lib/oci/load_balancer/models/shape_details.rb +180 -0
- data/lib/oci/load_balancer/models/ssl_configuration.rb +1 -1
- data/lib/oci/load_balancer/models/ssl_configuration_details.rb +1 -1
- data/lib/oci/load_balancer/models/update_load_balancer_shape_details.rb +22 -4
- data/lib/oci/log_analytics/log_analytics_client.rb +126 -0
- data/lib/oci/logging/logging_management_client.rb +32 -0
- data/lib/oci/loggingingestion/logging_client.rb +1 -0
- data/lib/oci/loggingsearch/log_search_client.rb +1 -0
- data/lib/oci/management_agent/management_agent.rb +2 -0
- data/lib/oci/management_agent/management_agent_client.rb +101 -0
- data/lib/oci/management_agent/models/availability_history_summary.rb +217 -0
- data/lib/oci/management_agent/models/availability_status.rb +12 -0
- data/lib/oci/management_agent/models/management_agent.rb +35 -1
- data/lib/oci/management_agent/models/management_agent_summary.rb +49 -1
- data/lib/oci/management_dashboard/dashx_apis_client.rb +14 -0
- data/lib/oci/marketplace/marketplace_client.rb +16 -0
- data/lib/oci/monitoring/monitoring_client.rb +12 -0
- data/lib/oci/mysql/channels_client.rb +625 -0
- data/lib/oci/mysql/channels_client_composite_operations.rb +271 -0
- data/lib/oci/mysql/db_backups_client.rb +11 -0
- data/lib/oci/mysql/db_system_client.rb +17 -0
- data/lib/oci/mysql/models/backup.rb +16 -3
- data/lib/oci/mysql/models/backup_summary.rb +17 -3
- data/lib/oci/mysql/models/ca_certificate.rb +189 -0
- data/lib/oci/mysql/models/channel.rb +340 -0
- data/lib/oci/mysql/models/channel_source.rb +189 -0
- data/lib/oci/mysql/models/channel_source_mysql.rb +230 -0
- data/lib/oci/mysql/models/channel_summary.rb +304 -0
- data/lib/oci/mysql/models/channel_target.rb +189 -0
- data/lib/oci/mysql/models/channel_target_db_system.rb +193 -0
- data/lib/oci/mysql/models/configuration.rb +2 -2
- data/lib/oci/mysql/models/configuration_summary.rb +2 -2
- data/lib/oci/mysql/models/configuration_variables.rb +30 -15
- data/lib/oci/mysql/models/create_backup_details.rb +2 -2
- data/lib/oci/mysql/models/create_backup_policy_details.rb +3 -0
- data/lib/oci/mysql/models/create_channel_details.rb +248 -0
- data/lib/oci/mysql/models/create_channel_source_details.rb +170 -0
- data/lib/oci/mysql/models/create_channel_source_from_mysql_details.rb +224 -0
- data/lib/oci/mysql/models/create_channel_target_details.rb +170 -0
- data/lib/oci/mysql/models/create_channel_target_from_db_system_details.rb +193 -0
- data/lib/oci/mysql/models/create_configuration_details.rb +2 -3
- data/lib/oci/mysql/models/create_db_system_details.rb +1 -1
- data/lib/oci/mysql/models/create_db_system_source_details.rb +1 -0
- data/lib/oci/mysql/models/create_db_system_source_from_none_details.rb +146 -0
- data/lib/oci/mysql/models/db_system.rb +15 -3
- data/lib/oci/mysql/models/db_system_snapshot.rb +437 -0
- data/lib/oci/mysql/models/db_system_source.rb +1 -0
- data/lib/oci/mysql/models/db_system_source_from_none.rb +146 -0
- data/lib/oci/mysql/models/db_system_summary.rb +2 -2
- data/lib/oci/mysql/models/pem_ca_certificate.rb +158 -0
- data/lib/oci/mysql/models/update_backup_details.rb +2 -2
- data/lib/oci/mysql/models/update_backup_policy_details.rb +3 -0
- data/lib/oci/mysql/models/update_channel_details.rb +234 -0
- data/lib/oci/mysql/models/update_channel_source_details.rb +171 -0
- data/lib/oci/mysql/models/update_channel_source_from_mysql_details.rb +224 -0
- data/lib/oci/mysql/models/update_channel_target_details.rb +170 -0
- data/lib/oci/mysql/models/update_channel_target_from_db_system_details.rb +179 -0
- data/lib/oci/mysql/models/update_configuration_details.rb +2 -2
- data/lib/oci/mysql/mysql.rb +23 -0
- data/lib/oci/mysql/mysqlaas_client.rb +7 -0
- data/lib/oci/mysql/work_requests_client.rb +4 -0
- data/lib/oci/nosql/nosql_client.rb +22 -0
- data/lib/oci/object_storage/models/object_lifecycle_rule.rb +11 -9
- data/lib/oci/object_storage/object_storage_client.rb +55 -6
- data/lib/oci/oce/oce_instance_client.rb +10 -0
- data/lib/oci/ocvp/esxi_host_client.rb +5 -0
- data/lib/oci/ocvp/sddc_client.rb +7 -0
- data/lib/oci/ocvp/work_request_client.rb +4 -0
- data/lib/oci/oda/oda_client.rb +12 -0
- data/lib/oci/ons/notification_control_plane_client.rb +6 -0
- data/lib/oci/ons/notification_data_plane_client.rb +10 -0
- data/lib/oci/opsi/models/sql_insight_aggregation.rb +2 -1
- data/lib/oci/opsi/models/sql_insight_thresholds.rb +21 -4
- data/lib/oci/opsi/operations_insights_client.rb +22 -3
- data/lib/oci/optimizer/optimizer_client.rb +22 -0
- data/lib/oci/os_management/os_management_client.rb +53 -0
- data/lib/oci/regions.rb +3 -0
- data/lib/oci/resource_manager/models/configuration_source_provider.rb +5 -1
- data/lib/oci/resource_manager/models/configuration_source_provider_summary.rb +3 -1
- data/lib/oci/resource_manager/models/create_configuration_source_provider_details.rb +4 -1
- data/lib/oci/resource_manager/models/create_github_access_token_configuration_source_provider_details.rb +200 -0
- data/lib/oci/resource_manager/models/create_gitlab_access_token_configuration_source_provider_details.rb +3 -3
- data/lib/oci/resource_manager/models/github_access_token_configuration_source_provider.rb +198 -0
- data/lib/oci/resource_manager/models/github_access_token_configuration_source_provider_summary.rb +198 -0
- data/lib/oci/resource_manager/models/gitlab_access_token_configuration_source_provider.rb +2 -2
- data/lib/oci/resource_manager/models/gitlab_access_token_configuration_source_provider_summary.rb +2 -2
- data/lib/oci/resource_manager/models/update_configuration_source_provider_details.rb +4 -1
- data/lib/oci/resource_manager/models/update_github_access_token_configuration_source_provider_details.rb +196 -0
- data/lib/oci/resource_manager/models/update_gitlab_access_token_configuration_source_provider_details.rb +3 -3
- data/lib/oci/resource_manager/resource_manager.rb +4 -0
- data/lib/oci/resource_manager/resource_manager_client.rb +36 -2
- data/lib/oci/resource_search/resource_search_client.rb +3 -0
- data/lib/oci/rover/models/change_rover_cluster_compartment_details.rb +155 -0
- data/lib/oci/{database/models/autonomous_data_warehouse_console_token_details.rb → rover/models/change_rover_entitlement_compartment_details.rb} +13 -23
- data/lib/oci/rover/models/change_rover_node_compartment_details.rb +155 -0
- data/lib/oci/rover/models/create_rover_cluster_details.rb +459 -0
- data/lib/oci/rover/models/create_rover_entitlement_details.rb +320 -0
- data/lib/oci/rover/models/create_rover_node_details.rb +501 -0
- data/lib/oci/rover/models/enclosure_type.rb +11 -0
- data/lib/oci/rover/models/lifecycle_state.rb +15 -0
- data/lib/oci/rover/models/node_type.rb +11 -0
- data/lib/oci/rover/models/rover_cluster.rb +610 -0
- data/lib/oci/rover/models/rover_cluster_certificate.rb +150 -0
- data/lib/oci/{database/models/restore_autonomous_data_warehouse_details.rb → rover/models/rover_cluster_collection.rb} +11 -12
- data/lib/oci/{database/models/create_autonomous_data_warehouse_details.rb → rover/models/rover_cluster_summary.rb} +99 -84
- data/lib/oci/rover/models/rover_entitlement.rb +363 -0
- data/lib/oci/rover/models/rover_entitlement_collection.rb +150 -0
- data/lib/oci/rover/models/rover_entitlement_summary.rb +285 -0
- data/lib/oci/rover/models/rover_node.rb +661 -0
- data/lib/oci/rover/models/rover_node_action_set_key_details.rb +154 -0
- data/lib/oci/rover/models/rover_node_certificate.rb +150 -0
- data/lib/oci/rover/models/rover_node_collection.rb +150 -0
- data/lib/oci/rover/models/rover_node_encryption_key.rb +154 -0
- data/lib/oci/rover/models/rover_node_get_rpt.rb +168 -0
- data/lib/oci/rover/models/rover_node_set_key.rb +154 -0
- data/lib/oci/rover/models/rover_node_summary.rb +323 -0
- data/lib/oci/rover/models/rover_workload.rb +264 -0
- data/lib/oci/rover/models/shipping_address.rb +276 -0
- data/lib/oci/rover/models/sort_orders.rb +11 -0
- data/lib/oci/rover/models/update_rover_cluster_details.rb +445 -0
- data/lib/oci/rover/models/update_rover_entitlement_details.rb +306 -0
- data/lib/oci/rover/models/update_rover_node_details.rb +487 -0
- data/lib/oci/rover/rover.rb +54 -0
- data/lib/oci/rover/rover_cluster_client.rb +549 -0
- data/lib/oci/rover/rover_cluster_client_composite_operations.rb +144 -0
- data/lib/oci/rover/rover_entitlement_client.rb +514 -0
- data/lib/oci/rover/rover_entitlement_client_composite_operations.rb +144 -0
- data/lib/oci/rover/rover_node_client.rb +738 -0
- data/lib/oci/rover/rover_node_client_composite_operations.rb +144 -0
- data/lib/oci/rover/util.rb +3 -0
- data/lib/oci/sch/service_connector_client.rb +12 -0
- data/lib/oci/secrets/secrets_client.rb +2 -0
- data/lib/oci/streaming/stream_admin_client.rb +18 -0
- data/lib/oci/streaming/stream_client.rb +8 -0
- data/lib/oci/tenant_manager_control_plane/link_client.rb +3 -0
- data/lib/oci/tenant_manager_control_plane/recipient_invitation_client.rb +5 -0
- data/lib/oci/tenant_manager_control_plane/sender_invitation_client.rb +5 -0
- data/lib/oci/tenant_manager_control_plane/work_request_client.rb +4 -0
- data/lib/oci/usage_api/usageapi_client.rb +2 -0
- data/lib/oci/vault/vaults_client.rb +11 -0
- data/lib/oci/version.rb +1 -1
- data/lib/oci/waas/redirect_client.rb +6 -0
- data/lib/oci/waas/waas_client.rb +66 -0
- data/lib/oci/work_requests/work_request_client.rb +4 -0
- metadata +91 -10
@@ -0,0 +1,144 @@
|
|
1
|
+
# Copyright (c) 2016, 2020, Oracle and/or its affiliates. All rights reserved.
|
2
|
+
# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
3
|
+
|
4
|
+
# rubocop:disable Lint/UnneededCopDisableDirective, Metrics/LineLength
|
5
|
+
module OCI
|
6
|
+
# This class provides a wrapper around {OCI::Rover::RoverNodeClient} and offers convenience methods
|
7
|
+
# for operations that would otherwise need to be chained together. For example, instead of performing an action
|
8
|
+
# on a resource (e.g. launching an instance, creating a load balancer) and then using a waiter to wait for the resource
|
9
|
+
# to enter a given state, you can call a single method in this class to accomplish the same functionality
|
10
|
+
class Rover::RoverNodeClientCompositeOperations
|
11
|
+
# The {OCI::Rover::RoverNodeClient} used to communicate with the service_client
|
12
|
+
#
|
13
|
+
# @return [OCI::Rover::RoverNodeClient]
|
14
|
+
attr_reader :service_client
|
15
|
+
|
16
|
+
# Initializes a new RoverNodeClientCompositeOperations
|
17
|
+
#
|
18
|
+
# @param [OCI::Rover::RoverNodeClient] service_client The client used to communicate with the service.
|
19
|
+
# Defaults to a new service client created via {OCI::Rover::RoverNodeClient#initialize} with no arguments
|
20
|
+
def initialize(service_client = OCI::Rover::RoverNodeClient.new)
|
21
|
+
@service_client = service_client
|
22
|
+
end
|
23
|
+
|
24
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/ParameterLists, Metrics/PerceivedComplexity
|
25
|
+
# rubocop:disable Layout/EmptyLines
|
26
|
+
|
27
|
+
|
28
|
+
# Calls {OCI::Rover::RoverNodeClient#create_rover_node} and then waits for the {OCI::Rover::Models::RoverNode} acted upon
|
29
|
+
# to enter the given state(s).
|
30
|
+
#
|
31
|
+
# @param [OCI::Rover::Models::CreateRoverNodeDetails] create_rover_node_details Details for the new RoverNode.
|
32
|
+
# @param [Array<String>] wait_for_states An array of states to wait on. These should be valid values for {OCI::Rover::Models::RoverNode#lifecycle_state}
|
33
|
+
# @param [Hash] base_operation_opts Any optional arguments accepted by {OCI::Rover::RoverNodeClient#create_rover_node}
|
34
|
+
# @param [Hash] waiter_opts Optional arguments for the waiter. Keys should be symbols, and the following keys are supported:
|
35
|
+
# * max_interval_seconds: The maximum interval between queries, in seconds.
|
36
|
+
# * max_wait_seconds The maximum time to wait, in seconds
|
37
|
+
#
|
38
|
+
# @return [OCI::Response] A {OCI::Response} object with data of type {OCI::Rover::Models::RoverNode}
|
39
|
+
def create_rover_node_and_wait_for_state(create_rover_node_details, wait_for_states = [], base_operation_opts = {}, waiter_opts = {})
|
40
|
+
operation_result = @service_client.create_rover_node(create_rover_node_details, base_operation_opts)
|
41
|
+
|
42
|
+
return operation_result if wait_for_states.empty?
|
43
|
+
|
44
|
+
lowered_wait_for_states = wait_for_states.map(&:downcase)
|
45
|
+
wait_for_resource_id = operation_result.data.id
|
46
|
+
|
47
|
+
begin
|
48
|
+
waiter_result = @service_client.get_rover_node(wait_for_resource_id).wait_until(
|
49
|
+
eval_proc: ->(response) { response.data.respond_to?(:lifecycle_state) && lowered_wait_for_states.include?(response.data.lifecycle_state.downcase) },
|
50
|
+
max_interval_seconds: waiter_opts.key?(:max_interval_seconds) ? waiter_opts[:max_interval_seconds] : 30,
|
51
|
+
max_wait_seconds: waiter_opts.key?(:max_wait_seconds) ? waiter_opts[:max_wait_seconds] : 1200
|
52
|
+
)
|
53
|
+
result_to_return = waiter_result
|
54
|
+
|
55
|
+
return result_to_return
|
56
|
+
rescue StandardError
|
57
|
+
raise OCI::Errors::CompositeOperationError.new(partial_results: [operation_result])
|
58
|
+
end
|
59
|
+
end
|
60
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/ParameterLists, Metrics/PerceivedComplexity
|
61
|
+
# rubocop:enable Layout/EmptyLines
|
62
|
+
|
63
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/ParameterLists, Metrics/PerceivedComplexity
|
64
|
+
# rubocop:disable Layout/EmptyLines
|
65
|
+
|
66
|
+
|
67
|
+
# Calls {OCI::Rover::RoverNodeClient#delete_rover_node} and then waits for the {OCI::Rover::Models::RoverNode} acted upon
|
68
|
+
# to enter the given state(s).
|
69
|
+
#
|
70
|
+
# @param [String] rover_node_id Unique RoverNode identifier
|
71
|
+
# @param [Array<String>] wait_for_states An array of states to wait on. These should be valid values for {OCI::Rover::Models::RoverNode#lifecycle_state}
|
72
|
+
# @param [Hash] base_operation_opts Any optional arguments accepted by {OCI::Rover::RoverNodeClient#delete_rover_node}
|
73
|
+
# @param [Hash] waiter_opts Optional arguments for the waiter. Keys should be symbols, and the following keys are supported:
|
74
|
+
# * max_interval_seconds: The maximum interval between queries, in seconds.
|
75
|
+
# * max_wait_seconds The maximum time to wait, in seconds
|
76
|
+
#
|
77
|
+
# @return [OCI::Response] A {OCI::Response} object with data of type nil
|
78
|
+
def delete_rover_node_and_wait_for_state(rover_node_id, wait_for_states = [], base_operation_opts = {}, waiter_opts = {})
|
79
|
+
initial_get_result = @service_client.get_rover_node(rover_node_id)
|
80
|
+
operation_result = @service_client.delete_rover_node(rover_node_id, base_operation_opts)
|
81
|
+
|
82
|
+
return operation_result if wait_for_states.empty?
|
83
|
+
|
84
|
+
lowered_wait_for_states = wait_for_states.map(&:downcase)
|
85
|
+
|
86
|
+
begin
|
87
|
+
waiter_result = initial_get_result.wait_until(
|
88
|
+
eval_proc: ->(response) { response.data.respond_to?(:lifecycle_state) && lowered_wait_for_states.include?(response.data.lifecycle_state.downcase) },
|
89
|
+
max_interval_seconds: waiter_opts.key?(:max_interval_seconds) ? waiter_opts[:max_interval_seconds] : 30,
|
90
|
+
max_wait_seconds: waiter_opts.key?(:max_wait_seconds) ? waiter_opts[:max_wait_seconds] : 1200,
|
91
|
+
succeed_on_not_found: true
|
92
|
+
)
|
93
|
+
result_to_return = waiter_result
|
94
|
+
|
95
|
+
return result_to_return
|
96
|
+
rescue StandardError
|
97
|
+
raise OCI::Errors::CompositeOperationError.new(partial_results: [operation_result])
|
98
|
+
end
|
99
|
+
end
|
100
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/ParameterLists, Metrics/PerceivedComplexity
|
101
|
+
# rubocop:enable Layout/EmptyLines
|
102
|
+
|
103
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/ParameterLists, Metrics/PerceivedComplexity
|
104
|
+
# rubocop:disable Layout/EmptyLines
|
105
|
+
|
106
|
+
|
107
|
+
# Calls {OCI::Rover::RoverNodeClient#update_rover_node} and then waits for the {OCI::Rover::Models::RoverNode} acted upon
|
108
|
+
# to enter the given state(s).
|
109
|
+
#
|
110
|
+
# @param [String] rover_node_id Unique RoverNode identifier
|
111
|
+
# @param [OCI::Rover::Models::UpdateRoverNodeDetails] update_rover_node_details The information to be updated.
|
112
|
+
# @param [Array<String>] wait_for_states An array of states to wait on. These should be valid values for {OCI::Rover::Models::RoverNode#lifecycle_state}
|
113
|
+
# @param [Hash] base_operation_opts Any optional arguments accepted by {OCI::Rover::RoverNodeClient#update_rover_node}
|
114
|
+
# @param [Hash] waiter_opts Optional arguments for the waiter. Keys should be symbols, and the following keys are supported:
|
115
|
+
# * max_interval_seconds: The maximum interval between queries, in seconds.
|
116
|
+
# * max_wait_seconds The maximum time to wait, in seconds
|
117
|
+
#
|
118
|
+
# @return [OCI::Response] A {OCI::Response} object with data of type {OCI::Rover::Models::RoverNode}
|
119
|
+
def update_rover_node_and_wait_for_state(rover_node_id, update_rover_node_details, wait_for_states = [], base_operation_opts = {}, waiter_opts = {})
|
120
|
+
operation_result = @service_client.update_rover_node(rover_node_id, update_rover_node_details, base_operation_opts)
|
121
|
+
|
122
|
+
return operation_result if wait_for_states.empty?
|
123
|
+
|
124
|
+
lowered_wait_for_states = wait_for_states.map(&:downcase)
|
125
|
+
wait_for_resource_id = operation_result.data.id
|
126
|
+
|
127
|
+
begin
|
128
|
+
waiter_result = @service_client.get_rover_node(wait_for_resource_id).wait_until(
|
129
|
+
eval_proc: ->(response) { response.data.respond_to?(:lifecycle_state) && lowered_wait_for_states.include?(response.data.lifecycle_state.downcase) },
|
130
|
+
max_interval_seconds: waiter_opts.key?(:max_interval_seconds) ? waiter_opts[:max_interval_seconds] : 30,
|
131
|
+
max_wait_seconds: waiter_opts.key?(:max_wait_seconds) ? waiter_opts[:max_wait_seconds] : 1200
|
132
|
+
)
|
133
|
+
result_to_return = waiter_result
|
134
|
+
|
135
|
+
return result_to_return
|
136
|
+
rescue StandardError
|
137
|
+
raise OCI::Errors::CompositeOperationError.new(partial_results: [operation_result])
|
138
|
+
end
|
139
|
+
end
|
140
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/ParameterLists, Metrics/PerceivedComplexity
|
141
|
+
# rubocop:enable Layout/EmptyLines
|
142
|
+
end
|
143
|
+
end
|
144
|
+
# rubocop:enable Lint/UnneededCopDisableDirective, Metrics/LineLength
|
@@ -0,0 +1,3 @@
|
|
1
|
+
# Copyright (c) 2016, 2020, Oracle and/or its affiliates. All rights reserved.
|
2
|
+
# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
3
|
+
|
@@ -129,6 +129,7 @@ module OCI
|
|
129
129
|
# If you need to contact Oracle about a particular request, please provide the request ID.
|
130
130
|
#
|
131
131
|
# @return [Response] A Response object with data of type nil
|
132
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/sch/activate_service_connector.rb.html) to see an example of how to use activate_service_connector API.
|
132
133
|
def activate_service_connector(service_connector_id, opts = {})
|
133
134
|
logger.debug 'Calling operation ServiceConnectorClient#activate_service_connector.' if logger
|
134
135
|
|
@@ -200,6 +201,7 @@ module OCI
|
|
200
201
|
# If you need to contact Oracle about a particular request, please provide the request ID.
|
201
202
|
#
|
202
203
|
# @return [Response] A Response object with data of type nil
|
204
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/sch/change_service_connector_compartment.rb.html) to see an example of how to use change_service_connector_compartment API.
|
203
205
|
def change_service_connector_compartment(service_connector_id, change_service_connector_compartment_details, opts = {})
|
204
206
|
logger.debug 'Calling operation ServiceConnectorClient#change_service_connector_compartment.' if logger
|
205
207
|
|
@@ -281,6 +283,7 @@ module OCI
|
|
281
283
|
# If you need to contact Oracle about a particular request, please provide the request ID.
|
282
284
|
#
|
283
285
|
# @return [Response] A Response object with data of type nil
|
286
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/sch/create_service_connector.rb.html) to see an example of how to use create_service_connector API.
|
284
287
|
def create_service_connector(create_service_connector_details, opts = {})
|
285
288
|
logger.debug 'Calling operation ServiceConnectorClient#create_service_connector.' if logger
|
286
289
|
|
@@ -355,6 +358,7 @@ module OCI
|
|
355
358
|
# If you need to contact Oracle about a particular request, please provide the request ID.
|
356
359
|
#
|
357
360
|
# @return [Response] A Response object with data of type nil
|
361
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/sch/deactivate_service_connector.rb.html) to see an example of how to use deactivate_service_connector API.
|
358
362
|
def deactivate_service_connector(service_connector_id, opts = {})
|
359
363
|
logger.debug 'Calling operation ServiceConnectorClient#deactivate_service_connector.' if logger
|
360
364
|
|
@@ -423,6 +427,7 @@ module OCI
|
|
423
427
|
# If you need to contact Oracle about a particular request, please provide the request ID.
|
424
428
|
#
|
425
429
|
# @return [Response] A Response object with data of type nil
|
430
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/sch/delete_service_connector.rb.html) to see an example of how to use delete_service_connector API.
|
426
431
|
def delete_service_connector(service_connector_id, opts = {})
|
427
432
|
logger.debug 'Calling operation ServiceConnectorClient#delete_service_connector.' if logger
|
428
433
|
|
@@ -480,6 +485,7 @@ module OCI
|
|
480
485
|
# If you need to contact Oracle about a particular request, please provide the request ID.
|
481
486
|
#
|
482
487
|
# @return [Response] A Response object with data of type {OCI::Sch::Models::ServiceConnector ServiceConnector}
|
488
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/sch/get_service_connector.rb.html) to see an example of how to use get_service_connector API.
|
483
489
|
def get_service_connector(service_connector_id, opts = {})
|
484
490
|
logger.debug 'Calling operation ServiceConnectorClient#get_service_connector.' if logger
|
485
491
|
|
@@ -537,6 +543,7 @@ module OCI
|
|
537
543
|
# If you need to contact Oracle about a particular request, please provide the request ID.
|
538
544
|
#
|
539
545
|
# @return [Response] A Response object with data of type {OCI::Sch::Models::WorkRequest WorkRequest}
|
546
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/sch/get_work_request.rb.html) to see an example of how to use get_work_request API.
|
540
547
|
def get_work_request(work_request_id, opts = {})
|
541
548
|
logger.debug 'Calling operation ServiceConnectorClient#get_work_request.' if logger
|
542
549
|
|
@@ -616,6 +623,7 @@ module OCI
|
|
616
623
|
# If you need to contact Oracle about a particular request, please provide the request ID.
|
617
624
|
#
|
618
625
|
# @return [Response] A Response object with data of type {OCI::Sch::Models::ServiceConnectorCollection ServiceConnectorCollection}
|
626
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/sch/list_service_connectors.rb.html) to see an example of how to use list_service_connectors API.
|
619
627
|
def list_service_connectors(compartment_id, opts = {})
|
620
628
|
logger.debug 'Calling operation ServiceConnectorClient#list_service_connectors.' if logger
|
621
629
|
|
@@ -699,6 +707,7 @@ module OCI
|
|
699
707
|
# [List Pagination](https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
|
700
708
|
# (default to 10)
|
701
709
|
# @return [Response] A Response object with data of type {OCI::Sch::Models::WorkRequestErrorCollection WorkRequestErrorCollection}
|
710
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/sch/list_work_request_errors.rb.html) to see an example of how to use list_work_request_errors API.
|
702
711
|
def list_work_request_errors(work_request_id, opts = {})
|
703
712
|
logger.debug 'Calling operation ServiceConnectorClient#list_work_request_errors.' if logger
|
704
713
|
|
@@ -766,6 +775,7 @@ module OCI
|
|
766
775
|
# [List Pagination](https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
|
767
776
|
# (default to 10)
|
768
777
|
# @return [Response] A Response object with data of type {OCI::Sch::Models::WorkRequestLogEntryCollection WorkRequestLogEntryCollection}
|
778
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/sch/list_work_request_logs.rb.html) to see an example of how to use list_work_request_logs API.
|
769
779
|
def list_work_request_logs(work_request_id, opts = {})
|
770
780
|
logger.debug 'Calling operation ServiceConnectorClient#list_work_request_logs.' if logger
|
771
781
|
|
@@ -833,6 +843,7 @@ module OCI
|
|
833
843
|
# [List Pagination](https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
|
834
844
|
# (default to 10)
|
835
845
|
# @return [Response] A Response object with data of type {OCI::Sch::Models::WorkRequestCollection WorkRequestCollection}
|
846
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/sch/list_work_requests.rb.html) to see an example of how to use list_work_requests API.
|
836
847
|
def list_work_requests(compartment_id, opts = {})
|
837
848
|
logger.debug 'Calling operation ServiceConnectorClient#list_work_requests.' if logger
|
838
849
|
|
@@ -904,6 +915,7 @@ module OCI
|
|
904
915
|
# If you need to contact Oracle about a particular request, please provide the request ID.
|
905
916
|
#
|
906
917
|
# @return [Response] A Response object with data of type nil
|
918
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/sch/update_service_connector.rb.html) to see an example of how to use update_service_connector API.
|
907
919
|
def update_service_connector(service_connector_id, update_service_connector_details, opts = {})
|
908
920
|
logger.debug 'Calling operation ServiceConnectorClient#update_service_connector.' if logger
|
909
921
|
|
@@ -111,6 +111,7 @@ module OCI
|
|
111
111
|
# @option opts [String] :stage The rotation state of the secret version.
|
112
112
|
# Allowed values are: CURRENT, PENDING, LATEST, PREVIOUS, DEPRECATED
|
113
113
|
# @return [Response] A Response object with data of type {OCI::Secrets::Models::SecretBundle SecretBundle}
|
114
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/secrets/get_secret_bundle.rb.html) to see an example of how to use get_secret_bundle API.
|
114
115
|
def get_secret_bundle(secret_id, opts = {})
|
115
116
|
logger.debug 'Calling operation SecretsClient#get_secret_bundle.' if logger
|
116
117
|
|
@@ -184,6 +185,7 @@ module OCI
|
|
184
185
|
# (default to ASC)
|
185
186
|
# Allowed values are: ASC, DESC
|
186
187
|
# @return [Response] A Response object with data of type Array<{OCI::Secrets::Models::SecretBundleVersionSummary SecretBundleVersionSummary}>
|
188
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/secrets/list_secret_bundle_versions.rb.html) to see an example of how to use list_secret_bundle_versions API.
|
187
189
|
def list_secret_bundle_versions(secret_id, opts = {})
|
188
190
|
logger.debug 'Calling operation SecretsClient#list_secret_bundle_versions.' if logger
|
189
191
|
|
@@ -110,6 +110,7 @@ module OCI
|
|
110
110
|
# particular request, please provide the request ID.
|
111
111
|
#
|
112
112
|
# @return [Response] A Response object with data of type nil
|
113
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/streaming/change_connect_harness_compartment.rb.html) to see an example of how to use change_connect_harness_compartment API.
|
113
114
|
def change_connect_harness_compartment(connect_harness_id, change_connect_harness_compartment_details, opts = {})
|
114
115
|
logger.debug 'Calling operation StreamAdminClient#change_connect_harness_compartment.' if logger
|
115
116
|
|
@@ -172,6 +173,7 @@ module OCI
|
|
172
173
|
# particular request, please provide the request ID.
|
173
174
|
#
|
174
175
|
# @return [Response] A Response object with data of type nil
|
176
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/streaming/change_stream_compartment.rb.html) to see an example of how to use change_stream_compartment API.
|
175
177
|
def change_stream_compartment(stream_id, change_stream_compartment_details, opts = {})
|
176
178
|
logger.debug 'Calling operation StreamAdminClient#change_stream_compartment.' if logger
|
177
179
|
|
@@ -231,6 +233,7 @@ module OCI
|
|
231
233
|
# particular request, please provide the request ID.
|
232
234
|
#
|
233
235
|
# @return [Response] A Response object with data of type nil
|
236
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/streaming/change_stream_pool_compartment.rb.html) to see an example of how to use change_stream_pool_compartment API.
|
234
237
|
def change_stream_pool_compartment(stream_pool_id, change_stream_pool_compartment_details, opts = {})
|
235
238
|
logger.debug 'Calling operation StreamAdminClient#change_stream_pool_compartment.' if logger
|
236
239
|
|
@@ -290,6 +293,7 @@ module OCI
|
|
290
293
|
#
|
291
294
|
# @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again. Retry tokens expire after 24 hours, but can be invalidated before then due to conflicting operations (for example, if a resource has been deleted and purged from the system, then a retry of the original creation request may be rejected).
|
292
295
|
# @return [Response] A Response object with data of type {OCI::Streaming::Models::ConnectHarness ConnectHarness}
|
296
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/streaming/create_connect_harness.rb.html) to see an example of how to use create_connect_harness API.
|
293
297
|
def create_connect_harness(create_connect_harness_details, opts = {})
|
294
298
|
logger.debug 'Calling operation StreamAdminClient#create_connect_harness.' if logger
|
295
299
|
|
@@ -351,6 +355,7 @@ module OCI
|
|
351
355
|
# particular request, please provide the request ID.
|
352
356
|
#
|
353
357
|
# @return [Response] A Response object with data of type {OCI::Streaming::Models::Stream Stream}
|
358
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/streaming/create_stream.rb.html) to see an example of how to use create_stream API.
|
354
359
|
def create_stream(create_stream_details, opts = {})
|
355
360
|
logger.debug 'Calling operation StreamAdminClient#create_stream.' if logger
|
356
361
|
|
@@ -409,6 +414,7 @@ module OCI
|
|
409
414
|
#
|
410
415
|
# @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again. Retry tokens expire after 24 hours, but can be invalidated before then due to conflicting operations (for example, if a resource has been deleted and purged from the system, then a retry of the original creation request may be rejected).
|
411
416
|
# @return [Response] A Response object with data of type {OCI::Streaming::Models::StreamPool StreamPool}
|
417
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/streaming/create_stream_pool.rb.html) to see an example of how to use create_stream_pool API.
|
412
418
|
def create_stream_pool(create_stream_pool_details, opts = {})
|
413
419
|
logger.debug 'Calling operation StreamAdminClient#create_stream_pool.' if logger
|
414
420
|
|
@@ -472,6 +478,7 @@ module OCI
|
|
472
478
|
#
|
473
479
|
# @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call for a resource, set the if-match parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value.
|
474
480
|
# @return [Response] A Response object with data of type nil
|
481
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/streaming/delete_connect_harness.rb.html) to see an example of how to use delete_connect_harness API.
|
475
482
|
def delete_connect_harness(connect_harness_id, opts = {})
|
476
483
|
logger.debug 'Calling operation StreamAdminClient#delete_connect_harness.' if logger
|
477
484
|
|
@@ -534,6 +541,7 @@ module OCI
|
|
534
541
|
#
|
535
542
|
# @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call for a resource, set the if-match parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value.
|
536
543
|
# @return [Response] A Response object with data of type nil
|
544
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/streaming/delete_stream.rb.html) to see an example of how to use delete_stream API.
|
537
545
|
def delete_stream(stream_id, opts = {})
|
538
546
|
logger.debug 'Calling operation StreamAdminClient#delete_stream.' if logger
|
539
547
|
|
@@ -593,6 +601,7 @@ module OCI
|
|
593
601
|
#
|
594
602
|
# @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call for a resource, set the if-match parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value.
|
595
603
|
# @return [Response] A Response object with data of type nil
|
604
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/streaming/delete_stream_pool.rb.html) to see an example of how to use delete_stream_pool API.
|
596
605
|
def delete_stream_pool(stream_pool_id, opts = {})
|
597
606
|
logger.debug 'Calling operation StreamAdminClient#delete_stream_pool.' if logger
|
598
607
|
|
@@ -649,6 +658,7 @@ module OCI
|
|
649
658
|
# particular request, please provide the request ID.
|
650
659
|
#
|
651
660
|
# @return [Response] A Response object with data of type {OCI::Streaming::Models::ConnectHarness ConnectHarness}
|
661
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/streaming/get_connect_harness.rb.html) to see an example of how to use get_connect_harness API.
|
652
662
|
def get_connect_harness(connect_harness_id, opts = {})
|
653
663
|
logger.debug 'Calling operation StreamAdminClient#get_connect_harness.' if logger
|
654
664
|
|
@@ -705,6 +715,7 @@ module OCI
|
|
705
715
|
# particular request, please provide the request ID.
|
706
716
|
#
|
707
717
|
# @return [Response] A Response object with data of type {OCI::Streaming::Models::Stream Stream}
|
718
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/streaming/get_stream.rb.html) to see an example of how to use get_stream API.
|
708
719
|
def get_stream(stream_id, opts = {})
|
709
720
|
logger.debug 'Calling operation StreamAdminClient#get_stream.' if logger
|
710
721
|
|
@@ -761,6 +772,7 @@ module OCI
|
|
761
772
|
# particular request, please provide the request ID.
|
762
773
|
#
|
763
774
|
# @return [Response] A Response object with data of type {OCI::Streaming::Models::StreamPool StreamPool}
|
775
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/streaming/get_stream_pool.rb.html) to see an example of how to use get_stream_pool API.
|
764
776
|
def get_stream_pool(stream_pool_id, opts = {})
|
765
777
|
logger.debug 'Calling operation StreamAdminClient#get_stream_pool.' if logger
|
766
778
|
|
@@ -830,6 +842,7 @@ module OCI
|
|
830
842
|
# particular request, please provide the request ID.
|
831
843
|
#
|
832
844
|
# @return [Response] A Response object with data of type Array<{OCI::Streaming::Models::ConnectHarnessSummary ConnectHarnessSummary}>
|
845
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/streaming/list_connect_harnesses.rb.html) to see an example of how to use list_connect_harnesses API.
|
833
846
|
def list_connect_harnesses(compartment_id, opts = {})
|
834
847
|
logger.debug 'Calling operation StreamAdminClient#list_connect_harnesses.' if logger
|
835
848
|
|
@@ -918,6 +931,7 @@ module OCI
|
|
918
931
|
# particular request, please provide the request ID.
|
919
932
|
#
|
920
933
|
# @return [Response] A Response object with data of type Array<{OCI::Streaming::Models::StreamPoolSummary StreamPoolSummary}>
|
934
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/streaming/list_stream_pools.rb.html) to see an example of how to use list_stream_pools API.
|
921
935
|
def list_stream_pools(compartment_id, opts = {})
|
922
936
|
logger.debug 'Calling operation StreamAdminClient#list_stream_pools.' if logger
|
923
937
|
|
@@ -1011,6 +1025,7 @@ module OCI
|
|
1011
1025
|
# particular request, please provide the request ID.
|
1012
1026
|
#
|
1013
1027
|
# @return [Response] A Response object with data of type Array<{OCI::Streaming::Models::StreamSummary StreamSummary}>
|
1028
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/streaming/list_streams.rb.html) to see an example of how to use list_streams API.
|
1014
1029
|
def list_streams(opts = {})
|
1015
1030
|
logger.debug 'Calling operation StreamAdminClient#list_streams.' if logger
|
1016
1031
|
|
@@ -1089,6 +1104,7 @@ module OCI
|
|
1089
1104
|
#
|
1090
1105
|
# @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call for a resource, set the if-match parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value.
|
1091
1106
|
# @return [Response] A Response object with data of type {OCI::Streaming::Models::ConnectHarness ConnectHarness}
|
1107
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/streaming/update_connect_harness.rb.html) to see an example of how to use update_connect_harness API.
|
1092
1108
|
def update_connect_harness(connect_harness_id, update_connect_harness_details, opts = {})
|
1093
1109
|
logger.debug 'Calling operation StreamAdminClient#update_connect_harness.' if logger
|
1094
1110
|
|
@@ -1150,6 +1166,7 @@ module OCI
|
|
1150
1166
|
#
|
1151
1167
|
# @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call for a resource, set the if-match parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value.
|
1152
1168
|
# @return [Response] A Response object with data of type {OCI::Streaming::Models::Stream Stream}
|
1169
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/streaming/update_stream.rb.html) to see an example of how to use update_stream API.
|
1153
1170
|
def update_stream(stream_id, update_stream_details, opts = {})
|
1154
1171
|
logger.debug 'Calling operation StreamAdminClient#update_stream.' if logger
|
1155
1172
|
|
@@ -1211,6 +1228,7 @@ module OCI
|
|
1211
1228
|
#
|
1212
1229
|
# @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call for a resource, set the if-match parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value.
|
1213
1230
|
# @return [Response] A Response object with data of type {OCI::Streaming::Models::StreamPool StreamPool}
|
1231
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/streaming/update_stream_pool.rb.html) to see an example of how to use update_stream_pool API.
|
1214
1232
|
def update_stream_pool(stream_pool_id, update_stream_pool_details, opts = {})
|
1215
1233
|
logger.debug 'Calling operation StreamAdminClient#update_stream_pool.' if logger
|
1216
1234
|
|
@@ -86,6 +86,7 @@ module OCI
|
|
86
86
|
# particular request, please provide the request ID.
|
87
87
|
#
|
88
88
|
# @return [Response] A Response object with data of type {OCI::Streaming::Models::Cursor Cursor}
|
89
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/streaming/consumer_commit.rb.html) to see an example of how to use consumer_commit API.
|
89
90
|
def consumer_commit(stream_id, cursor, opts = {})
|
90
91
|
logger.debug 'Calling operation StreamClient#consumer_commit.' if logger
|
91
92
|
|
@@ -147,6 +148,7 @@ module OCI
|
|
147
148
|
# particular request, please provide the request ID.
|
148
149
|
#
|
149
150
|
# @return [Response] A Response object with data of type {OCI::Streaming::Models::Cursor Cursor}
|
151
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/streaming/consumer_heartbeat.rb.html) to see an example of how to use consumer_heartbeat API.
|
150
152
|
def consumer_heartbeat(stream_id, cursor, opts = {})
|
151
153
|
logger.debug 'Calling operation StreamClient#consumer_heartbeat.' if logger
|
152
154
|
|
@@ -211,6 +213,7 @@ module OCI
|
|
211
213
|
# particular request, please provide the request ID.
|
212
214
|
#
|
213
215
|
# @return [Response] A Response object with data of type {OCI::Streaming::Models::Cursor Cursor}
|
216
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/streaming/create_cursor.rb.html) to see an example of how to use create_cursor API.
|
214
217
|
def create_cursor(stream_id, create_cursor_details, opts = {})
|
215
218
|
logger.debug 'Calling operation StreamClient#create_cursor.' if logger
|
216
219
|
|
@@ -270,6 +273,7 @@ module OCI
|
|
270
273
|
# particular request, please provide the request ID.
|
271
274
|
#
|
272
275
|
# @return [Response] A Response object with data of type {OCI::Streaming::Models::Cursor Cursor}
|
276
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/streaming/create_group_cursor.rb.html) to see an example of how to use create_group_cursor API.
|
273
277
|
def create_group_cursor(stream_id, create_group_cursor_details, opts = {})
|
274
278
|
logger.debug 'Calling operation StreamClient#create_group_cursor.' if logger
|
275
279
|
|
@@ -329,6 +333,7 @@ module OCI
|
|
329
333
|
# particular request, please provide the request ID.
|
330
334
|
#
|
331
335
|
# @return [Response] A Response object with data of type {OCI::Streaming::Models::Group Group}
|
336
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/streaming/get_group.rb.html) to see an example of how to use get_group API.
|
332
337
|
def get_group(stream_id, group_name, opts = {})
|
333
338
|
logger.debug 'Calling operation StreamClient#get_group.' if logger
|
334
339
|
|
@@ -395,6 +400,7 @@ module OCI
|
|
395
400
|
# particular request, please provide the request ID.
|
396
401
|
#
|
397
402
|
# @return [Response] A Response object with data of type Array<{OCI::Streaming::Models::Message Message}>
|
403
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/streaming/get_messages.rb.html) to see an example of how to use get_messages API.
|
398
404
|
def get_messages(stream_id, cursor, opts = {})
|
399
405
|
logger.debug 'Calling operation StreamClient#get_messages.' if logger
|
400
406
|
|
@@ -459,6 +465,7 @@ module OCI
|
|
459
465
|
# particular request, please provide the request ID.
|
460
466
|
#
|
461
467
|
# @return [Response] A Response object with data of type {OCI::Streaming::Models::PutMessagesResult PutMessagesResult}
|
468
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/streaming/put_messages.rb.html) to see an example of how to use put_messages API.
|
462
469
|
def put_messages(stream_id, put_messages_details, opts = {})
|
463
470
|
logger.debug 'Calling operation StreamClient#put_messages.' if logger
|
464
471
|
|
@@ -519,6 +526,7 @@ module OCI
|
|
519
526
|
# particular request, please provide the request ID.
|
520
527
|
#
|
521
528
|
# @return [Response] A Response object with data of type nil
|
529
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/streaming/update_group.rb.html) to see an example of how to use update_group API.
|
522
530
|
def update_group(stream_id, group_name, update_group_details, opts = {})
|
523
531
|
logger.debug 'Calling operation StreamClient#update_group.' if logger
|
524
532
|
|