Class: OCI::Jms::JavaManagementServiceClient
- Inherits:
-
Object
- Object
- OCI::Jms::JavaManagementServiceClient
- Defined in:
- lib/oci/jms/java_management_service_client.rb
Overview
The APIs for the Fleet Management feature of Java Management Service to monitor and manage the usage of Java in your enterprise. Use these APIs to manage fleets, configure managed instances to report to fleets, and gain insights into the Java workloads running on these instances by carrying out basic and advanced features.
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
-
#add_fleet_installation_sites(fleet_id, add_fleet_installation_sites_details, opts = {}) ⇒ Response
Add Java installation sites in a Fleet.
-
#cancel_work_request(work_request_id, opts = {}) ⇒ Response
Deletes the work request specified by an identifier.
-
#change_fleet_compartment(fleet_id, change_fleet_compartment_details, opts = {}) ⇒ Response
Move a specified Fleet into the compartment identified in the POST form.
-
#create_blocklist(fleet_id, create_blocklist_details, opts = {}) ⇒ Response
Add a new record to the fleet blocklist.
-
#create_drs_file(fleet_id, create_drs_file_details, opts = {}) ⇒ Response
Request to perform validation of the DRS file and create the file to the Object Storage.
-
#create_fleet(create_fleet_details, opts = {}) ⇒ Response
Create a new Fleet using the information provided.
-
#create_jms_plugin(create_jms_plugin_details, opts = {}) ⇒ Response
Registers an agent's JmsPlugin, optionally attaching to an existing fleet of the tenancy.
-
#create_task_schedule(create_task_schedule_details, opts = {}) ⇒ Response
Create a task schedule using the information provided.
-
#delete_blocklist(fleet_id, blocklist_key, opts = {}) ⇒ Response
Deletes the blocklist record specified by an identifier.
-
#delete_crypto_analysis_result(fleet_id, crypto_analysis_result_id, opts = {}) ⇒ Response
Deletes the metadata for the result of a Crypto event analysis.
-
#delete_drs_file(fleet_id, drs_file_key, opts = {}) ⇒ Response
Request to delete the DRS file from the Object Storage.
-
#delete_fleet(fleet_id, opts = {}) ⇒ Response
Deletes the Fleet specified by an identifier.
-
#delete_java_migration_analysis_result(fleet_id, java_migration_analysis_result_id, opts = {}) ⇒ Response
Delete the Java migration analysis result.
-
#delete_jms_plugin(jms_plugin_id, opts = {}) ⇒ Response
Deletes a JmsPlugin.
-
#delete_performance_tuning_analysis_result(fleet_id, performance_tuning_analysis_result_id, opts = {}) ⇒ Response
Deletes only the metadata of the Performance Tuning Analysis result, but the file remains in the object storage.
-
#delete_task_schedule(task_schedule_id, opts = {}) ⇒ Response
Deletes the task schedule record specified by an identifier.
-
#disable_drs(fleet_id, disable_drs_details, opts = {}) ⇒ Response
Request to disable the DRS in the selected target in the Fleet.
-
#enable_drs(fleet_id, enable_drs_details, opts = {}) ⇒ Response
Request to enable the DRS in the selected target in the Fleet.
-
#generate_agent_deploy_script(fleet_id, generate_agent_deploy_script_details, opts = {}, &block) ⇒ Response
Generates Agent Deploy Script for Fleet using the information provided.
-
#generate_agent_installer_configuration(generate_agent_installer_configuration_details, opts = {}, &block) ⇒ Response
Generates the agent installer configuration using the information provided.
-
#generate_load_pipeline_script(fleet_id, generate_load_pipeline_script_details, opts = {}, &block) ⇒ Response
Generates Load Pipeline Script.
-
#get_crypto_analysis_result(fleet_id, crypto_analysis_result_id, opts = {}) ⇒ Response
Retrieve the metadata for the result of a Crypto event analysis.
-
#get_drs_file(fleet_id, drs_file_key, opts = {}) ⇒ Response
Get the detail about the created DRS file in the Fleet.
-
#get_export_setting(fleet_id, opts = {}) ⇒ Response
Returns export setting for the specified fleet.
-
#get_export_status(fleet_id, opts = {}) ⇒ Response
Returns last export status for the specified fleet.
-
#get_fleet(fleet_id, opts = {}) ⇒ Response
Retrieve a Fleet with the specified identifier.
-
#get_fleet_advanced_feature_configuration(fleet_id, opts = {}) ⇒ Response
Returns Fleet level advanced feature configuration.
-
#get_fleet_agent_configuration(fleet_id, opts = {}) ⇒ Response
Retrieve a Fleet Agent Configuration for the specified Fleet.
-
#get_java_family(family_version, opts = {}) ⇒ Response
Returns metadata associated with a specific Java release family.
-
#get_java_migration_analysis_result(fleet_id, java_migration_analysis_result_id, opts = {}) ⇒ Response
Retrieve Java Migration Analysis result.
-
#get_java_release(release_version, opts = {}) ⇒ Response
Returns detail of a Java release.
-
#get_jms_plugin(jms_plugin_id, opts = {}) ⇒ Response
Returns the JmsPlugin.
-
#get_performance_tuning_analysis_result(fleet_id, performance_tuning_analysis_result_id, opts = {}) ⇒ Response
Retrieve metadata of the Performance Tuning Analysis result.
-
#get_task_schedule(task_schedule_id, opts = {}) ⇒ Response
Returns a task schedule.
-
#get_work_request(work_request_id, opts = {}) ⇒ Response
Retrieve the details of a work request with the specified ID.
-
#initialize(config: nil, region: nil, endpoint: nil, signer: nil, proxy_settings: nil, retry_config: nil) ⇒ JavaManagementServiceClient
constructor
Creates a new JavaManagementServiceClient.
-
#list_agent_installers(opts = {}) ⇒ Response
Returns a list of the agent installer information.
-
#list_announcements(opts = {}) ⇒ Response
Return a list of AnnouncementSummary items.
-
#list_blocklists(fleet_id, opts = {}) ⇒ Response
Returns a list of blocklist entities contained by a fleet.
-
#list_containers(fleet_id, opts = {}) ⇒ Response
List containers in a fleet filtered by query parameters.
-
#list_crypto_analysis_results(fleet_id, opts = {}) ⇒ Response
Lists the results of a Crypto event analysis.
-
#list_drs_files(fleet_id, opts = {}) ⇒ Response
List the details about the created DRS files in the Fleet.
-
#list_fleet_diagnoses(fleet_id, opts = {}) ⇒ Response
List potential diagnoses that would put a fleet into FAILED or NEEDS_ATTENTION lifecycle state.
-
#list_fleet_errors(opts = {}) ⇒ Response
Returns a list of fleet errors that describe all detected errors.
-
#list_fleets(opts = {}) ⇒ Response
Returns a list of all the Fleets contained by a compartment.
-
#list_installation_sites(fleet_id, opts = {}) ⇒ Response
List Java installation sites in a Fleet filtered by query parameters.
-
#list_java_families(opts = {}) ⇒ Response
Returns a list of the Java release family information.
-
#list_java_migration_analysis_results(fleet_id, opts = {}) ⇒ Response
Lists the results of a Java migration analysis.
-
#list_java_releases(opts = {}) ⇒ Response
Returns a list of Java releases.
-
#list_jms_plugins(opts = {}) ⇒ Response
Lists the JmsPlugins.
-
#list_jre_usage(opts = {}) ⇒ Response
List Java Runtime usage in a specified host filtered by query parameters.
-
#list_library_application_usage(fleet_id, library_key, opts = {}) ⇒ Response
List applications where a library has been detected filtered by query parameters.
-
#list_library_managed_instance_usage(fleet_id, library_key, opts = {}) ⇒ Response
List managed instances where a library has been detected, filtered by query parameters.
-
#list_performance_tuning_analysis_results(fleet_id, opts = {}) ⇒ Response
List Performance Tuning Analysis results.
-
#list_plugin_errors(opts = {}) ⇒ Response
Returns a list of plugin errors that describe all detected errors.
-
#list_task_schedules(opts = {}) ⇒ Response
Returns a list of task schedules.
-
#list_uncorrelated_package_application_usage(fleet_id, package_name, opts = {}) ⇒ Response
List applications where an uncorrelated package has been detected, filtered by query parameters.
-
#list_uncorrelated_package_managed_instance_usage(fleet_id, package_name, opts = {}) ⇒ Response
List managed instances where an uncorrelated package has been detected, filtered by query parameters.
-
#list_uncorrelated_package_usage(fleet_id, opts = {}) ⇒ Response
List uncorrelated package summaries in a fleet, filtered by query parameters.
-
#list_work_items(work_request_id, opts = {}) ⇒ Response
Retrieve a paginated list of work items for a specified work request.
-
#list_work_request_errors(work_request_id, opts = {}) ⇒ Response
Retrieve a (paginated) list of errors for a specified work request.
-
#list_work_request_logs(work_request_id, opts = {}) ⇒ Response
Retrieve a paginated list of logs for a specified work request.
-
#list_work_requests(opts = {}) ⇒ Response
List the work requests in a compartment.
-
#logger ⇒ Logger
The logger for this client.
-
#remove_fleet_installation_sites(fleet_id, remove_fleet_installation_sites_details, opts = {}) ⇒ Response
Remove Java installation sites in a Fleet.
-
#request_crypto_analyses(fleet_id, request_crypto_analyses_details, opts = {}) ⇒ Response
Request to perform crypto analysis on one or more selected targets in the Fleet.
-
#request_deployed_application_migration_analyses(fleet_id, request_deployed_application_migration_analyses_details, opts = {}) ⇒ Response
Request to perform a deployed Java migration analyses.
-
#request_java_migration_analyses(fleet_id, request_java_migration_analyses_details, opts = {}) ⇒ Response
Request to perform a Java migration analysis.
-
#request_jfr_recordings(fleet_id, request_jfr_recordings_details, opts = {}) ⇒ Response
Request to collect the JFR recordings on the selected target in the Fleet.
-
#request_performance_tuning_analyses(fleet_id, request_performance_tuning_analyses_details, opts = {}) ⇒ Response
Request to perform performance tuning analyses.
-
#scan_java_server_usage(fleet_id, scan_java_server_usage_details, opts = {}) ⇒ Response
Scan Java Server usage in a fleet.
-
#scan_library_usage(fleet_id, scan_library_usage_details, opts = {}) ⇒ Response
Scan library usage in a fleet.
-
#summarize_application_installation_usage(fleet_id, opts = {}) ⇒ Response
Summarizes the application installation usage in a Fleet filtered by query parameters.
-
#summarize_application_usage(fleet_id, opts = {}) ⇒ Response
List application usage in a Fleet filtered by query parameters.
-
#summarize_deployed_application_installation_usage(fleet_id, opts = {}) ⇒ Response
Summarize installation usage of an application deployed on Java servers in a fleet filtered by query parameters.
-
#summarize_deployed_application_usage(fleet_id, opts = {}) ⇒ Response
List of deployed applications in a Fleet filtered by query parameters.
-
#summarize_fleet_errors(opts = {}) ⇒ Response
Returns a high level summary of FleetErrors.
-
#summarize_installation_usage(fleet_id, opts = {}) ⇒ Response
List Java installation usage in a Fleet filtered by query parameters.
-
#summarize_java_server_instance_usage(fleet_id, opts = {}) ⇒ Response
List Java Server instances in a fleet filtered by query parameters.
-
#summarize_java_server_usage(fleet_id, opts = {}) ⇒ Response
List of Java servers in a Fleet filtered by query parameters.
-
#summarize_jre_usage(fleet_id, opts = {}) ⇒ Response
List Java Runtime usage in a specified Fleet filtered by query parameters.
-
#summarize_library_inventory(fleet_id, opts = {}) ⇒ Response
Retrieve the inventory of libraries in the specified fleet: Statically detected library count, Dynamically detected library count, Uncorrelated package count, High, Medium and Low severity library count.
-
#summarize_library_usage(fleet_id, opts = {}) ⇒ Response
List libraries in a fleet filtered by query parameters.
-
#summarize_managed_instance_usage(fleet_id, opts = {}) ⇒ Response
List managed instance usage in a Fleet filtered by query parameters.
-
#summarize_plugin_errors(opts = {}) ⇒ Response
Returns a high level summary of PluginErrors.
-
#summarize_resource_inventory(opts = {}) ⇒ Response
Retrieve the inventory of JMS resources in the specified compartment: a list of the number of active fleets, managed instances, Java Runtimes, Java installations, and applications.
-
#update_drs_file(fleet_id, update_drs_file_details, drs_file_key, opts = {}) ⇒ Response
Request to perform validation of the DRS file and update the existing file in the Object Storage.
-
#update_export_setting(fleet_id, update_export_setting_details, opts = {}) ⇒ Response
Updates existing export setting for the specified fleet.
-
#update_fleet(fleet_id, update_fleet_details, opts = {}) ⇒ Response
Update the Fleet specified by an identifier.
-
#update_fleet_advanced_feature_configuration(fleet_id, update_fleet_advanced_feature_configuration_details, opts = {}) ⇒ Response
Update advanced feature configurations for the Fleet.
-
#update_fleet_agent_configuration(fleet_id, update_fleet_agent_configuration_details, opts = {}) ⇒ Response
Update the Fleet Agent Configuration for the specified Fleet.
-
#update_jms_plugin(jms_plugin_id, update_jms_plugin_details, opts = {}) ⇒ Response
Updates the Fleet of a JmsPlugin.
-
#update_task_schedule(update_task_schedule_details, task_schedule_id, opts = {}) ⇒ Response
Update the task schedule for the given task type.
Constructor Details
#initialize(config: nil, region: nil, endpoint: nil, signer: nil, proxy_settings: nil, retry_config: nil) ⇒ JavaManagementServiceClient
Creates a new JavaManagementServiceClient. 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/jms/java_management_service_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 + '/20210610' else region ||= config.region region ||= signer.region if signer.respond_to?(:region) self.region = region end logger.info "JavaManagementServiceClient 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/jms/java_management_service_client.rb', line 15 def api_client @api_client end |
#endpoint ⇒ String (readonly)
Fully qualified endpoint URL
19 20 21 |
# File 'lib/oci/jms/java_management_service_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/jms/java_management_service_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/jms/java_management_service_client.rb', line 25 def retry_config @retry_config end |
Instance Method Details
#add_fleet_installation_sites(fleet_id, add_fleet_installation_sites_details, opts = {}) ⇒ Response
Click here to see an example of how to use add_fleet_installation_sites API.
Add Java installation sites in a Fleet.
124 125 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 |
# File 'lib/oci/jms/java_management_service_client.rb', line 124 def add_fleet_installation_sites(fleet_id, add_fleet_installation_sites_details, opts = {}) logger.debug 'Calling operation JavaManagementServiceClient#add_fleet_installation_sites.' if logger raise "Missing the required parameter 'fleet_id' when calling add_fleet_installation_sites." if fleet_id.nil? raise "Missing the required parameter 'add_fleet_installation_sites_details' when calling add_fleet_installation_sites." if add_fleet_installation_sites_details.nil? raise "Parameter value for 'fleet_id' must not be blank" if OCI::Internal::Util.blank_string?(fleet_id) path = '/fleets/{fleetId}/actions/addInstallationSites'.sub('{fleetId}', fleet_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-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(add_fleet_installation_sites_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'JavaManagementServiceClient#add_fleet_installation_sites') 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 |
#cancel_work_request(work_request_id, opts = {}) ⇒ Response
Click here to see an example of how to use cancel_work_request API.
Deletes the work request specified by an identifier.
187 188 189 190 191 192 193 194 195 196 197 198 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 |
# File 'lib/oci/jms/java_management_service_client.rb', line 187 def cancel_work_request(work_request_id, opts = {}) logger.debug 'Calling operation JavaManagementServiceClient#cancel_work_request.' if logger raise "Missing the required parameter 'work_request_id' when calling cancel_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] 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: 'JavaManagementServiceClient#cancel_work_request') 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 |
#change_fleet_compartment(fleet_id, change_fleet_compartment_details, opts = {}) ⇒ Response
Click here to see an example of how to use change_fleet_compartment API.
Move a specified Fleet into the compartment identified in the POST form. When provided, If-Match is checked against ETag values of the resource.
255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 |
# File 'lib/oci/jms/java_management_service_client.rb', line 255 def change_fleet_compartment(fleet_id, change_fleet_compartment_details, opts = {}) logger.debug 'Calling operation JavaManagementServiceClient#change_fleet_compartment.' if logger raise "Missing the required parameter 'fleet_id' when calling change_fleet_compartment." if fleet_id.nil? raise "Missing the required parameter 'change_fleet_compartment_details' when calling change_fleet_compartment." if change_fleet_compartment_details.nil? raise "Parameter value for 'fleet_id' must not be blank" if OCI::Internal::Util.blank_string?(fleet_id) path = '/fleets/{fleetId}/actions/changeCompartment'.sub('{fleetId}', fleet_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-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(change_fleet_compartment_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'JavaManagementServiceClient#change_fleet_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 |
#create_blocklist(fleet_id, create_blocklist_details, opts = {}) ⇒ Response
Click here to see an example of how to use create_blocklist API.
Add a new record to the fleet blocklist.
320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 |
# File 'lib/oci/jms/java_management_service_client.rb', line 320 def create_blocklist(fleet_id, create_blocklist_details, opts = {}) logger.debug 'Calling operation JavaManagementServiceClient#create_blocklist.' if logger raise "Missing the required parameter 'fleet_id' when calling create_blocklist." if fleet_id.nil? raise "Missing the required parameter 'create_blocklist_details' when calling create_blocklist." if create_blocklist_details.nil? raise "Parameter value for 'fleet_id' must not be blank" if OCI::Internal::Util.blank_string?(fleet_id) path = '/fleets/{fleetId}/blocklists'.sub('{fleetId}', fleet_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_blocklist_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'JavaManagementServiceClient#create_blocklist') 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::Jms::Models::Blocklist' ) end # rubocop:enable Metrics/BlockLength end |
#create_drs_file(fleet_id, create_drs_file_details, opts = {}) ⇒ Response
Click here to see an example of how to use create_drs_file API.
Request to perform validation of the DRS file and create the file to the Object Storage.
391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 |
# File 'lib/oci/jms/java_management_service_client.rb', line 391 def create_drs_file(fleet_id, create_drs_file_details, opts = {}) logger.debug 'Calling operation JavaManagementServiceClient#create_drs_file.' if logger raise "Missing the required parameter 'fleet_id' when calling create_drs_file." if fleet_id.nil? raise "Missing the required parameter 'create_drs_file_details' when calling create_drs_file." if create_drs_file_details.nil? raise "Parameter value for 'fleet_id' must not be blank" if OCI::Internal::Util.blank_string?(fleet_id) path = '/fleets/{fleetId}/drsFiles'.sub('{fleetId}', fleet_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(create_drs_file_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'JavaManagementServiceClient#create_drs_file') 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_fleet(create_fleet_details, opts = {}) ⇒ Response
Click here to see an example of how to use create_fleet API.
Create a new Fleet using the information provided.
inventoryLog is now a required parameter for CreateFleet API. Update existing applications using this API before July 15, 2022 to ensure the applications continue to work. See the Service Change Notice for more details. Migrate existing fleets using the UpdateFleet API to set the inventoryLog parameter.
461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 |
# File 'lib/oci/jms/java_management_service_client.rb', line 461 def create_fleet(create_fleet_details, opts = {}) logger.debug 'Calling operation JavaManagementServiceClient#create_fleet.' if logger raise "Missing the required parameter 'create_fleet_details' when calling create_fleet." if create_fleet_details.nil? path = '/fleets' 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_fleet_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'JavaManagementServiceClient#create_fleet') 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_jms_plugin(create_jms_plugin_details, opts = {}) ⇒ Response
Click here to see an example of how to use create_jms_plugin API.
Registers an agent's JmsPlugin, optionally attaching to an existing fleet of the tenancy. JmsPlugins registered fleet-less are created with lifecycle state INACTIVE. For the operation to be authorized, the agent must exist, and the authorized user requires JMS_PLUGIN_CREATE permission for the agent's compartment.
524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 |
# File 'lib/oci/jms/java_management_service_client.rb', line 524 def create_jms_plugin(create_jms_plugin_details, opts = {}) logger.debug 'Calling operation JavaManagementServiceClient#create_jms_plugin.' if logger raise "Missing the required parameter 'create_jms_plugin_details' when calling create_jms_plugin." if create_jms_plugin_details.nil? path = '/jmsPlugins' 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_jms_plugin_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'JavaManagementServiceClient#create_jms_plugin') 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::Jms::Models::JmsPlugin' ) end # rubocop:enable Metrics/BlockLength end |
#create_task_schedule(create_task_schedule_details, opts = {}) ⇒ Response
Click here to see an example of how to use create_task_schedule API.
Create a task schedule using the information provided.
585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 |
# File 'lib/oci/jms/java_management_service_client.rb', line 585 def create_task_schedule(create_task_schedule_details, opts = {}) logger.debug 'Calling operation JavaManagementServiceClient#create_task_schedule.' if logger raise "Missing the required parameter 'create_task_schedule_details' when calling create_task_schedule." if create_task_schedule_details.nil? path = '/taskSchedules' 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_task_schedule_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'JavaManagementServiceClient#create_task_schedule') 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::Jms::Models::TaskSchedule' ) end # rubocop:enable Metrics/BlockLength end |
#delete_blocklist(fleet_id, blocklist_key, opts = {}) ⇒ Response
Click here to see an example of how to use delete_blocklist API.
Deletes the blocklist record specified by an identifier.
647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 |
# File 'lib/oci/jms/java_management_service_client.rb', line 647 def delete_blocklist(fleet_id, blocklist_key, opts = {}) logger.debug 'Calling operation JavaManagementServiceClient#delete_blocklist.' if logger raise "Missing the required parameter 'fleet_id' when calling delete_blocklist." if fleet_id.nil? raise "Missing the required parameter 'blocklist_key' when calling delete_blocklist." if blocklist_key.nil? raise "Parameter value for 'fleet_id' must not be blank" if OCI::Internal::Util.blank_string?(fleet_id) raise "Parameter value for 'blocklist_key' must not be blank" if OCI::Internal::Util.blank_string?(blocklist_key) path = '/fleets/{fleetId}/blocklists/{blocklistKey}'.sub('{fleetId}', fleet_id.to_s).sub('{blocklistKey}', blocklist_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[:'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 = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'JavaManagementServiceClient#delete_blocklist') 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_crypto_analysis_result(fleet_id, crypto_analysis_result_id, opts = {}) ⇒ Response
Click here to see an example of how to use delete_crypto_analysis_result API.
Deletes the metadata for the result of a Crypto event analysis. The actual report shall remain in the object storage.
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 740 741 742 743 744 745 746 747 748 |
# File 'lib/oci/jms/java_management_service_client.rb', line 710 def delete_crypto_analysis_result(fleet_id, crypto_analysis_result_id, opts = {}) logger.debug 'Calling operation JavaManagementServiceClient#delete_crypto_analysis_result.' if logger raise "Missing the required parameter 'fleet_id' when calling delete_crypto_analysis_result." if fleet_id.nil? raise "Missing the required parameter 'crypto_analysis_result_id' when calling delete_crypto_analysis_result." if crypto_analysis_result_id.nil? raise "Parameter value for 'fleet_id' must not be blank" if OCI::Internal::Util.blank_string?(fleet_id) raise "Parameter value for 'crypto_analysis_result_id' must not be blank" if OCI::Internal::Util.blank_string?(crypto_analysis_result_id) path = '/fleets/{fleetId}/cryptoAnalysisResults/{cryptoAnalysisResultId}'.sub('{fleetId}', fleet_id.to_s).sub('{cryptoAnalysisResultId}', crypto_analysis_result_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 = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'JavaManagementServiceClient#delete_crypto_analysis_result') 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_drs_file(fleet_id, drs_file_key, opts = {}) ⇒ Response
Click here to see an example of how to use delete_drs_file API.
Request to delete the DRS file from the Object Storage.
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 811 812 |
# File 'lib/oci/jms/java_management_service_client.rb', line 774 def delete_drs_file(fleet_id, drs_file_key, opts = {}) logger.debug 'Calling operation JavaManagementServiceClient#delete_drs_file.' if logger raise "Missing the required parameter 'fleet_id' when calling delete_drs_file." if fleet_id.nil? raise "Missing the required parameter 'drs_file_key' when calling delete_drs_file." if drs_file_key.nil? raise "Parameter value for 'fleet_id' must not be blank" if OCI::Internal::Util.blank_string?(fleet_id) raise "Parameter value for 'drs_file_key' must not be blank" if OCI::Internal::Util.blank_string?(drs_file_key) path = '/fleets/{fleetId}/drsFiles/{drsFileKey}'.sub('{fleetId}', fleet_id.to_s).sub('{drsFileKey}', drs_file_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] # rubocop:enable Style/NegatedIf post_body = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'JavaManagementServiceClient#delete_drs_file') 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_fleet(fleet_id, opts = {}) ⇒ Response
Click here to see an example of how to use delete_fleet API.
Deletes the Fleet specified by an identifier.
836 837 838 839 840 841 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 |
# File 'lib/oci/jms/java_management_service_client.rb', line 836 def delete_fleet(fleet_id, opts = {}) logger.debug 'Calling operation JavaManagementServiceClient#delete_fleet.' if logger raise "Missing the required parameter 'fleet_id' when calling delete_fleet." if fleet_id.nil? raise "Parameter value for 'fleet_id' must not be blank" if OCI::Internal::Util.blank_string?(fleet_id) path = '/fleets/{fleetId}'.sub('{fleetId}', fleet_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 = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'JavaManagementServiceClient#delete_fleet') 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_java_migration_analysis_result(fleet_id, java_migration_analysis_result_id, opts = {}) ⇒ Response
Click here to see an example of how to use delete_java_migration_analysis_result API.
Delete the Java migration analysis result. The actual report will remain in the Object Storage bucket.
897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 |
# File 'lib/oci/jms/java_management_service_client.rb', line 897 def delete_java_migration_analysis_result(fleet_id, java_migration_analysis_result_id, opts = {}) logger.debug 'Calling operation JavaManagementServiceClient#delete_java_migration_analysis_result.' if logger raise "Missing the required parameter 'fleet_id' when calling delete_java_migration_analysis_result." if fleet_id.nil? raise "Missing the required parameter 'java_migration_analysis_result_id' when calling delete_java_migration_analysis_result." if java_migration_analysis_result_id.nil? raise "Parameter value for 'fleet_id' must not be blank" if OCI::Internal::Util.blank_string?(fleet_id) raise "Parameter value for 'java_migration_analysis_result_id' must not be blank" if OCI::Internal::Util.blank_string?(java_migration_analysis_result_id) path = '/fleets/{fleetId}/javaMigrationAnalysisResults/{javaMigrationAnalysisResultId}'.sub('{fleetId}', fleet_id.to_s).sub('{javaMigrationAnalysisResultId}', java_migration_analysis_result_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 = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'JavaManagementServiceClient#delete_java_migration_analysis_result') 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_jms_plugin(jms_plugin_id, opts = {}) ⇒ Response
Click here to see an example of how to use delete_jms_plugin API.
Deletes a JmsPlugin. The JmsPlugin may be visible for some time with state DELETED. Deleted plugins will not be able to communicate with the JMS service.
961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 |
# File 'lib/oci/jms/java_management_service_client.rb', line 961 def delete_jms_plugin(jms_plugin_id, opts = {}) logger.debug 'Calling operation JavaManagementServiceClient#delete_jms_plugin.' if logger raise "Missing the required parameter 'jms_plugin_id' when calling delete_jms_plugin." if jms_plugin_id.nil? raise "Parameter value for 'jms_plugin_id' must not be blank" if OCI::Internal::Util.blank_string?(jms_plugin_id) path = '/jmsPlugins/{jmsPluginId}'.sub('{jmsPluginId}', jms_plugin_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: 'JavaManagementServiceClient#delete_jms_plugin') 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_performance_tuning_analysis_result(fleet_id, performance_tuning_analysis_result_id, opts = {}) ⇒ Response
Click here to see an example of how to use delete_performance_tuning_analysis_result API.
Deletes only the metadata of the Performance Tuning Analysis result, but the file remains in the object storage.
1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 |
# File 'lib/oci/jms/java_management_service_client.rb', line 1022 def delete_performance_tuning_analysis_result(fleet_id, performance_tuning_analysis_result_id, opts = {}) logger.debug 'Calling operation JavaManagementServiceClient#delete_performance_tuning_analysis_result.' if logger raise "Missing the required parameter 'fleet_id' when calling delete_performance_tuning_analysis_result." if fleet_id.nil? raise "Missing the required parameter 'performance_tuning_analysis_result_id' when calling delete_performance_tuning_analysis_result." if performance_tuning_analysis_result_id.nil? raise "Parameter value for 'fleet_id' must not be blank" if OCI::Internal::Util.blank_string?(fleet_id) raise "Parameter value for 'performance_tuning_analysis_result_id' must not be blank" if OCI::Internal::Util.blank_string?(performance_tuning_analysis_result_id) path = '/fleets/{fleetId}/performanceTuningAnalysisResults/{performanceTuningAnalysisResultId}'.sub('{fleetId}', fleet_id.to_s).sub('{performanceTuningAnalysisResultId}', performance_tuning_analysis_result_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 = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'JavaManagementServiceClient#delete_performance_tuning_analysis_result') 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_task_schedule(task_schedule_id, opts = {}) ⇒ Response
Click here to see an example of how to use delete_task_schedule API.
Deletes the task schedule record specified by an identifier.
1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 |
# File 'lib/oci/jms/java_management_service_client.rb', line 1085 def delete_task_schedule(task_schedule_id, opts = {}) logger.debug 'Calling operation JavaManagementServiceClient#delete_task_schedule.' if logger raise "Missing the required parameter 'task_schedule_id' when calling delete_task_schedule." if task_schedule_id.nil? raise "Parameter value for 'task_schedule_id' must not be blank" if OCI::Internal::Util.blank_string?(task_schedule_id) path = '/taskSchedules/{taskScheduleId}'.sub('{taskScheduleId}', task_schedule_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:fleetId] = opts[:fleet_id] if opts[:fleet_id] # 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 = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'JavaManagementServiceClient#delete_task_schedule') 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_drs(fleet_id, disable_drs_details, opts = {}) ⇒ Response
Click here to see an example of how to use disable_drs API.
Request to disable the DRS in the selected target in the Fleet.
1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 |
# File 'lib/oci/jms/java_management_service_client.rb', line 1154 def disable_drs(fleet_id, disable_drs_details, opts = {}) logger.debug 'Calling operation JavaManagementServiceClient#disable_drs.' if logger raise "Missing the required parameter 'fleet_id' when calling disable_drs." if fleet_id.nil? raise "Missing the required parameter 'disable_drs_details' when calling disable_drs." if disable_drs_details.nil? raise "Parameter value for 'fleet_id' must not be blank" if OCI::Internal::Util.blank_string?(fleet_id) path = '/fleets/{fleetId}/actions/disableDrs'.sub('{fleetId}', fleet_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_drs_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'JavaManagementServiceClient#disable_drs') 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_drs(fleet_id, enable_drs_details, opts = {}) ⇒ Response
Click here to see an example of how to use enable_drs API.
Request to enable the DRS in the selected target in the Fleet.
1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 |
# File 'lib/oci/jms/java_management_service_client.rb', line 1225 def enable_drs(fleet_id, enable_drs_details, opts = {}) logger.debug 'Calling operation JavaManagementServiceClient#enable_drs.' if logger raise "Missing the required parameter 'fleet_id' when calling enable_drs." if fleet_id.nil? raise "Missing the required parameter 'enable_drs_details' when calling enable_drs." if enable_drs_details.nil? raise "Parameter value for 'fleet_id' must not be blank" if OCI::Internal::Util.blank_string?(fleet_id) path = '/fleets/{fleetId}/actions/enableDrs'.sub('{fleetId}', fleet_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_drs_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'JavaManagementServiceClient#enable_drs') 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_agent_deploy_script(fleet_id, generate_agent_deploy_script_details, opts = {}, &block) ⇒ Response
Click here to see an example of how to use generate_agent_deploy_script API.
Generates Agent Deploy Script for Fleet using the information provided.
1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 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 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 |
# File 'lib/oci/jms/java_management_service_client.rb', line 1286 def generate_agent_deploy_script(fleet_id, generate_agent_deploy_script_details, opts = {}, &block) logger.debug 'Calling operation JavaManagementServiceClient#generate_agent_deploy_script.' if logger raise "Missing the required parameter 'fleet_id' when calling generate_agent_deploy_script." if fleet_id.nil? raise "Missing the required parameter 'generate_agent_deploy_script_details' when calling generate_agent_deploy_script." if generate_agent_deploy_script_details.nil? raise "Parameter value for 'fleet_id' must not be blank" if OCI::Internal::Util.blank_string?(fleet_id) path = '/fleets/{fleetId}/actions/generateAgentDeployScript'.sub('{fleetId}', fleet_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = opts[:accept] if opts[:accept] header_params[:accept] ||= 'text/plain' header_params[:'accept-encoding'] = opts[:accept_encoding] if opts[:accept_encoding] 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(generate_agent_deploy_script_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'JavaManagementServiceClient#generate_agent_deploy_script') do if !block.nil? @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: 'Stream', &block ) elsif opts[:response_target] if opts[:response_target].respond_to? :write @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: 'Stream', &proc { |chunk, _response| opts[:response_target].write(chunk) } ) elsif opts[:response_target].is_a?(String) File.open(opts[:response_target], 'wb') do |output| return @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: 'Stream', &proc { |chunk, _response| output.write(chunk) } ) end end else @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: 'String' ) end end # rubocop:enable Metrics/BlockLength end |
#generate_agent_installer_configuration(generate_agent_installer_configuration_details, opts = {}, &block) ⇒ Response
Click here to see an example of how to use generate_agent_installer_configuration API.
Generates the agent installer configuration using the information provided.
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 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 |
# File 'lib/oci/jms/java_management_service_client.rb', line 1388 def generate_agent_installer_configuration(generate_agent_installer_configuration_details, opts = {}, &block) logger.debug 'Calling operation JavaManagementServiceClient#generate_agent_installer_configuration.' if logger raise "Missing the required parameter 'generate_agent_installer_configuration_details' when calling generate_agent_installer_configuration." if generate_agent_installer_configuration_details.nil? path = '/agentInstallers/actions/generateAgentInstallerConfiguration' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = opts[:accept] if opts[:accept] header_params[:accept] ||= 'text/plain' header_params[:'accept-encoding'] = opts[:accept_encoding] if opts[:accept_encoding] 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(generate_agent_installer_configuration_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'JavaManagementServiceClient#generate_agent_installer_configuration') do if !block.nil? @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: 'Stream', &block ) elsif opts[:response_target] if opts[:response_target].respond_to? :write @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: 'Stream', &proc { |chunk, _response| opts[:response_target].write(chunk) } ) elsif opts[:response_target].is_a?(String) File.open(opts[:response_target], 'wb') do |output| return @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: 'Stream', &proc { |chunk, _response| output.write(chunk) } ) end end else @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: 'String' ) end end # rubocop:enable Metrics/BlockLength end |
#generate_load_pipeline_script(fleet_id, generate_load_pipeline_script_details, opts = {}, &block) ⇒ Response
Click here to see an example of how to use generate_load_pipeline_script API.
Generates Load Pipeline Script
1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 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 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 |
# File 'lib/oci/jms/java_management_service_client.rb', line 1489 def generate_load_pipeline_script(fleet_id, generate_load_pipeline_script_details, opts = {}, &block) logger.debug 'Calling operation JavaManagementServiceClient#generate_load_pipeline_script.' if logger raise "Missing the required parameter 'fleet_id' when calling generate_load_pipeline_script." if fleet_id.nil? raise "Missing the required parameter 'generate_load_pipeline_script_details' when calling generate_load_pipeline_script." if generate_load_pipeline_script_details.nil? raise "Parameter value for 'fleet_id' must not be blank" if OCI::Internal::Util.blank_string?(fleet_id) path = '/fleets/{fleetId}/actions/generateLoadPipelineScript'.sub('{fleetId}', fleet_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} # Header Params header_params = {} header_params[:accept] = opts[:accept] if opts[:accept] header_params[:accept] ||= 'text/plain' header_params[:'accept-encoding'] = opts[:accept_encoding] if opts[:accept_encoding] 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(generate_load_pipeline_script_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'JavaManagementServiceClient#generate_load_pipeline_script') do if !block.nil? @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: 'Stream', &block ) elsif opts[:response_target] if opts[:response_target].respond_to? :write @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: 'Stream', &proc { |chunk, _response| opts[:response_target].write(chunk) } ) elsif opts[:response_target].is_a?(String) File.open(opts[:response_target], 'wb') do |output| return @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: 'Stream', &proc { |chunk, _response| output.write(chunk) } ) end end else @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: 'String' ) end end # rubocop:enable Metrics/BlockLength end |
#get_crypto_analysis_result(fleet_id, crypto_analysis_result_id, opts = {}) ⇒ Response
Click here to see an example of how to use get_crypto_analysis_result API.
Retrieve the metadata for the result of a Crypto event analysis.
1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 |
# File 'lib/oci/jms/java_management_service_client.rb', line 1589 def get_crypto_analysis_result(fleet_id, crypto_analysis_result_id, opts = {}) logger.debug 'Calling operation JavaManagementServiceClient#get_crypto_analysis_result.' if logger raise "Missing the required parameter 'fleet_id' when calling get_crypto_analysis_result." if fleet_id.nil? raise "Missing the required parameter 'crypto_analysis_result_id' when calling get_crypto_analysis_result." if crypto_analysis_result_id.nil? raise "Parameter value for 'fleet_id' must not be blank" if OCI::Internal::Util.blank_string?(fleet_id) raise "Parameter value for 'crypto_analysis_result_id' must not be blank" if OCI::Internal::Util.blank_string?(crypto_analysis_result_id) path = '/fleets/{fleetId}/cryptoAnalysisResults/{cryptoAnalysisResultId}'.sub('{fleetId}', fleet_id.to_s).sub('{cryptoAnalysisResultId}', crypto_analysis_result_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: 'JavaManagementServiceClient#get_crypto_analysis_result') 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::Jms::Models::CryptoAnalysisResult' ) end # rubocop:enable Metrics/BlockLength end |
#get_drs_file(fleet_id, drs_file_key, opts = {}) ⇒ Response
Click here to see an example of how to use get_drs_file API.
Get the detail about the created DRS file in the Fleet.
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 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 |
# File 'lib/oci/jms/java_management_service_client.rb', line 1647 def get_drs_file(fleet_id, drs_file_key, opts = {}) logger.debug 'Calling operation JavaManagementServiceClient#get_drs_file.' if logger raise "Missing the required parameter 'fleet_id' when calling get_drs_file." if fleet_id.nil? raise "Missing the required parameter 'drs_file_key' when calling get_drs_file." if drs_file_key.nil? raise "Parameter value for 'fleet_id' must not be blank" if OCI::Internal::Util.blank_string?(fleet_id) raise "Parameter value for 'drs_file_key' must not be blank" if OCI::Internal::Util.blank_string?(drs_file_key) path = '/fleets/{fleetId}/drsFiles/{drsFileKey}'.sub('{fleetId}', fleet_id.to_s).sub('{drsFileKey}', drs_file_key.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:page] = opts[:page] if opts[:page] # 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: 'JavaManagementServiceClient#get_drs_file') 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::Jms::Models::DrsFile' ) end # rubocop:enable Metrics/BlockLength end |
#get_export_setting(fleet_id, opts = {}) ⇒ Response
Click here to see an example of how to use get_export_setting API.
Returns export setting for the specified fleet.
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 1738 1739 1740 |
# File 'lib/oci/jms/java_management_service_client.rb', line 1704 def get_export_setting(fleet_id, opts = {}) logger.debug 'Calling operation JavaManagementServiceClient#get_export_setting.' if logger raise "Missing the required parameter 'fleet_id' when calling get_export_setting." if fleet_id.nil? raise "Parameter value for 'fleet_id' must not be blank" if OCI::Internal::Util.blank_string?(fleet_id) path = '/fleets/{fleetId}/exportSetting'.sub('{fleetId}', fleet_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: 'JavaManagementServiceClient#get_export_setting') 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::Jms::Models::ExportSetting' ) end # rubocop:enable Metrics/BlockLength end |
#get_export_status(fleet_id, opts = {}) ⇒ Response
Click here to see an example of how to use get_export_status API.
Returns last export status for the specified fleet.
1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 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 |
# File 'lib/oci/jms/java_management_service_client.rb', line 1758 def get_export_status(fleet_id, opts = {}) logger.debug 'Calling operation JavaManagementServiceClient#get_export_status.' if logger raise "Missing the required parameter 'fleet_id' when calling get_export_status." if fleet_id.nil? raise "Parameter value for 'fleet_id' must not be blank" if OCI::Internal::Util.blank_string?(fleet_id) path = '/fleets/{fleetId}/exportStatus'.sub('{fleetId}', fleet_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: 'JavaManagementServiceClient#get_export_status') 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::Jms::Models::ExportStatus' ) end # rubocop:enable Metrics/BlockLength end |
#get_fleet(fleet_id, opts = {}) ⇒ Response
Click here to see an example of how to use get_fleet API.
Retrieve a Fleet with the specified identifier.
1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 |
# File 'lib/oci/jms/java_management_service_client.rb', line 1812 def get_fleet(fleet_id, opts = {}) logger.debug 'Calling operation JavaManagementServiceClient#get_fleet.' if logger raise "Missing the required parameter 'fleet_id' when calling get_fleet." if fleet_id.nil? raise "Parameter value for 'fleet_id' must not be blank" if OCI::Internal::Util.blank_string?(fleet_id) path = '/fleets/{fleetId}'.sub('{fleetId}', fleet_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: 'JavaManagementServiceClient#get_fleet') 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::Jms::Models::Fleet' ) end # rubocop:enable Metrics/BlockLength end |
#get_fleet_advanced_feature_configuration(fleet_id, opts = {}) ⇒ Response
Click here to see an example of how to use get_fleet_advanced_feature_configuration API.
Returns Fleet level advanced feature configuration.
1873 1874 1875 1876 1877 1878 1879 1880 1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 1902 1903 1904 1905 1906 1907 1908 1909 1910 |
# File 'lib/oci/jms/java_management_service_client.rb', line 1873 def get_fleet_advanced_feature_configuration(fleet_id, opts = {}) logger.debug 'Calling operation JavaManagementServiceClient#get_fleet_advanced_feature_configuration.' if logger raise "Missing the required parameter 'fleet_id' when calling get_fleet_advanced_feature_configuration." if fleet_id.nil? raise "Parameter value for 'fleet_id' must not be blank" if OCI::Internal::Util.blank_string?(fleet_id) path = '/fleets/{fleetId}/advancedFeatureConfiguration'.sub('{fleetId}', fleet_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 = nil # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'JavaManagementServiceClient#get_fleet_advanced_feature_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::Jms::Models::FleetAdvancedFeatureConfiguration' ) end # rubocop:enable Metrics/BlockLength end |
#get_fleet_agent_configuration(fleet_id, opts = {}) ⇒ Response
Click here to see an example of how to use get_fleet_agent_configuration API.
Retrieve a Fleet Agent Configuration for the specified Fleet.
1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 |
# File 'lib/oci/jms/java_management_service_client.rb', line 1928 def get_fleet_agent_configuration(fleet_id, opts = {}) logger.debug 'Calling operation JavaManagementServiceClient#get_fleet_agent_configuration.' if logger raise "Missing the required parameter 'fleet_id' when calling get_fleet_agent_configuration." if fleet_id.nil? raise "Parameter value for 'fleet_id' must not be blank" if OCI::Internal::Util.blank_string?(fleet_id) path = '/fleets/{fleetId}/agentConfiguration'.sub('{fleetId}', fleet_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: 'JavaManagementServiceClient#get_fleet_agent_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::Jms::Models::FleetAgentConfiguration' ) end # rubocop:enable Metrics/BlockLength end |
#get_java_family(family_version, opts = {}) ⇒ Response
Click here to see an example of how to use get_java_family API.
Returns metadata associated with a specific Java release family.
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 2018 2019 |
# File 'lib/oci/jms/java_management_service_client.rb', line 1983 def get_java_family(family_version, opts = {}) logger.debug 'Calling operation JavaManagementServiceClient#get_java_family.' if logger raise "Missing the required parameter 'family_version' when calling get_java_family." if family_version.nil? raise "Parameter value for 'family_version' must not be blank" if OCI::Internal::Util.blank_string?(family_version) path = '/javaFamilies/{familyVersion}'.sub('{familyVersion}', family_version.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: 'JavaManagementServiceClient#get_java_family') 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::Jms::Models::JavaFamily' ) end # rubocop:enable Metrics/BlockLength end |
#get_java_migration_analysis_result(fleet_id, java_migration_analysis_result_id, opts = {}) ⇒ Response
Click here to see an example of how to use get_java_migration_analysis_result API.
Retrieve Java Migration Analysis result.
2038 2039 2040 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 |
# File 'lib/oci/jms/java_management_service_client.rb', line 2038 def get_java_migration_analysis_result(fleet_id, java_migration_analysis_result_id, opts = {}) logger.debug 'Calling operation JavaManagementServiceClient#get_java_migration_analysis_result.' if logger raise "Missing the required parameter 'fleet_id' when calling get_java_migration_analysis_result." if fleet_id.nil? raise "Missing the required parameter 'java_migration_analysis_result_id' when calling get_java_migration_analysis_result." if java_migration_analysis_result_id.nil? raise "Parameter value for 'fleet_id' must not be blank" if OCI::Internal::Util.blank_string?(fleet_id) raise "Parameter value for 'java_migration_analysis_result_id' must not be blank" if OCI::Internal::Util.blank_string?(java_migration_analysis_result_id) path = '/fleets/{fleetId}/javaMigrationAnalysisResults/{javaMigrationAnalysisResultId}'.sub('{fleetId}', fleet_id.to_s).sub('{javaMigrationAnalysisResultId}', java_migration_analysis_result_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: 'JavaManagementServiceClient#get_java_migration_analysis_result') 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::Jms::Models::JavaMigrationAnalysisResult' ) end # rubocop:enable Metrics/BlockLength end |
#get_java_release(release_version, opts = {}) ⇒ Response
Click here to see an example of how to use get_java_release API.
Returns detail of a Java release.
2094 2095 2096 2097 2098 2099 2100 2101 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 |
# File 'lib/oci/jms/java_management_service_client.rb', line 2094 def get_java_release(release_version, opts = {}) logger.debug 'Calling operation JavaManagementServiceClient#get_java_release.' if logger raise "Missing the required parameter 'release_version' when calling get_java_release." if release_version.nil? raise "Parameter value for 'release_version' must not be blank" if OCI::Internal::Util.blank_string?(release_version) path = '/javaReleases/{releaseVersion}'.sub('{releaseVersion}', release_version.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: 'JavaManagementServiceClient#get_java_release') 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::Jms::Models::JavaRelease' ) end # rubocop:enable Metrics/BlockLength end |
#get_jms_plugin(jms_plugin_id, opts = {}) ⇒ Response
Click here to see an example of how to use get_jms_plugin API.
Returns the JmsPlugin.
2148 2149 2150 2151 2152 2153 2154 2155 2156 2157 2158 2159 2160 2161 2162 2163 2164 2165 2166 2167 2168 2169 2170 2171 2172 2173 2174 2175 2176 2177 2178 2179 2180 2181 2182 2183 2184 |
# File 'lib/oci/jms/java_management_service_client.rb', line 2148 def get_jms_plugin(jms_plugin_id, opts = {}) logger.debug 'Calling operation JavaManagementServiceClient#get_jms_plugin.' if logger raise "Missing the required parameter 'jms_plugin_id' when calling get_jms_plugin." if jms_plugin_id.nil? raise "Parameter value for 'jms_plugin_id' must not be blank" if OCI::Internal::Util.blank_string?(jms_plugin_id) path = '/jmsPlugins/{jmsPluginId}'.sub('{jmsPluginId}', jms_plugin_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: 'JavaManagementServiceClient#get_jms_plugin') 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::Jms::Models::JmsPlugin' ) end # rubocop:enable Metrics/BlockLength end |
#get_performance_tuning_analysis_result(fleet_id, performance_tuning_analysis_result_id, opts = {}) ⇒ Response
Click here to see an example of how to use get_performance_tuning_analysis_result API.
Retrieve metadata of the Performance Tuning Analysis result.
2203 2204 2205 2206 2207 2208 2209 2210 2211 2212 2213 2214 2215 2216 2217 2218 2219 2220 2221 2222 2223 2224 2225 2226 2227 2228 2229 2230 2231 2232 2233 2234 2235 2236 2237 2238 2239 2240 2241 |
# File 'lib/oci/jms/java_management_service_client.rb', line 2203 def get_performance_tuning_analysis_result(fleet_id, performance_tuning_analysis_result_id, opts = {}) logger.debug 'Calling operation JavaManagementServiceClient#get_performance_tuning_analysis_result.' if logger raise "Missing the required parameter 'fleet_id' when calling get_performance_tuning_analysis_result." if fleet_id.nil? raise "Missing the required parameter 'performance_tuning_analysis_result_id' when calling get_performance_tuning_analysis_result." if performance_tuning_analysis_result_id.nil? raise "Parameter value for 'fleet_id' must not be blank" if OCI::Internal::Util.blank_string?(fleet_id) raise "Parameter value for 'performance_tuning_analysis_result_id' must not be blank" if OCI::Internal::Util.blank_string?(performance_tuning_analysis_result_id) path = '/fleets/{fleetId}/performanceTuningAnalysisResults/{performanceTuningAnalysisResultId}'.sub('{fleetId}', fleet_id.to_s).sub('{performanceTuningAnalysisResultId}', performance_tuning_analysis_result_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: 'JavaManagementServiceClient#get_performance_tuning_analysis_result') 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::Jms::Models::PerformanceTuningAnalysisResult' ) end # rubocop:enable Metrics/BlockLength end |
#get_task_schedule(task_schedule_id, opts = {}) ⇒ Response
Click here to see an example of how to use get_task_schedule API.
Returns a task schedule.
2261 2262 2263 2264 2265 2266 2267 2268 2269 2270 2271 2272 2273 2274 2275 2276 2277 2278 2279 2280 2281 2282 2283 2284 2285 2286 2287 2288 2289 2290 2291 2292 2293 2294 2295 2296 2297 2298 |
# File 'lib/oci/jms/java_management_service_client.rb', line 2261 def get_task_schedule(task_schedule_id, opts = {}) logger.debug 'Calling operation JavaManagementServiceClient#get_task_schedule.' if logger raise "Missing the required parameter 'task_schedule_id' when calling get_task_schedule." if task_schedule_id.nil? raise "Parameter value for 'task_schedule_id' must not be blank" if OCI::Internal::Util.blank_string?(task_schedule_id) path = '/taskSchedules/{taskScheduleId}'.sub('{taskScheduleId}', task_schedule_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:fleetId] = opts[:fleet_id] if opts[:fleet_id] # 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: 'JavaManagementServiceClient#get_task_schedule') 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::Jms::Models::TaskSchedule' ) 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.
Retrieve the details of a work request with the specified ID.
2316 2317 2318 2319 2320 2321 2322 2323 2324 2325 2326 2327 2328 2329 2330 2331 2332 2333 2334 2335 2336 2337 2338 2339 2340 2341 2342 2343 2344 2345 2346 2347 2348 2349 2350 2351 2352 |
# File 'lib/oci/jms/java_management_service_client.rb', line 2316 def get_work_request(work_request_id, opts = {}) logger.debug 'Calling operation JavaManagementServiceClient#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: 'JavaManagementServiceClient#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::Jms::Models::WorkRequest' ) end # rubocop:enable Metrics/BlockLength end |
#list_agent_installers(opts = {}) ⇒ Response
Click here to see an example of how to use list_agent_installers API.
Returns a list of the agent installer information.
2382 2383 2384 2385 2386 2387 2388 2389 2390 2391 2392 2393 2394 2395 2396 2397 2398 2399 2400 2401 2402 2403 2404 2405 2406 2407 2408 2409 2410 2411 2412 2413 2414 2415 2416 2417 2418 2419 2420 2421 2422 2423 2424 2425 2426 2427 2428 2429 2430 2431 2432 2433 2434 2435 2436 2437 2438 2439 2440 |
# File 'lib/oci/jms/java_management_service_client.rb', line 2382 def list_agent_installers(opts = {}) logger.debug 'Calling operation JavaManagementServiceClient#list_agent_installers.' if logger if opts[:platform_architecture] && !OCI::Jms::Models::PLATFORM_ARCHITECTURE_TYPE_ENUM.include?(opts[:platform_architecture]) raise 'Invalid value for "platform_architecture", must be one of the values in OCI::Jms::Models::PLATFORM_ARCHITECTURE_TYPE_ENUM.' end if opts[:os_family] && !OCI::Jms::Models::OS_FAMILY_ENUM.include?(opts[:os_family]) raise 'Invalid value for "os_family", must be one of the values in OCI::Jms::Models::OS_FAMILY_ENUM.' end if opts[:sort_order] && !OCI::Jms::Models::SORT_ORDER_ENUM.include?(opts[:sort_order]) raise 'Invalid value for "sort_order", must be one of the values in OCI::Jms::Models::SORT_ORDER_ENUM.' end if opts[:sort_by] && !OCI::Jms::Models::AGENT_INSTALLER_SORT_BY_ENUM.include?(opts[:sort_by]) raise 'Invalid value for "sort_by", must be one of the values in OCI::Jms::Models::AGENT_INSTALLER_SORT_BY_ENUM.' end path = '/agentInstallers' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:compartmentId] = opts[:compartment_id] if opts[:compartment_id] query_params[:fleetId] = opts[:fleet_id] if opts[:fleet_id] query_params[:platformArchitecture] = opts[:platform_architecture] if opts[:platform_architecture] query_params[:osFamily] = opts[:os_family] if opts[:os_family] query_params[:limit] = opts[:limit] if opts[:limit] query_params[:page] = opts[:page] if opts[:page] query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order] query_params[:sortBy] = opts[:sort_by] if opts[:sort_by] # 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: 'JavaManagementServiceClient#list_agent_installers') 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::Jms::Models::AgentInstallerCollection' ) end # rubocop:enable Metrics/BlockLength end |
#list_announcements(opts = {}) ⇒ Response
Click here to see an example of how to use list_announcements API.
Return a list of AnnouncementSummary items
2467 2468 2469 2470 2471 2472 2473 2474 2475 2476 2477 2478 2479 2480 2481 2482 2483 2484 2485 2486 2487 2488 2489 2490 2491 2492 2493 2494 2495 2496 2497 2498 2499 2500 2501 2502 2503 2504 2505 2506 2507 2508 2509 2510 2511 2512 2513 2514 2515 2516 |
# File 'lib/oci/jms/java_management_service_client.rb', line 2467 def list_announcements(opts = {}) logger.debug 'Calling operation JavaManagementServiceClient#list_announcements.' if logger if opts[:sort_order] && !OCI::Jms::Models::SORT_ORDER_ENUM.include?(opts[:sort_order]) raise 'Invalid value for "sort_order", must be one of the values in OCI::Jms::Models::SORT_ORDER_ENUM.' end if opts[:sort_by] && !OCI::Jms::Models::ANNOUNCEMENT_SORT_BY_ENUM.include?(opts[:sort_by]) raise 'Invalid value for "sort_by", must be one of the values in OCI::Jms::Models::ANNOUNCEMENT_SORT_BY_ENUM.' end path = '/announcements' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:summaryContains] = opts[:summary_contains] if opts[:summary_contains] query_params[:timeStart] = opts[:time_start] if opts[:time_start] query_params[:timeEnd] = opts[:time_end] if opts[:time_end] query_params[:limit] = opts[:limit] if opts[:limit] query_params[:page] = opts[:page] if opts[:page] query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order] query_params[:sortBy] = opts[:sort_by] if opts[:sort_by] # 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: 'JavaManagementServiceClient#list_announcements') 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::Jms::Models::AnnouncementCollection' ) end # rubocop:enable Metrics/BlockLength end |
#list_blocklists(fleet_id, opts = {}) ⇒ Response
Click here to see an example of how to use list_blocklists API.
Returns a list of blocklist entities contained by a fleet.
2544 2545 2546 2547 2548 2549 2550 2551 2552 2553 2554 2555 2556 2557 2558 2559 2560 2561 2562 2563 2564 2565 2566 2567 2568 2569 2570 2571 2572 2573 2574 2575 2576 2577 2578 2579 2580 2581 2582 2583 2584 2585 2586 2587 2588 2589 2590 2591 2592 2593 2594 2595 2596 2597 2598 |
# File 'lib/oci/jms/java_management_service_client.rb', line 2544 def list_blocklists(fleet_id, opts = {}) logger.debug 'Calling operation JavaManagementServiceClient#list_blocklists.' if logger raise "Missing the required parameter 'fleet_id' when calling list_blocklists." if fleet_id.nil? if opts[:operation] && !OCI::Jms::Models::OPERATION_TYPE_ENUM.include?(opts[:operation]) raise 'Invalid value for "operation", must be one of the values in OCI::Jms::Models::OPERATION_TYPE_ENUM.' end if opts[:sort_order] && !OCI::Jms::Models::SORT_ORDER_ENUM.include?(opts[:sort_order]) raise 'Invalid value for "sort_order", must be one of the values in OCI::Jms::Models::SORT_ORDER_ENUM.' end if opts[:sort_by] && !OCI::Jms::Models::BLOCKLIST_SORT_BY_ENUM.include?(opts[:sort_by]) raise 'Invalid value for "sort_by", must be one of the values in OCI::Jms::Models::BLOCKLIST_SORT_BY_ENUM.' end raise "Parameter value for 'fleet_id' must not be blank" if OCI::Internal::Util.blank_string?(fleet_id) path = '/fleets/{fleetId}/blocklists'.sub('{fleetId}', fleet_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:operation] = opts[:operation] if opts[:operation] query_params[:managedInstanceId] = opts[:managed_instance_id] if opts[:managed_instance_id] query_params[:limit] = opts[:limit] if opts[:limit] query_params[:page] = opts[:page] if opts[:page] query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order] query_params[:sortBy] = opts[:sort_by] if opts[:sort_by] # 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: 'JavaManagementServiceClient#list_blocklists') 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::Jms::Models::BlocklistCollection' ) end # rubocop:enable Metrics/BlockLength end |
#list_containers(fleet_id, opts = {}) ⇒ Response
Click here to see an example of how to use list_containers API.
List containers in a fleet filtered by query parameters.
2631 2632 2633 2634 2635 2636 2637 2638 2639 2640 2641 2642 2643 2644 2645 2646 2647 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 2688 2689 2690 |
# File 'lib/oci/jms/java_management_service_client.rb', line 2631 def list_containers(fleet_id, opts = {}) logger.debug 'Calling operation JavaManagementServiceClient#list_containers.' if logger raise "Missing the required parameter 'fleet_id' when calling list_containers." if fleet_id.nil? if opts[:jre_security_status] && !OCI::Jms::Models::JRE_SECURITY_STATUS_ENUM.include?(opts[:jre_security_status]) raise 'Invalid value for "jre_security_status", must be one of the values in OCI::Jms::Models::JRE_SECURITY_STATUS_ENUM.' end if opts[:sort_order] && !OCI::Jms::Models::SORT_ORDER_ENUM.include?(opts[:sort_order]) raise 'Invalid value for "sort_order", must be one of the values in OCI::Jms::Models::SORT_ORDER_ENUM.' end if opts[:sort_by] && !OCI::Jms::Models::CONTAINER_SORT_BY_ENUM.include?(opts[:sort_by]) raise 'Invalid value for "sort_by", must be one of the values in OCI::Jms::Models::CONTAINER_SORT_BY_ENUM.' end raise "Parameter value for 'fleet_id' must not be blank" if OCI::Internal::Util.blank_string?(fleet_id) path = '/fleets/{fleetId}/containers'.sub('{fleetId}', fleet_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:managedInstanceId] = opts[:managed_instance_id] if opts[:managed_instance_id] query_params[:displayName] = opts[:display_name] if opts[:display_name] query_params[:applicationName] = opts[:application_name] if opts[:application_name] query_params[:jreVersion] = opts[:jre_version] if opts[:jre_version] query_params[:jreSecurityStatus] = opts[:jre_security_status] if opts[:jre_security_status] query_params[:timeStartedGreaterThanOrEqualTo] = opts[:time_started_greater_than_or_equal_to] if opts[:time_started_greater_than_or_equal_to] query_params[:timeStartedLessThanOrEqualTo] = opts[:time_started_less_than_or_equal_to] if opts[:time_started_less_than_or_equal_to] query_params[:limit] = opts[:limit] if opts[:limit] query_params[:page] = opts[:page] if opts[:page] query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order] query_params[:sortBy] = opts[:sort_by] if opts[:sort_by] # 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: 'JavaManagementServiceClient#list_containers') 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::Jms::Models::ContainerCollection' ) end # rubocop:enable Metrics/BlockLength end |
#list_crypto_analysis_results(fleet_id, opts = {}) ⇒ Response
Click here to see an example of how to use list_crypto_analysis_results API.
Lists the results of a Crypto event analysis.
2725 2726 2727 2728 2729 2730 2731 2732 2733 2734 2735 2736 2737 2738 2739 2740 2741 2742 2743 2744 2745 2746 2747 2748 2749 2750 2751 2752 2753 2754 2755 2756 2757 2758 2759 2760 2761 2762 2763 2764 2765 2766 2767 2768 2769 2770 2771 2772 2773 2774 2775 2776 2777 2778 2779 2780 2781 2782 2783 2784 2785 2786 |
# File 'lib/oci/jms/java_management_service_client.rb', line 2725 def list_crypto_analysis_results(fleet_id, opts = {}) logger.debug 'Calling operation JavaManagementServiceClient#list_crypto_analysis_results.' if logger raise "Missing the required parameter 'fleet_id' when calling list_crypto_analysis_results." if fleet_id.nil? if opts[:aggregation_mode] && !OCI::Jms::Models::CRYPTO_ANALYSIS_RESULT_MODE_ENUM.include?(opts[:aggregation_mode]) raise 'Invalid value for "aggregation_mode", must be one of the values in OCI::Jms::Models::CRYPTO_ANALYSIS_RESULT_MODE_ENUM.' end if opts[:sort_order] && !OCI::Jms::Models::SORT_ORDER_ENUM.include?(opts[:sort_order]) raise 'Invalid value for "sort_order", must be one of the values in OCI::Jms::Models::SORT_ORDER_ENUM.' end if opts[:sort_by] && !OCI::Jms::Models::CRYPTO_ANALYSIS_RESULT_SORT_BY_ENUM.include?(opts[:sort_by]) raise 'Invalid value for "sort_by", must be one of the values in OCI::Jms::Models::CRYPTO_ANALYSIS_RESULT_SORT_BY_ENUM.' end raise "Parameter value for 'fleet_id' must not be blank" if OCI::Internal::Util.blank_string?(fleet_id) path = '/fleets/{fleetId}/cryptoAnalysisResults'.sub('{fleetId}', fleet_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:aggregationMode] = opts[:aggregation_mode] if opts[:aggregation_mode] query_params[:managedInstanceId] = opts[:managed_instance_id] if opts[:managed_instance_id] query_params[:hostName] = opts[:host_name] if opts[:host_name] query_params[:nonCompliantFindingCount] = opts[:non_compliant_finding_count] if opts[:non_compliant_finding_count] query_params[:nonCompliantFindingCountGreaterThan] = opts[:non_compliant_finding_count_greater_than] if opts[:non_compliant_finding_count_greater_than] query_params[:findingCount] = opts[:finding_count] if opts[:finding_count] query_params[:findingCountGreaterThan] = opts[:finding_count_greater_than] if opts[:finding_count_greater_than] query_params[:timeStart] = opts[:time_start] if opts[:time_start] query_params[:timeEnd] = opts[:time_end] if opts[:time_end] query_params[:limit] = opts[:limit] if opts[:limit] query_params[:page] = opts[:page] if opts[:page] query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order] query_params[:sortBy] = opts[:sort_by] if opts[:sort_by] # 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: 'JavaManagementServiceClient#list_crypto_analysis_results') 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::Jms::Models::CryptoAnalysisResultCollection' ) end # rubocop:enable Metrics/BlockLength end |
#list_drs_files(fleet_id, opts = {}) ⇒ Response
Click here to see an example of how to use list_drs_files API.
List the details about the created DRS files in the Fleet.
2811 2812 2813 2814 2815 2816 2817 2818 2819 2820 2821 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 |
# File 'lib/oci/jms/java_management_service_client.rb', line 2811 def list_drs_files(fleet_id, opts = {}) logger.debug 'Calling operation JavaManagementServiceClient#list_drs_files.' if logger raise "Missing the required parameter 'fleet_id' when calling list_drs_files." if fleet_id.nil? if opts[:sort_order] && !OCI::Jms::Models::SORT_ORDER_ENUM.include?(opts[:sort_order]) raise 'Invalid value for "sort_order", must be one of the values in OCI::Jms::Models::SORT_ORDER_ENUM.' end if opts[:sort_by] && !OCI::Jms::Models::DRS_FILE_SORT_BY_ENUM.include?(opts[:sort_by]) raise 'Invalid value for "sort_by", must be one of the values in OCI::Jms::Models::DRS_FILE_SORT_BY_ENUM.' end raise "Parameter value for 'fleet_id' must not be blank" if OCI::Internal::Util.blank_string?(fleet_id) path = '/fleets/{fleetId}/drsFiles'.sub('{fleetId}', fleet_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:limit] = opts[:limit] if opts[:limit] query_params[:page] = opts[:page] if opts[:page] query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order] query_params[:sortBy] = opts[:sort_by] if opts[:sort_by] # 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: 'JavaManagementServiceClient#list_drs_files') 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::Jms::Models::DrsFileCollection' ) end # rubocop:enable Metrics/BlockLength end |
#list_fleet_diagnoses(fleet_id, opts = {}) ⇒ Response
Click here to see an example of how to use list_fleet_diagnoses API.
List potential diagnoses that would put a fleet into FAILED or NEEDS_ATTENTION lifecycle state.
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 2915 2916 2917 2918 |
# File 'lib/oci/jms/java_management_service_client.rb', line 2880 def list_fleet_diagnoses(fleet_id, opts = {}) logger.debug 'Calling operation JavaManagementServiceClient#list_fleet_diagnoses.' if logger raise "Missing the required parameter 'fleet_id' when calling list_fleet_diagnoses." if fleet_id.nil? raise "Parameter value for 'fleet_id' must not be blank" if OCI::Internal::Util.blank_string?(fleet_id) path = '/fleets/{fleetId}/diagnoses'.sub('{fleetId}', fleet_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:limit] = opts[:limit] if opts[:limit] query_params[:page] = opts[:page] if opts[:page] # 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: 'JavaManagementServiceClient#list_fleet_diagnoses') 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::Jms::Models::FleetDiagnosisCollection' ) end # rubocop:enable Metrics/BlockLength end |
#list_fleet_errors(opts = {}) ⇒ Response
Click here to see an example of how to use list_fleet_errors API.
Returns a list of fleet errors that describe all detected errors.
2951 2952 2953 2954 2955 2956 2957 2958 2959 2960 2961 2962 2963 2964 2965 2966 2967 2968 2969 2970 2971 2972 2973 2974 2975 2976 2977 2978 2979 2980 2981 2982 2983 2984 2985 2986 2987 2988 2989 2990 2991 2992 2993 2994 2995 2996 2997 2998 2999 3000 3001 3002 3003 3004 |
# File 'lib/oci/jms/java_management_service_client.rb', line 2951 def list_fleet_errors(opts = {}) logger.debug 'Calling operation JavaManagementServiceClient#list_fleet_errors.' if logger if opts[:sort_by] && !OCI::Jms::Models::FLEET_ERROR_SORT_BY_ENUM.include?(opts[:sort_by]) raise 'Invalid value for "sort_by", must be one of the values in OCI::Jms::Models::FLEET_ERROR_SORT_BY_ENUM.' end if opts[:sort_order] && !OCI::Jms::Models::SORT_ORDER_ENUM.include?(opts[:sort_order]) raise 'Invalid value for "sort_order", must be one of the values in OCI::Jms::Models::SORT_ORDER_ENUM.' end path = '/fleetErrors' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:compartmentId] = opts[:compartment_id] if opts[:compartment_id] query_params[:compartmentIdInSubtree] = opts[:compartment_id_in_subtree] if !opts[:compartment_id_in_subtree].nil? query_params[:fleetId] = opts[:fleet_id] if opts[:fleet_id] query_params[:timeFirstSeenLessThanOrEqualTo] = opts[:time_first_seen_less_than_or_equal_to] if opts[:time_first_seen_less_than_or_equal_to] query_params[:timeFirstSeenGreaterThanOrEqualTo] = opts[:time_first_seen_greater_than_or_equal_to] if opts[:time_first_seen_greater_than_or_equal_to] query_params[:timeLastSeenLessThanOrEqualTo] = opts[:time_last_seen_less_than_or_equal_to] if opts[:time_last_seen_less_than_or_equal_to] query_params[:timeLastSeenGreaterThanOrEqualTo] = opts[:time_last_seen_greater_than_or_equal_to] if opts[:time_last_seen_greater_than_or_equal_to] query_params[:limit] = opts[:limit] if opts[:limit] query_params[:page] = opts[:page] if opts[:page] 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: 'JavaManagementServiceClient#list_fleet_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: 'OCI::Jms::Models::FleetErrorCollection' ) end # rubocop:enable Metrics/BlockLength end |
#list_fleets(opts = {}) ⇒ Response
Click here to see an example of how to use list_fleets API.
Returns a list of all the Fleets contained by a compartment. The query parameter compartmentId is required unless the query parameter id is specified.
3039 3040 3041 3042 3043 3044 3045 3046 3047 3048 3049 3050 3051 3052 3053 3054 3055 3056 3057 3058 3059 3060 3061 3062 3063 3064 3065 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 |
# File 'lib/oci/jms/java_management_service_client.rb', line 3039 def list_fleets(opts = {}) logger.debug 'Calling operation JavaManagementServiceClient#list_fleets.' if logger if opts[:lifecycle_state] && !OCI::Jms::Models::LIFECYCLE_STATE_ENUM.include?(opts[:lifecycle_state]) raise 'Invalid value for "lifecycle_state", must be one of the values in OCI::Jms::Models::LIFECYCLE_STATE_ENUM.' end if opts[:sort_order] && !OCI::Jms::Models::SORT_ORDER_ENUM.include?(opts[:sort_order]) raise 'Invalid value for "sort_order", must be one of the values in OCI::Jms::Models::SORT_ORDER_ENUM.' end if opts[:sort_by] && !OCI::Jms::Models::SORT_BY_ENUM.include?(opts[:sort_by]) raise 'Invalid value for "sort_by", must be one of the values in OCI::Jms::Models::SORT_BY_ENUM.' end path = '/fleets' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:compartmentId] = opts[:compartment_id] if opts[:compartment_id] query_params[:id] = opts[:id] if opts[:id] query_params[:lifecycleState] = opts[:lifecycle_state] if opts[:lifecycle_state] query_params[:displayName] = opts[:display_name] if opts[:display_name] query_params[:limit] = opts[:limit] if opts[:limit] query_params[:page] = opts[:page] if opts[:page] query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order] query_params[:sortBy] = opts[:sort_by] if opts[:sort_by] query_params[:displayNameContains] = opts[:display_name_contains] if opts[:display_name_contains] # 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: 'JavaManagementServiceClient#list_fleets') 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::Jms::Models::FleetCollection' ) end # rubocop:enable Metrics/BlockLength end |
#list_installation_sites(fleet_id, opts = {}) ⇒ Response
Click here to see an example of how to use list_installation_sites API.
List Java installation sites in a Fleet filtered by query parameters.
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 3163 3164 3165 3166 3167 3168 3169 3170 3171 3172 3173 3174 3175 3176 3177 3178 3179 3180 3181 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 |
# File 'lib/oci/jms/java_management_service_client.rb', line 3133 def list_installation_sites(fleet_id, opts = {}) logger.debug 'Calling operation JavaManagementServiceClient#list_installation_sites.' if logger raise "Missing the required parameter 'fleet_id' when calling list_installation_sites." if fleet_id.nil? if opts[:sort_order] && !OCI::Jms::Models::SORT_ORDER_ENUM.include?(opts[:sort_order]) raise 'Invalid value for "sort_order", must be one of the values in OCI::Jms::Models::SORT_ORDER_ENUM.' end if opts[:sort_by] && !OCI::Jms::Models::INSTALLATION_SITE_SORT_BY_ENUM.include?(opts[:sort_by]) raise 'Invalid value for "sort_by", must be one of the values in OCI::Jms::Models::INSTALLATION_SITE_SORT_BY_ENUM.' end os_family_allowable_values = %w[LINUX WINDOWS MACOS UNKNOWN] if opts[:os_family] && !opts[:os_family].empty? opts[:os_family].each do |val_to_check| unless os_family_allowable_values.include?(val_to_check) raise 'Invalid value for "os_family", must be one of LINUX, WINDOWS, MACOS, UNKNOWN.' end end end if opts[:jre_security_status] && !OCI::Jms::Models::JRE_SECURITY_STATUS_ENUM.include?(opts[:jre_security_status]) raise 'Invalid value for "jre_security_status", must be one of the values in OCI::Jms::Models::JRE_SECURITY_STATUS_ENUM.' end raise "Parameter value for 'fleet_id' must not be blank" if OCI::Internal::Util.blank_string?(fleet_id) path = '/fleets/{fleetId}/installationSites'.sub('{fleetId}', fleet_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:jreVendor] = opts[:jre_vendor] if opts[:jre_vendor] query_params[:jreDistribution] = opts[:jre_distribution] if opts[:jre_distribution] query_params[:jreVersion] = opts[:jre_version] if opts[:jre_version] query_params[:installationPath] = opts[:installation_path] if opts[:installation_path] query_params[:applicationId] = opts[:application_id] if opts[:application_id] query_params[:managedInstanceId] = opts[:managed_instance_id] if opts[:managed_instance_id] query_params[:limit] = opts[:limit] if opts[:limit] query_params[:page] = opts[:page] if opts[:page] query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order] query_params[:sortBy] = opts[:sort_by] if opts[:sort_by] query_params[:osFamily] = OCI::ApiClient.build_collection_params(opts[:os_family], :multi) if opts[:os_family] && !opts[:os_family].empty? query_params[:jreSecurityStatus] = opts[:jre_security_status] if opts[:jre_security_status] query_params[:pathContains] = opts[:path_contains] if opts[:path_contains] query_params[:timeStart] = opts[:time_start] if opts[:time_start] query_params[:timeEnd] = opts[:time_end] if opts[:time_end] # 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: 'JavaManagementServiceClient#list_installation_sites') 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::Jms::Models::InstallationSiteCollection' ) end # rubocop:enable Metrics/BlockLength end |
#list_java_families(opts = {}) ⇒ Response
Click here to see an example of how to use list_java_families API.
Returns a list of the Java release family information. A Java release family is typically a major version in the Java version identifier.
3233 3234 3235 3236 3237 3238 3239 3240 3241 3242 3243 3244 3245 3246 3247 3248 3249 3250 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 |
# File 'lib/oci/jms/java_management_service_client.rb', line 3233 def list_java_families(opts = {}) logger.debug 'Calling operation JavaManagementServiceClient#list_java_families.' if logger if opts[:sort_order] && !OCI::Jms::Models::SORT_ORDER_ENUM.include?(opts[:sort_order]) raise 'Invalid value for "sort_order", must be one of the values in OCI::Jms::Models::SORT_ORDER_ENUM.' end if opts[:sort_by] && !OCI::Jms::Models::JAVA_FAMILY_SORT_BY_ENUM.include?(opts[:sort_by]) raise 'Invalid value for "sort_by", must be one of the values in OCI::Jms::Models::JAVA_FAMILY_SORT_BY_ENUM.' end path = '/javaFamilies' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:familyVersion] = opts[:family_version] if opts[:family_version] query_params[:displayName] = opts[:display_name] if opts[:display_name] query_params[:isSupportedVersion] = opts[:is_supported_version] if !opts[:is_supported_version].nil? query_params[:limit] = opts[:limit] if opts[:limit] query_params[:page] = opts[:page] if opts[:page] query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order] query_params[:sortBy] = opts[:sort_by] if opts[:sort_by] # 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: 'JavaManagementServiceClient#list_java_families') 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::Jms::Models::JavaFamilyCollection' ) end # rubocop:enable Metrics/BlockLength end |
#list_java_migration_analysis_results(fleet_id, opts = {}) ⇒ Response
Click here to see an example of how to use list_java_migration_analysis_results API.
Lists the results of a Java migration analysis.
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 3351 3352 3353 3354 3355 3356 3357 3358 3359 3360 3361 3362 3363 3364 3365 |
# File 'lib/oci/jms/java_management_service_client.rb', line 3312 def list_java_migration_analysis_results(fleet_id, opts = {}) logger.debug 'Calling operation JavaManagementServiceClient#list_java_migration_analysis_results.' if logger raise "Missing the required parameter 'fleet_id' when calling list_java_migration_analysis_results." if fleet_id.nil? if opts[:sort_order] && !OCI::Jms::Models::SORT_ORDER_ENUM.include?(opts[:sort_order]) raise 'Invalid value for "sort_order", must be one of the values in OCI::Jms::Models::SORT_ORDER_ENUM.' end if opts[:sort_by] && !OCI::Jms::Models::JAVA_MIGRATION_ANALYSIS_RESULT_SORT_BY_ENUM.include?(opts[:sort_by]) raise 'Invalid value for "sort_by", must be one of the values in OCI::Jms::Models::JAVA_MIGRATION_ANALYSIS_RESULT_SORT_BY_ENUM.' end raise "Parameter value for 'fleet_id' must not be blank" if OCI::Internal::Util.blank_string?(fleet_id) path = '/fleets/{fleetId}/javaMigrationAnalysisResults'.sub('{fleetId}', fleet_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:managedInstanceId] = opts[:managed_instance_id] if opts[:managed_instance_id] query_params[:hostName] = opts[:host_name] if opts[:host_name] query_params[:applicationName] = opts[:application_name] if opts[:application_name] query_params[:timeStart] = opts[:time_start] if opts[:time_start] query_params[:timeEnd] = opts[:time_end] if opts[:time_end] query_params[:limit] = opts[:limit] if opts[:limit] query_params[:page] = opts[:page] if opts[:page] query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order] query_params[:sortBy] = opts[:sort_by] if opts[:sort_by] # 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: 'JavaManagementServiceClient#list_java_migration_analysis_results') 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::Jms::Models::JavaMigrationAnalysisResultCollection' ) end # rubocop:enable Metrics/BlockLength end |
#list_java_releases(opts = {}) ⇒ Response
Click here to see an example of how to use list_java_releases API.
Returns a list of Java releases.
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 3424 3425 3426 3427 3428 3429 3430 3431 3432 3433 3434 3435 3436 3437 3438 3439 3440 3441 3442 3443 3444 3445 3446 3447 3448 3449 3450 3451 3452 3453 3454 3455 3456 |
# File 'lib/oci/jms/java_management_service_client.rb', line 3393 def list_java_releases(opts = {}) logger.debug 'Calling operation JavaManagementServiceClient#list_java_releases.' if logger if opts[:release_type] && !OCI::Jms::Models::RELEASE_TYPE_ENUM.include?(opts[:release_type]) raise 'Invalid value for "release_type", must be one of the values in OCI::Jms::Models::RELEASE_TYPE_ENUM.' end if opts[:jre_security_status] && !OCI::Jms::Models::JRE_SECURITY_STATUS_ENUM.include?(opts[:jre_security_status]) raise 'Invalid value for "jre_security_status", must be one of the values in OCI::Jms::Models::JRE_SECURITY_STATUS_ENUM.' end if opts[:license_type] && !OCI::Jms::Models::LICENSE_TYPE_ENUM.include?(opts[:license_type]) raise 'Invalid value for "license_type", must be one of the values in OCI::Jms::Models::LICENSE_TYPE_ENUM.' end if opts[:sort_order] && !OCI::Jms::Models::SORT_ORDER_ENUM.include?(opts[:sort_order]) raise 'Invalid value for "sort_order", must be one of the values in OCI::Jms::Models::SORT_ORDER_ENUM.' end if opts[:sort_by] && !OCI::Jms::Models::JAVA_RELEASE_SORT_BY_ENUM.include?(opts[:sort_by]) raise 'Invalid value for "sort_by", must be one of the values in OCI::Jms::Models::JAVA_RELEASE_SORT_BY_ENUM.' end path = '/javaReleases' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:releaseVersion] = opts[:release_version] if opts[:release_version] query_params[:familyVersion] = opts[:family_version] if opts[:family_version] query_params[:releaseType] = opts[:release_type] if opts[:release_type] query_params[:jreSecurityStatus] = opts[:jre_security_status] if opts[:jre_security_status] query_params[:licenseType] = opts[:license_type] if opts[:license_type] query_params[:limit] = opts[:limit] if opts[:limit] query_params[:page] = opts[:page] if opts[:page] query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order] query_params[:sortBy] = opts[:sort_by] if opts[:sort_by] # 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: 'JavaManagementServiceClient#list_java_releases') 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::Jms::Models::JavaReleaseCollection' ) end # rubocop:enable Metrics/BlockLength end |
#list_jms_plugins(opts = {}) ⇒ Response
Click here to see an example of how to use list_jms_plugins API.
Lists the JmsPlugins.
3496 3497 3498 3499 3500 3501 3502 3503 3504 3505 3506 3507 3508 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 3549 3550 3551 3552 3553 3554 3555 3556 3557 3558 3559 3560 3561 3562 3563 3564 3565 |
# File 'lib/oci/jms/java_management_service_client.rb', line 3496 def list_jms_plugins(opts = {}) logger.debug 'Calling operation JavaManagementServiceClient#list_jms_plugins.' if logger if opts[:lifecycle_state] && !OCI::Jms::Models::JMS_PLUGIN_LIFECYCLE_STATE_ENUM.include?(opts[:lifecycle_state]) raise 'Invalid value for "lifecycle_state", must be one of the values in OCI::Jms::Models::JMS_PLUGIN_LIFECYCLE_STATE_ENUM.' end if opts[:availability_status] && !OCI::Jms::Models::JMS_PLUGIN_AVAILABILITY_STATUS_ENUM.include?(opts[:availability_status]) raise 'Invalid value for "availability_status", must be one of the values in OCI::Jms::Models::JMS_PLUGIN_AVAILABILITY_STATUS_ENUM.' end if opts[:agent_type] && !OCI::Jms::Models::AGENT_TYPE_ENUM.include?(opts[:agent_type]) raise 'Invalid value for "agent_type", must be one of the values in OCI::Jms::Models::AGENT_TYPE_ENUM.' end if opts[:sort_order] && !OCI::Jms::Models::SORT_ORDER_ENUM.include?(opts[:sort_order]) raise 'Invalid value for "sort_order", must be one of the values in OCI::Jms::Models::SORT_ORDER_ENUM.' end if opts[:sort_by] && !OCI::Jms::Models::JMS_PLUGIN_SORT_BY_ENUM.include?(opts[:sort_by]) raise 'Invalid value for "sort_by", must be one of the values in OCI::Jms::Models::JMS_PLUGIN_SORT_BY_ENUM.' end path = '/jmsPlugins' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:compartmentId] = opts[:compartment_id] if opts[:compartment_id] query_params[:compartmentIdInSubtree] = opts[:compartment_id_in_subtree] if !opts[:compartment_id_in_subtree].nil? query_params[:id] = opts[:id] if opts[:id] query_params[:fleetId] = opts[:fleet_id] if opts[:fleet_id] query_params[:agentId] = opts[:agent_id] if opts[:agent_id] query_params[:lifecycleState] = opts[:lifecycle_state] if opts[:lifecycle_state] query_params[:availabilityStatus] = opts[:availability_status] if opts[:availability_status] query_params[:agentType] = opts[:agent_type] if opts[:agent_type] query_params[:timeRegisteredLessThanOrEqualTo] = opts[:time_registered_less_than_or_equal_to] if opts[:time_registered_less_than_or_equal_to] query_params[:timeLastSeenLessThanOrEqualTo] = opts[:time_last_seen_less_than_or_equal_to] if opts[:time_last_seen_less_than_or_equal_to] query_params[:limit] = opts[:limit] if opts[:limit] query_params[:page] = opts[:page] if opts[:page] query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order] query_params[:sortBy] = opts[:sort_by] if opts[:sort_by] query_params[:hostnameContains] = opts[:hostname_contains] if opts[:hostname_contains] # 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: 'JavaManagementServiceClient#list_jms_plugins') 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::Jms::Models::JmsPluginCollection' ) end # rubocop:enable Metrics/BlockLength end |
#list_jre_usage(opts = {}) ⇒ Response
Click here to see an example of how to use list_jre_usage API.
List Java Runtime usage in a specified host filtered by query parameters.
3599 3600 3601 3602 3603 3604 3605 3606 3607 3608 3609 3610 3611 3612 3613 3614 3615 3616 3617 3618 3619 3620 3621 3622 3623 3624 3625 3626 3627 3628 3629 3630 3631 3632 3633 3634 3635 3636 3637 3638 3639 3640 3641 3642 3643 3644 3645 3646 3647 3648 3649 3650 3651 |
# File 'lib/oci/jms/java_management_service_client.rb', line 3599 def list_jre_usage(opts = {}) logger.debug 'Calling operation JavaManagementServiceClient#list_jre_usage.' if logger if opts[:sort_order] && !OCI::Jms::Models::SORT_ORDER_ENUM.include?(opts[:sort_order]) raise 'Invalid value for "sort_order", must be one of the values in OCI::Jms::Models::SORT_ORDER_ENUM.' end if opts[:sort_by] && !OCI::Jms::Models::JRE_SORT_BY_ENUM.include?(opts[:sort_by]) raise 'Invalid value for "sort_by", must be one of the values in OCI::Jms::Models::JRE_SORT_BY_ENUM.' end path = '/listJreUsage' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:compartmentId] = opts[:compartment_id] if opts[:compartment_id] query_params[:hostId] = opts[:host_id] if opts[:host_id] query_params[:applicationId] = opts[:application_id] if opts[:application_id] query_params[:applicationName] = opts[:application_name] if opts[:application_name] query_params[:timeStart] = opts[:time_start] if opts[:time_start] query_params[:timeEnd] = opts[:time_end] if opts[:time_end] query_params[:limit] = opts[:limit] if opts[:limit] query_params[:page] = opts[:page] if opts[:page] query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order] query_params[:sortBy] = opts[:sort_by] if opts[:sort_by] # 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: 'JavaManagementServiceClient#list_jre_usage') 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::Jms::Models::JreUsageCollection' ) end # rubocop:enable Metrics/BlockLength end |
#list_library_application_usage(fleet_id, library_key, opts = {}) ⇒ Response
Click here to see an example of how to use list_library_application_usage API.
List applications where a library has been detected filtered by query parameters.
3684 3685 3686 3687 3688 3689 3690 3691 3692 3693 3694 3695 3696 3697 3698 3699 3700 3701 3702 3703 3704 3705 3706 3707 3708 3709 3710 3711 3712 3713 3714 3715 3716 3717 3718 3719 3720 3721 3722 3723 3724 3725 3726 3727 3728 3729 3730 3731 3732 3733 3734 3735 3736 3737 3738 3739 3740 |
# File 'lib/oci/jms/java_management_service_client.rb', line 3684 def list_library_application_usage(fleet_id, library_key, opts = {}) logger.debug 'Calling operation JavaManagementServiceClient#list_library_application_usage.' if logger raise "Missing the required parameter 'fleet_id' when calling list_library_application_usage." if fleet_id.nil? raise "Missing the required parameter 'library_key' when calling list_library_application_usage." if library_key.nil? if opts[:sort_by] && !OCI::Jms::Models::LIBRARY_APPLICATION_SORT_BY_ENUM.include?(opts[:sort_by]) raise 'Invalid value for "sort_by", must be one of the values in OCI::Jms::Models::LIBRARY_APPLICATION_SORT_BY_ENUM.' end if opts[:sort_order] && !OCI::Jms::Models::SORT_ORDER_ENUM.include?(opts[:sort_order]) raise 'Invalid value for "sort_order", must be one of the values in OCI::Jms::Models::SORT_ORDER_ENUM.' end raise "Parameter value for 'fleet_id' must not be blank" if OCI::Internal::Util.blank_string?(fleet_id) raise "Parameter value for 'library_key' must not be blank" if OCI::Internal::Util.blank_string?(library_key) path = '/fleets/{fleetId}/libraries/{libraryKey}/applications'.sub('{fleetId}', fleet_id.to_s).sub('{libraryKey}', library_key.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:applicationId] = opts[:application_id] if opts[:application_id] query_params[:managedInstanceId] = opts[:managed_instance_id] if opts[:managed_instance_id] query_params[:applicationName] = opts[:application_name] if opts[:application_name] query_params[:applicationNameContains] = opts[:application_name_contains] if opts[:application_name_contains] query_params[:timeStart] = opts[:time_start] if opts[:time_start] query_params[:timeEnd] = opts[:time_end] if opts[:time_end] query_params[:limit] = opts[:limit] if opts[:limit] query_params[:page] = opts[:page] if opts[:page] 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: 'JavaManagementServiceClient#list_library_application_usage') 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::Jms::Models::LibraryApplicationUsageCollection' ) end # rubocop:enable Metrics/BlockLength end |
#list_library_managed_instance_usage(fleet_id, library_key, opts = {}) ⇒ Response
Click here to see an example of how to use list_library_managed_instance_usage API.
List managed instances where a library has been detected, filtered by query parameters.
3773 3774 3775 3776 3777 3778 3779 3780 3781 3782 3783 3784 3785 3786 3787 3788 3789 3790 3791 3792 3793 3794 3795 3796 3797 3798 3799 3800 3801 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 |
# File 'lib/oci/jms/java_management_service_client.rb', line 3773 def list_library_managed_instance_usage(fleet_id, library_key, opts = {}) logger.debug 'Calling operation JavaManagementServiceClient#list_library_managed_instance_usage.' if logger raise "Missing the required parameter 'fleet_id' when calling list_library_managed_instance_usage." if fleet_id.nil? raise "Missing the required parameter 'library_key' when calling list_library_managed_instance_usage." if library_key.nil? if opts[:sort_by] && !OCI::Jms::Models::LIBRARY_MANAGED_INSTANCE_SORT_BY_ENUM.include?(opts[:sort_by]) raise 'Invalid value for "sort_by", must be one of the values in OCI::Jms::Models::LIBRARY_MANAGED_INSTANCE_SORT_BY_ENUM.' end if opts[:sort_order] && !OCI::Jms::Models::SORT_ORDER_ENUM.include?(opts[:sort_order]) raise 'Invalid value for "sort_order", must be one of the values in OCI::Jms::Models::SORT_ORDER_ENUM.' end raise "Parameter value for 'fleet_id' must not be blank" if OCI::Internal::Util.blank_string?(fleet_id) raise "Parameter value for 'library_key' must not be blank" if OCI::Internal::Util.blank_string?(library_key) path = '/fleets/{fleetId}/libraries/{libraryKey}/managedInstances'.sub('{fleetId}', fleet_id.to_s).sub('{libraryKey}', library_key.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:applicationId] = opts[:application_id] if opts[:application_id] query_params[:managedInstanceId] = opts[:managed_instance_id] if opts[:managed_instance_id] query_params[:hostName] = opts[:host_name] if opts[:host_name] query_params[:hostnameContains] = opts[:hostname_contains] if opts[:hostname_contains] query_params[:timeStart] = opts[:time_start] if opts[:time_start] query_params[:timeEnd] = opts[:time_end] if opts[:time_end] query_params[:limit] = opts[:limit] if opts[:limit] query_params[:page] = opts[:page] if opts[:page] 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: 'JavaManagementServiceClient#list_library_managed_instance_usage') 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::Jms::Models::LibraryManagedInstanceUsageCollection' ) end # rubocop:enable Metrics/BlockLength end |
#list_performance_tuning_analysis_results(fleet_id, opts = {}) ⇒ Response
Click here to see an example of how to use list_performance_tuning_analysis_results API.
List Performance Tuning Analysis results.
3861 3862 3863 3864 3865 3866 3867 3868 3869 3870 3871 3872 3873 3874 3875 3876 3877 3878 3879 3880 3881 3882 3883 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 |
# File 'lib/oci/jms/java_management_service_client.rb', line 3861 def list_performance_tuning_analysis_results(fleet_id, opts = {}) logger.debug 'Calling operation JavaManagementServiceClient#list_performance_tuning_analysis_results.' if logger raise "Missing the required parameter 'fleet_id' when calling list_performance_tuning_analysis_results." if fleet_id.nil? if opts[:sort_order] && !OCI::Jms::Models::SORT_ORDER_ENUM.include?(opts[:sort_order]) raise 'Invalid value for "sort_order", must be one of the values in OCI::Jms::Models::SORT_ORDER_ENUM.' end if opts[:sort_by] && !OCI::Jms::Models::PERFORMANCE_TUNING_ANALYSIS_RESULT_SORT_BY_ENUM.include?(opts[:sort_by]) raise 'Invalid value for "sort_by", must be one of the values in OCI::Jms::Models::PERFORMANCE_TUNING_ANALYSIS_RESULT_SORT_BY_ENUM.' end raise "Parameter value for 'fleet_id' must not be blank" if OCI::Internal::Util.blank_string?(fleet_id) path = '/fleets/{fleetId}/performanceTuningAnalysisResults'.sub('{fleetId}', fleet_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:managedInstanceId] = opts[:managed_instance_id] if opts[:managed_instance_id] query_params[:applicationId] = opts[:application_id] if opts[:application_id] query_params[:applicationName] = opts[:application_name] if opts[:application_name] query_params[:hostName] = opts[:host_name] if opts[:host_name] query_params[:timeStart] = opts[:time_start] if opts[:time_start] query_params[:timeEnd] = opts[:time_end] if opts[:time_end] query_params[:limit] = opts[:limit] if opts[:limit] query_params[:page] = opts[:page] if opts[:page] query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order] query_params[:sortBy] = opts[:sort_by] if opts[:sort_by] # 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: 'JavaManagementServiceClient#list_performance_tuning_analysis_results') 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::Jms::Models::PerformanceTuningAnalysisResultCollection' ) end # rubocop:enable Metrics/BlockLength end |
#list_plugin_errors(opts = {}) ⇒ Response
Click here to see an example of how to use list_plugin_errors API.
Returns a list of plugin errors that describe all detected errors.
3948 3949 3950 3951 3952 3953 3954 3955 3956 3957 3958 3959 3960 3961 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 |
# File 'lib/oci/jms/java_management_service_client.rb', line 3948 def list_plugin_errors(opts = {}) logger.debug 'Calling operation JavaManagementServiceClient#list_plugin_errors.' if logger if opts[:sort_by] && !OCI::Jms::Models::PLUGIN_ERROR_SORT_BY_ENUM.include?(opts[:sort_by]) raise 'Invalid value for "sort_by", must be one of the values in OCI::Jms::Models::PLUGIN_ERROR_SORT_BY_ENUM.' end if opts[:sort_order] && !OCI::Jms::Models::SORT_ORDER_ENUM.include?(opts[:sort_order]) raise 'Invalid value for "sort_order", must be one of the values in OCI::Jms::Models::SORT_ORDER_ENUM.' end path = '/pluginErrors' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:compartmentId] = opts[:compartment_id] if opts[:compartment_id] query_params[:compartmentIdInSubtree] = opts[:compartment_id_in_subtree] if !opts[:compartment_id_in_subtree].nil? query_params[:managedInstanceId] = opts[:managed_instance_id] if opts[:managed_instance_id] query_params[:timeFirstSeenLessThanOrEqualTo] = opts[:time_first_seen_less_than_or_equal_to] if opts[:time_first_seen_less_than_or_equal_to] query_params[:timeFirstSeenGreaterThanOrEqualTo] = opts[:time_first_seen_greater_than_or_equal_to] if opts[:time_first_seen_greater_than_or_equal_to] query_params[:timeLastSeenLessThanOrEqualTo] = opts[:time_last_seen_less_than_or_equal_to] if opts[:time_last_seen_less_than_or_equal_to] query_params[:timeLastSeenGreaterThanOrEqualTo] = opts[:time_last_seen_greater_than_or_equal_to] if opts[:time_last_seen_greater_than_or_equal_to] query_params[:limit] = opts[:limit] if opts[:limit] query_params[:page] = opts[:page] if opts[:page] 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: 'JavaManagementServiceClient#list_plugin_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: 'OCI::Jms::Models::PluginErrorCollection' ) end # rubocop:enable Metrics/BlockLength end |
#list_task_schedules(opts = {}) ⇒ Response
Click here to see an example of how to use list_task_schedules API.
Returns a list of task schedules.
4032 4033 4034 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 |
# File 'lib/oci/jms/java_management_service_client.rb', line 4032 def list_task_schedules(opts = {}) logger.debug 'Calling operation JavaManagementServiceClient#list_task_schedules.' if logger if opts[:sort_order] && !OCI::Jms::Models::SORT_ORDER_ENUM.include?(opts[:sort_order]) raise 'Invalid value for "sort_order", must be one of the values in OCI::Jms::Models::SORT_ORDER_ENUM.' end if opts[:sort_by] && !OCI::Jms::Models::TASK_SCHEDULE_SORT_BY_ENUM.include?(opts[:sort_by]) raise 'Invalid value for "sort_by", must be one of the values in OCI::Jms::Models::TASK_SCHEDULE_SORT_BY_ENUM.' end path = '/taskSchedules' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:fleetId] = opts[:fleet_id] if opts[:fleet_id] query_params[:id] = opts[:id] if opts[:id] query_params[:managedInstanceId] = opts[:managed_instance_id] if opts[:managed_instance_id] query_params[:name] = opts[:name] if opts[:name] query_params[:taskScheduleNameContains] = opts[:task_schedule_name_contains] if opts[:task_schedule_name_contains] query_params[:limit] = opts[:limit] if opts[:limit] query_params[:page] = opts[:page] if opts[:page] query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order] query_params[:sortBy] = opts[:sort_by] if opts[:sort_by] # 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: 'JavaManagementServiceClient#list_task_schedules') 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::Jms::Models::TaskScheduleCollection' ) end # rubocop:enable Metrics/BlockLength end |
#list_uncorrelated_package_application_usage(fleet_id, package_name, opts = {}) ⇒ Response
Click here to see an example of how to use list_uncorrelated_package_application_usage API.
List applications where an uncorrelated package has been detected, filtered by query parameters.
4113 4114 4115 4116 4117 4118 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 |
# File 'lib/oci/jms/java_management_service_client.rb', line 4113 def (fleet_id, package_name, opts = {}) logger.debug 'Calling operation JavaManagementServiceClient#list_uncorrelated_package_application_usage.' if logger raise "Missing the required parameter 'fleet_id' when calling list_uncorrelated_package_application_usage." if fleet_id.nil? raise "Missing the required parameter 'package_name' when calling list_uncorrelated_package_application_usage." if package_name.nil? if opts[:sort_by] && !OCI::Jms::Models::UNCORRELATED_PACKAGE_APPLICATION_SORT_BY_ENUM.include?(opts[:sort_by]) raise 'Invalid value for "sort_by", must be one of the values in OCI::Jms::Models::UNCORRELATED_PACKAGE_APPLICATION_SORT_BY_ENUM.' end if opts[:sort_order] && !OCI::Jms::Models::SORT_ORDER_ENUM.include?(opts[:sort_order]) raise 'Invalid value for "sort_order", must be one of the values in OCI::Jms::Models::SORT_ORDER_ENUM.' end raise "Parameter value for 'fleet_id' must not be blank" if OCI::Internal::Util.blank_string?(fleet_id) raise "Parameter value for 'package_name' must not be blank" if OCI::Internal::Util.blank_string?(package_name) path = '/fleets/{fleetId}/uncorrelatedPackages/{packageName}/applications'.sub('{fleetId}', fleet_id.to_s).sub('{packageName}', package_name.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:applicationId] = opts[:application_id] if opts[:application_id] query_params[:managedInstanceId] = opts[:managed_instance_id] if opts[:managed_instance_id] query_params[:timeStart] = opts[:time_start] if opts[:time_start] query_params[:timeEnd] = opts[:time_end] if opts[:time_end] query_params[:limit] = opts[:limit] if opts[:limit] query_params[:page] = opts[:page] if opts[:page] 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: 'JavaManagementServiceClient#list_uncorrelated_package_application_usage') 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::Jms::Models::UncorrelatedPackageApplicationUsageCollection' ) end # rubocop:enable Metrics/BlockLength end |
#list_uncorrelated_package_managed_instance_usage(fleet_id, package_name, opts = {}) ⇒ Response
Click here to see an example of how to use list_uncorrelated_package_managed_instance_usage API.
List managed instances where an uncorrelated package has been detected, filtered by query parameters.
4197 4198 4199 4200 4201 4202 4203 4204 4205 4206 4207 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 |
# File 'lib/oci/jms/java_management_service_client.rb', line 4197 def (fleet_id, package_name, opts = {}) logger.debug 'Calling operation JavaManagementServiceClient#list_uncorrelated_package_managed_instance_usage.' if logger raise "Missing the required parameter 'fleet_id' when calling list_uncorrelated_package_managed_instance_usage." if fleet_id.nil? raise "Missing the required parameter 'package_name' when calling list_uncorrelated_package_managed_instance_usage." if package_name.nil? if opts[:sort_by] && !OCI::Jms::Models::UNCORRELATED_PACKAGE_MANAGED_INSTANCE_SORT_BY_ENUM.include?(opts[:sort_by]) raise 'Invalid value for "sort_by", must be one of the values in OCI::Jms::Models::UNCORRELATED_PACKAGE_MANAGED_INSTANCE_SORT_BY_ENUM.' end if opts[:sort_order] && !OCI::Jms::Models::SORT_ORDER_ENUM.include?(opts[:sort_order]) raise 'Invalid value for "sort_order", must be one of the values in OCI::Jms::Models::SORT_ORDER_ENUM.' end raise "Parameter value for 'fleet_id' must not be blank" if OCI::Internal::Util.blank_string?(fleet_id) raise "Parameter value for 'package_name' must not be blank" if OCI::Internal::Util.blank_string?(package_name) path = '/fleets/{fleetId}/uncorrelatedPackages/{packageName}/managedInstances'.sub('{fleetId}', fleet_id.to_s).sub('{packageName}', package_name.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:applicationId] = opts[:application_id] if opts[:application_id] query_params[:managedInstanceId] = opts[:managed_instance_id] if opts[:managed_instance_id] query_params[:timeStart] = opts[:time_start] if opts[:time_start] query_params[:timeEnd] = opts[:time_end] if opts[:time_end] query_params[:limit] = opts[:limit] if opts[:limit] query_params[:page] = opts[:page] if opts[:page] 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: 'JavaManagementServiceClient#list_uncorrelated_package_managed_instance_usage') 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::Jms::Models::UncorrelatedPackageManagedInstanceUsageCollection' ) end # rubocop:enable Metrics/BlockLength end |
#list_uncorrelated_package_usage(fleet_id, opts = {}) ⇒ Response
Click here to see an example of how to use list_uncorrelated_package_usage API.
List uncorrelated package summaries in a fleet, filtered by query parameters. Uncorrelated packages are Java packages which can't be accurately correlated to a library during a library scan.
4281 4282 4283 4284 4285 4286 4287 4288 4289 4290 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 |
# File 'lib/oci/jms/java_management_service_client.rb', line 4281 def (fleet_id, opts = {}) logger.debug 'Calling operation JavaManagementServiceClient#list_uncorrelated_package_usage.' if logger raise "Missing the required parameter 'fleet_id' when calling list_uncorrelated_package_usage." if fleet_id.nil? if opts[:sort_order] && !OCI::Jms::Models::SORT_ORDER_ENUM.include?(opts[:sort_order]) raise 'Invalid value for "sort_order", must be one of the values in OCI::Jms::Models::SORT_ORDER_ENUM.' end if opts[:sort_by] && !OCI::Jms::Models::PACKAGE_SORT_BY_ENUM.include?(opts[:sort_by]) raise 'Invalid value for "sort_by", must be one of the values in OCI::Jms::Models::PACKAGE_SORT_BY_ENUM.' end raise "Parameter value for 'fleet_id' must not be blank" if OCI::Internal::Util.blank_string?(fleet_id) path = '/fleets/{fleetId}/uncorrelatedPackages'.sub('{fleetId}', fleet_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:packageName] = opts[:package_name] if opts[:package_name] query_params[:managedInstanceId] = opts[:managed_instance_id] if opts[:managed_instance_id] query_params[:applicationId] = opts[:application_id] if opts[:application_id] query_params[:timeStart] = opts[:time_start] if opts[:time_start] query_params[:timeEnd] = opts[:time_end] if opts[:time_end] query_params[:limit] = opts[:limit] if opts[:limit] query_params[:page] = opts[:page] if opts[:page] query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order] query_params[:sortBy] = opts[:sort_by] if opts[:sort_by] # 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: 'JavaManagementServiceClient#list_uncorrelated_package_usage') 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::Jms::Models::UncorrelatedPackageUsageCollection' ) end # rubocop:enable Metrics/BlockLength end |
#list_work_items(work_request_id, opts = {}) ⇒ Response
Click here to see an example of how to use list_work_items API.
Retrieve a paginated list of work items for a specified work request.
4355 4356 4357 4358 4359 4360 4361 4362 4363 4364 4365 4366 4367 4368 4369 4370 4371 4372 4373 4374 4375 4376 4377 4378 4379 4380 4381 4382 4383 4384 4385 4386 4387 4388 4389 4390 4391 4392 4393 |
# File 'lib/oci/jms/java_management_service_client.rb', line 4355 def list_work_items(work_request_id, opts = {}) logger.debug 'Calling operation JavaManagementServiceClient#list_work_items.' if logger raise "Missing the required parameter 'work_request_id' when calling list_work_items." 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}/workItems'.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] # 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: 'JavaManagementServiceClient#list_work_items') 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::Jms::Models::WorkItemCollection' ) 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.
Retrieve a (paginated) list of errors for a specified work request.
4414 4415 4416 4417 4418 4419 4420 4421 4422 4423 4424 4425 4426 4427 4428 4429 4430 4431 4432 4433 4434 4435 4436 4437 4438 4439 4440 4441 4442 4443 4444 4445 4446 4447 4448 4449 4450 4451 4452 |
# File 'lib/oci/jms/java_management_service_client.rb', line 4414 def list_work_request_errors(work_request_id, opts = {}) logger.debug 'Calling operation JavaManagementServiceClient#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? 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] # 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: 'JavaManagementServiceClient#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: 'OCI::Jms::Models::WorkRequestErrorCollection' ) 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.
Retrieve a paginated list of logs for a specified work request.
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 4510 4511 |
# File 'lib/oci/jms/java_management_service_client.rb', line 4473 def list_work_request_logs(work_request_id, opts = {}) logger.debug 'Calling operation JavaManagementServiceClient#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? 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] # 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: 'JavaManagementServiceClient#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: 'OCI::Jms::Models::WorkRequestLogEntryCollection' ) end # rubocop:enable Metrics/BlockLength end |
#list_work_requests(opts = {}) ⇒ Response
Click here to see an example of how to use list_work_requests API.
List the work requests in a compartment. The query parameter compartmentId is required unless the query parameter id or fleetId is specified.
4539 4540 4541 4542 4543 4544 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 |
# File 'lib/oci/jms/java_management_service_client.rb', line 4539 def list_work_requests(opts = {}) logger.debug 'Calling operation JavaManagementServiceClient#list_work_requests.' if logger if opts[:operation_type] && !OCI::Jms::Models::OPERATION_TYPE_ENUM.include?(opts[:operation_type]) raise 'Invalid value for "operation_type", must be one of the values in OCI::Jms::Models::OPERATION_TYPE_ENUM.' end status_allowable_values = %w[ACCEPTED CANCELED CANCELING FAILED IN_PROGRESS SUCCEEDED] if opts[:status] && !opts[:status].empty? opts[:status].each do |val_to_check| unless status_allowable_values.include?(val_to_check) raise 'Invalid value for "status", must be one of ACCEPTED, CANCELED, CANCELING, FAILED, IN_PROGRESS, SUCCEEDED.' end end end path = '/workRequests' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:compartmentId] = opts[:compartment_id] if opts[:compartment_id] query_params[:id] = opts[:id] if opts[:id] query_params[:fleetId] = opts[:fleet_id] if opts[:fleet_id] query_params[:page] = opts[:page] if opts[:page] query_params[:limit] = opts[:limit] if opts[:limit] query_params[:managedInstanceId] = opts[:managed_instance_id] if opts[:managed_instance_id] query_params[:operationType] = opts[:operation_type] if opts[:operation_type] query_params[:status] = OCI::ApiClient.build_collection_params(opts[:status], :multi) if opts[:status] && !opts[:status].empty? # 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: 'JavaManagementServiceClient#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: 'OCI::Jms::Models::WorkRequestCollection' ) end # rubocop:enable Metrics/BlockLength end |
#logger ⇒ Logger
Returns The logger for this client. May be nil.
94 95 96 |
# File 'lib/oci/jms/java_management_service_client.rb', line 94 def logger @api_client.config.logger end |
#remove_fleet_installation_sites(fleet_id, remove_fleet_installation_sites_details, opts = {}) ⇒ Response
Click here to see an example of how to use remove_fleet_installation_sites API.
Remove Java installation sites in a Fleet.
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 |
# File 'lib/oci/jms/java_management_service_client.rb', line 4626 def remove_fleet_installation_sites(fleet_id, remove_fleet_installation_sites_details, opts = {}) logger.debug 'Calling operation JavaManagementServiceClient#remove_fleet_installation_sites.' if logger raise "Missing the required parameter 'fleet_id' when calling remove_fleet_installation_sites." if fleet_id.nil? raise "Missing the required parameter 'remove_fleet_installation_sites_details' when calling remove_fleet_installation_sites." if remove_fleet_installation_sites_details.nil? raise "Parameter value for 'fleet_id' must not be blank" if OCI::Internal::Util.blank_string?(fleet_id) path = '/fleets/{fleetId}/actions/removeInstallationSites'.sub('{fleetId}', fleet_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-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(remove_fleet_installation_sites_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'JavaManagementServiceClient#remove_fleet_installation_sites') 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 |
#request_crypto_analyses(fleet_id, request_crypto_analyses_details, opts = {}) ⇒ Response
Click here to see an example of how to use request_crypto_analyses API.
Request to perform crypto analysis on one or more selected targets in the Fleet. The result of the crypto analysis will be uploaded to the object storage bucket created by JMS on enabling the Crypto Event Analysis feature in the Fleet.
4685 4686 4687 4688 4689 4690 4691 4692 4693 4694 4695 4696 4697 4698 4699 4700 4701 4702 4703 4704 4705 4706 4707 4708 4709 4710 4711 4712 4713 4714 4715 4716 4717 4718 4719 4720 4721 |
# File 'lib/oci/jms/java_management_service_client.rb', line 4685 def request_crypto_analyses(fleet_id, request_crypto_analyses_details, opts = {}) logger.debug 'Calling operation JavaManagementServiceClient#request_crypto_analyses.' if logger raise "Missing the required parameter 'fleet_id' when calling request_crypto_analyses." if fleet_id.nil? raise "Missing the required parameter 'request_crypto_analyses_details' when calling request_crypto_analyses." if request_crypto_analyses_details.nil? raise "Parameter value for 'fleet_id' must not be blank" if OCI::Internal::Util.blank_string?(fleet_id) path = '/fleets/{fleetId}/actions/requestCryptoAnalyses'.sub('{fleetId}', fleet_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(request_crypto_analyses_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'JavaManagementServiceClient#request_crypto_analyses') 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 |
#request_deployed_application_migration_analyses(fleet_id, request_deployed_application_migration_analyses_details, opts = {}) ⇒ Response
Click here to see an example of how to use request_deployed_application_migration_analyses API.
Request to perform a deployed Java migration analyses. The results of the deployed Java migration analyses will be uploaded to the Object Storage bucket that you designate when you enable the Java Migration Analyses feature.
4742 4743 4744 4745 4746 4747 4748 4749 4750 4751 4752 4753 4754 4755 4756 4757 4758 4759 4760 4761 4762 4763 4764 4765 4766 4767 4768 4769 4770 4771 4772 4773 4774 4775 4776 4777 4778 |
# File 'lib/oci/jms/java_management_service_client.rb', line 4742 def request_deployed_application_migration_analyses(fleet_id, request_deployed_application_migration_analyses_details, opts = {}) logger.debug 'Calling operation JavaManagementServiceClient#request_deployed_application_migration_analyses.' if logger raise "Missing the required parameter 'fleet_id' when calling request_deployed_application_migration_analyses." if fleet_id.nil? raise "Missing the required parameter 'request_deployed_application_migration_analyses_details' when calling request_deployed_application_migration_analyses." if request_deployed_application_migration_analyses_details.nil? raise "Parameter value for 'fleet_id' must not be blank" if OCI::Internal::Util.blank_string?(fleet_id) path = '/fleets/{fleetId}/actions/requestDeployedApplicationMigrationAnalyses'.sub('{fleetId}', fleet_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(request_deployed_application_migration_analyses_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'JavaManagementServiceClient#request_deployed_application_migration_analyses') 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 |
#request_java_migration_analyses(fleet_id, request_java_migration_analyses_details, opts = {}) ⇒ Response
Click here to see an example of how to use request_java_migration_analyses API.
Request to perform a Java migration analysis. The results of the Java migration analysis will be uploaded to the Object Storage bucket that you designate when you enable the Java Migration Analysis feature.
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 4824 4825 4826 4827 4828 4829 4830 4831 4832 4833 4834 4835 |
# File 'lib/oci/jms/java_management_service_client.rb', line 4799 def request_java_migration_analyses(fleet_id, request_java_migration_analyses_details, opts = {}) logger.debug 'Calling operation JavaManagementServiceClient#request_java_migration_analyses.' if logger raise "Missing the required parameter 'fleet_id' when calling request_java_migration_analyses." if fleet_id.nil? raise "Missing the required parameter 'request_java_migration_analyses_details' when calling request_java_migration_analyses." if request_java_migration_analyses_details.nil? raise "Parameter value for 'fleet_id' must not be blank" if OCI::Internal::Util.blank_string?(fleet_id) path = '/fleets/{fleetId}/actions/requestJavaMigrationAnalyses'.sub('{fleetId}', fleet_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(request_java_migration_analyses_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'JavaManagementServiceClient#request_java_migration_analyses') 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 |
#request_jfr_recordings(fleet_id, request_jfr_recordings_details, opts = {}) ⇒ Response
Click here to see an example of how to use request_jfr_recordings API.
Request to collect the JFR recordings on the selected target in the Fleet. The JFR files are uploaded to the object storage bucket created by JMS on enabling Generic JFR feature in the Fleet.
4855 4856 4857 4858 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 |
# File 'lib/oci/jms/java_management_service_client.rb', line 4855 def request_jfr_recordings(fleet_id, request_jfr_recordings_details, opts = {}) logger.debug 'Calling operation JavaManagementServiceClient#request_jfr_recordings.' if logger raise "Missing the required parameter 'fleet_id' when calling request_jfr_recordings." if fleet_id.nil? raise "Missing the required parameter 'request_jfr_recordings_details' when calling request_jfr_recordings." if request_jfr_recordings_details.nil? raise "Parameter value for 'fleet_id' must not be blank" if OCI::Internal::Util.blank_string?(fleet_id) path = '/fleets/{fleetId}/actions/requestJfrRecordings'.sub('{fleetId}', fleet_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(request_jfr_recordings_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'JavaManagementServiceClient#request_jfr_recordings') 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 |
#request_performance_tuning_analyses(fleet_id, request_performance_tuning_analyses_details, opts = {}) ⇒ Response
Click here to see an example of how to use request_performance_tuning_analyses API.
Request to perform performance tuning analyses. The result of performance tuning analysis will be uploaded to the object storage bucket that you designated when you enabled the recording feature.
4912 4913 4914 4915 4916 4917 4918 4919 4920 4921 4922 4923 4924 4925 4926 4927 4928 4929 4930 4931 4932 4933 4934 4935 4936 4937 4938 4939 4940 4941 4942 4943 4944 4945 4946 4947 4948 |
# File 'lib/oci/jms/java_management_service_client.rb', line 4912 def request_performance_tuning_analyses(fleet_id, request_performance_tuning_analyses_details, opts = {}) logger.debug 'Calling operation JavaManagementServiceClient#request_performance_tuning_analyses.' if logger raise "Missing the required parameter 'fleet_id' when calling request_performance_tuning_analyses." if fleet_id.nil? raise "Missing the required parameter 'request_performance_tuning_analyses_details' when calling request_performance_tuning_analyses." if request_performance_tuning_analyses_details.nil? raise "Parameter value for 'fleet_id' must not be blank" if OCI::Internal::Util.blank_string?(fleet_id) path = '/fleets/{fleetId}/actions/requestPerformanceTuningAnalyses'.sub('{fleetId}', fleet_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(request_performance_tuning_analyses_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'JavaManagementServiceClient#request_performance_tuning_analyses') 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 |
#scan_java_server_usage(fleet_id, scan_java_server_usage_details, opts = {}) ⇒ Response
Click here to see an example of how to use scan_java_server_usage API.
Scan Java Server usage in a fleet.
4979 4980 4981 4982 4983 4984 4985 4986 4987 4988 4989 4990 4991 4992 4993 4994 4995 4996 4997 4998 4999 5000 5001 5002 5003 5004 5005 5006 5007 5008 5009 5010 5011 5012 5013 5014 5015 5016 5017 5018 |
# File 'lib/oci/jms/java_management_service_client.rb', line 4979 def scan_java_server_usage(fleet_id, scan_java_server_usage_details, opts = {}) logger.debug 'Calling operation JavaManagementServiceClient#scan_java_server_usage.' if logger raise "Missing the required parameter 'fleet_id' when calling scan_java_server_usage." if fleet_id.nil? raise "Missing the required parameter 'scan_java_server_usage_details' when calling scan_java_server_usage." if scan_java_server_usage_details.nil? raise "Parameter value for 'fleet_id' must not be blank" if OCI::Internal::Util.blank_string?(fleet_id) path = '/fleets/{fleetId}/actions/scanJavaServerUsage'.sub('{fleetId}', fleet_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-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(scan_java_server_usage_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'JavaManagementServiceClient#scan_java_server_usage') 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 |
#scan_library_usage(fleet_id, scan_library_usage_details, opts = {}) ⇒ Response
Click here to see an example of how to use scan_library_usage API.
Scan library usage in a fleet.
5049 5050 5051 5052 5053 5054 5055 5056 5057 5058 5059 5060 5061 5062 5063 5064 5065 5066 5067 5068 5069 5070 5071 5072 5073 5074 5075 5076 5077 5078 5079 5080 5081 5082 5083 5084 5085 5086 5087 5088 |
# File 'lib/oci/jms/java_management_service_client.rb', line 5049 def scan_library_usage(fleet_id, scan_library_usage_details, opts = {}) logger.debug 'Calling operation JavaManagementServiceClient#scan_library_usage.' if logger raise "Missing the required parameter 'fleet_id' when calling scan_library_usage." if fleet_id.nil? raise "Missing the required parameter 'scan_library_usage_details' when calling scan_library_usage." if scan_library_usage_details.nil? raise "Parameter value for 'fleet_id' must not be blank" if OCI::Internal::Util.blank_string?(fleet_id) path = '/fleets/{fleetId}/actions/scanLibraryUsage'.sub('{fleetId}', fleet_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-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(scan_library_usage_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'JavaManagementServiceClient#scan_library_usage') 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 |
#summarize_application_installation_usage(fleet_id, opts = {}) ⇒ Response
Click here to see an example of how to use summarize_application_installation_usage API.
Summarizes the application installation usage in a Fleet filtered by query parameters. In contrast to SummarizeApplicationUsage, which provides only information aggregated by application name, this operation provides installation details. This allows for better focusing of actions.
5134 5135 5136 5137 5138 5139 5140 5141 5142 5143 5144 5145 5146 5147 5148 5149 5150 5151 5152 5153 5154 5155 5156 5157 5158 5159 5160 5161 5162 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 5205 5206 5207 |
# File 'lib/oci/jms/java_management_service_client.rb', line 5134 def summarize_application_installation_usage(fleet_id, opts = {}) logger.debug 'Calling operation JavaManagementServiceClient#summarize_application_installation_usage.' if logger raise "Missing the required parameter 'fleet_id' when calling summarize_application_installation_usage." if fleet_id.nil? os_family_allowable_values = %w[LINUX WINDOWS MACOS UNKNOWN] if opts[:os_family] && !opts[:os_family].empty? opts[:os_family].each do |val_to_check| unless os_family_allowable_values.include?(val_to_check) raise 'Invalid value for "os_family", must be one of LINUX, WINDOWS, MACOS, UNKNOWN.' end end end if opts[:sort_order] && !OCI::Jms::Models::SORT_ORDER_ENUM.include?(opts[:sort_order]) raise 'Invalid value for "sort_order", must be one of the values in OCI::Jms::Models::SORT_ORDER_ENUM.' end if opts[:sort_by] && !OCI::Jms::Models::APPLICATION_INSTALLATION_SORT_BY_ENUM.include?(opts[:sort_by]) raise 'Invalid value for "sort_by", must be one of the values in OCI::Jms::Models::APPLICATION_INSTALLATION_SORT_BY_ENUM.' end raise "Parameter value for 'fleet_id' must not be blank" if OCI::Internal::Util.blank_string?(fleet_id) path = '/fleets/{fleetId}/actions/summarizeApplicationInstallationUsage'.sub('{fleetId}', fleet_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:applicationInstallationKey] = opts[:application_installation_key] if opts[:application_installation_key] query_params[:applicationId] = opts[:application_id] if opts[:application_id] query_params[:displayName] = opts[:display_name] if opts[:display_name] query_params[:displayNameContains] = opts[:display_name_contains] if opts[:display_name_contains] query_params[:applicationType] = opts[:application_type] if opts[:application_type] query_params[:appInstallationPathContains] = opts[:app_installation_path_contains] if opts[:app_installation_path_contains] query_params[:jreVendor] = opts[:jre_vendor] if opts[:jre_vendor] query_params[:jreDistribution] = opts[:jre_distribution] if opts[:jre_distribution] query_params[:jreVersion] = opts[:jre_version] if opts[:jre_version] query_params[:installationPath] = opts[:installation_path] if opts[:installation_path] query_params[:libraryKey] = opts[:library_key] if opts[:library_key] query_params[:managedInstanceId] = opts[:managed_instance_id] if opts[:managed_instance_id] query_params[:osFamily] = OCI::ApiClient.build_collection_params(opts[:os_family], :multi) if opts[:os_family] && !opts[:os_family].empty? query_params[:timeStart] = opts[:time_start] if opts[:time_start] query_params[:timeEnd] = opts[:time_end] if opts[:time_end] query_params[:limit] = opts[:limit] if opts[:limit] query_params[:page] = opts[:page] if opts[:page] query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order] query_params[:sortBy] = opts[:sort_by] if opts[:sort_by] # 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: 'JavaManagementServiceClient#summarize_application_installation_usage') 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::Jms::Models::ApplicationInstallationUsageSummaryCollection' ) end # rubocop:enable Metrics/BlockLength end |
#summarize_application_usage(fleet_id, opts = {}) ⇒ Response
Click here to see an example of how to use summarize_application_usage API.
List application usage in a Fleet filtered by query parameters.
5255 5256 5257 5258 5259 5260 5261 5262 5263 5264 5265 5266 5267 5268 5269 5270 5271 5272 5273 5274 5275 5276 5277 5278 5279 5280 5281 5282 5283 5284 5285 5286 5287 5288 5289 5290 5291 5292 5293 5294 5295 5296 5297 5298 5299 5300 5301 5302 5303 5304 5305 5306 5307 5308 5309 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 |
# File 'lib/oci/jms/java_management_service_client.rb', line 5255 def summarize_application_usage(fleet_id, opts = {}) logger.debug 'Calling operation JavaManagementServiceClient#summarize_application_usage.' if logger raise "Missing the required parameter 'fleet_id' when calling summarize_application_usage." if fleet_id.nil? fields_allowable_values = %w[approximateJreCount approximateInstallationCount approximateManagedInstanceCount] if opts[:fields] && !opts[:fields].empty? opts[:fields].each do |val_to_check| unless fields_allowable_values.include?(val_to_check) raise 'Invalid value for "fields", must be one of approximateJreCount, approximateInstallationCount, approximateManagedInstanceCount.' end end end if opts[:sort_order] && !OCI::Jms::Models::SORT_ORDER_ENUM.include?(opts[:sort_order]) raise 'Invalid value for "sort_order", must be one of the values in OCI::Jms::Models::SORT_ORDER_ENUM.' end if opts[:sort_by] && !OCI::Jms::Models::APPLICATION_SORT_BY_ENUM.include?(opts[:sort_by]) raise 'Invalid value for "sort_by", must be one of the values in OCI::Jms::Models::APPLICATION_SORT_BY_ENUM.' end os_family_allowable_values = %w[LINUX WINDOWS MACOS UNKNOWN] if opts[:os_family] && !opts[:os_family].empty? opts[:os_family].each do |val_to_check| unless os_family_allowable_values.include?(val_to_check) raise 'Invalid value for "os_family", must be one of LINUX, WINDOWS, MACOS, UNKNOWN.' end end end raise "Parameter value for 'fleet_id' must not be blank" if OCI::Internal::Util.blank_string?(fleet_id) path = '/fleets/{fleetId}/actions/summarizeApplicationUsage'.sub('{fleetId}', fleet_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:applicationId] = opts[:application_id] if opts[:application_id] query_params[:displayName] = opts[:display_name] if opts[:display_name] query_params[:applicationType] = opts[:application_type] if opts[:application_type] query_params[:jreVendor] = opts[:jre_vendor] if opts[:jre_vendor] query_params[:jreDistribution] = opts[:jre_distribution] if opts[:jre_distribution] query_params[:jreVersion] = opts[:jre_version] if opts[:jre_version] query_params[:installationPath] = opts[:installation_path] if opts[:installation_path] query_params[:managedInstanceId] = opts[:managed_instance_id] if opts[:managed_instance_id] query_params[:fields] = OCI::ApiClient.build_collection_params(opts[:fields], :multi) if opts[:fields] && !opts[:fields].empty? query_params[:timeStart] = opts[:time_start] if opts[:time_start] query_params[:timeEnd] = opts[:time_end] if opts[:time_end] query_params[:limit] = opts[:limit] if opts[:limit] query_params[:page] = opts[:page] if opts[:page] query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order] query_params[:sortBy] = opts[:sort_by] if opts[:sort_by] query_params[:osFamily] = OCI::ApiClient.build_collection_params(opts[:os_family], :multi) if opts[:os_family] && !opts[:os_family].empty? query_params[:displayNameContains] = opts[:display_name_contains] if opts[:display_name_contains] query_params[:libraryKey] = opts[:library_key] if opts[:library_key] # 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: 'JavaManagementServiceClient#summarize_application_usage') 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::Jms::Models::ApplicationUsageCollection' ) end # rubocop:enable Metrics/BlockLength end |
#summarize_deployed_application_installation_usage(fleet_id, opts = {}) ⇒ Response
Click here to see an example of how to use summarize_deployed_application_installation_usage API.
Summarize installation usage of an application deployed on Java servers in a fleet filtered by query parameters. In contrast to SummarizeDeployedApplicationUsage, which provides only information aggregated by the deployment information, this operation provides installation details and allows for better focusing of actions.
5381 5382 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 5423 5424 5425 5426 5427 5428 5429 5430 5431 5432 5433 5434 5435 5436 5437 5438 5439 5440 |
# File 'lib/oci/jms/java_management_service_client.rb', line 5381 def summarize_deployed_application_installation_usage(fleet_id, opts = {}) logger.debug 'Calling operation JavaManagementServiceClient#summarize_deployed_application_installation_usage.' if logger raise "Missing the required parameter 'fleet_id' when calling summarize_deployed_application_installation_usage." if fleet_id.nil? if opts[:sort_order] && !OCI::Jms::Models::SORT_ORDER_ENUM.include?(opts[:sort_order]) raise 'Invalid value for "sort_order", must be one of the values in OCI::Jms::Models::SORT_ORDER_ENUM.' end if opts[:sort_by] && !OCI::Jms::Models::DEPLOYED_APPLICATION_INSTALLATION_SORT_BY_ENUM.include?(opts[:sort_by]) raise 'Invalid value for "sort_by", must be one of the values in OCI::Jms::Models::DEPLOYED_APPLICATION_INSTALLATION_SORT_BY_ENUM.' end raise "Parameter value for 'fleet_id' must not be blank" if OCI::Internal::Util.blank_string?(fleet_id) path = '/fleets/{fleetId}/actions/summarizeDeployedApplicationInstallationUsage'.sub('{fleetId}', fleet_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:serverKey] = opts[:server_key] if opts[:server_key] query_params[:serverInstanceKey] = opts[:server_instance_key] if opts[:server_instance_key] query_params[:managedInstanceId] = opts[:managed_instance_id] if opts[:managed_instance_id] query_params[:applicationInstallationKey] = opts[:application_installation_key] if opts[:application_installation_key] query_params[:applicationKey] = opts[:application_key] if opts[:application_key] query_params[:applicationNameContains] = opts[:application_name_contains] if opts[:application_name_contains] query_params[:applicationName] = opts[:application_name] if opts[:application_name] query_params[:applicationSourcePathContains] = opts[:application_source_path_contains] if opts[:application_source_path_contains] query_params[:libraryKey] = opts[:library_key] if opts[:library_key] query_params[:timeStart] = opts[:time_start] if opts[:time_start] query_params[:timeEnd] = opts[:time_end] if opts[:time_end] query_params[:limit] = opts[:limit] if opts[:limit] query_params[:page] = opts[:page] if opts[:page] query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order] query_params[:sortBy] = opts[:sort_by] if opts[:sort_by] # 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: 'JavaManagementServiceClient#summarize_deployed_application_installation_usage') 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::Jms::Models::DeployedApplicationInstallationUsageSummaryCollection' ) end # rubocop:enable Metrics/BlockLength end |
#summarize_deployed_application_usage(fleet_id, opts = {}) ⇒ Response
Click here to see an example of how to use summarize_deployed_application_usage API.
List of deployed applications in a Fleet filtered by query parameters.
5480 5481 5482 5483 5484 5485 5486 5487 5488 5489 5490 5491 5492 5493 5494 5495 5496 5497 5498 5499 5500 5501 5502 5503 5504 5505 5506 5507 5508 5509 5510 5511 5512 5513 5514 5515 5516 5517 5518 5519 5520 5521 5522 5523 5524 5525 5526 5527 5528 5529 5530 5531 5532 5533 5534 5535 5536 5537 |
# File 'lib/oci/jms/java_management_service_client.rb', line 5480 def summarize_deployed_application_usage(fleet_id, opts = {}) logger.debug 'Calling operation JavaManagementServiceClient#summarize_deployed_application_usage.' if logger raise "Missing the required parameter 'fleet_id' when calling summarize_deployed_application_usage." if fleet_id.nil? if opts[:sort_order] && !OCI::Jms::Models::SORT_ORDER_ENUM.include?(opts[:sort_order]) raise 'Invalid value for "sort_order", must be one of the values in OCI::Jms::Models::SORT_ORDER_ENUM.' end if opts[:sort_by] && !OCI::Jms::Models::DEPLOYED_APPLICATION_SORT_BY_ENUM.include?(opts[:sort_by]) raise 'Invalid value for "sort_by", must be one of the values in OCI::Jms::Models::DEPLOYED_APPLICATION_SORT_BY_ENUM.' end raise "Parameter value for 'fleet_id' must not be blank" if OCI::Internal::Util.blank_string?(fleet_id) path = '/fleets/{fleetId}/actions/summarizeDeployedApplicationUsage'.sub('{fleetId}', fleet_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:serverKey] = opts[:server_key] if opts[:server_key] query_params[:serverInstanceKey] = opts[:server_instance_key] if opts[:server_instance_key] query_params[:managedInstanceId] = opts[:managed_instance_id] if opts[:managed_instance_id] query_params[:libraryKey] = opts[:library_key] if opts[:library_key] query_params[:applicationKey] = opts[:application_key] if opts[:application_key] query_params[:applicationNameContains] = opts[:application_name_contains] if opts[:application_name_contains] query_params[:applicationName] = opts[:application_name] if opts[:application_name] query_params[:timeStart] = opts[:time_start] if opts[:time_start] query_params[:timeEnd] = opts[:time_end] if opts[:time_end] query_params[:limit] = opts[:limit] if opts[:limit] query_params[:page] = opts[:page] if opts[:page] query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order] query_params[:sortBy] = opts[:sort_by] if opts[:sort_by] # 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: 'JavaManagementServiceClient#summarize_deployed_application_usage') 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::Jms::Models::DeployedApplicationUsageCollection' ) end # rubocop:enable Metrics/BlockLength end |
#summarize_fleet_errors(opts = {}) ⇒ Response
Click here to see an example of how to use summarize_fleet_errors API.
Returns a high level summary of FleetErrors.
5560 5561 5562 5563 5564 5565 5566 5567 5568 5569 5570 5571 5572 5573 5574 5575 5576 5577 5578 5579 5580 5581 5582 5583 5584 5585 5586 5587 5588 5589 5590 5591 5592 5593 5594 5595 5596 5597 5598 |
# File 'lib/oci/jms/java_management_service_client.rb', line 5560 def summarize_fleet_errors(opts = {}) logger.debug 'Calling operation JavaManagementServiceClient#summarize_fleet_errors.' if logger path = '/fleetErrorAnalytics' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:compartmentId] = opts[:compartment_id] if opts[:compartment_id] query_params[:compartmentIdInSubtree] = opts[:compartment_id_in_subtree] if !opts[:compartment_id_in_subtree].nil? query_params[:limit] = opts[:limit] if opts[:limit] query_params[:page] = opts[:page] if opts[:page] # 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: 'JavaManagementServiceClient#summarize_fleet_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: 'OCI::Jms::Models::FleetErrorAggregationCollection' ) end # rubocop:enable Metrics/BlockLength end |
#summarize_installation_usage(fleet_id, opts = {}) ⇒ Response
Click here to see an example of how to use summarize_installation_usage API.
List Java installation usage in a Fleet filtered by query parameters.
5642 5643 5644 5645 5646 5647 5648 5649 5650 5651 5652 5653 5654 5655 5656 5657 5658 5659 5660 5661 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 5702 5703 5704 5705 5706 5707 5708 5709 5710 5711 5712 5713 5714 5715 5716 5717 5718 5719 5720 5721 5722 5723 5724 5725 5726 |
# File 'lib/oci/jms/java_management_service_client.rb', line 5642 def summarize_installation_usage(fleet_id, opts = {}) logger.debug 'Calling operation JavaManagementServiceClient#summarize_installation_usage.' if logger raise "Missing the required parameter 'fleet_id' when calling summarize_installation_usage." if fleet_id.nil? fields_allowable_values = %w[approximateApplicationCount approximateManagedInstanceCount] if opts[:fields] && !opts[:fields].empty? opts[:fields].each do |val_to_check| unless fields_allowable_values.include?(val_to_check) raise 'Invalid value for "fields", must be one of approximateApplicationCount, approximateManagedInstanceCount.' end end end if opts[:sort_order] && !OCI::Jms::Models::SORT_ORDER_ENUM.include?(opts[:sort_order]) raise 'Invalid value for "sort_order", must be one of the values in OCI::Jms::Models::SORT_ORDER_ENUM.' end if opts[:sort_by] && !OCI::Jms::Models::INSTALLATION_SORT_BY_ENUM.include?(opts[:sort_by]) raise 'Invalid value for "sort_by", must be one of the values in OCI::Jms::Models::INSTALLATION_SORT_BY_ENUM.' end os_family_allowable_values = %w[LINUX WINDOWS MACOS UNKNOWN] if opts[:os_family] && !opts[:os_family].empty? opts[:os_family].each do |val_to_check| unless os_family_allowable_values.include?(val_to_check) raise 'Invalid value for "os_family", must be one of LINUX, WINDOWS, MACOS, UNKNOWN.' end end end if opts[:jre_security_status] && !OCI::Jms::Models::JRE_SECURITY_STATUS_ENUM.include?(opts[:jre_security_status]) raise 'Invalid value for "jre_security_status", must be one of the values in OCI::Jms::Models::JRE_SECURITY_STATUS_ENUM.' end raise "Parameter value for 'fleet_id' must not be blank" if OCI::Internal::Util.blank_string?(fleet_id) path = '/fleets/{fleetId}/actions/summarizeInstallationUsage'.sub('{fleetId}', fleet_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:jreVendor] = opts[:jre_vendor] if opts[:jre_vendor] query_params[:jreDistribution] = opts[:jre_distribution] if opts[:jre_distribution] query_params[:jreVersion] = opts[:jre_version] if opts[:jre_version] query_params[:installationPath] = opts[:installation_path] if opts[:installation_path] query_params[:applicationId] = opts[:application_id] if opts[:application_id] query_params[:managedInstanceId] = opts[:managed_instance_id] if opts[:managed_instance_id] query_params[:fields] = OCI::ApiClient.build_collection_params(opts[:fields], :multi) if opts[:fields] && !opts[:fields].empty? query_params[:timeStart] = opts[:time_start] if opts[:time_start] query_params[:timeEnd] = opts[:time_end] if opts[:time_end] query_params[:limit] = opts[:limit] if opts[:limit] query_params[:page] = opts[:page] if opts[:page] query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order] query_params[:sortBy] = opts[:sort_by] if opts[:sort_by] query_params[:osFamily] = OCI::ApiClient.build_collection_params(opts[:os_family], :multi) if opts[:os_family] && !opts[:os_family].empty? query_params[:pathContains] = opts[:path_contains] if opts[:path_contains] query_params[:jreSecurityStatus] = opts[:jre_security_status] if opts[:jre_security_status] # 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: 'JavaManagementServiceClient#summarize_installation_usage') 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::Jms::Models::InstallationUsageCollection' ) end # rubocop:enable Metrics/BlockLength end |
#summarize_java_server_instance_usage(fleet_id, opts = {}) ⇒ Response
Click here to see an example of how to use summarize_java_server_instance_usage API.
List Java Server instances in a fleet filtered by query parameters.
5766 5767 5768 5769 5770 5771 5772 5773 5774 5775 5776 5777 5778 5779 5780 5781 5782 5783 5784 5785 5786 5787 5788 5789 5790 5791 5792 5793 5794 5795 5796 5797 5798 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 |
# File 'lib/oci/jms/java_management_service_client.rb', line 5766 def summarize_java_server_instance_usage(fleet_id, opts = {}) logger.debug 'Calling operation JavaManagementServiceClient#summarize_java_server_instance_usage.' if logger raise "Missing the required parameter 'fleet_id' when calling summarize_java_server_instance_usage." if fleet_id.nil? if opts[:sort_order] && !OCI::Jms::Models::SORT_ORDER_ENUM.include?(opts[:sort_order]) raise 'Invalid value for "sort_order", must be one of the values in OCI::Jms::Models::SORT_ORDER_ENUM.' end if opts[:sort_by] && !OCI::Jms::Models::JAVA_SERVER_INSTANCE_SORT_BY_ENUM.include?(opts[:sort_by]) raise 'Invalid value for "sort_by", must be one of the values in OCI::Jms::Models::JAVA_SERVER_INSTANCE_SORT_BY_ENUM.' end raise "Parameter value for 'fleet_id' must not be blank" if OCI::Internal::Util.blank_string?(fleet_id) path = '/fleets/{fleetId}/actions/summarizeJavaServerInstanceUsage'.sub('{fleetId}', fleet_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:serverKey] = opts[:server_key] if opts[:server_key] query_params[:serverInstanceKey] = opts[:server_instance_key] if opts[:server_instance_key] query_params[:managedInstanceId] = opts[:managed_instance_id] if opts[:managed_instance_id] query_params[:applicationKey] = opts[:application_key] if opts[:application_key] query_params[:libraryKey] = opts[:library_key] if opts[:library_key] query_params[:serverInstanceNameContains] = opts[:server_instance_name_contains] if opts[:server_instance_name_contains] query_params[:serverInstanceName] = opts[:server_instance_name] if opts[:server_instance_name] query_params[:timeStart] = opts[:time_start] if opts[:time_start] query_params[:timeEnd] = opts[:time_end] if opts[:time_end] query_params[:limit] = opts[:limit] if opts[:limit] query_params[:page] = opts[:page] if opts[:page] query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order] query_params[:sortBy] = opts[:sort_by] if opts[:sort_by] # 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: 'JavaManagementServiceClient#summarize_java_server_instance_usage') 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::Jms::Models::JavaServerInstanceUsageCollection' ) end # rubocop:enable Metrics/BlockLength end |
#summarize_java_server_usage(fleet_id, opts = {}) ⇒ Response
Click here to see an example of how to use summarize_java_server_usage API.
List of Java servers in a Fleet filtered by query parameters.
5858 5859 5860 5861 5862 5863 5864 5865 5866 5867 5868 5869 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 5910 5911 5912 |
# File 'lib/oci/jms/java_management_service_client.rb', line 5858 def summarize_java_server_usage(fleet_id, opts = {}) logger.debug 'Calling operation JavaManagementServiceClient#summarize_java_server_usage.' if logger raise "Missing the required parameter 'fleet_id' when calling summarize_java_server_usage." if fleet_id.nil? if opts[:sort_order] && !OCI::Jms::Models::SORT_ORDER_ENUM.include?(opts[:sort_order]) raise 'Invalid value for "sort_order", must be one of the values in OCI::Jms::Models::SORT_ORDER_ENUM.' end if opts[:sort_by] && !OCI::Jms::Models::JAVA_SERVER_SORT_BY_ENUM.include?(opts[:sort_by]) raise 'Invalid value for "sort_by", must be one of the values in OCI::Jms::Models::JAVA_SERVER_SORT_BY_ENUM.' end raise "Parameter value for 'fleet_id' must not be blank" if OCI::Internal::Util.blank_string?(fleet_id) path = '/fleets/{fleetId}/actions/summarizeJavaServerUsage'.sub('{fleetId}', fleet_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:serverKey] = opts[:server_key] if opts[:server_key] query_params[:serverNameContains] = opts[:server_name_contains] if opts[:server_name_contains] query_params[:serverName] = opts[:server_name] if opts[:server_name] query_params[:serverVersion] = opts[:server_version] if opts[:server_version] query_params[:timeStart] = opts[:time_start] if opts[:time_start] query_params[:timeEnd] = opts[:time_end] if opts[:time_end] query_params[:limit] = opts[:limit] if opts[:limit] query_params[:page] = opts[:page] if opts[:page] query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order] query_params[:sortBy] = opts[:sort_by] if opts[:sort_by] # 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: 'JavaManagementServiceClient#summarize_java_server_usage') 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::Jms::Models::JavaServerUsageCollection' ) end # rubocop:enable Metrics/BlockLength end |
#summarize_jre_usage(fleet_id, opts = {}) ⇒ Response
Click here to see an example of how to use summarize_jre_usage API.
List Java Runtime usage in a specified Fleet filtered by query parameters.
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 5981 5982 5983 5984 5985 5986 5987 5988 5989 5990 5991 5992 5993 5994 5995 5996 5997 5998 5999 6000 6001 6002 6003 6004 6005 6006 6007 6008 6009 6010 6011 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 |
# File 'lib/oci/jms/java_management_service_client.rb', line 5956 def summarize_jre_usage(fleet_id, opts = {}) logger.debug 'Calling operation JavaManagementServiceClient#summarize_jre_usage.' if logger raise "Missing the required parameter 'fleet_id' when calling summarize_jre_usage." if fleet_id.nil? fields_allowable_values = %w[approximateInstallationCount approximateApplicationCount approximateManagedInstanceCount] if opts[:fields] && !opts[:fields].empty? opts[:fields].each do |val_to_check| unless fields_allowable_values.include?(val_to_check) raise 'Invalid value for "fields", must be one of approximateInstallationCount, approximateApplicationCount, approximateManagedInstanceCount.' end end end if opts[:sort_order] && !OCI::Jms::Models::SORT_ORDER_ENUM.include?(opts[:sort_order]) raise 'Invalid value for "sort_order", must be one of the values in OCI::Jms::Models::SORT_ORDER_ENUM.' end if opts[:sort_by] && !OCI::Jms::Models::JRE_SORT_BY_ENUM.include?(opts[:sort_by]) raise 'Invalid value for "sort_by", must be one of the values in OCI::Jms::Models::JRE_SORT_BY_ENUM.' end os_family_allowable_values = %w[LINUX WINDOWS MACOS UNKNOWN] if opts[:os_family] && !opts[:os_family].empty? opts[:os_family].each do |val_to_check| unless os_family_allowable_values.include?(val_to_check) raise 'Invalid value for "os_family", must be one of LINUX, WINDOWS, MACOS, UNKNOWN.' end end end if opts[:jre_security_status] && !OCI::Jms::Models::JRE_SECURITY_STATUS_ENUM.include?(opts[:jre_security_status]) raise 'Invalid value for "jre_security_status", must be one of the values in OCI::Jms::Models::JRE_SECURITY_STATUS_ENUM.' end raise "Parameter value for 'fleet_id' must not be blank" if OCI::Internal::Util.blank_string?(fleet_id) path = '/fleets/{fleetId}/actions/summarizeJreUsage'.sub('{fleetId}', fleet_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:jreId] = opts[:jre_id] if opts[:jre_id] query_params[:jreVendor] = opts[:jre_vendor] if opts[:jre_vendor] query_params[:jreDistribution] = opts[:jre_distribution] if opts[:jre_distribution] query_params[:jreVersion] = opts[:jre_version] if opts[:jre_version] query_params[:applicationId] = opts[:application_id] if opts[:application_id] query_params[:managedInstanceId] = opts[:managed_instance_id] if opts[:managed_instance_id] query_params[:fields] = OCI::ApiClient.build_collection_params(opts[:fields], :multi) if opts[:fields] && !opts[:fields].empty? query_params[:timeStart] = opts[:time_start] if opts[:time_start] query_params[:timeEnd] = opts[:time_end] if opts[:time_end] query_params[:limit] = opts[:limit] if opts[:limit] query_params[:page] = opts[:page] if opts[:page] query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order] query_params[:sortBy] = opts[:sort_by] if opts[:sort_by] query_params[:osFamily] = OCI::ApiClient.build_collection_params(opts[:os_family], :multi) if opts[:os_family] && !opts[:os_family].empty? query_params[:jreSecurityStatus] = opts[:jre_security_status] if opts[:jre_security_status] # 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: 'JavaManagementServiceClient#summarize_jre_usage') 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::Jms::Models::JreUsageCollection' ) end # rubocop:enable Metrics/BlockLength end |
#summarize_library_inventory(fleet_id, opts = {}) ⇒ Response
Click here to see an example of how to use summarize_library_inventory API.
Retrieve the inventory of libraries in the specified fleet: Statically detected library count, Dynamically detected library count, Uncorrelated package count, High, Medium and Low severity library count.
6062 6063 6064 6065 6066 6067 6068 6069 6070 6071 6072 6073 6074 6075 6076 6077 6078 6079 6080 6081 6082 6083 6084 6085 6086 6087 6088 6089 6090 6091 6092 6093 6094 6095 6096 6097 6098 6099 6100 6101 6102 |
# File 'lib/oci/jms/java_management_service_client.rb', line 6062 def summarize_library_inventory(fleet_id, opts = {}) logger.debug 'Calling operation JavaManagementServiceClient#summarize_library_inventory.' if logger raise "Missing the required parameter 'fleet_id' when calling summarize_library_inventory." if fleet_id.nil? raise "Parameter value for 'fleet_id' must not be blank" if OCI::Internal::Util.blank_string?(fleet_id) path = '/fleets/{fleetId}/summarizeLibraryInventory'.sub('{fleetId}', fleet_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:managedInstanceId] = opts[:managed_instance_id] if opts[:managed_instance_id] query_params[:applicationId] = opts[:application_id] if opts[:application_id] query_params[:timeStart] = opts[:time_start] if opts[:time_start] query_params[:timeEnd] = opts[:time_end] if opts[:time_end] # 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: 'JavaManagementServiceClient#summarize_library_inventory') 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::Jms::Models::LibraryInventory' ) end # rubocop:enable Metrics/BlockLength end |
#summarize_library_usage(fleet_id, opts = {}) ⇒ Response
Click here to see an example of how to use summarize_library_usage API.
List libraries in a fleet filtered by query parameters.
6142 6143 6144 6145 6146 6147 6148 6149 6150 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 6189 6190 6191 6192 6193 6194 6195 6196 6197 6198 6199 6200 |
# File 'lib/oci/jms/java_management_service_client.rb', line 6142 def summarize_library_usage(fleet_id, opts = {}) logger.debug 'Calling operation JavaManagementServiceClient#summarize_library_usage.' if logger raise "Missing the required parameter 'fleet_id' when calling summarize_library_usage." if fleet_id.nil? if opts[:sort_order] && !OCI::Jms::Models::SORT_ORDER_ENUM.include?(opts[:sort_order]) raise 'Invalid value for "sort_order", must be one of the values in OCI::Jms::Models::SORT_ORDER_ENUM.' end if opts[:sort_by] && !OCI::Jms::Models::LIBRARY_SORT_BY_ENUM.include?(opts[:sort_by]) raise 'Invalid value for "sort_by", must be one of the values in OCI::Jms::Models::LIBRARY_SORT_BY_ENUM.' end raise "Parameter value for 'fleet_id' must not be blank" if OCI::Internal::Util.blank_string?(fleet_id) path = '/fleets/{fleetId}/actions/summarizeLibraryUsage'.sub('{fleetId}', fleet_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:serverInstanceKey] = opts[:server_instance_key] if opts[:server_instance_key] query_params[:managedInstanceId] = opts[:managed_instance_id] if opts[:managed_instance_id] query_params[:applicationKey] = opts[:application_key] if opts[:application_key] query_params[:libraryKey] = opts[:library_key] if opts[:library_key] query_params[:libraryNameContains] = opts[:library_name_contains] if opts[:library_name_contains] query_params[:libraryName] = opts[:library_name] if opts[:library_name] query_params[:cvssScoreGreaterThan] = opts[:cvss_score_greater_than] if opts[:cvss_score_greater_than] query_params[:cvssScoreLessThan] = opts[:cvss_score_less_than] if opts[:cvss_score_less_than] query_params[:timeStart] = opts[:time_start] if opts[:time_start] query_params[:timeEnd] = opts[:time_end] if opts[:time_end] query_params[:limit] = opts[:limit] if opts[:limit] query_params[:page] = opts[:page] if opts[:page] query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order] query_params[:sortBy] = opts[:sort_by] if opts[:sort_by] # 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: 'JavaManagementServiceClient#summarize_library_usage') 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::Jms::Models::LibraryUsageCollection' ) end # rubocop:enable Metrics/BlockLength end |
#summarize_managed_instance_usage(fleet_id, opts = {}) ⇒ Response
Click here to see an example of how to use summarize_managed_instance_usage API.
List managed instance usage in a Fleet filtered by query parameters.
6247 6248 6249 6250 6251 6252 6253 6254 6255 6256 6257 6258 6259 6260 6261 6262 6263 6264 6265 6266 6267 6268 6269 6270 6271 6272 6273 6274 6275 6276 6277 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 6318 6319 6320 6321 6322 6323 6324 6325 6326 6327 6328 6329 6330 6331 6332 |
# File 'lib/oci/jms/java_management_service_client.rb', line 6247 def summarize_managed_instance_usage(fleet_id, opts = {}) logger.debug 'Calling operation JavaManagementServiceClient#summarize_managed_instance_usage.' if logger raise "Missing the required parameter 'fleet_id' when calling summarize_managed_instance_usage." if fleet_id.nil? if opts[:managed_instance_type] && !OCI::Jms::Models::MANAGED_INSTANCE_TYPE_ENUM.include?(opts[:managed_instance_type]) raise 'Invalid value for "managed_instance_type", must be one of the values in OCI::Jms::Models::MANAGED_INSTANCE_TYPE_ENUM.' end fields_allowable_values = %w[approximateJreCount approximateInstallationCount approximateApplicationCount] if opts[:fields] && !opts[:fields].empty? opts[:fields].each do |val_to_check| unless fields_allowable_values.include?(val_to_check) raise 'Invalid value for "fields", must be one of approximateJreCount, approximateInstallationCount, approximateApplicationCount.' end end end if opts[:sort_order] && !OCI::Jms::Models::SORT_ORDER_ENUM.include?(opts[:sort_order]) raise 'Invalid value for "sort_order", must be one of the values in OCI::Jms::Models::SORT_ORDER_ENUM.' end if opts[:sort_by] && !OCI::Jms::Models::MANAGED_INSTANCE_SORT_BY_ENUM.include?(opts[:sort_by]) raise 'Invalid value for "sort_by", must be one of the values in OCI::Jms::Models::MANAGED_INSTANCE_SORT_BY_ENUM.' end os_family_allowable_values = %w[LINUX WINDOWS MACOS UNKNOWN] if opts[:os_family] && !opts[:os_family].empty? opts[:os_family].each do |val_to_check| unless os_family_allowable_values.include?(val_to_check) raise 'Invalid value for "os_family", must be one of LINUX, WINDOWS, MACOS, UNKNOWN.' end end end raise "Parameter value for 'fleet_id' must not be blank" if OCI::Internal::Util.blank_string?(fleet_id) path = '/fleets/{fleetId}/actions/summarizeManagedInstanceUsage'.sub('{fleetId}', fleet_id.to_s) operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:managedInstanceId] = opts[:managed_instance_id] if opts[:managed_instance_id] query_params[:managedInstanceType] = opts[:managed_instance_type] if opts[:managed_instance_type] query_params[:jreVendor] = opts[:jre_vendor] if opts[:jre_vendor] query_params[:jreDistribution] = opts[:jre_distribution] if opts[:jre_distribution] query_params[:jreVersion] = opts[:jre_version] if opts[:jre_version] query_params[:installationPath] = opts[:installation_path] if opts[:installation_path] query_params[:applicationId] = opts[:application_id] if opts[:application_id] query_params[:fields] = OCI::ApiClient.build_collection_params(opts[:fields], :multi) if opts[:fields] && !opts[:fields].empty? query_params[:timeStart] = opts[:time_start] if opts[:time_start] query_params[:timeEnd] = opts[:time_end] if opts[:time_end] query_params[:limit] = opts[:limit] if opts[:limit] query_params[:page] = opts[:page] if opts[:page] query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order] query_params[:sortBy] = opts[:sort_by] if opts[:sort_by] query_params[:osFamily] = OCI::ApiClient.build_collection_params(opts[:os_family], :multi) if opts[:os_family] && !opts[:os_family].empty? query_params[:hostnameContains] = opts[:hostname_contains] if opts[:hostname_contains] query_params[:libraryKey] = opts[:library_key] if opts[:library_key] # 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: 'JavaManagementServiceClient#summarize_managed_instance_usage') 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::Jms::Models::ManagedInstanceUsageCollection' ) end # rubocop:enable Metrics/BlockLength end |
#summarize_plugin_errors(opts = {}) ⇒ Response
Click here to see an example of how to use summarize_plugin_errors API.
Returns a high level summary of PluginErrors.
6355 6356 6357 6358 6359 6360 6361 6362 6363 6364 6365 6366 6367 6368 6369 6370 6371 6372 6373 6374 6375 6376 6377 6378 6379 6380 6381 6382 6383 6384 6385 6386 6387 6388 6389 6390 6391 6392 6393 |
# File 'lib/oci/jms/java_management_service_client.rb', line 6355 def summarize_plugin_errors(opts = {}) logger.debug 'Calling operation JavaManagementServiceClient#summarize_plugin_errors.' if logger path = '/pluginErrorAnalytics' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:compartmentId] = opts[:compartment_id] if opts[:compartment_id] query_params[:compartmentIdInSubtree] = opts[:compartment_id_in_subtree] if !opts[:compartment_id_in_subtree].nil? query_params[:limit] = opts[:limit] if opts[:limit] query_params[:page] = opts[:page] if opts[:page] # 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: 'JavaManagementServiceClient#summarize_plugin_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: 'OCI::Jms::Models::PluginErrorAggregationCollection' ) end # rubocop:enable Metrics/BlockLength end |
#summarize_resource_inventory(opts = {}) ⇒ Response
Click here to see an example of how to use summarize_resource_inventory API.
Retrieve the inventory of JMS resources in the specified compartment: a list of the number of active fleets, managed instances, Java Runtimes, Java installations, and applications.
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 6450 6451 6452 6453 6454 6455 |
# File 'lib/oci/jms/java_management_service_client.rb', line 6417 def summarize_resource_inventory(opts = {}) logger.debug 'Calling operation JavaManagementServiceClient#summarize_resource_inventory.' if logger path = '/summarizeResourceInventory' operation_signing_strategy = :standard # rubocop:disable Style/NegatedIf # Query Params query_params = {} query_params[:compartmentId] = opts[:compartment_id] if opts[:compartment_id] query_params[:compartmentIdInSubtree] = opts[:compartment_id_in_subtree] if !opts[:compartment_id_in_subtree].nil? query_params[:timeStart] = opts[:time_start] if opts[:time_start] query_params[:timeEnd] = opts[:time_end] if opts[:time_end] # 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: 'JavaManagementServiceClient#summarize_resource_inventory') 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::Jms::Models::ResourceInventory' ) end # rubocop:enable Metrics/BlockLength end |
#update_drs_file(fleet_id, update_drs_file_details, drs_file_key, opts = {}) ⇒ Response
Click here to see an example of how to use update_drs_file API.
Request to perform validation of the DRS file and update the existing file in the Object Storage.
6488 6489 6490 6491 6492 6493 6494 6495 6496 6497 6498 6499 6500 6501 6502 6503 6504 6505 6506 6507 6508 6509 6510 6511 6512 6513 6514 6515 6516 6517 6518 6519 6520 6521 6522 6523 6524 6525 6526 6527 6528 6529 |
# File 'lib/oci/jms/java_management_service_client.rb', line 6488 def update_drs_file(fleet_id, update_drs_file_details, drs_file_key, opts = {}) logger.debug 'Calling operation JavaManagementServiceClient#update_drs_file.' if logger raise "Missing the required parameter 'fleet_id' when calling update_drs_file." if fleet_id.nil? raise "Missing the required parameter 'update_drs_file_details' when calling update_drs_file." if update_drs_file_details.nil? raise "Missing the required parameter 'drs_file_key' when calling update_drs_file." if drs_file_key.nil? raise "Parameter value for 'fleet_id' must not be blank" if OCI::Internal::Util.blank_string?(fleet_id) raise "Parameter value for 'drs_file_key' must not be blank" if OCI::Internal::Util.blank_string?(drs_file_key) path = '/fleets/{fleetId}/drsFiles/{drsFileKey}'.sub('{fleetId}', fleet_id.to_s).sub('{drsFileKey}', drs_file_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 = @api_client.object_to_http_body(update_drs_file_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'JavaManagementServiceClient#update_drs_file') 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_export_setting(fleet_id, update_export_setting_details, opts = {}) ⇒ Response
Click here to see an example of how to use update_export_setting API.
Updates existing export setting for the specified fleet.
6554 6555 6556 6557 6558 6559 6560 6561 6562 6563 6564 6565 6566 6567 6568 6569 6570 6571 6572 6573 6574 6575 6576 6577 6578 6579 6580 6581 6582 6583 6584 6585 6586 6587 6588 6589 6590 6591 6592 |
# File 'lib/oci/jms/java_management_service_client.rb', line 6554 def update_export_setting(fleet_id, update_export_setting_details, opts = {}) logger.debug 'Calling operation JavaManagementServiceClient#update_export_setting.' if logger raise "Missing the required parameter 'fleet_id' when calling update_export_setting." if fleet_id.nil? raise "Missing the required parameter 'update_export_setting_details' when calling update_export_setting." if update_export_setting_details.nil? raise "Parameter value for 'fleet_id' must not be blank" if OCI::Internal::Util.blank_string?(fleet_id) path = '/fleets/{fleetId}/exportSetting'.sub('{fleetId}', fleet_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_export_setting_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'JavaManagementServiceClient#update_export_setting') 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, return_type: 'OCI::Jms::Models::ExportSetting' ) end # rubocop:enable Metrics/BlockLength end |
#update_fleet(fleet_id, update_fleet_details, opts = {}) ⇒ Response
Click here to see an example of how to use update_fleet API.
Update the Fleet specified by an identifier.
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 6650 6651 6652 6653 6654 |
# File 'lib/oci/jms/java_management_service_client.rb', line 6617 def update_fleet(fleet_id, update_fleet_details, opts = {}) logger.debug 'Calling operation JavaManagementServiceClient#update_fleet.' if logger raise "Missing the required parameter 'fleet_id' when calling update_fleet." if fleet_id.nil? raise "Missing the required parameter 'update_fleet_details' when calling update_fleet." if update_fleet_details.nil? raise "Parameter value for 'fleet_id' must not be blank" if OCI::Internal::Util.blank_string?(fleet_id) path = '/fleets/{fleetId}'.sub('{fleetId}', fleet_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_fleet_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'JavaManagementServiceClient#update_fleet') 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_fleet_advanced_feature_configuration(fleet_id, update_fleet_advanced_feature_configuration_details, opts = {}) ⇒ Response
Click here to see an example of how to use update_fleet_advanced_feature_configuration API.
Update advanced feature configurations for the Fleet. Ensure that the namespace and bucket storage are created prior to turning on the JfrRecording or CryptoEventAnalysis feature.
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 6724 6725 6726 6727 |
# File 'lib/oci/jms/java_management_service_client.rb', line 6687 def update_fleet_advanced_feature_configuration(fleet_id, update_fleet_advanced_feature_configuration_details, opts = {}) logger.debug 'Calling operation JavaManagementServiceClient#update_fleet_advanced_feature_configuration.' if logger raise "Missing the required parameter 'fleet_id' when calling update_fleet_advanced_feature_configuration." if fleet_id.nil? raise "Missing the required parameter 'update_fleet_advanced_feature_configuration_details' when calling update_fleet_advanced_feature_configuration." if update_fleet_advanced_feature_configuration_details.nil? raise "Parameter value for 'fleet_id' must not be blank" if OCI::Internal::Util.blank_string?(fleet_id) path = '/fleets/{fleetId}/advancedFeatureConfiguration'.sub('{fleetId}', fleet_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_fleet_advanced_feature_configuration_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'JavaManagementServiceClient#update_fleet_advanced_feature_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, return_type: 'OCI::Jms::Models::FleetAdvancedFeatureConfiguration' ) end # rubocop:enable Metrics/BlockLength end |
#update_fleet_agent_configuration(fleet_id, update_fleet_agent_configuration_details, opts = {}) ⇒ Response
Click here to see an example of how to use update_fleet_agent_configuration API.
Update the Fleet Agent Configuration for the specified Fleet.
6752 6753 6754 6755 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 |
# File 'lib/oci/jms/java_management_service_client.rb', line 6752 def update_fleet_agent_configuration(fleet_id, update_fleet_agent_configuration_details, opts = {}) logger.debug 'Calling operation JavaManagementServiceClient#update_fleet_agent_configuration.' if logger raise "Missing the required parameter 'fleet_id' when calling update_fleet_agent_configuration." if fleet_id.nil? raise "Missing the required parameter 'update_fleet_agent_configuration_details' when calling update_fleet_agent_configuration." if update_fleet_agent_configuration_details.nil? raise "Parameter value for 'fleet_id' must not be blank" if OCI::Internal::Util.blank_string?(fleet_id) path = '/fleets/{fleetId}/agentConfiguration'.sub('{fleetId}', fleet_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_fleet_agent_configuration_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'JavaManagementServiceClient#update_fleet_agent_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_jms_plugin(jms_plugin_id, update_jms_plugin_details, opts = {}) ⇒ Response
Click here to see an example of how to use update_jms_plugin API.
Updates the Fleet of a JmsPlugin.
6814 6815 6816 6817 6818 6819 6820 6821 6822 6823 6824 6825 6826 6827 6828 6829 6830 6831 6832 6833 6834 6835 6836 6837 6838 6839 6840 6841 6842 6843 6844 6845 6846 6847 6848 6849 6850 6851 6852 |
# File 'lib/oci/jms/java_management_service_client.rb', line 6814 def update_jms_plugin(jms_plugin_id, update_jms_plugin_details, opts = {}) logger.debug 'Calling operation JavaManagementServiceClient#update_jms_plugin.' if logger raise "Missing the required parameter 'jms_plugin_id' when calling update_jms_plugin." if jms_plugin_id.nil? raise "Missing the required parameter 'update_jms_plugin_details' when calling update_jms_plugin." if update_jms_plugin_details.nil? raise "Parameter value for 'jms_plugin_id' must not be blank" if OCI::Internal::Util.blank_string?(jms_plugin_id) path = '/jmsPlugins/{jmsPluginId}'.sub('{jmsPluginId}', jms_plugin_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_jms_plugin_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'JavaManagementServiceClient#update_jms_plugin') 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, return_type: 'OCI::Jms::Models::JmsPlugin' ) end # rubocop:enable Metrics/BlockLength end |
#update_task_schedule(update_task_schedule_details, task_schedule_id, opts = {}) ⇒ Response
Click here to see an example of how to use update_task_schedule API.
Update the task schedule for the given task type.
6884 6885 6886 6887 6888 6889 6890 6891 6892 6893 6894 6895 6896 6897 6898 6899 6900 6901 6902 6903 6904 6905 6906 6907 6908 6909 6910 6911 6912 6913 6914 6915 6916 6917 6918 6919 6920 6921 6922 6923 6924 |
# File 'lib/oci/jms/java_management_service_client.rb', line 6884 def update_task_schedule(update_task_schedule_details, task_schedule_id, opts = {}) logger.debug 'Calling operation JavaManagementServiceClient#update_task_schedule.' if logger raise "Missing the required parameter 'update_task_schedule_details' when calling update_task_schedule." if update_task_schedule_details.nil? raise "Missing the required parameter 'task_schedule_id' when calling update_task_schedule." if task_schedule_id.nil? raise "Parameter value for 'task_schedule_id' must not be blank" if OCI::Internal::Util.blank_string?(task_schedule_id) path = '/taskSchedules/{taskScheduleId}'.sub('{taskScheduleId}', task_schedule_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] 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_task_schedule_details) # rubocop:disable Metrics/BlockLength OCI::Retry.(applicable_retry_config(opts), call_name: 'JavaManagementServiceClient#update_task_schedule') 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, return_type: 'OCI::Jms::Models::TaskSchedule' ) end # rubocop:enable Metrics/BlockLength end |