Class: OCI::Bds::BdsClient
- Inherits:
-
Object
- Object
- OCI::Bds::BdsClient
- Defined in:
- lib/oci/bds/bds_client.rb
Overview
REST API for Oracle Big Data Service. Use this API to build, deploy, and manage fully elastic Big Data Service clusters. Build on Hadoop, Spark and Data Science distributions, which can be fully integrated with existing enterprise data in Oracle Database and Oracle applications.
Instance Attribute Summary collapse
-
#api_client ⇒ OCI::ApiClient
readonly
Client used to make HTTP requests.
-
#endpoint ⇒ String
readonly
Fully qualified endpoint URL.
-
#region ⇒ String
The region, which will usually correspond to a value in Regions::REGION_ENUM.
-
#retry_config ⇒ OCI::Retry::RetryConfig
readonly
The default retry configuration to apply to all operations in this service client.
Instance Method Summary collapse
-
#activate_bds_metastore_configuration(bds_instance_id, metastore_config_id, activate_bds_metastore_configuration_details, opts = {}) ⇒ Response
Activate specified metastore configuration.
-
#activate_iam_user_sync_configuration(bds_instance_id, identity_configuration_id, activate_iam_user_sync_configuration_details, opts = {}) ⇒ Response
Activate IAM user sync configuration for the given identity configuration.
-
#activate_upst_configuration(bds_instance_id, identity_configuration_id, activate_upst_configuration_details, opts = {}) ⇒ Response
Activate UPST configuration for the given identity configuration.
-
#add_auto_scaling_configuration(bds_instance_id, add_auto_scaling_configuration_details, opts = {}) ⇒ Response
Add an autoscale configuration to the cluster.
-
#add_block_storage(bds_instance_id, add_block_storage_details, opts = {}) ⇒ Response
Adds block storage to existing worker/compute only worker nodes.
-
#add_cloud_sql(bds_instance_id, add_cloud_sql_details, opts = {}) ⇒ Response
Adds Cloud SQL to your cluster.
-
#add_kafka(bds_instance_id, add_kafka_details, opts = {}) ⇒ Response
Adds Kafka to a cluster.
-
#add_master_nodes(bds_instance_id, add_master_nodes_details, opts = {}) ⇒ Response
Increases the size (scales out) of a cluster by adding master nodes.
-
#add_utility_nodes(bds_instance_id, add_utility_nodes_details, opts = {}) ⇒ Response
Increases the size (scales out) of a cluster by adding utility nodes.
-
#add_worker_nodes(bds_instance_id, add_worker_nodes_details, opts = {}) ⇒ Response
Increases the size (scales out) of a cluster by adding worker nodes (data/compute/edge).
-
#backup_node(bds_instance_id, backup_node_details, opts = {}) ⇒ Response
Takes a backup of of given nodes.
-
#bds_instance_reset_password(bds_instance_id, bds_instance_reset_password_details, opts = {}) ⇒ Response
Admin function which allows the password reset of indicated service.
-
#certificate_service_info(bds_instance_id, certificate_service_info_details, opts = {}) ⇒ Response
A list of services and their certificate details.
-
#change_bds_instance_compartment(bds_instance_id, change_bds_instance_compartment_details, opts = {}) ⇒ Response
Moves a Big Data Service cluster into a different compartment.
-
#change_shape(bds_instance_id, change_shape_details, opts = {}) ⇒ Response
Changes the size of a cluster by scaling up or scaling down the nodes.
-
#create_bds_api_key(bds_instance_id, create_bds_api_key_details, opts = {}) ⇒ Response
Create an API key on behalf of the specified user.
-
#create_bds_capacity_report(create_bds_capacity_report_details, opts = {}) ⇒ Response
Create a detailed capacity report for BDS service.
-
#create_bds_certificate_configuration(bds_instance_id, create_bds_certificate_configuration_details, opts = {}) ⇒ Response
Create a BDS certificate configuration for the cluster.
-
#create_bds_instance(create_bds_instance_details, opts = {}) ⇒ Response
Creates a Big Data Service cluster.
-
#create_bds_metastore_configuration(bds_instance_id, create_bds_metastore_configuration_details, opts = {}) ⇒ Response
Create and activate external metastore configuration.
-
#create_identity_configuration(bds_instance_id, create_identity_configuration_details, opts = {}) ⇒ Response
Create an identity configuration for the cluster.
-
#create_node_backup_configuration(bds_instance_id, create_node_backup_configuration_details, opts = {}) ⇒ Response
Add a node volume backup configuration to the cluster for an indicated node type or node.
-
#create_node_replace_configuration(bds_instance_id, create_node_replace_configuration_details, opts = {}) ⇒ Response
Add a nodeReplaceConfigurations to the cluster.
-
#create_resource_principal_configuration(bds_instance_id, create_resource_principal_configuration_details, opts = {}) ⇒ Response
Create a resource principal session token configuration.
-
#deactivate_iam_user_sync_configuration(bds_instance_id, identity_configuration_id, deactivate_iam_user_sync_configuration_details, opts = {}) ⇒ Response
Deactivate the IAM user sync configuration.
-
#deactivate_upst_configuration(bds_instance_id, identity_configuration_id, deactivate_upst_configuration_details, opts = {}) ⇒ Response
Deactivate the UPST configuration represented by the provided ID.
-
#delete_bds_api_key(bds_instance_id, api_key_id, opts = {}) ⇒ Response
Deletes the user's API key represented by the provided ID.
-
#delete_bds_certificate_configuration(bds_instance_id, bds_certificate_configuration_id, opts = {}) ⇒ Response
Delete the BDS certificate configuration for the given ID.
-
#delete_bds_instance(bds_instance_id, opts = {}) ⇒ Response
Deletes the cluster identified by the given ID.
-
#delete_bds_metastore_configuration(bds_instance_id, metastore_config_id, opts = {}) ⇒ Response
Delete the BDS metastore configuration represented by the provided ID.
-
#delete_identity_configuration(bds_instance_id, identity_configuration_id, opts = {}) ⇒ Response
Delete the identity configuration represented by the provided ID.
-
#delete_node_backup(bds_instance_id, node_backup_id, opts = {}) ⇒ Response
Delete the NodeBackup represented by the provided ID.
-
#delete_node_backup_configuration(bds_instance_id, node_backup_configuration_id, opts = {}) ⇒ Response
Delete the NodeBackupConfiguration represented by the provided ID.
-
#disable_certificate(bds_instance_id, disable_certificate_details, opts = {}) ⇒ Response
Disabling TLS/SSL for various ODH services running on the BDS cluster.
-
#enable_certificate(bds_instance_id, enable_certificate_details, opts = {}) ⇒ Response
Configuring TLS/SSL for various ODH services running on the BDS cluster.
-
#execute_bootstrap_script(bds_instance_id, execute_bootstrap_script_details, opts = {}) ⇒ Response
Execute bootstrap script.
-
#force_refresh_resource_principal(bds_instance_id, resource_principal_configuration_id, force_refresh_resource_principal_details, opts = {}) ⇒ Response
Force Refresh Resource Principal for the cluster.
-
#generate_bds_certificate(bds_instance_id, generate_bds_certificate_details, opts = {}) ⇒ Response
Generating certificates under BDS cluster nodes.
-
#get_auto_scaling_configuration(bds_instance_id, auto_scaling_configuration_id, opts = {}) ⇒ Response
Returns details of the autoscale configuration identified by the given ID.
-
#get_bds_api_key(bds_instance_id, api_key_id, opts = {}) ⇒ Response
Returns the user's API key information for the given ID.
-
#get_bds_certificate_configuration(bds_instance_id, bds_certificate_configuration_id, opts = {}) ⇒ Response
Returns details of the BdsCertificateConfiguration identified by the given ID.
-
#get_bds_instance(bds_instance_id, opts = {}) ⇒ Response
Returns information about the Big Data Service cluster identified by the given ID.
-
#get_bds_metastore_configuration(bds_instance_id, metastore_config_id, opts = {}) ⇒ Response
Returns the BDS Metastore configuration information for the given ID.
-
#get_identity_configuration(bds_instance_id, identity_configuration_id, opts = {}) ⇒ Response
Get details of one identity config on the cluster Allowed values are: timeCreated, displayName.
-
#get_node_backup(bds_instance_id, node_backup_id, opts = {}) ⇒ Response
Returns details of NodeBackup identified by the given ID.
-
#get_node_backup_configuration(bds_instance_id, node_backup_configuration_id, opts = {}) ⇒ Response
Returns details of the NodeBackupConfiguration identified by the given ID.
-
#get_node_replace_configuration(bds_instance_id, node_replace_configuration_id, opts = {}) ⇒ Response
Returns details of the nodeReplaceConfiguration identified by the given ID.
-
#get_os_patch_details(bds_instance_id, os_patch_version, opts = {}) ⇒ Response
Get the details of an os patch.
-
#get_resource_principal_configuration(bds_instance_id, resource_principal_configuration_id, opts = {}) ⇒ Response
Returns details of the resourcePrincipalConfiguration identified by the given ID.
-
#get_software_update(bds_instance_id, software_update_key, opts = {}) ⇒ Response
Get the details of the software update of the given SoftwareUpdateId.
-
#get_work_request(work_request_id, opts = {}) ⇒ Response
Returns the status of the work request identified by the given ID.
-
#initialize(config: nil, region: nil, endpoint: nil, signer: nil, proxy_settings: nil, retry_config: nil) ⇒ BdsClient
constructor
Creates a new BdsClient.
-
#install_os_patch(bds_instance_id, install_os_patch_details, opts = {}) ⇒ Response
Install an os patch on a cluster.
-
#install_patch(bds_instance_id, install_patch_details, opts = {}) ⇒ Response
Install the specified patch to this cluster.
-
#install_software_updates(bds_instance_id, install_software_updates_details, opts = {}) ⇒ Response
Install the specified software update to this cluster.
-
#list_auto_scaling_configurations(compartment_id, bds_instance_id, opts = {}) ⇒ Response
Returns information about the autoscaling configurations for a cluster.
-
#list_bds_api_keys(bds_instance_id, opts = {}) ⇒ Response
Returns a list of all API keys associated with this Big Data Service cluster.
-
#list_bds_certificate_configurations(bds_instance_id, opts = {}) ⇒ Response
Returns a list of BDS certificate configurations associated with this Big Data Service cluster.
-
#list_bds_cluster_versions(opts = {}) ⇒ Response
Returns a list of cluster versions with associated odh and bds versions.
-
#list_bds_instances(compartment_id, opts = {}) ⇒ Response
Returns a list of all Big Data Service clusters in a compartment.
-
#list_bds_metastore_configurations(bds_instance_id, opts = {}) ⇒ Response
Returns a list of metastore configurations ssociated with this Big Data Service cluster.
-
#list_identity_configurations(bds_instance_id, compartment_id, opts = {}) ⇒ Response
Returns a list of all identity configurations associated with this Big Data Service cluster.
-
#list_node_backup_configurations(bds_instance_id, opts = {}) ⇒ Response
Returns information about the NodeBackupConfigurations.
-
#list_node_backups(bds_instance_id, opts = {}) ⇒ Response
Returns information about the node Backups.
-
#list_node_replace_configurations(bds_instance_id, opts = {}) ⇒ Response
Returns information about the NodeReplaceConfiguration.
-
#list_os_patches(bds_instance_id, opts = {}) ⇒ Response
List all available os patches for a given cluster Allowed values are: timeCreated, displayName.
-
#list_patch_histories(bds_instance_id, opts = {}) ⇒ Response
List the patch history of this cluster.
-
#list_patches(bds_instance_id, opts = {}) ⇒ Response
List all the available patches for this cluster.
-
#list_resource_principal_configurations(bds_instance_id, opts = {}) ⇒ Response
Returns information about the ResourcePrincipalConfiguration.
-
#list_software_updates(bds_instance_id, opts = {}) ⇒ Response
List all the available software updates for current cluster.
-
#list_work_request_errors(work_request_id, opts = {}) ⇒ Response
Returns a paginated list of errors for a work request identified by the given ID.
-
#list_work_request_logs(work_request_id, opts = {}) ⇒ Response
Returns a paginated list of logs for a given work request.
-
#list_work_requests(compartment_id, opts = {}) ⇒ Response
Lists the work requests in a compartment.
-
#logger ⇒ Logger
The logger for this client.
-
#refresh_confidential_application(bds_instance_id, identity_configuration_id, refresh_confidential_application_details, opts = {}) ⇒ Response
Refresh confidential application for the given identity configuration in case of any update to the confidential application (e.g. regenerated client secret).
-
#refresh_upst_token_exchange_keytab(bds_instance_id, identity_configuration_id, refresh_upst_token_exchange_keytab_details, opts = {}) ⇒ Response
Refresh token exchange kerberos principal keytab for the UPST enabled identity configuration.
-
#remove_auto_scaling_configuration(bds_instance_id, auto_scaling_configuration_id, remove_auto_scaling_configuration_details, opts = {}) ⇒ Response
Deletes an autoscale configuration.
-
#remove_cloud_sql(bds_instance_id, remove_cloud_sql_details, opts = {}) ⇒ Response
Removes Cloud SQL from the cluster.
-
#remove_kafka(bds_instance_id, remove_kafka_details, opts = {}) ⇒ Response
Remove Kafka from the cluster.
-
#remove_node(bds_instance_id, remove_node_details, opts = {}) ⇒ Response
Remove a single node of a Big Data Service cluster.
-
#remove_node_replace_configuration(bds_instance_id, node_replace_configuration_id, remove_node_replace_configuration_details, opts = {}) ⇒ Response
Deletes a nodeReplaceConfiguration.
-
#remove_nodes(bds_instance_id, remove_nodes_details, opts = {}) ⇒ Response
Removes list of nodes from a Big Data Service cluster.
-
#remove_resource_principal_configuration(bds_instance_id, resource_principal_configuration_id, remove_resource_principal_configuration_details, opts = {}) ⇒ Response
Delete the resource principal configuration for the cluster.
-
#renew_bds_certificate(bds_instance_id, renew_bds_certificate_details, opts = {}) ⇒ Response
Renewing certificates under BDS cluster nodes.
-
#renew_certificate(bds_instance_id, renew_certificate_details, opts = {}) ⇒ Response
Renewing TLS/SSL for various ODH services running on the BDS cluster.
-
#replace_node(bds_instance_id, replace_node_details, opts = {}) ⇒ Response
Replaces a node of a Big Data Service cluster from backup.
-
#restart_node(bds_instance_id, restart_node_details, opts = {}) ⇒ Response
Restarts a single node of a Big Data Service cluster.
-
#set_default_bds_certificate_configuration(bds_instance_id, bds_certificate_configuration_id, set_default_bds_certificate_configuration_details, opts = {}) ⇒ Response
Set specified BDS certificate configuration as default configuration.
-
#start_bds_instance(bds_instance_id, start_bds_instance_details, opts = {}) ⇒ Response
Starts the BDS cluster that was stopped earlier.
-
#stop_bds_instance(bds_instance_id, stop_bds_instance_details, opts = {}) ⇒ Response
Stops the BDS cluster that can be started at later point of time.
-
#test_bds_metastore_configuration(bds_instance_id, metastore_config_id, test_bds_metastore_configuration_details, opts = {}) ⇒ Response
Test specified metastore configuration.
-
#test_bds_object_storage_connection(bds_instance_id, api_key_id, test_bds_object_storage_connection_details, opts = {}) ⇒ Response
Test access to specified Object Storage bucket using the API key.
-
#update_auto_scaling_configuration(bds_instance_id, auto_scaling_configuration_id, update_auto_scaling_configuration_details, opts = {}) ⇒ Response
Updates fields on an autoscale configuration, including the name, the threshold value, and whether the autoscale configuration is enabled.
-
#update_bds_instance(bds_instance_id, update_bds_instance_details, opts = {}) ⇒ Response
Updates the Big Data Service cluster identified by the given ID.
-
#update_bds_metastore_configuration(bds_instance_id, metastore_config_id, update_bds_metastore_configuration_details, opts = {}) ⇒ Response
Update the BDS metastore configuration represented by the provided ID.
-
#update_identity_configuration(bds_instance_id, identity_configuration_id, update_identity_configuration_details, opts = {}) ⇒ Response
Update the IAM user sync and UPST configuration for the specified identity configuration.
-
#update_node_backup_configuration(bds_instance_id, node_backup_configuration_id, update_node_backup_configuration_details, opts = {}) ⇒ Response
Updates fields on NodeBackupConfiguration, including the name, the schedule.
-
#update_node_replace_configuration(bds_instance_id, node_replace_configuration_id, update_node_replace_configuration_details, opts = {}) ⇒ Response
Updates fields on nodeReplaceConfigurations, including the name, the schedule.
-
#update_resource_principal_configuration(bds_instance_id, resource_principal_configuration_id, update_resource_principal_configuration_details, opts = {}) ⇒ Response
Updates fields on resourcePrincipalConfiguration, including the name, the lifeSpanInHours of the token.
Constructor Details
#initialize(config: nil, region: nil, endpoint: nil, signer: nil, proxy_settings: nil, retry_config: nil) ⇒ BdsClient
Creates a new BdsClient. Notes: If a config is not specified, then the global OCI.config will be used.
This client is not thread-safe
Either a region or an endpoint must be specified. If an endpoint is specified, it will be used instead of the region. A region may be specified in the config or via or the region parameter. If specified in both, then the region parameter will be used.
55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 |
# File 'lib/oci/bds/bds_client.rb', line 55 def initialize(config: nil, region: nil, endpoint: nil, signer: nil, proxy_settings: nil, retry_config: nil) # If the signer is an InstancePrincipalsSecurityTokenSigner or SecurityTokenSigner and no config was supplied (they are self-sufficient signers) # then create a dummy config to pass to the ApiClient constructor. If customers wish to create a client which uses instance principals # and has config (either populated programmatically or loaded from a file), they must construct that config themselves and then # pass it to this constructor. # # If there is no signer (or the signer is not an instance principals signer) and no config was supplied, this is not valid # so try and load the config from the default file. config = OCI::Config.validate_and_build_config_with_signer(config, signer) signer = OCI::Signer.config_file_auth_builder(config) if signer.nil? @api_client = OCI::ApiClient.new(config, signer, proxy_settings: proxy_settings) @retry_config = retry_config if endpoint @endpoint = endpoint + '/20190531' else region ||= config.region region ||= signer.region if signer.respond_to?(:region) self.region = region end logger.info "BdsClient endpoint set to '#{@endpoint}'." if logger end |
Instance Attribute Details
#api_client ⇒ OCI::ApiClient (readonly)
Client used to make HTTP requests.
15 16 17 |
# File 'lib/oci/bds/bds_client.rb', line 15 def api_client @api_client end |
#endpoint ⇒ String (readonly)
Fully qualified endpoint URL
19 20 21 |
# File 'lib/oci/bds/bds_client.rb', line 19 def endpoint @endpoint end |
#region ⇒ String
The region, which will usually correspond to a value in Regions::REGION_ENUM.
29 30 31 |
# File 'lib/oci/bds/bds_client.rb', line 29 def region @region end |
#retry_config ⇒ OCI::Retry::RetryConfig (readonly)
The default retry configuration to apply to all operations in this service client. This can be overridden on a per-operation basis. The default retry configuration value is nil, which means that an operation will not perform any retries
25 26 27 |
# File 'lib/oci/bds/bds_client.rb', line 25 def retry_config @retry_config end |
Instance Method Details
#activate_bds_metastore_configuration(bds_instance_id, metastore_config_id, activate_bds_metastore_configuration_details, opts = {}) ⇒ Response
Click here to see an example of how to use activate_bds_metastore_configuration API.
Activate specified metastore configuration.
126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 |
# File 'lib/oci/bds/bds_client.rb', line 126 def (bds_instance_id, , , opts = {}) logger.debug 'Calling operation BdsClient#activate_bds_metastore_configuration.' if logger raise "Missing the required parameter 'bds_instance_id' when calling activate_bds_metastore_configuration." if bds_instance_id.nil? raise "Missing the required parameter 'metastore_config_id' when calling activate_bds_metastore_configuration." if .nil? raise "Missing the required parameter 'activate_bds_metastore_configuration_details' when calling activate_bds_metastore_configuration." if .nil? raise "Parameter value for 'bds_instance_id' must not be blank" if OCI::Internal::Util.blank_string?(bds_instance_id) raise "Parameter value for 'metastore_config_id' must not be blank" if OCI::Internal::Util.blank_string?() path = '/bdsInstances/{bdsInstanceId}/metastoreConfigs/{metastoreConfigId}/actions/activate'.sub('{bdsInstanceId}', bds_instance_id.to_s).sub('{metastoreConfigId}', .to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body() # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'BdsClient#activate_bds_metastore_configuration') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body ) end # rubocop:enable Metrics/BlockLength end |
#activate_iam_user_sync_configuration(bds_instance_id, identity_configuration_id, activate_iam_user_sync_configuration_details, opts = {}) ⇒ Response
Click here to see an example of how to use activate_iam_user_sync_configuration API.
Activate IAM user sync configuration for the given identity configuration
199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 |
# File 'lib/oci/bds/bds_client.rb', line 199 def activate_iam_user_sync_configuration(bds_instance_id, identity_configuration_id, activate_iam_user_sync_configuration_details, opts = {}) logger.debug 'Calling operation BdsClient#activate_iam_user_sync_configuration.' if logger raise "Missing the required parameter 'bds_instance_id' when calling activate_iam_user_sync_configuration." if bds_instance_id.nil? raise "Missing the required parameter 'identity_configuration_id' when calling activate_iam_user_sync_configuration." if identity_configuration_id.nil? raise "Missing the required parameter 'activate_iam_user_sync_configuration_details' when calling activate_iam_user_sync_configuration." if activate_iam_user_sync_configuration_details.nil? raise "Parameter value for 'bds_instance_id' must not be blank" if OCI::Internal::Util.blank_string?(bds_instance_id) raise "Parameter value for 'identity_configuration_id' must not be blank" if OCI::Internal::Util.blank_string?(identity_configuration_id) path = '/bdsInstances/{bdsInstanceId}/identityConfigurations/{identityConfigurationId}/actions/activateIamUserSyncConfiguration'.sub('{bdsInstanceId}', bds_instance_id.to_s).sub('{identityConfigurationId}', identity_configuration_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(activate_iam_user_sync_configuration_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'BdsClient#activate_iam_user_sync_configuration') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body ) end # rubocop:enable Metrics/BlockLength end |
#activate_upst_configuration(bds_instance_id, identity_configuration_id, activate_upst_configuration_details, opts = {}) ⇒ Response
Click here to see an example of how to use activate_upst_configuration API.
Activate UPST configuration for the given identity configuration
272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 |
# File 'lib/oci/bds/bds_client.rb', line 272 def activate_upst_configuration(bds_instance_id, identity_configuration_id, activate_upst_configuration_details, opts = {}) logger.debug 'Calling operation BdsClient#activate_upst_configuration.' if logger raise "Missing the required parameter 'bds_instance_id' when calling activate_upst_configuration." if bds_instance_id.nil? raise "Missing the required parameter 'identity_configuration_id' when calling activate_upst_configuration." if identity_configuration_id.nil? raise "Missing the required parameter 'activate_upst_configuration_details' when calling activate_upst_configuration." if activate_upst_configuration_details.nil? raise "Parameter value for 'bds_instance_id' must not be blank" if OCI::Internal::Util.blank_string?(bds_instance_id) raise "Parameter value for 'identity_configuration_id' must not be blank" if OCI::Internal::Util.blank_string?(identity_configuration_id) path = '/bdsInstances/{bdsInstanceId}/identityConfigurations/{identityConfigurationId}/actions/activateUpstConfiguration'.sub('{bdsInstanceId}', bds_instance_id.to_s).sub('{identityConfigurationId}', identity_configuration_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(activate_upst_configuration_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'BdsClient#activate_upst_configuration') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body ) end # rubocop:enable Metrics/BlockLength end |
#add_auto_scaling_configuration(bds_instance_id, add_auto_scaling_configuration_details, opts = {}) ⇒ Response
Click here to see an example of how to use add_auto_scaling_configuration API.
Add an autoscale configuration to the cluster.
345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 |
# File 'lib/oci/bds/bds_client.rb', line 345 def add_auto_scaling_configuration(bds_instance_id, add_auto_scaling_configuration_details, opts = {}) logger.debug 'Calling operation BdsClient#add_auto_scaling_configuration.' if logger raise "Missing the required parameter 'bds_instance_id' when calling add_auto_scaling_configuration." if bds_instance_id.nil? raise "Missing the required parameter 'add_auto_scaling_configuration_details' when calling add_auto_scaling_configuration." if add_auto_scaling_configuration_details.nil? raise "Parameter value for 'bds_instance_id' must not be blank" if OCI::Internal::Util.blank_string?(bds_instance_id) path = '/bdsInstances/{bdsInstanceId}/autoScalingConfiguration'.sub('{bdsInstanceId}', bds_instance_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(add_auto_scaling_configuration_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'BdsClient#add_auto_scaling_configuration') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body ) end # rubocop:enable Metrics/BlockLength end |
#add_block_storage(bds_instance_id, add_block_storage_details, opts = {}) ⇒ Response
Click here to see an example of how to use add_block_storage API.
Adds block storage to existing worker/compute only worker nodes. The same amount of storage will be added to all worker/compute only worker nodes. No change will be made to storage that is already attached. Block storage cannot be removed.
416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 |
# File 'lib/oci/bds/bds_client.rb', line 416 def add_block_storage(bds_instance_id, add_block_storage_details, opts = {}) logger.debug 'Calling operation BdsClient#add_block_storage.' if logger raise "Missing the required parameter 'bds_instance_id' when calling add_block_storage." if bds_instance_id.nil? raise "Missing the required parameter 'add_block_storage_details' when calling add_block_storage." if add_block_storage_details.nil? raise "Parameter value for 'bds_instance_id' must not be blank" if OCI::Internal::Util.blank_string?(bds_instance_id) path = '/bdsInstances/{bdsInstanceId}/actions/addBlockStorage'.sub('{bdsInstanceId}', bds_instance_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(add_block_storage_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'BdsClient#add_block_storage') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body ) end # rubocop:enable Metrics/BlockLength end |
#add_cloud_sql(bds_instance_id, add_cloud_sql_details, opts = {}) ⇒ Response
Click here to see an example of how to use add_cloud_sql API.
Adds Cloud SQL to your cluster. You can use Cloud SQL to query against non-relational data stored in multiple big data sources, including Apache Hive, HDFS, Oracle NoSQL Database, and Apache HBase. Adding Cloud SQL adds a query server node to the cluster and creates cell servers on all the worker nodes in the cluster.
487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 |
# File 'lib/oci/bds/bds_client.rb', line 487 def add_cloud_sql(bds_instance_id, add_cloud_sql_details, opts = {}) logger.debug 'Calling operation BdsClient#add_cloud_sql.' if logger raise "Missing the required parameter 'bds_instance_id' when calling add_cloud_sql." if bds_instance_id.nil? raise "Missing the required parameter 'add_cloud_sql_details' when calling add_cloud_sql." if add_cloud_sql_details.nil? raise "Parameter value for 'bds_instance_id' must not be blank" if OCI::Internal::Util.blank_string?(bds_instance_id) path = '/bdsInstances/{bdsInstanceId}/actions/addCloudSql'.sub('{bdsInstanceId}', bds_instance_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(add_cloud_sql_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'BdsClient#add_cloud_sql') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body ) end # rubocop:enable Metrics/BlockLength end |
#add_kafka(bds_instance_id, add_kafka_details, opts = {}) ⇒ Response
Click here to see an example of how to use add_kafka API.
Adds Kafka to a cluster.
558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 |
# File 'lib/oci/bds/bds_client.rb', line 558 def add_kafka(bds_instance_id, add_kafka_details, opts = {}) logger.debug 'Calling operation BdsClient#add_kafka.' if logger raise "Missing the required parameter 'bds_instance_id' when calling add_kafka." if bds_instance_id.nil? raise "Missing the required parameter 'add_kafka_details' when calling add_kafka." if add_kafka_details.nil? raise "Parameter value for 'bds_instance_id' must not be blank" if OCI::Internal::Util.blank_string?(bds_instance_id) path = '/bdsInstances/{bdsInstanceId}/actions/addKafka'.sub('{bdsInstanceId}', bds_instance_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(add_kafka_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'BdsClient#add_kafka') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body ) end # rubocop:enable Metrics/BlockLength end |
#add_master_nodes(bds_instance_id, add_master_nodes_details, opts = {}) ⇒ Response
Click here to see an example of how to use add_master_nodes API.
Increases the size (scales out) of a cluster by adding master nodes. The added master nodes will have the same shape and will have the same amount of attached block storage as other master nodes in the cluster.
629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 |
# File 'lib/oci/bds/bds_client.rb', line 629 def add_master_nodes(bds_instance_id, add_master_nodes_details, opts = {}) logger.debug 'Calling operation BdsClient#add_master_nodes.' if logger raise "Missing the required parameter 'bds_instance_id' when calling add_master_nodes." if bds_instance_id.nil? raise "Missing the required parameter 'add_master_nodes_details' when calling add_master_nodes." if add_master_nodes_details.nil? raise "Parameter value for 'bds_instance_id' must not be blank" if OCI::Internal::Util.blank_string?(bds_instance_id) path = '/bdsInstances/{bdsInstanceId}/actions/addMasterNodes'.sub('{bdsInstanceId}', bds_instance_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(add_master_nodes_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'BdsClient#add_master_nodes') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body ) end # rubocop:enable Metrics/BlockLength end |
#add_utility_nodes(bds_instance_id, add_utility_nodes_details, opts = {}) ⇒ Response
Click here to see an example of how to use add_utility_nodes API.
Increases the size (scales out) of a cluster by adding utility nodes. The added utility nodes will have the same shape and will have the same amount of attached block storage as other utility nodes in the cluster.
700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 |
# File 'lib/oci/bds/bds_client.rb', line 700 def add_utility_nodes(bds_instance_id, add_utility_nodes_details, opts = {}) logger.debug 'Calling operation BdsClient#add_utility_nodes.' if logger raise "Missing the required parameter 'bds_instance_id' when calling add_utility_nodes." if bds_instance_id.nil? raise "Missing the required parameter 'add_utility_nodes_details' when calling add_utility_nodes." if add_utility_nodes_details.nil? raise "Parameter value for 'bds_instance_id' must not be blank" if OCI::Internal::Util.blank_string?(bds_instance_id) path = '/bdsInstances/{bdsInstanceId}/actions/addUtilityNodes'.sub('{bdsInstanceId}', bds_instance_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(add_utility_nodes_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'BdsClient#add_utility_nodes') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body ) end # rubocop:enable Metrics/BlockLength end |
#add_worker_nodes(bds_instance_id, add_worker_nodes_details, opts = {}) ⇒ Response
Click here to see an example of how to use add_worker_nodes API.
Increases the size (scales out) of a cluster by adding worker nodes (data/compute/edge). The added worker and compute only worker nodes will have the same amount of attached block storage as other nodes of the same type in the cluster. Edge nodes can have different block storage sizes within the valid range (50GB-10TB).
771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 |
# File 'lib/oci/bds/bds_client.rb', line 771 def add_worker_nodes(bds_instance_id, add_worker_nodes_details, opts = {}) logger.debug 'Calling operation BdsClient#add_worker_nodes.' if logger raise "Missing the required parameter 'bds_instance_id' when calling add_worker_nodes." if bds_instance_id.nil? raise "Missing the required parameter 'add_worker_nodes_details' when calling add_worker_nodes." if add_worker_nodes_details.nil? raise "Parameter value for 'bds_instance_id' must not be blank" if OCI::Internal::Util.blank_string?(bds_instance_id) path = '/bdsInstances/{bdsInstanceId}/actions/addWorkerNodes'.sub('{bdsInstanceId}', bds_instance_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(add_worker_nodes_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'BdsClient#add_worker_nodes') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body ) end # rubocop:enable Metrics/BlockLength end |
#backup_node(bds_instance_id, backup_node_details, opts = {}) ⇒ Response
Click here to see an example of how to use backup_node API.
Takes a backup of of given nodes.
842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 |
# File 'lib/oci/bds/bds_client.rb', line 842 def backup_node(bds_instance_id, backup_node_details, opts = {}) logger.debug 'Calling operation BdsClient#backup_node.' if logger raise "Missing the required parameter 'bds_instance_id' when calling backup_node." if bds_instance_id.nil? raise "Missing the required parameter 'backup_node_details' when calling backup_node." if backup_node_details.nil? raise "Parameter value for 'bds_instance_id' must not be blank" if OCI::Internal::Util.blank_string?(bds_instance_id) path = '/bdsInstances/{bdsInstanceId}/actions/backupNodes'.sub('{bdsInstanceId}', bds_instance_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(backup_node_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'BdsClient#backup_node') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body ) end # rubocop:enable Metrics/BlockLength end |
#bds_instance_reset_password(bds_instance_id, bds_instance_reset_password_details, opts = {}) ⇒ Response
Click here to see an example of how to use bds_instance_reset_password API.
Admin function which allows the password reset of indicated service.
913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 |
# File 'lib/oci/bds/bds_client.rb', line 913 def bds_instance_reset_password(bds_instance_id, bds_instance_reset_password_details, opts = {}) logger.debug 'Calling operation BdsClient#bds_instance_reset_password.' if logger raise "Missing the required parameter 'bds_instance_id' when calling bds_instance_reset_password." if bds_instance_id.nil? raise "Missing the required parameter 'bds_instance_reset_password_details' when calling bds_instance_reset_password." if bds_instance_reset_password_details.nil? raise "Parameter value for 'bds_instance_id' must not be blank" if OCI::Internal::Util.blank_string?(bds_instance_id) path = '/bdsInstances/{bdsInstanceId}/actions/resetPassword'.sub('{bdsInstanceId}', bds_instance_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(bds_instance_reset_password_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'BdsClient#bds_instance_reset_password') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Bds::Models::PasswordSummary' ) end # rubocop:enable Metrics/BlockLength end |
#certificate_service_info(bds_instance_id, certificate_service_info_details, opts = {}) ⇒ Response
Click here to see an example of how to use certificate_service_info API.
A list of services and their certificate details.
985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 |
# File 'lib/oci/bds/bds_client.rb', line 985 def certificate_service_info(bds_instance_id, certificate_service_info_details, opts = {}) logger.debug 'Calling operation BdsClient#certificate_service_info.' if logger raise "Missing the required parameter 'bds_instance_id' when calling certificate_service_info." if bds_instance_id.nil? raise "Missing the required parameter 'certificate_service_info_details' when calling certificate_service_info." if certificate_service_info_details.nil? raise "Parameter value for 'bds_instance_id' must not be blank" if OCI::Internal::Util.blank_string?(bds_instance_id) path = '/bdsInstances/{bdsInstanceId}/actions/fetchOdhServiceCertificate'.sub('{bdsInstanceId}', bds_instance_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(certificate_service_info_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'BdsClient#certificate_service_info') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'Array<OCI::Bds::Models::CertificateServiceInfoSummary>' ) end # rubocop:enable Metrics/BlockLength end |
#change_bds_instance_compartment(bds_instance_id, change_bds_instance_compartment_details, opts = {}) ⇒ Response
Click here to see an example of how to use change_bds_instance_compartment API.
Moves a Big Data Service cluster into a different compartment.
1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 |
# File 'lib/oci/bds/bds_client.rb', line 1057 def change_bds_instance_compartment(bds_instance_id, change_bds_instance_compartment_details, opts = {}) logger.debug 'Calling operation BdsClient#change_bds_instance_compartment.' if logger raise "Missing the required parameter 'bds_instance_id' when calling change_bds_instance_compartment." if bds_instance_id.nil? raise "Missing the required parameter 'change_bds_instance_compartment_details' when calling change_bds_instance_compartment." if change_bds_instance_compartment_details.nil? raise "Parameter value for 'bds_instance_id' must not be blank" if OCI::Internal::Util.blank_string?(bds_instance_id) path = '/bdsInstances/{bdsInstanceId}/actions/changeCompartment'.sub('{bdsInstanceId}', bds_instance_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(change_bds_instance_compartment_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'BdsClient#change_bds_instance_compartment') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body ) end # rubocop:enable Metrics/BlockLength end |
#change_shape(bds_instance_id, change_shape_details, opts = {}) ⇒ Response
Click here to see an example of how to use change_shape API.
Changes the size of a cluster by scaling up or scaling down the nodes. Nodes are scaled up or down by changing the shapes of all the nodes of the same type to the next larger or smaller shape. The node types are master, utility, worker, and Cloud SQL. Only nodes with VM-STANDARD shapes can be scaled.
1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 |
# File 'lib/oci/bds/bds_client.rb', line 1128 def change_shape(bds_instance_id, change_shape_details, opts = {}) logger.debug 'Calling operation BdsClient#change_shape.' if logger raise "Missing the required parameter 'bds_instance_id' when calling change_shape." if bds_instance_id.nil? raise "Missing the required parameter 'change_shape_details' when calling change_shape." if change_shape_details.nil? raise "Parameter value for 'bds_instance_id' must not be blank" if OCI::Internal::Util.blank_string?(bds_instance_id) path = '/bdsInstances/{bdsInstanceId}/actions/changeShape'.sub('{bdsInstanceId}', bds_instance_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(change_shape_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'BdsClient#change_shape') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body ) end # rubocop:enable Metrics/BlockLength end |
#create_bds_api_key(bds_instance_id, create_bds_api_key_details, opts = {}) ⇒ Response
Click here to see an example of how to use create_bds_api_key API.
Create an API key on behalf of the specified user.
1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 |
# File 'lib/oci/bds/bds_client.rb', line 1193 def create_bds_api_key(bds_instance_id, create_bds_api_key_details, opts = {}) logger.debug 'Calling operation BdsClient#create_bds_api_key.' if logger raise "Missing the required parameter 'bds_instance_id' when calling create_bds_api_key." if bds_instance_id.nil? raise "Missing the required parameter 'create_bds_api_key_details' when calling create_bds_api_key." if create_bds_api_key_details.nil? raise "Parameter value for 'bds_instance_id' must not be blank" if OCI::Internal::Util.blank_string?(bds_instance_id) path = '/bdsInstances/{bdsInstanceId}/apiKeys'.sub('{bdsInstanceId}', bds_instance_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(create_bds_api_key_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'BdsClient#create_bds_api_key') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body ) end # rubocop:enable Metrics/BlockLength end |
#create_bds_capacity_report(create_bds_capacity_report_details, opts = {}) ⇒ Response
Click here to see an example of how to use create_bds_capacity_report API.
Create a detailed capacity report for BDS service
1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 |
# File 'lib/oci/bds/bds_client.rb', line 1256 def create_bds_capacity_report(create_bds_capacity_report_details, opts = {}) logger.debug 'Calling operation BdsClient#create_bds_capacity_report.' if logger raise "Missing the required parameter 'create_bds_capacity_report_details' when calling create_bds_capacity_report." if create_bds_capacity_report_details.nil? path = '/bdsCapacityReports' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(create_bds_capacity_report_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'BdsClient#create_bds_capacity_report') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Bds::Models::BdsCapacityReport' ) end # rubocop:enable Metrics/BlockLength end |
#create_bds_certificate_configuration(bds_instance_id, create_bds_certificate_configuration_details, opts = {}) ⇒ Response
Click here to see an example of how to use create_bds_certificate_configuration API.
Create a BDS certificate configuration for the cluster.
1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 |
# File 'lib/oci/bds/bds_client.rb', line 1319 def create_bds_certificate_configuration(bds_instance_id, create_bds_certificate_configuration_details, opts = {}) logger.debug 'Calling operation BdsClient#create_bds_certificate_configuration.' if logger raise "Missing the required parameter 'bds_instance_id' when calling create_bds_certificate_configuration." if bds_instance_id.nil? raise "Missing the required parameter 'create_bds_certificate_configuration_details' when calling create_bds_certificate_configuration." if create_bds_certificate_configuration_details.nil? raise "Parameter value for 'bds_instance_id' must not be blank" if OCI::Internal::Util.blank_string?(bds_instance_id) path = '/bdsInstances/{bdsInstanceId}/bdsCertificateConfigurations'.sub('{bdsInstanceId}', bds_instance_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(create_bds_certificate_configuration_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'BdsClient#create_bds_certificate_configuration') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body ) end # rubocop:enable Metrics/BlockLength end |
#create_bds_instance(create_bds_instance_details, opts = {}) ⇒ Response
Click here to see an example of how to use create_bds_instance API.
Creates a Big Data Service cluster.
1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 |
# File 'lib/oci/bds/bds_client.rb', line 1382 def create_bds_instance(create_bds_instance_details, opts = {}) logger.debug 'Calling operation BdsClient#create_bds_instance.' if logger raise "Missing the required parameter 'create_bds_instance_details' when calling create_bds_instance." if create_bds_instance_details.nil? path = '/bdsInstances' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(create_bds_instance_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'BdsClient#create_bds_instance') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body ) end # rubocop:enable Metrics/BlockLength end |
#create_bds_metastore_configuration(bds_instance_id, create_bds_metastore_configuration_details, opts = {}) ⇒ Response
Click here to see an example of how to use create_bds_metastore_configuration API.
Create and activate external metastore configuration.
1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 |
# File 'lib/oci/bds/bds_client.rb', line 1444 def (bds_instance_id, , opts = {}) logger.debug 'Calling operation BdsClient#create_bds_metastore_configuration.' if logger raise "Missing the required parameter 'bds_instance_id' when calling create_bds_metastore_configuration." if bds_instance_id.nil? raise "Missing the required parameter 'create_bds_metastore_configuration_details' when calling create_bds_metastore_configuration." if .nil? raise "Parameter value for 'bds_instance_id' must not be blank" if OCI::Internal::Util.blank_string?(bds_instance_id) path = '/bdsInstances/{bdsInstanceId}/metastoreConfigs'.sub('{bdsInstanceId}', bds_instance_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body() # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'BdsClient#create_bds_metastore_configuration') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body ) end # rubocop:enable Metrics/BlockLength end |
#create_identity_configuration(bds_instance_id, create_identity_configuration_details, opts = {}) ⇒ Response
Click here to see an example of how to use create_identity_configuration API.
Create an identity configuration for the cluster
1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 |
# File 'lib/oci/bds/bds_client.rb', line 1507 def create_identity_configuration(bds_instance_id, create_identity_configuration_details, opts = {}) logger.debug 'Calling operation BdsClient#create_identity_configuration.' if logger raise "Missing the required parameter 'bds_instance_id' when calling create_identity_configuration." if bds_instance_id.nil? raise "Missing the required parameter 'create_identity_configuration_details' when calling create_identity_configuration." if create_identity_configuration_details.nil? raise "Parameter value for 'bds_instance_id' must not be blank" if OCI::Internal::Util.blank_string?(bds_instance_id) path = '/bdsInstances/{bdsInstanceId}/identityConfigurations'.sub('{bdsInstanceId}', bds_instance_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(create_identity_configuration_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'BdsClient#create_identity_configuration') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body ) end # rubocop:enable Metrics/BlockLength end |
#create_node_backup_configuration(bds_instance_id, create_node_backup_configuration_details, opts = {}) ⇒ Response
Click here to see an example of how to use create_node_backup_configuration API.
Add a node volume backup configuration to the cluster for an indicated node type or node.
1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 |
# File 'lib/oci/bds/bds_client.rb', line 1571 def create_node_backup_configuration(bds_instance_id, create_node_backup_configuration_details, opts = {}) logger.debug 'Calling operation BdsClient#create_node_backup_configuration.' if logger raise "Missing the required parameter 'bds_instance_id' when calling create_node_backup_configuration." if bds_instance_id.nil? raise "Missing the required parameter 'create_node_backup_configuration_details' when calling create_node_backup_configuration." if create_node_backup_configuration_details.nil? raise "Parameter value for 'bds_instance_id' must not be blank" if OCI::Internal::Util.blank_string?(bds_instance_id) path = '/bdsInstances/{bdsInstanceId}/nodeBackupConfigurations'.sub('{bdsInstanceId}', bds_instance_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(create_node_backup_configuration_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'BdsClient#create_node_backup_configuration') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body ) end # rubocop:enable Metrics/BlockLength end |
#create_node_replace_configuration(bds_instance_id, create_node_replace_configuration_details, opts = {}) ⇒ Response
Click here to see an example of how to use create_node_replace_configuration API.
Add a nodeReplaceConfigurations to the cluster.
1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 |
# File 'lib/oci/bds/bds_client.rb', line 1635 def create_node_replace_configuration(bds_instance_id, create_node_replace_configuration_details, opts = {}) logger.debug 'Calling operation BdsClient#create_node_replace_configuration.' if logger raise "Missing the required parameter 'bds_instance_id' when calling create_node_replace_configuration." if bds_instance_id.nil? raise "Missing the required parameter 'create_node_replace_configuration_details' when calling create_node_replace_configuration." if create_node_replace_configuration_details.nil? raise "Parameter value for 'bds_instance_id' must not be blank" if OCI::Internal::Util.blank_string?(bds_instance_id) path = '/bdsInstances/{bdsInstanceId}/nodeReplaceConfigurations'.sub('{bdsInstanceId}', bds_instance_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(create_node_replace_configuration_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'BdsClient#create_node_replace_configuration') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body ) end # rubocop:enable Metrics/BlockLength end |
#create_resource_principal_configuration(bds_instance_id, create_resource_principal_configuration_details, opts = {}) ⇒ Response
Click here to see an example of how to use create_resource_principal_configuration API.
Create a resource principal session token configuration.
1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 |
# File 'lib/oci/bds/bds_client.rb', line 1699 def create_resource_principal_configuration(bds_instance_id, create_resource_principal_configuration_details, opts = {}) logger.debug 'Calling operation BdsClient#create_resource_principal_configuration.' if logger raise "Missing the required parameter 'bds_instance_id' when calling create_resource_principal_configuration." if bds_instance_id.nil? raise "Missing the required parameter 'create_resource_principal_configuration_details' when calling create_resource_principal_configuration." if create_resource_principal_configuration_details.nil? raise "Parameter value for 'bds_instance_id' must not be blank" if OCI::Internal::Util.blank_string?(bds_instance_id) path = '/bdsInstances/{bdsInstanceId}/resourcePrincipalConfigurations'.sub('{bdsInstanceId}', bds_instance_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(create_resource_principal_configuration_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'BdsClient#create_resource_principal_configuration') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body ) end # rubocop:enable Metrics/BlockLength end |
#deactivate_iam_user_sync_configuration(bds_instance_id, identity_configuration_id, deactivate_iam_user_sync_configuration_details, opts = {}) ⇒ Response
Click here to see an example of how to use deactivate_iam_user_sync_configuration API.
Deactivate the IAM user sync configuration.
1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 |
# File 'lib/oci/bds/bds_client.rb', line 1769 def deactivate_iam_user_sync_configuration(bds_instance_id, identity_configuration_id, deactivate_iam_user_sync_configuration_details, opts = {}) logger.debug 'Calling operation BdsClient#deactivate_iam_user_sync_configuration.' if logger raise "Missing the required parameter 'bds_instance_id' when calling deactivate_iam_user_sync_configuration." if bds_instance_id.nil? raise "Missing the required parameter 'identity_configuration_id' when calling deactivate_iam_user_sync_configuration." if identity_configuration_id.nil? raise "Missing the required parameter 'deactivate_iam_user_sync_configuration_details' when calling deactivate_iam_user_sync_configuration." if deactivate_iam_user_sync_configuration_details.nil? raise "Parameter value for 'bds_instance_id' must not be blank" if OCI::Internal::Util.blank_string?(bds_instance_id) raise "Parameter value for 'identity_configuration_id' must not be blank" if OCI::Internal::Util.blank_string?(identity_configuration_id) path = '/bdsInstances/{bdsInstanceId}/identityConfigurations/{identityConfigurationId}/actions/deactivateIamUserSyncConfiguration'.sub('{bdsInstanceId}', bds_instance_id.to_s).sub('{identityConfigurationId}', identity_configuration_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(deactivate_iam_user_sync_configuration_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'BdsClient#deactivate_iam_user_sync_configuration') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body ) end # rubocop:enable Metrics/BlockLength end |
#deactivate_upst_configuration(bds_instance_id, identity_configuration_id, deactivate_upst_configuration_details, opts = {}) ⇒ Response
Click here to see an example of how to use deactivate_upst_configuration API.
Deactivate the UPST configuration represented by the provided ID.
1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 1874 1875 1876 1877 1878 1879 1880 1881 1882 1883 |
# File 'lib/oci/bds/bds_client.rb', line 1842 def deactivate_upst_configuration(bds_instance_id, identity_configuration_id, deactivate_upst_configuration_details, opts = {}) logger.debug 'Calling operation BdsClient#deactivate_upst_configuration.' if logger raise "Missing the required parameter 'bds_instance_id' when calling deactivate_upst_configuration." if bds_instance_id.nil? raise "Missing the required parameter 'identity_configuration_id' when calling deactivate_upst_configuration." if identity_configuration_id.nil? raise "Missing the required parameter 'deactivate_upst_configuration_details' when calling deactivate_upst_configuration." if deactivate_upst_configuration_details.nil? raise "Parameter value for 'bds_instance_id' must not be blank" if OCI::Internal::Util.blank_string?(bds_instance_id) raise "Parameter value for 'identity_configuration_id' must not be blank" if OCI::Internal::Util.blank_string?(identity_configuration_id) path = '/bdsInstances/{bdsInstanceId}/identityConfigurations/{identityConfigurationId}/actions/deactivateUpstConfiguration'.sub('{bdsInstanceId}', bds_instance_id.to_s).sub('{identityConfigurationId}', identity_configuration_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(deactivate_upst_configuration_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'BdsClient#deactivate_upst_configuration') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body ) end # rubocop:enable Metrics/BlockLength end |
#delete_bds_api_key(bds_instance_id, api_key_id, opts = {}) ⇒ Response
Click here to see an example of how to use delete_bds_api_key API.
Deletes the user's API key represented by the provided ID.
1908 1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 |
# File 'lib/oci/bds/bds_client.rb', line 1908 def delete_bds_api_key(bds_instance_id, api_key_id, opts = {}) logger.debug 'Calling operation BdsClient#delete_bds_api_key.' if logger raise "Missing the required parameter 'bds_instance_id' when calling delete_bds_api_key." if bds_instance_id.nil? raise "Missing the required parameter 'api_key_id' when calling delete_bds_api_key." if api_key_id.nil? raise "Parameter value for 'bds_instance_id' must not be blank" if OCI::Internal::Util.blank_string?(bds_instance_id) raise "Parameter value for 'api_key_id' must not be blank" if OCI::Internal::Util.blank_string?(api_key_id) path = '/bdsInstances/{bdsInstanceId}/apiKeys/{apiKeyId}'.sub('{bdsInstanceId}', bds_instance_id.to_s).sub('{apiKeyId}', api_key_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'BdsClient#delete_bds_api_key') do @api_client.call_api( :DELETE, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body ) end # rubocop:enable Metrics/BlockLength end |
#delete_bds_certificate_configuration(bds_instance_id, bds_certificate_configuration_id, opts = {}) ⇒ Response
Click here to see an example of how to use delete_bds_certificate_configuration API.
Delete the BDS certificate configuration for the given ID.
1977 1978 1979 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 |
# File 'lib/oci/bds/bds_client.rb', line 1977 def delete_bds_certificate_configuration(bds_instance_id, bds_certificate_configuration_id, opts = {}) logger.debug 'Calling operation BdsClient#delete_bds_certificate_configuration.' if logger raise "Missing the required parameter 'bds_instance_id' when calling delete_bds_certificate_configuration." if bds_instance_id.nil? raise "Missing the required parameter 'bds_certificate_configuration_id' when calling delete_bds_certificate_configuration." if bds_certificate_configuration_id.nil? raise "Parameter value for 'bds_instance_id' must not be blank" if OCI::Internal::Util.blank_string?(bds_instance_id) raise "Parameter value for 'bds_certificate_configuration_id' must not be blank" if OCI::Internal::Util.blank_string?(bds_certificate_configuration_id) path = '/bdsInstances/{bdsInstanceId}/bdsCertificateConfigurations/{bdsCertificateConfigurationId}'.sub('{bdsInstanceId}', bds_instance_id.to_s).sub('{bdsCertificateConfigurationId}', bds_certificate_configuration_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'BdsClient#delete_bds_certificate_configuration') do @api_client.call_api( :DELETE, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body ) end # rubocop:enable Metrics/BlockLength end |
#delete_bds_instance(bds_instance_id, opts = {}) ⇒ Response
Click here to see an example of how to use delete_bds_instance API.
Deletes the cluster identified by the given ID.
2041 2042 2043 2044 2045 2046 2047 2048 2049 2050 2051 2052 2053 2054 2055 2056 2057 2058 2059 2060 2061 2062 2063 2064 2065 2066 2067 2068 2069 2070 2071 2072 2073 2074 2075 2076 2077 |
# File 'lib/oci/bds/bds_client.rb', line 2041 def delete_bds_instance(bds_instance_id, opts = {}) logger.debug 'Calling operation BdsClient#delete_bds_instance.' if logger raise "Missing the required parameter 'bds_instance_id' when calling delete_bds_instance." if bds_instance_id.nil? raise "Parameter value for 'bds_instance_id' must not be blank" if OCI::Internal::Util.blank_string?(bds_instance_id) path = '/bdsInstances/{bdsInstanceId}'.sub('{bdsInstanceId}', bds_instance_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'BdsClient#delete_bds_instance') do @api_client.call_api( :DELETE, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body ) end # rubocop:enable Metrics/BlockLength end |
#delete_bds_metastore_configuration(bds_instance_id, metastore_config_id, opts = {}) ⇒ Response
Click here to see an example of how to use delete_bds_metastore_configuration API.
Delete the BDS metastore configuration represented by the provided ID.
2102 2103 2104 2105 2106 2107 2108 2109 2110 2111 2112 2113 2114 2115 2116 2117 2118 2119 2120 2121 2122 2123 2124 2125 2126 2127 2128 2129 2130 2131 2132 2133 2134 2135 2136 2137 2138 2139 2140 |
# File 'lib/oci/bds/bds_client.rb', line 2102 def (bds_instance_id, , opts = {}) logger.debug 'Calling operation BdsClient#delete_bds_metastore_configuration.' if logger raise "Missing the required parameter 'bds_instance_id' when calling delete_bds_metastore_configuration." if bds_instance_id.nil? raise "Missing the required parameter 'metastore_config_id' when calling delete_bds_metastore_configuration." if .nil? raise "Parameter value for 'bds_instance_id' must not be blank" if OCI::Internal::Util.blank_string?(bds_instance_id) raise "Parameter value for 'metastore_config_id' must not be blank" if OCI::Internal::Util.blank_string?() path = '/bdsInstances/{bdsInstanceId}/metastoreConfigs/{metastoreConfigId}'.sub('{bdsInstanceId}', bds_instance_id.to_s).sub('{metastoreConfigId}', .to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'BdsClient#delete_bds_metastore_configuration') do @api_client.call_api( :DELETE, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body ) end # rubocop:enable Metrics/BlockLength end |
#delete_identity_configuration(bds_instance_id, identity_configuration_id, opts = {}) ⇒ Response
Click here to see an example of how to use delete_identity_configuration API.
Delete the identity configuration represented by the provided ID. Deletion is only allowed if this identity configuration is not associated with any active IAM user sync configuration or UPST configuration.
2165 2166 2167 2168 2169 2170 2171 2172 2173 2174 2175 2176 2177 2178 2179 2180 2181 2182 2183 2184 2185 2186 2187 2188 2189 2190 2191 2192 2193 2194 2195 2196 2197 2198 2199 2200 2201 2202 2203 |
# File 'lib/oci/bds/bds_client.rb', line 2165 def delete_identity_configuration(bds_instance_id, identity_configuration_id, opts = {}) logger.debug 'Calling operation BdsClient#delete_identity_configuration.' if logger raise "Missing the required parameter 'bds_instance_id' when calling delete_identity_configuration." if bds_instance_id.nil? raise "Missing the required parameter 'identity_configuration_id' when calling delete_identity_configuration." if identity_configuration_id.nil? raise "Parameter value for 'bds_instance_id' must not be blank" if OCI::Internal::Util.blank_string?(bds_instance_id) raise "Parameter value for 'identity_configuration_id' must not be blank" if OCI::Internal::Util.blank_string?(identity_configuration_id) path = '/bdsInstances/{bdsInstanceId}/identityConfigurations/{identityConfigurationId}'.sub('{bdsInstanceId}', bds_instance_id.to_s).sub('{identityConfigurationId}', identity_configuration_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'BdsClient#delete_identity_configuration') do @api_client.call_api( :DELETE, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body ) end # rubocop:enable Metrics/BlockLength end |
#delete_node_backup(bds_instance_id, node_backup_id, opts = {}) ⇒ Response
Click here to see an example of how to use delete_node_backup API.
Delete the NodeBackup represented by the provided ID.
2228 2229 2230 2231 2232 2233 2234 2235 2236 2237 2238 2239 2240 2241 2242 2243 2244 2245 2246 2247 2248 2249 2250 2251 2252 2253 2254 2255 2256 2257 2258 2259 2260 2261 2262 2263 2264 2265 2266 |
# File 'lib/oci/bds/bds_client.rb', line 2228 def delete_node_backup(bds_instance_id, node_backup_id, opts = {}) logger.debug 'Calling operation BdsClient#delete_node_backup.' if logger raise "Missing the required parameter 'bds_instance_id' when calling delete_node_backup." if bds_instance_id.nil? raise "Missing the required parameter 'node_backup_id' when calling delete_node_backup." if node_backup_id.nil? raise "Parameter value for 'bds_instance_id' must not be blank" if OCI::Internal::Util.blank_string?(bds_instance_id) raise "Parameter value for 'node_backup_id' must not be blank" if OCI::Internal::Util.blank_string?(node_backup_id) path = '/bdsInstances/{bdsInstanceId}/nodeBackups/{nodeBackupId}'.sub('{bdsInstanceId}', bds_instance_id.to_s).sub('{nodeBackupId}', node_backup_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'BdsClient#delete_node_backup') do @api_client.call_api( :DELETE, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body ) end # rubocop:enable Metrics/BlockLength end |
#delete_node_backup_configuration(bds_instance_id, node_backup_configuration_id, opts = {}) ⇒ Response
Click here to see an example of how to use delete_node_backup_configuration API.
Delete the NodeBackupConfiguration represented by the provided ID.
2291 2292 2293 2294 2295 2296 2297 2298 2299 2300 2301 2302 2303 2304 2305 2306 2307 2308 2309 2310 2311 2312 2313 2314 2315 2316 2317 2318 2319 2320 2321 2322 2323 2324 2325 2326 2327 2328 2329 |
# File 'lib/oci/bds/bds_client.rb', line 2291 def delete_node_backup_configuration(bds_instance_id, node_backup_configuration_id, opts = {}) logger.debug 'Calling operation BdsClient#delete_node_backup_configuration.' if logger raise "Missing the required parameter 'bds_instance_id' when calling delete_node_backup_configuration." if bds_instance_id.nil? raise "Missing the required parameter 'node_backup_configuration_id' when calling delete_node_backup_configuration." if node_backup_configuration_id.nil? raise "Parameter value for 'bds_instance_id' must not be blank" if OCI::Internal::Util.blank_string?(bds_instance_id) raise "Parameter value for 'node_backup_configuration_id' must not be blank" if OCI::Internal::Util.blank_string?(node_backup_configuration_id) path = '/bdsInstances/{bdsInstanceId}/nodeBackupConfigurations/{nodeBackupConfigurationId}'.sub('{bdsInstanceId}', bds_instance_id.to_s).sub('{nodeBackupConfigurationId}', node_backup_configuration_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'BdsClient#delete_node_backup_configuration') do @api_client.call_api( :DELETE, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body ) end # rubocop:enable Metrics/BlockLength end |
#disable_certificate(bds_instance_id, disable_certificate_details, opts = {}) ⇒ Response
Click here to see an example of how to use disable_certificate API.
Disabling TLS/SSL for various ODH services running on the BDS cluster.
2361 2362 2363 2364 2365 2366 2367 2368 2369 2370 2371 2372 2373 2374 2375 2376 2377 2378 2379 2380 2381 2382 2383 2384 2385 2386 2387 2388 2389 2390 2391 2392 2393 2394 2395 2396 2397 2398 2399 2400 |
# File 'lib/oci/bds/bds_client.rb', line 2361 def disable_certificate(bds_instance_id, disable_certificate_details, opts = {}) logger.debug 'Calling operation BdsClient#disable_certificate.' if logger raise "Missing the required parameter 'bds_instance_id' when calling disable_certificate." if bds_instance_id.nil? raise "Missing the required parameter 'disable_certificate_details' when calling disable_certificate." if disable_certificate_details.nil? raise "Parameter value for 'bds_instance_id' must not be blank" if OCI::Internal::Util.blank_string?(bds_instance_id) path = '/bdsInstances/{bdsInstanceId}/actions/disableOdhServiceCertificate'.sub('{bdsInstanceId}', bds_instance_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(disable_certificate_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'BdsClient#disable_certificate') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body ) end # rubocop:enable Metrics/BlockLength end |
#enable_certificate(bds_instance_id, enable_certificate_details, opts = {}) ⇒ Response
Click here to see an example of how to use enable_certificate API.
Configuring TLS/SSL for various ODH services running on the BDS cluster.
2432 2433 2434 2435 2436 2437 2438 2439 2440 2441 2442 2443 2444 2445 2446 2447 2448 2449 2450 2451 2452 2453 2454 2455 2456 2457 2458 2459 2460 2461 2462 2463 2464 2465 2466 2467 2468 2469 2470 2471 |
# File 'lib/oci/bds/bds_client.rb', line 2432 def enable_certificate(bds_instance_id, enable_certificate_details, opts = {}) logger.debug 'Calling operation BdsClient#enable_certificate.' if logger raise "Missing the required parameter 'bds_instance_id' when calling enable_certificate." if bds_instance_id.nil? raise "Missing the required parameter 'enable_certificate_details' when calling enable_certificate." if enable_certificate_details.nil? raise "Parameter value for 'bds_instance_id' must not be blank" if OCI::Internal::Util.blank_string?(bds_instance_id) path = '/bdsInstances/{bdsInstanceId}/actions/enableOdhServiceCertificate'.sub('{bdsInstanceId}', bds_instance_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(enable_certificate_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'BdsClient#enable_certificate') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body ) end # rubocop:enable Metrics/BlockLength end |
#execute_bootstrap_script(bds_instance_id, execute_bootstrap_script_details, opts = {}) ⇒ Response
Click here to see an example of how to use execute_bootstrap_script API.
Execute bootstrap script.
2503 2504 2505 2506 2507 2508 2509 2510 2511 2512 2513 2514 2515 2516 2517 2518 2519 2520 2521 2522 2523 2524 2525 2526 2527 2528 2529 2530 2531 2532 2533 2534 2535 2536 2537 2538 2539 2540 2541 2542 |
# File 'lib/oci/bds/bds_client.rb', line 2503 def execute_bootstrap_script(bds_instance_id, execute_bootstrap_script_details, opts = {}) logger.debug 'Calling operation BdsClient#execute_bootstrap_script.' if logger raise "Missing the required parameter 'bds_instance_id' when calling execute_bootstrap_script." if bds_instance_id.nil? raise "Missing the required parameter 'execute_bootstrap_script_details' when calling execute_bootstrap_script." if execute_bootstrap_script_details.nil? raise "Parameter value for 'bds_instance_id' must not be blank" if OCI::Internal::Util.blank_string?(bds_instance_id) path = '/bdsInstances/{bdsInstanceId}/actions/executeBootstrapScript'.sub('{bdsInstanceId}', bds_instance_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(execute_bootstrap_script_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'BdsClient#execute_bootstrap_script') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body ) end # rubocop:enable Metrics/BlockLength end |
#force_refresh_resource_principal(bds_instance_id, resource_principal_configuration_id, force_refresh_resource_principal_details, opts = {}) ⇒ Response
Click here to see an example of how to use force_refresh_resource_principal API.
Force Refresh Resource Principal for the cluster.
2575 2576 2577 2578 2579 2580 2581 2582 2583 2584 2585 2586 2587 2588 2589 2590 2591 2592 2593 2594 2595 2596 2597 2598 2599 2600 2601 2602 2603 2604 2605 2606 2607 2608 2609 2610 2611 2612 2613 2614 2615 2616 |
# File 'lib/oci/bds/bds_client.rb', line 2575 def force_refresh_resource_principal(bds_instance_id, resource_principal_configuration_id, force_refresh_resource_principal_details, opts = {}) logger.debug 'Calling operation BdsClient#force_refresh_resource_principal.' if logger raise "Missing the required parameter 'bds_instance_id' when calling force_refresh_resource_principal." if bds_instance_id.nil? raise "Missing the required parameter 'resource_principal_configuration_id' when calling force_refresh_resource_principal." if resource_principal_configuration_id.nil? raise "Missing the required parameter 'force_refresh_resource_principal_details' when calling force_refresh_resource_principal." if force_refresh_resource_principal_details.nil? raise "Parameter value for 'bds_instance_id' must not be blank" if OCI::Internal::Util.blank_string?(bds_instance_id) raise "Parameter value for 'resource_principal_configuration_id' must not be blank" if OCI::Internal::Util.blank_string?(resource_principal_configuration_id) path = '/bdsInstances/{bdsInstanceId}/resourcePrincipalConfigurations/{resourcePrincipalConfigurationId}/actions/forceRefreshResourcePrincipal'.sub('{bdsInstanceId}', bds_instance_id.to_s).sub('{resourcePrincipalConfigurationId}', resource_principal_configuration_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(force_refresh_resource_principal_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'BdsClient#force_refresh_resource_principal') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body ) end # rubocop:enable Metrics/BlockLength end |
#generate_bds_certificate(bds_instance_id, generate_bds_certificate_details, opts = {}) ⇒ Response
Click here to see an example of how to use generate_bds_certificate API.
Generating certificates under BDS cluster nodes.
2648 2649 2650 2651 2652 2653 2654 2655 2656 2657 2658 2659 2660 2661 2662 2663 2664 2665 2666 2667 2668 2669 2670 2671 2672 2673 2674 2675 2676 2677 2678 2679 2680 2681 2682 2683 2684 2685 2686 2687 |
# File 'lib/oci/bds/bds_client.rb', line 2648 def generate_bds_certificate(bds_instance_id, generate_bds_certificate_details, opts = {}) logger.debug 'Calling operation BdsClient#generate_bds_certificate.' if logger raise "Missing the required parameter 'bds_instance_id' when calling generate_bds_certificate." if bds_instance_id.nil? raise "Missing the required parameter 'generate_bds_certificate_details' when calling generate_bds_certificate." if generate_bds_certificate_details.nil? raise "Parameter value for 'bds_instance_id' must not be blank" if OCI::Internal::Util.blank_string?(bds_instance_id) path = '/bdsInstances/{bdsInstanceId}/actions/generateBdsCertificate'.sub('{bdsInstanceId}', bds_instance_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(generate_bds_certificate_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'BdsClient#generate_bds_certificate') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body ) end # rubocop:enable Metrics/BlockLength end |
#get_auto_scaling_configuration(bds_instance_id, auto_scaling_configuration_id, opts = {}) ⇒ Response
Click here to see an example of how to use get_auto_scaling_configuration API.
Returns details of the autoscale configuration identified by the given ID.
2707 2708 2709 2710 2711 2712 2713 2714 2715 2716 2717 2718 2719 2720 2721 2722 2723 2724 2725 2726 2727 2728 2729 2730 2731 2732 2733 2734 2735 2736 2737 2738 2739 2740 2741 2742 2743 2744 2745 |
# File 'lib/oci/bds/bds_client.rb', line 2707 def get_auto_scaling_configuration(bds_instance_id, auto_scaling_configuration_id, opts = {}) logger.debug 'Calling operation BdsClient#get_auto_scaling_configuration.' if logger raise "Missing the required parameter 'bds_instance_id' when calling get_auto_scaling_configuration." if bds_instance_id.nil? raise "Missing the required parameter 'auto_scaling_configuration_id' when calling get_auto_scaling_configuration." if auto_scaling_configuration_id.nil? raise "Parameter value for 'bds_instance_id' must not be blank" if OCI::Internal::Util.blank_string?(bds_instance_id) raise "Parameter value for 'auto_scaling_configuration_id' must not be blank" if OCI::Internal::Util.blank_string?(auto_scaling_configuration_id) path = '/bdsInstances/{bdsInstanceId}/autoScalingConfiguration/{autoScalingConfigurationId}'.sub('{bdsInstanceId}', bds_instance_id.to_s).sub('{autoScalingConfigurationId}', auto_scaling_configuration_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'BdsClient#get_auto_scaling_configuration') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Bds::Models::AutoScalingConfiguration' ) end # rubocop:enable Metrics/BlockLength end |
#get_bds_api_key(bds_instance_id, api_key_id, opts = {}) ⇒ Response
Click here to see an example of how to use get_bds_api_key API.
Returns the user's API key information for the given ID.
2764 2765 2766 2767 2768 2769 2770 2771 2772 2773 2774 2775 2776 2777 2778 2779 2780 2781 2782 2783 2784 2785 2786 2787 2788 2789 2790 2791 2792 2793 2794 2795 2796 2797 2798 2799 2800 2801 2802 |
# File 'lib/oci/bds/bds_client.rb', line 2764 def get_bds_api_key(bds_instance_id, api_key_id, opts = {}) logger.debug 'Calling operation BdsClient#get_bds_api_key.' if logger raise "Missing the required parameter 'bds_instance_id' when calling get_bds_api_key." if bds_instance_id.nil? raise "Missing the required parameter 'api_key_id' when calling get_bds_api_key." if api_key_id.nil? raise "Parameter value for 'bds_instance_id' must not be blank" if OCI::Internal::Util.blank_string?(bds_instance_id) raise "Parameter value for 'api_key_id' must not be blank" if OCI::Internal::Util.blank_string?(api_key_id) path = '/bdsInstances/{bdsInstanceId}/apiKeys/{apiKeyId}'.sub('{bdsInstanceId}', bds_instance_id.to_s).sub('{apiKeyId}', api_key_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'BdsClient#get_bds_api_key') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Bds::Models::BdsApiKey' ) end # rubocop:enable Metrics/BlockLength end |
#get_bds_certificate_configuration(bds_instance_id, bds_certificate_configuration_id, opts = {}) ⇒ Response
Click here to see an example of how to use get_bds_certificate_configuration API.
Returns details of the BdsCertificateConfiguration identified by the given ID.
2822 2823 2824 2825 2826 2827 2828 2829 2830 2831 2832 2833 2834 2835 2836 2837 2838 2839 2840 2841 2842 2843 2844 2845 2846 2847 2848 2849 2850 2851 2852 2853 2854 2855 2856 2857 2858 2859 2860 |
# File 'lib/oci/bds/bds_client.rb', line 2822 def get_bds_certificate_configuration(bds_instance_id, bds_certificate_configuration_id, opts = {}) logger.debug 'Calling operation BdsClient#get_bds_certificate_configuration.' if logger raise "Missing the required parameter 'bds_instance_id' when calling get_bds_certificate_configuration." if bds_instance_id.nil? raise "Missing the required parameter 'bds_certificate_configuration_id' when calling get_bds_certificate_configuration." if bds_certificate_configuration_id.nil? raise "Parameter value for 'bds_instance_id' must not be blank" if OCI::Internal::Util.blank_string?(bds_instance_id) raise "Parameter value for 'bds_certificate_configuration_id' must not be blank" if OCI::Internal::Util.blank_string?(bds_certificate_configuration_id) path = '/bdsInstances/{bdsInstanceId}/bdsCertificateConfigurations/{bdsCertificateConfigurationId}'.sub('{bdsInstanceId}', bds_instance_id.to_s).sub('{bdsCertificateConfigurationId}', bds_certificate_configuration_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'BdsClient#get_bds_certificate_configuration') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Bds::Models::BdsCertificateConfiguration' ) end # rubocop:enable Metrics/BlockLength end |
#get_bds_instance(bds_instance_id, opts = {}) ⇒ Response
Click here to see an example of how to use get_bds_instance API.
Returns information about the Big Data Service cluster identified by the given ID.
2878 2879 2880 2881 2882 2883 2884 2885 2886 2887 2888 2889 2890 2891 2892 2893 2894 2895 2896 2897 2898 2899 2900 2901 2902 2903 2904 2905 2906 2907 2908 2909 2910 2911 2912 2913 2914 |
# File 'lib/oci/bds/bds_client.rb', line 2878 def get_bds_instance(bds_instance_id, opts = {}) logger.debug 'Calling operation BdsClient#get_bds_instance.' if logger raise "Missing the required parameter 'bds_instance_id' when calling get_bds_instance." if bds_instance_id.nil? raise "Parameter value for 'bds_instance_id' must not be blank" if OCI::Internal::Util.blank_string?(bds_instance_id) path = '/bdsInstances/{bdsInstanceId}'.sub('{bdsInstanceId}', bds_instance_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'BdsClient#get_bds_instance') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Bds::Models::BdsInstance' ) end # rubocop:enable Metrics/BlockLength end |
#get_bds_metastore_configuration(bds_instance_id, metastore_config_id, opts = {}) ⇒ Response
Click here to see an example of how to use get_bds_metastore_configuration API.
Returns the BDS Metastore configuration information for the given ID.
2933 2934 2935 2936 2937 2938 2939 2940 2941 2942 2943 2944 2945 2946 2947 2948 2949 2950 2951 2952 2953 2954 2955 2956 2957 2958 2959 2960 2961 2962 2963 2964 2965 2966 2967 2968 2969 2970 2971 |
# File 'lib/oci/bds/bds_client.rb', line 2933 def (bds_instance_id, , opts = {}) logger.debug 'Calling operation BdsClient#get_bds_metastore_configuration.' if logger raise "Missing the required parameter 'bds_instance_id' when calling get_bds_metastore_configuration." if bds_instance_id.nil? raise "Missing the required parameter 'metastore_config_id' when calling get_bds_metastore_configuration." if .nil? raise "Parameter value for 'bds_instance_id' must not be blank" if OCI::Internal::Util.blank_string?(bds_instance_id) raise "Parameter value for 'metastore_config_id' must not be blank" if OCI::Internal::Util.blank_string?() path = '/bdsInstances/{bdsInstanceId}/metastoreConfigs/{metastoreConfigId}'.sub('{bdsInstanceId}', bds_instance_id.to_s).sub('{metastoreConfigId}', .to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'BdsClient#get_bds_metastore_configuration') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Bds::Models::BdsMetastoreConfiguration' ) end # rubocop:enable Metrics/BlockLength end |
#get_identity_configuration(bds_instance_id, identity_configuration_id, opts = {}) ⇒ Response
Click here to see an example of how to use get_identity_configuration API.
Get details of one identity config on the cluster Allowed values are: timeCreated, displayName
2996 2997 2998 2999 3000 3001 3002 3003 3004 3005 3006 3007 3008 3009 3010 3011 3012 3013 3014 3015 3016 3017 3018 3019 3020 3021 3022 3023 3024 3025 3026 3027 3028 3029 3030 3031 3032 3033 3034 3035 3036 3037 3038 3039 3040 3041 3042 3043 3044 3045 3046 |
# File 'lib/oci/bds/bds_client.rb', line 2996 def get_identity_configuration(bds_instance_id, identity_configuration_id, opts = {}) logger.debug 'Calling operation BdsClient#get_identity_configuration.' if logger raise "Missing the required parameter 'bds_instance_id' when calling get_identity_configuration." if bds_instance_id.nil? raise "Missing the required parameter 'identity_configuration_id' when calling get_identity_configuration." if identity_configuration_id.nil? if opts[:sort_by] && !%w[timeCreated displayName].include?(opts[:sort_by]) raise 'Invalid value for "sort_by", must be one of timeCreated, displayName.' end if opts[:sort_order] && !OCI::Bds::Models::SORT_ORDERS_ENUM.include?(opts[:sort_order]) raise 'Invalid value for "sort_order", must be one of the values in OCI::Bds::Models::SORT_ORDERS_ENUM.' end raise "Parameter value for 'bds_instance_id' must not be blank" if OCI::Internal::Util.blank_string?(bds_instance_id) raise "Parameter value for 'identity_configuration_id' must not be blank" if OCI::Internal::Util.blank_string?(identity_configuration_id) path = '/bdsInstances/{bdsInstanceId}/identityConfigurations/{identityConfigurationId}'.sub('{bdsInstanceId}', bds_instance_id.to_s).sub('{identityConfigurationId}', identity_configuration_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:page] = opts[:page] if opts[:page] query_params[:limit] = opts[:limit] if opts[:limit] query_params[:sortBy] = opts[:sort_by] if opts[:sort_by] query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order] # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'BdsClient#get_identity_configuration') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Bds::Models::IdentityConfiguration' ) end # rubocop:enable Metrics/BlockLength end |
#get_node_backup(bds_instance_id, node_backup_id, opts = {}) ⇒ Response
Click here to see an example of how to use get_node_backup API.
Returns details of NodeBackup identified by the given ID.
3066 3067 3068 3069 3070 3071 3072 3073 3074 3075 3076 3077 3078 3079 3080 3081 3082 3083 3084 3085 3086 3087 3088 3089 3090 3091 3092 3093 3094 3095 3096 3097 3098 3099 3100 3101 3102 3103 3104 |
# File 'lib/oci/bds/bds_client.rb', line 3066 def get_node_backup(bds_instance_id, node_backup_id, opts = {}) logger.debug 'Calling operation BdsClient#get_node_backup.' if logger raise "Missing the required parameter 'bds_instance_id' when calling get_node_backup." if bds_instance_id.nil? raise "Missing the required parameter 'node_backup_id' when calling get_node_backup." if node_backup_id.nil? raise "Parameter value for 'bds_instance_id' must not be blank" if OCI::Internal::Util.blank_string?(bds_instance_id) raise "Parameter value for 'node_backup_id' must not be blank" if OCI::Internal::Util.blank_string?(node_backup_id) path = '/bdsInstances/{bdsInstanceId}/nodeBackups/{nodeBackupId}'.sub('{bdsInstanceId}', bds_instance_id.to_s).sub('{nodeBackupId}', node_backup_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'BdsClient#get_node_backup') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Bds::Models::NodeBackup' ) end # rubocop:enable Metrics/BlockLength end |
#get_node_backup_configuration(bds_instance_id, node_backup_configuration_id, opts = {}) ⇒ Response
Click here to see an example of how to use get_node_backup_configuration API.
Returns details of the NodeBackupConfiguration identified by the given ID.
3124 3125 3126 3127 3128 3129 3130 3131 3132 3133 3134 3135 3136 3137 3138 3139 3140 3141 3142 3143 3144 3145 3146 3147 3148 3149 3150 3151 3152 3153 3154 3155 3156 3157 3158 3159 3160 3161 3162 |
# File 'lib/oci/bds/bds_client.rb', line 3124 def get_node_backup_configuration(bds_instance_id, node_backup_configuration_id, opts = {}) logger.debug 'Calling operation BdsClient#get_node_backup_configuration.' if logger raise "Missing the required parameter 'bds_instance_id' when calling get_node_backup_configuration." if bds_instance_id.nil? raise "Missing the required parameter 'node_backup_configuration_id' when calling get_node_backup_configuration." if node_backup_configuration_id.nil? raise "Parameter value for 'bds_instance_id' must not be blank" if OCI::Internal::Util.blank_string?(bds_instance_id) raise "Parameter value for 'node_backup_configuration_id' must not be blank" if OCI::Internal::Util.blank_string?(node_backup_configuration_id) path = '/bdsInstances/{bdsInstanceId}/nodeBackupConfigurations/{nodeBackupConfigurationId}'.sub('{bdsInstanceId}', bds_instance_id.to_s).sub('{nodeBackupConfigurationId}', node_backup_configuration_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'BdsClient#get_node_backup_configuration') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Bds::Models::NodeBackupConfiguration' ) end # rubocop:enable Metrics/BlockLength end |
#get_node_replace_configuration(bds_instance_id, node_replace_configuration_id, opts = {}) ⇒ Response
Click here to see an example of how to use get_node_replace_configuration API.
Returns details of the nodeReplaceConfiguration identified by the given ID.
3182 3183 3184 3185 3186 3187 3188 3189 3190 3191 3192 3193 3194 3195 3196 3197 3198 3199 3200 3201 3202 3203 3204 3205 3206 3207 3208 3209 3210 3211 3212 3213 3214 3215 3216 3217 3218 3219 3220 |
# File 'lib/oci/bds/bds_client.rb', line 3182 def get_node_replace_configuration(bds_instance_id, node_replace_configuration_id, opts = {}) logger.debug 'Calling operation BdsClient#get_node_replace_configuration.' if logger raise "Missing the required parameter 'bds_instance_id' when calling get_node_replace_configuration." if bds_instance_id.nil? raise "Missing the required parameter 'node_replace_configuration_id' when calling get_node_replace_configuration." if node_replace_configuration_id.nil? raise "Parameter value for 'bds_instance_id' must not be blank" if OCI::Internal::Util.blank_string?(bds_instance_id) raise "Parameter value for 'node_replace_configuration_id' must not be blank" if OCI::Internal::Util.blank_string?(node_replace_configuration_id) path = '/bdsInstances/{bdsInstanceId}/nodeReplaceConfigurations/{nodeReplaceConfigurationId}'.sub('{bdsInstanceId}', bds_instance_id.to_s).sub('{nodeReplaceConfigurationId}', node_replace_configuration_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'BdsClient#get_node_replace_configuration') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Bds::Models::NodeReplaceConfiguration' ) end # rubocop:enable Metrics/BlockLength end |
#get_os_patch_details(bds_instance_id, os_patch_version, opts = {}) ⇒ Response
Click here to see an example of how to use get_os_patch_details API.
Get the details of an os patch
3251 3252 3253 3254 3255 3256 3257 3258 3259 3260 3261 3262 3263 3264 3265 3266 3267 3268 3269 3270 3271 3272 3273 3274 3275 3276 3277 3278 3279 3280 3281 3282 3283 3284 3285 3286 3287 3288 3289 3290 3291 3292 |
# File 'lib/oci/bds/bds_client.rb', line 3251 def get_os_patch_details(bds_instance_id, os_patch_version, opts = {}) logger.debug 'Calling operation BdsClient#get_os_patch_details.' if logger raise "Missing the required parameter 'bds_instance_id' when calling get_os_patch_details." if bds_instance_id.nil? raise "Missing the required parameter 'os_patch_version' when calling get_os_patch_details." if os_patch_version.nil? raise "Parameter value for 'bds_instance_id' must not be blank" if OCI::Internal::Util.blank_string?(bds_instance_id) path = '/bdsInstances/{bdsInstanceId}/actions/getOsPatch'.sub('{bdsInstanceId}', bds_instance_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:osPatchVersion] = os_patch_version # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'BdsClient#get_os_patch_details') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Bds::Models::OsPatchDetails' ) end # rubocop:enable Metrics/BlockLength end |
#get_resource_principal_configuration(bds_instance_id, resource_principal_configuration_id, opts = {}) ⇒ Response
Click here to see an example of how to use get_resource_principal_configuration API.
Returns details of the resourcePrincipalConfiguration identified by the given ID.
3312 3313 3314 3315 3316 3317 3318 3319 3320 3321 3322 3323 3324 3325 3326 3327 3328 3329 3330 3331 3332 3333 3334 3335 3336 3337 3338 3339 3340 3341 3342 3343 3344 3345 3346 3347 3348 3349 3350 |
# File 'lib/oci/bds/bds_client.rb', line 3312 def get_resource_principal_configuration(bds_instance_id, resource_principal_configuration_id, opts = {}) logger.debug 'Calling operation BdsClient#get_resource_principal_configuration.' if logger raise "Missing the required parameter 'bds_instance_id' when calling get_resource_principal_configuration." if bds_instance_id.nil? raise "Missing the required parameter 'resource_principal_configuration_id' when calling get_resource_principal_configuration." if resource_principal_configuration_id.nil? raise "Parameter value for 'bds_instance_id' must not be blank" if OCI::Internal::Util.blank_string?(bds_instance_id) raise "Parameter value for 'resource_principal_configuration_id' must not be blank" if OCI::Internal::Util.blank_string?(resource_principal_configuration_id) path = '/bdsInstances/{bdsInstanceId}/resourcePrincipalConfigurations/{resourcePrincipalConfigurationId}'.sub('{bdsInstanceId}', bds_instance_id.to_s).sub('{resourcePrincipalConfigurationId}', resource_principal_configuration_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'BdsClient#get_resource_principal_configuration') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Bds::Models::ResourcePrincipalConfiguration' ) end # rubocop:enable Metrics/BlockLength end |
#get_software_update(bds_instance_id, software_update_key, opts = {}) ⇒ Response
Click here to see an example of how to use get_software_update API.
Get the details of the software update of the given SoftwareUpdateId
3382 3383 3384 3385 3386 3387 3388 3389 3390 3391 3392 3393 3394 3395 3396 3397 3398 3399 3400 3401 3402 3403 3404 3405 3406 3407 3408 3409 3410 3411 3412 3413 3414 3415 3416 3417 3418 3419 3420 3421 3422 3423 |
# File 'lib/oci/bds/bds_client.rb', line 3382 def get_software_update(bds_instance_id, software_update_key, opts = {}) logger.debug 'Calling operation BdsClient#get_software_update.' if logger raise "Missing the required parameter 'bds_instance_id' when calling get_software_update." if bds_instance_id.nil? raise "Missing the required parameter 'software_update_key' when calling get_software_update." if software_update_key.nil? raise "Parameter value for 'bds_instance_id' must not be blank" if OCI::Internal::Util.blank_string?(bds_instance_id) raise "Parameter value for 'software_update_key' must not be blank" if OCI::Internal::Util.blank_string?(software_update_key) path = '/bdsInstances/{bdsInstanceId}/softwareUpdates/{softwareUpdateKey}'.sub('{bdsInstanceId}', bds_instance_id.to_s).sub('{softwareUpdateKey}', software_update_key.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'BdsClient#get_software_update') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Bds::Models::SoftwareUpdate' ) end # rubocop:enable Metrics/BlockLength end |
#get_work_request(work_request_id, opts = {}) ⇒ Response
Click here to see an example of how to use get_work_request API.
Returns the status of the work request identified by the given ID.
3441 3442 3443 3444 3445 3446 3447 3448 3449 3450 3451 3452 3453 3454 3455 3456 3457 3458 3459 3460 3461 3462 3463 3464 3465 3466 3467 3468 3469 3470 3471 3472 3473 3474 3475 3476 3477 |
# File 'lib/oci/bds/bds_client.rb', line 3441 def get_work_request(work_request_id, opts = {}) logger.debug 'Calling operation BdsClient#get_work_request.' if logger raise "Missing the required parameter 'work_request_id' when calling get_work_request." if work_request_id.nil? raise "Parameter value for 'work_request_id' must not be blank" if OCI::Internal::Util.blank_string?(work_request_id) path = '/workRequests/{workRequestId}'.sub('{workRequestId}', work_request_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'BdsClient#get_work_request') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Bds::Models::WorkRequest' ) end # rubocop:enable Metrics/BlockLength end |
#install_os_patch(bds_instance_id, install_os_patch_details, opts = {}) ⇒ Response
Click here to see an example of how to use install_os_patch API.
Install an os patch on a cluster
3509 3510 3511 3512 3513 3514 3515 3516 3517 3518 3519 3520 3521 3522 3523 3524 3525 3526 3527 3528 3529 3530 3531 3532 3533 3534 3535 3536 3537 3538 3539 3540 3541 3542 3543 3544 3545 3546 3547 3548 |
# File 'lib/oci/bds/bds_client.rb', line 3509 def install_os_patch(bds_instance_id, install_os_patch_details, opts = {}) logger.debug 'Calling operation BdsClient#install_os_patch.' if logger raise "Missing the required parameter 'bds_instance_id' when calling install_os_patch." if bds_instance_id.nil? raise "Missing the required parameter 'install_os_patch_details' when calling install_os_patch." if install_os_patch_details.nil? raise "Parameter value for 'bds_instance_id' must not be blank" if OCI::Internal::Util.blank_string?(bds_instance_id) path = '/bdsInstances/{bdsInstanceId}/actions/installOsPatch'.sub('{bdsInstanceId}', bds_instance_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(install_os_patch_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'BdsClient#install_os_patch') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body ) end # rubocop:enable Metrics/BlockLength end |
#install_patch(bds_instance_id, install_patch_details, opts = {}) ⇒ Response
Click here to see an example of how to use install_patch API.
Install the specified patch to this cluster.
3580 3581 3582 3583 3584 3585 3586 3587 3588 3589 3590 3591 3592 3593 3594 3595 3596 3597 3598 3599 3600 3601 3602 3603 3604 3605 3606 3607 3608 3609 3610 3611 3612 3613 3614 3615 3616 3617 3618 3619 |
# File 'lib/oci/bds/bds_client.rb', line 3580 def install_patch(bds_instance_id, install_patch_details, opts = {}) logger.debug 'Calling operation BdsClient#install_patch.' if logger raise "Missing the required parameter 'bds_instance_id' when calling install_patch." if bds_instance_id.nil? raise "Missing the required parameter 'install_patch_details' when calling install_patch." if install_patch_details.nil? raise "Parameter value for 'bds_instance_id' must not be blank" if OCI::Internal::Util.blank_string?(bds_instance_id) path = '/bdsInstances/{bdsInstanceId}/actions/installPatch'.sub('{bdsInstanceId}', bds_instance_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(install_patch_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'BdsClient#install_patch') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body ) end # rubocop:enable Metrics/BlockLength end |
#install_software_updates(bds_instance_id, install_software_updates_details, opts = {}) ⇒ Response
Click here to see an example of how to use install_software_updates API.
Install the specified software update to this cluster.
3651 3652 3653 3654 3655 3656 3657 3658 3659 3660 3661 3662 3663 3664 3665 3666 3667 3668 3669 3670 3671 3672 3673 3674 3675 3676 3677 3678 3679 3680 3681 3682 3683 3684 3685 3686 3687 3688 3689 3690 |
# File 'lib/oci/bds/bds_client.rb', line 3651 def install_software_updates(bds_instance_id, install_software_updates_details, opts = {}) logger.debug 'Calling operation BdsClient#install_software_updates.' if logger raise "Missing the required parameter 'bds_instance_id' when calling install_software_updates." if bds_instance_id.nil? raise "Missing the required parameter 'install_software_updates_details' when calling install_software_updates." if install_software_updates_details.nil? raise "Parameter value for 'bds_instance_id' must not be blank" if OCI::Internal::Util.blank_string?(bds_instance_id) path = '/bdsInstances/{bdsInstanceId}/actions/installSoftwareUpdates'.sub('{bdsInstanceId}', bds_instance_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(install_software_updates_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'BdsClient#install_software_updates') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body ) end # rubocop:enable Metrics/BlockLength end |
#list_auto_scaling_configurations(compartment_id, bds_instance_id, opts = {}) ⇒ Response
Click here to see an example of how to use list_auto_scaling_configurations API.
Returns information about the autoscaling configurations for a cluster.
Allowed values are: timeCreated, displayName
3718 3719 3720 3721 3722 3723 3724 3725 3726 3727 3728 3729 3730 3731 3732 3733 3734 3735 3736 3737 3738 3739 3740 3741 3742 3743 3744 3745 3746 3747 3748 3749 3750 3751 3752 3753 3754 3755 3756 3757 3758 3759 3760 3761 3762 3763 3764 3765 3766 3767 3768 3769 3770 3771 3772 3773 3774 |
# File 'lib/oci/bds/bds_client.rb', line 3718 def list_auto_scaling_configurations(compartment_id, bds_instance_id, opts = {}) logger.debug 'Calling operation BdsClient#list_auto_scaling_configurations.' if logger raise "Missing the required parameter 'compartment_id' when calling list_auto_scaling_configurations." if compartment_id.nil? raise "Missing the required parameter 'bds_instance_id' when calling list_auto_scaling_configurations." if bds_instance_id.nil? if opts[:sort_by] && !%w[timeCreated displayName].include?(opts[:sort_by]) raise 'Invalid value for "sort_by", must be one of timeCreated, displayName.' end if opts[:sort_order] && !OCI::Bds::Models::SORT_ORDERS_ENUM.include?(opts[:sort_order]) raise 'Invalid value for "sort_order", must be one of the values in OCI::Bds::Models::SORT_ORDERS_ENUM.' end if opts[:lifecycle_state] && !OCI::Bds::Models::AutoScalingConfiguration::LIFECYCLE_STATE_ENUM.include?(opts[:lifecycle_state]) raise 'Invalid value for "lifecycle_state", must be one of the values in OCI::Bds::Models::AutoScalingConfiguration::LIFECYCLE_STATE_ENUM.' end raise "Parameter value for 'bds_instance_id' must not be blank" if OCI::Internal::Util.blank_string?(bds_instance_id) path = '/bdsInstances/{bdsInstanceId}/autoScalingConfiguration'.sub('{bdsInstanceId}', bds_instance_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:compartmentId] = compartment_id query_params[:page] = opts[:page] if opts[:page] query_params[:limit] = opts[:limit] if opts[:limit] query_params[:sortBy] = opts[:sort_by] if opts[:sort_by] query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order] query_params[:displayName] = opts[:display_name] if opts[:display_name] query_params[:lifecycleState] = opts[:lifecycle_state] if opts[:lifecycle_state] # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'BdsClient#list_auto_scaling_configurations') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'Array<OCI::Bds::Models::AutoScalingConfigurationSummary>' ) end # rubocop:enable Metrics/BlockLength end |
#list_bds_api_keys(bds_instance_id, opts = {}) ⇒ Response
Click here to see an example of how to use list_bds_api_keys API.
Returns a list of all API keys associated with this Big Data Service cluster.
Allowed values are: timeCreated, displayName
3802 3803 3804 3805 3806 3807 3808 3809 3810 3811 3812 3813 3814 3815 3816 3817 3818 3819 3820 3821 3822 3823 3824 3825 3826 3827 3828 3829 3830 3831 3832 3833 3834 3835 3836 3837 3838 3839 3840 3841 3842 3843 3844 3845 3846 3847 3848 3849 3850 3851 3852 3853 3854 3855 3856 3857 |
# File 'lib/oci/bds/bds_client.rb', line 3802 def list_bds_api_keys(bds_instance_id, opts = {}) logger.debug 'Calling operation BdsClient#list_bds_api_keys.' if logger raise "Missing the required parameter 'bds_instance_id' when calling list_bds_api_keys." if bds_instance_id.nil? if opts[:lifecycle_state] && !OCI::Bds::Models::BdsApiKey::LIFECYCLE_STATE_ENUM.include?(opts[:lifecycle_state]) raise 'Invalid value for "lifecycle_state", must be one of the values in OCI::Bds::Models::BdsApiKey::LIFECYCLE_STATE_ENUM.' end if opts[:sort_by] && !%w[timeCreated displayName].include?(opts[:sort_by]) raise 'Invalid value for "sort_by", must be one of timeCreated, displayName.' end if opts[:sort_order] && !OCI::Bds::Models::SORT_ORDERS_ENUM.include?(opts[:sort_order]) raise 'Invalid value for "sort_order", must be one of the values in OCI::Bds::Models::SORT_ORDERS_ENUM.' end raise "Parameter value for 'bds_instance_id' must not be blank" if OCI::Internal::Util.blank_string?(bds_instance_id) path = '/bdsInstances/{bdsInstanceId}/apiKeys'.sub('{bdsInstanceId}', bds_instance_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:lifecycleState] = opts[:lifecycle_state] if opts[:lifecycle_state] query_params[:userId] = opts[:user_id] if opts[:user_id] query_params[:page] = opts[:page] if opts[:page] query_params[:limit] = opts[:limit] if opts[:limit] query_params[:sortBy] = opts[:sort_by] if opts[:sort_by] query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order] query_params[:displayName] = opts[:display_name] if opts[:display_name] # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'BdsClient#list_bds_api_keys') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'Array<OCI::Bds::Models::BdsApiKeySummary>' ) end # rubocop:enable Metrics/BlockLength end |
#list_bds_certificate_configurations(bds_instance_id, opts = {}) ⇒ Response
Click here to see an example of how to use list_bds_certificate_configurations API.
Returns a list of BDS certificate configurations associated with this Big Data Service cluster.
Allowed values are: timeCreated, displayName
3884 3885 3886 3887 3888 3889 3890 3891 3892 3893 3894 3895 3896 3897 3898 3899 3900 3901 3902 3903 3904 3905 3906 3907 3908 3909 3910 3911 3912 3913 3914 3915 3916 3917 3918 3919 3920 3921 3922 3923 3924 3925 3926 3927 3928 3929 3930 3931 3932 3933 3934 3935 3936 3937 3938 |
# File 'lib/oci/bds/bds_client.rb', line 3884 def list_bds_certificate_configurations(bds_instance_id, opts = {}) logger.debug 'Calling operation BdsClient#list_bds_certificate_configurations.' if logger raise "Missing the required parameter 'bds_instance_id' when calling list_bds_certificate_configurations." if bds_instance_id.nil? if opts[:sort_by] && !%w[timeCreated displayName].include?(opts[:sort_by]) raise 'Invalid value for "sort_by", must be one of timeCreated, displayName.' end if opts[:sort_order] && !OCI::Bds::Models::SORT_ORDERS_ENUM.include?(opts[:sort_order]) raise 'Invalid value for "sort_order", must be one of the values in OCI::Bds::Models::SORT_ORDERS_ENUM.' end if opts[:lifecycle_state] && !OCI::Bds::Models::BdsCertificateConfiguration::LIFECYCLE_STATE_ENUM.include?(opts[:lifecycle_state]) raise 'Invalid value for "lifecycle_state", must be one of the values in OCI::Bds::Models::BdsCertificateConfiguration::LIFECYCLE_STATE_ENUM.' end raise "Parameter value for 'bds_instance_id' must not be blank" if OCI::Internal::Util.blank_string?(bds_instance_id) path = '/bdsInstances/{bdsInstanceId}/bdsCertificateConfigurations'.sub('{bdsInstanceId}', bds_instance_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:page] = opts[:page] if opts[:page] query_params[:limit] = opts[:limit] if opts[:limit] query_params[:sortBy] = opts[:sort_by] if opts[:sort_by] query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order] query_params[:displayName] = opts[:display_name] if opts[:display_name] query_params[:lifecycleState] = opts[:lifecycle_state] if opts[:lifecycle_state] # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'BdsClient#list_bds_certificate_configurations') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'Array<OCI::Bds::Models::BdsCertificateConfigurationSummary>' ) end # rubocop:enable Metrics/BlockLength end |
#list_bds_cluster_versions(opts = {}) ⇒ Response
Click here to see an example of how to use list_bds_cluster_versions API.
Returns a list of cluster versions with associated odh and bds versions.
Allowed values are: bdsVersion
3962 3963 3964 3965 3966 3967 3968 3969 3970 3971 3972 3973 3974 3975 3976 3977 3978 3979 3980 3981 3982 3983 3984 3985 3986 3987 3988 3989 3990 3991 3992 3993 3994 3995 3996 3997 3998 3999 4000 4001 4002 4003 4004 4005 4006 4007 4008 |
# File 'lib/oci/bds/bds_client.rb', line 3962 def list_bds_cluster_versions(opts = {}) logger.debug 'Calling operation BdsClient#list_bds_cluster_versions.' if logger if opts[:sort_by] && !%w[bdsVersion].include?(opts[:sort_by]) raise 'Invalid value for "sort_by", must be one of bdsVersion.' end if opts[:sort_order] && !OCI::Bds::Models::SORT_ORDERS_ENUM.include?(opts[:sort_order]) raise 'Invalid value for "sort_order", must be one of the values in OCI::Bds::Models::SORT_ORDERS_ENUM.' end path = '/bdsClusterVersions' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:page] = opts[:page] if opts[:page] query_params[:limit] = opts[:limit] if opts[:limit] query_params[:sortBy] = opts[:sort_by] if opts[:sort_by] query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order] # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'BdsClient#list_bds_cluster_versions') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'Array<OCI::Bds::Models::BdsClusterVersionSummary>' ) end # rubocop:enable Metrics/BlockLength end |
#list_bds_instances(compartment_id, opts = {}) ⇒ Response
Click here to see an example of how to use list_bds_instances API.
Returns a list of all Big Data Service clusters in a compartment.
Allowed values are: timeCreated, displayName
4035 4036 4037 4038 4039 4040 4041 4042 4043 4044 4045 4046 4047 4048 4049 4050 4051 4052 4053 4054 4055 4056 4057 4058 4059 4060 4061 4062 4063 4064 4065 4066 4067 4068 4069 4070 4071 4072 4073 4074 4075 4076 4077 4078 4079 4080 4081 4082 4083 4084 4085 4086 4087 4088 4089 |
# File 'lib/oci/bds/bds_client.rb', line 4035 def list_bds_instances(compartment_id, opts = {}) logger.debug 'Calling operation BdsClient#list_bds_instances.' if logger raise "Missing the required parameter 'compartment_id' when calling list_bds_instances." if compartment_id.nil? if opts[:lifecycle_state] && !OCI::Bds::Models::BdsInstance::LIFECYCLE_STATE_ENUM.include?(opts[:lifecycle_state]) raise 'Invalid value for "lifecycle_state", must be one of the values in OCI::Bds::Models::BdsInstance::LIFECYCLE_STATE_ENUM.' end if opts[:sort_by] && !%w[timeCreated displayName].include?(opts[:sort_by]) raise 'Invalid value for "sort_by", must be one of timeCreated, displayName.' end if opts[:sort_order] && !OCI::Bds::Models::SORT_ORDERS_ENUM.include?(opts[:sort_order]) raise 'Invalid value for "sort_order", must be one of the values in OCI::Bds::Models::SORT_ORDERS_ENUM.' end path = '/bdsInstances' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:compartmentId] = compartment_id query_params[:lifecycleState] = opts[:lifecycle_state] if opts[:lifecycle_state] query_params[:page] = opts[:page] if opts[:page] query_params[:limit] = opts[:limit] if opts[:limit] query_params[:sortBy] = opts[:sort_by] if opts[:sort_by] query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order] query_params[:displayName] = opts[:display_name] if opts[:display_name] # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'BdsClient#list_bds_instances') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'Array<OCI::Bds::Models::BdsInstanceSummary>' ) end # rubocop:enable Metrics/BlockLength end |
#list_bds_metastore_configurations(bds_instance_id, opts = {}) ⇒ Response
Click here to see an example of how to use list_bds_metastore_configurations API.
Returns a list of metastore configurations ssociated with this Big Data Service cluster.
Allowed values are: timeCreated, displayName
4119 4120 4121 4122 4123 4124 4125 4126 4127 4128 4129 4130 4131 4132 4133 4134 4135 4136 4137 4138 4139 4140 4141 4142 4143 4144 4145 4146 4147 4148 4149 4150 4151 4152 4153 4154 4155 4156 4157 4158 4159 4160 4161 4162 4163 4164 4165 4166 4167 4168 4169 4170 4171 4172 4173 4174 4175 4176 4177 4178 4179 4180 |
# File 'lib/oci/bds/bds_client.rb', line 4119 def (bds_instance_id, opts = {}) logger.debug 'Calling operation BdsClient#list_bds_metastore_configurations.' if logger raise "Missing the required parameter 'bds_instance_id' when calling list_bds_metastore_configurations." if bds_instance_id.nil? if opts[:metastore_type] && !OCI::Bds::Models::BdsMetastoreConfiguration::METASTORE_TYPE_ENUM.include?(opts[:metastore_type]) raise 'Invalid value for "metastore_type", must be one of the values in OCI::Bds::Models::BdsMetastoreConfiguration::METASTORE_TYPE_ENUM.' end if opts[:lifecycle_state] && !OCI::Bds::Models::BdsMetastoreConfiguration::LIFECYCLE_STATE_ENUM.include?(opts[:lifecycle_state]) raise 'Invalid value for "lifecycle_state", must be one of the values in OCI::Bds::Models::BdsMetastoreConfiguration::LIFECYCLE_STATE_ENUM.' end if opts[:sort_by] && !%w[timeCreated displayName].include?(opts[:sort_by]) raise 'Invalid value for "sort_by", must be one of timeCreated, displayName.' end if opts[:sort_order] && !OCI::Bds::Models::SORT_ORDERS_ENUM.include?(opts[:sort_order]) raise 'Invalid value for "sort_order", must be one of the values in OCI::Bds::Models::SORT_ORDERS_ENUM.' end raise "Parameter value for 'bds_instance_id' must not be blank" if OCI::Internal::Util.blank_string?(bds_instance_id) path = '/bdsInstances/{bdsInstanceId}/metastoreConfigs'.sub('{bdsInstanceId}', bds_instance_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:metastoreType] = opts[:metastore_type] if opts[:metastore_type] query_params[:metastoreId] = opts[:metastore_id] if opts[:metastore_id] query_params[:lifecycleState] = opts[:lifecycle_state] if opts[:lifecycle_state] query_params[:bdsApiKeyId] = opts[:bds_api_key_id] if opts[:bds_api_key_id] query_params[:page] = opts[:page] if opts[:page] query_params[:limit] = opts[:limit] if opts[:limit] query_params[:sortBy] = opts[:sort_by] if opts[:sort_by] query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order] query_params[:displayName] = opts[:display_name] if opts[:display_name] # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'BdsClient#list_bds_metastore_configurations') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'Array<OCI::Bds::Models::BdsMetastoreConfigurationSummary>' ) end # rubocop:enable Metrics/BlockLength end |
#list_identity_configurations(bds_instance_id, compartment_id, opts = {}) ⇒ Response
Click here to see an example of how to use list_identity_configurations API.
Returns a list of all identity configurations associated with this Big Data Service cluster.
Allowed values are: timeCreated, displayName
4208 4209 4210 4211 4212 4213 4214 4215 4216 4217 4218 4219 4220 4221 4222 4223 4224 4225 4226 4227 4228 4229 4230 4231 4232 4233 4234 4235 4236 4237 4238 4239 4240 4241 4242 4243 4244 4245 4246 4247 4248 4249 4250 4251 4252 4253 4254 4255 4256 4257 4258 4259 4260 4261 4262 4263 4264 |
# File 'lib/oci/bds/bds_client.rb', line 4208 def list_identity_configurations(bds_instance_id, compartment_id, opts = {}) logger.debug 'Calling operation BdsClient#list_identity_configurations.' if logger raise "Missing the required parameter 'bds_instance_id' when calling list_identity_configurations." if bds_instance_id.nil? raise "Missing the required parameter 'compartment_id' when calling list_identity_configurations." if compartment_id.nil? if opts[:sort_by] && !%w[timeCreated displayName].include?(opts[:sort_by]) raise 'Invalid value for "sort_by", must be one of timeCreated, displayName.' end if opts[:sort_order] && !OCI::Bds::Models::SORT_ORDERS_ENUM.include?(opts[:sort_order]) raise 'Invalid value for "sort_order", must be one of the values in OCI::Bds::Models::SORT_ORDERS_ENUM.' end if opts[:lifecycle_state] && !OCI::Bds::Models::IdentityConfiguration::LIFECYCLE_STATE_ENUM.include?(opts[:lifecycle_state]) raise 'Invalid value for "lifecycle_state", must be one of the values in OCI::Bds::Models::IdentityConfiguration::LIFECYCLE_STATE_ENUM.' end raise "Parameter value for 'bds_instance_id' must not be blank" if OCI::Internal::Util.blank_string?(bds_instance_id) path = '/bdsInstances/{bdsInstanceId}/identityConfigurations'.sub('{bdsInstanceId}', bds_instance_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:compartmentId] = compartment_id query_params[:page] = opts[:page] if opts[:page] query_params[:limit] = opts[:limit] if opts[:limit] query_params[:sortBy] = opts[:sort_by] if opts[:sort_by] query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order] query_params[:lifecycleState] = opts[:lifecycle_state] if opts[:lifecycle_state] query_params[:displayName] = opts[:display_name] if opts[:display_name] # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'BdsClient#list_identity_configurations') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'Array<OCI::Bds::Models::IdentityConfigurationSummary>' ) end # rubocop:enable Metrics/BlockLength end |
#list_node_backup_configurations(bds_instance_id, opts = {}) ⇒ Response
Click here to see an example of how to use list_node_backup_configurations API.
Returns information about the NodeBackupConfigurations.
Allowed values are: timeCreated, displayName
4291 4292 4293 4294 4295 4296 4297 4298 4299 4300 4301 4302 4303 4304 4305 4306 4307 4308 4309 4310 4311 4312 4313 4314 4315 4316 4317 4318 4319 4320 4321 4322 4323 4324 4325 4326 4327 4328 4329 4330 4331 4332 4333 4334 4335 4336 4337 4338 4339 4340 4341 4342 4343 4344 4345 |
# File 'lib/oci/bds/bds_client.rb', line 4291 def list_node_backup_configurations(bds_instance_id, opts = {}) logger.debug 'Calling operation BdsClient#list_node_backup_configurations.' if logger raise "Missing the required parameter 'bds_instance_id' when calling list_node_backup_configurations." if bds_instance_id.nil? if opts[:sort_by] && !%w[timeCreated displayName].include?(opts[:sort_by]) raise 'Invalid value for "sort_by", must be one of timeCreated, displayName.' end if opts[:sort_order] && !OCI::Bds::Models::SORT_ORDERS_ENUM.include?(opts[:sort_order]) raise 'Invalid value for "sort_order", must be one of the values in OCI::Bds::Models::SORT_ORDERS_ENUM.' end if opts[:lifecycle_state] && !OCI::Bds::Models::NodeBackupConfiguration::LIFECYCLE_STATE_ENUM.include?(opts[:lifecycle_state]) raise 'Invalid value for "lifecycle_state", must be one of the values in OCI::Bds::Models::NodeBackupConfiguration::LIFECYCLE_STATE_ENUM.' end raise "Parameter value for 'bds_instance_id' must not be blank" if OCI::Internal::Util.blank_string?(bds_instance_id) path = '/bdsInstances/{bdsInstanceId}/nodeBackupConfigurations'.sub('{bdsInstanceId}', bds_instance_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:page] = opts[:page] if opts[:page] query_params[:limit] = opts[:limit] if opts[:limit] query_params[:sortBy] = opts[:sort_by] if opts[:sort_by] query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order] query_params[:displayName] = opts[:display_name] if opts[:display_name] query_params[:lifecycleState] = opts[:lifecycle_state] if opts[:lifecycle_state] # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'BdsClient#list_node_backup_configurations') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'Array<OCI::Bds::Models::NodeBackupConfigurationSummary>' ) end # rubocop:enable Metrics/BlockLength end |
#list_node_backups(bds_instance_id, opts = {}) ⇒ Response
Click here to see an example of how to use list_node_backups API.
Returns information about the node Backups.
Allowed values are: timeCreated, displayName
4373 4374 4375 4376 4377 4378 4379 4380 4381 4382 4383 4384 4385 4386 4387 4388 4389 4390 4391 4392 4393 4394 4395 4396 4397 4398 4399 4400 4401 4402 4403 4404 4405 4406 4407 4408 4409 4410 4411 4412 4413 4414 4415 4416 4417 4418 4419 4420 4421 4422 4423 4424 4425 4426 4427 4428 |
# File 'lib/oci/bds/bds_client.rb', line 4373 def list_node_backups(bds_instance_id, opts = {}) logger.debug 'Calling operation BdsClient#list_node_backups.' if logger raise "Missing the required parameter 'bds_instance_id' when calling list_node_backups." if bds_instance_id.nil? if opts[:sort_by] && !%w[timeCreated displayName].include?(opts[:sort_by]) raise 'Invalid value for "sort_by", must be one of timeCreated, displayName.' end if opts[:sort_order] && !OCI::Bds::Models::SORT_ORDERS_ENUM.include?(opts[:sort_order]) raise 'Invalid value for "sort_order", must be one of the values in OCI::Bds::Models::SORT_ORDERS_ENUM.' end if opts[:lifecycle_state] && !OCI::Bds::Models::NodeBackup::LIFECYCLE_STATE_ENUM.include?(opts[:lifecycle_state]) raise 'Invalid value for "lifecycle_state", must be one of the values in OCI::Bds::Models::NodeBackup::LIFECYCLE_STATE_ENUM.' end raise "Parameter value for 'bds_instance_id' must not be blank" if OCI::Internal::Util.blank_string?(bds_instance_id) path = '/bdsInstances/{bdsInstanceId}/nodeBackups'.sub('{bdsInstanceId}', bds_instance_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:page] = opts[:page] if opts[:page] query_params[:limit] = opts[:limit] if opts[:limit] query_params[:sortBy] = opts[:sort_by] if opts[:sort_by] query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order] query_params[:nodeHostName] = opts[:node_host_name] if opts[:node_host_name] query_params[:lifecycleState] = opts[:lifecycle_state] if opts[:lifecycle_state] query_params[:displayName] = opts[:display_name] if opts[:display_name] # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'BdsClient#list_node_backups') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'Array<OCI::Bds::Models::NodeBackupSummary>' ) end # rubocop:enable Metrics/BlockLength end |
#list_node_replace_configurations(bds_instance_id, opts = {}) ⇒ Response
Click here to see an example of how to use list_node_replace_configurations API.
Returns information about the NodeReplaceConfiguration.
Allowed values are: timeCreated, displayName
4455 4456 4457 4458 4459 4460 4461 4462 4463 4464 4465 4466 4467 4468 4469 4470 4471 4472 4473 4474 4475 4476 4477 4478 4479 4480 4481 4482 4483 4484 4485 4486 4487 4488 4489 4490 4491 4492 4493 4494 4495 4496 4497 4498 4499 4500 4501 4502 4503 4504 4505 4506 4507 4508 4509 |
# File 'lib/oci/bds/bds_client.rb', line 4455 def list_node_replace_configurations(bds_instance_id, opts = {}) logger.debug 'Calling operation BdsClient#list_node_replace_configurations.' if logger raise "Missing the required parameter 'bds_instance_id' when calling list_node_replace_configurations." if bds_instance_id.nil? if opts[:sort_by] && !%w[timeCreated displayName].include?(opts[:sort_by]) raise 'Invalid value for "sort_by", must be one of timeCreated, displayName.' end if opts[:sort_order] && !OCI::Bds::Models::SORT_ORDERS_ENUM.include?(opts[:sort_order]) raise 'Invalid value for "sort_order", must be one of the values in OCI::Bds::Models::SORT_ORDERS_ENUM.' end if opts[:lifecycle_state] && !OCI::Bds::Models::NodeReplaceConfiguration::LIFECYCLE_STATE_ENUM.include?(opts[:lifecycle_state]) raise 'Invalid value for "lifecycle_state", must be one of the values in OCI::Bds::Models::NodeReplaceConfiguration::LIFECYCLE_STATE_ENUM.' end raise "Parameter value for 'bds_instance_id' must not be blank" if OCI::Internal::Util.blank_string?(bds_instance_id) path = '/bdsInstances/{bdsInstanceId}/nodeReplaceConfigurations'.sub('{bdsInstanceId}', bds_instance_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:page] = opts[:page] if opts[:page] query_params[:limit] = opts[:limit] if opts[:limit] query_params[:sortBy] = opts[:sort_by] if opts[:sort_by] query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order] query_params[:displayName] = opts[:display_name] if opts[:display_name] query_params[:lifecycleState] = opts[:lifecycle_state] if opts[:lifecycle_state] # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'BdsClient#list_node_replace_configurations') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'Array<OCI::Bds::Models::NodeReplaceConfigurationSummary>' ) end # rubocop:enable Metrics/BlockLength end |
#list_os_patches(bds_instance_id, opts = {}) ⇒ Response
Click here to see an example of how to use list_os_patches API.
List all available os patches for a given cluster Allowed values are: timeCreated, displayName
4545 4546 4547 4548 4549 4550 4551 4552 4553 4554 4555 4556 4557 4558 4559 4560 4561 4562 4563 4564 4565 4566 4567 4568 4569 4570 4571 4572 4573 4574 4575 4576 4577 4578 4579 4580 4581 4582 4583 4584 4585 4586 4587 4588 4589 4590 4591 4592 4593 4594 4595 4596 |
# File 'lib/oci/bds/bds_client.rb', line 4545 def list_os_patches(bds_instance_id, opts = {}) logger.debug 'Calling operation BdsClient#list_os_patches.' if logger raise "Missing the required parameter 'bds_instance_id' when calling list_os_patches." if bds_instance_id.nil? if opts[:sort_by] && !%w[timeCreated displayName].include?(opts[:sort_by]) raise 'Invalid value for "sort_by", must be one of timeCreated, displayName.' end if opts[:sort_order] && !OCI::Bds::Models::SORT_ORDERS_ENUM.include?(opts[:sort_order]) raise 'Invalid value for "sort_order", must be one of the values in OCI::Bds::Models::SORT_ORDERS_ENUM.' end raise "Parameter value for 'bds_instance_id' must not be blank" if OCI::Internal::Util.blank_string?(bds_instance_id) path = '/bdsInstances/{bdsInstanceId}/actions/listOsPatches'.sub('{bdsInstanceId}', bds_instance_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:page] = opts[:page] if opts[:page] query_params[:limit] = opts[:limit] if opts[:limit] query_params[:sortBy] = opts[:sort_by] if opts[:sort_by] query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order] # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'BdsClient#list_os_patches') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'Array<OCI::Bds::Models::OsPatchSummary>' ) end # rubocop:enable Metrics/BlockLength end |
#list_patch_histories(bds_instance_id, opts = {}) ⇒ Response
Click here to see an example of how to use list_patch_histories API.
List the patch history of this cluster.
Allowed values are: timeCreated, displayName
4624 4625 4626 4627 4628 4629 4630 4631 4632 4633 4634 4635 4636 4637 4638 4639 4640 4641 4642 4643 4644 4645 4646 4647 4648 4649 4650 4651 4652 4653 4654 4655 4656 4657 4658 4659 4660 4661 4662 4663 4664 4665 4666 4667 4668 4669 4670 4671 4672 4673 4674 4675 4676 4677 4678 4679 4680 4681 4682 4683 |
# File 'lib/oci/bds/bds_client.rb', line 4624 def list_patch_histories(bds_instance_id, opts = {}) logger.debug 'Calling operation BdsClient#list_patch_histories.' if logger raise "Missing the required parameter 'bds_instance_id' when calling list_patch_histories." if bds_instance_id.nil? if opts[:lifecycle_state] && !OCI::Bds::Models::PatchHistorySummary::LIFECYCLE_STATE_ENUM.include?(opts[:lifecycle_state]) raise 'Invalid value for "lifecycle_state", must be one of the values in OCI::Bds::Models::PatchHistorySummary::LIFECYCLE_STATE_ENUM.' end if opts[:sort_by] && !%w[timeCreated displayName].include?(opts[:sort_by]) raise 'Invalid value for "sort_by", must be one of timeCreated, displayName.' end if opts[:sort_order] && !OCI::Bds::Models::SORT_ORDERS_ENUM.include?(opts[:sort_order]) raise 'Invalid value for "sort_order", must be one of the values in OCI::Bds::Models::SORT_ORDERS_ENUM.' end if opts[:patch_type] && !OCI::Bds::Models::PatchHistorySummary::PATCH_TYPE_ENUM.include?(opts[:patch_type]) raise 'Invalid value for "patch_type", must be one of the values in OCI::Bds::Models::PatchHistorySummary::PATCH_TYPE_ENUM.' end raise "Parameter value for 'bds_instance_id' must not be blank" if OCI::Internal::Util.blank_string?(bds_instance_id) path = '/bdsInstances/{bdsInstanceId}/patchHistory'.sub('{bdsInstanceId}', bds_instance_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:lifecycleState] = opts[:lifecycle_state] if opts[:lifecycle_state] query_params[:patchVersion] = opts[:patch_version] if opts[:patch_version] query_params[:sortBy] = opts[:sort_by] if opts[:sort_by] query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order] query_params[:page] = opts[:page] if opts[:page] query_params[:limit] = opts[:limit] if opts[:limit] query_params[:patchType] = opts[:patch_type] if opts[:patch_type] # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'BdsClient#list_patch_histories') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'Array<OCI::Bds::Models::PatchHistorySummary>' ) end # rubocop:enable Metrics/BlockLength end |
#list_patches(bds_instance_id, opts = {}) ⇒ Response
Click here to see an example of how to use list_patches API.
List all the available patches for this cluster.
4704 4705 4706 4707 4708 4709 4710 4711 4712 4713 4714 4715 4716 4717 4718 4719 4720 4721 4722 4723 4724 4725 4726 4727 4728 4729 4730 4731 4732 4733 4734 4735 4736 4737 4738 4739 4740 4741 4742 |
# File 'lib/oci/bds/bds_client.rb', line 4704 def list_patches(bds_instance_id, opts = {}) logger.debug 'Calling operation BdsClient#list_patches.' if logger raise "Missing the required parameter 'bds_instance_id' when calling list_patches." if bds_instance_id.nil? raise "Parameter value for 'bds_instance_id' must not be blank" if OCI::Internal::Util.blank_string?(bds_instance_id) path = '/bdsInstances/{bdsInstanceId}/patches'.sub('{bdsInstanceId}', bds_instance_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:page] = opts[:page] if opts[:page] query_params[:limit] = opts[:limit] if opts[:limit] # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'BdsClient#list_patches') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'Array<OCI::Bds::Models::PatchSummary>' ) end # rubocop:enable Metrics/BlockLength end |
#list_resource_principal_configurations(bds_instance_id, opts = {}) ⇒ Response
Click here to see an example of how to use list_resource_principal_configurations API.
Returns information about the ResourcePrincipalConfiguration.
Allowed values are: timeCreated, displayName
4769 4770 4771 4772 4773 4774 4775 4776 4777 4778 4779 4780 4781 4782 4783 4784 4785 4786 4787 4788 4789 4790 4791 4792 4793 4794 4795 4796 4797 4798 4799 4800 4801 4802 4803 4804 4805 4806 4807 4808 4809 4810 4811 4812 4813 4814 4815 4816 4817 4818 4819 4820 4821 4822 4823 |
# File 'lib/oci/bds/bds_client.rb', line 4769 def list_resource_principal_configurations(bds_instance_id, opts = {}) logger.debug 'Calling operation BdsClient#list_resource_principal_configurations.' if logger raise "Missing the required parameter 'bds_instance_id' when calling list_resource_principal_configurations." if bds_instance_id.nil? if opts[:sort_by] && !%w[timeCreated displayName].include?(opts[:sort_by]) raise 'Invalid value for "sort_by", must be one of timeCreated, displayName.' end if opts[:sort_order] && !OCI::Bds::Models::SORT_ORDERS_ENUM.include?(opts[:sort_order]) raise 'Invalid value for "sort_order", must be one of the values in OCI::Bds::Models::SORT_ORDERS_ENUM.' end if opts[:lifecycle_state] && !OCI::Bds::Models::ResourcePrincipalConfiguration::LIFECYCLE_STATE_ENUM.include?(opts[:lifecycle_state]) raise 'Invalid value for "lifecycle_state", must be one of the values in OCI::Bds::Models::ResourcePrincipalConfiguration::LIFECYCLE_STATE_ENUM.' end raise "Parameter value for 'bds_instance_id' must not be blank" if OCI::Internal::Util.blank_string?(bds_instance_id) path = '/bdsInstances/{bdsInstanceId}/resourcePrincipalConfigurations'.sub('{bdsInstanceId}', bds_instance_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:page] = opts[:page] if opts[:page] query_params[:limit] = opts[:limit] if opts[:limit] query_params[:sortBy] = opts[:sort_by] if opts[:sort_by] query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order] query_params[:displayName] = opts[:display_name] if opts[:display_name] query_params[:lifecycleState] = opts[:lifecycle_state] if opts[:lifecycle_state] # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'BdsClient#list_resource_principal_configurations') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'Array<OCI::Bds::Models::ResourcePrincipalConfigurationSummary>' ) end # rubocop:enable Metrics/BlockLength end |
#list_software_updates(bds_instance_id, opts = {}) ⇒ Response
Click here to see an example of how to use list_software_updates API.
List all the available software updates for current cluster. Allowed values are: timeCreated, displayName
4859 4860 4861 4862 4863 4864 4865 4866 4867 4868 4869 4870 4871 4872 4873 4874 4875 4876 4877 4878 4879 4880 4881 4882 4883 4884 4885 4886 4887 4888 4889 4890 4891 4892 4893 4894 4895 4896 4897 4898 4899 4900 4901 4902 4903 4904 4905 4906 4907 4908 4909 4910 |
# File 'lib/oci/bds/bds_client.rb', line 4859 def list_software_updates(bds_instance_id, opts = {}) logger.debug 'Calling operation BdsClient#list_software_updates.' if logger raise "Missing the required parameter 'bds_instance_id' when calling list_software_updates." if bds_instance_id.nil? if opts[:sort_by] && !%w[timeCreated displayName].include?(opts[:sort_by]) raise 'Invalid value for "sort_by", must be one of timeCreated, displayName.' end if opts[:sort_order] && !OCI::Bds::Models::SORT_ORDERS_ENUM.include?(opts[:sort_order]) raise 'Invalid value for "sort_order", must be one of the values in OCI::Bds::Models::SORT_ORDERS_ENUM.' end raise "Parameter value for 'bds_instance_id' must not be blank" if OCI::Internal::Util.blank_string?(bds_instance_id) path = '/bdsInstances/{bdsInstanceId}/softwareUpdates'.sub('{bdsInstanceId}', bds_instance_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:page] = opts[:page] if opts[:page] query_params[:limit] = opts[:limit] if opts[:limit] query_params[:sortBy] = opts[:sort_by] if opts[:sort_by] query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order] # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'BdsClient#list_software_updates') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'OCI::Bds::Models::SoftwareUpdateCollection' ) end # rubocop:enable Metrics/BlockLength end |
#list_work_request_errors(work_request_id, opts = {}) ⇒ Response
Click here to see an example of how to use list_work_request_errors API.
Returns a paginated list of errors for a work request identified by the given ID.
Allowed values are: timeCreated, displayName
4935 4936 4937 4938 4939 4940 4941 4942 4943 4944 4945 4946 4947 4948 4949 4950 4951 4952 4953 4954 4955 4956 4957 4958 4959 4960 4961 4962 4963 4964 4965 4966 4967 4968 4969 4970 4971 4972 4973 4974 4975 4976 4977 4978 4979 4980 4981 4982 4983 |
# File 'lib/oci/bds/bds_client.rb', line 4935 def list_work_request_errors(work_request_id, opts = {}) logger.debug 'Calling operation BdsClient#list_work_request_errors.' if logger raise "Missing the required parameter 'work_request_id' when calling list_work_request_errors." if work_request_id.nil? if opts[:sort_by] && !%w[timeCreated displayName].include?(opts[:sort_by]) raise 'Invalid value for "sort_by", must be one of timeCreated, displayName.' end if opts[:sort_order] && !OCI::Bds::Models::SORT_ORDERS_ENUM.include?(opts[:sort_order]) raise 'Invalid value for "sort_order", must be one of the values in OCI::Bds::Models::SORT_ORDERS_ENUM.' end raise "Parameter value for 'work_request_id' must not be blank" if OCI::Internal::Util.blank_string?(work_request_id) path = '/workRequests/{workRequestId}/errors'.sub('{workRequestId}', work_request_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:page] = opts[:page] if opts[:page] query_params[:limit] = opts[:limit] if opts[:limit] query_params[:sortBy] = opts[:sort_by] if opts[:sort_by] query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order] # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'BdsClient#list_work_request_errors') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'Array<OCI::Bds::Models::WorkRequestError>' ) end # rubocop:enable Metrics/BlockLength end |
#list_work_request_logs(work_request_id, opts = {}) ⇒ Response
Click here to see an example of how to use list_work_request_logs API.
Returns a paginated list of logs for a given work request.
Allowed values are: timeCreated, displayName
5008 5009 5010 5011 5012 5013 5014 5015 5016 5017 5018 5019 5020 5021 5022 5023 5024 5025 5026 5027 5028 5029 5030 5031 5032 5033 5034 5035 5036 5037 5038 5039 5040 5041 5042 5043 5044 5045 5046 5047 5048 5049 5050 5051 5052 5053 5054 5055 5056 |
# File 'lib/oci/bds/bds_client.rb', line 5008 def list_work_request_logs(work_request_id, opts = {}) logger.debug 'Calling operation BdsClient#list_work_request_logs.' if logger raise "Missing the required parameter 'work_request_id' when calling list_work_request_logs." if work_request_id.nil? if opts[:sort_by] && !%w[timeCreated displayName].include?(opts[:sort_by]) raise 'Invalid value for "sort_by", must be one of timeCreated, displayName.' end if opts[:sort_order] && !OCI::Bds::Models::SORT_ORDERS_ENUM.include?(opts[:sort_order]) raise 'Invalid value for "sort_order", must be one of the values in OCI::Bds::Models::SORT_ORDERS_ENUM.' end raise "Parameter value for 'work_request_id' must not be blank" if OCI::Internal::Util.blank_string?(work_request_id) path = '/workRequests/{workRequestId}/logs'.sub('{workRequestId}', work_request_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:page] = opts[:page] if opts[:page] query_params[:limit] = opts[:limit] if opts[:limit] query_params[:sortBy] = opts[:sort_by] if opts[:sort_by] query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order] # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'BdsClient#list_work_request_logs') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'Array<OCI::Bds::Models::WorkRequestLogEntry>' ) end # rubocop:enable Metrics/BlockLength end |
#list_work_requests(compartment_id, opts = {}) ⇒ Response
Click here to see an example of how to use list_work_requests API.
Lists the work requests in a compartment.
Allowed values are: timeCreated, displayName
5082 5083 5084 5085 5086 5087 5088 5089 5090 5091 5092 5093 5094 5095 5096 5097 5098 5099 5100 5101 5102 5103 5104 5105 5106 5107 5108 5109 5110 5111 5112 5113 5114 5115 5116 5117 5118 5119 5120 5121 5122 5123 5124 5125 5126 5127 5128 5129 5130 5131 |
# File 'lib/oci/bds/bds_client.rb', line 5082 def list_work_requests(compartment_id, opts = {}) logger.debug 'Calling operation BdsClient#list_work_requests.' if logger raise "Missing the required parameter 'compartment_id' when calling list_work_requests." if compartment_id.nil? if opts[:sort_by] && !%w[timeCreated displayName].include?(opts[:sort_by]) raise 'Invalid value for "sort_by", must be one of timeCreated, displayName.' end if opts[:sort_order] && !OCI::Bds::Models::SORT_ORDERS_ENUM.include?(opts[:sort_order]) raise 'Invalid value for "sort_order", must be one of the values in OCI::Bds::Models::SORT_ORDERS_ENUM.' end path = '/workRequests' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:compartmentId] = compartment_id query_params[:resourceId] = opts[:resource_id] if opts[:resource_id] query_params[:page] = opts[:page] if opts[:page] query_params[:limit] = opts[:limit] if opts[:limit] query_params[:sortBy] = opts[:sort_by] if opts[:sort_by] query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order] # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'BdsClient#list_work_requests') do @api_client.call_api( :GET, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body, return_type: 'Array<OCI::Bds::Models::WorkRequest>' ) end # rubocop:enable Metrics/BlockLength end |
#logger ⇒ Logger
Returns The logger for this client. May be nil.
94 95 96 |
# File 'lib/oci/bds/bds_client.rb', line 94 def logger @api_client.config.logger end |
#refresh_confidential_application(bds_instance_id, identity_configuration_id, refresh_confidential_application_details, opts = {}) ⇒ Response
Click here to see an example of how to use refresh_confidential_application API.
Refresh confidential application for the given identity configuration in case of any update to the confidential application (e.g. regenerated client secret)
5163 5164 5165 5166 5167 5168 5169 5170 5171 5172 5173 5174 5175 5176 5177 5178 5179 5180 5181 5182 5183 5184 5185 5186 5187 5188 5189 5190 5191 5192 5193 5194 5195 5196 5197 5198 5199 5200 5201 5202 5203 5204 |
# File 'lib/oci/bds/bds_client.rb', line 5163 def refresh_confidential_application(bds_instance_id, identity_configuration_id, refresh_confidential_application_details, opts = {}) logger.debug 'Calling operation BdsClient#refresh_confidential_application.' if logger raise "Missing the required parameter 'bds_instance_id' when calling refresh_confidential_application." if bds_instance_id.nil? raise "Missing the required parameter 'identity_configuration_id' when calling refresh_confidential_application." if identity_configuration_id.nil? raise "Missing the required parameter 'refresh_confidential_application_details' when calling refresh_confidential_application." if refresh_confidential_application_details.nil? raise "Parameter value for 'bds_instance_id' must not be blank" if OCI::Internal::Util.blank_string?(bds_instance_id) raise "Parameter value for 'identity_configuration_id' must not be blank" if OCI::Internal::Util.blank_string?(identity_configuration_id) path = '/bdsInstances/{bdsInstanceId}/identityConfigurations/{identityConfigurationId}/actions/refreshConfidentialApplication'.sub('{bdsInstanceId}', bds_instance_id.to_s).sub('{identityConfigurationId}', identity_configuration_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(refresh_confidential_application_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'BdsClient#refresh_confidential_application') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body ) end # rubocop:enable Metrics/BlockLength end |
#refresh_upst_token_exchange_keytab(bds_instance_id, identity_configuration_id, refresh_upst_token_exchange_keytab_details, opts = {}) ⇒ Response
Click here to see an example of how to use refresh_upst_token_exchange_keytab API.
Refresh token exchange kerberos principal keytab for the UPST enabled identity configuration
5236 5237 5238 5239 5240 5241 5242 5243 5244 5245 5246 5247 5248 5249 5250 5251 5252 5253 5254 5255 5256 5257 5258 5259 5260 5261 5262 5263 5264 5265 5266 5267 5268 5269 5270 5271 5272 5273 5274 5275 5276 5277 |
# File 'lib/oci/bds/bds_client.rb', line 5236 def refresh_upst_token_exchange_keytab(bds_instance_id, identity_configuration_id, refresh_upst_token_exchange_keytab_details, opts = {}) logger.debug 'Calling operation BdsClient#refresh_upst_token_exchange_keytab.' if logger raise "Missing the required parameter 'bds_instance_id' when calling refresh_upst_token_exchange_keytab." if bds_instance_id.nil? raise "Missing the required parameter 'identity_configuration_id' when calling refresh_upst_token_exchange_keytab." if identity_configuration_id.nil? raise "Missing the required parameter 'refresh_upst_token_exchange_keytab_details' when calling refresh_upst_token_exchange_keytab." if refresh_upst_token_exchange_keytab_details.nil? raise "Parameter value for 'bds_instance_id' must not be blank" if OCI::Internal::Util.blank_string?(bds_instance_id) raise "Parameter value for 'identity_configuration_id' must not be blank" if OCI::Internal::Util.blank_string?(identity_configuration_id) path = '/bdsInstances/{bdsInstanceId}/identityConfigurations/{identityConfigurationId}/actions/refreshUpstTokenExchangeKeytab'.sub('{bdsInstanceId}', bds_instance_id.to_s).sub('{identityConfigurationId}', identity_configuration_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(refresh_upst_token_exchange_keytab_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'BdsClient#refresh_upst_token_exchange_keytab') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body ) end # rubocop:enable Metrics/BlockLength end |
#remove_auto_scaling_configuration(bds_instance_id, auto_scaling_configuration_id, remove_auto_scaling_configuration_details, opts = {}) ⇒ Response
Click here to see an example of how to use remove_auto_scaling_configuration API.
Deletes an autoscale configuration.
5310 5311 5312 5313 5314 5315 5316 5317 5318 5319 5320 5321 5322 5323 5324 5325 5326 5327 5328 5329 5330 5331 5332 5333 5334 5335 5336 5337 5338 5339 5340 5341 5342 5343 5344 5345 5346 5347 5348 5349 5350 5351 |
# File 'lib/oci/bds/bds_client.rb', line 5310 def remove_auto_scaling_configuration(bds_instance_id, auto_scaling_configuration_id, remove_auto_scaling_configuration_details, opts = {}) logger.debug 'Calling operation BdsClient#remove_auto_scaling_configuration.' if logger raise "Missing the required parameter 'bds_instance_id' when calling remove_auto_scaling_configuration." if bds_instance_id.nil? raise "Missing the required parameter 'auto_scaling_configuration_id' when calling remove_auto_scaling_configuration." if auto_scaling_configuration_id.nil? raise "Missing the required parameter 'remove_auto_scaling_configuration_details' when calling remove_auto_scaling_configuration." if remove_auto_scaling_configuration_details.nil? raise "Parameter value for 'bds_instance_id' must not be blank" if OCI::Internal::Util.blank_string?(bds_instance_id) raise "Parameter value for 'auto_scaling_configuration_id' must not be blank" if OCI::Internal::Util.blank_string?(auto_scaling_configuration_id) path = '/bdsInstances/{bdsInstanceId}/autoScalingConfiguration/{autoScalingConfigurationId}/actions/remove'.sub('{bdsInstanceId}', bds_instance_id.to_s).sub('{autoScalingConfigurationId}', auto_scaling_configuration_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(remove_auto_scaling_configuration_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'BdsClient#remove_auto_scaling_configuration') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body ) end # rubocop:enable Metrics/BlockLength end |
#remove_cloud_sql(bds_instance_id, remove_cloud_sql_details, opts = {}) ⇒ Response
Click here to see an example of how to use remove_cloud_sql API.
Removes Cloud SQL from the cluster.
5383 5384 5385 5386 5387 5388 5389 5390 5391 5392 5393 5394 5395 5396 5397 5398 5399 5400 5401 5402 5403 5404 5405 5406 5407 5408 5409 5410 5411 5412 5413 5414 5415 5416 5417 5418 5419 5420 5421 5422 |
# File 'lib/oci/bds/bds_client.rb', line 5383 def remove_cloud_sql(bds_instance_id, remove_cloud_sql_details, opts = {}) logger.debug 'Calling operation BdsClient#remove_cloud_sql.' if logger raise "Missing the required parameter 'bds_instance_id' when calling remove_cloud_sql." if bds_instance_id.nil? raise "Missing the required parameter 'remove_cloud_sql_details' when calling remove_cloud_sql." if remove_cloud_sql_details.nil? raise "Parameter value for 'bds_instance_id' must not be blank" if OCI::Internal::Util.blank_string?(bds_instance_id) path = '/bdsInstances/{bdsInstanceId}/actions/removeCloudSql'.sub('{bdsInstanceId}', bds_instance_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(remove_cloud_sql_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'BdsClient#remove_cloud_sql') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body ) end # rubocop:enable Metrics/BlockLength end |
#remove_kafka(bds_instance_id, remove_kafka_details, opts = {}) ⇒ Response
Click here to see an example of how to use remove_kafka API.
Remove Kafka from the cluster.
5454 5455 5456 5457 5458 5459 5460 5461 5462 5463 5464 5465 5466 5467 5468 5469 5470 5471 5472 5473 5474 5475 5476 5477 5478 5479 5480 5481 5482 5483 5484 5485 5486 5487 5488 5489 5490 5491 5492 5493 |
# File 'lib/oci/bds/bds_client.rb', line 5454 def remove_kafka(bds_instance_id, remove_kafka_details, opts = {}) logger.debug 'Calling operation BdsClient#remove_kafka.' if logger raise "Missing the required parameter 'bds_instance_id' when calling remove_kafka." if bds_instance_id.nil? raise "Missing the required parameter 'remove_kafka_details' when calling remove_kafka." if remove_kafka_details.nil? raise "Parameter value for 'bds_instance_id' must not be blank" if OCI::Internal::Util.blank_string?(bds_instance_id) path = '/bdsInstances/{bdsInstanceId}/actions/removeKafka'.sub('{bdsInstanceId}', bds_instance_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(remove_kafka_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'BdsClient#remove_kafka') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body ) end # rubocop:enable Metrics/BlockLength end |
#remove_node(bds_instance_id, remove_node_details, opts = {}) ⇒ Response
Click here to see an example of how to use remove_node API.
Remove a single node of a Big Data Service cluster
5519 5520 5521 5522 5523 5524 5525 5526 5527 5528 5529 5530 5531 5532 5533 5534 5535 5536 5537 5538 5539 5540 5541 5542 5543 5544 5545 5546 5547 5548 5549 5550 5551 5552 5553 5554 5555 5556 |
# File 'lib/oci/bds/bds_client.rb', line 5519 def remove_node(bds_instance_id, remove_node_details, opts = {}) logger.debug 'Calling operation BdsClient#remove_node.' if logger raise "Missing the required parameter 'bds_instance_id' when calling remove_node." if bds_instance_id.nil? raise "Missing the required parameter 'remove_node_details' when calling remove_node." if remove_node_details.nil? raise "Parameter value for 'bds_instance_id' must not be blank" if OCI::Internal::Util.blank_string?(bds_instance_id) path = '/bdsInstances/{bdsInstanceId}/actions/removeNode'.sub('{bdsInstanceId}', bds_instance_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] # rubocop:enable Style/NegatedIf post_body = @api_client.object_to_http_body(remove_node_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'BdsClient#remove_node') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body ) end # rubocop:enable Metrics/BlockLength end |
#remove_node_replace_configuration(bds_instance_id, node_replace_configuration_id, remove_node_replace_configuration_details, opts = {}) ⇒ Response
Click here to see an example of how to use remove_node_replace_configuration API.
Deletes a nodeReplaceConfiguration
5589 5590 5591 5592 5593 5594 5595 5596 5597 5598 5599 5600 5601 5602 5603 5604 5605 5606 5607 5608 5609 5610 5611 5612 5613 5614 5615 5616 5617 5618 5619 5620 5621 5622 5623 5624 5625 5626 5627 5628 5629 5630 |
# File 'lib/oci/bds/bds_client.rb', line 5589 def remove_node_replace_configuration(bds_instance_id, node_replace_configuration_id, remove_node_replace_configuration_details, opts = {}) logger.debug 'Calling operation BdsClient#remove_node_replace_configuration.' if logger raise "Missing the required parameter 'bds_instance_id' when calling remove_node_replace_configuration." if bds_instance_id.nil? raise "Missing the required parameter 'node_replace_configuration_id' when calling remove_node_replace_configuration." if node_replace_configuration_id.nil? raise "Missing the required parameter 'remove_node_replace_configuration_details' when calling remove_node_replace_configuration." if remove_node_replace_configuration_details.nil? raise "Parameter value for 'bds_instance_id' must not be blank" if OCI::Internal::Util.blank_string?(bds_instance_id) raise "Parameter value for 'node_replace_configuration_id' must not be blank" if OCI::Internal::Util.blank_string?(node_replace_configuration_id) path = '/bdsInstances/{bdsInstanceId}/nodeReplaceConfigurations/{nodeReplaceConfigurationId}/actions/remove'.sub('{bdsInstanceId}', bds_instance_id.to_s).sub('{nodeReplaceConfigurationId}', node_replace_configuration_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(remove_node_replace_configuration_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'BdsClient#remove_node_replace_configuration') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body ) end # rubocop:enable Metrics/BlockLength end |
#remove_nodes(bds_instance_id, remove_nodes_details, opts = {}) ⇒ Response
Click here to see an example of how to use remove_nodes API.
Removes list of nodes from a Big Data Service cluster
5662 5663 5664 5665 5666 5667 5668 5669 5670 5671 5672 5673 5674 5675 5676 5677 5678 5679 5680 5681 5682 5683 5684 5685 5686 5687 5688 5689 5690 5691 5692 5693 5694 5695 5696 5697 5698 5699 5700 5701 |
# File 'lib/oci/bds/bds_client.rb', line 5662 def remove_nodes(bds_instance_id, remove_nodes_details, opts = {}) logger.debug 'Calling operation BdsClient#remove_nodes.' if logger raise "Missing the required parameter 'bds_instance_id' when calling remove_nodes." if bds_instance_id.nil? raise "Missing the required parameter 'remove_nodes_details' when calling remove_nodes." if remove_nodes_details.nil? raise "Parameter value for 'bds_instance_id' must not be blank" if OCI::Internal::Util.blank_string?(bds_instance_id) path = '/bdsInstances/{bdsInstanceId}/actions/removeNodes'.sub('{bdsInstanceId}', bds_instance_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(remove_nodes_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'BdsClient#remove_nodes') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body ) end # rubocop:enable Metrics/BlockLength end |
#remove_resource_principal_configuration(bds_instance_id, resource_principal_configuration_id, remove_resource_principal_configuration_details, opts = {}) ⇒ Response
Click here to see an example of how to use remove_resource_principal_configuration API.
Delete the resource principal configuration for the cluster.
5728 5729 5730 5731 5732 5733 5734 5735 5736 5737 5738 5739 5740 5741 5742 5743 5744 5745 5746 5747 5748 5749 5750 5751 5752 5753 5754 5755 5756 5757 5758 5759 5760 5761 5762 5763 5764 5765 5766 5767 |
# File 'lib/oci/bds/bds_client.rb', line 5728 def remove_resource_principal_configuration(bds_instance_id, resource_principal_configuration_id, remove_resource_principal_configuration_details, opts = {}) logger.debug 'Calling operation BdsClient#remove_resource_principal_configuration.' if logger raise "Missing the required parameter 'bds_instance_id' when calling remove_resource_principal_configuration." if bds_instance_id.nil? raise "Missing the required parameter 'resource_principal_configuration_id' when calling remove_resource_principal_configuration." if resource_principal_configuration_id.nil? raise "Missing the required parameter 'remove_resource_principal_configuration_details' when calling remove_resource_principal_configuration." if remove_resource_principal_configuration_details.nil? raise "Parameter value for 'bds_instance_id' must not be blank" if OCI::Internal::Util.blank_string?(bds_instance_id) raise "Parameter value for 'resource_principal_configuration_id' must not be blank" if OCI::Internal::Util.blank_string?(resource_principal_configuration_id) path = '/bdsInstances/{bdsInstanceId}/resourcePrincipalConfigurations/{resourcePrincipalConfigurationId}/actions/remove'.sub('{bdsInstanceId}', bds_instance_id.to_s).sub('{resourcePrincipalConfigurationId}', resource_principal_configuration_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] # rubocop:enable Style/NegatedIf post_body = @api_client.object_to_http_body(remove_resource_principal_configuration_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'BdsClient#remove_resource_principal_configuration') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body ) end # rubocop:enable Metrics/BlockLength end |
#renew_bds_certificate(bds_instance_id, renew_bds_certificate_details, opts = {}) ⇒ Response
Click here to see an example of how to use renew_bds_certificate API.
Renewing certificates under BDS cluster nodes.
5799 5800 5801 5802 5803 5804 5805 5806 5807 5808 5809 5810 5811 5812 5813 5814 5815 5816 5817 5818 5819 5820 5821 5822 5823 5824 5825 5826 5827 5828 5829 5830 5831 5832 5833 5834 5835 5836 5837 5838 |
# File 'lib/oci/bds/bds_client.rb', line 5799 def renew_bds_certificate(bds_instance_id, renew_bds_certificate_details, opts = {}) logger.debug 'Calling operation BdsClient#renew_bds_certificate.' if logger raise "Missing the required parameter 'bds_instance_id' when calling renew_bds_certificate." if bds_instance_id.nil? raise "Missing the required parameter 'renew_bds_certificate_details' when calling renew_bds_certificate." if renew_bds_certificate_details.nil? raise "Parameter value for 'bds_instance_id' must not be blank" if OCI::Internal::Util.blank_string?(bds_instance_id) path = '/bdsInstances/{bdsInstanceId}/actions/renewBdsCertificate'.sub('{bdsInstanceId}', bds_instance_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(renew_bds_certificate_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'BdsClient#renew_bds_certificate') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body ) end # rubocop:enable Metrics/BlockLength end |
#renew_certificate(bds_instance_id, renew_certificate_details, opts = {}) ⇒ Response
Click here to see an example of how to use renew_certificate API.
Renewing TLS/SSL for various ODH services running on the BDS cluster.
5870 5871 5872 5873 5874 5875 5876 5877 5878 5879 5880 5881 5882 5883 5884 5885 5886 5887 5888 5889 5890 5891 5892 5893 5894 5895 5896 5897 5898 5899 5900 5901 5902 5903 5904 5905 5906 5907 5908 5909 |
# File 'lib/oci/bds/bds_client.rb', line 5870 def renew_certificate(bds_instance_id, renew_certificate_details, opts = {}) logger.debug 'Calling operation BdsClient#renew_certificate.' if logger raise "Missing the required parameter 'bds_instance_id' when calling renew_certificate." if bds_instance_id.nil? raise "Missing the required parameter 'renew_certificate_details' when calling renew_certificate." if renew_certificate_details.nil? raise "Parameter value for 'bds_instance_id' must not be blank" if OCI::Internal::Util.blank_string?(bds_instance_id) path = '/bdsInstances/{bdsInstanceId}/actions/renewOdhServiceCertificate'.sub('{bdsInstanceId}', bds_instance_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(renew_certificate_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'BdsClient#renew_certificate') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body ) end # rubocop:enable Metrics/BlockLength end |
#replace_node(bds_instance_id, replace_node_details, opts = {}) ⇒ Response
Click here to see an example of how to use replace_node API.
Replaces a node of a Big Data Service cluster from backup.
5941 5942 5943 5944 5945 5946 5947 5948 5949 5950 5951 5952 5953 5954 5955 5956 5957 5958 5959 5960 5961 5962 5963 5964 5965 5966 5967 5968 5969 5970 5971 5972 5973 5974 5975 5976 5977 5978 5979 5980 |
# File 'lib/oci/bds/bds_client.rb', line 5941 def replace_node(bds_instance_id, replace_node_details, opts = {}) logger.debug 'Calling operation BdsClient#replace_node.' if logger raise "Missing the required parameter 'bds_instance_id' when calling replace_node." if bds_instance_id.nil? raise "Missing the required parameter 'replace_node_details' when calling replace_node." if replace_node_details.nil? raise "Parameter value for 'bds_instance_id' must not be blank" if OCI::Internal::Util.blank_string?(bds_instance_id) path = '/bdsInstances/{bdsInstanceId}/actions/replaceNode'.sub('{bdsInstanceId}', bds_instance_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(replace_node_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'BdsClient#replace_node') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body ) end # rubocop:enable Metrics/BlockLength end |
#restart_node(bds_instance_id, restart_node_details, opts = {}) ⇒ Response
Click here to see an example of how to use restart_node API.
Restarts a single node of a Big Data Service cluster
6012 6013 6014 6015 6016 6017 6018 6019 6020 6021 6022 6023 6024 6025 6026 6027 6028 6029 6030 6031 6032 6033 6034 6035 6036 6037 6038 6039 6040 6041 6042 6043 6044 6045 6046 6047 6048 6049 6050 6051 |
# File 'lib/oci/bds/bds_client.rb', line 6012 def restart_node(bds_instance_id, restart_node_details, opts = {}) logger.debug 'Calling operation BdsClient#restart_node.' if logger raise "Missing the required parameter 'bds_instance_id' when calling restart_node." if bds_instance_id.nil? raise "Missing the required parameter 'restart_node_details' when calling restart_node." if restart_node_details.nil? raise "Parameter value for 'bds_instance_id' must not be blank" if OCI::Internal::Util.blank_string?(bds_instance_id) path = '/bdsInstances/{bdsInstanceId}/actions/restartNode'.sub('{bdsInstanceId}', bds_instance_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(restart_node_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'BdsClient#restart_node') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body ) end # rubocop:enable Metrics/BlockLength end |
#set_default_bds_certificate_configuration(bds_instance_id, bds_certificate_configuration_id, set_default_bds_certificate_configuration_details, opts = {}) ⇒ Response
Click here to see an example of how to use set_default_bds_certificate_configuration API.
Set specified BDS certificate configuration as default configuration.
6084 6085 6086 6087 6088 6089 6090 6091 6092 6093 6094 6095 6096 6097 6098 6099 6100 6101 6102 6103 6104 6105 6106 6107 6108 6109 6110 6111 6112 6113 6114 6115 6116 6117 6118 6119 6120 6121 6122 6123 6124 6125 |
# File 'lib/oci/bds/bds_client.rb', line 6084 def set_default_bds_certificate_configuration(bds_instance_id, bds_certificate_configuration_id, set_default_bds_certificate_configuration_details, opts = {}) logger.debug 'Calling operation BdsClient#set_default_bds_certificate_configuration.' if logger raise "Missing the required parameter 'bds_instance_id' when calling set_default_bds_certificate_configuration." if bds_instance_id.nil? raise "Missing the required parameter 'bds_certificate_configuration_id' when calling set_default_bds_certificate_configuration." if bds_certificate_configuration_id.nil? raise "Missing the required parameter 'set_default_bds_certificate_configuration_details' when calling set_default_bds_certificate_configuration." if set_default_bds_certificate_configuration_details.nil? raise "Parameter value for 'bds_instance_id' must not be blank" if OCI::Internal::Util.blank_string?(bds_instance_id) raise "Parameter value for 'bds_certificate_configuration_id' must not be blank" if OCI::Internal::Util.blank_string?(bds_certificate_configuration_id) path = '/bdsInstances/{bdsInstanceId}/bdsCertificateConfigurations/{bdsCertificateConfigurationId}/actions/setDefault'.sub('{bdsInstanceId}', bds_instance_id.to_s).sub('{bdsCertificateConfigurationId}', bds_certificate_configuration_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(set_default_bds_certificate_configuration_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'BdsClient#set_default_bds_certificate_configuration') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body ) end # rubocop:enable Metrics/BlockLength end |
#start_bds_instance(bds_instance_id, start_bds_instance_details, opts = {}) ⇒ Response
Click here to see an example of how to use start_bds_instance API.
Starts the BDS cluster that was stopped earlier.
6151 6152 6153 6154 6155 6156 6157 6158 6159 6160 6161 6162 6163 6164 6165 6166 6167 6168 6169 6170 6171 6172 6173 6174 6175 6176 6177 6178 6179 6180 6181 6182 6183 6184 6185 6186 6187 6188 |
# File 'lib/oci/bds/bds_client.rb', line 6151 def start_bds_instance(bds_instance_id, start_bds_instance_details, opts = {}) logger.debug 'Calling operation BdsClient#start_bds_instance.' if logger raise "Missing the required parameter 'bds_instance_id' when calling start_bds_instance." if bds_instance_id.nil? raise "Missing the required parameter 'start_bds_instance_details' when calling start_bds_instance." if start_bds_instance_details.nil? raise "Parameter value for 'bds_instance_id' must not be blank" if OCI::Internal::Util.blank_string?(bds_instance_id) path = '/bdsInstances/{bdsInstanceId}/actions/start'.sub('{bdsInstanceId}', bds_instance_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] # rubocop:enable Style/NegatedIf post_body = @api_client.object_to_http_body(start_bds_instance_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'BdsClient#start_bds_instance') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body ) end # rubocop:enable Metrics/BlockLength end |
#stop_bds_instance(bds_instance_id, stop_bds_instance_details, opts = {}) ⇒ Response
Click here to see an example of how to use stop_bds_instance API.
Stops the BDS cluster that can be started at later point of time.
6214 6215 6216 6217 6218 6219 6220 6221 6222 6223 6224 6225 6226 6227 6228 6229 6230 6231 6232 6233 6234 6235 6236 6237 6238 6239 6240 6241 6242 6243 6244 6245 6246 6247 6248 6249 6250 6251 |
# File 'lib/oci/bds/bds_client.rb', line 6214 def stop_bds_instance(bds_instance_id, stop_bds_instance_details, opts = {}) logger.debug 'Calling operation BdsClient#stop_bds_instance.' if logger raise "Missing the required parameter 'bds_instance_id' when calling stop_bds_instance." if bds_instance_id.nil? raise "Missing the required parameter 'stop_bds_instance_details' when calling stop_bds_instance." if stop_bds_instance_details.nil? raise "Parameter value for 'bds_instance_id' must not be blank" if OCI::Internal::Util.blank_string?(bds_instance_id) path = '/bdsInstances/{bdsInstanceId}/actions/stop'.sub('{bdsInstanceId}', bds_instance_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] # rubocop:enable Style/NegatedIf post_body = @api_client.object_to_http_body(stop_bds_instance_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'BdsClient#stop_bds_instance') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body ) end # rubocop:enable Metrics/BlockLength end |
#test_bds_metastore_configuration(bds_instance_id, metastore_config_id, test_bds_metastore_configuration_details, opts = {}) ⇒ Response
Click here to see an example of how to use test_bds_metastore_configuration API.
Test specified metastore configuration.
6278 6279 6280 6281 6282 6283 6284 6285 6286 6287 6288 6289 6290 6291 6292 6293 6294 6295 6296 6297 6298 6299 6300 6301 6302 6303 6304 6305 6306 6307 6308 6309 6310 6311 6312 6313 6314 6315 6316 6317 |
# File 'lib/oci/bds/bds_client.rb', line 6278 def (bds_instance_id, , , opts = {}) logger.debug 'Calling operation BdsClient#test_bds_metastore_configuration.' if logger raise "Missing the required parameter 'bds_instance_id' when calling test_bds_metastore_configuration." if bds_instance_id.nil? raise "Missing the required parameter 'metastore_config_id' when calling test_bds_metastore_configuration." if .nil? raise "Missing the required parameter 'test_bds_metastore_configuration_details' when calling test_bds_metastore_configuration." if .nil? raise "Parameter value for 'bds_instance_id' must not be blank" if OCI::Internal::Util.blank_string?(bds_instance_id) raise "Parameter value for 'metastore_config_id' must not be blank" if OCI::Internal::Util.blank_string?() path = '/bdsInstances/{bdsInstanceId}/metastoreConfigs/{metastoreConfigId}/actions/test'.sub('{bdsInstanceId}', bds_instance_id.to_s).sub('{metastoreConfigId}', .to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] # rubocop:enable Style/NegatedIf post_body = @api_client.object_to_http_body() # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'BdsClient#test_bds_metastore_configuration') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body ) end # rubocop:enable Metrics/BlockLength end |
#test_bds_object_storage_connection(bds_instance_id, api_key_id, test_bds_object_storage_connection_details, opts = {}) ⇒ Response
Click here to see an example of how to use test_bds_object_storage_connection API.
Test access to specified Object Storage bucket using the API key.
6337 6338 6339 6340 6341 6342 6343 6344 6345 6346 6347 6348 6349 6350 6351 6352 6353 6354 6355 6356 6357 6358 6359 6360 6361 6362 6363 6364 6365 6366 6367 6368 6369 6370 6371 6372 6373 6374 6375 |
# File 'lib/oci/bds/bds_client.rb', line 6337 def test_bds_object_storage_connection(bds_instance_id, api_key_id, test_bds_object_storage_connection_details, opts = {}) logger.debug 'Calling operation BdsClient#test_bds_object_storage_connection.' if logger raise "Missing the required parameter 'bds_instance_id' when calling test_bds_object_storage_connection." if bds_instance_id.nil? raise "Missing the required parameter 'api_key_id' when calling test_bds_object_storage_connection." if api_key_id.nil? raise "Missing the required parameter 'test_bds_object_storage_connection_details' when calling test_bds_object_storage_connection." if test_bds_object_storage_connection_details.nil? raise "Parameter value for 'bds_instance_id' must not be blank" if OCI::Internal::Util.blank_string?(bds_instance_id) raise "Parameter value for 'api_key_id' must not be blank" if OCI::Internal::Util.blank_string?(api_key_id) path = '/bdsInstances/{bdsInstanceId}/apiKeys/{apiKeyId}/actions/testObjectStorageConnection'.sub('{bdsInstanceId}', bds_instance_id.to_s).sub('{apiKeyId}', api_key_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf post_body = @api_client.object_to_http_body(test_bds_object_storage_connection_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'BdsClient#test_bds_object_storage_connection') do @api_client.call_api( :POST, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body ) end # rubocop:enable Metrics/BlockLength end |
#update_auto_scaling_configuration(bds_instance_id, auto_scaling_configuration_id, update_auto_scaling_configuration_details, opts = {}) ⇒ Response
Click here to see an example of how to use update_auto_scaling_configuration API.
Updates fields on an autoscale configuration, including the name, the threshold value, and whether the autoscale configuration is enabled.
6408 6409 6410 6411 6412 6413 6414 6415 6416 6417 6418 6419 6420 6421 6422 6423 6424 6425 6426 6427 6428 6429 6430 6431 6432 6433 6434 6435 6436 6437 6438 6439 6440 6441 6442 6443 6444 6445 6446 6447 6448 6449 |
# File 'lib/oci/bds/bds_client.rb', line 6408 def update_auto_scaling_configuration(bds_instance_id, auto_scaling_configuration_id, update_auto_scaling_configuration_details, opts = {}) logger.debug 'Calling operation BdsClient#update_auto_scaling_configuration.' if logger raise "Missing the required parameter 'bds_instance_id' when calling update_auto_scaling_configuration." if bds_instance_id.nil? raise "Missing the required parameter 'auto_scaling_configuration_id' when calling update_auto_scaling_configuration." if auto_scaling_configuration_id.nil? raise "Missing the required parameter 'update_auto_scaling_configuration_details' when calling update_auto_scaling_configuration." if update_auto_scaling_configuration_details.nil? raise "Parameter value for 'bds_instance_id' must not be blank" if OCI::Internal::Util.blank_string?(bds_instance_id) raise "Parameter value for 'auto_scaling_configuration_id' must not be blank" if OCI::Internal::Util.blank_string?(auto_scaling_configuration_id) path = '/bdsInstances/{bdsInstanceId}/autoScalingConfiguration/{autoScalingConfigurationId}'.sub('{bdsInstanceId}', bds_instance_id.to_s).sub('{autoScalingConfigurationId}', auto_scaling_configuration_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(update_auto_scaling_configuration_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'BdsClient#update_auto_scaling_configuration') do @api_client.call_api( :PUT, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body ) end # rubocop:enable Metrics/BlockLength end |
#update_bds_instance(bds_instance_id, update_bds_instance_details, opts = {}) ⇒ Response
Click here to see an example of how to use update_bds_instance API.
Updates the Big Data Service cluster identified by the given ID.
6474 6475 6476 6477 6478 6479 6480 6481 6482 6483 6484 6485 6486 6487 6488 6489 6490 6491 6492 6493 6494 6495 6496 6497 6498 6499 6500 6501 6502 6503 6504 6505 6506 6507 6508 6509 6510 6511 |
# File 'lib/oci/bds/bds_client.rb', line 6474 def update_bds_instance(bds_instance_id, update_bds_instance_details, opts = {}) logger.debug 'Calling operation BdsClient#update_bds_instance.' if logger raise "Missing the required parameter 'bds_instance_id' when calling update_bds_instance." if bds_instance_id.nil? raise "Missing the required parameter 'update_bds_instance_details' when calling update_bds_instance." if update_bds_instance_details.nil? raise "Parameter value for 'bds_instance_id' must not be blank" if OCI::Internal::Util.blank_string?(bds_instance_id) path = '/bdsInstances/{bdsInstanceId}'.sub('{bdsInstanceId}', bds_instance_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf post_body = @api_client.object_to_http_body(update_bds_instance_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'BdsClient#update_bds_instance') do @api_client.call_api( :PUT, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body ) end # rubocop:enable Metrics/BlockLength end |
#update_bds_metastore_configuration(bds_instance_id, metastore_config_id, update_bds_metastore_configuration_details, opts = {}) ⇒ Response
Click here to see an example of how to use update_bds_metastore_configuration API.
Update the BDS metastore configuration represented by the provided ID.
6537 6538 6539 6540 6541 6542 6543 6544 6545 6546 6547 6548 6549 6550 6551 6552 6553 6554 6555 6556 6557 6558 6559 6560 6561 6562 6563 6564 6565 6566 6567 6568 6569 6570 6571 6572 6573 6574 6575 6576 |
# File 'lib/oci/bds/bds_client.rb', line 6537 def (bds_instance_id, , , opts = {}) logger.debug 'Calling operation BdsClient#update_bds_metastore_configuration.' if logger raise "Missing the required parameter 'bds_instance_id' when calling update_bds_metastore_configuration." if bds_instance_id.nil? raise "Missing the required parameter 'metastore_config_id' when calling update_bds_metastore_configuration." if .nil? raise "Missing the required parameter 'update_bds_metastore_configuration_details' when calling update_bds_metastore_configuration." if .nil? raise "Parameter value for 'bds_instance_id' must not be blank" if OCI::Internal::Util.blank_string?(bds_instance_id) raise "Parameter value for 'metastore_config_id' must not be blank" if OCI::Internal::Util.blank_string?() path = '/bdsInstances/{bdsInstanceId}/metastoreConfigs/{metastoreConfigId}'.sub('{bdsInstanceId}', bds_instance_id.to_s).sub('{metastoreConfigId}', .to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] # rubocop:enable Style/NegatedIf post_body = @api_client.object_to_http_body() # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'BdsClient#update_bds_metastore_configuration') do @api_client.call_api( :PUT, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body ) end # rubocop:enable Metrics/BlockLength end |
#update_identity_configuration(bds_instance_id, identity_configuration_id, update_identity_configuration_details, opts = {}) ⇒ Response
Click here to see an example of how to use update_identity_configuration API.
Update the IAM user sync and UPST configuration for the specified identity configuration
6608 6609 6610 6611 6612 6613 6614 6615 6616 6617 6618 6619 6620 6621 6622 6623 6624 6625 6626 6627 6628 6629 6630 6631 6632 6633 6634 6635 6636 6637 6638 6639 6640 6641 6642 6643 6644 6645 6646 6647 6648 6649 |
# File 'lib/oci/bds/bds_client.rb', line 6608 def update_identity_configuration(bds_instance_id, identity_configuration_id, update_identity_configuration_details, opts = {}) logger.debug 'Calling operation BdsClient#update_identity_configuration.' if logger raise "Missing the required parameter 'bds_instance_id' when calling update_identity_configuration." if bds_instance_id.nil? raise "Missing the required parameter 'identity_configuration_id' when calling update_identity_configuration." if identity_configuration_id.nil? raise "Missing the required parameter 'update_identity_configuration_details' when calling update_identity_configuration." if update_identity_configuration_details.nil? raise "Parameter value for 'bds_instance_id' must not be blank" if OCI::Internal::Util.blank_string?(bds_instance_id) raise "Parameter value for 'identity_configuration_id' must not be blank" if OCI::Internal::Util.blank_string?(identity_configuration_id) path = '/bdsInstances/{bdsInstanceId}/identityConfigurations/{identityConfigurationId}'.sub('{bdsInstanceId}', bds_instance_id.to_s).sub('{identityConfigurationId}', identity_configuration_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(update_identity_configuration_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'BdsClient#update_identity_configuration') do @api_client.call_api( :PUT, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body ) end # rubocop:enable Metrics/BlockLength end |
#update_node_backup_configuration(bds_instance_id, node_backup_configuration_id, update_node_backup_configuration_details, opts = {}) ⇒ Response
Click here to see an example of how to use update_node_backup_configuration API.
Updates fields on NodeBackupConfiguration, including the name, the schedule.
6682 6683 6684 6685 6686 6687 6688 6689 6690 6691 6692 6693 6694 6695 6696 6697 6698 6699 6700 6701 6702 6703 6704 6705 6706 6707 6708 6709 6710 6711 6712 6713 6714 6715 6716 6717 6718 6719 6720 6721 6722 6723 |
# File 'lib/oci/bds/bds_client.rb', line 6682 def update_node_backup_configuration(bds_instance_id, node_backup_configuration_id, update_node_backup_configuration_details, opts = {}) logger.debug 'Calling operation BdsClient#update_node_backup_configuration.' if logger raise "Missing the required parameter 'bds_instance_id' when calling update_node_backup_configuration." if bds_instance_id.nil? raise "Missing the required parameter 'node_backup_configuration_id' when calling update_node_backup_configuration." if node_backup_configuration_id.nil? raise "Missing the required parameter 'update_node_backup_configuration_details' when calling update_node_backup_configuration." if update_node_backup_configuration_details.nil? raise "Parameter value for 'bds_instance_id' must not be blank" if OCI::Internal::Util.blank_string?(bds_instance_id) raise "Parameter value for 'node_backup_configuration_id' must not be blank" if OCI::Internal::Util.blank_string?(node_backup_configuration_id) path = '/bdsInstances/{bdsInstanceId}/nodeBackupConfigurations/{nodeBackupConfigurationId}'.sub('{bdsInstanceId}', bds_instance_id.to_s).sub('{nodeBackupConfigurationId}', node_backup_configuration_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(update_node_backup_configuration_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'BdsClient#update_node_backup_configuration') do @api_client.call_api( :PUT, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body ) end # rubocop:enable Metrics/BlockLength end |
#update_node_replace_configuration(bds_instance_id, node_replace_configuration_id, update_node_replace_configuration_details, opts = {}) ⇒ Response
Click here to see an example of how to use update_node_replace_configuration API.
Updates fields on nodeReplaceConfigurations, including the name, the schedule
6756 6757 6758 6759 6760 6761 6762 6763 6764 6765 6766 6767 6768 6769 6770 6771 6772 6773 6774 6775 6776 6777 6778 6779 6780 6781 6782 6783 6784 6785 6786 6787 6788 6789 6790 6791 6792 6793 6794 6795 6796 6797 |
# File 'lib/oci/bds/bds_client.rb', line 6756 def update_node_replace_configuration(bds_instance_id, node_replace_configuration_id, update_node_replace_configuration_details, opts = {}) logger.debug 'Calling operation BdsClient#update_node_replace_configuration.' if logger raise "Missing the required parameter 'bds_instance_id' when calling update_node_replace_configuration." if bds_instance_id.nil? raise "Missing the required parameter 'node_replace_configuration_id' when calling update_node_replace_configuration." if node_replace_configuration_id.nil? raise "Missing the required parameter 'update_node_replace_configuration_details' when calling update_node_replace_configuration." if update_node_replace_configuration_details.nil? raise "Parameter value for 'bds_instance_id' must not be blank" if OCI::Internal::Util.blank_string?(bds_instance_id) raise "Parameter value for 'node_replace_configuration_id' must not be blank" if OCI::Internal::Util.blank_string?(node_replace_configuration_id) path = '/bdsInstances/{bdsInstanceId}/nodeReplaceConfigurations/{nodeReplaceConfigurationId}'.sub('{bdsInstanceId}', bds_instance_id.to_s).sub('{nodeReplaceConfigurationId}', node_replace_configuration_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(update_node_replace_configuration_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'BdsClient#update_node_replace_configuration') do @api_client.call_api( :PUT, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body ) end # rubocop:enable Metrics/BlockLength end |
#update_resource_principal_configuration(bds_instance_id, resource_principal_configuration_id, update_resource_principal_configuration_details, opts = {}) ⇒ Response
Click here to see an example of how to use update_resource_principal_configuration API.
Updates fields on resourcePrincipalConfiguration, including the name, the lifeSpanInHours of the token.
6830 6831 6832 6833 6834 6835 6836 6837 6838 6839 6840 6841 6842 6843 6844 6845 6846 6847 6848 6849 6850 6851 6852 6853 6854 6855 6856 6857 6858 6859 6860 6861 6862 6863 6864 6865 6866 6867 6868 6869 6870 6871 |
# File 'lib/oci/bds/bds_client.rb', line 6830 def update_resource_principal_configuration(bds_instance_id, resource_principal_configuration_id, update_resource_principal_configuration_details, opts = {}) logger.debug 'Calling operation BdsClient#update_resource_principal_configuration.' if logger raise "Missing the required parameter 'bds_instance_id' when calling update_resource_principal_configuration." if bds_instance_id.nil? raise "Missing the required parameter 'resource_principal_configuration_id' when calling update_resource_principal_configuration." if resource_principal_configuration_id.nil? raise "Missing the required parameter 'update_resource_principal_configuration_details' when calling update_resource_principal_configuration." if update_resource_principal_configuration_details.nil? raise "Parameter value for 'bds_instance_id' must not be blank" if OCI::Internal::Util.blank_string?(bds_instance_id) raise "Parameter value for 'resource_principal_configuration_id' must not be blank" if OCI::Internal::Util.blank_string?(resource_principal_configuration_id) path = '/bdsInstances/{bdsInstanceId}/resourcePrincipalConfigurations/{resourcePrincipalConfigurationId}'.sub('{bdsInstanceId}', bds_instance_id.to_s).sub('{resourcePrincipalConfigurationId}', resource_principal_configuration_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = 'application/json' header_params[:'content-type'] = 'application/json' header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id] header_params[:'if-match'] = opts[:if_match] if opts[:if_match] header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token] # rubocop:enable Style/NegatedIf header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token post_body = @api_client.object_to_http_body(update_resource_principal_configuration_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'BdsClient#update_resource_principal_configuration') do @api_client.call_api( :PUT, path, endpoint, header_params: header_params, query_params: query_params, operation_signing_strategy: operation_signing_strategy, body: post_body ) end # rubocop:enable Metrics/BlockLength end |