oci 2.1.1 → 2.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +26 -1
- data/lib/oci.rb +1 -0
- data/lib/oci/audit/audit_client.rb +65 -30
- data/lib/oci/audit/models/audit_event.rb +17 -1
- data/lib/oci/core/blockstorage_client.rb +336 -197
- data/lib/oci/core/compute_client.rb +601 -357
- data/lib/oci/core/models/attach_volume_details.rb +4 -0
- data/lib/oci/core/models/boot_volume.rb +1 -1
- data/lib/oci/core/models/dhcp_option.rb +4 -0
- data/lib/oci/core/models/export_image_details.rb +4 -0
- data/lib/oci/core/models/image_source_details.rb +4 -0
- data/lib/oci/core/models/instance_source_details.rb +4 -0
- data/lib/oci/core/models/volume_attachment.rb +4 -0
- data/lib/oci/core/models/volume_source_details.rb +4 -0
- data/lib/oci/core/util.rb +29 -0
- data/lib/oci/core/virtual_network_client.rb +1695 -1031
- data/lib/oci/database/database_client.rb +612 -368
- data/lib/oci/database/models/create_data_guard_association_details.rb +4 -0
- data/lib/oci/database/models/create_db_home_with_db_system_id_base.rb +4 -0
- data/lib/oci/dns/dns_client.rb +271 -158
- data/lib/oci/email/email_client.rb +144 -79
- data/lib/oci/file_storage/file_storage_client.rb +354 -207
- data/lib/oci/identity/identity_client.rb +1111 -670
- data/lib/oci/identity/models/create_identity_provider_details.rb +4 -0
- data/lib/oci/identity/models/identity_provider.rb +4 -0
- data/lib/oci/identity/models/update_identity_provider_details.rb +4 -0
- data/lib/oci/load_balancer/load_balancer.rb +4 -0
- data/lib/oci/load_balancer/load_balancer_client.rb +943 -383
- data/lib/oci/load_balancer/load_balancer_client_composite_operations.rb +149 -17
- data/lib/oci/load_balancer/models/backend.rb +5 -5
- data/lib/oci/load_balancer/models/backend_details.rb +4 -4
- data/lib/oci/load_balancer/models/backend_set.rb +1 -1
- data/lib/oci/load_balancer/models/backend_set_health.rb +4 -4
- data/lib/oci/load_balancer/models/certificate.rb +2 -2
- data/lib/oci/load_balancer/models/certificate_details.rb +2 -4
- data/lib/oci/load_balancer/models/connection_configuration.rb +1 -28
- data/lib/oci/load_balancer/models/create_backend_details.rb +4 -4
- data/lib/oci/load_balancer/models/create_backend_set_details.rb +1 -1
- data/lib/oci/load_balancer/models/create_certificate_details.rb +5 -7
- data/lib/oci/load_balancer/models/create_hostname_details.rb +164 -0
- data/lib/oci/load_balancer/models/create_listener_details.rb +19 -5
- data/lib/oci/load_balancer/models/create_load_balancer_details.rb +12 -3
- data/lib/oci/load_balancer/models/create_path_route_set_details.rb +1 -1
- data/lib/oci/load_balancer/models/health_check_result.rb +2 -2
- data/lib/oci/load_balancer/models/health_checker.rb +3 -3
- data/lib/oci/load_balancer/models/health_checker_details.rb +3 -3
- data/lib/oci/load_balancer/models/hostname.rb +164 -0
- data/lib/oci/load_balancer/models/hostname_details.rb +163 -0
- data/lib/oci/load_balancer/models/ip_address.rb +1 -1
- data/lib/oci/load_balancer/models/listener.rb +19 -5
- data/lib/oci/load_balancer/models/listener_details.rb +17 -3
- data/lib/oci/load_balancer/models/load_balancer.rb +13 -2
- data/lib/oci/load_balancer/models/load_balancer_health.rb +3 -3
- data/lib/oci/load_balancer/models/load_balancer_policy.rb +4 -1
- data/lib/oci/load_balancer/models/load_balancer_protocol.rb +5 -2
- data/lib/oci/load_balancer/models/load_balancer_shape.rb +3 -0
- data/lib/oci/load_balancer/models/path_route.rb +1 -1
- data/lib/oci/load_balancer/models/path_route_set.rb +1 -1
- data/lib/oci/load_balancer/models/session_persistence_configuration_details.rb +2 -2
- data/lib/oci/load_balancer/models/ssl_configuration.rb +1 -1
- data/lib/oci/load_balancer/models/ssl_configuration_details.rb +1 -1
- data/lib/oci/load_balancer/models/update_backend_details.rb +3 -3
- data/lib/oci/load_balancer/models/update_health_checker_details.rb +3 -3
- data/lib/oci/load_balancer/models/update_hostname_details.rb +153 -0
- data/lib/oci/load_balancer/models/update_listener_details.rb +17 -3
- data/lib/oci/load_balancer/models/update_load_balancer_details.rb +1 -1
- data/lib/oci/load_balancer/models/work_request.rb +2 -0
- data/lib/oci/object_storage/object_storage_client.rb +443 -270
- data/lib/oci/retry/functions/should_retry_on_error.rb +28 -0
- data/lib/oci/retry/functions/sleep.rb +85 -0
- data/lib/oci/retry/internal/retry_state.rb +48 -0
- data/lib/oci/retry/retry.rb +85 -0
- data/lib/oci/retry/retry_config.rb +121 -0
- data/lib/oci/version.rb +1 -1
- metadata +39 -4
@@ -15,6 +15,12 @@ module OCI
|
|
15
15
|
# @return [String]
|
16
16
|
attr_reader :endpoint
|
17
17
|
|
18
|
+
# The default retry configuration to apply to all operations in this service client. This can be overridden
|
19
|
+
# on a per-operation basis. The default retry configuration value is `nil`, which means that an operation
|
20
|
+
# will not perform any retries
|
21
|
+
# @return [OCI::Retry::RetryConfig]
|
22
|
+
attr_reader :retry_config
|
23
|
+
|
18
24
|
# The region, which will usually correspond to a value in {OCI::Regions::REGION_ENUM}.
|
19
25
|
# @return [String]
|
20
26
|
attr_reader :region
|
@@ -36,7 +42,10 @@ module OCI
|
|
36
42
|
# so that the instance principals signer can be provided to the client
|
37
43
|
# @param [OCI::ApiClientProxySettings] proxy_settings If your environment requires you to use a proxy server for outgoing HTTP requests
|
38
44
|
# the details for the proxy can be provided in this parameter
|
39
|
-
|
45
|
+
# @param [OCI::Retry::RetryConfig] retry_config The retry configuration for this service client. This represents the default retry configuration to
|
46
|
+
# apply across all operations. This can be overridden on a per-operation basis. The default retry configuration value is `nil`, which means that an operation
|
47
|
+
# will not perform any retries
|
48
|
+
def initialize(config: nil, region: nil, signer: nil, proxy_settings: nil, retry_config: nil)
|
40
49
|
# If the signer is an InstancePrincipalsSecurityTokenSigner and no config was supplied (which is valid for instance principals)
|
41
50
|
# then create a dummy config to pass to the ApiClient constructor. If customers wish to create a client which uses instance principals
|
42
51
|
# and has config (either populated programmatically or loaded from a file), they must construct that config themselves and then
|
@@ -60,6 +69,7 @@ module OCI
|
|
60
69
|
end
|
61
70
|
|
62
71
|
@api_client = OCI::ApiClient.new(config, signer, proxy_settings: proxy_settings)
|
72
|
+
@retry_config = retry_config
|
63
73
|
|
64
74
|
region ||= config.region
|
65
75
|
region ||= signer.region if signer.respond_to?(:region)
|
@@ -96,6 +106,8 @@ module OCI
|
|
96
106
|
#
|
97
107
|
# @param [OCI::Identity::Models::AddUserToGroupDetails] add_user_to_group_details Request object for adding a user to a group.
|
98
108
|
# @param [Hash] opts the optional parameters
|
109
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
110
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then then operation will not retry
|
99
111
|
# @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case of a timeout or
|
100
112
|
# server error without risk of executing that same action again. Retry tokens expire after 24
|
101
113
|
# hours, but can be invalidated before then due to conflicting operations (e.g., if a resource
|
@@ -119,19 +131,24 @@ module OCI
|
|
119
131
|
header_params['accept'] = 'application/json'
|
120
132
|
header_params['content-type'] = 'application/json'
|
121
133
|
header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
|
134
|
+
header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
|
122
135
|
|
123
136
|
post_body = @api_client.object_to_http_body(add_user_to_group_details)
|
124
137
|
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
138
|
+
# rubocop:disable Metrics/BlockLength
|
139
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'IdentityClient#add_user_to_group') do
|
140
|
+
@api_client.call_api(
|
141
|
+
:POST,
|
142
|
+
path,
|
143
|
+
endpoint,
|
144
|
+
header_params: header_params,
|
145
|
+
query_params: query_params,
|
146
|
+
operation_signing_strategy: operation_signing_strategy,
|
147
|
+
body: post_body,
|
148
|
+
return_type: 'OCI::Identity::Models::UserGroupMembership'
|
149
|
+
)
|
150
|
+
end
|
151
|
+
# rubocop:enable Metrics/BlockLength
|
135
152
|
end
|
136
153
|
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
137
154
|
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
@@ -164,6 +181,8 @@ module OCI
|
|
164
181
|
#
|
165
182
|
# @param [OCI::Identity::Models::CreateCompartmentDetails] create_compartment_details Request object for creating a new compartment.
|
166
183
|
# @param [Hash] opts the optional parameters
|
184
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
185
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then then operation will not retry
|
167
186
|
# @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case of a timeout or
|
168
187
|
# server error without risk of executing that same action again. Retry tokens expire after 24
|
169
188
|
# hours, but can be invalidated before then due to conflicting operations (e.g., if a resource
|
@@ -187,19 +206,24 @@ module OCI
|
|
187
206
|
header_params['accept'] = 'application/json'
|
188
207
|
header_params['content-type'] = 'application/json'
|
189
208
|
header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
|
209
|
+
header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
|
190
210
|
|
191
211
|
post_body = @api_client.object_to_http_body(create_compartment_details)
|
192
212
|
|
193
|
-
|
194
|
-
|
195
|
-
|
196
|
-
|
197
|
-
|
198
|
-
|
199
|
-
|
200
|
-
|
201
|
-
|
202
|
-
|
213
|
+
# rubocop:disable Metrics/BlockLength
|
214
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'IdentityClient#create_compartment') do
|
215
|
+
@api_client.call_api(
|
216
|
+
:POST,
|
217
|
+
path,
|
218
|
+
endpoint,
|
219
|
+
header_params: header_params,
|
220
|
+
query_params: query_params,
|
221
|
+
operation_signing_strategy: operation_signing_strategy,
|
222
|
+
body: post_body,
|
223
|
+
return_type: 'OCI::Identity::Models::Compartment'
|
224
|
+
)
|
225
|
+
end
|
226
|
+
# rubocop:enable Metrics/BlockLength
|
203
227
|
end
|
204
228
|
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
205
229
|
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
@@ -225,6 +249,8 @@ module OCI
|
|
225
249
|
# @param [OCI::Identity::Models::CreateCustomerSecretKeyDetails] create_customer_secret_key_details Request object for creating a new secret key.
|
226
250
|
# @param [String] user_id The OCID of the user.
|
227
251
|
# @param [Hash] opts the optional parameters
|
252
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
253
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then then operation will not retry
|
228
254
|
# @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case of a timeout or
|
229
255
|
# server error without risk of executing that same action again. Retry tokens expire after 24
|
230
256
|
# hours, but can be invalidated before then due to conflicting operations (e.g., if a resource
|
@@ -250,19 +276,24 @@ module OCI
|
|
250
276
|
header_params['accept'] = 'application/json'
|
251
277
|
header_params['content-type'] = 'application/json'
|
252
278
|
header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
|
279
|
+
header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
|
253
280
|
|
254
281
|
post_body = @api_client.object_to_http_body(create_customer_secret_key_details)
|
255
282
|
|
256
|
-
|
257
|
-
|
258
|
-
|
259
|
-
|
260
|
-
|
261
|
-
|
262
|
-
|
263
|
-
|
264
|
-
|
265
|
-
|
283
|
+
# rubocop:disable Metrics/BlockLength
|
284
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'IdentityClient#create_customer_secret_key') do
|
285
|
+
@api_client.call_api(
|
286
|
+
:POST,
|
287
|
+
path,
|
288
|
+
endpoint,
|
289
|
+
header_params: header_params,
|
290
|
+
query_params: query_params,
|
291
|
+
operation_signing_strategy: operation_signing_strategy,
|
292
|
+
body: post_body,
|
293
|
+
return_type: 'OCI::Identity::Models::CustomerSecretKey'
|
294
|
+
)
|
295
|
+
end
|
296
|
+
# rubocop:enable Metrics/BlockLength
|
266
297
|
end
|
267
298
|
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
268
299
|
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
@@ -294,6 +325,8 @@ module OCI
|
|
294
325
|
#
|
295
326
|
# @param [OCI::Identity::Models::CreateDynamicGroupDetails] create_dynamic_group_details Request object for creating a new dynamic group.
|
296
327
|
# @param [Hash] opts the optional parameters
|
328
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
329
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then then operation will not retry
|
297
330
|
# @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case of a timeout or
|
298
331
|
# server error without risk of executing that same action again. Retry tokens expire after 24
|
299
332
|
# hours, but can be invalidated before then due to conflicting operations (e.g., if a resource
|
@@ -317,19 +350,24 @@ module OCI
|
|
317
350
|
header_params['accept'] = 'application/json'
|
318
351
|
header_params['content-type'] = 'application/json'
|
319
352
|
header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
|
353
|
+
header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
|
320
354
|
|
321
355
|
post_body = @api_client.object_to_http_body(create_dynamic_group_details)
|
322
356
|
|
323
|
-
|
324
|
-
|
325
|
-
|
326
|
-
|
327
|
-
|
328
|
-
|
329
|
-
|
330
|
-
|
331
|
-
|
332
|
-
|
357
|
+
# rubocop:disable Metrics/BlockLength
|
358
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'IdentityClient#create_dynamic_group') do
|
359
|
+
@api_client.call_api(
|
360
|
+
:POST,
|
361
|
+
path,
|
362
|
+
endpoint,
|
363
|
+
header_params: header_params,
|
364
|
+
query_params: query_params,
|
365
|
+
operation_signing_strategy: operation_signing_strategy,
|
366
|
+
body: post_body,
|
367
|
+
return_type: 'OCI::Identity::Models::DynamicGroup'
|
368
|
+
)
|
369
|
+
end
|
370
|
+
# rubocop:enable Metrics/BlockLength
|
333
371
|
end
|
334
372
|
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
335
373
|
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
@@ -364,6 +402,8 @@ module OCI
|
|
364
402
|
#
|
365
403
|
# @param [OCI::Identity::Models::CreateGroupDetails] create_group_details Request object for creating a new group.
|
366
404
|
# @param [Hash] opts the optional parameters
|
405
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
406
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then then operation will not retry
|
367
407
|
# @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case of a timeout or
|
368
408
|
# server error without risk of executing that same action again. Retry tokens expire after 24
|
369
409
|
# hours, but can be invalidated before then due to conflicting operations (e.g., if a resource
|
@@ -387,19 +427,24 @@ module OCI
|
|
387
427
|
header_params['accept'] = 'application/json'
|
388
428
|
header_params['content-type'] = 'application/json'
|
389
429
|
header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
|
430
|
+
header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
|
390
431
|
|
391
432
|
post_body = @api_client.object_to_http_body(create_group_details)
|
392
433
|
|
393
|
-
|
394
|
-
|
395
|
-
|
396
|
-
|
397
|
-
|
398
|
-
|
399
|
-
|
400
|
-
|
401
|
-
|
402
|
-
|
434
|
+
# rubocop:disable Metrics/BlockLength
|
435
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'IdentityClient#create_group') do
|
436
|
+
@api_client.call_api(
|
437
|
+
:POST,
|
438
|
+
path,
|
439
|
+
endpoint,
|
440
|
+
header_params: header_params,
|
441
|
+
query_params: query_params,
|
442
|
+
operation_signing_strategy: operation_signing_strategy,
|
443
|
+
body: post_body,
|
444
|
+
return_type: 'OCI::Identity::Models::Group'
|
445
|
+
)
|
446
|
+
end
|
447
|
+
# rubocop:enable Metrics/BlockLength
|
403
448
|
end
|
404
449
|
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
405
450
|
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
@@ -431,6 +476,8 @@ module OCI
|
|
431
476
|
#
|
432
477
|
# @param [OCI::Identity::Models::CreateIdentityProviderDetails] create_identity_provider_details Request object for creating a new SAML2 identity provider.
|
433
478
|
# @param [Hash] opts the optional parameters
|
479
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
480
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then then operation will not retry
|
434
481
|
# @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case of a timeout or
|
435
482
|
# server error without risk of executing that same action again. Retry tokens expire after 24
|
436
483
|
# hours, but can be invalidated before then due to conflicting operations (e.g., if a resource
|
@@ -454,19 +501,24 @@ module OCI
|
|
454
501
|
header_params['accept'] = 'application/json'
|
455
502
|
header_params['content-type'] = 'application/json'
|
456
503
|
header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
|
504
|
+
header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
|
457
505
|
|
458
506
|
post_body = @api_client.object_to_http_body(create_identity_provider_details)
|
459
507
|
|
460
|
-
|
461
|
-
|
462
|
-
|
463
|
-
|
464
|
-
|
465
|
-
|
466
|
-
|
467
|
-
|
468
|
-
|
469
|
-
|
508
|
+
# rubocop:disable Metrics/BlockLength
|
509
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'IdentityClient#create_identity_provider') do
|
510
|
+
@api_client.call_api(
|
511
|
+
:POST,
|
512
|
+
path,
|
513
|
+
endpoint,
|
514
|
+
header_params: header_params,
|
515
|
+
query_params: query_params,
|
516
|
+
operation_signing_strategy: operation_signing_strategy,
|
517
|
+
body: post_body,
|
518
|
+
return_type: 'OCI::Identity::Models::IdentityProvider'
|
519
|
+
)
|
520
|
+
end
|
521
|
+
# rubocop:enable Metrics/BlockLength
|
470
522
|
end
|
471
523
|
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
472
524
|
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
@@ -483,6 +535,8 @@ module OCI
|
|
483
535
|
# @param [OCI::Identity::Models::CreateIdpGroupMappingDetails] create_idp_group_mapping_details Add a mapping from an SAML2.0 identity provider group to a BMC group.
|
484
536
|
# @param [String] identity_provider_id The OCID of the identity provider.
|
485
537
|
# @param [Hash] opts the optional parameters
|
538
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
539
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then then operation will not retry
|
486
540
|
# @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case of a timeout or
|
487
541
|
# server error without risk of executing that same action again. Retry tokens expire after 24
|
488
542
|
# hours, but can be invalidated before then due to conflicting operations (e.g., if a resource
|
@@ -508,19 +562,24 @@ module OCI
|
|
508
562
|
header_params['accept'] = 'application/json'
|
509
563
|
header_params['content-type'] = 'application/json'
|
510
564
|
header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
|
565
|
+
header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
|
511
566
|
|
512
567
|
post_body = @api_client.object_to_http_body(create_idp_group_mapping_details)
|
513
568
|
|
514
|
-
|
515
|
-
|
516
|
-
|
517
|
-
|
518
|
-
|
519
|
-
|
520
|
-
|
521
|
-
|
522
|
-
|
523
|
-
|
569
|
+
# rubocop:disable Metrics/BlockLength
|
570
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'IdentityClient#create_idp_group_mapping') do
|
571
|
+
@api_client.call_api(
|
572
|
+
:POST,
|
573
|
+
path,
|
574
|
+
endpoint,
|
575
|
+
header_params: header_params,
|
576
|
+
query_params: query_params,
|
577
|
+
operation_signing_strategy: operation_signing_strategy,
|
578
|
+
body: post_body,
|
579
|
+
return_type: 'OCI::Identity::Models::IdpGroupMapping'
|
580
|
+
)
|
581
|
+
end
|
582
|
+
# rubocop:enable Metrics/BlockLength
|
524
583
|
end
|
525
584
|
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
526
585
|
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
@@ -545,6 +604,8 @@ module OCI
|
|
545
604
|
#
|
546
605
|
# @param [String] user_id The OCID of the user.
|
547
606
|
# @param [Hash] opts the optional parameters
|
607
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
608
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then then operation will not retry
|
548
609
|
# @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case of a timeout or
|
549
610
|
# server error without risk of executing that same action again. Retry tokens expire after 24
|
550
611
|
# hours, but can be invalidated before then due to conflicting operations (e.g., if a resource
|
@@ -569,19 +630,24 @@ module OCI
|
|
569
630
|
header_params['accept'] = 'application/json'
|
570
631
|
header_params['content-type'] = 'application/json'
|
571
632
|
header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
|
633
|
+
header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
|
572
634
|
|
573
635
|
post_body = nil
|
574
636
|
|
575
|
-
|
576
|
-
|
577
|
-
|
578
|
-
|
579
|
-
|
580
|
-
|
581
|
-
|
582
|
-
|
583
|
-
|
584
|
-
|
637
|
+
# rubocop:disable Metrics/BlockLength
|
638
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'IdentityClient#create_or_reset_ui_password') do
|
639
|
+
@api_client.call_api(
|
640
|
+
:POST,
|
641
|
+
path,
|
642
|
+
endpoint,
|
643
|
+
header_params: header_params,
|
644
|
+
query_params: query_params,
|
645
|
+
operation_signing_strategy: operation_signing_strategy,
|
646
|
+
body: post_body,
|
647
|
+
return_type: 'OCI::Identity::Models::UIPassword'
|
648
|
+
)
|
649
|
+
end
|
650
|
+
# rubocop:enable Metrics/BlockLength
|
585
651
|
end
|
586
652
|
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
587
653
|
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
@@ -612,6 +678,8 @@ module OCI
|
|
612
678
|
#
|
613
679
|
# @param [OCI::Identity::Models::CreatePolicyDetails] create_policy_details Request object for creating a new policy.
|
614
680
|
# @param [Hash] opts the optional parameters
|
681
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
682
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then then operation will not retry
|
615
683
|
# @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case of a timeout or
|
616
684
|
# server error without risk of executing that same action again. Retry tokens expire after 24
|
617
685
|
# hours, but can be invalidated before then due to conflicting operations (e.g., if a resource
|
@@ -635,19 +703,24 @@ module OCI
|
|
635
703
|
header_params['accept'] = 'application/json'
|
636
704
|
header_params['content-type'] = 'application/json'
|
637
705
|
header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
|
706
|
+
header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
|
638
707
|
|
639
708
|
post_body = @api_client.object_to_http_body(create_policy_details)
|
640
709
|
|
641
|
-
|
642
|
-
|
643
|
-
|
644
|
-
|
645
|
-
|
646
|
-
|
647
|
-
|
648
|
-
|
649
|
-
|
650
|
-
|
710
|
+
# rubocop:disable Metrics/BlockLength
|
711
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'IdentityClient#create_policy') do
|
712
|
+
@api_client.call_api(
|
713
|
+
:POST,
|
714
|
+
path,
|
715
|
+
endpoint,
|
716
|
+
header_params: header_params,
|
717
|
+
query_params: query_params,
|
718
|
+
operation_signing_strategy: operation_signing_strategy,
|
719
|
+
body: post_body,
|
720
|
+
return_type: 'OCI::Identity::Models::Policy'
|
721
|
+
)
|
722
|
+
end
|
723
|
+
# rubocop:enable Metrics/BlockLength
|
651
724
|
end
|
652
725
|
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
653
726
|
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
@@ -663,6 +736,8 @@ module OCI
|
|
663
736
|
# @param [OCI::Identity::Models::CreateRegionSubscriptionDetails] create_region_subscription_details Request object for activate a new region.
|
664
737
|
# @param [String] tenancy_id The OCID of the tenancy.
|
665
738
|
# @param [Hash] opts the optional parameters
|
739
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
740
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then then operation will not retry
|
666
741
|
# @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case of a timeout or
|
667
742
|
# server error without risk of executing that same action again. Retry tokens expire after 24
|
668
743
|
# hours, but can be invalidated before then due to conflicting operations (e.g., if a resource
|
@@ -688,19 +763,24 @@ module OCI
|
|
688
763
|
header_params['accept'] = 'application/json'
|
689
764
|
header_params['content-type'] = 'application/json'
|
690
765
|
header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
|
766
|
+
header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
|
691
767
|
|
692
768
|
post_body = @api_client.object_to_http_body(create_region_subscription_details)
|
693
769
|
|
694
|
-
|
695
|
-
|
696
|
-
|
697
|
-
|
698
|
-
|
699
|
-
|
700
|
-
|
701
|
-
|
702
|
-
|
703
|
-
|
770
|
+
# rubocop:disable Metrics/BlockLength
|
771
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'IdentityClient#create_region_subscription') do
|
772
|
+
@api_client.call_api(
|
773
|
+
:POST,
|
774
|
+
path,
|
775
|
+
endpoint,
|
776
|
+
header_params: header_params,
|
777
|
+
query_params: query_params,
|
778
|
+
operation_signing_strategy: operation_signing_strategy,
|
779
|
+
body: post_body,
|
780
|
+
return_type: 'OCI::Identity::Models::RegionSubscription'
|
781
|
+
)
|
782
|
+
end
|
783
|
+
# rubocop:enable Metrics/BlockLength
|
704
784
|
end
|
705
785
|
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
706
786
|
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
@@ -719,6 +799,8 @@ module OCI
|
|
719
799
|
# @param [OCI::Identity::Models::CreateSmtpCredentialDetails] create_smtp_credential_details Request object for creating a new SMTP credential with the user.
|
720
800
|
# @param [String] user_id The OCID of the user.
|
721
801
|
# @param [Hash] opts the optional parameters
|
802
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
803
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then then operation will not retry
|
722
804
|
# @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case of a timeout or
|
723
805
|
# server error without risk of executing that same action again. Retry tokens expire after 24
|
724
806
|
# hours, but can be invalidated before then due to conflicting operations (e.g., if a resource
|
@@ -744,19 +826,24 @@ module OCI
|
|
744
826
|
header_params['accept'] = 'application/json'
|
745
827
|
header_params['content-type'] = 'application/json'
|
746
828
|
header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
|
829
|
+
header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
|
747
830
|
|
748
831
|
post_body = @api_client.object_to_http_body(create_smtp_credential_details)
|
749
832
|
|
750
|
-
|
751
|
-
|
752
|
-
|
753
|
-
|
754
|
-
|
755
|
-
|
756
|
-
|
757
|
-
|
758
|
-
|
759
|
-
|
833
|
+
# rubocop:disable Metrics/BlockLength
|
834
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'IdentityClient#create_smtp_credential') do
|
835
|
+
@api_client.call_api(
|
836
|
+
:POST,
|
837
|
+
path,
|
838
|
+
endpoint,
|
839
|
+
header_params: header_params,
|
840
|
+
query_params: query_params,
|
841
|
+
operation_signing_strategy: operation_signing_strategy,
|
842
|
+
body: post_body,
|
843
|
+
return_type: 'OCI::Identity::Models::SmtpCredential'
|
844
|
+
)
|
845
|
+
end
|
846
|
+
# rubocop:enable Metrics/BlockLength
|
760
847
|
end
|
761
848
|
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
762
849
|
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
@@ -781,6 +868,8 @@ module OCI
|
|
781
868
|
# @param [OCI::Identity::Models::CreateSwiftPasswordDetails] create_swift_password_details Request object for creating a new swift password.
|
782
869
|
# @param [String] user_id The OCID of the user.
|
783
870
|
# @param [Hash] opts the optional parameters
|
871
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
872
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then then operation will not retry
|
784
873
|
# @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case of a timeout or
|
785
874
|
# server error without risk of executing that same action again. Retry tokens expire after 24
|
786
875
|
# hours, but can be invalidated before then due to conflicting operations (e.g., if a resource
|
@@ -806,19 +895,24 @@ module OCI
|
|
806
895
|
header_params['accept'] = 'application/json'
|
807
896
|
header_params['content-type'] = 'application/json'
|
808
897
|
header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
|
898
|
+
header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
|
809
899
|
|
810
900
|
post_body = @api_client.object_to_http_body(create_swift_password_details)
|
811
901
|
|
812
|
-
|
813
|
-
|
814
|
-
|
815
|
-
|
816
|
-
|
817
|
-
|
818
|
-
|
819
|
-
|
820
|
-
|
821
|
-
|
902
|
+
# rubocop:disable Metrics/BlockLength
|
903
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'IdentityClient#create_swift_password') do
|
904
|
+
@api_client.call_api(
|
905
|
+
:POST,
|
906
|
+
path,
|
907
|
+
endpoint,
|
908
|
+
header_params: header_params,
|
909
|
+
query_params: query_params,
|
910
|
+
operation_signing_strategy: operation_signing_strategy,
|
911
|
+
body: post_body,
|
912
|
+
return_type: 'OCI::Identity::Models::SwiftPassword'
|
913
|
+
)
|
914
|
+
end
|
915
|
+
# rubocop:enable Metrics/BlockLength
|
822
916
|
end
|
823
917
|
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
824
918
|
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
@@ -846,6 +940,8 @@ module OCI
|
|
846
940
|
#
|
847
941
|
# @param [OCI::Identity::Models::CreateTagDetails] create_tag_details Request object for creating a new tag in the specified tag namespace.
|
848
942
|
# @param [Hash] opts the optional parameters
|
943
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
944
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then then operation will not retry
|
849
945
|
# @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case of a timeout or
|
850
946
|
# server error without risk of executing that same action again. Retry tokens expire after 24
|
851
947
|
# hours, but can be invalidated before then due to conflicting operations (e.g., if a resource
|
@@ -871,19 +967,24 @@ module OCI
|
|
871
967
|
header_params['accept'] = 'application/json'
|
872
968
|
header_params['content-type'] = 'application/json'
|
873
969
|
header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
|
970
|
+
header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
|
874
971
|
|
875
972
|
post_body = @api_client.object_to_http_body(create_tag_details)
|
876
973
|
|
877
|
-
|
878
|
-
|
879
|
-
|
880
|
-
|
881
|
-
|
882
|
-
|
883
|
-
|
884
|
-
|
885
|
-
|
886
|
-
|
974
|
+
# rubocop:disable Metrics/BlockLength
|
975
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'IdentityClient#create_tag') do
|
976
|
+
@api_client.call_api(
|
977
|
+
:POST,
|
978
|
+
path,
|
979
|
+
endpoint,
|
980
|
+
header_params: header_params,
|
981
|
+
query_params: query_params,
|
982
|
+
operation_signing_strategy: operation_signing_strategy,
|
983
|
+
body: post_body,
|
984
|
+
return_type: 'OCI::Identity::Models::Tag'
|
985
|
+
)
|
986
|
+
end
|
987
|
+
# rubocop:enable Metrics/BlockLength
|
887
988
|
end
|
888
989
|
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
889
990
|
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
@@ -914,6 +1015,8 @@ module OCI
|
|
914
1015
|
#
|
915
1016
|
# @param [OCI::Identity::Models::CreateTagNamespaceDetails] create_tag_namespace_details Request object for creating a new tag namespace.
|
916
1017
|
# @param [Hash] opts the optional parameters
|
1018
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
1019
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then then operation will not retry
|
917
1020
|
# @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case of a timeout or
|
918
1021
|
# server error without risk of executing that same action again. Retry tokens expire after 24
|
919
1022
|
# hours, but can be invalidated before then due to conflicting operations (e.g., if a resource
|
@@ -937,19 +1040,24 @@ module OCI
|
|
937
1040
|
header_params['accept'] = 'application/json'
|
938
1041
|
header_params['content-type'] = 'application/json'
|
939
1042
|
header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
|
1043
|
+
header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
|
940
1044
|
|
941
1045
|
post_body = @api_client.object_to_http_body(create_tag_namespace_details)
|
942
1046
|
|
943
|
-
|
944
|
-
|
945
|
-
|
946
|
-
|
947
|
-
|
948
|
-
|
949
|
-
|
950
|
-
|
951
|
-
|
952
|
-
|
1047
|
+
# rubocop:disable Metrics/BlockLength
|
1048
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'IdentityClient#create_tag_namespace') do
|
1049
|
+
@api_client.call_api(
|
1050
|
+
:POST,
|
1051
|
+
path,
|
1052
|
+
endpoint,
|
1053
|
+
header_params: header_params,
|
1054
|
+
query_params: query_params,
|
1055
|
+
operation_signing_strategy: operation_signing_strategy,
|
1056
|
+
body: post_body,
|
1057
|
+
return_type: 'OCI::Identity::Models::TagNamespace'
|
1058
|
+
)
|
1059
|
+
end
|
1060
|
+
# rubocop:enable Metrics/BlockLength
|
953
1061
|
end
|
954
1062
|
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
955
1063
|
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
@@ -998,6 +1106,8 @@ module OCI
|
|
998
1106
|
#
|
999
1107
|
# @param [OCI::Identity::Models::CreateUserDetails] create_user_details Request object for creating a new user.
|
1000
1108
|
# @param [Hash] opts the optional parameters
|
1109
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
1110
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then then operation will not retry
|
1001
1111
|
# @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case of a timeout or
|
1002
1112
|
# server error without risk of executing that same action again. Retry tokens expire after 24
|
1003
1113
|
# hours, but can be invalidated before then due to conflicting operations (e.g., if a resource
|
@@ -1021,19 +1131,24 @@ module OCI
|
|
1021
1131
|
header_params['accept'] = 'application/json'
|
1022
1132
|
header_params['content-type'] = 'application/json'
|
1023
1133
|
header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
|
1134
|
+
header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
|
1024
1135
|
|
1025
1136
|
post_body = @api_client.object_to_http_body(create_user_details)
|
1026
1137
|
|
1027
|
-
|
1028
|
-
|
1029
|
-
|
1030
|
-
|
1031
|
-
|
1032
|
-
|
1033
|
-
|
1034
|
-
|
1035
|
-
|
1036
|
-
|
1138
|
+
# rubocop:disable Metrics/BlockLength
|
1139
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'IdentityClient#create_user') do
|
1140
|
+
@api_client.call_api(
|
1141
|
+
:POST,
|
1142
|
+
path,
|
1143
|
+
endpoint,
|
1144
|
+
header_params: header_params,
|
1145
|
+
query_params: query_params,
|
1146
|
+
operation_signing_strategy: operation_signing_strategy,
|
1147
|
+
body: post_body,
|
1148
|
+
return_type: 'OCI::Identity::Models::User'
|
1149
|
+
)
|
1150
|
+
end
|
1151
|
+
# rubocop:enable Metrics/BlockLength
|
1037
1152
|
end
|
1038
1153
|
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
1039
1154
|
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
@@ -1054,6 +1169,8 @@ module OCI
|
|
1054
1169
|
# @param [String] user_id The OCID of the user.
|
1055
1170
|
# @param [String] fingerprint The key's fingerprint.
|
1056
1171
|
# @param [Hash] opts the optional parameters
|
1172
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
1173
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then then operation will not retry
|
1057
1174
|
# @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
|
1058
1175
|
# parameter to the value of the etag from a previous GET or POST response for that resource. The resource
|
1059
1176
|
# will be updated or deleted only if the etag you provide matches the resource's current etag value.
|
@@ -1081,15 +1198,19 @@ module OCI
|
|
1081
1198
|
|
1082
1199
|
post_body = nil
|
1083
1200
|
|
1084
|
-
|
1085
|
-
|
1086
|
-
|
1087
|
-
|
1088
|
-
|
1089
|
-
|
1090
|
-
|
1091
|
-
|
1092
|
-
|
1201
|
+
# rubocop:disable Metrics/BlockLength
|
1202
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'IdentityClient#delete_api_key') do
|
1203
|
+
@api_client.call_api(
|
1204
|
+
:DELETE,
|
1205
|
+
path,
|
1206
|
+
endpoint,
|
1207
|
+
header_params: header_params,
|
1208
|
+
query_params: query_params,
|
1209
|
+
operation_signing_strategy: operation_signing_strategy,
|
1210
|
+
body: post_body
|
1211
|
+
)
|
1212
|
+
end
|
1213
|
+
# rubocop:enable Metrics/BlockLength
|
1093
1214
|
end
|
1094
1215
|
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
1095
1216
|
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
@@ -1105,6 +1226,8 @@ module OCI
|
|
1105
1226
|
# @param [String] user_id The OCID of the user.
|
1106
1227
|
# @param [String] customer_secret_key_id The OCID of the secret key.
|
1107
1228
|
# @param [Hash] opts the optional parameters
|
1229
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
1230
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then then operation will not retry
|
1108
1231
|
# @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
|
1109
1232
|
# parameter to the value of the etag from a previous GET or POST response for that resource. The resource
|
1110
1233
|
# will be updated or deleted only if the etag you provide matches the resource's current etag value.
|
@@ -1132,15 +1255,19 @@ module OCI
|
|
1132
1255
|
|
1133
1256
|
post_body = nil
|
1134
1257
|
|
1135
|
-
|
1136
|
-
|
1137
|
-
|
1138
|
-
|
1139
|
-
|
1140
|
-
|
1141
|
-
|
1142
|
-
|
1143
|
-
|
1258
|
+
# rubocop:disable Metrics/BlockLength
|
1259
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'IdentityClient#delete_customer_secret_key') do
|
1260
|
+
@api_client.call_api(
|
1261
|
+
:DELETE,
|
1262
|
+
path,
|
1263
|
+
endpoint,
|
1264
|
+
header_params: header_params,
|
1265
|
+
query_params: query_params,
|
1266
|
+
operation_signing_strategy: operation_signing_strategy,
|
1267
|
+
body: post_body
|
1268
|
+
)
|
1269
|
+
end
|
1270
|
+
# rubocop:enable Metrics/BlockLength
|
1144
1271
|
end
|
1145
1272
|
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
1146
1273
|
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
@@ -1155,6 +1282,8 @@ module OCI
|
|
1155
1282
|
#
|
1156
1283
|
# @param [String] dynamic_group_id The OCID of the dynamic group.
|
1157
1284
|
# @param [Hash] opts the optional parameters
|
1285
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
1286
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then then operation will not retry
|
1158
1287
|
# @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
|
1159
1288
|
# parameter to the value of the etag from a previous GET or POST response for that resource. The resource
|
1160
1289
|
# will be updated or deleted only if the etag you provide matches the resource's current etag value.
|
@@ -1180,15 +1309,19 @@ module OCI
|
|
1180
1309
|
|
1181
1310
|
post_body = nil
|
1182
1311
|
|
1183
|
-
|
1184
|
-
|
1185
|
-
|
1186
|
-
|
1187
|
-
|
1188
|
-
|
1189
|
-
|
1190
|
-
|
1191
|
-
|
1312
|
+
# rubocop:disable Metrics/BlockLength
|
1313
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'IdentityClient#delete_dynamic_group') do
|
1314
|
+
@api_client.call_api(
|
1315
|
+
:DELETE,
|
1316
|
+
path,
|
1317
|
+
endpoint,
|
1318
|
+
header_params: header_params,
|
1319
|
+
query_params: query_params,
|
1320
|
+
operation_signing_strategy: operation_signing_strategy,
|
1321
|
+
body: post_body
|
1322
|
+
)
|
1323
|
+
end
|
1324
|
+
# rubocop:enable Metrics/BlockLength
|
1192
1325
|
end
|
1193
1326
|
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
1194
1327
|
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
@@ -1203,6 +1336,8 @@ module OCI
|
|
1203
1336
|
#
|
1204
1337
|
# @param [String] group_id The OCID of the group.
|
1205
1338
|
# @param [Hash] opts the optional parameters
|
1339
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
1340
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then then operation will not retry
|
1206
1341
|
# @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
|
1207
1342
|
# parameter to the value of the etag from a previous GET or POST response for that resource. The resource
|
1208
1343
|
# will be updated or deleted only if the etag you provide matches the resource's current etag value.
|
@@ -1228,15 +1363,19 @@ module OCI
|
|
1228
1363
|
|
1229
1364
|
post_body = nil
|
1230
1365
|
|
1231
|
-
|
1232
|
-
|
1233
|
-
|
1234
|
-
|
1235
|
-
|
1236
|
-
|
1237
|
-
|
1238
|
-
|
1239
|
-
|
1366
|
+
# rubocop:disable Metrics/BlockLength
|
1367
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'IdentityClient#delete_group') do
|
1368
|
+
@api_client.call_api(
|
1369
|
+
:DELETE,
|
1370
|
+
path,
|
1371
|
+
endpoint,
|
1372
|
+
header_params: header_params,
|
1373
|
+
query_params: query_params,
|
1374
|
+
operation_signing_strategy: operation_signing_strategy,
|
1375
|
+
body: post_body
|
1376
|
+
)
|
1377
|
+
end
|
1378
|
+
# rubocop:enable Metrics/BlockLength
|
1240
1379
|
end
|
1241
1380
|
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
1242
1381
|
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
@@ -1252,6 +1391,8 @@ module OCI
|
|
1252
1391
|
#
|
1253
1392
|
# @param [String] identity_provider_id The OCID of the identity provider.
|
1254
1393
|
# @param [Hash] opts the optional parameters
|
1394
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
1395
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then then operation will not retry
|
1255
1396
|
# @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
|
1256
1397
|
# parameter to the value of the etag from a previous GET or POST response for that resource. The resource
|
1257
1398
|
# will be updated or deleted only if the etag you provide matches the resource's current etag value.
|
@@ -1277,15 +1418,19 @@ module OCI
|
|
1277
1418
|
|
1278
1419
|
post_body = nil
|
1279
1420
|
|
1280
|
-
|
1281
|
-
|
1282
|
-
|
1283
|
-
|
1284
|
-
|
1285
|
-
|
1286
|
-
|
1287
|
-
|
1288
|
-
|
1421
|
+
# rubocop:disable Metrics/BlockLength
|
1422
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'IdentityClient#delete_identity_provider') do
|
1423
|
+
@api_client.call_api(
|
1424
|
+
:DELETE,
|
1425
|
+
path,
|
1426
|
+
endpoint,
|
1427
|
+
header_params: header_params,
|
1428
|
+
query_params: query_params,
|
1429
|
+
operation_signing_strategy: operation_signing_strategy,
|
1430
|
+
body: post_body
|
1431
|
+
)
|
1432
|
+
end
|
1433
|
+
# rubocop:enable Metrics/BlockLength
|
1289
1434
|
end
|
1290
1435
|
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
1291
1436
|
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
@@ -1300,6 +1445,8 @@ module OCI
|
|
1300
1445
|
# @param [String] identity_provider_id The OCID of the identity provider.
|
1301
1446
|
# @param [String] mapping_id The OCID of the group mapping.
|
1302
1447
|
# @param [Hash] opts the optional parameters
|
1448
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
1449
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then then operation will not retry
|
1303
1450
|
# @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
|
1304
1451
|
# parameter to the value of the etag from a previous GET or POST response for that resource. The resource
|
1305
1452
|
# will be updated or deleted only if the etag you provide matches the resource's current etag value.
|
@@ -1327,15 +1474,19 @@ module OCI
|
|
1327
1474
|
|
1328
1475
|
post_body = nil
|
1329
1476
|
|
1330
|
-
|
1331
|
-
|
1332
|
-
|
1333
|
-
|
1334
|
-
|
1335
|
-
|
1336
|
-
|
1337
|
-
|
1338
|
-
|
1477
|
+
# rubocop:disable Metrics/BlockLength
|
1478
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'IdentityClient#delete_idp_group_mapping') do
|
1479
|
+
@api_client.call_api(
|
1480
|
+
:DELETE,
|
1481
|
+
path,
|
1482
|
+
endpoint,
|
1483
|
+
header_params: header_params,
|
1484
|
+
query_params: query_params,
|
1485
|
+
operation_signing_strategy: operation_signing_strategy,
|
1486
|
+
body: post_body
|
1487
|
+
)
|
1488
|
+
end
|
1489
|
+
# rubocop:enable Metrics/BlockLength
|
1339
1490
|
end
|
1340
1491
|
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
1341
1492
|
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
@@ -1349,6 +1500,8 @@ module OCI
|
|
1349
1500
|
# Deletes the specified policy. The deletion takes effect typically within 10 seconds.
|
1350
1501
|
# @param [String] policy_id The OCID of the policy.
|
1351
1502
|
# @param [Hash] opts the optional parameters
|
1503
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
1504
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then then operation will not retry
|
1352
1505
|
# @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
|
1353
1506
|
# parameter to the value of the etag from a previous GET or POST response for that resource. The resource
|
1354
1507
|
# will be updated or deleted only if the etag you provide matches the resource's current etag value.
|
@@ -1374,15 +1527,19 @@ module OCI
|
|
1374
1527
|
|
1375
1528
|
post_body = nil
|
1376
1529
|
|
1377
|
-
|
1378
|
-
|
1379
|
-
|
1380
|
-
|
1381
|
-
|
1382
|
-
|
1383
|
-
|
1384
|
-
|
1385
|
-
|
1530
|
+
# rubocop:disable Metrics/BlockLength
|
1531
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'IdentityClient#delete_policy') do
|
1532
|
+
@api_client.call_api(
|
1533
|
+
:DELETE,
|
1534
|
+
path,
|
1535
|
+
endpoint,
|
1536
|
+
header_params: header_params,
|
1537
|
+
query_params: query_params,
|
1538
|
+
operation_signing_strategy: operation_signing_strategy,
|
1539
|
+
body: post_body
|
1540
|
+
)
|
1541
|
+
end
|
1542
|
+
# rubocop:enable Metrics/BlockLength
|
1386
1543
|
end
|
1387
1544
|
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
1388
1545
|
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
@@ -1398,6 +1555,8 @@ module OCI
|
|
1398
1555
|
# @param [String] user_id The OCID of the user.
|
1399
1556
|
# @param [String] smtp_credential_id The OCID of the SMTP credential.
|
1400
1557
|
# @param [Hash] opts the optional parameters
|
1558
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
1559
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then then operation will not retry
|
1401
1560
|
# @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
|
1402
1561
|
# parameter to the value of the etag from a previous GET or POST response for that resource. The resource
|
1403
1562
|
# will be updated or deleted only if the etag you provide matches the resource's current etag value.
|
@@ -1425,15 +1584,19 @@ module OCI
|
|
1425
1584
|
|
1426
1585
|
post_body = nil
|
1427
1586
|
|
1428
|
-
|
1429
|
-
|
1430
|
-
|
1431
|
-
|
1432
|
-
|
1433
|
-
|
1434
|
-
|
1435
|
-
|
1436
|
-
|
1587
|
+
# rubocop:disable Metrics/BlockLength
|
1588
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'IdentityClient#delete_smtp_credential') do
|
1589
|
+
@api_client.call_api(
|
1590
|
+
:DELETE,
|
1591
|
+
path,
|
1592
|
+
endpoint,
|
1593
|
+
header_params: header_params,
|
1594
|
+
query_params: query_params,
|
1595
|
+
operation_signing_strategy: operation_signing_strategy,
|
1596
|
+
body: post_body
|
1597
|
+
)
|
1598
|
+
end
|
1599
|
+
# rubocop:enable Metrics/BlockLength
|
1437
1600
|
end
|
1438
1601
|
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
1439
1602
|
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
@@ -1449,6 +1612,8 @@ module OCI
|
|
1449
1612
|
# @param [String] user_id The OCID of the user.
|
1450
1613
|
# @param [String] swift_password_id The OCID of the Swift password.
|
1451
1614
|
# @param [Hash] opts the optional parameters
|
1615
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
1616
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then then operation will not retry
|
1452
1617
|
# @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
|
1453
1618
|
# parameter to the value of the etag from a previous GET or POST response for that resource. The resource
|
1454
1619
|
# will be updated or deleted only if the etag you provide matches the resource's current etag value.
|
@@ -1476,15 +1641,19 @@ module OCI
|
|
1476
1641
|
|
1477
1642
|
post_body = nil
|
1478
1643
|
|
1479
|
-
|
1480
|
-
|
1481
|
-
|
1482
|
-
|
1483
|
-
|
1484
|
-
|
1485
|
-
|
1486
|
-
|
1487
|
-
|
1644
|
+
# rubocop:disable Metrics/BlockLength
|
1645
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'IdentityClient#delete_swift_password') do
|
1646
|
+
@api_client.call_api(
|
1647
|
+
:DELETE,
|
1648
|
+
path,
|
1649
|
+
endpoint,
|
1650
|
+
header_params: header_params,
|
1651
|
+
query_params: query_params,
|
1652
|
+
operation_signing_strategy: operation_signing_strategy,
|
1653
|
+
body: post_body
|
1654
|
+
)
|
1655
|
+
end
|
1656
|
+
# rubocop:enable Metrics/BlockLength
|
1488
1657
|
end
|
1489
1658
|
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
1490
1659
|
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
@@ -1498,6 +1667,8 @@ module OCI
|
|
1498
1667
|
# Deletes the specified user. The user must not be in any groups.
|
1499
1668
|
# @param [String] user_id The OCID of the user.
|
1500
1669
|
# @param [Hash] opts the optional parameters
|
1670
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
1671
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then then operation will not retry
|
1501
1672
|
# @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
|
1502
1673
|
# parameter to the value of the etag from a previous GET or POST response for that resource. The resource
|
1503
1674
|
# will be updated or deleted only if the etag you provide matches the resource's current etag value.
|
@@ -1523,15 +1694,19 @@ module OCI
|
|
1523
1694
|
|
1524
1695
|
post_body = nil
|
1525
1696
|
|
1526
|
-
|
1527
|
-
|
1528
|
-
|
1529
|
-
|
1530
|
-
|
1531
|
-
|
1532
|
-
|
1533
|
-
|
1534
|
-
|
1697
|
+
# rubocop:disable Metrics/BlockLength
|
1698
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'IdentityClient#delete_user') do
|
1699
|
+
@api_client.call_api(
|
1700
|
+
:DELETE,
|
1701
|
+
path,
|
1702
|
+
endpoint,
|
1703
|
+
header_params: header_params,
|
1704
|
+
query_params: query_params,
|
1705
|
+
operation_signing_strategy: operation_signing_strategy,
|
1706
|
+
body: post_body
|
1707
|
+
)
|
1708
|
+
end
|
1709
|
+
# rubocop:enable Metrics/BlockLength
|
1535
1710
|
end
|
1536
1711
|
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
1537
1712
|
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
@@ -1554,6 +1729,8 @@ module OCI
|
|
1554
1729
|
#
|
1555
1730
|
# @param [String] compartment_id The OCID of the compartment.
|
1556
1731
|
# @param [Hash] opts the optional parameters
|
1732
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
1733
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then then operation will not retry
|
1557
1734
|
# @return [Response] A Response object with data of type {OCI::Identity::Models::Compartment Compartment}
|
1558
1735
|
def get_compartment(compartment_id, opts = {})
|
1559
1736
|
logger.debug 'Calling operation IdentityClient#get_compartment.' if logger
|
@@ -1574,16 +1751,20 @@ module OCI
|
|
1574
1751
|
|
1575
1752
|
post_body = nil
|
1576
1753
|
|
1577
|
-
|
1578
|
-
|
1579
|
-
|
1580
|
-
|
1581
|
-
|
1582
|
-
|
1583
|
-
|
1584
|
-
|
1585
|
-
|
1586
|
-
|
1754
|
+
# rubocop:disable Metrics/BlockLength
|
1755
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'IdentityClient#get_compartment') do
|
1756
|
+
@api_client.call_api(
|
1757
|
+
:GET,
|
1758
|
+
path,
|
1759
|
+
endpoint,
|
1760
|
+
header_params: header_params,
|
1761
|
+
query_params: query_params,
|
1762
|
+
operation_signing_strategy: operation_signing_strategy,
|
1763
|
+
body: post_body,
|
1764
|
+
return_type: 'OCI::Identity::Models::Compartment'
|
1765
|
+
)
|
1766
|
+
end
|
1767
|
+
# rubocop:enable Metrics/BlockLength
|
1587
1768
|
end
|
1588
1769
|
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
1589
1770
|
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
@@ -1600,6 +1781,8 @@ module OCI
|
|
1600
1781
|
#
|
1601
1782
|
# @param [String] dynamic_group_id The OCID of the dynamic group.
|
1602
1783
|
# @param [Hash] opts the optional parameters
|
1784
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
1785
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then then operation will not retry
|
1603
1786
|
# @return [Response] A Response object with data of type {OCI::Identity::Models::DynamicGroup DynamicGroup}
|
1604
1787
|
def get_dynamic_group(dynamic_group_id, opts = {})
|
1605
1788
|
logger.debug 'Calling operation IdentityClient#get_dynamic_group.' if logger
|
@@ -1620,16 +1803,20 @@ module OCI
|
|
1620
1803
|
|
1621
1804
|
post_body = nil
|
1622
1805
|
|
1623
|
-
|
1624
|
-
|
1625
|
-
|
1626
|
-
|
1627
|
-
|
1628
|
-
|
1629
|
-
|
1630
|
-
|
1631
|
-
|
1632
|
-
|
1806
|
+
# rubocop:disable Metrics/BlockLength
|
1807
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'IdentityClient#get_dynamic_group') do
|
1808
|
+
@api_client.call_api(
|
1809
|
+
:GET,
|
1810
|
+
path,
|
1811
|
+
endpoint,
|
1812
|
+
header_params: header_params,
|
1813
|
+
query_params: query_params,
|
1814
|
+
operation_signing_strategy: operation_signing_strategy,
|
1815
|
+
body: post_body,
|
1816
|
+
return_type: 'OCI::Identity::Models::DynamicGroup'
|
1817
|
+
)
|
1818
|
+
end
|
1819
|
+
# rubocop:enable Metrics/BlockLength
|
1633
1820
|
end
|
1634
1821
|
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
1635
1822
|
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
@@ -1650,6 +1837,8 @@ module OCI
|
|
1650
1837
|
#
|
1651
1838
|
# @param [String] group_id The OCID of the group.
|
1652
1839
|
# @param [Hash] opts the optional parameters
|
1840
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
1841
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then then operation will not retry
|
1653
1842
|
# @return [Response] A Response object with data of type {OCI::Identity::Models::Group Group}
|
1654
1843
|
def get_group(group_id, opts = {})
|
1655
1844
|
logger.debug 'Calling operation IdentityClient#get_group.' if logger
|
@@ -1670,16 +1859,20 @@ module OCI
|
|
1670
1859
|
|
1671
1860
|
post_body = nil
|
1672
1861
|
|
1673
|
-
|
1674
|
-
|
1675
|
-
|
1676
|
-
|
1677
|
-
|
1678
|
-
|
1679
|
-
|
1680
|
-
|
1681
|
-
|
1682
|
-
|
1862
|
+
# rubocop:disable Metrics/BlockLength
|
1863
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'IdentityClient#get_group') do
|
1864
|
+
@api_client.call_api(
|
1865
|
+
:GET,
|
1866
|
+
path,
|
1867
|
+
endpoint,
|
1868
|
+
header_params: header_params,
|
1869
|
+
query_params: query_params,
|
1870
|
+
operation_signing_strategy: operation_signing_strategy,
|
1871
|
+
body: post_body,
|
1872
|
+
return_type: 'OCI::Identity::Models::Group'
|
1873
|
+
)
|
1874
|
+
end
|
1875
|
+
# rubocop:enable Metrics/BlockLength
|
1683
1876
|
end
|
1684
1877
|
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
1685
1878
|
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
@@ -1695,6 +1888,8 @@ module OCI
|
|
1695
1888
|
# Gets the specified identity provider's information.
|
1696
1889
|
# @param [String] identity_provider_id The OCID of the identity provider.
|
1697
1890
|
# @param [Hash] opts the optional parameters
|
1891
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
1892
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then then operation will not retry
|
1698
1893
|
# @return [Response] A Response object with data of type {OCI::Identity::Models::IdentityProvider IdentityProvider}
|
1699
1894
|
def get_identity_provider(identity_provider_id, opts = {})
|
1700
1895
|
logger.debug 'Calling operation IdentityClient#get_identity_provider.' if logger
|
@@ -1715,16 +1910,20 @@ module OCI
|
|
1715
1910
|
|
1716
1911
|
post_body = nil
|
1717
1912
|
|
1718
|
-
|
1719
|
-
|
1720
|
-
|
1721
|
-
|
1722
|
-
|
1723
|
-
|
1724
|
-
|
1725
|
-
|
1726
|
-
|
1727
|
-
|
1913
|
+
# rubocop:disable Metrics/BlockLength
|
1914
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'IdentityClient#get_identity_provider') do
|
1915
|
+
@api_client.call_api(
|
1916
|
+
:GET,
|
1917
|
+
path,
|
1918
|
+
endpoint,
|
1919
|
+
header_params: header_params,
|
1920
|
+
query_params: query_params,
|
1921
|
+
operation_signing_strategy: operation_signing_strategy,
|
1922
|
+
body: post_body,
|
1923
|
+
return_type: 'OCI::Identity::Models::IdentityProvider'
|
1924
|
+
)
|
1925
|
+
end
|
1926
|
+
# rubocop:enable Metrics/BlockLength
|
1728
1927
|
end
|
1729
1928
|
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
1730
1929
|
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
@@ -1741,6 +1940,8 @@ module OCI
|
|
1741
1940
|
# @param [String] identity_provider_id The OCID of the identity provider.
|
1742
1941
|
# @param [String] mapping_id The OCID of the group mapping.
|
1743
1942
|
# @param [Hash] opts the optional parameters
|
1943
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
1944
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then then operation will not retry
|
1744
1945
|
# @return [Response] A Response object with data of type {OCI::Identity::Models::IdpGroupMapping IdpGroupMapping}
|
1745
1946
|
def get_idp_group_mapping(identity_provider_id, mapping_id, opts = {})
|
1746
1947
|
logger.debug 'Calling operation IdentityClient#get_idp_group_mapping.' if logger
|
@@ -1763,16 +1964,20 @@ module OCI
|
|
1763
1964
|
|
1764
1965
|
post_body = nil
|
1765
1966
|
|
1766
|
-
|
1767
|
-
|
1768
|
-
|
1769
|
-
|
1770
|
-
|
1771
|
-
|
1772
|
-
|
1773
|
-
|
1774
|
-
|
1775
|
-
|
1967
|
+
# rubocop:disable Metrics/BlockLength
|
1968
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'IdentityClient#get_idp_group_mapping') do
|
1969
|
+
@api_client.call_api(
|
1970
|
+
:GET,
|
1971
|
+
path,
|
1972
|
+
endpoint,
|
1973
|
+
header_params: header_params,
|
1974
|
+
query_params: query_params,
|
1975
|
+
operation_signing_strategy: operation_signing_strategy,
|
1976
|
+
body: post_body,
|
1977
|
+
return_type: 'OCI::Identity::Models::IdpGroupMapping'
|
1978
|
+
)
|
1979
|
+
end
|
1980
|
+
# rubocop:enable Metrics/BlockLength
|
1776
1981
|
end
|
1777
1982
|
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
1778
1983
|
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
@@ -1788,6 +1993,8 @@ module OCI
|
|
1788
1993
|
# Gets the specified policy's information.
|
1789
1994
|
# @param [String] policy_id The OCID of the policy.
|
1790
1995
|
# @param [Hash] opts the optional parameters
|
1996
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
1997
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then then operation will not retry
|
1791
1998
|
# @return [Response] A Response object with data of type {OCI::Identity::Models::Policy Policy}
|
1792
1999
|
def get_policy(policy_id, opts = {})
|
1793
2000
|
logger.debug 'Calling operation IdentityClient#get_policy.' if logger
|
@@ -1808,16 +2015,20 @@ module OCI
|
|
1808
2015
|
|
1809
2016
|
post_body = nil
|
1810
2017
|
|
1811
|
-
|
1812
|
-
|
1813
|
-
|
1814
|
-
|
1815
|
-
|
1816
|
-
|
1817
|
-
|
1818
|
-
|
1819
|
-
|
1820
|
-
|
2018
|
+
# rubocop:disable Metrics/BlockLength
|
2019
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'IdentityClient#get_policy') do
|
2020
|
+
@api_client.call_api(
|
2021
|
+
:GET,
|
2022
|
+
path,
|
2023
|
+
endpoint,
|
2024
|
+
header_params: header_params,
|
2025
|
+
query_params: query_params,
|
2026
|
+
operation_signing_strategy: operation_signing_strategy,
|
2027
|
+
body: post_body,
|
2028
|
+
return_type: 'OCI::Identity::Models::Policy'
|
2029
|
+
)
|
2030
|
+
end
|
2031
|
+
# rubocop:enable Metrics/BlockLength
|
1821
2032
|
end
|
1822
2033
|
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
1823
2034
|
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
@@ -1836,6 +2047,8 @@ module OCI
|
|
1836
2047
|
# @param [String] tag_name The name of the tag.
|
1837
2048
|
#
|
1838
2049
|
# @param [Hash] opts the optional parameters
|
2050
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
2051
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then then operation will not retry
|
1839
2052
|
# @return [Response] A Response object with data of type {OCI::Identity::Models::Tag Tag}
|
1840
2053
|
def get_tag(tag_namespace_id, tag_name, opts = {})
|
1841
2054
|
logger.debug 'Calling operation IdentityClient#get_tag.' if logger
|
@@ -1858,16 +2071,20 @@ module OCI
|
|
1858
2071
|
|
1859
2072
|
post_body = nil
|
1860
2073
|
|
1861
|
-
|
1862
|
-
|
1863
|
-
|
1864
|
-
|
1865
|
-
|
1866
|
-
|
1867
|
-
|
1868
|
-
|
1869
|
-
|
1870
|
-
|
2074
|
+
# rubocop:disable Metrics/BlockLength
|
2075
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'IdentityClient#get_tag') do
|
2076
|
+
@api_client.call_api(
|
2077
|
+
:GET,
|
2078
|
+
path,
|
2079
|
+
endpoint,
|
2080
|
+
header_params: header_params,
|
2081
|
+
query_params: query_params,
|
2082
|
+
operation_signing_strategy: operation_signing_strategy,
|
2083
|
+
body: post_body,
|
2084
|
+
return_type: 'OCI::Identity::Models::Tag'
|
2085
|
+
)
|
2086
|
+
end
|
2087
|
+
# rubocop:enable Metrics/BlockLength
|
1871
2088
|
end
|
1872
2089
|
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
1873
2090
|
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
@@ -1885,6 +2102,8 @@ module OCI
|
|
1885
2102
|
# @param [String] tag_namespace_id The OCID of the tag namespace.
|
1886
2103
|
#
|
1887
2104
|
# @param [Hash] opts the optional parameters
|
2105
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
2106
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then then operation will not retry
|
1888
2107
|
# @return [Response] A Response object with data of type {OCI::Identity::Models::TagNamespace TagNamespace}
|
1889
2108
|
def get_tag_namespace(tag_namespace_id, opts = {})
|
1890
2109
|
logger.debug 'Calling operation IdentityClient#get_tag_namespace.' if logger
|
@@ -1905,16 +2124,20 @@ module OCI
|
|
1905
2124
|
|
1906
2125
|
post_body = nil
|
1907
2126
|
|
1908
|
-
|
1909
|
-
|
1910
|
-
|
1911
|
-
|
1912
|
-
|
1913
|
-
|
1914
|
-
|
1915
|
-
|
1916
|
-
|
1917
|
-
|
2127
|
+
# rubocop:disable Metrics/BlockLength
|
2128
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'IdentityClient#get_tag_namespace') do
|
2129
|
+
@api_client.call_api(
|
2130
|
+
:GET,
|
2131
|
+
path,
|
2132
|
+
endpoint,
|
2133
|
+
header_params: header_params,
|
2134
|
+
query_params: query_params,
|
2135
|
+
operation_signing_strategy: operation_signing_strategy,
|
2136
|
+
body: post_body,
|
2137
|
+
return_type: 'OCI::Identity::Models::TagNamespace'
|
2138
|
+
)
|
2139
|
+
end
|
2140
|
+
# rubocop:enable Metrics/BlockLength
|
1918
2141
|
end
|
1919
2142
|
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
1920
2143
|
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
@@ -1930,6 +2153,8 @@ module OCI
|
|
1930
2153
|
# Get the specified tenancy's information.
|
1931
2154
|
# @param [String] tenancy_id The OCID of the tenancy.
|
1932
2155
|
# @param [Hash] opts the optional parameters
|
2156
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
2157
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then then operation will not retry
|
1933
2158
|
# @return [Response] A Response object with data of type {OCI::Identity::Models::Tenancy Tenancy}
|
1934
2159
|
def get_tenancy(tenancy_id, opts = {})
|
1935
2160
|
logger.debug 'Calling operation IdentityClient#get_tenancy.' if logger
|
@@ -1950,16 +2175,20 @@ module OCI
|
|
1950
2175
|
|
1951
2176
|
post_body = nil
|
1952
2177
|
|
1953
|
-
|
1954
|
-
|
1955
|
-
|
1956
|
-
|
1957
|
-
|
1958
|
-
|
1959
|
-
|
1960
|
-
|
1961
|
-
|
1962
|
-
|
2178
|
+
# rubocop:disable Metrics/BlockLength
|
2179
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'IdentityClient#get_tenancy') do
|
2180
|
+
@api_client.call_api(
|
2181
|
+
:GET,
|
2182
|
+
path,
|
2183
|
+
endpoint,
|
2184
|
+
header_params: header_params,
|
2185
|
+
query_params: query_params,
|
2186
|
+
operation_signing_strategy: operation_signing_strategy,
|
2187
|
+
body: post_body,
|
2188
|
+
return_type: 'OCI::Identity::Models::Tenancy'
|
2189
|
+
)
|
2190
|
+
end
|
2191
|
+
# rubocop:enable Metrics/BlockLength
|
1963
2192
|
end
|
1964
2193
|
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
1965
2194
|
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
@@ -1975,6 +2204,8 @@ module OCI
|
|
1975
2204
|
# Gets the specified user's information.
|
1976
2205
|
# @param [String] user_id The OCID of the user.
|
1977
2206
|
# @param [Hash] opts the optional parameters
|
2207
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
2208
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then then operation will not retry
|
1978
2209
|
# @return [Response] A Response object with data of type {OCI::Identity::Models::User User}
|
1979
2210
|
def get_user(user_id, opts = {})
|
1980
2211
|
logger.debug 'Calling operation IdentityClient#get_user.' if logger
|
@@ -1995,16 +2226,20 @@ module OCI
|
|
1995
2226
|
|
1996
2227
|
post_body = nil
|
1997
2228
|
|
1998
|
-
|
1999
|
-
|
2000
|
-
|
2001
|
-
|
2002
|
-
|
2003
|
-
|
2004
|
-
|
2005
|
-
|
2006
|
-
|
2007
|
-
|
2229
|
+
# rubocop:disable Metrics/BlockLength
|
2230
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'IdentityClient#get_user') do
|
2231
|
+
@api_client.call_api(
|
2232
|
+
:GET,
|
2233
|
+
path,
|
2234
|
+
endpoint,
|
2235
|
+
header_params: header_params,
|
2236
|
+
query_params: query_params,
|
2237
|
+
operation_signing_strategy: operation_signing_strategy,
|
2238
|
+
body: post_body,
|
2239
|
+
return_type: 'OCI::Identity::Models::User'
|
2240
|
+
)
|
2241
|
+
end
|
2242
|
+
# rubocop:enable Metrics/BlockLength
|
2008
2243
|
end
|
2009
2244
|
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
2010
2245
|
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
@@ -2020,6 +2255,8 @@ module OCI
|
|
2020
2255
|
# Gets the specified UserGroupMembership's information.
|
2021
2256
|
# @param [String] user_group_membership_id The OCID of the userGroupMembership.
|
2022
2257
|
# @param [Hash] opts the optional parameters
|
2258
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
2259
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then then operation will not retry
|
2023
2260
|
# @return [Response] A Response object with data of type {OCI::Identity::Models::UserGroupMembership UserGroupMembership}
|
2024
2261
|
def get_user_group_membership(user_group_membership_id, opts = {})
|
2025
2262
|
logger.debug 'Calling operation IdentityClient#get_user_group_membership.' if logger
|
@@ -2040,16 +2277,20 @@ module OCI
|
|
2040
2277
|
|
2041
2278
|
post_body = nil
|
2042
2279
|
|
2043
|
-
|
2044
|
-
|
2045
|
-
|
2046
|
-
|
2047
|
-
|
2048
|
-
|
2049
|
-
|
2050
|
-
|
2051
|
-
|
2052
|
-
|
2280
|
+
# rubocop:disable Metrics/BlockLength
|
2281
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'IdentityClient#get_user_group_membership') do
|
2282
|
+
@api_client.call_api(
|
2283
|
+
:GET,
|
2284
|
+
path,
|
2285
|
+
endpoint,
|
2286
|
+
header_params: header_params,
|
2287
|
+
query_params: query_params,
|
2288
|
+
operation_signing_strategy: operation_signing_strategy,
|
2289
|
+
body: post_body,
|
2290
|
+
return_type: 'OCI::Identity::Models::UserGroupMembership'
|
2291
|
+
)
|
2292
|
+
end
|
2293
|
+
# rubocop:enable Metrics/BlockLength
|
2053
2294
|
end
|
2054
2295
|
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
2055
2296
|
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
@@ -2069,6 +2310,8 @@ module OCI
|
|
2069
2310
|
#
|
2070
2311
|
# @param [String] user_id The OCID of the user.
|
2071
2312
|
# @param [Hash] opts the optional parameters
|
2313
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
2314
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then then operation will not retry
|
2072
2315
|
# @return [Response] A Response object with data of type Array<{OCI::Identity::Models::ApiKey ApiKey}>
|
2073
2316
|
def list_api_keys(user_id, opts = {})
|
2074
2317
|
logger.debug 'Calling operation IdentityClient#list_api_keys.' if logger
|
@@ -2089,16 +2332,20 @@ module OCI
|
|
2089
2332
|
|
2090
2333
|
post_body = nil
|
2091
2334
|
|
2092
|
-
|
2093
|
-
|
2094
|
-
|
2095
|
-
|
2096
|
-
|
2097
|
-
|
2098
|
-
|
2099
|
-
|
2100
|
-
|
2101
|
-
|
2335
|
+
# rubocop:disable Metrics/BlockLength
|
2336
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'IdentityClient#list_api_keys') do
|
2337
|
+
@api_client.call_api(
|
2338
|
+
:GET,
|
2339
|
+
path,
|
2340
|
+
endpoint,
|
2341
|
+
header_params: header_params,
|
2342
|
+
query_params: query_params,
|
2343
|
+
operation_signing_strategy: operation_signing_strategy,
|
2344
|
+
body: post_body,
|
2345
|
+
return_type: 'Array<OCI::Identity::Models::ApiKey>'
|
2346
|
+
)
|
2347
|
+
end
|
2348
|
+
# rubocop:enable Metrics/BlockLength
|
2102
2349
|
end
|
2103
2350
|
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
2104
2351
|
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
@@ -2118,6 +2365,8 @@ module OCI
|
|
2118
2365
|
# @param [String] compartment_id The OCID of the compartment (remember that the tenancy is simply the root compartment).
|
2119
2366
|
#
|
2120
2367
|
# @param [Hash] opts the optional parameters
|
2368
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
2369
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then then operation will not retry
|
2121
2370
|
# @return [Response] A Response object with data of type Array<{OCI::Identity::Models::AvailabilityDomain AvailabilityDomain}>
|
2122
2371
|
def list_availability_domains(compartment_id, opts = {})
|
2123
2372
|
logger.debug 'Calling operation IdentityClient#list_availability_domains.' if logger
|
@@ -2138,16 +2387,20 @@ module OCI
|
|
2138
2387
|
|
2139
2388
|
post_body = nil
|
2140
2389
|
|
2141
|
-
|
2142
|
-
|
2143
|
-
|
2144
|
-
|
2145
|
-
|
2146
|
-
|
2147
|
-
|
2148
|
-
|
2149
|
-
|
2150
|
-
|
2390
|
+
# rubocop:disable Metrics/BlockLength
|
2391
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'IdentityClient#list_availability_domains') do
|
2392
|
+
@api_client.call_api(
|
2393
|
+
:GET,
|
2394
|
+
path,
|
2395
|
+
endpoint,
|
2396
|
+
header_params: header_params,
|
2397
|
+
query_params: query_params,
|
2398
|
+
operation_signing_strategy: operation_signing_strategy,
|
2399
|
+
body: post_body,
|
2400
|
+
return_type: 'Array<OCI::Identity::Models::AvailabilityDomain>'
|
2401
|
+
)
|
2402
|
+
end
|
2403
|
+
# rubocop:enable Metrics/BlockLength
|
2151
2404
|
end
|
2152
2405
|
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
2153
2406
|
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
@@ -2166,6 +2419,8 @@ module OCI
|
|
2166
2419
|
# @param [String] compartment_id The OCID of the compartment (remember that the tenancy is simply the root compartment).
|
2167
2420
|
#
|
2168
2421
|
# @param [Hash] opts the optional parameters
|
2422
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
2423
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then then operation will not retry
|
2169
2424
|
# @option opts [String] :page The value of the `opc-next-page` response header from the previous \"List\" call.
|
2170
2425
|
#
|
2171
2426
|
# @option opts [Integer] :limit The maximum number of items to return in a paginated \"List\" call.
|
@@ -2192,16 +2447,20 @@ module OCI
|
|
2192
2447
|
|
2193
2448
|
post_body = nil
|
2194
2449
|
|
2195
|
-
|
2196
|
-
|
2197
|
-
|
2198
|
-
|
2199
|
-
|
2200
|
-
|
2201
|
-
|
2202
|
-
|
2203
|
-
|
2204
|
-
|
2450
|
+
# rubocop:disable Metrics/BlockLength
|
2451
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'IdentityClient#list_compartments') do
|
2452
|
+
@api_client.call_api(
|
2453
|
+
:GET,
|
2454
|
+
path,
|
2455
|
+
endpoint,
|
2456
|
+
header_params: header_params,
|
2457
|
+
query_params: query_params,
|
2458
|
+
operation_signing_strategy: operation_signing_strategy,
|
2459
|
+
body: post_body,
|
2460
|
+
return_type: 'Array<OCI::Identity::Models::Compartment>'
|
2461
|
+
)
|
2462
|
+
end
|
2463
|
+
# rubocop:enable Metrics/BlockLength
|
2205
2464
|
end
|
2206
2465
|
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
2207
2466
|
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
@@ -2218,6 +2477,8 @@ module OCI
|
|
2218
2477
|
#
|
2219
2478
|
# @param [String] user_id The OCID of the user.
|
2220
2479
|
# @param [Hash] opts the optional parameters
|
2480
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
2481
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then then operation will not retry
|
2221
2482
|
# @return [Response] A Response object with data of type Array<{OCI::Identity::Models::CustomerSecretKeySummary CustomerSecretKeySummary}>
|
2222
2483
|
def list_customer_secret_keys(user_id, opts = {})
|
2223
2484
|
logger.debug 'Calling operation IdentityClient#list_customer_secret_keys.' if logger
|
@@ -2238,16 +2499,20 @@ module OCI
|
|
2238
2499
|
|
2239
2500
|
post_body = nil
|
2240
2501
|
|
2241
|
-
|
2242
|
-
|
2243
|
-
|
2244
|
-
|
2245
|
-
|
2246
|
-
|
2247
|
-
|
2248
|
-
|
2249
|
-
|
2250
|
-
|
2502
|
+
# rubocop:disable Metrics/BlockLength
|
2503
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'IdentityClient#list_customer_secret_keys') do
|
2504
|
+
@api_client.call_api(
|
2505
|
+
:GET,
|
2506
|
+
path,
|
2507
|
+
endpoint,
|
2508
|
+
header_params: header_params,
|
2509
|
+
query_params: query_params,
|
2510
|
+
operation_signing_strategy: operation_signing_strategy,
|
2511
|
+
body: post_body,
|
2512
|
+
return_type: 'Array<OCI::Identity::Models::CustomerSecretKeySummary>'
|
2513
|
+
)
|
2514
|
+
end
|
2515
|
+
# rubocop:enable Metrics/BlockLength
|
2251
2516
|
end
|
2252
2517
|
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
2253
2518
|
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
@@ -2266,6 +2531,8 @@ module OCI
|
|
2266
2531
|
# @param [String] compartment_id The OCID of the compartment (remember that the tenancy is simply the root compartment).
|
2267
2532
|
#
|
2268
2533
|
# @param [Hash] opts the optional parameters
|
2534
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
2535
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then then operation will not retry
|
2269
2536
|
# @option opts [String] :page The value of the `opc-next-page` response header from the previous \"List\" call.
|
2270
2537
|
#
|
2271
2538
|
# @option opts [Integer] :limit The maximum number of items to return in a paginated \"List\" call.
|
@@ -2292,16 +2559,20 @@ module OCI
|
|
2292
2559
|
|
2293
2560
|
post_body = nil
|
2294
2561
|
|
2295
|
-
|
2296
|
-
|
2297
|
-
|
2298
|
-
|
2299
|
-
|
2300
|
-
|
2301
|
-
|
2302
|
-
|
2303
|
-
|
2304
|
-
|
2562
|
+
# rubocop:disable Metrics/BlockLength
|
2563
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'IdentityClient#list_dynamic_groups') do
|
2564
|
+
@api_client.call_api(
|
2565
|
+
:GET,
|
2566
|
+
path,
|
2567
|
+
endpoint,
|
2568
|
+
header_params: header_params,
|
2569
|
+
query_params: query_params,
|
2570
|
+
operation_signing_strategy: operation_signing_strategy,
|
2571
|
+
body: post_body,
|
2572
|
+
return_type: 'Array<OCI::Identity::Models::DynamicGroup>'
|
2573
|
+
)
|
2574
|
+
end
|
2575
|
+
# rubocop:enable Metrics/BlockLength
|
2305
2576
|
end
|
2306
2577
|
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
2307
2578
|
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
@@ -2319,6 +2590,8 @@ module OCI
|
|
2319
2590
|
# @param [String] compartment_id The OCID of the compartment (remember that the tenancy is simply the root compartment).
|
2320
2591
|
#
|
2321
2592
|
# @param [Hash] opts the optional parameters
|
2593
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
2594
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then then operation will not retry
|
2322
2595
|
# @option opts [String] :page The value of the `opc-next-page` response header from the previous \"List\" call.
|
2323
2596
|
#
|
2324
2597
|
# @option opts [Integer] :limit The maximum number of items to return in a paginated \"List\" call.
|
@@ -2345,16 +2618,20 @@ module OCI
|
|
2345
2618
|
|
2346
2619
|
post_body = nil
|
2347
2620
|
|
2348
|
-
|
2349
|
-
|
2350
|
-
|
2351
|
-
|
2352
|
-
|
2353
|
-
|
2354
|
-
|
2355
|
-
|
2356
|
-
|
2357
|
-
|
2621
|
+
# rubocop:disable Metrics/BlockLength
|
2622
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'IdentityClient#list_groups') do
|
2623
|
+
@api_client.call_api(
|
2624
|
+
:GET,
|
2625
|
+
path,
|
2626
|
+
endpoint,
|
2627
|
+
header_params: header_params,
|
2628
|
+
query_params: query_params,
|
2629
|
+
operation_signing_strategy: operation_signing_strategy,
|
2630
|
+
body: post_body,
|
2631
|
+
return_type: 'Array<OCI::Identity::Models::Group>'
|
2632
|
+
)
|
2633
|
+
end
|
2634
|
+
# rubocop:enable Metrics/BlockLength
|
2358
2635
|
end
|
2359
2636
|
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
2360
2637
|
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
@@ -2375,6 +2652,8 @@ module OCI
|
|
2375
2652
|
# @param [String] compartment_id The OCID of the compartment (remember that the tenancy is simply the root compartment).
|
2376
2653
|
#
|
2377
2654
|
# @param [Hash] opts the optional parameters
|
2655
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
2656
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then then operation will not retry
|
2378
2657
|
# @option opts [String] :page The value of the `opc-next-page` response header from the previous \"List\" call.
|
2379
2658
|
#
|
2380
2659
|
# @option opts [Integer] :limit The maximum number of items to return in a paginated \"List\" call.
|
@@ -2406,16 +2685,20 @@ module OCI
|
|
2406
2685
|
|
2407
2686
|
post_body = nil
|
2408
2687
|
|
2409
|
-
|
2410
|
-
|
2411
|
-
|
2412
|
-
|
2413
|
-
|
2414
|
-
|
2415
|
-
|
2416
|
-
|
2417
|
-
|
2418
|
-
|
2688
|
+
# rubocop:disable Metrics/BlockLength
|
2689
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'IdentityClient#list_identity_providers') do
|
2690
|
+
@api_client.call_api(
|
2691
|
+
:GET,
|
2692
|
+
path,
|
2693
|
+
endpoint,
|
2694
|
+
header_params: header_params,
|
2695
|
+
query_params: query_params,
|
2696
|
+
operation_signing_strategy: operation_signing_strategy,
|
2697
|
+
body: post_body,
|
2698
|
+
return_type: 'Array<OCI::Identity::Models::IdentityProvider>'
|
2699
|
+
)
|
2700
|
+
end
|
2701
|
+
# rubocop:enable Metrics/BlockLength
|
2419
2702
|
end
|
2420
2703
|
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
2421
2704
|
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
@@ -2430,6 +2713,8 @@ module OCI
|
|
2430
2713
|
#
|
2431
2714
|
# @param [String] identity_provider_id The OCID of the identity provider.
|
2432
2715
|
# @param [Hash] opts the optional parameters
|
2716
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
2717
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then then operation will not retry
|
2433
2718
|
# @option opts [String] :page The value of the `opc-next-page` response header from the previous \"List\" call.
|
2434
2719
|
#
|
2435
2720
|
# @option opts [Integer] :limit The maximum number of items to return in a paginated \"List\" call.
|
@@ -2456,16 +2741,20 @@ module OCI
|
|
2456
2741
|
|
2457
2742
|
post_body = nil
|
2458
2743
|
|
2459
|
-
|
2460
|
-
|
2461
|
-
|
2462
|
-
|
2463
|
-
|
2464
|
-
|
2465
|
-
|
2466
|
-
|
2467
|
-
|
2468
|
-
|
2744
|
+
# rubocop:disable Metrics/BlockLength
|
2745
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'IdentityClient#list_idp_group_mappings') do
|
2746
|
+
@api_client.call_api(
|
2747
|
+
:GET,
|
2748
|
+
path,
|
2749
|
+
endpoint,
|
2750
|
+
header_params: header_params,
|
2751
|
+
query_params: query_params,
|
2752
|
+
operation_signing_strategy: operation_signing_strategy,
|
2753
|
+
body: post_body,
|
2754
|
+
return_type: 'Array<OCI::Identity::Models::IdpGroupMapping>'
|
2755
|
+
)
|
2756
|
+
end
|
2757
|
+
# rubocop:enable Metrics/BlockLength
|
2469
2758
|
end
|
2470
2759
|
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
2471
2760
|
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
@@ -2485,6 +2774,8 @@ module OCI
|
|
2485
2774
|
# @param [String] compartment_id The OCID of the compartment (remember that the tenancy is simply the root compartment).
|
2486
2775
|
#
|
2487
2776
|
# @param [Hash] opts the optional parameters
|
2777
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
2778
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then then operation will not retry
|
2488
2779
|
# @option opts [String] :page The value of the `opc-next-page` response header from the previous \"List\" call.
|
2489
2780
|
#
|
2490
2781
|
# @option opts [Integer] :limit The maximum number of items to return in a paginated \"List\" call.
|
@@ -2511,16 +2802,20 @@ module OCI
|
|
2511
2802
|
|
2512
2803
|
post_body = nil
|
2513
2804
|
|
2514
|
-
|
2515
|
-
|
2516
|
-
|
2517
|
-
|
2518
|
-
|
2519
|
-
|
2520
|
-
|
2521
|
-
|
2522
|
-
|
2523
|
-
|
2805
|
+
# rubocop:disable Metrics/BlockLength
|
2806
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'IdentityClient#list_policies') do
|
2807
|
+
@api_client.call_api(
|
2808
|
+
:GET,
|
2809
|
+
path,
|
2810
|
+
endpoint,
|
2811
|
+
header_params: header_params,
|
2812
|
+
query_params: query_params,
|
2813
|
+
operation_signing_strategy: operation_signing_strategy,
|
2814
|
+
body: post_body,
|
2815
|
+
return_type: 'Array<OCI::Identity::Models::Policy>'
|
2816
|
+
)
|
2817
|
+
end
|
2818
|
+
# rubocop:enable Metrics/BlockLength
|
2524
2819
|
end
|
2525
2820
|
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
2526
2821
|
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
@@ -2535,6 +2830,8 @@ module OCI
|
|
2535
2830
|
# Lists the region subscriptions for the specified tenancy.
|
2536
2831
|
# @param [String] tenancy_id The OCID of the tenancy.
|
2537
2832
|
# @param [Hash] opts the optional parameters
|
2833
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
2834
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then then operation will not retry
|
2538
2835
|
# @return [Response] A Response object with data of type Array<{OCI::Identity::Models::RegionSubscription RegionSubscription}>
|
2539
2836
|
def list_region_subscriptions(tenancy_id, opts = {})
|
2540
2837
|
logger.debug 'Calling operation IdentityClient#list_region_subscriptions.' if logger
|
@@ -2555,16 +2852,20 @@ module OCI
|
|
2555
2852
|
|
2556
2853
|
post_body = nil
|
2557
2854
|
|
2558
|
-
|
2559
|
-
|
2560
|
-
|
2561
|
-
|
2562
|
-
|
2563
|
-
|
2564
|
-
|
2565
|
-
|
2566
|
-
|
2567
|
-
|
2855
|
+
# rubocop:disable Metrics/BlockLength
|
2856
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'IdentityClient#list_region_subscriptions') do
|
2857
|
+
@api_client.call_api(
|
2858
|
+
:GET,
|
2859
|
+
path,
|
2860
|
+
endpoint,
|
2861
|
+
header_params: header_params,
|
2862
|
+
query_params: query_params,
|
2863
|
+
operation_signing_strategy: operation_signing_strategy,
|
2864
|
+
body: post_body,
|
2865
|
+
return_type: 'Array<OCI::Identity::Models::RegionSubscription>'
|
2866
|
+
)
|
2867
|
+
end
|
2868
|
+
# rubocop:enable Metrics/BlockLength
|
2568
2869
|
end
|
2569
2870
|
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
2570
2871
|
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
@@ -2579,6 +2880,8 @@ module OCI
|
|
2579
2880
|
|
2580
2881
|
# Lists all the regions offered by Oracle Cloud Infrastructure.
|
2581
2882
|
# @param [Hash] opts the optional parameters
|
2883
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
2884
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then then operation will not retry
|
2582
2885
|
# @return [Response] A Response object with data of type Array<{OCI::Identity::Models::Region Region}>
|
2583
2886
|
def list_regions(opts = {})
|
2584
2887
|
logger.debug 'Calling operation IdentityClient#list_regions.' if logger
|
@@ -2597,16 +2900,20 @@ module OCI
|
|
2597
2900
|
|
2598
2901
|
post_body = nil
|
2599
2902
|
|
2600
|
-
|
2601
|
-
|
2602
|
-
|
2603
|
-
|
2604
|
-
|
2605
|
-
|
2606
|
-
|
2607
|
-
|
2608
|
-
|
2609
|
-
|
2903
|
+
# rubocop:disable Metrics/BlockLength
|
2904
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'IdentityClient#list_regions') do
|
2905
|
+
@api_client.call_api(
|
2906
|
+
:GET,
|
2907
|
+
path,
|
2908
|
+
endpoint,
|
2909
|
+
header_params: header_params,
|
2910
|
+
query_params: query_params,
|
2911
|
+
operation_signing_strategy: operation_signing_strategy,
|
2912
|
+
body: post_body,
|
2913
|
+
return_type: 'Array<OCI::Identity::Models::Region>'
|
2914
|
+
)
|
2915
|
+
end
|
2916
|
+
# rubocop:enable Metrics/BlockLength
|
2610
2917
|
end
|
2611
2918
|
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
2612
2919
|
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
@@ -2624,6 +2931,8 @@ module OCI
|
|
2624
2931
|
#
|
2625
2932
|
# @param [String] user_id The OCID of the user.
|
2626
2933
|
# @param [Hash] opts the optional parameters
|
2934
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
2935
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then then operation will not retry
|
2627
2936
|
# @return [Response] A Response object with data of type Array<{OCI::Identity::Models::SmtpCredentialSummary SmtpCredentialSummary}>
|
2628
2937
|
def list_smtp_credentials(user_id, opts = {})
|
2629
2938
|
logger.debug 'Calling operation IdentityClient#list_smtp_credentials.' if logger
|
@@ -2644,16 +2953,20 @@ module OCI
|
|
2644
2953
|
|
2645
2954
|
post_body = nil
|
2646
2955
|
|
2647
|
-
|
2648
|
-
|
2649
|
-
|
2650
|
-
|
2651
|
-
|
2652
|
-
|
2653
|
-
|
2654
|
-
|
2655
|
-
|
2656
|
-
|
2956
|
+
# rubocop:disable Metrics/BlockLength
|
2957
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'IdentityClient#list_smtp_credentials') do
|
2958
|
+
@api_client.call_api(
|
2959
|
+
:GET,
|
2960
|
+
path,
|
2961
|
+
endpoint,
|
2962
|
+
header_params: header_params,
|
2963
|
+
query_params: query_params,
|
2964
|
+
operation_signing_strategy: operation_signing_strategy,
|
2965
|
+
body: post_body,
|
2966
|
+
return_type: 'Array<OCI::Identity::Models::SmtpCredentialSummary>'
|
2967
|
+
)
|
2968
|
+
end
|
2969
|
+
# rubocop:enable Metrics/BlockLength
|
2657
2970
|
end
|
2658
2971
|
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
2659
2972
|
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
@@ -2671,6 +2984,8 @@ module OCI
|
|
2671
2984
|
#
|
2672
2985
|
# @param [String] user_id The OCID of the user.
|
2673
2986
|
# @param [Hash] opts the optional parameters
|
2987
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
2988
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then then operation will not retry
|
2674
2989
|
# @return [Response] A Response object with data of type Array<{OCI::Identity::Models::SwiftPassword SwiftPassword}>
|
2675
2990
|
def list_swift_passwords(user_id, opts = {})
|
2676
2991
|
logger.debug 'Calling operation IdentityClient#list_swift_passwords.' if logger
|
@@ -2691,16 +3006,20 @@ module OCI
|
|
2691
3006
|
|
2692
3007
|
post_body = nil
|
2693
3008
|
|
2694
|
-
|
2695
|
-
|
2696
|
-
|
2697
|
-
|
2698
|
-
|
2699
|
-
|
2700
|
-
|
2701
|
-
|
2702
|
-
|
2703
|
-
|
3009
|
+
# rubocop:disable Metrics/BlockLength
|
3010
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'IdentityClient#list_swift_passwords') do
|
3011
|
+
@api_client.call_api(
|
3012
|
+
:GET,
|
3013
|
+
path,
|
3014
|
+
endpoint,
|
3015
|
+
header_params: header_params,
|
3016
|
+
query_params: query_params,
|
3017
|
+
operation_signing_strategy: operation_signing_strategy,
|
3018
|
+
body: post_body,
|
3019
|
+
return_type: 'Array<OCI::Identity::Models::SwiftPassword>'
|
3020
|
+
)
|
3021
|
+
end
|
3022
|
+
# rubocop:enable Metrics/BlockLength
|
2704
3023
|
end
|
2705
3024
|
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
2706
3025
|
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
@@ -2717,6 +3036,8 @@ module OCI
|
|
2717
3036
|
# @param [String] compartment_id The OCID of the compartment (remember that the tenancy is simply the root compartment).
|
2718
3037
|
#
|
2719
3038
|
# @param [Hash] opts the optional parameters
|
3039
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
3040
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then then operation will not retry
|
2720
3041
|
# @option opts [String] :page The value of the `opc-next-page` response header from the previous \"List\" call.
|
2721
3042
|
#
|
2722
3043
|
# @option opts [Integer] :limit The maximum number of items to return in a paginated \"List\" call.
|
@@ -2747,16 +3068,20 @@ module OCI
|
|
2747
3068
|
|
2748
3069
|
post_body = nil
|
2749
3070
|
|
2750
|
-
|
2751
|
-
|
2752
|
-
|
2753
|
-
|
2754
|
-
|
2755
|
-
|
2756
|
-
|
2757
|
-
|
2758
|
-
|
2759
|
-
|
3071
|
+
# rubocop:disable Metrics/BlockLength
|
3072
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'IdentityClient#list_tag_namespaces') do
|
3073
|
+
@api_client.call_api(
|
3074
|
+
:GET,
|
3075
|
+
path,
|
3076
|
+
endpoint,
|
3077
|
+
header_params: header_params,
|
3078
|
+
query_params: query_params,
|
3079
|
+
operation_signing_strategy: operation_signing_strategy,
|
3080
|
+
body: post_body,
|
3081
|
+
return_type: 'Array<OCI::Identity::Models::TagNamespaceSummary>'
|
3082
|
+
)
|
3083
|
+
end
|
3084
|
+
# rubocop:enable Metrics/BlockLength
|
2760
3085
|
end
|
2761
3086
|
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
2762
3087
|
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
@@ -2772,6 +3097,8 @@ module OCI
|
|
2772
3097
|
# @param [String] tag_namespace_id The OCID of the tag namespace.
|
2773
3098
|
#
|
2774
3099
|
# @param [Hash] opts the optional parameters
|
3100
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
3101
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then then operation will not retry
|
2775
3102
|
# @option opts [String] :page The value of the `opc-next-page` response header from the previous \"List\" call.
|
2776
3103
|
#
|
2777
3104
|
# @option opts [Integer] :limit The maximum number of items to return in a paginated \"List\" call.
|
@@ -2798,16 +3125,20 @@ module OCI
|
|
2798
3125
|
|
2799
3126
|
post_body = nil
|
2800
3127
|
|
2801
|
-
|
2802
|
-
|
2803
|
-
|
2804
|
-
|
2805
|
-
|
2806
|
-
|
2807
|
-
|
2808
|
-
|
2809
|
-
|
2810
|
-
|
3128
|
+
# rubocop:disable Metrics/BlockLength
|
3129
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'IdentityClient#list_tags') do
|
3130
|
+
@api_client.call_api(
|
3131
|
+
:GET,
|
3132
|
+
path,
|
3133
|
+
endpoint,
|
3134
|
+
header_params: header_params,
|
3135
|
+
query_params: query_params,
|
3136
|
+
operation_signing_strategy: operation_signing_strategy,
|
3137
|
+
body: post_body,
|
3138
|
+
return_type: 'Array<OCI::Identity::Models::TagSummary>'
|
3139
|
+
)
|
3140
|
+
end
|
3141
|
+
# rubocop:enable Metrics/BlockLength
|
2811
3142
|
end
|
2812
3143
|
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
2813
3144
|
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
@@ -2832,6 +3163,8 @@ module OCI
|
|
2832
3163
|
# @param [String] compartment_id The OCID of the compartment (remember that the tenancy is simply the root compartment).
|
2833
3164
|
#
|
2834
3165
|
# @param [Hash] opts the optional parameters
|
3166
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
3167
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then then operation will not retry
|
2835
3168
|
# @option opts [String] :user_id The OCID of the user.
|
2836
3169
|
# @option opts [String] :group_id The OCID of the group.
|
2837
3170
|
# @option opts [String] :page The value of the `opc-next-page` response header from the previous \"List\" call.
|
@@ -2862,16 +3195,20 @@ module OCI
|
|
2862
3195
|
|
2863
3196
|
post_body = nil
|
2864
3197
|
|
2865
|
-
|
2866
|
-
|
2867
|
-
|
2868
|
-
|
2869
|
-
|
2870
|
-
|
2871
|
-
|
2872
|
-
|
2873
|
-
|
2874
|
-
|
3198
|
+
# rubocop:disable Metrics/BlockLength
|
3199
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'IdentityClient#list_user_group_memberships') do
|
3200
|
+
@api_client.call_api(
|
3201
|
+
:GET,
|
3202
|
+
path,
|
3203
|
+
endpoint,
|
3204
|
+
header_params: header_params,
|
3205
|
+
query_params: query_params,
|
3206
|
+
operation_signing_strategy: operation_signing_strategy,
|
3207
|
+
body: post_body,
|
3208
|
+
return_type: 'Array<OCI::Identity::Models::UserGroupMembership>'
|
3209
|
+
)
|
3210
|
+
end
|
3211
|
+
# rubocop:enable Metrics/BlockLength
|
2875
3212
|
end
|
2876
3213
|
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
2877
3214
|
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
@@ -2889,6 +3226,8 @@ module OCI
|
|
2889
3226
|
# @param [String] compartment_id The OCID of the compartment (remember that the tenancy is simply the root compartment).
|
2890
3227
|
#
|
2891
3228
|
# @param [Hash] opts the optional parameters
|
3229
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
3230
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then then operation will not retry
|
2892
3231
|
# @option opts [String] :page The value of the `opc-next-page` response header from the previous \"List\" call.
|
2893
3232
|
#
|
2894
3233
|
# @option opts [Integer] :limit The maximum number of items to return in a paginated \"List\" call.
|
@@ -2915,16 +3254,20 @@ module OCI
|
|
2915
3254
|
|
2916
3255
|
post_body = nil
|
2917
3256
|
|
2918
|
-
|
2919
|
-
|
2920
|
-
|
2921
|
-
|
2922
|
-
|
2923
|
-
|
2924
|
-
|
2925
|
-
|
2926
|
-
|
2927
|
-
|
3257
|
+
# rubocop:disable Metrics/BlockLength
|
3258
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'IdentityClient#list_users') do
|
3259
|
+
@api_client.call_api(
|
3260
|
+
:GET,
|
3261
|
+
path,
|
3262
|
+
endpoint,
|
3263
|
+
header_params: header_params,
|
3264
|
+
query_params: query_params,
|
3265
|
+
operation_signing_strategy: operation_signing_strategy,
|
3266
|
+
body: post_body,
|
3267
|
+
return_type: 'Array<OCI::Identity::Models::User>'
|
3268
|
+
)
|
3269
|
+
end
|
3270
|
+
# rubocop:enable Metrics/BlockLength
|
2928
3271
|
end
|
2929
3272
|
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
2930
3273
|
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
@@ -2938,6 +3281,8 @@ module OCI
|
|
2938
3281
|
# Removes a user from a group by deleting the corresponding `UserGroupMembership`.
|
2939
3282
|
# @param [String] user_group_membership_id The OCID of the userGroupMembership.
|
2940
3283
|
# @param [Hash] opts the optional parameters
|
3284
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
3285
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then then operation will not retry
|
2941
3286
|
# @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
|
2942
3287
|
# parameter to the value of the etag from a previous GET or POST response for that resource. The resource
|
2943
3288
|
# will be updated or deleted only if the etag you provide matches the resource's current etag value.
|
@@ -2963,15 +3308,19 @@ module OCI
|
|
2963
3308
|
|
2964
3309
|
post_body = nil
|
2965
3310
|
|
2966
|
-
|
2967
|
-
|
2968
|
-
|
2969
|
-
|
2970
|
-
|
2971
|
-
|
2972
|
-
|
2973
|
-
|
2974
|
-
|
3311
|
+
# rubocop:disable Metrics/BlockLength
|
3312
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'IdentityClient#remove_user_from_group') do
|
3313
|
+
@api_client.call_api(
|
3314
|
+
:DELETE,
|
3315
|
+
path,
|
3316
|
+
endpoint,
|
3317
|
+
header_params: header_params,
|
3318
|
+
query_params: query_params,
|
3319
|
+
operation_signing_strategy: operation_signing_strategy,
|
3320
|
+
body: post_body
|
3321
|
+
)
|
3322
|
+
end
|
3323
|
+
# rubocop:enable Metrics/BlockLength
|
2975
3324
|
end
|
2976
3325
|
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
2977
3326
|
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
@@ -2986,6 +3335,8 @@ module OCI
|
|
2986
3335
|
# @param [String] compartment_id The OCID of the compartment.
|
2987
3336
|
# @param [OCI::Identity::Models::UpdateCompartmentDetails] update_compartment_details Request object for updating a compartment.
|
2988
3337
|
# @param [Hash] opts the optional parameters
|
3338
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
3339
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then then operation will not retry
|
2989
3340
|
# @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
|
2990
3341
|
# parameter to the value of the etag from a previous GET or POST response for that resource. The resource
|
2991
3342
|
# will be updated or deleted only if the etag you provide matches the resource's current etag value.
|
@@ -3012,16 +3363,20 @@ module OCI
|
|
3012
3363
|
|
3013
3364
|
post_body = @api_client.object_to_http_body(update_compartment_details)
|
3014
3365
|
|
3015
|
-
|
3016
|
-
|
3017
|
-
|
3018
|
-
|
3019
|
-
|
3020
|
-
|
3021
|
-
|
3022
|
-
|
3023
|
-
|
3024
|
-
|
3366
|
+
# rubocop:disable Metrics/BlockLength
|
3367
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'IdentityClient#update_compartment') do
|
3368
|
+
@api_client.call_api(
|
3369
|
+
:PUT,
|
3370
|
+
path,
|
3371
|
+
endpoint,
|
3372
|
+
header_params: header_params,
|
3373
|
+
query_params: query_params,
|
3374
|
+
operation_signing_strategy: operation_signing_strategy,
|
3375
|
+
body: post_body,
|
3376
|
+
return_type: 'OCI::Identity::Models::Compartment'
|
3377
|
+
)
|
3378
|
+
end
|
3379
|
+
# rubocop:enable Metrics/BlockLength
|
3025
3380
|
end
|
3026
3381
|
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
3027
3382
|
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
@@ -3038,6 +3393,8 @@ module OCI
|
|
3038
3393
|
# @param [String] customer_secret_key_id The OCID of the secret key.
|
3039
3394
|
# @param [OCI::Identity::Models::UpdateCustomerSecretKeyDetails] update_customer_secret_key_details Request object for updating a secret key.
|
3040
3395
|
# @param [Hash] opts the optional parameters
|
3396
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
3397
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then then operation will not retry
|
3041
3398
|
# @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
|
3042
3399
|
# parameter to the value of the etag from a previous GET or POST response for that resource. The resource
|
3043
3400
|
# will be updated or deleted only if the etag you provide matches the resource's current etag value.
|
@@ -3066,16 +3423,20 @@ module OCI
|
|
3066
3423
|
|
3067
3424
|
post_body = @api_client.object_to_http_body(update_customer_secret_key_details)
|
3068
3425
|
|
3069
|
-
|
3070
|
-
|
3071
|
-
|
3072
|
-
|
3073
|
-
|
3074
|
-
|
3075
|
-
|
3076
|
-
|
3077
|
-
|
3078
|
-
|
3426
|
+
# rubocop:disable Metrics/BlockLength
|
3427
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'IdentityClient#update_customer_secret_key') do
|
3428
|
+
@api_client.call_api(
|
3429
|
+
:PUT,
|
3430
|
+
path,
|
3431
|
+
endpoint,
|
3432
|
+
header_params: header_params,
|
3433
|
+
query_params: query_params,
|
3434
|
+
operation_signing_strategy: operation_signing_strategy,
|
3435
|
+
body: post_body,
|
3436
|
+
return_type: 'OCI::Identity::Models::CustomerSecretKeySummary'
|
3437
|
+
)
|
3438
|
+
end
|
3439
|
+
# rubocop:enable Metrics/BlockLength
|
3079
3440
|
end
|
3080
3441
|
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
3081
3442
|
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
@@ -3090,6 +3451,8 @@ module OCI
|
|
3090
3451
|
# @param [String] dynamic_group_id The OCID of the dynamic group.
|
3091
3452
|
# @param [OCI::Identity::Models::UpdateDynamicGroupDetails] update_dynamic_group_details Request object for updating an dynamic group.
|
3092
3453
|
# @param [Hash] opts the optional parameters
|
3454
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
3455
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then then operation will not retry
|
3093
3456
|
# @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
|
3094
3457
|
# parameter to the value of the etag from a previous GET or POST response for that resource. The resource
|
3095
3458
|
# will be updated or deleted only if the etag you provide matches the resource's current etag value.
|
@@ -3116,16 +3479,20 @@ module OCI
|
|
3116
3479
|
|
3117
3480
|
post_body = @api_client.object_to_http_body(update_dynamic_group_details)
|
3118
3481
|
|
3119
|
-
|
3120
|
-
|
3121
|
-
|
3122
|
-
|
3123
|
-
|
3124
|
-
|
3125
|
-
|
3126
|
-
|
3127
|
-
|
3128
|
-
|
3482
|
+
# rubocop:disable Metrics/BlockLength
|
3483
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'IdentityClient#update_dynamic_group') do
|
3484
|
+
@api_client.call_api(
|
3485
|
+
:PUT,
|
3486
|
+
path,
|
3487
|
+
endpoint,
|
3488
|
+
header_params: header_params,
|
3489
|
+
query_params: query_params,
|
3490
|
+
operation_signing_strategy: operation_signing_strategy,
|
3491
|
+
body: post_body,
|
3492
|
+
return_type: 'OCI::Identity::Models::DynamicGroup'
|
3493
|
+
)
|
3494
|
+
end
|
3495
|
+
# rubocop:enable Metrics/BlockLength
|
3129
3496
|
end
|
3130
3497
|
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
3131
3498
|
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
@@ -3140,6 +3507,8 @@ module OCI
|
|
3140
3507
|
# @param [String] group_id The OCID of the group.
|
3141
3508
|
# @param [OCI::Identity::Models::UpdateGroupDetails] update_group_details Request object for updating a group.
|
3142
3509
|
# @param [Hash] opts the optional parameters
|
3510
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
3511
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then then operation will not retry
|
3143
3512
|
# @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
|
3144
3513
|
# parameter to the value of the etag from a previous GET or POST response for that resource. The resource
|
3145
3514
|
# will be updated or deleted only if the etag you provide matches the resource's current etag value.
|
@@ -3166,16 +3535,20 @@ module OCI
|
|
3166
3535
|
|
3167
3536
|
post_body = @api_client.object_to_http_body(update_group_details)
|
3168
3537
|
|
3169
|
-
|
3170
|
-
|
3171
|
-
|
3172
|
-
|
3173
|
-
|
3174
|
-
|
3175
|
-
|
3176
|
-
|
3177
|
-
|
3178
|
-
|
3538
|
+
# rubocop:disable Metrics/BlockLength
|
3539
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'IdentityClient#update_group') do
|
3540
|
+
@api_client.call_api(
|
3541
|
+
:PUT,
|
3542
|
+
path,
|
3543
|
+
endpoint,
|
3544
|
+
header_params: header_params,
|
3545
|
+
query_params: query_params,
|
3546
|
+
operation_signing_strategy: operation_signing_strategy,
|
3547
|
+
body: post_body,
|
3548
|
+
return_type: 'OCI::Identity::Models::Group'
|
3549
|
+
)
|
3550
|
+
end
|
3551
|
+
# rubocop:enable Metrics/BlockLength
|
3179
3552
|
end
|
3180
3553
|
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
3181
3554
|
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
@@ -3190,6 +3563,8 @@ module OCI
|
|
3190
3563
|
# @param [String] identity_provider_id The OCID of the identity provider.
|
3191
3564
|
# @param [OCI::Identity::Models::UpdateIdentityProviderDetails] update_identity_provider_details Request object for updating a identity provider.
|
3192
3565
|
# @param [Hash] opts the optional parameters
|
3566
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
3567
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then then operation will not retry
|
3193
3568
|
# @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
|
3194
3569
|
# parameter to the value of the etag from a previous GET or POST response for that resource. The resource
|
3195
3570
|
# will be updated or deleted only if the etag you provide matches the resource's current etag value.
|
@@ -3216,16 +3591,20 @@ module OCI
|
|
3216
3591
|
|
3217
3592
|
post_body = @api_client.object_to_http_body(update_identity_provider_details)
|
3218
3593
|
|
3219
|
-
|
3220
|
-
|
3221
|
-
|
3222
|
-
|
3223
|
-
|
3224
|
-
|
3225
|
-
|
3226
|
-
|
3227
|
-
|
3228
|
-
|
3594
|
+
# rubocop:disable Metrics/BlockLength
|
3595
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'IdentityClient#update_identity_provider') do
|
3596
|
+
@api_client.call_api(
|
3597
|
+
:PUT,
|
3598
|
+
path,
|
3599
|
+
endpoint,
|
3600
|
+
header_params: header_params,
|
3601
|
+
query_params: query_params,
|
3602
|
+
operation_signing_strategy: operation_signing_strategy,
|
3603
|
+
body: post_body,
|
3604
|
+
return_type: 'OCI::Identity::Models::IdentityProvider'
|
3605
|
+
)
|
3606
|
+
end
|
3607
|
+
# rubocop:enable Metrics/BlockLength
|
3229
3608
|
end
|
3230
3609
|
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
3231
3610
|
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
@@ -3241,6 +3620,8 @@ module OCI
|
|
3241
3620
|
# @param [String] mapping_id The OCID of the group mapping.
|
3242
3621
|
# @param [OCI::Identity::Models::UpdateIdpGroupMappingDetails] update_idp_group_mapping_details Request object for updating an identity provider group mapping
|
3243
3622
|
# @param [Hash] opts the optional parameters
|
3623
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
3624
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then then operation will not retry
|
3244
3625
|
# @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
|
3245
3626
|
# parameter to the value of the etag from a previous GET or POST response for that resource. The resource
|
3246
3627
|
# will be updated or deleted only if the etag you provide matches the resource's current etag value.
|
@@ -3269,16 +3650,20 @@ module OCI
|
|
3269
3650
|
|
3270
3651
|
post_body = @api_client.object_to_http_body(update_idp_group_mapping_details)
|
3271
3652
|
|
3272
|
-
|
3273
|
-
|
3274
|
-
|
3275
|
-
|
3276
|
-
|
3277
|
-
|
3278
|
-
|
3279
|
-
|
3280
|
-
|
3281
|
-
|
3653
|
+
# rubocop:disable Metrics/BlockLength
|
3654
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'IdentityClient#update_idp_group_mapping') do
|
3655
|
+
@api_client.call_api(
|
3656
|
+
:PUT,
|
3657
|
+
path,
|
3658
|
+
endpoint,
|
3659
|
+
header_params: header_params,
|
3660
|
+
query_params: query_params,
|
3661
|
+
operation_signing_strategy: operation_signing_strategy,
|
3662
|
+
body: post_body,
|
3663
|
+
return_type: 'OCI::Identity::Models::IdpGroupMapping'
|
3664
|
+
)
|
3665
|
+
end
|
3666
|
+
# rubocop:enable Metrics/BlockLength
|
3282
3667
|
end
|
3283
3668
|
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
3284
3669
|
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
@@ -3296,6 +3681,8 @@ module OCI
|
|
3296
3681
|
# @param [String] policy_id The OCID of the policy.
|
3297
3682
|
# @param [OCI::Identity::Models::UpdatePolicyDetails] update_policy_details Request object for updating a policy.
|
3298
3683
|
# @param [Hash] opts the optional parameters
|
3684
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
3685
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then then operation will not retry
|
3299
3686
|
# @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
|
3300
3687
|
# parameter to the value of the etag from a previous GET or POST response for that resource. The resource
|
3301
3688
|
# will be updated or deleted only if the etag you provide matches the resource's current etag value.
|
@@ -3322,16 +3709,20 @@ module OCI
|
|
3322
3709
|
|
3323
3710
|
post_body = @api_client.object_to_http_body(update_policy_details)
|
3324
3711
|
|
3325
|
-
|
3326
|
-
|
3327
|
-
|
3328
|
-
|
3329
|
-
|
3330
|
-
|
3331
|
-
|
3332
|
-
|
3333
|
-
|
3334
|
-
|
3712
|
+
# rubocop:disable Metrics/BlockLength
|
3713
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'IdentityClient#update_policy') do
|
3714
|
+
@api_client.call_api(
|
3715
|
+
:PUT,
|
3716
|
+
path,
|
3717
|
+
endpoint,
|
3718
|
+
header_params: header_params,
|
3719
|
+
query_params: query_params,
|
3720
|
+
operation_signing_strategy: operation_signing_strategy,
|
3721
|
+
body: post_body,
|
3722
|
+
return_type: 'OCI::Identity::Models::Policy'
|
3723
|
+
)
|
3724
|
+
end
|
3725
|
+
# rubocop:enable Metrics/BlockLength
|
3335
3726
|
end
|
3336
3727
|
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
3337
3728
|
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
@@ -3348,6 +3739,8 @@ module OCI
|
|
3348
3739
|
# @param [String] smtp_credential_id The OCID of the SMTP credential.
|
3349
3740
|
# @param [OCI::Identity::Models::UpdateSmtpCredentialDetails] update_smtp_credential_details Request object for updating a SMTP credential.
|
3350
3741
|
# @param [Hash] opts the optional parameters
|
3742
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
3743
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then then operation will not retry
|
3351
3744
|
# @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
|
3352
3745
|
# parameter to the value of the etag from a previous GET or POST response for that resource. The resource
|
3353
3746
|
# will be updated or deleted only if the etag you provide matches the resource's current etag value.
|
@@ -3376,16 +3769,20 @@ module OCI
|
|
3376
3769
|
|
3377
3770
|
post_body = @api_client.object_to_http_body(update_smtp_credential_details)
|
3378
3771
|
|
3379
|
-
|
3380
|
-
|
3381
|
-
|
3382
|
-
|
3383
|
-
|
3384
|
-
|
3385
|
-
|
3386
|
-
|
3387
|
-
|
3388
|
-
|
3772
|
+
# rubocop:disable Metrics/BlockLength
|
3773
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'IdentityClient#update_smtp_credential') do
|
3774
|
+
@api_client.call_api(
|
3775
|
+
:PUT,
|
3776
|
+
path,
|
3777
|
+
endpoint,
|
3778
|
+
header_params: header_params,
|
3779
|
+
query_params: query_params,
|
3780
|
+
operation_signing_strategy: operation_signing_strategy,
|
3781
|
+
body: post_body,
|
3782
|
+
return_type: 'OCI::Identity::Models::SmtpCredentialSummary'
|
3783
|
+
)
|
3784
|
+
end
|
3785
|
+
# rubocop:enable Metrics/BlockLength
|
3389
3786
|
end
|
3390
3787
|
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
3391
3788
|
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
@@ -3402,6 +3799,8 @@ module OCI
|
|
3402
3799
|
# @param [String] swift_password_id The OCID of the Swift password.
|
3403
3800
|
# @param [OCI::Identity::Models::UpdateSwiftPasswordDetails] update_swift_password_details Request object for updating a Swift password.
|
3404
3801
|
# @param [Hash] opts the optional parameters
|
3802
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
3803
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then then operation will not retry
|
3405
3804
|
# @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
|
3406
3805
|
# parameter to the value of the etag from a previous GET or POST response for that resource. The resource
|
3407
3806
|
# will be updated or deleted only if the etag you provide matches the resource's current etag value.
|
@@ -3430,16 +3829,20 @@ module OCI
|
|
3430
3829
|
|
3431
3830
|
post_body = @api_client.object_to_http_body(update_swift_password_details)
|
3432
3831
|
|
3433
|
-
|
3434
|
-
|
3435
|
-
|
3436
|
-
|
3437
|
-
|
3438
|
-
|
3439
|
-
|
3440
|
-
|
3441
|
-
|
3442
|
-
|
3832
|
+
# rubocop:disable Metrics/BlockLength
|
3833
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'IdentityClient#update_swift_password') do
|
3834
|
+
@api_client.call_api(
|
3835
|
+
:PUT,
|
3836
|
+
path,
|
3837
|
+
endpoint,
|
3838
|
+
header_params: header_params,
|
3839
|
+
query_params: query_params,
|
3840
|
+
operation_signing_strategy: operation_signing_strategy,
|
3841
|
+
body: post_body,
|
3842
|
+
return_type: 'OCI::Identity::Models::SwiftPassword'
|
3843
|
+
)
|
3844
|
+
end
|
3845
|
+
# rubocop:enable Metrics/BlockLength
|
3443
3846
|
end
|
3444
3847
|
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
3445
3848
|
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
@@ -3459,6 +3862,8 @@ module OCI
|
|
3459
3862
|
#
|
3460
3863
|
# @param [OCI::Identity::Models::UpdateTagDetails] update_tag_details Request object for updating a tag.
|
3461
3864
|
# @param [Hash] opts the optional parameters
|
3865
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
3866
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then then operation will not retry
|
3462
3867
|
# @return [Response] A Response object with data of type {OCI::Identity::Models::Tag Tag}
|
3463
3868
|
def update_tag(tag_namespace_id, tag_name, update_tag_details, opts = {})
|
3464
3869
|
logger.debug 'Calling operation IdentityClient#update_tag.' if logger
|
@@ -3482,16 +3887,20 @@ module OCI
|
|
3482
3887
|
|
3483
3888
|
post_body = @api_client.object_to_http_body(update_tag_details)
|
3484
3889
|
|
3485
|
-
|
3486
|
-
|
3487
|
-
|
3488
|
-
|
3489
|
-
|
3490
|
-
|
3491
|
-
|
3492
|
-
|
3493
|
-
|
3494
|
-
|
3890
|
+
# rubocop:disable Metrics/BlockLength
|
3891
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'IdentityClient#update_tag') do
|
3892
|
+
@api_client.call_api(
|
3893
|
+
:PUT,
|
3894
|
+
path,
|
3895
|
+
endpoint,
|
3896
|
+
header_params: header_params,
|
3897
|
+
query_params: query_params,
|
3898
|
+
operation_signing_strategy: operation_signing_strategy,
|
3899
|
+
body: post_body,
|
3900
|
+
return_type: 'OCI::Identity::Models::Tag'
|
3901
|
+
)
|
3902
|
+
end
|
3903
|
+
# rubocop:enable Metrics/BlockLength
|
3495
3904
|
end
|
3496
3905
|
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
3497
3906
|
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
@@ -3518,6 +3927,8 @@ module OCI
|
|
3518
3927
|
#
|
3519
3928
|
# @param [OCI::Identity::Models::UpdateTagNamespaceDetails] update_tag_namespace_details Request object for updating a namespace.
|
3520
3929
|
# @param [Hash] opts the optional parameters
|
3930
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
3931
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then then operation will not retry
|
3521
3932
|
# @return [Response] A Response object with data of type {OCI::Identity::Models::TagNamespace TagNamespace}
|
3522
3933
|
def update_tag_namespace(tag_namespace_id, update_tag_namespace_details, opts = {})
|
3523
3934
|
logger.debug 'Calling operation IdentityClient#update_tag_namespace.' if logger
|
@@ -3539,16 +3950,20 @@ module OCI
|
|
3539
3950
|
|
3540
3951
|
post_body = @api_client.object_to_http_body(update_tag_namespace_details)
|
3541
3952
|
|
3542
|
-
|
3543
|
-
|
3544
|
-
|
3545
|
-
|
3546
|
-
|
3547
|
-
|
3548
|
-
|
3549
|
-
|
3550
|
-
|
3551
|
-
|
3953
|
+
# rubocop:disable Metrics/BlockLength
|
3954
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'IdentityClient#update_tag_namespace') do
|
3955
|
+
@api_client.call_api(
|
3956
|
+
:PUT,
|
3957
|
+
path,
|
3958
|
+
endpoint,
|
3959
|
+
header_params: header_params,
|
3960
|
+
query_params: query_params,
|
3961
|
+
operation_signing_strategy: operation_signing_strategy,
|
3962
|
+
body: post_body,
|
3963
|
+
return_type: 'OCI::Identity::Models::TagNamespace'
|
3964
|
+
)
|
3965
|
+
end
|
3966
|
+
# rubocop:enable Metrics/BlockLength
|
3552
3967
|
end
|
3553
3968
|
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
3554
3969
|
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
@@ -3564,6 +3979,8 @@ module OCI
|
|
3564
3979
|
# @param [String] user_id The OCID of the user.
|
3565
3980
|
# @param [OCI::Identity::Models::UpdateUserDetails] update_user_details Request object for updating a user.
|
3566
3981
|
# @param [Hash] opts the optional parameters
|
3982
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
3983
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then then operation will not retry
|
3567
3984
|
# @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
|
3568
3985
|
# parameter to the value of the etag from a previous GET or POST response for that resource. The resource
|
3569
3986
|
# will be updated or deleted only if the etag you provide matches the resource's current etag value.
|
@@ -3590,16 +4007,20 @@ module OCI
|
|
3590
4007
|
|
3591
4008
|
post_body = @api_client.object_to_http_body(update_user_details)
|
3592
4009
|
|
3593
|
-
|
3594
|
-
|
3595
|
-
|
3596
|
-
|
3597
|
-
|
3598
|
-
|
3599
|
-
|
3600
|
-
|
3601
|
-
|
3602
|
-
|
4010
|
+
# rubocop:disable Metrics/BlockLength
|
4011
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'IdentityClient#update_user') do
|
4012
|
+
@api_client.call_api(
|
4013
|
+
:PUT,
|
4014
|
+
path,
|
4015
|
+
endpoint,
|
4016
|
+
header_params: header_params,
|
4017
|
+
query_params: query_params,
|
4018
|
+
operation_signing_strategy: operation_signing_strategy,
|
4019
|
+
body: post_body,
|
4020
|
+
return_type: 'OCI::Identity::Models::User'
|
4021
|
+
)
|
4022
|
+
end
|
4023
|
+
# rubocop:enable Metrics/BlockLength
|
3603
4024
|
end
|
3604
4025
|
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
3605
4026
|
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
@@ -3615,6 +4036,8 @@ module OCI
|
|
3615
4036
|
# @param [String] user_id The OCID of the user.
|
3616
4037
|
# @param [OCI::Identity::Models::UpdateStateDetails] update_state_details Request object for updating a user state.
|
3617
4038
|
# @param [Hash] opts the optional parameters
|
4039
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
4040
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then then operation will not retry
|
3618
4041
|
# @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
|
3619
4042
|
# parameter to the value of the etag from a previous GET or POST response for that resource. The resource
|
3620
4043
|
# will be updated or deleted only if the etag you provide matches the resource's current etag value.
|
@@ -3641,16 +4064,20 @@ module OCI
|
|
3641
4064
|
|
3642
4065
|
post_body = @api_client.object_to_http_body(update_state_details)
|
3643
4066
|
|
3644
|
-
|
3645
|
-
|
3646
|
-
|
3647
|
-
|
3648
|
-
|
3649
|
-
|
3650
|
-
|
3651
|
-
|
3652
|
-
|
3653
|
-
|
4067
|
+
# rubocop:disable Metrics/BlockLength
|
4068
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'IdentityClient#update_user_state') do
|
4069
|
+
@api_client.call_api(
|
4070
|
+
:PUT,
|
4071
|
+
path,
|
4072
|
+
endpoint,
|
4073
|
+
header_params: header_params,
|
4074
|
+
query_params: query_params,
|
4075
|
+
operation_signing_strategy: operation_signing_strategy,
|
4076
|
+
body: post_body,
|
4077
|
+
return_type: 'OCI::Identity::Models::User'
|
4078
|
+
)
|
4079
|
+
end
|
4080
|
+
# rubocop:enable Metrics/BlockLength
|
3654
4081
|
end
|
3655
4082
|
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
3656
4083
|
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
@@ -3680,6 +4107,8 @@ module OCI
|
|
3680
4107
|
# @param [String] user_id The OCID of the user.
|
3681
4108
|
# @param [OCI::Identity::Models::CreateApiKeyDetails] create_api_key_details Request object for uploading an API key for a user.
|
3682
4109
|
# @param [Hash] opts the optional parameters
|
4110
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
4111
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then then operation will not retry
|
3683
4112
|
# @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case of a timeout or
|
3684
4113
|
# server error without risk of executing that same action again. Retry tokens expire after 24
|
3685
4114
|
# hours, but can be invalidated before then due to conflicting operations (e.g., if a resource
|
@@ -3705,23 +4134,35 @@ module OCI
|
|
3705
4134
|
header_params['accept'] = 'application/json'
|
3706
4135
|
header_params['content-type'] = 'application/json'
|
3707
4136
|
header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
|
4137
|
+
header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
|
3708
4138
|
|
3709
4139
|
post_body = @api_client.object_to_http_body(create_api_key_details)
|
3710
4140
|
|
3711
|
-
|
3712
|
-
|
3713
|
-
|
3714
|
-
|
3715
|
-
|
3716
|
-
|
3717
|
-
|
3718
|
-
|
3719
|
-
|
3720
|
-
|
4141
|
+
# rubocop:disable Metrics/BlockLength
|
4142
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'IdentityClient#upload_api_key') do
|
4143
|
+
@api_client.call_api(
|
4144
|
+
:POST,
|
4145
|
+
path,
|
4146
|
+
endpoint,
|
4147
|
+
header_params: header_params,
|
4148
|
+
query_params: query_params,
|
4149
|
+
operation_signing_strategy: operation_signing_strategy,
|
4150
|
+
body: post_body,
|
4151
|
+
return_type: 'OCI::Identity::Models::ApiKey'
|
4152
|
+
)
|
4153
|
+
end
|
4154
|
+
# rubocop:enable Metrics/BlockLength
|
3721
4155
|
end
|
3722
4156
|
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
3723
4157
|
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
3724
4158
|
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
4159
|
+
|
4160
|
+
private
|
4161
|
+
|
4162
|
+
def applicable_retry_config(opts = {})
|
4163
|
+
return @retry_config unless opts.key?(:retry_config)
|
4164
|
+
opts[:retry_config]
|
4165
|
+
end
|
3725
4166
|
end
|
3726
4167
|
end
|
3727
4168
|
# rubocop:enable Lint/UnneededCopDisableDirective, Metrics/LineLength
|