oci 2.23.0 → 2.24.0
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.
- checksums.yaml +4 -4
- data/README.md +9 -1
- data/lib/oci/analytics/analytics.rb +5 -0
- data/lib/oci/analytics/analytics_client.rb +422 -52
- data/lib/oci/analytics/analytics_client_composite_operations.rb +188 -27
- data/lib/oci/analytics/models/analytics_instance.rb +32 -15
- data/lib/oci/analytics/models/analytics_instance_summary.rb +9 -8
- data/lib/oci/analytics/models/capacity.rb +2 -2
- data/lib/oci/analytics/models/change_analytics_instance_network_endpoint_details.rb +1 -1
- data/lib/oci/analytics/models/create_analytics_instance_details.rb +8 -6
- data/lib/oci/analytics/models/create_private_access_channel_details.rb +9 -9
- data/lib/oci/analytics/models/create_resource_group_details.rb +190 -0
- data/lib/oci/analytics/models/create_vanity_url_details.rb +5 -5
- data/lib/oci/analytics/models/feature_bundle.rb +1 -0
- data/lib/oci/analytics/models/instance_resource_group.rb +200 -0
- data/lib/oci/analytics/models/instance_resource_group_summary.rb +200 -0
- data/lib/oci/analytics/models/private_access_channel.rb +13 -13
- data/lib/oci/analytics/models/private_endpoint_details.rb +1 -1
- data/lib/oci/analytics/models/private_source_dns_zone.rb +3 -3
- data/lib/oci/analytics/models/private_source_scan_host.rb +4 -4
- data/lib/oci/analytics/models/public_endpoint_details.rb +1 -1
- data/lib/oci/analytics/models/resource_group_sort_by.rb +17 -0
- data/lib/oci/analytics/models/set_feature_bundle_details.rb +1 -0
- data/lib/oci/analytics/models/set_kms_key_details.rb +2 -2
- data/lib/oci/analytics/models/update_analytics_instance_details.rb +3 -3
- data/lib/oci/analytics/models/update_private_access_channel_details.rb +9 -9
- data/lib/oci/analytics/models/update_resource_group_details.rb +190 -0
- data/lib/oci/analytics/models/update_vanity_url_details.rb +4 -4
- data/lib/oci/analytics/models/vanity_url_details.rb +5 -5
- data/lib/oci/analytics/models/work_request.rb +4 -0
- data/lib/oci/analytics/models/work_request_action_result.rb +4 -1
- data/lib/oci/analytics/models/work_request_error.rb +2 -2
- data/lib/oci/analytics/models/work_request_log.rb +1 -1
- data/lib/oci/analytics/models/work_request_operation_type.rb +5 -1
- data/lib/oci/analytics/models/work_request_resource.rb +4 -1
- data/lib/oci/analytics/models/work_request_summary.rb +4 -0
- data/lib/oci/apiaccesscontrol/api_metadata_client.rb +8 -6
- data/lib/oci/apiaccesscontrol/apiaccesscontrol.rb +1 -0
- data/lib/oci/apiaccesscontrol/models/api_metadata.rb +12 -2
- data/lib/oci/apiaccesscontrol/models/api_metadata_by_entity_type_summary.rb +15 -1
- data/lib/oci/apiaccesscontrol/models/approver_detail.rb +15 -1
- data/lib/oci/apiaccesscontrol/models/approver_group_level.rb +169 -0
- data/lib/oci/apiaccesscontrol/models/create_privileged_api_control_details.rb +17 -3
- data/lib/oci/apiaccesscontrol/models/create_privileged_api_request_details.rb +1 -1
- data/lib/oci/apiaccesscontrol/models/privileged_api_control.rb +15 -2
- data/lib/oci/apiaccesscontrol/models/privileged_api_control_summary.rb +0 -1
- data/lib/oci/apiaccesscontrol/models/update_privileged_api_control_details.rb +16 -2
- data/lib/oci/apiaccesscontrol/privileged_api_control_client.rb +4 -3
- data/lib/oci/apiaccesscontrol/privileged_api_requests_client.rb +4 -3
- data/lib/oci/apiaccesscontrol/privileged_api_work_request_client.rb +4 -3
- data/lib/oci/core/core.rb +5 -0
- data/lib/oci/core/models/boot_volume_backup.rb +87 -4
- data/lib/oci/core/models/create_boot_volume_backup_details.rb +59 -4
- data/lib/oci/core/models/create_cross_connect_details.rb +50 -1
- data/lib/oci/core/models/create_cross_connect_group_details.rb +71 -4
- data/lib/oci/core/models/create_dedicated_vm_host_details.rb +21 -4
- data/lib/oci/core/models/create_virtual_circuit_details.rb +63 -4
- data/lib/oci/core/models/create_volume_backup_details.rb +59 -4
- data/lib/oci/core/models/create_volume_group_backup_details.rb +59 -4
- data/lib/oci/core/models/cross_connect.rb +43 -1
- data/lib/oci/core/models/cross_connect_group.rb +63 -4
- data/lib/oci/core/models/dedicated_vm_host.rb +18 -1
- data/lib/oci/core/models/dedicated_vm_host_instance_summary.rb +18 -1
- data/lib/oci/core/models/dedicated_vm_host_summary.rb +18 -1
- data/lib/oci/core/models/instances.rb +140 -0
- data/lib/oci/core/models/letter_of_authority.rb +31 -4
- data/lib/oci/core/models/loa_extension_data.rb +170 -0
- data/lib/oci/core/models/provider_remote_region_name.rb +174 -0
- data/lib/oci/core/models/retention_duration.rb +189 -0
- data/lib/oci/core/models/supported_capabilities.rb +21 -4
- data/lib/oci/core/models/update_boot_volume_backup_details.rb +59 -4
- data/lib/oci/core/models/update_cross_connect_details.rb +32 -4
- data/lib/oci/core/models/update_cross_connect_group_details.rb +49 -4
- data/lib/oci/core/models/update_cross_connect_letter_of_authority_details.rb +195 -0
- data/lib/oci/core/models/update_virtual_circuit_details.rb +30 -1
- data/lib/oci/core/models/update_volume_backup_details.rb +59 -4
- data/lib/oci/core/models/update_volume_group_backup_details.rb +59 -4
- data/lib/oci/core/models/virtual_circuit.rb +80 -1
- data/lib/oci/core/models/volume_backup.rb +87 -4
- data/lib/oci/core/models/volume_backup_schedule.rb +45 -4
- data/lib/oci/core/models/volume_group_backup.rb +73 -4
- data/lib/oci/core/virtual_network_client.rb +136 -2
- data/lib/oci/database/database.rb +13 -0
- data/lib/oci/database/database_client.rb +923 -111
- data/lib/oci/database/database_client_composite_operations.rb +283 -0
- data/lib/oci/database/models/basecc_vm_cluster.rb +713 -0
- data/lib/oci/database/models/basecc_vm_cluster_summary.rb +716 -0
- data/lib/oci/database/models/basecc_vm_cluster_update.rb +342 -0
- data/lib/oci/database/models/basecc_vm_cluster_update_details.rb +198 -0
- data/lib/oci/database/models/basecc_vm_cluster_update_history_entry.rb +318 -0
- data/lib/oci/database/models/basecc_vm_cluster_update_history_entry_summary.rb +321 -0
- data/lib/oci/database/models/basecc_vm_cluster_update_summary.rb +349 -0
- data/lib/oci/database/models/change_basecc_vm_cluster_compartment_details.rb +156 -0
- data/lib/oci/database/models/cloud_vm_cluster.rb +28 -1
- data/lib/oci/database/models/cloud_vm_cluster_summary.rb +28 -1
- data/lib/oci/database/models/create_basecc_vm_cluster_details.rb +506 -0
- data/lib/oci/database/models/create_database_software_image_details.rb +2 -1
- data/lib/oci/database/models/database_software_image.rb +1 -0
- data/lib/oci/database/models/database_software_image_summary.rb +1 -0
- data/lib/oci/database/models/exadata_live_image_version_details.rb +216 -0
- data/lib/oci/database/models/exadb_vm_cluster.rb +53 -4
- data/lib/oci/database/models/exadb_vm_cluster_summary.rb +53 -4
- data/lib/oci/database/models/register_exadb_vm_cluster_pkcs_details.rb +171 -0
- data/lib/oci/database/models/unregister_exadb_vm_cluster_pkcs_details.rb +171 -0
- data/lib/oci/database/models/update.rb +94 -1
- data/lib/oci/database/models/update_basecc_vm_cluster_details.rb +345 -0
- data/lib/oci/database/models/update_details.rb +33 -1
- data/lib/oci/database/models/update_history_entry.rb +39 -1
- data/lib/oci/database/models/update_history_entry_summary.rb +39 -1
- data/lib/oci/database/models/update_summary.rb +94 -1
- data/lib/oci/database/models/vm_cluster.rb +28 -1
- data/lib/oci/database/models/vm_cluster_summary.rb +28 -1
- data/lib/oci/database/models/vm_cluster_update.rb +94 -1
- data/lib/oci/database/models/vm_cluster_update_details.rb +33 -1
- data/lib/oci/database/models/vm_cluster_update_history_entry.rb +39 -1
- data/lib/oci/database/models/vm_cluster_update_history_entry_summary.rb +39 -1
- data/lib/oci/database/models/vm_cluster_update_summary.rb +94 -1
- data/lib/oci/file_storage/models/file_system.rb +37 -4
- data/lib/oci/file_storage/models/file_system_summary.rb +37 -4
- data/lib/oci/file_storage/models/snapshot.rb +19 -4
- data/lib/oci/file_storage/models/snapshot_summary.rb +19 -4
- data/lib/oci/generative_ai/models/create_dedicated_ai_cluster_details.rb +3 -0
- data/lib/oci/generative_ai/models/dedicated_ai_cluster.rb +2 -0
- data/lib/oci/golden_gate/golden_gate.rb +29 -0
- data/lib/oci/golden_gate/golden_gate_client.rb +185 -6
- data/lib/oci/golden_gate/models/ai_model_auth_details.rb +194 -0
- data/lib/oci/golden_gate/models/ai_model_auth_details_summary.rb +194 -0
- data/lib/oci/golden_gate/models/ai_model_auth_type.rb +13 -0
- data/lib/oci/golden_gate/models/ai_model_collection.rb +153 -0
- data/lib/oci/golden_gate/models/ai_model_connection.rb +350 -0
- data/lib/oci/golden_gate/models/ai_model_connection_summary.rb +333 -0
- data/lib/oci/golden_gate/models/ai_model_summary.rb +216 -0
- data/lib/oci/golden_gate/models/ai_provider_collection.rb +153 -0
- data/lib/oci/golden_gate/models/ai_provider_summary.rb +249 -0
- data/lib/oci/golden_gate/models/amazon_kinesis_connection.rb +1 -0
- data/lib/oci/golden_gate/models/amazon_kinesis_connection_summary.rb +1 -0
- data/lib/oci/golden_gate/models/amazon_s3_connection.rb +1 -1
- data/lib/oci/golden_gate/models/amazon_s3_connection_summary.rb +1 -1
- data/lib/oci/golden_gate/models/amazon_s3_iceberg_storage.rb +1 -0
- data/lib/oci/golden_gate/models/amazon_s3_iceberg_storage_summary.rb +1 -0
- data/lib/oci/golden_gate/models/api_key_ai_model_auth_details.rb +199 -0
- data/lib/oci/golden_gate/models/api_key_ai_model_auth_details_summary.rb +181 -0
- data/lib/oci/golden_gate/models/connection.rb +43 -6
- data/lib/oci/golden_gate/models/connection_assignment.rb +63 -1
- data/lib/oci/golden_gate/models/connection_assignment_summary.rb +64 -1
- data/lib/oci/golden_gate/models/connection_summary.rb +42 -6
- data/lib/oci/golden_gate/models/connection_type.rb +2 -1
- data/lib/oci/golden_gate/models/create_ai_model_auth_details.rb +187 -0
- data/lib/oci/golden_gate/models/create_ai_model_connection_details.rb +298 -0
- data/lib/oci/golden_gate/models/create_amazon_kinesis_connection_details.rb +4 -1
- data/lib/oci/golden_gate/models/create_amazon_redshift_connection_details.rb +3 -1
- data/lib/oci/golden_gate/models/create_amazon_s3_connection_details.rb +5 -3
- data/lib/oci/golden_gate/models/create_amazon_s3_iceberg_storage_details.rb +5 -2
- data/lib/oci/golden_gate/models/create_api_key_ai_model_auth_details.rb +199 -0
- data/lib/oci/golden_gate/models/create_azure_data_lake_storage_connection_details.rb +9 -3
- data/lib/oci/golden_gate/models/create_azure_data_lake_storage_iceberg_storage_details.rb +3 -1
- data/lib/oci/golden_gate/models/create_azure_synapse_connection_details.rb +3 -1
- data/lib/oci/golden_gate/models/create_connection_details.rb +43 -7
- data/lib/oci/golden_gate/models/create_database_registration_details.rb +6 -2
- data/lib/oci/golden_gate/models/create_databricks_connection_details.rb +6 -2
- data/lib/oci/golden_gate/models/create_db2_connection_details.rb +9 -3
- data/lib/oci/golden_gate/models/create_elasticsearch_connection_details.rb +3 -1
- data/lib/oci/golden_gate/models/create_golden_gate_connection_details.rb +3 -1
- data/lib/oci/golden_gate/models/create_google_big_query_connection_details.rb +3 -1
- data/lib/oci/golden_gate/models/create_google_cloud_storage_connection_details.rb +3 -1
- data/lib/oci/golden_gate/models/create_google_cloud_storage_iceberg_storage_details.rb +3 -1
- data/lib/oci/golden_gate/models/create_google_pub_sub_connection_details.rb +3 -1
- data/lib/oci/golden_gate/models/create_iceberg_connection_details.rb +1 -0
- data/lib/oci/golden_gate/models/create_iceberg_storage_details.rb +5 -1
- data/lib/oci/golden_gate/models/create_java_message_service_connection_details.rb +21 -7
- data/lib/oci/golden_gate/models/create_kafka_connection_details.rb +18 -6
- data/lib/oci/golden_gate/models/create_kafka_schema_registry_connection_details.rb +18 -6
- data/lib/oci/golden_gate/models/create_microsoft_fabric_connection_details.rb +3 -1
- data/lib/oci/golden_gate/models/create_microsoft_sqlserver_connection_details.rb +3 -1
- data/lib/oci/golden_gate/models/create_mongo_db_connection_details.rb +9 -3
- data/lib/oci/golden_gate/models/create_mysql_connection_details.rb +6 -2
- data/lib/oci/golden_gate/models/create_no_iceberg_storage_details.rb +148 -0
- data/lib/oci/golden_gate/models/create_oci_gen_ai_model_auth_details.rb +242 -0
- data/lib/oci/golden_gate/models/create_oci_object_storage_connection_details.rb +6 -2
- data/lib/oci/golden_gate/models/create_oci_object_storage_s3_api_iceberg_storage_details.rb +228 -0
- data/lib/oci/golden_gate/models/create_oracle_ai_data_platform_connection_details.rb +6 -2
- data/lib/oci/golden_gate/models/create_oracle_connection_details.rb +7 -3
- data/lib/oci/golden_gate/models/create_oracle_nosql_connection_details.rb +6 -2
- data/lib/oci/golden_gate/models/create_postgresql_connection_details.rb +6 -2
- data/lib/oci/golden_gate/models/create_redis_connection_details.rb +15 -5
- data/lib/oci/golden_gate/models/create_snowflake_connection_details.rb +9 -3
- data/lib/oci/golden_gate/models/deployment_type_summary.rb +1 -0
- data/lib/oci/golden_gate/models/iceberg_connection.rb +1 -0
- data/lib/oci/golden_gate/models/iceberg_connection_summary.rb +1 -0
- data/lib/oci/golden_gate/models/iceberg_storage.rb +4 -0
- data/lib/oci/golden_gate/models/iceberg_storage_summary.rb +4 -0
- data/lib/oci/golden_gate/models/iceberg_storage_type.rb +3 -1
- data/lib/oci/golden_gate/models/kafka_connection.rb +1 -0
- data/lib/oci/golden_gate/models/no_iceberg_storage.rb +148 -0
- data/lib/oci/golden_gate/models/no_iceberg_storage_summary.rb +148 -0
- data/lib/oci/golden_gate/models/oci_gen_ai_model_auth_details.rb +242 -0
- data/lib/oci/golden_gate/models/oci_gen_ai_model_auth_details_summary.rb +224 -0
- data/lib/oci/golden_gate/models/oci_object_storage_s3_api_iceberg_storage.rb +209 -0
- data/lib/oci/golden_gate/models/oci_object_storage_s3_api_iceberg_storage_summary.rb +209 -0
- data/lib/oci/golden_gate/models/oracle_connection.rb +4 -1
- data/lib/oci/golden_gate/models/oracle_connection_summary.rb +1 -1
- data/lib/oci/golden_gate/models/technology_type.rb +6 -1
- data/lib/oci/golden_gate/models/update_ai_model_auth_details.rb +187 -0
- data/lib/oci/golden_gate/models/update_ai_model_connection_details.rb +237 -0
- data/lib/oci/golden_gate/models/update_amazon_kinesis_connection_details.rb +4 -1
- data/lib/oci/golden_gate/models/update_amazon_redshift_connection_details.rb +3 -1
- data/lib/oci/golden_gate/models/update_amazon_s3_connection_details.rb +5 -3
- data/lib/oci/golden_gate/models/update_amazon_s3_iceberg_storage_details.rb +5 -2
- data/lib/oci/golden_gate/models/update_api_key_ai_model_auth_details.rb +199 -0
- data/lib/oci/golden_gate/models/update_azure_data_lake_storage_connection_details.rb +9 -3
- data/lib/oci/golden_gate/models/update_azure_data_lake_storage_iceberg_storage_details.rb +3 -1
- data/lib/oci/golden_gate/models/update_azure_synapse_connection_details.rb +3 -1
- data/lib/oci/golden_gate/models/update_connection_details.rb +43 -7
- data/lib/oci/golden_gate/models/update_database_registration_details.rb +6 -2
- data/lib/oci/golden_gate/models/update_databricks_connection_details.rb +6 -2
- data/lib/oci/golden_gate/models/update_db2_connection_details.rb +9 -3
- data/lib/oci/golden_gate/models/update_elasticsearch_connection_details.rb +3 -1
- data/lib/oci/golden_gate/models/update_golden_gate_connection_details.rb +3 -1
- data/lib/oci/golden_gate/models/update_google_big_query_connection_details.rb +3 -1
- data/lib/oci/golden_gate/models/update_google_cloud_storage_connection_details.rb +3 -1
- data/lib/oci/golden_gate/models/update_google_cloud_storage_iceberg_storage_details.rb +3 -1
- data/lib/oci/golden_gate/models/update_google_pub_sub_connection_details.rb +3 -1
- data/lib/oci/golden_gate/models/update_iceberg_storage_details.rb +5 -1
- data/lib/oci/golden_gate/models/update_java_message_service_connection_details.rb +21 -7
- data/lib/oci/golden_gate/models/update_kafka_connection_details.rb +18 -6
- data/lib/oci/golden_gate/models/update_kafka_schema_registry_connection_details.rb +18 -6
- data/lib/oci/golden_gate/models/update_microsoft_fabric_connection_details.rb +3 -1
- data/lib/oci/golden_gate/models/update_microsoft_sqlserver_connection_details.rb +3 -1
- data/lib/oci/golden_gate/models/update_mongo_db_connection_details.rb +9 -3
- data/lib/oci/golden_gate/models/update_mysql_connection_details.rb +6 -2
- data/lib/oci/golden_gate/models/update_no_iceberg_storage_details.rb +148 -0
- data/lib/oci/golden_gate/models/update_oci_gen_ai_model_auth_details.rb +242 -0
- data/lib/oci/golden_gate/models/update_oci_object_storage_connection_details.rb +6 -2
- data/lib/oci/golden_gate/models/update_oci_object_storage_s3_api_iceberg_storage_details.rb +228 -0
- data/lib/oci/golden_gate/models/update_oracle_ai_data_platform_connection_details.rb +6 -2
- data/lib/oci/golden_gate/models/update_oracle_connection_details.rb +7 -3
- data/lib/oci/golden_gate/models/update_oracle_nosql_connection_details.rb +6 -2
- data/lib/oci/golden_gate/models/update_postgresql_connection_details.rb +6 -2
- data/lib/oci/golden_gate/models/update_redis_connection_details.rb +15 -5
- data/lib/oci/golden_gate/models/update_snowflake_connection_details.rb +9 -3
- data/lib/oci/regions.rb +8 -1
- data/lib/oci/version.rb +1 -1
- metadata +55 -2
|
@@ -101,9 +101,9 @@ module OCI
|
|
|
101
101
|
|
|
102
102
|
|
|
103
103
|
# Change the compartment of an Analytics instance. The operation is long-running
|
|
104
|
-
# and creates a new
|
|
104
|
+
# and creates a new work request.
|
|
105
105
|
#
|
|
106
|
-
# @param [String] analytics_instance_id The OCID of the
|
|
106
|
+
# @param [String] analytics_instance_id The OCID of the Analytics instance.
|
|
107
107
|
#
|
|
108
108
|
# @param [OCI::Analytics::Models::ChangeCompartmentDetails] change_compartment_details Input payload to move the resource to a different compartment.
|
|
109
109
|
#
|
|
@@ -174,12 +174,12 @@ module OCI
|
|
|
174
174
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
175
175
|
|
|
176
176
|
|
|
177
|
-
# Change an Analytics instance
|
|
178
|
-
# and creates a new
|
|
177
|
+
# Change the network endpoint for an Analytics instance. The operation is long-running
|
|
178
|
+
# and creates a new work request.
|
|
179
179
|
#
|
|
180
|
-
# @param [String] analytics_instance_id The OCID of the
|
|
180
|
+
# @param [String] analytics_instance_id The OCID of the Analytics instance.
|
|
181
181
|
#
|
|
182
|
-
# @param [OCI::Analytics::Models::ChangeAnalyticsInstanceNetworkEndpointDetails] change_analytics_instance_network_endpoint_details Input payload for changing an Analytics instance
|
|
182
|
+
# @param [OCI::Analytics::Models::ChangeAnalyticsInstanceNetworkEndpointDetails] change_analytics_instance_network_endpoint_details Input payload for changing a network endpoint for an Analytics instance.
|
|
183
183
|
#
|
|
184
184
|
# @param [Hash] opts the optional parameters
|
|
185
185
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
@@ -248,10 +248,10 @@ module OCI
|
|
|
248
248
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
249
249
|
|
|
250
250
|
|
|
251
|
-
# Create a new
|
|
252
|
-
# and creates a new
|
|
251
|
+
# Create a new Analytics instance in the specified compartment. The operation is long-running
|
|
252
|
+
# and creates a new work request.
|
|
253
253
|
#
|
|
254
|
-
# @param [OCI::Analytics::Models::CreateAnalyticsInstanceDetails] create_analytics_instance_details Analytics
|
|
254
|
+
# @param [OCI::Analytics::Models::CreateAnalyticsInstanceDetails] create_analytics_instance_details Analytics instance details.
|
|
255
255
|
#
|
|
256
256
|
# @param [Hash] opts the optional parameters
|
|
257
257
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
@@ -314,10 +314,10 @@ module OCI
|
|
|
314
314
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
315
315
|
|
|
316
316
|
|
|
317
|
-
# Create an
|
|
318
|
-
# and creates a new
|
|
317
|
+
# Create an private access channel for the Analytics instance. The operation is long-running
|
|
318
|
+
# and creates a new work request.
|
|
319
319
|
#
|
|
320
|
-
# @param [String] analytics_instance_id The OCID of the
|
|
320
|
+
# @param [String] analytics_instance_id The OCID of the Analytics instance.
|
|
321
321
|
#
|
|
322
322
|
# @param [OCI::Analytics::Models::CreatePrivateAccessChannelDetails] create_private_access_channel_details Input payload for creating a private access channel for an Analytics instance.
|
|
323
323
|
#
|
|
@@ -383,12 +383,80 @@ module OCI
|
|
|
383
383
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
384
384
|
|
|
385
385
|
|
|
386
|
-
#
|
|
387
|
-
# for this host.
|
|
386
|
+
# Create a new resource group for the instance
|
|
388
387
|
#
|
|
389
|
-
# @param [String] analytics_instance_id The OCID of the
|
|
388
|
+
# @param [String] analytics_instance_id The OCID of the Analytics instance.
|
|
390
389
|
#
|
|
391
|
-
# @param [OCI::Analytics::Models::
|
|
390
|
+
# @param [OCI::Analytics::Models::CreateResourceGroupDetails] create_resource_group_details Resource group details
|
|
391
|
+
#
|
|
392
|
+
# @param [Hash] opts the optional parameters
|
|
393
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
394
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
395
|
+
# @option opts [String] :opc_request_id Unique identifier for the request.
|
|
396
|
+
# If you need to contact Oracle about a particular request, please provide the request ID.
|
|
397
|
+
#
|
|
398
|
+
# @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case of a timeout or
|
|
399
|
+
# server error without risk of executing that same action again. Retry tokens expire after 24
|
|
400
|
+
# hours, but can be invalidated before then due to conflicting operations (for example, if a resource
|
|
401
|
+
# has been deleted and purged from the system, then a retry of the original creation request
|
|
402
|
+
# may be rejected).
|
|
403
|
+
#
|
|
404
|
+
# @return [Response] A Response object with data of type {OCI::Analytics::Models::InstanceResourceGroup InstanceResourceGroup}
|
|
405
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/analytics/create_resource_group.rb.html) to see an example of how to use create_resource_group API.
|
|
406
|
+
def create_resource_group(analytics_instance_id, create_resource_group_details, opts = {})
|
|
407
|
+
logger.debug 'Calling operation AnalyticsClient#create_resource_group.' if logger
|
|
408
|
+
|
|
409
|
+
raise "Missing the required parameter 'analytics_instance_id' when calling create_resource_group." if analytics_instance_id.nil?
|
|
410
|
+
raise "Missing the required parameter 'create_resource_group_details' when calling create_resource_group." if create_resource_group_details.nil?
|
|
411
|
+
raise "Parameter value for 'analytics_instance_id' must not be blank" if OCI::Internal::Util.blank_string?(analytics_instance_id)
|
|
412
|
+
|
|
413
|
+
path = '/analyticsInstances/{analyticsInstanceId}/resourceGroups'.sub('{analyticsInstanceId}', analytics_instance_id.to_s)
|
|
414
|
+
operation_signing_strategy = :standard
|
|
415
|
+
|
|
416
|
+
# rubocop:disable Style/NegatedIf
|
|
417
|
+
# Query Params
|
|
418
|
+
query_params = {}
|
|
419
|
+
|
|
420
|
+
# Header Params
|
|
421
|
+
header_params = {}
|
|
422
|
+
header_params[:accept] = 'application/json'
|
|
423
|
+
header_params[:'content-type'] = 'application/json'
|
|
424
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
|
425
|
+
header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
|
|
426
|
+
# rubocop:enable Style/NegatedIf
|
|
427
|
+
header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
|
|
428
|
+
|
|
429
|
+
post_body = @api_client.object_to_http_body(create_resource_group_details)
|
|
430
|
+
|
|
431
|
+
# rubocop:disable Metrics/BlockLength
|
|
432
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'AnalyticsClient#create_resource_group') do
|
|
433
|
+
@api_client.call_api(
|
|
434
|
+
:POST,
|
|
435
|
+
path,
|
|
436
|
+
endpoint,
|
|
437
|
+
header_params: header_params,
|
|
438
|
+
query_params: query_params,
|
|
439
|
+
operation_signing_strategy: operation_signing_strategy,
|
|
440
|
+
body: post_body,
|
|
441
|
+
return_type: 'OCI::Analytics::Models::InstanceResourceGroup'
|
|
442
|
+
)
|
|
443
|
+
end
|
|
444
|
+
# rubocop:enable Metrics/BlockLength
|
|
445
|
+
end
|
|
446
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
447
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
448
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
|
449
|
+
|
|
450
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
451
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
452
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
453
|
+
|
|
454
|
+
|
|
455
|
+
# Allows you to specify a custom host name to be used to access the Analytics instance. You must set up a DNS entry and certificate for this host in advance.
|
|
456
|
+
#
|
|
457
|
+
# @param [String] analytics_instance_id The OCID of the Analytics instance.
|
|
458
|
+
#
|
|
459
|
+
# @param [OCI::Analytics::Models::CreateVanityUrlDetails] create_vanity_url_details Vanity URL details.
|
|
392
460
|
#
|
|
393
461
|
# @param [Hash] opts the optional parameters
|
|
394
462
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
@@ -452,10 +520,10 @@ module OCI
|
|
|
452
520
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
453
521
|
|
|
454
522
|
|
|
455
|
-
#
|
|
456
|
-
# and creates a new
|
|
523
|
+
# Deletes the specified Analytics instance. The operation is long-running
|
|
524
|
+
# and creates a new work request.
|
|
457
525
|
#
|
|
458
|
-
# @param [String] analytics_instance_id The OCID of the
|
|
526
|
+
# @param [String] analytics_instance_id The OCID of the Analytics instance.
|
|
459
527
|
#
|
|
460
528
|
# @param [Hash] opts the optional parameters
|
|
461
529
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
@@ -523,11 +591,11 @@ module OCI
|
|
|
523
591
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
524
592
|
|
|
525
593
|
|
|
526
|
-
# Delete
|
|
594
|
+
# Delete a private access channel with a given unique identifier key, for an Analytics instance.
|
|
527
595
|
#
|
|
528
|
-
# @param [String] private_access_channel_key The unique identifier key of the
|
|
596
|
+
# @param [String] private_access_channel_key The unique identifier key of the private access channel.
|
|
529
597
|
#
|
|
530
|
-
# @param [String] analytics_instance_id The OCID of the
|
|
598
|
+
# @param [String] analytics_instance_id The OCID of the Analytics instance.
|
|
531
599
|
#
|
|
532
600
|
# @param [Hash] opts the optional parameters
|
|
533
601
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
@@ -597,11 +665,85 @@ module OCI
|
|
|
597
665
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
598
666
|
|
|
599
667
|
|
|
600
|
-
# Allows deleting a previously created
|
|
668
|
+
# Allows deleting a previously created resource group.
|
|
601
669
|
#
|
|
602
|
-
# @param [String] analytics_instance_id The OCID of the
|
|
670
|
+
# @param [String] analytics_instance_id The OCID of the Analytics instance.
|
|
603
671
|
#
|
|
604
|
-
# @param [String]
|
|
672
|
+
# @param [String] analytics_instance_resource_group_id Specify unique id of a resource group within an Analytics instance.
|
|
673
|
+
#
|
|
674
|
+
# @param [Hash] opts the optional parameters
|
|
675
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
676
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
677
|
+
# @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
|
|
678
|
+
# parameter to the value of the etag from a previous GET or POST response for that resource. The resource
|
|
679
|
+
# will be updated or deleted only if the etag you provide matches the resource's current etag value.
|
|
680
|
+
#
|
|
681
|
+
# @option opts [String] :opc_request_id Unique identifier for the request.
|
|
682
|
+
# If you need to contact Oracle about a particular request, please provide the request ID.
|
|
683
|
+
#
|
|
684
|
+
# @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case of a timeout or
|
|
685
|
+
# server error without risk of executing that same action again. Retry tokens expire after 24
|
|
686
|
+
# hours, but can be invalidated before then due to conflicting operations (for example, if a resource
|
|
687
|
+
# has been deleted and purged from the system, then a retry of the original creation request
|
|
688
|
+
# may be rejected).
|
|
689
|
+
#
|
|
690
|
+
# @return [Response] A Response object with data of type nil
|
|
691
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/analytics/delete_resource_group.rb.html) to see an example of how to use delete_resource_group API.
|
|
692
|
+
def delete_resource_group(analytics_instance_id, analytics_instance_resource_group_id, opts = {})
|
|
693
|
+
logger.debug 'Calling operation AnalyticsClient#delete_resource_group.' if logger
|
|
694
|
+
|
|
695
|
+
raise "Missing the required parameter 'analytics_instance_id' when calling delete_resource_group." if analytics_instance_id.nil?
|
|
696
|
+
raise "Missing the required parameter 'analytics_instance_resource_group_id' when calling delete_resource_group." if analytics_instance_resource_group_id.nil?
|
|
697
|
+
raise "Parameter value for 'analytics_instance_id' must not be blank" if OCI::Internal::Util.blank_string?(analytics_instance_id)
|
|
698
|
+
raise "Parameter value for 'analytics_instance_resource_group_id' must not be blank" if OCI::Internal::Util.blank_string?(analytics_instance_resource_group_id)
|
|
699
|
+
|
|
700
|
+
path = '/analyticsInstances/{analyticsInstanceId}/resourceGroups/{analyticsInstanceResourceGroupId}'.sub('{analyticsInstanceId}', analytics_instance_id.to_s).sub('{analyticsInstanceResourceGroupId}', analytics_instance_resource_group_id.to_s)
|
|
701
|
+
operation_signing_strategy = :standard
|
|
702
|
+
|
|
703
|
+
# rubocop:disable Style/NegatedIf
|
|
704
|
+
# Query Params
|
|
705
|
+
query_params = {}
|
|
706
|
+
|
|
707
|
+
# Header Params
|
|
708
|
+
header_params = {}
|
|
709
|
+
header_params[:accept] = 'application/json'
|
|
710
|
+
header_params[:'content-type'] = 'application/json'
|
|
711
|
+
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
|
712
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
|
713
|
+
header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
|
|
714
|
+
# rubocop:enable Style/NegatedIf
|
|
715
|
+
header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
|
|
716
|
+
|
|
717
|
+
post_body = nil
|
|
718
|
+
|
|
719
|
+
# rubocop:disable Metrics/BlockLength
|
|
720
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'AnalyticsClient#delete_resource_group') do
|
|
721
|
+
@api_client.call_api(
|
|
722
|
+
:DELETE,
|
|
723
|
+
path,
|
|
724
|
+
endpoint,
|
|
725
|
+
header_params: header_params,
|
|
726
|
+
query_params: query_params,
|
|
727
|
+
operation_signing_strategy: operation_signing_strategy,
|
|
728
|
+
body: post_body
|
|
729
|
+
)
|
|
730
|
+
end
|
|
731
|
+
# rubocop:enable Metrics/BlockLength
|
|
732
|
+
end
|
|
733
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
734
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
735
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
|
736
|
+
|
|
737
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
738
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
739
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
740
|
+
|
|
741
|
+
|
|
742
|
+
# Deletes a previously created vanity URL.
|
|
743
|
+
#
|
|
744
|
+
# @param [String] analytics_instance_id The OCID of the Analytics instance.
|
|
745
|
+
#
|
|
746
|
+
# @param [String] vanity_url_key Specify unique identifier key of a vanity URL to update or delete.
|
|
605
747
|
#
|
|
606
748
|
# @param [Hash] opts the optional parameters
|
|
607
749
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
@@ -671,7 +813,7 @@ module OCI
|
|
|
671
813
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
672
814
|
|
|
673
815
|
|
|
674
|
-
# Cancel a work request that
|
|
816
|
+
# Cancel a work request that hasn't started yet.
|
|
675
817
|
#
|
|
676
818
|
# @param [String] work_request_id The OCID of the work request.
|
|
677
819
|
#
|
|
@@ -733,9 +875,9 @@ module OCI
|
|
|
733
875
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
734
876
|
|
|
735
877
|
|
|
736
|
-
#
|
|
878
|
+
# Information about a specific Analytics instance.
|
|
737
879
|
#
|
|
738
|
-
# @param [String] analytics_instance_id The OCID of the
|
|
880
|
+
# @param [String] analytics_instance_id The OCID of the Analytics instance.
|
|
739
881
|
#
|
|
740
882
|
# @param [Hash] opts the optional parameters
|
|
741
883
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
@@ -791,11 +933,11 @@ module OCI
|
|
|
791
933
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
792
934
|
|
|
793
935
|
|
|
794
|
-
# Retrieve private access channel
|
|
936
|
+
# Retrieve private access channel for the specified Analytics Instance.
|
|
795
937
|
#
|
|
796
|
-
# @param [String] private_access_channel_key The unique identifier key of the
|
|
938
|
+
# @param [String] private_access_channel_key The unique identifier key of the private access channel.
|
|
797
939
|
#
|
|
798
|
-
# @param [String] analytics_instance_id The OCID of the
|
|
940
|
+
# @param [String] analytics_instance_id The OCID of the Analytics instance.
|
|
799
941
|
#
|
|
800
942
|
# @param [Hash] opts the optional parameters
|
|
801
943
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
@@ -853,6 +995,68 @@ module OCI
|
|
|
853
995
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
854
996
|
|
|
855
997
|
|
|
998
|
+
# Get details of a resource group for an instance
|
|
999
|
+
#
|
|
1000
|
+
# @param [String] analytics_instance_id The OCID of the Analytics instance.
|
|
1001
|
+
#
|
|
1002
|
+
# @param [String] analytics_instance_resource_group_id Specify unique id of a resource group within an Analytics instance.
|
|
1003
|
+
#
|
|
1004
|
+
# @param [Hash] opts the optional parameters
|
|
1005
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
1006
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
1007
|
+
# @option opts [String] :opc_request_id Unique identifier for the request.
|
|
1008
|
+
# If you need to contact Oracle about a particular request, please provide the request ID.
|
|
1009
|
+
#
|
|
1010
|
+
# @return [Response] A Response object with data of type {OCI::Analytics::Models::InstanceResourceGroup InstanceResourceGroup}
|
|
1011
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/analytics/get_resource_group.rb.html) to see an example of how to use get_resource_group API.
|
|
1012
|
+
def get_resource_group(analytics_instance_id, analytics_instance_resource_group_id, opts = {})
|
|
1013
|
+
logger.debug 'Calling operation AnalyticsClient#get_resource_group.' if logger
|
|
1014
|
+
|
|
1015
|
+
raise "Missing the required parameter 'analytics_instance_id' when calling get_resource_group." if analytics_instance_id.nil?
|
|
1016
|
+
raise "Missing the required parameter 'analytics_instance_resource_group_id' when calling get_resource_group." if analytics_instance_resource_group_id.nil?
|
|
1017
|
+
raise "Parameter value for 'analytics_instance_id' must not be blank" if OCI::Internal::Util.blank_string?(analytics_instance_id)
|
|
1018
|
+
raise "Parameter value for 'analytics_instance_resource_group_id' must not be blank" if OCI::Internal::Util.blank_string?(analytics_instance_resource_group_id)
|
|
1019
|
+
|
|
1020
|
+
path = '/analyticsInstances/{analyticsInstanceId}/resourceGroups/{analyticsInstanceResourceGroupId}'.sub('{analyticsInstanceId}', analytics_instance_id.to_s).sub('{analyticsInstanceResourceGroupId}', analytics_instance_resource_group_id.to_s)
|
|
1021
|
+
operation_signing_strategy = :standard
|
|
1022
|
+
|
|
1023
|
+
# rubocop:disable Style/NegatedIf
|
|
1024
|
+
# Query Params
|
|
1025
|
+
query_params = {}
|
|
1026
|
+
|
|
1027
|
+
# Header Params
|
|
1028
|
+
header_params = {}
|
|
1029
|
+
header_params[:accept] = 'application/json'
|
|
1030
|
+
header_params[:'content-type'] = 'application/json'
|
|
1031
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
|
1032
|
+
# rubocop:enable Style/NegatedIf
|
|
1033
|
+
|
|
1034
|
+
post_body = nil
|
|
1035
|
+
|
|
1036
|
+
# rubocop:disable Metrics/BlockLength
|
|
1037
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'AnalyticsClient#get_resource_group') do
|
|
1038
|
+
@api_client.call_api(
|
|
1039
|
+
:GET,
|
|
1040
|
+
path,
|
|
1041
|
+
endpoint,
|
|
1042
|
+
header_params: header_params,
|
|
1043
|
+
query_params: query_params,
|
|
1044
|
+
operation_signing_strategy: operation_signing_strategy,
|
|
1045
|
+
body: post_body,
|
|
1046
|
+
return_type: 'OCI::Analytics::Models::InstanceResourceGroup'
|
|
1047
|
+
)
|
|
1048
|
+
end
|
|
1049
|
+
# rubocop:enable Metrics/BlockLength
|
|
1050
|
+
end
|
|
1051
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
1052
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
1053
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
|
1054
|
+
|
|
1055
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
1056
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
1057
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
1058
|
+
|
|
1059
|
+
|
|
856
1060
|
# Get the details of a work request.
|
|
857
1061
|
#
|
|
858
1062
|
# @param [String] work_request_id The OCID of the work request.
|
|
@@ -1023,6 +1227,94 @@ module OCI
|
|
|
1023
1227
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
1024
1228
|
|
|
1025
1229
|
|
|
1230
|
+
# List resource groups associated with an instance.
|
|
1231
|
+
#
|
|
1232
|
+
# @param [String] analytics_instance_id The OCID of the Analytics instance.
|
|
1233
|
+
#
|
|
1234
|
+
# @param [Hash] opts the optional parameters
|
|
1235
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
1236
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
1237
|
+
# @option opts [String] :opc_request_id Unique identifier for the request.
|
|
1238
|
+
# If you need to contact Oracle about a particular request, please provide the request ID.
|
|
1239
|
+
#
|
|
1240
|
+
# @option opts [String] :name A filter to return only resources that match the given name exactly.
|
|
1241
|
+
#
|
|
1242
|
+
# @option opts [Integer] :limit For list pagination. The maximum number of results per page, or items to return in a paginated
|
|
1243
|
+
# \"List\" call. For important details about how pagination works, see
|
|
1244
|
+
# [List Pagination](https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
|
|
1245
|
+
#
|
|
1246
|
+
# Example: `50`
|
|
1247
|
+
#
|
|
1248
|
+
# @option opts [String] :page For list pagination. The value of the `opc-next-page` response header from the previous \"List\"
|
|
1249
|
+
# call. For important details about how pagination works, see
|
|
1250
|
+
# [List Pagination](https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
|
|
1251
|
+
#
|
|
1252
|
+
# @option opts [String] :sort_by The field to sort by (one column only). Default sort order is
|
|
1253
|
+
# default group first, then sort by resource name, ascending.
|
|
1254
|
+
#
|
|
1255
|
+
# @option opts [String] :sort_order The sort order to use, either ascending (`ASC`) or descending (`DESC`).
|
|
1256
|
+
#
|
|
1257
|
+
# @return [Response] A Response object with data of type Array<{OCI::Analytics::Models::InstanceResourceGroupSummary InstanceResourceGroupSummary}>
|
|
1258
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/analytics/list_resource_groups.rb.html) to see an example of how to use list_resource_groups API.
|
|
1259
|
+
def list_resource_groups(analytics_instance_id, opts = {})
|
|
1260
|
+
logger.debug 'Calling operation AnalyticsClient#list_resource_groups.' if logger
|
|
1261
|
+
|
|
1262
|
+
raise "Missing the required parameter 'analytics_instance_id' when calling list_resource_groups." if analytics_instance_id.nil?
|
|
1263
|
+
|
|
1264
|
+
if opts[:sort_by] && !OCI::Analytics::Models::RESOURCE_GROUP_SORT_BY_ENUM.include?(opts[:sort_by])
|
|
1265
|
+
raise 'Invalid value for "sort_by", must be one of the values in OCI::Analytics::Models::RESOURCE_GROUP_SORT_BY_ENUM.'
|
|
1266
|
+
end
|
|
1267
|
+
|
|
1268
|
+
if opts[:sort_order] && !OCI::Analytics::Models::SORT_ORDER_ENUM.include?(opts[:sort_order])
|
|
1269
|
+
raise 'Invalid value for "sort_order", must be one of the values in OCI::Analytics::Models::SORT_ORDER_ENUM.'
|
|
1270
|
+
end
|
|
1271
|
+
raise "Parameter value for 'analytics_instance_id' must not be blank" if OCI::Internal::Util.blank_string?(analytics_instance_id)
|
|
1272
|
+
|
|
1273
|
+
path = '/analyticsInstances/{analyticsInstanceId}/resourceGroups'.sub('{analyticsInstanceId}', analytics_instance_id.to_s)
|
|
1274
|
+
operation_signing_strategy = :standard
|
|
1275
|
+
|
|
1276
|
+
# rubocop:disable Style/NegatedIf
|
|
1277
|
+
# Query Params
|
|
1278
|
+
query_params = {}
|
|
1279
|
+
query_params[:name] = opts[:name] if opts[:name]
|
|
1280
|
+
query_params[:limit] = opts[:limit] if opts[:limit]
|
|
1281
|
+
query_params[:page] = opts[:page] if opts[:page]
|
|
1282
|
+
query_params[:sortBy] = opts[:sort_by] if opts[:sort_by]
|
|
1283
|
+
query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order]
|
|
1284
|
+
|
|
1285
|
+
# Header Params
|
|
1286
|
+
header_params = {}
|
|
1287
|
+
header_params[:accept] = 'application/json'
|
|
1288
|
+
header_params[:'content-type'] = 'application/json'
|
|
1289
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
|
1290
|
+
# rubocop:enable Style/NegatedIf
|
|
1291
|
+
|
|
1292
|
+
post_body = nil
|
|
1293
|
+
|
|
1294
|
+
# rubocop:disable Metrics/BlockLength
|
|
1295
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'AnalyticsClient#list_resource_groups') do
|
|
1296
|
+
@api_client.call_api(
|
|
1297
|
+
:GET,
|
|
1298
|
+
path,
|
|
1299
|
+
endpoint,
|
|
1300
|
+
header_params: header_params,
|
|
1301
|
+
query_params: query_params,
|
|
1302
|
+
operation_signing_strategy: operation_signing_strategy,
|
|
1303
|
+
body: post_body,
|
|
1304
|
+
return_type: 'Array<OCI::Analytics::Models::InstanceResourceGroupSummary>'
|
|
1305
|
+
)
|
|
1306
|
+
end
|
|
1307
|
+
# rubocop:enable Metrics/BlockLength
|
|
1308
|
+
end
|
|
1309
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
1310
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
1311
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
|
1312
|
+
|
|
1313
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
1314
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
1315
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
1316
|
+
|
|
1317
|
+
|
|
1026
1318
|
# Get the errors of a work request.
|
|
1027
1319
|
#
|
|
1028
1320
|
# @param [String] work_request_id The OCID of the work request.
|
|
@@ -1272,9 +1564,9 @@ module OCI
|
|
|
1272
1564
|
|
|
1273
1565
|
|
|
1274
1566
|
# Scale an Analytics instance up or down. The operation is long-running
|
|
1275
|
-
# and creates a new
|
|
1567
|
+
# and creates a new work request.
|
|
1276
1568
|
#
|
|
1277
|
-
# @param [String] analytics_instance_id The OCID of the
|
|
1569
|
+
# @param [String] analytics_instance_id The OCID of the Analytics instance.
|
|
1278
1570
|
#
|
|
1279
1571
|
# @param [OCI::Analytics::Models::ScaleAnalyticsInstanceDetails] scale_analytics_instance_details Input payload for scaling an Analytics instance up or down.
|
|
1280
1572
|
#
|
|
@@ -1347,7 +1639,7 @@ module OCI
|
|
|
1347
1639
|
|
|
1348
1640
|
# Set the external service properties of an Analytics instance.
|
|
1349
1641
|
#
|
|
1350
|
-
# @param [String] analytics_instance_id The OCID of the
|
|
1642
|
+
# @param [String] analytics_instance_id The OCID of the Analytics instance.
|
|
1351
1643
|
#
|
|
1352
1644
|
# @param [OCI::Analytics::Models::SetFeatureBundleDetails] set_feature_bundle_details Input payload for the feature set of an Analytics instance.
|
|
1353
1645
|
#
|
|
@@ -1418,11 +1710,11 @@ module OCI
|
|
|
1418
1710
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
1419
1711
|
|
|
1420
1712
|
|
|
1421
|
-
# Encrypts the customer data of this Analytics instance using either a customer OCI
|
|
1713
|
+
# Encrypts the customer data of this Analytics instance using either a customer OCI vault key or default Oracle-managed key.
|
|
1422
1714
|
#
|
|
1423
|
-
# @param [String] analytics_instance_id The OCID of the
|
|
1715
|
+
# @param [String] analytics_instance_id The OCID of the Analytics instance.
|
|
1424
1716
|
#
|
|
1425
|
-
# @param [OCI::Analytics::Models::SetKmsKeyDetails] set_kms_key_details Input payload to reset the OCI
|
|
1717
|
+
# @param [OCI::Analytics::Models::SetKmsKeyDetails] set_kms_key_details Input payload to reset the OCI vault encryption key.
|
|
1426
1718
|
#
|
|
1427
1719
|
# @param [Hash] opts the optional parameters
|
|
1428
1720
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
@@ -1492,9 +1784,9 @@ module OCI
|
|
|
1492
1784
|
|
|
1493
1785
|
|
|
1494
1786
|
# Starts the specified Analytics instance. The operation is long-running
|
|
1495
|
-
# and creates a new
|
|
1787
|
+
# and creates a new work request.
|
|
1496
1788
|
#
|
|
1497
|
-
# @param [String] analytics_instance_id The OCID of the
|
|
1789
|
+
# @param [String] analytics_instance_id The OCID of the Analytics instance.
|
|
1498
1790
|
#
|
|
1499
1791
|
# @param [Hash] opts the optional parameters
|
|
1500
1792
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
@@ -1563,9 +1855,9 @@ module OCI
|
|
|
1563
1855
|
|
|
1564
1856
|
|
|
1565
1857
|
# Stop the specified Analytics instance. The operation is long-running
|
|
1566
|
-
# and creates a new
|
|
1858
|
+
# and creates a new work request.
|
|
1567
1859
|
#
|
|
1568
|
-
# @param [String] analytics_instance_id The OCID of the
|
|
1860
|
+
# @param [String] analytics_instance_id The OCID of the Analytics instance.
|
|
1569
1861
|
#
|
|
1570
1862
|
# @param [Hash] opts the optional parameters
|
|
1571
1863
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
@@ -1636,10 +1928,10 @@ module OCI
|
|
|
1636
1928
|
# Updates certain fields of an Analytics instance. Fields that are not provided in the
|
|
1637
1929
|
# request will not be updated.
|
|
1638
1930
|
#
|
|
1639
|
-
# @param [String] analytics_instance_id The OCID of the
|
|
1931
|
+
# @param [String] analytics_instance_id The OCID of the Analytics instance.
|
|
1640
1932
|
#
|
|
1641
|
-
# @param [OCI::Analytics::Models::UpdateAnalyticsInstanceDetails] update_analytics_instance_details
|
|
1642
|
-
#
|
|
1933
|
+
# @param [OCI::Analytics::Models::UpdateAnalyticsInstanceDetails] update_analytics_instance_details Update specified fields for an Analytics instance. Fields that aren't provided
|
|
1934
|
+
# won't be updated.
|
|
1643
1935
|
#
|
|
1644
1936
|
# @param [Hash] opts the optional parameters
|
|
1645
1937
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
@@ -1701,13 +1993,13 @@ module OCI
|
|
|
1701
1993
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
1702
1994
|
|
|
1703
1995
|
|
|
1704
|
-
# Update the
|
|
1996
|
+
# Update the private access channel with the given unique identifier key in the specified Analytics instance.
|
|
1705
1997
|
#
|
|
1706
|
-
# @param [String] private_access_channel_key The unique identifier key of the
|
|
1998
|
+
# @param [String] private_access_channel_key The unique identifier key of the private access channel.
|
|
1707
1999
|
#
|
|
1708
|
-
# @param [String] analytics_instance_id The OCID of the
|
|
2000
|
+
# @param [String] analytics_instance_id The OCID of the Analytics instance.
|
|
1709
2001
|
#
|
|
1710
|
-
# @param [OCI::Analytics::Models::UpdatePrivateAccessChannelDetails] update_private_access_channel_details Update the
|
|
2002
|
+
# @param [OCI::Analytics::Models::UpdatePrivateAccessChannelDetails] update_private_access_channel_details Update the private access channel with the given unique identifier key in the specified Analytics instance.
|
|
1711
2003
|
#
|
|
1712
2004
|
# @param [Hash] opts the optional parameters
|
|
1713
2005
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
@@ -1778,13 +2070,91 @@ module OCI
|
|
|
1778
2070
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
1779
2071
|
|
|
1780
2072
|
|
|
1781
|
-
#
|
|
2073
|
+
# Update any fields in a resource group
|
|
2074
|
+
#
|
|
2075
|
+
# @param [String] analytics_instance_id The OCID of the Analytics instance.
|
|
2076
|
+
#
|
|
2077
|
+
# @param [String] analytics_instance_resource_group_id Specify unique id of a resource group within an Analytics instance.
|
|
2078
|
+
#
|
|
2079
|
+
# @param [OCI::Analytics::Models::UpdateResourceGroupDetails] update_resource_group_details Resource group details to update (certificate).
|
|
2080
|
+
#
|
|
2081
|
+
# @param [Hash] opts the optional parameters
|
|
2082
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
2083
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
2084
|
+
# @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
|
|
2085
|
+
# parameter to the value of the etag from a previous GET or POST response for that resource. The resource
|
|
2086
|
+
# will be updated or deleted only if the etag you provide matches the resource's current etag value.
|
|
2087
|
+
#
|
|
2088
|
+
# @option opts [String] :opc_request_id Unique identifier for the request.
|
|
2089
|
+
# If you need to contact Oracle about a particular request, please provide the request ID.
|
|
2090
|
+
#
|
|
2091
|
+
# @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case of a timeout or
|
|
2092
|
+
# server error without risk of executing that same action again. Retry tokens expire after 24
|
|
2093
|
+
# hours, but can be invalidated before then due to conflicting operations (for example, if a resource
|
|
2094
|
+
# has been deleted and purged from the system, then a retry of the original creation request
|
|
2095
|
+
# may be rejected).
|
|
2096
|
+
#
|
|
2097
|
+
# @return [Response] A Response object with data of type {OCI::Analytics::Models::InstanceResourceGroup InstanceResourceGroup}
|
|
2098
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/analytics/update_resource_group.rb.html) to see an example of how to use update_resource_group API.
|
|
2099
|
+
def update_resource_group(analytics_instance_id, analytics_instance_resource_group_id, update_resource_group_details, opts = {})
|
|
2100
|
+
logger.debug 'Calling operation AnalyticsClient#update_resource_group.' if logger
|
|
2101
|
+
|
|
2102
|
+
raise "Missing the required parameter 'analytics_instance_id' when calling update_resource_group." if analytics_instance_id.nil?
|
|
2103
|
+
raise "Missing the required parameter 'analytics_instance_resource_group_id' when calling update_resource_group." if analytics_instance_resource_group_id.nil?
|
|
2104
|
+
raise "Missing the required parameter 'update_resource_group_details' when calling update_resource_group." if update_resource_group_details.nil?
|
|
2105
|
+
raise "Parameter value for 'analytics_instance_id' must not be blank" if OCI::Internal::Util.blank_string?(analytics_instance_id)
|
|
2106
|
+
raise "Parameter value for 'analytics_instance_resource_group_id' must not be blank" if OCI::Internal::Util.blank_string?(analytics_instance_resource_group_id)
|
|
2107
|
+
|
|
2108
|
+
path = '/analyticsInstances/{analyticsInstanceId}/resourceGroups/{analyticsInstanceResourceGroupId}'.sub('{analyticsInstanceId}', analytics_instance_id.to_s).sub('{analyticsInstanceResourceGroupId}', analytics_instance_resource_group_id.to_s)
|
|
2109
|
+
operation_signing_strategy = :standard
|
|
2110
|
+
|
|
2111
|
+
# rubocop:disable Style/NegatedIf
|
|
2112
|
+
# Query Params
|
|
2113
|
+
query_params = {}
|
|
2114
|
+
|
|
2115
|
+
# Header Params
|
|
2116
|
+
header_params = {}
|
|
2117
|
+
header_params[:accept] = 'application/json'
|
|
2118
|
+
header_params[:'content-type'] = 'application/json'
|
|
2119
|
+
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
|
2120
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
|
2121
|
+
header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
|
|
2122
|
+
# rubocop:enable Style/NegatedIf
|
|
2123
|
+
header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
|
|
2124
|
+
|
|
2125
|
+
post_body = @api_client.object_to_http_body(update_resource_group_details)
|
|
2126
|
+
|
|
2127
|
+
# rubocop:disable Metrics/BlockLength
|
|
2128
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'AnalyticsClient#update_resource_group') do
|
|
2129
|
+
@api_client.call_api(
|
|
2130
|
+
:PUT,
|
|
2131
|
+
path,
|
|
2132
|
+
endpoint,
|
|
2133
|
+
header_params: header_params,
|
|
2134
|
+
query_params: query_params,
|
|
2135
|
+
operation_signing_strategy: operation_signing_strategy,
|
|
2136
|
+
body: post_body,
|
|
2137
|
+
return_type: 'OCI::Analytics::Models::InstanceResourceGroup'
|
|
2138
|
+
)
|
|
2139
|
+
end
|
|
2140
|
+
# rubocop:enable Metrics/BlockLength
|
|
2141
|
+
end
|
|
2142
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
2143
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
2144
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
|
2145
|
+
|
|
2146
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
2147
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
2148
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
2149
|
+
|
|
2150
|
+
|
|
2151
|
+
# Uploads a new certificate for a vanity URL. Required before the current certificate expires.
|
|
1782
2152
|
#
|
|
1783
|
-
# @param [String] analytics_instance_id The OCID of the
|
|
2153
|
+
# @param [String] analytics_instance_id The OCID of the Analytics instance.
|
|
1784
2154
|
#
|
|
1785
|
-
# @param [String] vanity_url_key Specify unique identifier key of a vanity
|
|
2155
|
+
# @param [String] vanity_url_key Specify unique identifier key of a vanity URL to update or delete.
|
|
1786
2156
|
#
|
|
1787
|
-
# @param [OCI::Analytics::Models::UpdateVanityUrlDetails] update_vanity_url_details Vanity
|
|
2157
|
+
# @param [OCI::Analytics::Models::UpdateVanityUrlDetails] update_vanity_url_details Vanity URL details to update (certificate).
|
|
1788
2158
|
#
|
|
1789
2159
|
# @param [Hash] opts the optional parameters
|
|
1790
2160
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|