oci 2.1.1 → 2.1.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (76) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +26 -1
  3. data/lib/oci.rb +1 -0
  4. data/lib/oci/audit/audit_client.rb +65 -30
  5. data/lib/oci/audit/models/audit_event.rb +17 -1
  6. data/lib/oci/core/blockstorage_client.rb +336 -197
  7. data/lib/oci/core/compute_client.rb +601 -357
  8. data/lib/oci/core/models/attach_volume_details.rb +4 -0
  9. data/lib/oci/core/models/boot_volume.rb +1 -1
  10. data/lib/oci/core/models/dhcp_option.rb +4 -0
  11. data/lib/oci/core/models/export_image_details.rb +4 -0
  12. data/lib/oci/core/models/image_source_details.rb +4 -0
  13. data/lib/oci/core/models/instance_source_details.rb +4 -0
  14. data/lib/oci/core/models/volume_attachment.rb +4 -0
  15. data/lib/oci/core/models/volume_source_details.rb +4 -0
  16. data/lib/oci/core/util.rb +29 -0
  17. data/lib/oci/core/virtual_network_client.rb +1695 -1031
  18. data/lib/oci/database/database_client.rb +612 -368
  19. data/lib/oci/database/models/create_data_guard_association_details.rb +4 -0
  20. data/lib/oci/database/models/create_db_home_with_db_system_id_base.rb +4 -0
  21. data/lib/oci/dns/dns_client.rb +271 -158
  22. data/lib/oci/email/email_client.rb +144 -79
  23. data/lib/oci/file_storage/file_storage_client.rb +354 -207
  24. data/lib/oci/identity/identity_client.rb +1111 -670
  25. data/lib/oci/identity/models/create_identity_provider_details.rb +4 -0
  26. data/lib/oci/identity/models/identity_provider.rb +4 -0
  27. data/lib/oci/identity/models/update_identity_provider_details.rb +4 -0
  28. data/lib/oci/load_balancer/load_balancer.rb +4 -0
  29. data/lib/oci/load_balancer/load_balancer_client.rb +943 -383
  30. data/lib/oci/load_balancer/load_balancer_client_composite_operations.rb +149 -17
  31. data/lib/oci/load_balancer/models/backend.rb +5 -5
  32. data/lib/oci/load_balancer/models/backend_details.rb +4 -4
  33. data/lib/oci/load_balancer/models/backend_set.rb +1 -1
  34. data/lib/oci/load_balancer/models/backend_set_health.rb +4 -4
  35. data/lib/oci/load_balancer/models/certificate.rb +2 -2
  36. data/lib/oci/load_balancer/models/certificate_details.rb +2 -4
  37. data/lib/oci/load_balancer/models/connection_configuration.rb +1 -28
  38. data/lib/oci/load_balancer/models/create_backend_details.rb +4 -4
  39. data/lib/oci/load_balancer/models/create_backend_set_details.rb +1 -1
  40. data/lib/oci/load_balancer/models/create_certificate_details.rb +5 -7
  41. data/lib/oci/load_balancer/models/create_hostname_details.rb +164 -0
  42. data/lib/oci/load_balancer/models/create_listener_details.rb +19 -5
  43. data/lib/oci/load_balancer/models/create_load_balancer_details.rb +12 -3
  44. data/lib/oci/load_balancer/models/create_path_route_set_details.rb +1 -1
  45. data/lib/oci/load_balancer/models/health_check_result.rb +2 -2
  46. data/lib/oci/load_balancer/models/health_checker.rb +3 -3
  47. data/lib/oci/load_balancer/models/health_checker_details.rb +3 -3
  48. data/lib/oci/load_balancer/models/hostname.rb +164 -0
  49. data/lib/oci/load_balancer/models/hostname_details.rb +163 -0
  50. data/lib/oci/load_balancer/models/ip_address.rb +1 -1
  51. data/lib/oci/load_balancer/models/listener.rb +19 -5
  52. data/lib/oci/load_balancer/models/listener_details.rb +17 -3
  53. data/lib/oci/load_balancer/models/load_balancer.rb +13 -2
  54. data/lib/oci/load_balancer/models/load_balancer_health.rb +3 -3
  55. data/lib/oci/load_balancer/models/load_balancer_policy.rb +4 -1
  56. data/lib/oci/load_balancer/models/load_balancer_protocol.rb +5 -2
  57. data/lib/oci/load_balancer/models/load_balancer_shape.rb +3 -0
  58. data/lib/oci/load_balancer/models/path_route.rb +1 -1
  59. data/lib/oci/load_balancer/models/path_route_set.rb +1 -1
  60. data/lib/oci/load_balancer/models/session_persistence_configuration_details.rb +2 -2
  61. data/lib/oci/load_balancer/models/ssl_configuration.rb +1 -1
  62. data/lib/oci/load_balancer/models/ssl_configuration_details.rb +1 -1
  63. data/lib/oci/load_balancer/models/update_backend_details.rb +3 -3
  64. data/lib/oci/load_balancer/models/update_health_checker_details.rb +3 -3
  65. data/lib/oci/load_balancer/models/update_hostname_details.rb +153 -0
  66. data/lib/oci/load_balancer/models/update_listener_details.rb +17 -3
  67. data/lib/oci/load_balancer/models/update_load_balancer_details.rb +1 -1
  68. data/lib/oci/load_balancer/models/work_request.rb +2 -0
  69. data/lib/oci/object_storage/object_storage_client.rb +443 -270
  70. data/lib/oci/retry/functions/should_retry_on_error.rb +28 -0
  71. data/lib/oci/retry/functions/sleep.rb +85 -0
  72. data/lib/oci/retry/internal/retry_state.rb +48 -0
  73. data/lib/oci/retry/retry.rb +85 -0
  74. data/lib/oci/retry/retry_config.rb +121 -0
  75. data/lib/oci/version.rb +1 -1
  76. metadata +39 -4
@@ -54,6 +54,9 @@ module OCI
54
54
  }
55
55
  end
56
56
 
57
+ # rubocop:disable Metrics/CyclomaticComplexity, Layout/EmptyLines
58
+
59
+
57
60
  # Given the hash representation of a subtype of this class,
58
61
  # use the info in the hash to return the class of the subtype.
59
62
  def self.get_subtype(object_hash)
@@ -65,6 +68,7 @@ module OCI
65
68
  # TODO: Log a warning when the subtype is not found.
66
69
  'OCI::Core::Models::AttachVolumeDetails'
67
70
  end
71
+ # rubocop:enable Metrics/CyclomaticComplexity, Layout/EmptyLines
68
72
 
69
73
  # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
70
74
  # rubocop:disable Metrics/LineLength, Metrics/MethodLength, Layout/EmptyLines, Style/SymbolLiteral
@@ -5,7 +5,7 @@ require 'logger'
5
5
 
6
6
  # rubocop:disable Lint/UnneededCopDisableDirective
7
7
  module OCI
8
- # A detachable boot volume device that contains the image used to boot an Compute instance. For more information, see
8
+ # A detachable boot volume device that contains the image used to boot a Compute instance. For more information, see
9
9
  # [Overview of Boot Volumes](https://docs.us-phoenix-1.oraclecloud.com/Content/Block/Concepts/bootvolumes.htm).
10
10
  #
11
11
  # To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized,
@@ -37,6 +37,9 @@ module OCI
37
37
  }
38
38
  end
39
39
 
40
+ # rubocop:disable Metrics/CyclomaticComplexity, Layout/EmptyLines
41
+
42
+
40
43
  # Given the hash representation of a subtype of this class,
41
44
  # use the info in the hash to return the class of the subtype.
42
45
  def self.get_subtype(object_hash)
@@ -48,6 +51,7 @@ module OCI
48
51
  # TODO: Log a warning when the subtype is not found.
49
52
  'OCI::Core::Models::DhcpOption'
50
53
  end
54
+ # rubocop:enable Metrics/CyclomaticComplexity, Layout/EmptyLines
51
55
 
52
56
  # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
53
57
  # rubocop:disable Metrics/LineLength, Metrics/MethodLength, Layout/EmptyLines, Style/SymbolLiteral
@@ -40,6 +40,9 @@ module OCI
40
40
  }
41
41
  end
42
42
 
43
+ # rubocop:disable Metrics/CyclomaticComplexity, Layout/EmptyLines
44
+
45
+
43
46
  # Given the hash representation of a subtype of this class,
44
47
  # use the info in the hash to return the class of the subtype.
45
48
  def self.get_subtype(object_hash)
@@ -51,6 +54,7 @@ module OCI
51
54
  # TODO: Log a warning when the subtype is not found.
52
55
  'OCI::Core::Models::ExportImageDetails'
53
56
  end
57
+ # rubocop:enable Metrics/CyclomaticComplexity, Layout/EmptyLines
54
58
 
55
59
  # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
56
60
  # rubocop:disable Metrics/LineLength, Metrics/MethodLength, Layout/EmptyLines, Style/SymbolLiteral
@@ -44,6 +44,9 @@ module OCI
44
44
  }
45
45
  end
46
46
 
47
+ # rubocop:disable Metrics/CyclomaticComplexity, Layout/EmptyLines
48
+
49
+
47
50
  # Given the hash representation of a subtype of this class,
48
51
  # use the info in the hash to return the class of the subtype.
49
52
  def self.get_subtype(object_hash)
@@ -55,6 +58,7 @@ module OCI
55
58
  # TODO: Log a warning when the subtype is not found.
56
59
  'OCI::Core::Models::ImageSourceDetails'
57
60
  end
61
+ # rubocop:enable Metrics/CyclomaticComplexity, Layout/EmptyLines
58
62
 
59
63
  # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
60
64
  # rubocop:disable Metrics/LineLength, Metrics/MethodLength, Layout/EmptyLines, Style/SymbolLiteral
@@ -32,6 +32,9 @@ module OCI
32
32
  }
33
33
  end
34
34
 
35
+ # rubocop:disable Metrics/CyclomaticComplexity, Layout/EmptyLines
36
+
37
+
35
38
  # Given the hash representation of a subtype of this class,
36
39
  # use the info in the hash to return the class of the subtype.
37
40
  def self.get_subtype(object_hash)
@@ -43,6 +46,7 @@ module OCI
43
46
  # TODO: Log a warning when the subtype is not found.
44
47
  'OCI::Core::Models::InstanceSourceDetails'
45
48
  end
49
+ # rubocop:enable Metrics/CyclomaticComplexity, Layout/EmptyLines
46
50
 
47
51
  # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
48
52
  # rubocop:disable Metrics/LineLength, Metrics/MethodLength, Layout/EmptyLines, Style/SymbolLiteral
@@ -108,6 +108,9 @@ module OCI
108
108
  }
109
109
  end
110
110
 
111
+ # rubocop:disable Metrics/CyclomaticComplexity, Layout/EmptyLines
112
+
113
+
111
114
  # Given the hash representation of a subtype of this class,
112
115
  # use the info in the hash to return the class of the subtype.
113
116
  def self.get_subtype(object_hash)
@@ -119,6 +122,7 @@ module OCI
119
122
  # TODO: Log a warning when the subtype is not found.
120
123
  'OCI::Core::Models::VolumeAttachment'
121
124
  end
125
+ # rubocop:enable Metrics/CyclomaticComplexity, Layout/EmptyLines
122
126
 
123
127
  # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
124
128
  # rubocop:disable Metrics/LineLength, Metrics/MethodLength, Layout/EmptyLines, Style/SymbolLiteral
@@ -29,6 +29,9 @@ module OCI
29
29
  }
30
30
  end
31
31
 
32
+ # rubocop:disable Metrics/CyclomaticComplexity, Layout/EmptyLines
33
+
34
+
32
35
  # Given the hash representation of a subtype of this class,
33
36
  # use the info in the hash to return the class of the subtype.
34
37
  def self.get_subtype(object_hash)
@@ -40,6 +43,7 @@ module OCI
40
43
  # TODO: Log a warning when the subtype is not found.
41
44
  'OCI::Core::Models::VolumeSourceDetails'
42
45
  end
46
+ # rubocop:enable Metrics/CyclomaticComplexity, Layout/EmptyLines
43
47
 
44
48
  # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
45
49
  # rubocop:disable Metrics/LineLength, Metrics/MethodLength, Layout/EmptyLines, Style/SymbolLiteral
@@ -1,2 +1,31 @@
1
1
  # Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
2
2
 
3
+ require 'base64'
4
+
5
+ module OCI
6
+ module Core
7
+ # This module contains utility methods for dealing with Core Services (Compute, Block Volume and Networking)
8
+ module Util
9
+ # Takes a file path and returns a Base64-encoded string which can be provided as the value of the `user_data`
10
+ # key in the `metadata` dictionary when launching an instance. See {OCI::Core::Models::LaunchInstanceDetails}
11
+ # for more information.
12
+ #
13
+ # @param [String] file_path The path to the file to use for user_data
14
+ #
15
+ # @return [String] A Base64-encoded string which can be used as the value of the `user_data` key in the
16
+ # `metadata` dictionary when launching an instance
17
+ def self.file_content_as_launch_instance_user_data(file_path)
18
+ expanded_path = File.expand_path(file_path)
19
+ raise 'The specified file does not exist' unless File.exist?(file_path)
20
+
21
+ file_content = nil
22
+ File.open(expanded_path, 'rb') do |file|
23
+ file_content = file.read
24
+ end
25
+
26
+ Base64.strict_encode64(file_content)
27
+ end
28
+ end
29
+ end
30
+ end
31
+
@@ -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
- def initialize(config: nil, region: nil, signer: nil, proxy_settings: nil)
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)
@@ -98,6 +108,8 @@ module OCI
98
108
  # @param [String] virtual_circuit_id The OCID of the virtual circuit.
99
109
  # @param [OCI::Core::Models::BulkAddVirtualCircuitPublicPrefixesDetails] bulk_add_virtual_circuit_public_prefixes_details Request with publix prefixes to be added to the virtual circuit
100
110
  # @param [Hash] opts the optional parameters
111
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
112
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then then operation will not retry
101
113
  # @return [Response] A Response object with data of type nil
102
114
  def bulk_add_virtual_circuit_public_prefixes(virtual_circuit_id, bulk_add_virtual_circuit_public_prefixes_details, opts = {})
103
115
  logger.debug 'Calling operation VirtualNetworkClient#bulk_add_virtual_circuit_public_prefixes.' if logger
@@ -119,15 +131,19 @@ module OCI
119
131
 
120
132
  post_body = @api_client.object_to_http_body(bulk_add_virtual_circuit_public_prefixes_details)
121
133
 
122
- @api_client.call_api(
123
- :POST,
124
- path,
125
- endpoint,
126
- header_params: header_params,
127
- query_params: query_params,
128
- operation_signing_strategy: operation_signing_strategy,
129
- body: post_body
130
- )
134
+ # rubocop:disable Metrics/BlockLength
135
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'VirtualNetworkClient#bulk_add_virtual_circuit_public_prefixes') do
136
+ @api_client.call_api(
137
+ :POST,
138
+ path,
139
+ endpoint,
140
+ header_params: header_params,
141
+ query_params: query_params,
142
+ operation_signing_strategy: operation_signing_strategy,
143
+ body: post_body
144
+ )
145
+ end
146
+ # rubocop:enable Metrics/BlockLength
131
147
  end
132
148
  # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
133
149
  # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
@@ -148,6 +164,8 @@ module OCI
148
164
  # @param [String] virtual_circuit_id The OCID of the virtual circuit.
149
165
  # @param [OCI::Core::Models::BulkDeleteVirtualCircuitPublicPrefixesDetails] bulk_delete_virtual_circuit_public_prefixes_details Request with publix prefixes to be deleted from the virtual circuit
150
166
  # @param [Hash] opts the optional parameters
167
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
168
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then then operation will not retry
151
169
  # @return [Response] A Response object with data of type nil
152
170
  def bulk_delete_virtual_circuit_public_prefixes(virtual_circuit_id, bulk_delete_virtual_circuit_public_prefixes_details, opts = {})
153
171
  logger.debug 'Calling operation VirtualNetworkClient#bulk_delete_virtual_circuit_public_prefixes.' if logger
@@ -169,15 +187,19 @@ module OCI
169
187
 
170
188
  post_body = @api_client.object_to_http_body(bulk_delete_virtual_circuit_public_prefixes_details)
171
189
 
172
- @api_client.call_api(
173
- :POST,
174
- path,
175
- endpoint,
176
- header_params: header_params,
177
- query_params: query_params,
178
- operation_signing_strategy: operation_signing_strategy,
179
- body: post_body
180
- )
190
+ # rubocop:disable Metrics/BlockLength
191
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'VirtualNetworkClient#bulk_delete_virtual_circuit_public_prefixes') do
192
+ @api_client.call_api(
193
+ :POST,
194
+ path,
195
+ endpoint,
196
+ header_params: header_params,
197
+ query_params: query_params,
198
+ operation_signing_strategy: operation_signing_strategy,
199
+ body: post_body
200
+ )
201
+ end
202
+ # rubocop:enable Metrics/BlockLength
181
203
  end
182
204
  # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
183
205
  # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
@@ -202,6 +224,8 @@ module OCI
202
224
  # @param [String] local_peering_gateway_id The OCID of the local peering gateway.
203
225
  # @param [OCI::Core::Models::ConnectLocalPeeringGatewaysDetails] connect_local_peering_gateways_details Details regarding the local peering gateway to connect.
204
226
  # @param [Hash] opts the optional parameters
227
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
228
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then then operation will not retry
205
229
  # @return [Response] A Response object with data of type nil
206
230
  def connect_local_peering_gateways(local_peering_gateway_id, connect_local_peering_gateways_details, opts = {})
207
231
  logger.debug 'Calling operation VirtualNetworkClient#connect_local_peering_gateways.' if logger
@@ -223,15 +247,19 @@ module OCI
223
247
 
224
248
  post_body = @api_client.object_to_http_body(connect_local_peering_gateways_details)
225
249
 
226
- @api_client.call_api(
227
- :POST,
228
- path,
229
- endpoint,
230
- header_params: header_params,
231
- query_params: query_params,
232
- operation_signing_strategy: operation_signing_strategy,
233
- body: post_body
234
- )
250
+ # rubocop:disable Metrics/BlockLength
251
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'VirtualNetworkClient#connect_local_peering_gateways') do
252
+ @api_client.call_api(
253
+ :POST,
254
+ path,
255
+ endpoint,
256
+ header_params: header_params,
257
+ query_params: query_params,
258
+ operation_signing_strategy: operation_signing_strategy,
259
+ body: post_body
260
+ )
261
+ end
262
+ # rubocop:enable Metrics/BlockLength
235
263
  end
236
264
  # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
237
265
  # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
@@ -256,6 +284,8 @@ module OCI
256
284
  # @param [String] remote_peering_connection_id The OCID of the remote peering connection (RPC).
257
285
  # @param [OCI::Core::Models::ConnectRemotePeeringConnectionsDetails] connect_remote_peering_connections_details Details to connect peering connection with peering connection from remote region
258
286
  # @param [Hash] opts the optional parameters
287
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
288
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then then operation will not retry
259
289
  # @return [Response] A Response object with data of type nil
260
290
  def connect_remote_peering_connections(remote_peering_connection_id, connect_remote_peering_connections_details, opts = {})
261
291
  logger.debug 'Calling operation VirtualNetworkClient#connect_remote_peering_connections.' if logger
@@ -277,15 +307,19 @@ module OCI
277
307
 
278
308
  post_body = @api_client.object_to_http_body(connect_remote_peering_connections_details)
279
309
 
280
- @api_client.call_api(
281
- :POST,
282
- path,
283
- endpoint,
284
- header_params: header_params,
285
- query_params: query_params,
286
- operation_signing_strategy: operation_signing_strategy,
287
- body: post_body
288
- )
310
+ # rubocop:disable Metrics/BlockLength
311
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'VirtualNetworkClient#connect_remote_peering_connections') do
312
+ @api_client.call_api(
313
+ :POST,
314
+ path,
315
+ endpoint,
316
+ header_params: header_params,
317
+ query_params: query_params,
318
+ operation_signing_strategy: operation_signing_strategy,
319
+ body: post_body
320
+ )
321
+ end
322
+ # rubocop:enable Metrics/BlockLength
289
323
  end
290
324
  # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
291
325
  # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
@@ -315,6 +349,8 @@ module OCI
315
349
  #
316
350
  # @param [OCI::Core::Models::CreateCpeDetails] create_cpe_details Details for creating a CPE.
317
351
  # @param [Hash] opts the optional parameters
352
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
353
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then then operation will not retry
318
354
  # @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case of a timeout or
319
355
  # server error without risk of executing that same action again. Retry tokens expire after 24
320
356
  # hours, but can be invalidated before then due to conflicting operations (for example, if a resource
@@ -338,19 +374,24 @@ module OCI
338
374
  header_params['accept'] = 'application/json'
339
375
  header_params['content-type'] = 'application/json'
340
376
  header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
377
+ header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
341
378
 
342
379
  post_body = @api_client.object_to_http_body(create_cpe_details)
343
380
 
344
- @api_client.call_api(
345
- :POST,
346
- path,
347
- endpoint,
348
- header_params: header_params,
349
- query_params: query_params,
350
- operation_signing_strategy: operation_signing_strategy,
351
- body: post_body,
352
- return_type: 'OCI::Core::Models::Cpe'
353
- )
381
+ # rubocop:disable Metrics/BlockLength
382
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'VirtualNetworkClient#create_cpe') do
383
+ @api_client.call_api(
384
+ :POST,
385
+ path,
386
+ endpoint,
387
+ header_params: header_params,
388
+ query_params: query_params,
389
+ operation_signing_strategy: operation_signing_strategy,
390
+ body: post_body,
391
+ return_type: 'OCI::Core::Models::Cpe'
392
+ )
393
+ end
394
+ # rubocop:enable Metrics/BlockLength
354
395
  end
355
396
  # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
356
397
  # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
@@ -383,6 +424,8 @@ module OCI
383
424
  #
384
425
  # @param [OCI::Core::Models::CreateCrossConnectDetails] create_cross_connect_details Details to create a CrossConnect
385
426
  # @param [Hash] opts the optional parameters
427
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
428
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then then operation will not retry
386
429
  # @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case of a timeout or
387
430
  # server error without risk of executing that same action again. Retry tokens expire after 24
388
431
  # hours, but can be invalidated before then due to conflicting operations (for example, if a resource
@@ -406,19 +449,24 @@ module OCI
406
449
  header_params['accept'] = 'application/json'
407
450
  header_params['content-type'] = 'application/json'
408
451
  header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
452
+ header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
409
453
 
410
454
  post_body = @api_client.object_to_http_body(create_cross_connect_details)
411
455
 
412
- @api_client.call_api(
413
- :POST,
414
- path,
415
- endpoint,
416
- header_params: header_params,
417
- query_params: query_params,
418
- operation_signing_strategy: operation_signing_strategy,
419
- body: post_body,
420
- return_type: 'OCI::Core::Models::CrossConnect'
421
- )
456
+ # rubocop:disable Metrics/BlockLength
457
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'VirtualNetworkClient#create_cross_connect') do
458
+ @api_client.call_api(
459
+ :POST,
460
+ path,
461
+ endpoint,
462
+ header_params: header_params,
463
+ query_params: query_params,
464
+ operation_signing_strategy: operation_signing_strategy,
465
+ body: post_body,
466
+ return_type: 'OCI::Core::Models::CrossConnect'
467
+ )
468
+ end
469
+ # rubocop:enable Metrics/BlockLength
422
470
  end
423
471
  # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
424
472
  # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
@@ -447,6 +495,8 @@ module OCI
447
495
  #
448
496
  # @param [OCI::Core::Models::CreateCrossConnectGroupDetails] create_cross_connect_group_details Details to create a CrossConnectGroup
449
497
  # @param [Hash] opts the optional parameters
498
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
499
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then then operation will not retry
450
500
  # @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case of a timeout or
451
501
  # server error without risk of executing that same action again. Retry tokens expire after 24
452
502
  # hours, but can be invalidated before then due to conflicting operations (for example, if a resource
@@ -470,19 +520,24 @@ module OCI
470
520
  header_params['accept'] = 'application/json'
471
521
  header_params['content-type'] = 'application/json'
472
522
  header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
523
+ header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
473
524
 
474
525
  post_body = @api_client.object_to_http_body(create_cross_connect_group_details)
475
526
 
476
- @api_client.call_api(
477
- :POST,
478
- path,
479
- endpoint,
480
- header_params: header_params,
481
- query_params: query_params,
482
- operation_signing_strategy: operation_signing_strategy,
483
- body: post_body,
484
- return_type: 'OCI::Core::Models::CrossConnectGroup'
485
- )
527
+ # rubocop:disable Metrics/BlockLength
528
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'VirtualNetworkClient#create_cross_connect_group') do
529
+ @api_client.call_api(
530
+ :POST,
531
+ path,
532
+ endpoint,
533
+ header_params: header_params,
534
+ query_params: query_params,
535
+ operation_signing_strategy: operation_signing_strategy,
536
+ body: post_body,
537
+ return_type: 'OCI::Core::Models::CrossConnectGroup'
538
+ )
539
+ end
540
+ # rubocop:enable Metrics/BlockLength
486
541
  end
487
542
  # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
488
543
  # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
@@ -508,6 +563,8 @@ module OCI
508
563
  #
509
564
  # @param [OCI::Core::Models::CreateDhcpDetails] create_dhcp_details Request object for creating a new set of DHCP options.
510
565
  # @param [Hash] opts the optional parameters
566
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
567
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then then operation will not retry
511
568
  # @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case of a timeout or
512
569
  # server error without risk of executing that same action again. Retry tokens expire after 24
513
570
  # hours, but can be invalidated before then due to conflicting operations (for example, if a resource
@@ -531,19 +588,24 @@ module OCI
531
588
  header_params['accept'] = 'application/json'
532
589
  header_params['content-type'] = 'application/json'
533
590
  header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
591
+ header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
534
592
 
535
593
  post_body = @api_client.object_to_http_body(create_dhcp_details)
536
594
 
537
- @api_client.call_api(
538
- :POST,
539
- path,
540
- endpoint,
541
- header_params: header_params,
542
- query_params: query_params,
543
- operation_signing_strategy: operation_signing_strategy,
544
- body: post_body,
545
- return_type: 'OCI::Core::Models::DhcpOptions'
546
- )
595
+ # rubocop:disable Metrics/BlockLength
596
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'VirtualNetworkClient#create_dhcp_options') do
597
+ @api_client.call_api(
598
+ :POST,
599
+ path,
600
+ endpoint,
601
+ header_params: header_params,
602
+ query_params: query_params,
603
+ operation_signing_strategy: operation_signing_strategy,
604
+ body: post_body,
605
+ return_type: 'OCI::Core::Models::DhcpOptions'
606
+ )
607
+ end
608
+ # rubocop:enable Metrics/BlockLength
547
609
  end
548
610
  # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
549
611
  # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
@@ -569,6 +631,8 @@ module OCI
569
631
  #
570
632
  # @param [OCI::Core::Models::CreateDrgDetails] create_drg_details Details for creating a DRG.
571
633
  # @param [Hash] opts the optional parameters
634
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
635
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then then operation will not retry
572
636
  # @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case of a timeout or
573
637
  # server error without risk of executing that same action again. Retry tokens expire after 24
574
638
  # hours, but can be invalidated before then due to conflicting operations (for example, if a resource
@@ -592,19 +656,24 @@ module OCI
592
656
  header_params['accept'] = 'application/json'
593
657
  header_params['content-type'] = 'application/json'
594
658
  header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
659
+ header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
595
660
 
596
661
  post_body = @api_client.object_to_http_body(create_drg_details)
597
662
 
598
- @api_client.call_api(
599
- :POST,
600
- path,
601
- endpoint,
602
- header_params: header_params,
603
- query_params: query_params,
604
- operation_signing_strategy: operation_signing_strategy,
605
- body: post_body,
606
- return_type: 'OCI::Core::Models::Drg'
607
- )
663
+ # rubocop:disable Metrics/BlockLength
664
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'VirtualNetworkClient#create_drg') do
665
+ @api_client.call_api(
666
+ :POST,
667
+ path,
668
+ endpoint,
669
+ header_params: header_params,
670
+ query_params: query_params,
671
+ operation_signing_strategy: operation_signing_strategy,
672
+ body: post_body,
673
+ return_type: 'OCI::Core::Models::Drg'
674
+ )
675
+ end
676
+ # rubocop:enable Metrics/BlockLength
608
677
  end
609
678
  # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
610
679
  # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
@@ -629,6 +698,8 @@ module OCI
629
698
  #
630
699
  # @param [OCI::Core::Models::CreateDrgAttachmentDetails] create_drg_attachment_details Details for creating a `DrgAttachment`.
631
700
  # @param [Hash] opts the optional parameters
701
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
702
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then then operation will not retry
632
703
  # @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case of a timeout or
633
704
  # server error without risk of executing that same action again. Retry tokens expire after 24
634
705
  # hours, but can be invalidated before then due to conflicting operations (for example, if a resource
@@ -652,19 +723,24 @@ module OCI
652
723
  header_params['accept'] = 'application/json'
653
724
  header_params['content-type'] = 'application/json'
654
725
  header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
726
+ header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
655
727
 
656
728
  post_body = @api_client.object_to_http_body(create_drg_attachment_details)
657
729
 
658
- @api_client.call_api(
659
- :POST,
660
- path,
661
- endpoint,
662
- header_params: header_params,
663
- query_params: query_params,
664
- operation_signing_strategy: operation_signing_strategy,
665
- body: post_body,
666
- return_type: 'OCI::Core::Models::DrgAttachment'
667
- )
730
+ # rubocop:disable Metrics/BlockLength
731
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'VirtualNetworkClient#create_drg_attachment') do
732
+ @api_client.call_api(
733
+ :POST,
734
+ path,
735
+ endpoint,
736
+ header_params: header_params,
737
+ query_params: query_params,
738
+ operation_signing_strategy: operation_signing_strategy,
739
+ body: post_body,
740
+ return_type: 'OCI::Core::Models::DrgAttachment'
741
+ )
742
+ end
743
+ # rubocop:enable Metrics/BlockLength
668
744
  end
669
745
  # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
670
746
  # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
@@ -699,6 +775,8 @@ module OCI
699
775
  #
700
776
  # @param [OCI::Core::Models::CreateInternetGatewayDetails] create_internet_gateway_details Details for creating a new Internet Gateway.
701
777
  # @param [Hash] opts the optional parameters
778
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
779
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then then operation will not retry
702
780
  # @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case of a timeout or
703
781
  # server error without risk of executing that same action again. Retry tokens expire after 24
704
782
  # hours, but can be invalidated before then due to conflicting operations (for example, if a resource
@@ -722,19 +800,24 @@ module OCI
722
800
  header_params['accept'] = 'application/json'
723
801
  header_params['content-type'] = 'application/json'
724
802
  header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
803
+ header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
725
804
 
726
805
  post_body = @api_client.object_to_http_body(create_internet_gateway_details)
727
806
 
728
- @api_client.call_api(
729
- :POST,
730
- path,
731
- endpoint,
732
- header_params: header_params,
733
- query_params: query_params,
734
- operation_signing_strategy: operation_signing_strategy,
735
- body: post_body,
736
- return_type: 'OCI::Core::Models::InternetGateway'
737
- )
807
+ # rubocop:disable Metrics/BlockLength
808
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'VirtualNetworkClient#create_internet_gateway') do
809
+ @api_client.call_api(
810
+ :POST,
811
+ path,
812
+ endpoint,
813
+ header_params: header_params,
814
+ query_params: query_params,
815
+ operation_signing_strategy: operation_signing_strategy,
816
+ body: post_body,
817
+ return_type: 'OCI::Core::Models::InternetGateway'
818
+ )
819
+ end
820
+ # rubocop:enable Metrics/BlockLength
738
821
  end
739
822
  # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
740
823
  # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
@@ -774,6 +857,8 @@ module OCI
774
857
  #
775
858
  # @param [OCI::Core::Models::CreateIPSecConnectionDetails] create_ip_sec_connection_details Details for creating an `IPSecConnection`.
776
859
  # @param [Hash] opts the optional parameters
860
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
861
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then then operation will not retry
777
862
  # @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case of a timeout or
778
863
  # server error without risk of executing that same action again. Retry tokens expire after 24
779
864
  # hours, but can be invalidated before then due to conflicting operations (for example, if a resource
@@ -797,19 +882,24 @@ module OCI
797
882
  header_params['accept'] = 'application/json'
798
883
  header_params['content-type'] = 'application/json'
799
884
  header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
885
+ header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
800
886
 
801
887
  post_body = @api_client.object_to_http_body(create_ip_sec_connection_details)
802
888
 
803
- @api_client.call_api(
804
- :POST,
805
- path,
806
- endpoint,
807
- header_params: header_params,
808
- query_params: query_params,
809
- operation_signing_strategy: operation_signing_strategy,
810
- body: post_body,
811
- return_type: 'OCI::Core::Models::IPSecConnection'
812
- )
889
+ # rubocop:disable Metrics/BlockLength
890
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'VirtualNetworkClient#create_ip_sec_connection') do
891
+ @api_client.call_api(
892
+ :POST,
893
+ path,
894
+ endpoint,
895
+ header_params: header_params,
896
+ query_params: query_params,
897
+ operation_signing_strategy: operation_signing_strategy,
898
+ body: post_body,
899
+ return_type: 'OCI::Core::Models::IPSecConnection'
900
+ )
901
+ end
902
+ # rubocop:enable Metrics/BlockLength
813
903
  end
814
904
  # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
815
905
  # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
@@ -824,6 +914,8 @@ module OCI
824
914
  #
825
915
  # @param [OCI::Core::Models::CreateLocalPeeringGatewayDetails] create_local_peering_gateway_details Details for creating a new local peering gateway.
826
916
  # @param [Hash] opts the optional parameters
917
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
918
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then then operation will not retry
827
919
  # @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case of a timeout or
828
920
  # server error without risk of executing that same action again. Retry tokens expire after 24
829
921
  # hours, but can be invalidated before then due to conflicting operations (for example, if a resource
@@ -847,19 +939,24 @@ module OCI
847
939
  header_params['accept'] = 'application/json'
848
940
  header_params['content-type'] = 'application/json'
849
941
  header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
942
+ header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
850
943
 
851
944
  post_body = @api_client.object_to_http_body(create_local_peering_gateway_details)
852
945
 
853
- @api_client.call_api(
854
- :POST,
855
- path,
856
- endpoint,
857
- header_params: header_params,
858
- query_params: query_params,
859
- operation_signing_strategy: operation_signing_strategy,
860
- body: post_body,
861
- return_type: 'OCI::Core::Models::LocalPeeringGateway'
862
- )
946
+ # rubocop:disable Metrics/BlockLength
947
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'VirtualNetworkClient#create_local_peering_gateway') do
948
+ @api_client.call_api(
949
+ :POST,
950
+ path,
951
+ endpoint,
952
+ header_params: header_params,
953
+ query_params: query_params,
954
+ operation_signing_strategy: operation_signing_strategy,
955
+ body: post_body,
956
+ return_type: 'OCI::Core::Models::LocalPeeringGateway'
957
+ )
958
+ end
959
+ # rubocop:enable Metrics/BlockLength
863
960
  end
864
961
  # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
865
962
  # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
@@ -876,6 +973,8 @@ module OCI
876
973
  #
877
974
  # @param [OCI::Core::Models::CreatePrivateIpDetails] create_private_ip_details Create private IP details.
878
975
  # @param [Hash] opts the optional parameters
976
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
977
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then then operation will not retry
879
978
  # @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case of a timeout or
880
979
  # server error without risk of executing that same action again. Retry tokens expire after 24
881
980
  # hours, but can be invalidated before then due to conflicting operations (for example, if a resource
@@ -899,19 +998,24 @@ module OCI
899
998
  header_params['accept'] = 'application/json'
900
999
  header_params['content-type'] = 'application/json'
901
1000
  header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
1001
+ header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
902
1002
 
903
1003
  post_body = @api_client.object_to_http_body(create_private_ip_details)
904
1004
 
905
- @api_client.call_api(
906
- :POST,
907
- path,
908
- endpoint,
909
- header_params: header_params,
910
- query_params: query_params,
911
- operation_signing_strategy: operation_signing_strategy,
912
- body: post_body,
913
- return_type: 'OCI::Core::Models::PrivateIp'
914
- )
1005
+ # rubocop:disable Metrics/BlockLength
1006
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'VirtualNetworkClient#create_private_ip') do
1007
+ @api_client.call_api(
1008
+ :POST,
1009
+ path,
1010
+ endpoint,
1011
+ header_params: header_params,
1012
+ query_params: query_params,
1013
+ operation_signing_strategy: operation_signing_strategy,
1014
+ body: post_body,
1015
+ return_type: 'OCI::Core::Models::PrivateIp'
1016
+ )
1017
+ end
1018
+ # rubocop:enable Metrics/BlockLength
915
1019
  end
916
1020
  # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
917
1021
  # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
@@ -945,6 +1049,8 @@ module OCI
945
1049
  #
946
1050
  # @param [OCI::Core::Models::CreatePublicIpDetails] create_public_ip_details Create public IP details.
947
1051
  # @param [Hash] opts the optional parameters
1052
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
1053
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then then operation will not retry
948
1054
  # @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case of a timeout or
949
1055
  # server error without risk of executing that same action again. Retry tokens expire after 24
950
1056
  # hours, but can be invalidated before then due to conflicting operations (for example, if a resource
@@ -968,19 +1074,24 @@ module OCI
968
1074
  header_params['accept'] = 'application/json'
969
1075
  header_params['content-type'] = 'application/json'
970
1076
  header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
1077
+ header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
971
1078
 
972
1079
  post_body = @api_client.object_to_http_body(create_public_ip_details)
973
1080
 
974
- @api_client.call_api(
975
- :POST,
976
- path,
977
- endpoint,
978
- header_params: header_params,
979
- query_params: query_params,
980
- operation_signing_strategy: operation_signing_strategy,
981
- body: post_body,
982
- return_type: 'OCI::Core::Models::PublicIp'
983
- )
1081
+ # rubocop:disable Metrics/BlockLength
1082
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'VirtualNetworkClient#create_public_ip') do
1083
+ @api_client.call_api(
1084
+ :POST,
1085
+ path,
1086
+ endpoint,
1087
+ header_params: header_params,
1088
+ query_params: query_params,
1089
+ operation_signing_strategy: operation_signing_strategy,
1090
+ body: post_body,
1091
+ return_type: 'OCI::Core::Models::PublicIp'
1092
+ )
1093
+ end
1094
+ # rubocop:enable Metrics/BlockLength
984
1095
  end
985
1096
  # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
986
1097
  # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
@@ -995,6 +1106,8 @@ module OCI
995
1106
  #
996
1107
  # @param [OCI::Core::Models::CreateRemotePeeringConnectionDetails] create_remote_peering_connection_details Request to create peering connection to remote region
997
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
998
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
999
1112
  # server error without risk of executing that same action again. Retry tokens expire after 24
1000
1113
  # hours, but can be invalidated before then due to conflicting operations (for example, if a resource
@@ -1018,19 +1131,24 @@ module OCI
1018
1131
  header_params['accept'] = 'application/json'
1019
1132
  header_params['content-type'] = 'application/json'
1020
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
1021
1135
 
1022
1136
  post_body = @api_client.object_to_http_body(create_remote_peering_connection_details)
1023
1137
 
1024
- @api_client.call_api(
1025
- :POST,
1026
- path,
1027
- endpoint,
1028
- header_params: header_params,
1029
- query_params: query_params,
1030
- operation_signing_strategy: operation_signing_strategy,
1031
- body: post_body,
1032
- return_type: 'OCI::Core::Models::RemotePeeringConnection'
1033
- )
1138
+ # rubocop:disable Metrics/BlockLength
1139
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'VirtualNetworkClient#create_remote_peering_connection') 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::Core::Models::RemotePeeringConnection'
1149
+ )
1150
+ end
1151
+ # rubocop:enable Metrics/BlockLength
1034
1152
  end
1035
1153
  # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1036
1154
  # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
@@ -1059,6 +1177,8 @@ module OCI
1059
1177
  #
1060
1178
  # @param [OCI::Core::Models::CreateRouteTableDetails] create_route_table_details Details for creating a new route table.
1061
1179
  # @param [Hash] opts the optional parameters
1180
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
1181
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then then operation will not retry
1062
1182
  # @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case of a timeout or
1063
1183
  # server error without risk of executing that same action again. Retry tokens expire after 24
1064
1184
  # hours, but can be invalidated before then due to conflicting operations (for example, if a resource
@@ -1082,19 +1202,24 @@ module OCI
1082
1202
  header_params['accept'] = 'application/json'
1083
1203
  header_params['content-type'] = 'application/json'
1084
1204
  header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
1205
+ header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
1085
1206
 
1086
1207
  post_body = @api_client.object_to_http_body(create_route_table_details)
1087
1208
 
1088
- @api_client.call_api(
1089
- :POST,
1090
- path,
1091
- endpoint,
1092
- header_params: header_params,
1093
- query_params: query_params,
1094
- operation_signing_strategy: operation_signing_strategy,
1095
- body: post_body,
1096
- return_type: 'OCI::Core::Models::RouteTable'
1097
- )
1209
+ # rubocop:disable Metrics/BlockLength
1210
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'VirtualNetworkClient#create_route_table') do
1211
+ @api_client.call_api(
1212
+ :POST,
1213
+ path,
1214
+ endpoint,
1215
+ header_params: header_params,
1216
+ query_params: query_params,
1217
+ operation_signing_strategy: operation_signing_strategy,
1218
+ body: post_body,
1219
+ return_type: 'OCI::Core::Models::RouteTable'
1220
+ )
1221
+ end
1222
+ # rubocop:enable Metrics/BlockLength
1098
1223
  end
1099
1224
  # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1100
1225
  # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
@@ -1122,6 +1247,8 @@ module OCI
1122
1247
  #
1123
1248
  # @param [OCI::Core::Models::CreateSecurityListDetails] create_security_list_details Details regarding the security list to create.
1124
1249
  # @param [Hash] opts the optional parameters
1250
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
1251
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then then operation will not retry
1125
1252
  # @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case of a timeout or
1126
1253
  # server error without risk of executing that same action again. Retry tokens expire after 24
1127
1254
  # hours, but can be invalidated before then due to conflicting operations (for example, if a resource
@@ -1145,19 +1272,24 @@ module OCI
1145
1272
  header_params['accept'] = 'application/json'
1146
1273
  header_params['content-type'] = 'application/json'
1147
1274
  header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
1275
+ header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
1148
1276
 
1149
1277
  post_body = @api_client.object_to_http_body(create_security_list_details)
1150
1278
 
1151
- @api_client.call_api(
1152
- :POST,
1153
- path,
1154
- endpoint,
1155
- header_params: header_params,
1156
- query_params: query_params,
1157
- operation_signing_strategy: operation_signing_strategy,
1158
- body: post_body,
1159
- return_type: 'OCI::Core::Models::SecurityList'
1160
- )
1279
+ # rubocop:disable Metrics/BlockLength
1280
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'VirtualNetworkClient#create_security_list') do
1281
+ @api_client.call_api(
1282
+ :POST,
1283
+ path,
1284
+ endpoint,
1285
+ header_params: header_params,
1286
+ query_params: query_params,
1287
+ operation_signing_strategy: operation_signing_strategy,
1288
+ body: post_body,
1289
+ return_type: 'OCI::Core::Models::SecurityList'
1290
+ )
1291
+ end
1292
+ # rubocop:enable Metrics/BlockLength
1161
1293
  end
1162
1294
  # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1163
1295
  # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
@@ -1202,6 +1334,8 @@ module OCI
1202
1334
  #
1203
1335
  # @param [OCI::Core::Models::CreateSubnetDetails] create_subnet_details Details for creating a subnet.
1204
1336
  # @param [Hash] opts the optional parameters
1337
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
1338
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then then operation will not retry
1205
1339
  # @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case of a timeout or
1206
1340
  # server error without risk of executing that same action again. Retry tokens expire after 24
1207
1341
  # hours, but can be invalidated before then due to conflicting operations (for example, if a resource
@@ -1225,19 +1359,24 @@ module OCI
1225
1359
  header_params['accept'] = 'application/json'
1226
1360
  header_params['content-type'] = 'application/json'
1227
1361
  header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
1362
+ header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
1228
1363
 
1229
1364
  post_body = @api_client.object_to_http_body(create_subnet_details)
1230
1365
 
1231
- @api_client.call_api(
1232
- :POST,
1233
- path,
1234
- endpoint,
1235
- header_params: header_params,
1236
- query_params: query_params,
1237
- operation_signing_strategy: operation_signing_strategy,
1238
- body: post_body,
1239
- return_type: 'OCI::Core::Models::Subnet'
1240
- )
1366
+ # rubocop:disable Metrics/BlockLength
1367
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'VirtualNetworkClient#create_subnet') do
1368
+ @api_client.call_api(
1369
+ :POST,
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
+ return_type: 'OCI::Core::Models::Subnet'
1377
+ )
1378
+ end
1379
+ # rubocop:enable Metrics/BlockLength
1241
1380
  end
1242
1381
  # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1243
1382
  # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
@@ -1280,6 +1419,8 @@ module OCI
1280
1419
  #
1281
1420
  # @param [OCI::Core::Models::CreateVcnDetails] create_vcn_details Details for creating a new VCN.
1282
1421
  # @param [Hash] opts the optional parameters
1422
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
1423
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then then operation will not retry
1283
1424
  # @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case of a timeout or
1284
1425
  # server error without risk of executing that same action again. Retry tokens expire after 24
1285
1426
  # hours, but can be invalidated before then due to conflicting operations (for example, if a resource
@@ -1303,19 +1444,24 @@ module OCI
1303
1444
  header_params['accept'] = 'application/json'
1304
1445
  header_params['content-type'] = 'application/json'
1305
1446
  header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
1447
+ header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
1306
1448
 
1307
1449
  post_body = @api_client.object_to_http_body(create_vcn_details)
1308
1450
 
1309
- @api_client.call_api(
1310
- :POST,
1311
- path,
1312
- endpoint,
1313
- header_params: header_params,
1314
- query_params: query_params,
1315
- operation_signing_strategy: operation_signing_strategy,
1316
- body: post_body,
1317
- return_type: 'OCI::Core::Models::Vcn'
1318
- )
1451
+ # rubocop:disable Metrics/BlockLength
1452
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'VirtualNetworkClient#create_vcn') do
1453
+ @api_client.call_api(
1454
+ :POST,
1455
+ path,
1456
+ endpoint,
1457
+ header_params: header_params,
1458
+ query_params: query_params,
1459
+ operation_signing_strategy: operation_signing_strategy,
1460
+ body: post_body,
1461
+ return_type: 'OCI::Core::Models::Vcn'
1462
+ )
1463
+ end
1464
+ # rubocop:enable Metrics/BlockLength
1319
1465
  end
1320
1466
  # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1321
1467
  # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
@@ -1350,6 +1496,8 @@ module OCI
1350
1496
  #
1351
1497
  # @param [OCI::Core::Models::CreateVirtualCircuitDetails] create_virtual_circuit_details Details to create a VirtualCircuit.
1352
1498
  # @param [Hash] opts the optional parameters
1499
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
1500
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then then operation will not retry
1353
1501
  # @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case of a timeout or
1354
1502
  # server error without risk of executing that same action again. Retry tokens expire after 24
1355
1503
  # hours, but can be invalidated before then due to conflicting operations (for example, if a resource
@@ -1373,19 +1521,24 @@ module OCI
1373
1521
  header_params['accept'] = 'application/json'
1374
1522
  header_params['content-type'] = 'application/json'
1375
1523
  header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
1524
+ header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
1376
1525
 
1377
1526
  post_body = @api_client.object_to_http_body(create_virtual_circuit_details)
1378
1527
 
1379
- @api_client.call_api(
1380
- :POST,
1381
- path,
1382
- endpoint,
1383
- header_params: header_params,
1384
- query_params: query_params,
1385
- operation_signing_strategy: operation_signing_strategy,
1386
- body: post_body,
1387
- return_type: 'OCI::Core::Models::VirtualCircuit'
1388
- )
1528
+ # rubocop:disable Metrics/BlockLength
1529
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'VirtualNetworkClient#create_virtual_circuit') do
1530
+ @api_client.call_api(
1531
+ :POST,
1532
+ path,
1533
+ endpoint,
1534
+ header_params: header_params,
1535
+ query_params: query_params,
1536
+ operation_signing_strategy: operation_signing_strategy,
1537
+ body: post_body,
1538
+ return_type: 'OCI::Core::Models::VirtualCircuit'
1539
+ )
1540
+ end
1541
+ # rubocop:enable Metrics/BlockLength
1389
1542
  end
1390
1543
  # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1391
1544
  # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
@@ -1402,6 +1555,8 @@ module OCI
1402
1555
  #
1403
1556
  # @param [String] cpe_id The OCID of the CPE.
1404
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
1405
1560
  # @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
1406
1561
  # parameter to the value of the etag from a previous GET or POST response for that resource. The resource
1407
1562
  # will be updated or deleted only if the etag you provide matches the resource's current etag value.
@@ -1427,15 +1582,19 @@ module OCI
1427
1582
 
1428
1583
  post_body = nil
1429
1584
 
1430
- @api_client.call_api(
1431
- :DELETE,
1432
- path,
1433
- endpoint,
1434
- header_params: header_params,
1435
- query_params: query_params,
1436
- operation_signing_strategy: operation_signing_strategy,
1437
- body: post_body
1438
- )
1585
+ # rubocop:disable Metrics/BlockLength
1586
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'VirtualNetworkClient#delete_cpe') do
1587
+ @api_client.call_api(
1588
+ :DELETE,
1589
+ path,
1590
+ endpoint,
1591
+ header_params: header_params,
1592
+ query_params: query_params,
1593
+ operation_signing_strategy: operation_signing_strategy,
1594
+ body: post_body
1595
+ )
1596
+ end
1597
+ # rubocop:enable Metrics/BlockLength
1439
1598
  end
1440
1599
  # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1441
1600
  # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
@@ -1451,6 +1610,8 @@ module OCI
1451
1610
  #
1452
1611
  # @param [String] cross_connect_id The OCID of the cross-connect.
1453
1612
  # @param [Hash] opts the optional parameters
1613
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
1614
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then then operation will not retry
1454
1615
  # @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
1455
1616
  # parameter to the value of the etag from a previous GET or POST response for that resource. The resource
1456
1617
  # will be updated or deleted only if the etag you provide matches the resource's current etag value.
@@ -1476,15 +1637,19 @@ module OCI
1476
1637
 
1477
1638
  post_body = nil
1478
1639
 
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
- )
1640
+ # rubocop:disable Metrics/BlockLength
1641
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'VirtualNetworkClient#delete_cross_connect') do
1642
+ @api_client.call_api(
1643
+ :DELETE,
1644
+ path,
1645
+ endpoint,
1646
+ header_params: header_params,
1647
+ query_params: query_params,
1648
+ operation_signing_strategy: operation_signing_strategy,
1649
+ body: post_body
1650
+ )
1651
+ end
1652
+ # rubocop:enable Metrics/BlockLength
1488
1653
  end
1489
1654
  # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1490
1655
  # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
@@ -1501,6 +1666,8 @@ module OCI
1501
1666
  #
1502
1667
  # @param [String] cross_connect_group_id The OCID of the cross-connect group.
1503
1668
  # @param [Hash] opts the optional parameters
1669
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
1670
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then then operation will not retry
1504
1671
  # @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
1505
1672
  # parameter to the value of the etag from a previous GET or POST response for that resource. The resource
1506
1673
  # will be updated or deleted only if the etag you provide matches the resource's current etag value.
@@ -1526,15 +1693,19 @@ module OCI
1526
1693
 
1527
1694
  post_body = nil
1528
1695
 
1529
- @api_client.call_api(
1530
- :DELETE,
1531
- path,
1532
- endpoint,
1533
- header_params: header_params,
1534
- query_params: query_params,
1535
- operation_signing_strategy: operation_signing_strategy,
1536
- body: post_body
1537
- )
1696
+ # rubocop:disable Metrics/BlockLength
1697
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'VirtualNetworkClient#delete_cross_connect_group') do
1698
+ @api_client.call_api(
1699
+ :DELETE,
1700
+ path,
1701
+ endpoint,
1702
+ header_params: header_params,
1703
+ query_params: query_params,
1704
+ operation_signing_strategy: operation_signing_strategy,
1705
+ body: post_body
1706
+ )
1707
+ end
1708
+ # rubocop:enable Metrics/BlockLength
1538
1709
  end
1539
1710
  # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1540
1711
  # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
@@ -1553,6 +1724,8 @@ module OCI
1553
1724
  #
1554
1725
  # @param [String] dhcp_id The OCID for the set of DHCP options.
1555
1726
  # @param [Hash] opts the optional parameters
1727
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
1728
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then then operation will not retry
1556
1729
  # @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
1557
1730
  # parameter to the value of the etag from a previous GET or POST response for that resource. The resource
1558
1731
  # will be updated or deleted only if the etag you provide matches the resource's current etag value.
@@ -1578,15 +1751,19 @@ module OCI
1578
1751
 
1579
1752
  post_body = nil
1580
1753
 
1581
- @api_client.call_api(
1582
- :DELETE,
1583
- path,
1584
- endpoint,
1585
- header_params: header_params,
1586
- query_params: query_params,
1587
- operation_signing_strategy: operation_signing_strategy,
1588
- body: post_body
1589
- )
1754
+ # rubocop:disable Metrics/BlockLength
1755
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'VirtualNetworkClient#delete_dhcp_options') do
1756
+ @api_client.call_api(
1757
+ :DELETE,
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
+ )
1765
+ end
1766
+ # rubocop:enable Metrics/BlockLength
1590
1767
  end
1591
1768
  # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1592
1769
  # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
@@ -1604,6 +1781,8 @@ module OCI
1604
1781
  #
1605
1782
  # @param [String] drg_id The OCID of the DRG.
1606
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
1607
1786
  # @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
1608
1787
  # parameter to the value of the etag from a previous GET or POST response for that resource. The resource
1609
1788
  # will be updated or deleted only if the etag you provide matches the resource's current etag value.
@@ -1629,15 +1808,19 @@ module OCI
1629
1808
 
1630
1809
  post_body = nil
1631
1810
 
1632
- @api_client.call_api(
1633
- :DELETE,
1634
- path,
1635
- endpoint,
1636
- header_params: header_params,
1637
- query_params: query_params,
1638
- operation_signing_strategy: operation_signing_strategy,
1639
- body: post_body
1640
- )
1811
+ # rubocop:disable Metrics/BlockLength
1812
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'VirtualNetworkClient#delete_drg') do
1813
+ @api_client.call_api(
1814
+ :DELETE,
1815
+ path,
1816
+ endpoint,
1817
+ header_params: header_params,
1818
+ query_params: query_params,
1819
+ operation_signing_strategy: operation_signing_strategy,
1820
+ body: post_body
1821
+ )
1822
+ end
1823
+ # rubocop:enable Metrics/BlockLength
1641
1824
  end
1642
1825
  # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1643
1826
  # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
@@ -1654,6 +1837,8 @@ module OCI
1654
1837
  #
1655
1838
  # @param [String] drg_attachment_id The OCID of the DRG attachment.
1656
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
1657
1842
  # @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
1658
1843
  # parameter to the value of the etag from a previous GET or POST response for that resource. The resource
1659
1844
  # will be updated or deleted only if the etag you provide matches the resource's current etag value.
@@ -1679,15 +1864,19 @@ module OCI
1679
1864
 
1680
1865
  post_body = nil
1681
1866
 
1682
- @api_client.call_api(
1683
- :DELETE,
1684
- path,
1685
- endpoint,
1686
- header_params: header_params,
1687
- query_params: query_params,
1688
- operation_signing_strategy: operation_signing_strategy,
1689
- body: post_body
1690
- )
1867
+ # rubocop:disable Metrics/BlockLength
1868
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'VirtualNetworkClient#delete_drg_attachment') do
1869
+ @api_client.call_api(
1870
+ :DELETE,
1871
+ path,
1872
+ endpoint,
1873
+ header_params: header_params,
1874
+ query_params: query_params,
1875
+ operation_signing_strategy: operation_signing_strategy,
1876
+ body: post_body
1877
+ )
1878
+ end
1879
+ # rubocop:enable Metrics/BlockLength
1691
1880
  end
1692
1881
  # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1693
1882
  # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
@@ -1706,6 +1895,8 @@ module OCI
1706
1895
  #
1707
1896
  # @param [String] ig_id The OCID of the Internet Gateway.
1708
1897
  # @param [Hash] opts the optional parameters
1898
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
1899
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then then operation will not retry
1709
1900
  # @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
1710
1901
  # parameter to the value of the etag from a previous GET or POST response for that resource. The resource
1711
1902
  # will be updated or deleted only if the etag you provide matches the resource's current etag value.
@@ -1731,15 +1922,19 @@ module OCI
1731
1922
 
1732
1923
  post_body = nil
1733
1924
 
1734
- @api_client.call_api(
1735
- :DELETE,
1736
- path,
1737
- endpoint,
1738
- header_params: header_params,
1739
- query_params: query_params,
1740
- operation_signing_strategy: operation_signing_strategy,
1741
- body: post_body
1742
- )
1925
+ # rubocop:disable Metrics/BlockLength
1926
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'VirtualNetworkClient#delete_internet_gateway') do
1927
+ @api_client.call_api(
1928
+ :DELETE,
1929
+ path,
1930
+ endpoint,
1931
+ header_params: header_params,
1932
+ query_params: query_params,
1933
+ operation_signing_strategy: operation_signing_strategy,
1934
+ body: post_body
1935
+ )
1936
+ end
1937
+ # rubocop:enable Metrics/BlockLength
1743
1938
  end
1744
1939
  # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1745
1940
  # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
@@ -1761,6 +1956,8 @@ module OCI
1761
1956
  #
1762
1957
  # @param [String] ipsc_id The OCID of the IPSec connection.
1763
1958
  # @param [Hash] opts the optional parameters
1959
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
1960
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then then operation will not retry
1764
1961
  # @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
1765
1962
  # parameter to the value of the etag from a previous GET or POST response for that resource. The resource
1766
1963
  # will be updated or deleted only if the etag you provide matches the resource's current etag value.
@@ -1786,15 +1983,19 @@ module OCI
1786
1983
 
1787
1984
  post_body = nil
1788
1985
 
1789
- @api_client.call_api(
1790
- :DELETE,
1791
- path,
1792
- endpoint,
1793
- header_params: header_params,
1794
- query_params: query_params,
1795
- operation_signing_strategy: operation_signing_strategy,
1796
- body: post_body
1797
- )
1986
+ # rubocop:disable Metrics/BlockLength
1987
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'VirtualNetworkClient#delete_ip_sec_connection') do
1988
+ @api_client.call_api(
1989
+ :DELETE,
1990
+ path,
1991
+ endpoint,
1992
+ header_params: header_params,
1993
+ query_params: query_params,
1994
+ operation_signing_strategy: operation_signing_strategy,
1995
+ body: post_body
1996
+ )
1997
+ end
1998
+ # rubocop:enable Metrics/BlockLength
1798
1999
  end
1799
2000
  # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1800
2001
  # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
@@ -1812,6 +2013,8 @@ module OCI
1812
2013
  #
1813
2014
  # @param [String] local_peering_gateway_id The OCID of the local peering gateway.
1814
2015
  # @param [Hash] opts the optional parameters
2016
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
2017
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then then operation will not retry
1815
2018
  # @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
1816
2019
  # parameter to the value of the etag from a previous GET or POST response for that resource. The resource
1817
2020
  # will be updated or deleted only if the etag you provide matches the resource's current etag value.
@@ -1837,15 +2040,19 @@ module OCI
1837
2040
 
1838
2041
  post_body = nil
1839
2042
 
1840
- @api_client.call_api(
1841
- :DELETE,
1842
- path,
1843
- endpoint,
1844
- header_params: header_params,
1845
- query_params: query_params,
1846
- operation_signing_strategy: operation_signing_strategy,
1847
- body: post_body
1848
- )
2043
+ # rubocop:disable Metrics/BlockLength
2044
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'VirtualNetworkClient#delete_local_peering_gateway') do
2045
+ @api_client.call_api(
2046
+ :DELETE,
2047
+ path,
2048
+ endpoint,
2049
+ header_params: header_params,
2050
+ query_params: query_params,
2051
+ operation_signing_strategy: operation_signing_strategy,
2052
+ body: post_body
2053
+ )
2054
+ end
2055
+ # rubocop:enable Metrics/BlockLength
1849
2056
  end
1850
2057
  # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1851
2058
  # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
@@ -1870,6 +2077,8 @@ module OCI
1870
2077
  #
1871
2078
  # @param [String] private_ip_id The OCID of the private IP.
1872
2079
  # @param [Hash] opts the optional parameters
2080
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
2081
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then then operation will not retry
1873
2082
  # @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
1874
2083
  # parameter to the value of the etag from a previous GET or POST response for that resource. The resource
1875
2084
  # will be updated or deleted only if the etag you provide matches the resource's current etag value.
@@ -1895,15 +2104,19 @@ module OCI
1895
2104
 
1896
2105
  post_body = nil
1897
2106
 
1898
- @api_client.call_api(
1899
- :DELETE,
1900
- path,
1901
- endpoint,
1902
- header_params: header_params,
1903
- query_params: query_params,
1904
- operation_signing_strategy: operation_signing_strategy,
1905
- body: post_body
1906
- )
2107
+ # rubocop:disable Metrics/BlockLength
2108
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'VirtualNetworkClient#delete_private_ip') do
2109
+ @api_client.call_api(
2110
+ :DELETE,
2111
+ path,
2112
+ endpoint,
2113
+ header_params: header_params,
2114
+ query_params: query_params,
2115
+ operation_signing_strategy: operation_signing_strategy,
2116
+ body: post_body
2117
+ )
2118
+ end
2119
+ # rubocop:enable Metrics/BlockLength
1907
2120
  end
1908
2121
  # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1909
2122
  # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
@@ -1928,6 +2141,8 @@ module OCI
1928
2141
  #
1929
2142
  # @param [String] public_ip_id The OCID of the public IP.
1930
2143
  # @param [Hash] opts the optional parameters
2144
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
2145
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then then operation will not retry
1931
2146
  # @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
1932
2147
  # parameter to the value of the etag from a previous GET or POST response for that resource. The resource
1933
2148
  # will be updated or deleted only if the etag you provide matches the resource's current etag value.
@@ -1953,15 +2168,19 @@ module OCI
1953
2168
 
1954
2169
  post_body = nil
1955
2170
 
1956
- @api_client.call_api(
1957
- :DELETE,
1958
- path,
1959
- endpoint,
1960
- header_params: header_params,
1961
- query_params: query_params,
1962
- operation_signing_strategy: operation_signing_strategy,
1963
- body: post_body
1964
- )
2171
+ # rubocop:disable Metrics/BlockLength
2172
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'VirtualNetworkClient#delete_public_ip') do
2173
+ @api_client.call_api(
2174
+ :DELETE,
2175
+ path,
2176
+ endpoint,
2177
+ header_params: header_params,
2178
+ query_params: query_params,
2179
+ operation_signing_strategy: operation_signing_strategy,
2180
+ body: post_body
2181
+ )
2182
+ end
2183
+ # rubocop:enable Metrics/BlockLength
1965
2184
  end
1966
2185
  # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
1967
2186
  # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
@@ -1979,6 +2198,8 @@ module OCI
1979
2198
  #
1980
2199
  # @param [String] remote_peering_connection_id The OCID of the remote peering connection (RPC).
1981
2200
  # @param [Hash] opts the optional parameters
2201
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
2202
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then then operation will not retry
1982
2203
  # @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
1983
2204
  # parameter to the value of the etag from a previous GET or POST response for that resource. The resource
1984
2205
  # will be updated or deleted only if the etag you provide matches the resource's current etag value.
@@ -2004,15 +2225,19 @@ module OCI
2004
2225
 
2005
2226
  post_body = nil
2006
2227
 
2007
- @api_client.call_api(
2008
- :DELETE,
2009
- path,
2010
- endpoint,
2011
- header_params: header_params,
2012
- query_params: query_params,
2013
- operation_signing_strategy: operation_signing_strategy,
2014
- body: post_body
2015
- )
2228
+ # rubocop:disable Metrics/BlockLength
2229
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'VirtualNetworkClient#delete_remote_peering_connection') do
2230
+ @api_client.call_api(
2231
+ :DELETE,
2232
+ path,
2233
+ endpoint,
2234
+ header_params: header_params,
2235
+ query_params: query_params,
2236
+ operation_signing_strategy: operation_signing_strategy,
2237
+ body: post_body
2238
+ )
2239
+ end
2240
+ # rubocop:enable Metrics/BlockLength
2016
2241
  end
2017
2242
  # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
2018
2243
  # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
@@ -2031,6 +2256,8 @@ module OCI
2031
2256
  #
2032
2257
  # @param [String] rt_id The OCID of the route table.
2033
2258
  # @param [Hash] opts the optional parameters
2259
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
2260
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then then operation will not retry
2034
2261
  # @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
2035
2262
  # parameter to the value of the etag from a previous GET or POST response for that resource. The resource
2036
2263
  # will be updated or deleted only if the etag you provide matches the resource's current etag value.
@@ -2056,15 +2283,19 @@ module OCI
2056
2283
 
2057
2284
  post_body = nil
2058
2285
 
2059
- @api_client.call_api(
2060
- :DELETE,
2061
- path,
2062
- endpoint,
2063
- header_params: header_params,
2064
- query_params: query_params,
2065
- operation_signing_strategy: operation_signing_strategy,
2066
- body: post_body
2067
- )
2286
+ # rubocop:disable Metrics/BlockLength
2287
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'VirtualNetworkClient#delete_route_table') do
2288
+ @api_client.call_api(
2289
+ :DELETE,
2290
+ path,
2291
+ endpoint,
2292
+ header_params: header_params,
2293
+ query_params: query_params,
2294
+ operation_signing_strategy: operation_signing_strategy,
2295
+ body: post_body
2296
+ )
2297
+ end
2298
+ # rubocop:enable Metrics/BlockLength
2068
2299
  end
2069
2300
  # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
2070
2301
  # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
@@ -2083,6 +2314,8 @@ module OCI
2083
2314
  #
2084
2315
  # @param [String] security_list_id The OCID of the security list.
2085
2316
  # @param [Hash] opts the optional parameters
2317
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
2318
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then then operation will not retry
2086
2319
  # @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
2087
2320
  # parameter to the value of the etag from a previous GET or POST response for that resource. The resource
2088
2321
  # will be updated or deleted only if the etag you provide matches the resource's current etag value.
@@ -2108,15 +2341,19 @@ module OCI
2108
2341
 
2109
2342
  post_body = nil
2110
2343
 
2111
- @api_client.call_api(
2112
- :DELETE,
2113
- path,
2114
- endpoint,
2115
- header_params: header_params,
2116
- query_params: query_params,
2117
- operation_signing_strategy: operation_signing_strategy,
2118
- body: post_body
2119
- )
2344
+ # rubocop:disable Metrics/BlockLength
2345
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'VirtualNetworkClient#delete_security_list') do
2346
+ @api_client.call_api(
2347
+ :DELETE,
2348
+ path,
2349
+ endpoint,
2350
+ header_params: header_params,
2351
+ query_params: query_params,
2352
+ operation_signing_strategy: operation_signing_strategy,
2353
+ body: post_body
2354
+ )
2355
+ end
2356
+ # rubocop:enable Metrics/BlockLength
2120
2357
  end
2121
2358
  # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
2122
2359
  # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
@@ -2133,6 +2370,8 @@ module OCI
2133
2370
  #
2134
2371
  # @param [String] subnet_id The OCID of the subnet.
2135
2372
  # @param [Hash] opts the optional parameters
2373
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
2374
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then then operation will not retry
2136
2375
  # @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
2137
2376
  # parameter to the value of the etag from a previous GET or POST response for that resource. The resource
2138
2377
  # will be updated or deleted only if the etag you provide matches the resource's current etag value.
@@ -2158,15 +2397,19 @@ module OCI
2158
2397
 
2159
2398
  post_body = nil
2160
2399
 
2161
- @api_client.call_api(
2162
- :DELETE,
2163
- path,
2164
- endpoint,
2165
- header_params: header_params,
2166
- query_params: query_params,
2167
- operation_signing_strategy: operation_signing_strategy,
2168
- body: post_body
2169
- )
2400
+ # rubocop:disable Metrics/BlockLength
2401
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'VirtualNetworkClient#delete_subnet') do
2402
+ @api_client.call_api(
2403
+ :DELETE,
2404
+ path,
2405
+ endpoint,
2406
+ header_params: header_params,
2407
+ query_params: query_params,
2408
+ operation_signing_strategy: operation_signing_strategy,
2409
+ body: post_body
2410
+ )
2411
+ end
2412
+ # rubocop:enable Metrics/BlockLength
2170
2413
  end
2171
2414
  # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
2172
2415
  # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
@@ -2183,6 +2426,8 @@ module OCI
2183
2426
  #
2184
2427
  # @param [String] vcn_id The OCID of the VCN.
2185
2428
  # @param [Hash] opts the optional parameters
2429
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
2430
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then then operation will not retry
2186
2431
  # @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
2187
2432
  # parameter to the value of the etag from a previous GET or POST response for that resource. The resource
2188
2433
  # will be updated or deleted only if the etag you provide matches the resource's current etag value.
@@ -2208,15 +2453,19 @@ module OCI
2208
2453
 
2209
2454
  post_body = nil
2210
2455
 
2211
- @api_client.call_api(
2212
- :DELETE,
2213
- path,
2214
- endpoint,
2215
- header_params: header_params,
2216
- query_params: query_params,
2217
- operation_signing_strategy: operation_signing_strategy,
2218
- body: post_body
2219
- )
2456
+ # rubocop:disable Metrics/BlockLength
2457
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'VirtualNetworkClient#delete_vcn') do
2458
+ @api_client.call_api(
2459
+ :DELETE,
2460
+ path,
2461
+ endpoint,
2462
+ header_params: header_params,
2463
+ query_params: query_params,
2464
+ operation_signing_strategy: operation_signing_strategy,
2465
+ body: post_body
2466
+ )
2467
+ end
2468
+ # rubocop:enable Metrics/BlockLength
2220
2469
  end
2221
2470
  # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
2222
2471
  # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
@@ -2235,6 +2484,8 @@ module OCI
2235
2484
  #
2236
2485
  # @param [String] virtual_circuit_id The OCID of the virtual circuit.
2237
2486
  # @param [Hash] opts the optional parameters
2487
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
2488
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then then operation will not retry
2238
2489
  # @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
2239
2490
  # parameter to the value of the etag from a previous GET or POST response for that resource. The resource
2240
2491
  # will be updated or deleted only if the etag you provide matches the resource's current etag value.
@@ -2260,15 +2511,19 @@ module OCI
2260
2511
 
2261
2512
  post_body = nil
2262
2513
 
2263
- @api_client.call_api(
2264
- :DELETE,
2265
- path,
2266
- endpoint,
2267
- header_params: header_params,
2268
- query_params: query_params,
2269
- operation_signing_strategy: operation_signing_strategy,
2270
- body: post_body
2271
- )
2514
+ # rubocop:disable Metrics/BlockLength
2515
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'VirtualNetworkClient#delete_virtual_circuit') do
2516
+ @api_client.call_api(
2517
+ :DELETE,
2518
+ path,
2519
+ endpoint,
2520
+ header_params: header_params,
2521
+ query_params: query_params,
2522
+ operation_signing_strategy: operation_signing_strategy,
2523
+ body: post_body
2524
+ )
2525
+ end
2526
+ # rubocop:enable Metrics/BlockLength
2272
2527
  end
2273
2528
  # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
2274
2529
  # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
@@ -2283,6 +2538,8 @@ module OCI
2283
2538
  # Gets the specified CPE's information.
2284
2539
  # @param [String] cpe_id The OCID of the CPE.
2285
2540
  # @param [Hash] opts the optional parameters
2541
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
2542
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then then operation will not retry
2286
2543
  # @return [Response] A Response object with data of type {OCI::Core::Models::Cpe Cpe}
2287
2544
  def get_cpe(cpe_id, opts = {})
2288
2545
  logger.debug 'Calling operation VirtualNetworkClient#get_cpe.' if logger
@@ -2303,16 +2560,20 @@ module OCI
2303
2560
 
2304
2561
  post_body = nil
2305
2562
 
2306
- @api_client.call_api(
2307
- :GET,
2308
- path,
2309
- endpoint,
2310
- header_params: header_params,
2311
- query_params: query_params,
2312
- operation_signing_strategy: operation_signing_strategy,
2313
- body: post_body,
2314
- return_type: 'OCI::Core::Models::Cpe'
2315
- )
2563
+ # rubocop:disable Metrics/BlockLength
2564
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'VirtualNetworkClient#get_cpe') do
2565
+ @api_client.call_api(
2566
+ :GET,
2567
+ path,
2568
+ endpoint,
2569
+ header_params: header_params,
2570
+ query_params: query_params,
2571
+ operation_signing_strategy: operation_signing_strategy,
2572
+ body: post_body,
2573
+ return_type: 'OCI::Core::Models::Cpe'
2574
+ )
2575
+ end
2576
+ # rubocop:enable Metrics/BlockLength
2316
2577
  end
2317
2578
  # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
2318
2579
  # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
@@ -2328,6 +2589,8 @@ module OCI
2328
2589
  # Gets the specified cross-connect's information.
2329
2590
  # @param [String] cross_connect_id The OCID of the cross-connect.
2330
2591
  # @param [Hash] opts the optional parameters
2592
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
2593
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then then operation will not retry
2331
2594
  # @return [Response] A Response object with data of type {OCI::Core::Models::CrossConnect CrossConnect}
2332
2595
  def get_cross_connect(cross_connect_id, opts = {})
2333
2596
  logger.debug 'Calling operation VirtualNetworkClient#get_cross_connect.' if logger
@@ -2348,16 +2611,20 @@ module OCI
2348
2611
 
2349
2612
  post_body = nil
2350
2613
 
2351
- @api_client.call_api(
2352
- :GET,
2353
- path,
2354
- endpoint,
2355
- header_params: header_params,
2356
- query_params: query_params,
2357
- operation_signing_strategy: operation_signing_strategy,
2358
- body: post_body,
2359
- return_type: 'OCI::Core::Models::CrossConnect'
2360
- )
2614
+ # rubocop:disable Metrics/BlockLength
2615
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'VirtualNetworkClient#get_cross_connect') do
2616
+ @api_client.call_api(
2617
+ :GET,
2618
+ path,
2619
+ endpoint,
2620
+ header_params: header_params,
2621
+ query_params: query_params,
2622
+ operation_signing_strategy: operation_signing_strategy,
2623
+ body: post_body,
2624
+ return_type: 'OCI::Core::Models::CrossConnect'
2625
+ )
2626
+ end
2627
+ # rubocop:enable Metrics/BlockLength
2361
2628
  end
2362
2629
  # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
2363
2630
  # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
@@ -2373,6 +2640,8 @@ module OCI
2373
2640
  # Gets the specified cross-connect group's information.
2374
2641
  # @param [String] cross_connect_group_id The OCID of the cross-connect group.
2375
2642
  # @param [Hash] opts the optional parameters
2643
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
2644
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then then operation will not retry
2376
2645
  # @return [Response] A Response object with data of type {OCI::Core::Models::CrossConnectGroup CrossConnectGroup}
2377
2646
  def get_cross_connect_group(cross_connect_group_id, opts = {})
2378
2647
  logger.debug 'Calling operation VirtualNetworkClient#get_cross_connect_group.' if logger
@@ -2393,16 +2662,20 @@ module OCI
2393
2662
 
2394
2663
  post_body = nil
2395
2664
 
2396
- @api_client.call_api(
2397
- :GET,
2398
- path,
2399
- endpoint,
2400
- header_params: header_params,
2401
- query_params: query_params,
2402
- operation_signing_strategy: operation_signing_strategy,
2403
- body: post_body,
2404
- return_type: 'OCI::Core::Models::CrossConnectGroup'
2405
- )
2665
+ # rubocop:disable Metrics/BlockLength
2666
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'VirtualNetworkClient#get_cross_connect_group') do
2667
+ @api_client.call_api(
2668
+ :GET,
2669
+ path,
2670
+ endpoint,
2671
+ header_params: header_params,
2672
+ query_params: query_params,
2673
+ operation_signing_strategy: operation_signing_strategy,
2674
+ body: post_body,
2675
+ return_type: 'OCI::Core::Models::CrossConnectGroup'
2676
+ )
2677
+ end
2678
+ # rubocop:enable Metrics/BlockLength
2406
2679
  end
2407
2680
  # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
2408
2681
  # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
@@ -2418,6 +2691,8 @@ module OCI
2418
2691
  # Gets the Letter of Authority for the specified cross-connect.
2419
2692
  # @param [String] cross_connect_id The OCID of the cross-connect.
2420
2693
  # @param [Hash] opts the optional parameters
2694
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
2695
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then then operation will not retry
2421
2696
  # @return [Response] A Response object with data of type {OCI::Core::Models::LetterOfAuthority LetterOfAuthority}
2422
2697
  def get_cross_connect_letter_of_authority(cross_connect_id, opts = {})
2423
2698
  logger.debug 'Calling operation VirtualNetworkClient#get_cross_connect_letter_of_authority.' if logger
@@ -2438,16 +2713,20 @@ module OCI
2438
2713
 
2439
2714
  post_body = nil
2440
2715
 
2441
- @api_client.call_api(
2442
- :GET,
2443
- path,
2444
- endpoint,
2445
- header_params: header_params,
2446
- query_params: query_params,
2447
- operation_signing_strategy: operation_signing_strategy,
2448
- body: post_body,
2449
- return_type: 'OCI::Core::Models::LetterOfAuthority'
2450
- )
2716
+ # rubocop:disable Metrics/BlockLength
2717
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'VirtualNetworkClient#get_cross_connect_letter_of_authority') do
2718
+ @api_client.call_api(
2719
+ :GET,
2720
+ path,
2721
+ endpoint,
2722
+ header_params: header_params,
2723
+ query_params: query_params,
2724
+ operation_signing_strategy: operation_signing_strategy,
2725
+ body: post_body,
2726
+ return_type: 'OCI::Core::Models::LetterOfAuthority'
2727
+ )
2728
+ end
2729
+ # rubocop:enable Metrics/BlockLength
2451
2730
  end
2452
2731
  # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
2453
2732
  # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
@@ -2464,6 +2743,8 @@ module OCI
2464
2743
  #
2465
2744
  # @param [String] cross_connect_id The OCID of the cross-connect.
2466
2745
  # @param [Hash] opts the optional parameters
2746
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
2747
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then then operation will not retry
2467
2748
  # @return [Response] A Response object with data of type {OCI::Core::Models::CrossConnectStatus CrossConnectStatus}
2468
2749
  def get_cross_connect_status(cross_connect_id, opts = {})
2469
2750
  logger.debug 'Calling operation VirtualNetworkClient#get_cross_connect_status.' if logger
@@ -2484,16 +2765,20 @@ module OCI
2484
2765
 
2485
2766
  post_body = nil
2486
2767
 
2487
- @api_client.call_api(
2488
- :GET,
2489
- path,
2490
- endpoint,
2491
- header_params: header_params,
2492
- query_params: query_params,
2493
- operation_signing_strategy: operation_signing_strategy,
2494
- body: post_body,
2495
- return_type: 'OCI::Core::Models::CrossConnectStatus'
2496
- )
2768
+ # rubocop:disable Metrics/BlockLength
2769
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'VirtualNetworkClient#get_cross_connect_status') do
2770
+ @api_client.call_api(
2771
+ :GET,
2772
+ path,
2773
+ endpoint,
2774
+ header_params: header_params,
2775
+ query_params: query_params,
2776
+ operation_signing_strategy: operation_signing_strategy,
2777
+ body: post_body,
2778
+ return_type: 'OCI::Core::Models::CrossConnectStatus'
2779
+ )
2780
+ end
2781
+ # rubocop:enable Metrics/BlockLength
2497
2782
  end
2498
2783
  # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
2499
2784
  # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
@@ -2509,6 +2794,8 @@ module OCI
2509
2794
  # Gets the specified set of DHCP options.
2510
2795
  # @param [String] dhcp_id The OCID for the set of DHCP options.
2511
2796
  # @param [Hash] opts the optional parameters
2797
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
2798
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then then operation will not retry
2512
2799
  # @return [Response] A Response object with data of type {OCI::Core::Models::DhcpOptions DhcpOptions}
2513
2800
  def get_dhcp_options(dhcp_id, opts = {})
2514
2801
  logger.debug 'Calling operation VirtualNetworkClient#get_dhcp_options.' if logger
@@ -2529,16 +2816,20 @@ module OCI
2529
2816
 
2530
2817
  post_body = nil
2531
2818
 
2532
- @api_client.call_api(
2533
- :GET,
2534
- path,
2535
- endpoint,
2536
- header_params: header_params,
2537
- query_params: query_params,
2538
- operation_signing_strategy: operation_signing_strategy,
2539
- body: post_body,
2540
- return_type: 'OCI::Core::Models::DhcpOptions'
2541
- )
2819
+ # rubocop:disable Metrics/BlockLength
2820
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'VirtualNetworkClient#get_dhcp_options') do
2821
+ @api_client.call_api(
2822
+ :GET,
2823
+ path,
2824
+ endpoint,
2825
+ header_params: header_params,
2826
+ query_params: query_params,
2827
+ operation_signing_strategy: operation_signing_strategy,
2828
+ body: post_body,
2829
+ return_type: 'OCI::Core::Models::DhcpOptions'
2830
+ )
2831
+ end
2832
+ # rubocop:enable Metrics/BlockLength
2542
2833
  end
2543
2834
  # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
2544
2835
  # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
@@ -2554,6 +2845,8 @@ module OCI
2554
2845
  # Gets the specified DRG's information.
2555
2846
  # @param [String] drg_id The OCID of the DRG.
2556
2847
  # @param [Hash] opts the optional parameters
2848
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
2849
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then then operation will not retry
2557
2850
  # @return [Response] A Response object with data of type {OCI::Core::Models::Drg Drg}
2558
2851
  def get_drg(drg_id, opts = {})
2559
2852
  logger.debug 'Calling operation VirtualNetworkClient#get_drg.' if logger
@@ -2574,16 +2867,20 @@ module OCI
2574
2867
 
2575
2868
  post_body = nil
2576
2869
 
2577
- @api_client.call_api(
2578
- :GET,
2579
- path,
2580
- endpoint,
2581
- header_params: header_params,
2582
- query_params: query_params,
2583
- operation_signing_strategy: operation_signing_strategy,
2584
- body: post_body,
2585
- return_type: 'OCI::Core::Models::Drg'
2586
- )
2870
+ # rubocop:disable Metrics/BlockLength
2871
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'VirtualNetworkClient#get_drg') do
2872
+ @api_client.call_api(
2873
+ :GET,
2874
+ path,
2875
+ endpoint,
2876
+ header_params: header_params,
2877
+ query_params: query_params,
2878
+ operation_signing_strategy: operation_signing_strategy,
2879
+ body: post_body,
2880
+ return_type: 'OCI::Core::Models::Drg'
2881
+ )
2882
+ end
2883
+ # rubocop:enable Metrics/BlockLength
2587
2884
  end
2588
2885
  # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
2589
2886
  # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
@@ -2599,6 +2896,8 @@ module OCI
2599
2896
  # Gets the information for the specified `DrgAttachment`.
2600
2897
  # @param [String] drg_attachment_id The OCID of the DRG attachment.
2601
2898
  # @param [Hash] opts the optional parameters
2899
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
2900
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then then operation will not retry
2602
2901
  # @return [Response] A Response object with data of type {OCI::Core::Models::DrgAttachment DrgAttachment}
2603
2902
  def get_drg_attachment(drg_attachment_id, opts = {})
2604
2903
  logger.debug 'Calling operation VirtualNetworkClient#get_drg_attachment.' if logger
@@ -2619,16 +2918,20 @@ module OCI
2619
2918
 
2620
2919
  post_body = nil
2621
2920
 
2622
- @api_client.call_api(
2623
- :GET,
2624
- path,
2625
- endpoint,
2626
- header_params: header_params,
2627
- query_params: query_params,
2628
- operation_signing_strategy: operation_signing_strategy,
2629
- body: post_body,
2630
- return_type: 'OCI::Core::Models::DrgAttachment'
2631
- )
2921
+ # rubocop:disable Metrics/BlockLength
2922
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'VirtualNetworkClient#get_drg_attachment') do
2923
+ @api_client.call_api(
2924
+ :GET,
2925
+ path,
2926
+ endpoint,
2927
+ header_params: header_params,
2928
+ query_params: query_params,
2929
+ operation_signing_strategy: operation_signing_strategy,
2930
+ body: post_body,
2931
+ return_type: 'OCI::Core::Models::DrgAttachment'
2932
+ )
2933
+ end
2934
+ # rubocop:enable Metrics/BlockLength
2632
2935
  end
2633
2936
  # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
2634
2937
  # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
@@ -2646,6 +2949,8 @@ module OCI
2646
2949
  #
2647
2950
  # @param [String] provider_service_id The OCID of the provider service.
2648
2951
  # @param [Hash] opts the optional parameters
2952
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
2953
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then then operation will not retry
2649
2954
  # @return [Response] A Response object with data of type {OCI::Core::Models::FastConnectProviderService FastConnectProviderService}
2650
2955
  def get_fast_connect_provider_service(provider_service_id, opts = {})
2651
2956
  logger.debug 'Calling operation VirtualNetworkClient#get_fast_connect_provider_service.' if logger
@@ -2666,16 +2971,20 @@ module OCI
2666
2971
 
2667
2972
  post_body = nil
2668
2973
 
2669
- @api_client.call_api(
2670
- :GET,
2671
- path,
2672
- endpoint,
2673
- header_params: header_params,
2674
- query_params: query_params,
2675
- operation_signing_strategy: operation_signing_strategy,
2676
- body: post_body,
2677
- return_type: 'OCI::Core::Models::FastConnectProviderService'
2678
- )
2974
+ # rubocop:disable Metrics/BlockLength
2975
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'VirtualNetworkClient#get_fast_connect_provider_service') do
2976
+ @api_client.call_api(
2977
+ :GET,
2978
+ path,
2979
+ endpoint,
2980
+ header_params: header_params,
2981
+ query_params: query_params,
2982
+ operation_signing_strategy: operation_signing_strategy,
2983
+ body: post_body,
2984
+ return_type: 'OCI::Core::Models::FastConnectProviderService'
2985
+ )
2986
+ end
2987
+ # rubocop:enable Metrics/BlockLength
2679
2988
  end
2680
2989
  # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
2681
2990
  # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
@@ -2691,6 +3000,8 @@ module OCI
2691
3000
  # Gets the specified Internet Gateway's information.
2692
3001
  # @param [String] ig_id The OCID of the Internet Gateway.
2693
3002
  # @param [Hash] opts the optional parameters
3003
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
3004
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then then operation will not retry
2694
3005
  # @return [Response] A Response object with data of type {OCI::Core::Models::InternetGateway InternetGateway}
2695
3006
  def get_internet_gateway(ig_id, opts = {})
2696
3007
  logger.debug 'Calling operation VirtualNetworkClient#get_internet_gateway.' if logger
@@ -2711,16 +3022,20 @@ module OCI
2711
3022
 
2712
3023
  post_body = nil
2713
3024
 
2714
- @api_client.call_api(
2715
- :GET,
2716
- path,
2717
- endpoint,
2718
- header_params: header_params,
2719
- query_params: query_params,
2720
- operation_signing_strategy: operation_signing_strategy,
2721
- body: post_body,
2722
- return_type: 'OCI::Core::Models::InternetGateway'
2723
- )
3025
+ # rubocop:disable Metrics/BlockLength
3026
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'VirtualNetworkClient#get_internet_gateway') do
3027
+ @api_client.call_api(
3028
+ :GET,
3029
+ path,
3030
+ endpoint,
3031
+ header_params: header_params,
3032
+ query_params: query_params,
3033
+ operation_signing_strategy: operation_signing_strategy,
3034
+ body: post_body,
3035
+ return_type: 'OCI::Core::Models::InternetGateway'
3036
+ )
3037
+ end
3038
+ # rubocop:enable Metrics/BlockLength
2724
3039
  end
2725
3040
  # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
2726
3041
  # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
@@ -2739,6 +3054,8 @@ module OCI
2739
3054
  #
2740
3055
  # @param [String] ipsc_id The OCID of the IPSec connection.
2741
3056
  # @param [Hash] opts the optional parameters
3057
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
3058
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then then operation will not retry
2742
3059
  # @return [Response] A Response object with data of type {OCI::Core::Models::IPSecConnection IPSecConnection}
2743
3060
  def get_ip_sec_connection(ipsc_id, opts = {})
2744
3061
  logger.debug 'Calling operation VirtualNetworkClient#get_ip_sec_connection.' if logger
@@ -2759,16 +3076,20 @@ module OCI
2759
3076
 
2760
3077
  post_body = nil
2761
3078
 
2762
- @api_client.call_api(
2763
- :GET,
2764
- path,
2765
- endpoint,
2766
- header_params: header_params,
2767
- query_params: query_params,
2768
- operation_signing_strategy: operation_signing_strategy,
2769
- body: post_body,
2770
- return_type: 'OCI::Core::Models::IPSecConnection'
2771
- )
3079
+ # rubocop:disable Metrics/BlockLength
3080
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'VirtualNetworkClient#get_ip_sec_connection') do
3081
+ @api_client.call_api(
3082
+ :GET,
3083
+ path,
3084
+ endpoint,
3085
+ header_params: header_params,
3086
+ query_params: query_params,
3087
+ operation_signing_strategy: operation_signing_strategy,
3088
+ body: post_body,
3089
+ return_type: 'OCI::Core::Models::IPSecConnection'
3090
+ )
3091
+ end
3092
+ # rubocop:enable Metrics/BlockLength
2772
3093
  end
2773
3094
  # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
2774
3095
  # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
@@ -2786,6 +3107,8 @@ module OCI
2786
3107
  #
2787
3108
  # @param [String] ipsc_id The OCID of the IPSec connection.
2788
3109
  # @param [Hash] opts the optional parameters
3110
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
3111
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then then operation will not retry
2789
3112
  # @return [Response] A Response object with data of type {OCI::Core::Models::IPSecConnectionDeviceConfig IPSecConnectionDeviceConfig}
2790
3113
  def get_ip_sec_connection_device_config(ipsc_id, opts = {})
2791
3114
  logger.debug 'Calling operation VirtualNetworkClient#get_ip_sec_connection_device_config.' if logger
@@ -2806,16 +3129,20 @@ module OCI
2806
3129
 
2807
3130
  post_body = nil
2808
3131
 
2809
- @api_client.call_api(
2810
- :GET,
2811
- path,
2812
- endpoint,
2813
- header_params: header_params,
2814
- query_params: query_params,
2815
- operation_signing_strategy: operation_signing_strategy,
2816
- body: post_body,
2817
- return_type: 'OCI::Core::Models::IPSecConnectionDeviceConfig'
2818
- )
3132
+ # rubocop:disable Metrics/BlockLength
3133
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'VirtualNetworkClient#get_ip_sec_connection_device_config') do
3134
+ @api_client.call_api(
3135
+ :GET,
3136
+ path,
3137
+ endpoint,
3138
+ header_params: header_params,
3139
+ query_params: query_params,
3140
+ operation_signing_strategy: operation_signing_strategy,
3141
+ body: post_body,
3142
+ return_type: 'OCI::Core::Models::IPSecConnectionDeviceConfig'
3143
+ )
3144
+ end
3145
+ # rubocop:enable Metrics/BlockLength
2819
3146
  end
2820
3147
  # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
2821
3148
  # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
@@ -2832,6 +3159,8 @@ module OCI
2832
3159
  #
2833
3160
  # @param [String] ipsc_id The OCID of the IPSec connection.
2834
3161
  # @param [Hash] opts the optional parameters
3162
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
3163
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then then operation will not retry
2835
3164
  # @return [Response] A Response object with data of type {OCI::Core::Models::IPSecConnectionDeviceStatus IPSecConnectionDeviceStatus}
2836
3165
  def get_ip_sec_connection_device_status(ipsc_id, opts = {})
2837
3166
  logger.debug 'Calling operation VirtualNetworkClient#get_ip_sec_connection_device_status.' if logger
@@ -2852,16 +3181,20 @@ module OCI
2852
3181
 
2853
3182
  post_body = nil
2854
3183
 
2855
- @api_client.call_api(
2856
- :GET,
2857
- path,
2858
- endpoint,
2859
- header_params: header_params,
2860
- query_params: query_params,
2861
- operation_signing_strategy: operation_signing_strategy,
2862
- body: post_body,
2863
- return_type: 'OCI::Core::Models::IPSecConnectionDeviceStatus'
2864
- )
3184
+ # rubocop:disable Metrics/BlockLength
3185
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'VirtualNetworkClient#get_ip_sec_connection_device_status') do
3186
+ @api_client.call_api(
3187
+ :GET,
3188
+ path,
3189
+ endpoint,
3190
+ header_params: header_params,
3191
+ query_params: query_params,
3192
+ operation_signing_strategy: operation_signing_strategy,
3193
+ body: post_body,
3194
+ return_type: 'OCI::Core::Models::IPSecConnectionDeviceStatus'
3195
+ )
3196
+ end
3197
+ # rubocop:enable Metrics/BlockLength
2865
3198
  end
2866
3199
  # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
2867
3200
  # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
@@ -2877,6 +3210,8 @@ module OCI
2877
3210
  # Gets the specified local peering gateway's information.
2878
3211
  # @param [String] local_peering_gateway_id The OCID of the local peering gateway.
2879
3212
  # @param [Hash] opts the optional parameters
3213
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
3214
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then then operation will not retry
2880
3215
  # @return [Response] A Response object with data of type {OCI::Core::Models::LocalPeeringGateway LocalPeeringGateway}
2881
3216
  def get_local_peering_gateway(local_peering_gateway_id, opts = {})
2882
3217
  logger.debug 'Calling operation VirtualNetworkClient#get_local_peering_gateway.' if logger
@@ -2897,16 +3232,20 @@ module OCI
2897
3232
 
2898
3233
  post_body = nil
2899
3234
 
2900
- @api_client.call_api(
2901
- :GET,
2902
- path,
2903
- endpoint,
2904
- header_params: header_params,
2905
- query_params: query_params,
2906
- operation_signing_strategy: operation_signing_strategy,
2907
- body: post_body,
2908
- return_type: 'OCI::Core::Models::LocalPeeringGateway'
2909
- )
3235
+ # rubocop:disable Metrics/BlockLength
3236
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'VirtualNetworkClient#get_local_peering_gateway') do
3237
+ @api_client.call_api(
3238
+ :GET,
3239
+ path,
3240
+ endpoint,
3241
+ header_params: header_params,
3242
+ query_params: query_params,
3243
+ operation_signing_strategy: operation_signing_strategy,
3244
+ body: post_body,
3245
+ return_type: 'OCI::Core::Models::LocalPeeringGateway'
3246
+ )
3247
+ end
3248
+ # rubocop:enable Metrics/BlockLength
2910
3249
  end
2911
3250
  # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
2912
3251
  # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
@@ -2926,6 +3265,8 @@ module OCI
2926
3265
  #
2927
3266
  # @param [String] private_ip_id The OCID of the private IP.
2928
3267
  # @param [Hash] opts the optional parameters
3268
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
3269
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then then operation will not retry
2929
3270
  # @return [Response] A Response object with data of type {OCI::Core::Models::PrivateIp PrivateIp}
2930
3271
  def get_private_ip(private_ip_id, opts = {})
2931
3272
  logger.debug 'Calling operation VirtualNetworkClient#get_private_ip.' if logger
@@ -2946,16 +3287,20 @@ module OCI
2946
3287
 
2947
3288
  post_body = nil
2948
3289
 
2949
- @api_client.call_api(
2950
- :GET,
2951
- path,
2952
- endpoint,
2953
- header_params: header_params,
2954
- query_params: query_params,
2955
- operation_signing_strategy: operation_signing_strategy,
2956
- body: post_body,
2957
- return_type: 'OCI::Core::Models::PrivateIp'
2958
- )
3290
+ # rubocop:disable Metrics/BlockLength
3291
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'VirtualNetworkClient#get_private_ip') do
3292
+ @api_client.call_api(
3293
+ :GET,
3294
+ path,
3295
+ endpoint,
3296
+ header_params: header_params,
3297
+ query_params: query_params,
3298
+ operation_signing_strategy: operation_signing_strategy,
3299
+ body: post_body,
3300
+ return_type: 'OCI::Core::Models::PrivateIp'
3301
+ )
3302
+ end
3303
+ # rubocop:enable Metrics/BlockLength
2959
3304
  end
2960
3305
  # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
2961
3306
  # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
@@ -2982,6 +3327,8 @@ module OCI
2982
3327
  #
2983
3328
  # @param [String] public_ip_id The OCID of the public IP.
2984
3329
  # @param [Hash] opts the optional parameters
3330
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
3331
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then then operation will not retry
2985
3332
  # @return [Response] A Response object with data of type {OCI::Core::Models::PublicIp PublicIp}
2986
3333
  def get_public_ip(public_ip_id, opts = {})
2987
3334
  logger.debug 'Calling operation VirtualNetworkClient#get_public_ip.' if logger
@@ -3002,16 +3349,20 @@ module OCI
3002
3349
 
3003
3350
  post_body = nil
3004
3351
 
3005
- @api_client.call_api(
3006
- :GET,
3007
- path,
3008
- endpoint,
3009
- header_params: header_params,
3010
- query_params: query_params,
3011
- operation_signing_strategy: operation_signing_strategy,
3012
- body: post_body,
3013
- return_type: 'OCI::Core::Models::PublicIp'
3014
- )
3352
+ # rubocop:disable Metrics/BlockLength
3353
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'VirtualNetworkClient#get_public_ip') do
3354
+ @api_client.call_api(
3355
+ :GET,
3356
+ path,
3357
+ endpoint,
3358
+ header_params: header_params,
3359
+ query_params: query_params,
3360
+ operation_signing_strategy: operation_signing_strategy,
3361
+ body: post_body,
3362
+ return_type: 'OCI::Core::Models::PublicIp'
3363
+ )
3364
+ end
3365
+ # rubocop:enable Metrics/BlockLength
3015
3366
  end
3016
3367
  # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
3017
3368
  # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
@@ -3032,6 +3383,8 @@ module OCI
3032
3383
  #
3033
3384
  # @param [OCI::Core::Models::GetPublicIpByIpAddressDetails] get_public_ip_by_ip_address_details IP address details for fetching the public IP.
3034
3385
  # @param [Hash] opts the optional parameters
3386
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
3387
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then then operation will not retry
3035
3388
  # @return [Response] A Response object with data of type {OCI::Core::Models::PublicIp PublicIp}
3036
3389
  def get_public_ip_by_ip_address(get_public_ip_by_ip_address_details, opts = {})
3037
3390
  logger.debug 'Calling operation VirtualNetworkClient#get_public_ip_by_ip_address.' if logger
@@ -3051,16 +3404,20 @@ module OCI
3051
3404
 
3052
3405
  post_body = @api_client.object_to_http_body(get_public_ip_by_ip_address_details)
3053
3406
 
3054
- @api_client.call_api(
3055
- :POST,
3056
- path,
3057
- endpoint,
3058
- header_params: header_params,
3059
- query_params: query_params,
3060
- operation_signing_strategy: operation_signing_strategy,
3061
- body: post_body,
3062
- return_type: 'OCI::Core::Models::PublicIp'
3063
- )
3407
+ # rubocop:disable Metrics/BlockLength
3408
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'VirtualNetworkClient#get_public_ip_by_ip_address') do
3409
+ @api_client.call_api(
3410
+ :POST,
3411
+ path,
3412
+ endpoint,
3413
+ header_params: header_params,
3414
+ query_params: query_params,
3415
+ operation_signing_strategy: operation_signing_strategy,
3416
+ body: post_body,
3417
+ return_type: 'OCI::Core::Models::PublicIp'
3418
+ )
3419
+ end
3420
+ # rubocop:enable Metrics/BlockLength
3064
3421
  end
3065
3422
  # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
3066
3423
  # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
@@ -3087,6 +3444,8 @@ module OCI
3087
3444
  #
3088
3445
  # @param [OCI::Core::Models::GetPublicIpByPrivateIpIdDetails] get_public_ip_by_private_ip_id_details Private IP details for fetching the public IP.
3089
3446
  # @param [Hash] opts the optional parameters
3447
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
3448
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then then operation will not retry
3090
3449
  # @return [Response] A Response object with data of type {OCI::Core::Models::PublicIp PublicIp}
3091
3450
  def get_public_ip_by_private_ip_id(get_public_ip_by_private_ip_id_details, opts = {})
3092
3451
  logger.debug 'Calling operation VirtualNetworkClient#get_public_ip_by_private_ip_id.' if logger
@@ -3106,16 +3465,20 @@ module OCI
3106
3465
 
3107
3466
  post_body = @api_client.object_to_http_body(get_public_ip_by_private_ip_id_details)
3108
3467
 
3109
- @api_client.call_api(
3110
- :POST,
3111
- path,
3112
- endpoint,
3113
- header_params: header_params,
3114
- query_params: query_params,
3115
- operation_signing_strategy: operation_signing_strategy,
3116
- body: post_body,
3117
- return_type: 'OCI::Core::Models::PublicIp'
3118
- )
3468
+ # rubocop:disable Metrics/BlockLength
3469
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'VirtualNetworkClient#get_public_ip_by_private_ip_id') do
3470
+ @api_client.call_api(
3471
+ :POST,
3472
+ path,
3473
+ endpoint,
3474
+ header_params: header_params,
3475
+ query_params: query_params,
3476
+ operation_signing_strategy: operation_signing_strategy,
3477
+ body: post_body,
3478
+ return_type: 'OCI::Core::Models::PublicIp'
3479
+ )
3480
+ end
3481
+ # rubocop:enable Metrics/BlockLength
3119
3482
  end
3120
3483
  # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
3121
3484
  # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
@@ -3132,6 +3495,8 @@ module OCI
3132
3495
  #
3133
3496
  # @param [String] remote_peering_connection_id The OCID of the remote peering connection (RPC).
3134
3497
  # @param [Hash] opts the optional parameters
3498
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
3499
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then then operation will not retry
3135
3500
  # @return [Response] A Response object with data of type {OCI::Core::Models::RemotePeeringConnection RemotePeeringConnection}
3136
3501
  def get_remote_peering_connection(remote_peering_connection_id, opts = {})
3137
3502
  logger.debug 'Calling operation VirtualNetworkClient#get_remote_peering_connection.' if logger
@@ -3152,16 +3517,20 @@ module OCI
3152
3517
 
3153
3518
  post_body = nil
3154
3519
 
3155
- @api_client.call_api(
3156
- :GET,
3157
- path,
3158
- endpoint,
3159
- header_params: header_params,
3160
- query_params: query_params,
3161
- operation_signing_strategy: operation_signing_strategy,
3162
- body: post_body,
3163
- return_type: 'OCI::Core::Models::RemotePeeringConnection'
3164
- )
3520
+ # rubocop:disable Metrics/BlockLength
3521
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'VirtualNetworkClient#get_remote_peering_connection') do
3522
+ @api_client.call_api(
3523
+ :GET,
3524
+ path,
3525
+ endpoint,
3526
+ header_params: header_params,
3527
+ query_params: query_params,
3528
+ operation_signing_strategy: operation_signing_strategy,
3529
+ body: post_body,
3530
+ return_type: 'OCI::Core::Models::RemotePeeringConnection'
3531
+ )
3532
+ end
3533
+ # rubocop:enable Metrics/BlockLength
3165
3534
  end
3166
3535
  # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
3167
3536
  # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
@@ -3177,6 +3546,8 @@ module OCI
3177
3546
  # Gets the specified route table's information.
3178
3547
  # @param [String] rt_id The OCID of the route table.
3179
3548
  # @param [Hash] opts the optional parameters
3549
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
3550
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then then operation will not retry
3180
3551
  # @return [Response] A Response object with data of type {OCI::Core::Models::RouteTable RouteTable}
3181
3552
  def get_route_table(rt_id, opts = {})
3182
3553
  logger.debug 'Calling operation VirtualNetworkClient#get_route_table.' if logger
@@ -3197,16 +3568,20 @@ module OCI
3197
3568
 
3198
3569
  post_body = nil
3199
3570
 
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: 'OCI::Core::Models::RouteTable'
3209
- )
3571
+ # rubocop:disable Metrics/BlockLength
3572
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'VirtualNetworkClient#get_route_table') do
3573
+ @api_client.call_api(
3574
+ :GET,
3575
+ path,
3576
+ endpoint,
3577
+ header_params: header_params,
3578
+ query_params: query_params,
3579
+ operation_signing_strategy: operation_signing_strategy,
3580
+ body: post_body,
3581
+ return_type: 'OCI::Core::Models::RouteTable'
3582
+ )
3583
+ end
3584
+ # rubocop:enable Metrics/BlockLength
3210
3585
  end
3211
3586
  # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
3212
3587
  # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
@@ -3222,6 +3597,8 @@ module OCI
3222
3597
  # Gets the specified security list's information.
3223
3598
  # @param [String] security_list_id The OCID of the security list.
3224
3599
  # @param [Hash] opts the optional parameters
3600
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
3601
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then then operation will not retry
3225
3602
  # @return [Response] A Response object with data of type {OCI::Core::Models::SecurityList SecurityList}
3226
3603
  def get_security_list(security_list_id, opts = {})
3227
3604
  logger.debug 'Calling operation VirtualNetworkClient#get_security_list.' if logger
@@ -3242,16 +3619,20 @@ module OCI
3242
3619
 
3243
3620
  post_body = nil
3244
3621
 
3245
- @api_client.call_api(
3246
- :GET,
3247
- path,
3248
- endpoint,
3249
- header_params: header_params,
3250
- query_params: query_params,
3251
- operation_signing_strategy: operation_signing_strategy,
3252
- body: post_body,
3253
- return_type: 'OCI::Core::Models::SecurityList'
3254
- )
3622
+ # rubocop:disable Metrics/BlockLength
3623
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'VirtualNetworkClient#get_security_list') do
3624
+ @api_client.call_api(
3625
+ :GET,
3626
+ path,
3627
+ endpoint,
3628
+ header_params: header_params,
3629
+ query_params: query_params,
3630
+ operation_signing_strategy: operation_signing_strategy,
3631
+ body: post_body,
3632
+ return_type: 'OCI::Core::Models::SecurityList'
3633
+ )
3634
+ end
3635
+ # rubocop:enable Metrics/BlockLength
3255
3636
  end
3256
3637
  # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
3257
3638
  # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
@@ -3267,6 +3648,8 @@ module OCI
3267
3648
  # Gets the specified subnet's information.
3268
3649
  # @param [String] subnet_id The OCID of the subnet.
3269
3650
  # @param [Hash] opts the optional parameters
3651
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
3652
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then then operation will not retry
3270
3653
  # @return [Response] A Response object with data of type {OCI::Core::Models::Subnet Subnet}
3271
3654
  def get_subnet(subnet_id, opts = {})
3272
3655
  logger.debug 'Calling operation VirtualNetworkClient#get_subnet.' if logger
@@ -3287,16 +3670,20 @@ module OCI
3287
3670
 
3288
3671
  post_body = nil
3289
3672
 
3290
- @api_client.call_api(
3291
- :GET,
3292
- path,
3293
- endpoint,
3294
- header_params: header_params,
3295
- query_params: query_params,
3296
- operation_signing_strategy: operation_signing_strategy,
3297
- body: post_body,
3298
- return_type: 'OCI::Core::Models::Subnet'
3299
- )
3673
+ # rubocop:disable Metrics/BlockLength
3674
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'VirtualNetworkClient#get_subnet') do
3675
+ @api_client.call_api(
3676
+ :GET,
3677
+ path,
3678
+ endpoint,
3679
+ header_params: header_params,
3680
+ query_params: query_params,
3681
+ operation_signing_strategy: operation_signing_strategy,
3682
+ body: post_body,
3683
+ return_type: 'OCI::Core::Models::Subnet'
3684
+ )
3685
+ end
3686
+ # rubocop:enable Metrics/BlockLength
3300
3687
  end
3301
3688
  # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
3302
3689
  # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
@@ -3312,6 +3699,8 @@ module OCI
3312
3699
  # Gets the specified VCN's information.
3313
3700
  # @param [String] vcn_id The OCID of the VCN.
3314
3701
  # @param [Hash] opts the optional parameters
3702
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
3703
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then then operation will not retry
3315
3704
  # @return [Response] A Response object with data of type {OCI::Core::Models::Vcn Vcn}
3316
3705
  def get_vcn(vcn_id, opts = {})
3317
3706
  logger.debug 'Calling operation VirtualNetworkClient#get_vcn.' if logger
@@ -3332,16 +3721,20 @@ module OCI
3332
3721
 
3333
3722
  post_body = nil
3334
3723
 
3335
- @api_client.call_api(
3336
- :GET,
3337
- path,
3338
- endpoint,
3339
- header_params: header_params,
3340
- query_params: query_params,
3341
- operation_signing_strategy: operation_signing_strategy,
3342
- body: post_body,
3343
- return_type: 'OCI::Core::Models::Vcn'
3344
- )
3724
+ # rubocop:disable Metrics/BlockLength
3725
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'VirtualNetworkClient#get_vcn') do
3726
+ @api_client.call_api(
3727
+ :GET,
3728
+ path,
3729
+ endpoint,
3730
+ header_params: header_params,
3731
+ query_params: query_params,
3732
+ operation_signing_strategy: operation_signing_strategy,
3733
+ body: post_body,
3734
+ return_type: 'OCI::Core::Models::Vcn'
3735
+ )
3736
+ end
3737
+ # rubocop:enable Metrics/BlockLength
3345
3738
  end
3346
3739
  # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
3347
3740
  # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
@@ -3357,6 +3750,8 @@ module OCI
3357
3750
  # Gets the specified virtual circuit's information.
3358
3751
  # @param [String] virtual_circuit_id The OCID of the virtual circuit.
3359
3752
  # @param [Hash] opts the optional parameters
3753
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
3754
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then then operation will not retry
3360
3755
  # @return [Response] A Response object with data of type {OCI::Core::Models::VirtualCircuit VirtualCircuit}
3361
3756
  def get_virtual_circuit(virtual_circuit_id, opts = {})
3362
3757
  logger.debug 'Calling operation VirtualNetworkClient#get_virtual_circuit.' if logger
@@ -3377,16 +3772,20 @@ module OCI
3377
3772
 
3378
3773
  post_body = nil
3379
3774
 
3380
- @api_client.call_api(
3381
- :GET,
3382
- path,
3383
- endpoint,
3384
- header_params: header_params,
3385
- query_params: query_params,
3386
- operation_signing_strategy: operation_signing_strategy,
3387
- body: post_body,
3388
- return_type: 'OCI::Core::Models::VirtualCircuit'
3389
- )
3775
+ # rubocop:disable Metrics/BlockLength
3776
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'VirtualNetworkClient#get_virtual_circuit') do
3777
+ @api_client.call_api(
3778
+ :GET,
3779
+ path,
3780
+ endpoint,
3781
+ header_params: header_params,
3782
+ query_params: query_params,
3783
+ operation_signing_strategy: operation_signing_strategy,
3784
+ body: post_body,
3785
+ return_type: 'OCI::Core::Models::VirtualCircuit'
3786
+ )
3787
+ end
3788
+ # rubocop:enable Metrics/BlockLength
3390
3789
  end
3391
3790
  # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
3392
3791
  # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
@@ -3406,6 +3805,8 @@ module OCI
3406
3805
  #
3407
3806
  # @param [String] vnic_id The OCID of the VNIC.
3408
3807
  # @param [Hash] opts the optional parameters
3808
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
3809
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then then operation will not retry
3409
3810
  # @return [Response] A Response object with data of type {OCI::Core::Models::Vnic Vnic}
3410
3811
  def get_vnic(vnic_id, opts = {})
3411
3812
  logger.debug 'Calling operation VirtualNetworkClient#get_vnic.' if logger
@@ -3426,16 +3827,20 @@ module OCI
3426
3827
 
3427
3828
  post_body = nil
3428
3829
 
3429
- @api_client.call_api(
3430
- :GET,
3431
- path,
3432
- endpoint,
3433
- header_params: header_params,
3434
- query_params: query_params,
3435
- operation_signing_strategy: operation_signing_strategy,
3436
- body: post_body,
3437
- return_type: 'OCI::Core::Models::Vnic'
3438
- )
3830
+ # rubocop:disable Metrics/BlockLength
3831
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'VirtualNetworkClient#get_vnic') do
3832
+ @api_client.call_api(
3833
+ :GET,
3834
+ path,
3835
+ endpoint,
3836
+ header_params: header_params,
3837
+ query_params: query_params,
3838
+ operation_signing_strategy: operation_signing_strategy,
3839
+ body: post_body,
3840
+ return_type: 'OCI::Core::Models::Vnic'
3841
+ )
3842
+ end
3843
+ # rubocop:enable Metrics/BlockLength
3439
3844
  end
3440
3845
  # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
3441
3846
  # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
@@ -3452,6 +3857,8 @@ module OCI
3452
3857
  # For more information, see [VCN Peering](https://docs.us-phoenix-1.oraclecloud.com/Content/Network/Tasks/VCNpeering.htm).
3453
3858
  #
3454
3859
  # @param [Hash] opts the optional parameters
3860
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
3861
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then then operation will not retry
3455
3862
  # @return [Response] A Response object with data of type Array<{OCI::Core::Models::PeerRegionForRemotePeering PeerRegionForRemotePeering}>
3456
3863
  def list_allowed_peer_regions_for_remote_peering(opts = {})
3457
3864
  logger.debug 'Calling operation VirtualNetworkClient#list_allowed_peer_regions_for_remote_peering.' if logger
@@ -3470,16 +3877,20 @@ module OCI
3470
3877
 
3471
3878
  post_body = nil
3472
3879
 
3473
- @api_client.call_api(
3474
- :GET,
3475
- path,
3476
- endpoint,
3477
- header_params: header_params,
3478
- query_params: query_params,
3479
- operation_signing_strategy: operation_signing_strategy,
3480
- body: post_body,
3481
- return_type: 'Array<OCI::Core::Models::PeerRegionForRemotePeering>'
3482
- )
3880
+ # rubocop:disable Metrics/BlockLength
3881
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'VirtualNetworkClient#list_allowed_peer_regions_for_remote_peering') do
3882
+ @api_client.call_api(
3883
+ :GET,
3884
+ path,
3885
+ endpoint,
3886
+ header_params: header_params,
3887
+ query_params: query_params,
3888
+ operation_signing_strategy: operation_signing_strategy,
3889
+ body: post_body,
3890
+ return_type: 'Array<OCI::Core::Models::PeerRegionForRemotePeering>'
3891
+ )
3892
+ end
3893
+ # rubocop:enable Metrics/BlockLength
3483
3894
  end
3484
3895
  # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
3485
3896
  # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
@@ -3495,6 +3906,8 @@ module OCI
3495
3906
  #
3496
3907
  # @param [String] compartment_id The OCID of the compartment.
3497
3908
  # @param [Hash] opts the optional parameters
3909
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
3910
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then then operation will not retry
3498
3911
  # @option opts [Integer] :limit The maximum number of items to return in a paginated \"List\" call.
3499
3912
  #
3500
3913
  # Example: `500`
@@ -3523,16 +3936,20 @@ module OCI
3523
3936
 
3524
3937
  post_body = nil
3525
3938
 
3526
- @api_client.call_api(
3527
- :GET,
3528
- path,
3529
- endpoint,
3530
- header_params: header_params,
3531
- query_params: query_params,
3532
- operation_signing_strategy: operation_signing_strategy,
3533
- body: post_body,
3534
- return_type: 'Array<OCI::Core::Models::Cpe>'
3535
- )
3939
+ # rubocop:disable Metrics/BlockLength
3940
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'VirtualNetworkClient#list_cpes') do
3941
+ @api_client.call_api(
3942
+ :GET,
3943
+ path,
3944
+ endpoint,
3945
+ header_params: header_params,
3946
+ query_params: query_params,
3947
+ operation_signing_strategy: operation_signing_strategy,
3948
+ body: post_body,
3949
+ return_type: 'Array<OCI::Core::Models::Cpe>'
3950
+ )
3951
+ end
3952
+ # rubocop:enable Metrics/BlockLength
3536
3953
  end
3537
3954
  # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
3538
3955
  # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
@@ -3547,6 +3964,8 @@ module OCI
3547
3964
  #
3548
3965
  # @param [String] compartment_id The OCID of the compartment.
3549
3966
  # @param [Hash] opts the optional parameters
3967
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
3968
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then then operation will not retry
3550
3969
  # @option opts [Integer] :limit The maximum number of items to return in a paginated \"List\" call.
3551
3970
  #
3552
3971
  # Example: `500`
@@ -3609,16 +4028,20 @@ module OCI
3609
4028
 
3610
4029
  post_body = nil
3611
4030
 
3612
- @api_client.call_api(
3613
- :GET,
3614
- path,
3615
- endpoint,
3616
- header_params: header_params,
3617
- query_params: query_params,
3618
- operation_signing_strategy: operation_signing_strategy,
3619
- body: post_body,
3620
- return_type: 'Array<OCI::Core::Models::CrossConnectGroup>'
3621
- )
4031
+ # rubocop:disable Metrics/BlockLength
4032
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'VirtualNetworkClient#list_cross_connect_groups') do
4033
+ @api_client.call_api(
4034
+ :GET,
4035
+ path,
4036
+ endpoint,
4037
+ header_params: header_params,
4038
+ query_params: query_params,
4039
+ operation_signing_strategy: operation_signing_strategy,
4040
+ body: post_body,
4041
+ return_type: 'Array<OCI::Core::Models::CrossConnectGroup>'
4042
+ )
4043
+ end
4044
+ # rubocop:enable Metrics/BlockLength
3622
4045
  end
3623
4046
  # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
3624
4047
  # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
@@ -3634,6 +4057,8 @@ module OCI
3634
4057
  #
3635
4058
  # @param [String] compartment_id The OCID of the compartment.
3636
4059
  # @param [Hash] opts the optional parameters
4060
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
4061
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then then operation will not retry
3637
4062
  # @option opts [Integer] :limit The maximum number of items to return in a paginated \"List\" call.
3638
4063
  #
3639
4064
  # Example: `500`
@@ -3662,16 +4087,20 @@ module OCI
3662
4087
 
3663
4088
  post_body = nil
3664
4089
 
3665
- @api_client.call_api(
3666
- :GET,
3667
- path,
3668
- endpoint,
3669
- header_params: header_params,
3670
- query_params: query_params,
3671
- operation_signing_strategy: operation_signing_strategy,
3672
- body: post_body,
3673
- return_type: 'Array<OCI::Core::Models::CrossConnectLocation>'
3674
- )
4090
+ # rubocop:disable Metrics/BlockLength
4091
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'VirtualNetworkClient#list_cross_connect_locations') do
4092
+ @api_client.call_api(
4093
+ :GET,
4094
+ path,
4095
+ endpoint,
4096
+ header_params: header_params,
4097
+ query_params: query_params,
4098
+ operation_signing_strategy: operation_signing_strategy,
4099
+ body: post_body,
4100
+ return_type: 'Array<OCI::Core::Models::CrossConnectLocation>'
4101
+ )
4102
+ end
4103
+ # rubocop:enable Metrics/BlockLength
3675
4104
  end
3676
4105
  # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
3677
4106
  # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
@@ -3687,6 +4116,8 @@ module OCI
3687
4116
  #
3688
4117
  # @param [String] compartment_id The OCID of the compartment.
3689
4118
  # @param [Hash] opts the optional parameters
4119
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
4120
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then then operation will not retry
3690
4121
  # @option opts [String] :cross_connect_group_id The OCID of the cross-connect group.
3691
4122
  # @option opts [Integer] :limit The maximum number of items to return in a paginated \"List\" call.
3692
4123
  #
@@ -3751,16 +4182,20 @@ module OCI
3751
4182
 
3752
4183
  post_body = nil
3753
4184
 
3754
- @api_client.call_api(
3755
- :GET,
3756
- path,
3757
- endpoint,
3758
- header_params: header_params,
3759
- query_params: query_params,
3760
- operation_signing_strategy: operation_signing_strategy,
3761
- body: post_body,
3762
- return_type: 'Array<OCI::Core::Models::CrossConnect>'
3763
- )
4185
+ # rubocop:disable Metrics/BlockLength
4186
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'VirtualNetworkClient#list_cross_connects') do
4187
+ @api_client.call_api(
4188
+ :GET,
4189
+ path,
4190
+ endpoint,
4191
+ header_params: header_params,
4192
+ query_params: query_params,
4193
+ operation_signing_strategy: operation_signing_strategy,
4194
+ body: post_body,
4195
+ return_type: 'Array<OCI::Core::Models::CrossConnect>'
4196
+ )
4197
+ end
4198
+ # rubocop:enable Metrics/BlockLength
3764
4199
  end
3765
4200
  # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
3766
4201
  # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
@@ -3777,6 +4212,8 @@ module OCI
3777
4212
  #
3778
4213
  # @param [String] compartment_id The OCID of the compartment.
3779
4214
  # @param [Hash] opts the optional parameters
4215
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
4216
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then then operation will not retry
3780
4217
  # @option opts [Integer] :limit The maximum number of items to return in a paginated \"List\" call.
3781
4218
  #
3782
4219
  # Example: `500`
@@ -3805,16 +4242,20 @@ module OCI
3805
4242
 
3806
4243
  post_body = nil
3807
4244
 
3808
- @api_client.call_api(
3809
- :GET,
3810
- path,
3811
- endpoint,
3812
- header_params: header_params,
3813
- query_params: query_params,
3814
- operation_signing_strategy: operation_signing_strategy,
3815
- body: post_body,
3816
- return_type: 'Array<OCI::Core::Models::CrossConnectPortSpeedShape>'
3817
- )
4245
+ # rubocop:disable Metrics/BlockLength
4246
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'VirtualNetworkClient#list_crossconnect_port_speed_shapes') do
4247
+ @api_client.call_api(
4248
+ :GET,
4249
+ path,
4250
+ endpoint,
4251
+ header_params: header_params,
4252
+ query_params: query_params,
4253
+ operation_signing_strategy: operation_signing_strategy,
4254
+ body: post_body,
4255
+ return_type: 'Array<OCI::Core::Models::CrossConnectPortSpeedShape>'
4256
+ )
4257
+ end
4258
+ # rubocop:enable Metrics/BlockLength
3818
4259
  end
3819
4260
  # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
3820
4261
  # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
@@ -3832,6 +4273,8 @@ module OCI
3832
4273
  # @param [String] compartment_id The OCID of the compartment.
3833
4274
  # @param [String] vcn_id The OCID of the VCN.
3834
4275
  # @param [Hash] opts the optional parameters
4276
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
4277
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then then operation will not retry
3835
4278
  # @option opts [Integer] :limit The maximum number of items to return in a paginated \"List\" call.
3836
4279
  #
3837
4280
  # Example: `500`
@@ -3896,16 +4339,20 @@ module OCI
3896
4339
 
3897
4340
  post_body = nil
3898
4341
 
3899
- @api_client.call_api(
3900
- :GET,
3901
- path,
3902
- endpoint,
3903
- header_params: header_params,
3904
- query_params: query_params,
3905
- operation_signing_strategy: operation_signing_strategy,
3906
- body: post_body,
3907
- return_type: 'Array<OCI::Core::Models::DhcpOptions>'
3908
- )
4342
+ # rubocop:disable Metrics/BlockLength
4343
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'VirtualNetworkClient#list_dhcp_options') do
4344
+ @api_client.call_api(
4345
+ :GET,
4346
+ path,
4347
+ endpoint,
4348
+ header_params: header_params,
4349
+ query_params: query_params,
4350
+ operation_signing_strategy: operation_signing_strategy,
4351
+ body: post_body,
4352
+ return_type: 'Array<OCI::Core::Models::DhcpOptions>'
4353
+ )
4354
+ end
4355
+ # rubocop:enable Metrics/BlockLength
3909
4356
  end
3910
4357
  # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
3911
4358
  # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
@@ -3921,6 +4368,8 @@ module OCI
3921
4368
  #
3922
4369
  # @param [String] compartment_id The OCID of the compartment.
3923
4370
  # @param [Hash] opts the optional parameters
4371
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
4372
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then then operation will not retry
3924
4373
  # @option opts [String] :vcn_id The OCID of the VCN.
3925
4374
  # @option opts [String] :drg_id The OCID of the DRG.
3926
4375
  # @option opts [Integer] :limit The maximum number of items to return in a paginated \"List\" call.
@@ -3953,16 +4402,20 @@ module OCI
3953
4402
 
3954
4403
  post_body = nil
3955
4404
 
3956
- @api_client.call_api(
3957
- :GET,
3958
- path,
3959
- endpoint,
3960
- header_params: header_params,
3961
- query_params: query_params,
3962
- operation_signing_strategy: operation_signing_strategy,
3963
- body: post_body,
3964
- return_type: 'Array<OCI::Core::Models::DrgAttachment>'
3965
- )
4405
+ # rubocop:disable Metrics/BlockLength
4406
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'VirtualNetworkClient#list_drg_attachments') do
4407
+ @api_client.call_api(
4408
+ :GET,
4409
+ path,
4410
+ endpoint,
4411
+ header_params: header_params,
4412
+ query_params: query_params,
4413
+ operation_signing_strategy: operation_signing_strategy,
4414
+ body: post_body,
4415
+ return_type: 'Array<OCI::Core::Models::DrgAttachment>'
4416
+ )
4417
+ end
4418
+ # rubocop:enable Metrics/BlockLength
3966
4419
  end
3967
4420
  # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
3968
4421
  # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
@@ -3977,6 +4430,8 @@ module OCI
3977
4430
  #
3978
4431
  # @param [String] compartment_id The OCID of the compartment.
3979
4432
  # @param [Hash] opts the optional parameters
4433
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
4434
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then then operation will not retry
3980
4435
  # @option opts [Integer] :limit The maximum number of items to return in a paginated \"List\" call.
3981
4436
  #
3982
4437
  # Example: `500`
@@ -4005,16 +4460,20 @@ module OCI
4005
4460
 
4006
4461
  post_body = nil
4007
4462
 
4008
- @api_client.call_api(
4009
- :GET,
4010
- path,
4011
- endpoint,
4012
- header_params: header_params,
4013
- query_params: query_params,
4014
- operation_signing_strategy: operation_signing_strategy,
4015
- body: post_body,
4016
- return_type: 'Array<OCI::Core::Models::Drg>'
4017
- )
4463
+ # rubocop:disable Metrics/BlockLength
4464
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'VirtualNetworkClient#list_drgs') do
4465
+ @api_client.call_api(
4466
+ :GET,
4467
+ path,
4468
+ endpoint,
4469
+ header_params: header_params,
4470
+ query_params: query_params,
4471
+ operation_signing_strategy: operation_signing_strategy,
4472
+ body: post_body,
4473
+ return_type: 'Array<OCI::Core::Models::Drg>'
4474
+ )
4475
+ end
4476
+ # rubocop:enable Metrics/BlockLength
4018
4477
  end
4019
4478
  # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
4020
4479
  # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
@@ -4035,6 +4494,8 @@ module OCI
4035
4494
  #
4036
4495
  # @param [String] compartment_id The OCID of the compartment.
4037
4496
  # @param [Hash] opts the optional parameters
4497
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
4498
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then then operation will not retry
4038
4499
  # @option opts [Integer] :limit The maximum number of items to return in a paginated \"List\" call.
4039
4500
  #
4040
4501
  # Example: `500`
@@ -4063,16 +4524,20 @@ module OCI
4063
4524
 
4064
4525
  post_body = nil
4065
4526
 
4066
- @api_client.call_api(
4067
- :GET,
4068
- path,
4069
- endpoint,
4070
- header_params: header_params,
4071
- query_params: query_params,
4072
- operation_signing_strategy: operation_signing_strategy,
4073
- body: post_body,
4074
- return_type: 'Array<OCI::Core::Models::FastConnectProviderService>'
4075
- )
4527
+ # rubocop:disable Metrics/BlockLength
4528
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'VirtualNetworkClient#list_fast_connect_provider_services') do
4529
+ @api_client.call_api(
4530
+ :GET,
4531
+ path,
4532
+ endpoint,
4533
+ header_params: header_params,
4534
+ query_params: query_params,
4535
+ operation_signing_strategy: operation_signing_strategy,
4536
+ body: post_body,
4537
+ return_type: 'Array<OCI::Core::Models::FastConnectProviderService>'
4538
+ )
4539
+ end
4540
+ # rubocop:enable Metrics/BlockLength
4076
4541
  end
4077
4542
  # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
4078
4543
  # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
@@ -4090,6 +4555,8 @@ module OCI
4090
4555
  #
4091
4556
  # @param [String] provider_service_id The OCID of the provider service.
4092
4557
  # @param [Hash] opts the optional parameters
4558
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
4559
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then then operation will not retry
4093
4560
  # @option opts [Integer] :limit The maximum number of items to return in a paginated \"List\" call.
4094
4561
  #
4095
4562
  # Example: `500`
@@ -4118,16 +4585,20 @@ module OCI
4118
4585
 
4119
4586
  post_body = nil
4120
4587
 
4121
- @api_client.call_api(
4122
- :GET,
4123
- path,
4124
- endpoint,
4125
- header_params: header_params,
4126
- query_params: query_params,
4127
- operation_signing_strategy: operation_signing_strategy,
4128
- body: post_body,
4129
- return_type: 'Array<OCI::Core::Models::VirtualCircuitBandwidthShape>'
4130
- )
4588
+ # rubocop:disable Metrics/BlockLength
4589
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'VirtualNetworkClient#list_fast_connect_provider_virtual_circuit_bandwidth_shapes') do
4590
+ @api_client.call_api(
4591
+ :GET,
4592
+ path,
4593
+ endpoint,
4594
+ header_params: header_params,
4595
+ query_params: query_params,
4596
+ operation_signing_strategy: operation_signing_strategy,
4597
+ body: post_body,
4598
+ return_type: 'Array<OCI::Core::Models::VirtualCircuitBandwidthShape>'
4599
+ )
4600
+ end
4601
+ # rubocop:enable Metrics/BlockLength
4131
4602
  end
4132
4603
  # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
4133
4604
  # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
@@ -4143,6 +4614,8 @@ module OCI
4143
4614
  # @param [String] compartment_id The OCID of the compartment.
4144
4615
  # @param [String] vcn_id The OCID of the VCN.
4145
4616
  # @param [Hash] opts the optional parameters
4617
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
4618
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then then operation will not retry
4146
4619
  # @option opts [Integer] :limit The maximum number of items to return in a paginated \"List\" call.
4147
4620
  #
4148
4621
  # Example: `500`
@@ -4207,16 +4680,20 @@ module OCI
4207
4680
 
4208
4681
  post_body = nil
4209
4682
 
4210
- @api_client.call_api(
4211
- :GET,
4212
- path,
4213
- endpoint,
4214
- header_params: header_params,
4215
- query_params: query_params,
4216
- operation_signing_strategy: operation_signing_strategy,
4217
- body: post_body,
4218
- return_type: 'Array<OCI::Core::Models::InternetGateway>'
4219
- )
4683
+ # rubocop:disable Metrics/BlockLength
4684
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'VirtualNetworkClient#list_internet_gateways') do
4685
+ @api_client.call_api(
4686
+ :GET,
4687
+ path,
4688
+ endpoint,
4689
+ header_params: header_params,
4690
+ query_params: query_params,
4691
+ operation_signing_strategy: operation_signing_strategy,
4692
+ body: post_body,
4693
+ return_type: 'Array<OCI::Core::Models::InternetGateway>'
4694
+ )
4695
+ end
4696
+ # rubocop:enable Metrics/BlockLength
4220
4697
  end
4221
4698
  # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
4222
4699
  # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
@@ -4232,6 +4709,8 @@ module OCI
4232
4709
  #
4233
4710
  # @param [String] compartment_id The OCID of the compartment.
4234
4711
  # @param [Hash] opts the optional parameters
4712
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
4713
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then then operation will not retry
4235
4714
  # @option opts [String] :drg_id The OCID of the DRG.
4236
4715
  # @option opts [String] :cpe_id The OCID of the CPE.
4237
4716
  # @option opts [Integer] :limit The maximum number of items to return in a paginated \"List\" call.
@@ -4264,16 +4743,20 @@ module OCI
4264
4743
 
4265
4744
  post_body = nil
4266
4745
 
4267
- @api_client.call_api(
4268
- :GET,
4269
- path,
4270
- endpoint,
4271
- header_params: header_params,
4272
- query_params: query_params,
4273
- operation_signing_strategy: operation_signing_strategy,
4274
- body: post_body,
4275
- return_type: 'Array<OCI::Core::Models::IPSecConnection>'
4276
- )
4746
+ # rubocop:disable Metrics/BlockLength
4747
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'VirtualNetworkClient#list_ip_sec_connections') do
4748
+ @api_client.call_api(
4749
+ :GET,
4750
+ path,
4751
+ endpoint,
4752
+ header_params: header_params,
4753
+ query_params: query_params,
4754
+ operation_signing_strategy: operation_signing_strategy,
4755
+ body: post_body,
4756
+ return_type: 'Array<OCI::Core::Models::IPSecConnection>'
4757
+ )
4758
+ end
4759
+ # rubocop:enable Metrics/BlockLength
4277
4760
  end
4278
4761
  # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
4279
4762
  # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
@@ -4290,6 +4773,8 @@ module OCI
4290
4773
  # @param [String] compartment_id The OCID of the compartment.
4291
4774
  # @param [String] vcn_id The OCID of the VCN.
4292
4775
  # @param [Hash] opts the optional parameters
4776
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
4777
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then then operation will not retry
4293
4778
  # @option opts [Integer] :limit The maximum number of items to return in a paginated \"List\" call.
4294
4779
  #
4295
4780
  # Example: `500`
@@ -4320,16 +4805,20 @@ module OCI
4320
4805
 
4321
4806
  post_body = nil
4322
4807
 
4323
- @api_client.call_api(
4324
- :GET,
4325
- path,
4326
- endpoint,
4327
- header_params: header_params,
4328
- query_params: query_params,
4329
- operation_signing_strategy: operation_signing_strategy,
4330
- body: post_body,
4331
- return_type: 'Array<OCI::Core::Models::LocalPeeringGateway>'
4332
- )
4808
+ # rubocop:disable Metrics/BlockLength
4809
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'VirtualNetworkClient#list_local_peering_gateways') do
4810
+ @api_client.call_api(
4811
+ :GET,
4812
+ path,
4813
+ endpoint,
4814
+ header_params: header_params,
4815
+ query_params: query_params,
4816
+ operation_signing_strategy: operation_signing_strategy,
4817
+ body: post_body,
4818
+ return_type: 'Array<OCI::Core::Models::LocalPeeringGateway>'
4819
+ )
4820
+ end
4821
+ # rubocop:enable Metrics/BlockLength
4333
4822
  end
4334
4823
  # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
4335
4824
  # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
@@ -4355,6 +4844,8 @@ module OCI
4355
4844
  # or VNIC, the response includes both primary and secondary private IPs.
4356
4845
  #
4357
4846
  # @param [Hash] opts the optional parameters
4847
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
4848
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then then operation will not retry
4358
4849
  # @option opts [Integer] :limit The maximum number of items to return in a paginated \"List\" call.
4359
4850
  #
4360
4851
  # Example: `500`
@@ -4390,16 +4881,20 @@ module OCI
4390
4881
 
4391
4882
  post_body = nil
4392
4883
 
4393
- @api_client.call_api(
4394
- :GET,
4395
- path,
4396
- endpoint,
4397
- header_params: header_params,
4398
- query_params: query_params,
4399
- operation_signing_strategy: operation_signing_strategy,
4400
- body: post_body,
4401
- return_type: 'Array<OCI::Core::Models::PrivateIp>'
4402
- )
4884
+ # rubocop:disable Metrics/BlockLength
4885
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'VirtualNetworkClient#list_private_ips') do
4886
+ @api_client.call_api(
4887
+ :GET,
4888
+ path,
4889
+ endpoint,
4890
+ header_params: header_params,
4891
+ query_params: query_params,
4892
+ operation_signing_strategy: operation_signing_strategy,
4893
+ body: post_body,
4894
+ return_type: 'Array<OCI::Core::Models::PrivateIp>'
4895
+ )
4896
+ end
4897
+ # rubocop:enable Metrics/BlockLength
4403
4898
  end
4404
4899
  # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
4405
4900
  # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
@@ -4432,6 +4927,8 @@ module OCI
4432
4927
  # Allowed values are: REGION, AVAILABILITY_DOMAIN
4433
4928
  # @param [String] compartment_id The OCID of the compartment.
4434
4929
  # @param [Hash] opts the optional parameters
4930
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
4931
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then then operation will not retry
4435
4932
  # @option opts [Integer] :limit The maximum number of items to return in a paginated \"List\" call.
4436
4933
  #
4437
4934
  # Example: `500`
@@ -4470,16 +4967,20 @@ module OCI
4470
4967
 
4471
4968
  post_body = nil
4472
4969
 
4473
- @api_client.call_api(
4474
- :GET,
4475
- path,
4476
- endpoint,
4477
- header_params: header_params,
4478
- query_params: query_params,
4479
- operation_signing_strategy: operation_signing_strategy,
4480
- body: post_body,
4481
- return_type: 'Array<OCI::Core::Models::PublicIp>'
4482
- )
4970
+ # rubocop:disable Metrics/BlockLength
4971
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'VirtualNetworkClient#list_public_ips') do
4972
+ @api_client.call_api(
4973
+ :GET,
4974
+ path,
4975
+ endpoint,
4976
+ header_params: header_params,
4977
+ query_params: query_params,
4978
+ operation_signing_strategy: operation_signing_strategy,
4979
+ body: post_body,
4980
+ return_type: 'Array<OCI::Core::Models::PublicIp>'
4981
+ )
4982
+ end
4983
+ # rubocop:enable Metrics/BlockLength
4483
4984
  end
4484
4985
  # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
4485
4986
  # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
@@ -4495,6 +4996,8 @@ module OCI
4495
4996
  #
4496
4997
  # @param [String] compartment_id The OCID of the compartment.
4497
4998
  # @param [Hash] opts the optional parameters
4999
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
5000
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then then operation will not retry
4498
5001
  # @option opts [String] :drg_id The OCID of the DRG.
4499
5002
  # @option opts [Integer] :limit The maximum number of items to return in a paginated \"List\" call.
4500
5003
  #
@@ -4525,16 +5028,20 @@ module OCI
4525
5028
 
4526
5029
  post_body = nil
4527
5030
 
4528
- @api_client.call_api(
4529
- :GET,
4530
- path,
4531
- endpoint,
4532
- header_params: header_params,
4533
- query_params: query_params,
4534
- operation_signing_strategy: operation_signing_strategy,
4535
- body: post_body,
4536
- return_type: 'Array<OCI::Core::Models::RemotePeeringConnection>'
4537
- )
5031
+ # rubocop:disable Metrics/BlockLength
5032
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'VirtualNetworkClient#list_remote_peering_connections') do
5033
+ @api_client.call_api(
5034
+ :GET,
5035
+ path,
5036
+ endpoint,
5037
+ header_params: header_params,
5038
+ query_params: query_params,
5039
+ operation_signing_strategy: operation_signing_strategy,
5040
+ body: post_body,
5041
+ return_type: 'Array<OCI::Core::Models::RemotePeeringConnection>'
5042
+ )
5043
+ end
5044
+ # rubocop:enable Metrics/BlockLength
4538
5045
  end
4539
5046
  # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
4540
5047
  # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
@@ -4552,6 +5059,8 @@ module OCI
4552
5059
  # @param [String] compartment_id The OCID of the compartment.
4553
5060
  # @param [String] vcn_id The OCID of the VCN.
4554
5061
  # @param [Hash] opts the optional parameters
5062
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
5063
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then then operation will not retry
4555
5064
  # @option opts [Integer] :limit The maximum number of items to return in a paginated \"List\" call.
4556
5065
  #
4557
5066
  # Example: `500`
@@ -4616,16 +5125,20 @@ module OCI
4616
5125
 
4617
5126
  post_body = nil
4618
5127
 
4619
- @api_client.call_api(
4620
- :GET,
4621
- path,
4622
- endpoint,
4623
- header_params: header_params,
4624
- query_params: query_params,
4625
- operation_signing_strategy: operation_signing_strategy,
4626
- body: post_body,
4627
- return_type: 'Array<OCI::Core::Models::RouteTable>'
4628
- )
5128
+ # rubocop:disable Metrics/BlockLength
5129
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'VirtualNetworkClient#list_route_tables') do
5130
+ @api_client.call_api(
5131
+ :GET,
5132
+ path,
5133
+ endpoint,
5134
+ header_params: header_params,
5135
+ query_params: query_params,
5136
+ operation_signing_strategy: operation_signing_strategy,
5137
+ body: post_body,
5138
+ return_type: 'Array<OCI::Core::Models::RouteTable>'
5139
+ )
5140
+ end
5141
+ # rubocop:enable Metrics/BlockLength
4629
5142
  end
4630
5143
  # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
4631
5144
  # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
@@ -4641,6 +5154,8 @@ module OCI
4641
5154
  # @param [String] compartment_id The OCID of the compartment.
4642
5155
  # @param [String] vcn_id The OCID of the VCN.
4643
5156
  # @param [Hash] opts the optional parameters
5157
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
5158
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then then operation will not retry
4644
5159
  # @option opts [Integer] :limit The maximum number of items to return in a paginated \"List\" call.
4645
5160
  #
4646
5161
  # Example: `500`
@@ -4705,16 +5220,20 @@ module OCI
4705
5220
 
4706
5221
  post_body = nil
4707
5222
 
4708
- @api_client.call_api(
4709
- :GET,
4710
- path,
4711
- endpoint,
4712
- header_params: header_params,
4713
- query_params: query_params,
4714
- operation_signing_strategy: operation_signing_strategy,
4715
- body: post_body,
4716
- return_type: 'Array<OCI::Core::Models::SecurityList>'
4717
- )
5223
+ # rubocop:disable Metrics/BlockLength
5224
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'VirtualNetworkClient#list_security_lists') do
5225
+ @api_client.call_api(
5226
+ :GET,
5227
+ path,
5228
+ endpoint,
5229
+ header_params: header_params,
5230
+ query_params: query_params,
5231
+ operation_signing_strategy: operation_signing_strategy,
5232
+ body: post_body,
5233
+ return_type: 'Array<OCI::Core::Models::SecurityList>'
5234
+ )
5235
+ end
5236
+ # rubocop:enable Metrics/BlockLength
4718
5237
  end
4719
5238
  # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
4720
5239
  # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
@@ -4730,6 +5249,8 @@ module OCI
4730
5249
  # @param [String] compartment_id The OCID of the compartment.
4731
5250
  # @param [String] vcn_id The OCID of the VCN.
4732
5251
  # @param [Hash] opts the optional parameters
5252
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
5253
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then then operation will not retry
4733
5254
  # @option opts [Integer] :limit The maximum number of items to return in a paginated \"List\" call.
4734
5255
  #
4735
5256
  # Example: `500`
@@ -4794,16 +5315,20 @@ module OCI
4794
5315
 
4795
5316
  post_body = nil
4796
5317
 
4797
- @api_client.call_api(
4798
- :GET,
4799
- path,
4800
- endpoint,
4801
- header_params: header_params,
4802
- query_params: query_params,
4803
- operation_signing_strategy: operation_signing_strategy,
4804
- body: post_body,
4805
- return_type: 'Array<OCI::Core::Models::Subnet>'
4806
- )
5318
+ # rubocop:disable Metrics/BlockLength
5319
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'VirtualNetworkClient#list_subnets') do
5320
+ @api_client.call_api(
5321
+ :GET,
5322
+ path,
5323
+ endpoint,
5324
+ header_params: header_params,
5325
+ query_params: query_params,
5326
+ operation_signing_strategy: operation_signing_strategy,
5327
+ body: post_body,
5328
+ return_type: 'Array<OCI::Core::Models::Subnet>'
5329
+ )
5330
+ end
5331
+ # rubocop:enable Metrics/BlockLength
4807
5332
  end
4808
5333
  # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
4809
5334
  # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
@@ -4818,6 +5343,8 @@ module OCI
4818
5343
  #
4819
5344
  # @param [String] compartment_id The OCID of the compartment.
4820
5345
  # @param [Hash] opts the optional parameters
5346
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
5347
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then then operation will not retry
4821
5348
  # @option opts [Integer] :limit The maximum number of items to return in a paginated \"List\" call.
4822
5349
  #
4823
5350
  # Example: `500`
@@ -4880,16 +5407,20 @@ module OCI
4880
5407
 
4881
5408
  post_body = nil
4882
5409
 
4883
- @api_client.call_api(
4884
- :GET,
4885
- path,
4886
- endpoint,
4887
- header_params: header_params,
4888
- query_params: query_params,
4889
- operation_signing_strategy: operation_signing_strategy,
4890
- body: post_body,
4891
- return_type: 'Array<OCI::Core::Models::Vcn>'
4892
- )
5410
+ # rubocop:disable Metrics/BlockLength
5411
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'VirtualNetworkClient#list_vcns') do
5412
+ @api_client.call_api(
5413
+ :GET,
5414
+ path,
5415
+ endpoint,
5416
+ header_params: header_params,
5417
+ query_params: query_params,
5418
+ operation_signing_strategy: operation_signing_strategy,
5419
+ body: post_body,
5420
+ return_type: 'Array<OCI::Core::Models::Vcn>'
5421
+ )
5422
+ end
5423
+ # rubocop:enable Metrics/BlockLength
4893
5424
  end
4894
5425
  # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
4895
5426
  # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
@@ -4904,6 +5435,8 @@ module OCI
4904
5435
  #
4905
5436
  # @param [String] compartment_id The OCID of the compartment.
4906
5437
  # @param [Hash] opts the optional parameters
5438
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
5439
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then then operation will not retry
4907
5440
  # @option opts [Integer] :limit The maximum number of items to return in a paginated \"List\" call.
4908
5441
  #
4909
5442
  # Example: `500`
@@ -4932,16 +5465,20 @@ module OCI
4932
5465
 
4933
5466
  post_body = nil
4934
5467
 
4935
- @api_client.call_api(
4936
- :GET,
4937
- path,
4938
- endpoint,
4939
- header_params: header_params,
4940
- query_params: query_params,
4941
- operation_signing_strategy: operation_signing_strategy,
4942
- body: post_body,
4943
- return_type: 'Array<OCI::Core::Models::VirtualCircuitBandwidthShape>'
4944
- )
5468
+ # rubocop:disable Metrics/BlockLength
5469
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'VirtualNetworkClient#list_virtual_circuit_bandwidth_shapes') do
5470
+ @api_client.call_api(
5471
+ :GET,
5472
+ path,
5473
+ endpoint,
5474
+ header_params: header_params,
5475
+ query_params: query_params,
5476
+ operation_signing_strategy: operation_signing_strategy,
5477
+ body: post_body,
5478
+ return_type: 'Array<OCI::Core::Models::VirtualCircuitBandwidthShape>'
5479
+ )
5480
+ end
5481
+ # rubocop:enable Metrics/BlockLength
4945
5482
  end
4946
5483
  # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
4947
5484
  # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
@@ -4957,6 +5494,8 @@ module OCI
4957
5494
  #
4958
5495
  # @param [String] virtual_circuit_id The OCID of the virtual circuit.
4959
5496
  # @param [Hash] opts the optional parameters
5497
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
5498
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then then operation will not retry
4960
5499
  # @option opts [String] :verification_state A filter to only return resources that match the given verification state.
4961
5500
  # The state value is case-insensitive.
4962
5501
  #
@@ -4985,16 +5524,20 @@ module OCI
4985
5524
 
4986
5525
  post_body = nil
4987
5526
 
4988
- @api_client.call_api(
4989
- :GET,
4990
- path,
4991
- endpoint,
4992
- header_params: header_params,
4993
- query_params: query_params,
4994
- operation_signing_strategy: operation_signing_strategy,
4995
- body: post_body,
4996
- return_type: 'Array<OCI::Core::Models::VirtualCircuitPublicPrefix>'
4997
- )
5527
+ # rubocop:disable Metrics/BlockLength
5528
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'VirtualNetworkClient#list_virtual_circuit_public_prefixes') do
5529
+ @api_client.call_api(
5530
+ :GET,
5531
+ path,
5532
+ endpoint,
5533
+ header_params: header_params,
5534
+ query_params: query_params,
5535
+ operation_signing_strategy: operation_signing_strategy,
5536
+ body: post_body,
5537
+ return_type: 'Array<OCI::Core::Models::VirtualCircuitPublicPrefix>'
5538
+ )
5539
+ end
5540
+ # rubocop:enable Metrics/BlockLength
4998
5541
  end
4999
5542
  # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
5000
5543
  # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
@@ -5009,6 +5552,8 @@ module OCI
5009
5552
  #
5010
5553
  # @param [String] compartment_id The OCID of the compartment.
5011
5554
  # @param [Hash] opts the optional parameters
5555
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
5556
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then then operation will not retry
5012
5557
  # @option opts [Integer] :limit The maximum number of items to return in a paginated \"List\" call.
5013
5558
  #
5014
5559
  # Example: `500`
@@ -5071,16 +5616,20 @@ module OCI
5071
5616
 
5072
5617
  post_body = nil
5073
5618
 
5074
- @api_client.call_api(
5075
- :GET,
5076
- path,
5077
- endpoint,
5078
- header_params: header_params,
5079
- query_params: query_params,
5080
- operation_signing_strategy: operation_signing_strategy,
5081
- body: post_body,
5082
- return_type: 'Array<OCI::Core::Models::VirtualCircuit>'
5083
- )
5619
+ # rubocop:disable Metrics/BlockLength
5620
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'VirtualNetworkClient#list_virtual_circuits') do
5621
+ @api_client.call_api(
5622
+ :GET,
5623
+ path,
5624
+ endpoint,
5625
+ header_params: header_params,
5626
+ query_params: query_params,
5627
+ operation_signing_strategy: operation_signing_strategy,
5628
+ body: post_body,
5629
+ return_type: 'Array<OCI::Core::Models::VirtualCircuit>'
5630
+ )
5631
+ end
5632
+ # rubocop:enable Metrics/BlockLength
5084
5633
  end
5085
5634
  # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
5086
5635
  # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
@@ -5097,6 +5646,8 @@ module OCI
5097
5646
  # @param [String] cpe_id The OCID of the CPE.
5098
5647
  # @param [OCI::Core::Models::UpdateCpeDetails] update_cpe_details Details object for updating a CPE.
5099
5648
  # @param [Hash] opts the optional parameters
5649
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
5650
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then then operation will not retry
5100
5651
  # @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
5101
5652
  # parameter to the value of the etag from a previous GET or POST response for that resource. The resource
5102
5653
  # will be updated or deleted only if the etag you provide matches the resource's current etag value.
@@ -5123,16 +5674,20 @@ module OCI
5123
5674
 
5124
5675
  post_body = @api_client.object_to_http_body(update_cpe_details)
5125
5676
 
5126
- @api_client.call_api(
5127
- :PUT,
5128
- path,
5129
- endpoint,
5130
- header_params: header_params,
5131
- query_params: query_params,
5132
- operation_signing_strategy: operation_signing_strategy,
5133
- body: post_body,
5134
- return_type: 'OCI::Core::Models::Cpe'
5135
- )
5677
+ # rubocop:disable Metrics/BlockLength
5678
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'VirtualNetworkClient#update_cpe') do
5679
+ @api_client.call_api(
5680
+ :PUT,
5681
+ path,
5682
+ endpoint,
5683
+ header_params: header_params,
5684
+ query_params: query_params,
5685
+ operation_signing_strategy: operation_signing_strategy,
5686
+ body: post_body,
5687
+ return_type: 'OCI::Core::Models::Cpe'
5688
+ )
5689
+ end
5690
+ # rubocop:enable Metrics/BlockLength
5136
5691
  end
5137
5692
  # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
5138
5693
  # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
@@ -5147,6 +5702,8 @@ module OCI
5147
5702
  # @param [String] cross_connect_id The OCID of the cross-connect.
5148
5703
  # @param [OCI::Core::Models::UpdateCrossConnectDetails] update_cross_connect_details Update CrossConnect fields.
5149
5704
  # @param [Hash] opts the optional parameters
5705
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
5706
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then then operation will not retry
5150
5707
  # @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
5151
5708
  # parameter to the value of the etag from a previous GET or POST response for that resource. The resource
5152
5709
  # will be updated or deleted only if the etag you provide matches the resource's current etag value.
@@ -5173,16 +5730,20 @@ module OCI
5173
5730
 
5174
5731
  post_body = @api_client.object_to_http_body(update_cross_connect_details)
5175
5732
 
5176
- @api_client.call_api(
5177
- :PUT,
5178
- path,
5179
- endpoint,
5180
- header_params: header_params,
5181
- query_params: query_params,
5182
- operation_signing_strategy: operation_signing_strategy,
5183
- body: post_body,
5184
- return_type: 'OCI::Core::Models::CrossConnect'
5185
- )
5733
+ # rubocop:disable Metrics/BlockLength
5734
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'VirtualNetworkClient#update_cross_connect') do
5735
+ @api_client.call_api(
5736
+ :PUT,
5737
+ path,
5738
+ endpoint,
5739
+ header_params: header_params,
5740
+ query_params: query_params,
5741
+ operation_signing_strategy: operation_signing_strategy,
5742
+ body: post_body,
5743
+ return_type: 'OCI::Core::Models::CrossConnect'
5744
+ )
5745
+ end
5746
+ # rubocop:enable Metrics/BlockLength
5186
5747
  end
5187
5748
  # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
5188
5749
  # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
@@ -5199,6 +5760,8 @@ module OCI
5199
5760
  # @param [String] cross_connect_group_id The OCID of the cross-connect group.
5200
5761
  # @param [OCI::Core::Models::UpdateCrossConnectGroupDetails] update_cross_connect_group_details Update CrossConnectGroup fields
5201
5762
  # @param [Hash] opts the optional parameters
5763
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
5764
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then then operation will not retry
5202
5765
  # @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
5203
5766
  # parameter to the value of the etag from a previous GET or POST response for that resource. The resource
5204
5767
  # will be updated or deleted only if the etag you provide matches the resource's current etag value.
@@ -5225,16 +5788,20 @@ module OCI
5225
5788
 
5226
5789
  post_body = @api_client.object_to_http_body(update_cross_connect_group_details)
5227
5790
 
5228
- @api_client.call_api(
5229
- :PUT,
5230
- path,
5231
- endpoint,
5232
- header_params: header_params,
5233
- query_params: query_params,
5234
- operation_signing_strategy: operation_signing_strategy,
5235
- body: post_body,
5236
- return_type: 'OCI::Core::Models::CrossConnectGroup'
5237
- )
5791
+ # rubocop:disable Metrics/BlockLength
5792
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'VirtualNetworkClient#update_cross_connect_group') do
5793
+ @api_client.call_api(
5794
+ :PUT,
5795
+ path,
5796
+ endpoint,
5797
+ header_params: header_params,
5798
+ query_params: query_params,
5799
+ operation_signing_strategy: operation_signing_strategy,
5800
+ body: post_body,
5801
+ return_type: 'OCI::Core::Models::CrossConnectGroup'
5802
+ )
5803
+ end
5804
+ # rubocop:enable Metrics/BlockLength
5238
5805
  end
5239
5806
  # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
5240
5807
  # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
@@ -5253,6 +5820,8 @@ module OCI
5253
5820
  # @param [String] dhcp_id The OCID for the set of DHCP options.
5254
5821
  # @param [OCI::Core::Models::UpdateDhcpDetails] update_dhcp_details Request object for updating a set of DHCP options.
5255
5822
  # @param [Hash] opts the optional parameters
5823
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
5824
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then then operation will not retry
5256
5825
  # @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
5257
5826
  # parameter to the value of the etag from a previous GET or POST response for that resource. The resource
5258
5827
  # will be updated or deleted only if the etag you provide matches the resource's current etag value.
@@ -5279,16 +5848,20 @@ module OCI
5279
5848
 
5280
5849
  post_body = @api_client.object_to_http_body(update_dhcp_details)
5281
5850
 
5282
- @api_client.call_api(
5283
- :PUT,
5284
- path,
5285
- endpoint,
5286
- header_params: header_params,
5287
- query_params: query_params,
5288
- operation_signing_strategy: operation_signing_strategy,
5289
- body: post_body,
5290
- return_type: 'OCI::Core::Models::DhcpOptions'
5291
- )
5851
+ # rubocop:disable Metrics/BlockLength
5852
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'VirtualNetworkClient#update_dhcp_options') do
5853
+ @api_client.call_api(
5854
+ :PUT,
5855
+ path,
5856
+ endpoint,
5857
+ header_params: header_params,
5858
+ query_params: query_params,
5859
+ operation_signing_strategy: operation_signing_strategy,
5860
+ body: post_body,
5861
+ return_type: 'OCI::Core::Models::DhcpOptions'
5862
+ )
5863
+ end
5864
+ # rubocop:enable Metrics/BlockLength
5292
5865
  end
5293
5866
  # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
5294
5867
  # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
@@ -5304,6 +5877,8 @@ module OCI
5304
5877
  # @param [String] drg_id The OCID of the DRG.
5305
5878
  # @param [OCI::Core::Models::UpdateDrgDetails] update_drg_details Details object for updating a DRG.
5306
5879
  # @param [Hash] opts the optional parameters
5880
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
5881
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then then operation will not retry
5307
5882
  # @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
5308
5883
  # parameter to the value of the etag from a previous GET or POST response for that resource. The resource
5309
5884
  # will be updated or deleted only if the etag you provide matches the resource's current etag value.
@@ -5330,16 +5905,20 @@ module OCI
5330
5905
 
5331
5906
  post_body = @api_client.object_to_http_body(update_drg_details)
5332
5907
 
5333
- @api_client.call_api(
5334
- :PUT,
5335
- path,
5336
- endpoint,
5337
- header_params: header_params,
5338
- query_params: query_params,
5339
- operation_signing_strategy: operation_signing_strategy,
5340
- body: post_body,
5341
- return_type: 'OCI::Core::Models::Drg'
5342
- )
5908
+ # rubocop:disable Metrics/BlockLength
5909
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'VirtualNetworkClient#update_drg') do
5910
+ @api_client.call_api(
5911
+ :PUT,
5912
+ path,
5913
+ endpoint,
5914
+ header_params: header_params,
5915
+ query_params: query_params,
5916
+ operation_signing_strategy: operation_signing_strategy,
5917
+ body: post_body,
5918
+ return_type: 'OCI::Core::Models::Drg'
5919
+ )
5920
+ end
5921
+ # rubocop:enable Metrics/BlockLength
5343
5922
  end
5344
5923
  # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
5345
5924
  # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
@@ -5356,6 +5935,8 @@ module OCI
5356
5935
  # @param [String] drg_attachment_id The OCID of the DRG attachment.
5357
5936
  # @param [OCI::Core::Models::UpdateDrgAttachmentDetails] update_drg_attachment_details Details object for updating a `DrgAttachment`.
5358
5937
  # @param [Hash] opts the optional parameters
5938
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
5939
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then then operation will not retry
5359
5940
  # @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
5360
5941
  # parameter to the value of the etag from a previous GET or POST response for that resource. The resource
5361
5942
  # will be updated or deleted only if the etag you provide matches the resource's current etag value.
@@ -5382,16 +5963,20 @@ module OCI
5382
5963
 
5383
5964
  post_body = @api_client.object_to_http_body(update_drg_attachment_details)
5384
5965
 
5385
- @api_client.call_api(
5386
- :PUT,
5387
- path,
5388
- endpoint,
5389
- header_params: header_params,
5390
- query_params: query_params,
5391
- operation_signing_strategy: operation_signing_strategy,
5392
- body: post_body,
5393
- return_type: 'OCI::Core::Models::DrgAttachment'
5394
- )
5966
+ # rubocop:disable Metrics/BlockLength
5967
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'VirtualNetworkClient#update_drg_attachment') do
5968
+ @api_client.call_api(
5969
+ :PUT,
5970
+ path,
5971
+ endpoint,
5972
+ header_params: header_params,
5973
+ query_params: query_params,
5974
+ operation_signing_strategy: operation_signing_strategy,
5975
+ body: post_body,
5976
+ return_type: 'OCI::Core::Models::DrgAttachment'
5977
+ )
5978
+ end
5979
+ # rubocop:enable Metrics/BlockLength
5395
5980
  end
5396
5981
  # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
5397
5982
  # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
@@ -5411,6 +5996,8 @@ module OCI
5411
5996
  # @param [String] ig_id The OCID of the Internet Gateway.
5412
5997
  # @param [OCI::Core::Models::UpdateInternetGatewayDetails] update_internet_gateway_details Details for updating the Internet Gateway.
5413
5998
  # @param [Hash] opts the optional parameters
5999
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
6000
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then then operation will not retry
5414
6001
  # @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
5415
6002
  # parameter to the value of the etag from a previous GET or POST response for that resource. The resource
5416
6003
  # will be updated or deleted only if the etag you provide matches the resource's current etag value.
@@ -5437,16 +6024,20 @@ module OCI
5437
6024
 
5438
6025
  post_body = @api_client.object_to_http_body(update_internet_gateway_details)
5439
6026
 
5440
- @api_client.call_api(
5441
- :PUT,
5442
- path,
5443
- endpoint,
5444
- header_params: header_params,
5445
- query_params: query_params,
5446
- operation_signing_strategy: operation_signing_strategy,
5447
- body: post_body,
5448
- return_type: 'OCI::Core::Models::InternetGateway'
5449
- )
6027
+ # rubocop:disable Metrics/BlockLength
6028
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'VirtualNetworkClient#update_internet_gateway') do
6029
+ @api_client.call_api(
6030
+ :PUT,
6031
+ path,
6032
+ endpoint,
6033
+ header_params: header_params,
6034
+ query_params: query_params,
6035
+ operation_signing_strategy: operation_signing_strategy,
6036
+ body: post_body,
6037
+ return_type: 'OCI::Core::Models::InternetGateway'
6038
+ )
6039
+ end
6040
+ # rubocop:enable Metrics/BlockLength
5450
6041
  end
5451
6042
  # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
5452
6043
  # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
@@ -5463,6 +6054,8 @@ module OCI
5463
6054
  # @param [String] ipsc_id The OCID of the IPSec connection.
5464
6055
  # @param [OCI::Core::Models::UpdateIPSecConnectionDetails] update_ip_sec_connection_details Details object for updating a IPSec connection.
5465
6056
  # @param [Hash] opts the optional parameters
6057
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
6058
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then then operation will not retry
5466
6059
  # @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
5467
6060
  # parameter to the value of the etag from a previous GET or POST response for that resource. The resource
5468
6061
  # will be updated or deleted only if the etag you provide matches the resource's current etag value.
@@ -5489,16 +6082,20 @@ module OCI
5489
6082
 
5490
6083
  post_body = @api_client.object_to_http_body(update_ip_sec_connection_details)
5491
6084
 
5492
- @api_client.call_api(
5493
- :PUT,
5494
- path,
5495
- endpoint,
5496
- header_params: header_params,
5497
- query_params: query_params,
5498
- operation_signing_strategy: operation_signing_strategy,
5499
- body: post_body,
5500
- return_type: 'OCI::Core::Models::IPSecConnection'
5501
- )
6085
+ # rubocop:disable Metrics/BlockLength
6086
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'VirtualNetworkClient#update_ip_sec_connection') do
6087
+ @api_client.call_api(
6088
+ :PUT,
6089
+ path,
6090
+ endpoint,
6091
+ header_params: header_params,
6092
+ query_params: query_params,
6093
+ operation_signing_strategy: operation_signing_strategy,
6094
+ body: post_body,
6095
+ return_type: 'OCI::Core::Models::IPSecConnection'
6096
+ )
6097
+ end
6098
+ # rubocop:enable Metrics/BlockLength
5502
6099
  end
5503
6100
  # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
5504
6101
  # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
@@ -5514,6 +6111,8 @@ module OCI
5514
6111
  # @param [String] local_peering_gateway_id The OCID of the local peering gateway.
5515
6112
  # @param [OCI::Core::Models::UpdateLocalPeeringGatewayDetails] update_local_peering_gateway_details Details object for updating a local peering gateway.
5516
6113
  # @param [Hash] opts the optional parameters
6114
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
6115
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then then operation will not retry
5517
6116
  # @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
5518
6117
  # parameter to the value of the etag from a previous GET or POST response for that resource. The resource
5519
6118
  # will be updated or deleted only if the etag you provide matches the resource's current etag value.
@@ -5540,16 +6139,20 @@ module OCI
5540
6139
 
5541
6140
  post_body = @api_client.object_to_http_body(update_local_peering_gateway_details)
5542
6141
 
5543
- @api_client.call_api(
5544
- :PUT,
5545
- path,
5546
- endpoint,
5547
- header_params: header_params,
5548
- query_params: query_params,
5549
- operation_signing_strategy: operation_signing_strategy,
5550
- body: post_body,
5551
- return_type: 'OCI::Core::Models::LocalPeeringGateway'
5552
- )
6142
+ # rubocop:disable Metrics/BlockLength
6143
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'VirtualNetworkClient#update_local_peering_gateway') do
6144
+ @api_client.call_api(
6145
+ :PUT,
6146
+ path,
6147
+ endpoint,
6148
+ header_params: header_params,
6149
+ query_params: query_params,
6150
+ operation_signing_strategy: operation_signing_strategy,
6151
+ body: post_body,
6152
+ return_type: 'OCI::Core::Models::LocalPeeringGateway'
6153
+ )
6154
+ end
6155
+ # rubocop:enable Metrics/BlockLength
5553
6156
  end
5554
6157
  # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
5555
6158
  # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
@@ -5574,6 +6177,8 @@ module OCI
5574
6177
  # @param [String] private_ip_id The OCID of the private IP.
5575
6178
  # @param [OCI::Core::Models::UpdatePrivateIpDetails] update_private_ip_details Private IP details.
5576
6179
  # @param [Hash] opts the optional parameters
6180
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
6181
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then then operation will not retry
5577
6182
  # @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
5578
6183
  # parameter to the value of the etag from a previous GET or POST response for that resource. The resource
5579
6184
  # will be updated or deleted only if the etag you provide matches the resource's current etag value.
@@ -5600,16 +6205,20 @@ module OCI
5600
6205
 
5601
6206
  post_body = @api_client.object_to_http_body(update_private_ip_details)
5602
6207
 
5603
- @api_client.call_api(
5604
- :PUT,
5605
- path,
5606
- endpoint,
5607
- header_params: header_params,
5608
- query_params: query_params,
5609
- operation_signing_strategy: operation_signing_strategy,
5610
- body: post_body,
5611
- return_type: 'OCI::Core::Models::PrivateIp'
5612
- )
6208
+ # rubocop:disable Metrics/BlockLength
6209
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'VirtualNetworkClient#update_private_ip') do
6210
+ @api_client.call_api(
6211
+ :PUT,
6212
+ path,
6213
+ endpoint,
6214
+ header_params: header_params,
6215
+ query_params: query_params,
6216
+ operation_signing_strategy: operation_signing_strategy,
6217
+ body: post_body,
6218
+ return_type: 'OCI::Core::Models::PrivateIp'
6219
+ )
6220
+ end
6221
+ # rubocop:enable Metrics/BlockLength
5613
6222
  end
5614
6223
  # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
5615
6224
  # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
@@ -5626,7 +6235,7 @@ module OCI
5626
6235
  # * Move a reserved public IP to a different private IP.
5627
6236
  # * Unassign a reserved public IP from a private IP (which returns it to your pool
5628
6237
  # of reserved public IPs).
5629
- # * Change the display name for a public IP (either ephemeral or reserved).
6238
+ # * Change the display name for a public IP.
5630
6239
  #
5631
6240
  # Assigning, moving, and unassigning a reserved public IP are asynchronous
5632
6241
  # operations. Poll the public IP's `lifecycleState` to determine if the operation
@@ -5663,6 +6272,8 @@ module OCI
5663
6272
  # @param [String] public_ip_id The OCID of the public IP.
5664
6273
  # @param [OCI::Core::Models::UpdatePublicIpDetails] update_public_ip_details Public IP details.
5665
6274
  # @param [Hash] opts the optional parameters
6275
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
6276
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then then operation will not retry
5666
6277
  # @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
5667
6278
  # parameter to the value of the etag from a previous GET or POST response for that resource. The resource
5668
6279
  # will be updated or deleted only if the etag you provide matches the resource's current etag value.
@@ -5689,16 +6300,20 @@ module OCI
5689
6300
 
5690
6301
  post_body = @api_client.object_to_http_body(update_public_ip_details)
5691
6302
 
5692
- @api_client.call_api(
5693
- :PUT,
5694
- path,
5695
- endpoint,
5696
- header_params: header_params,
5697
- query_params: query_params,
5698
- operation_signing_strategy: operation_signing_strategy,
5699
- body: post_body,
5700
- return_type: 'OCI::Core::Models::PublicIp'
5701
- )
6303
+ # rubocop:disable Metrics/BlockLength
6304
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'VirtualNetworkClient#update_public_ip') do
6305
+ @api_client.call_api(
6306
+ :PUT,
6307
+ path,
6308
+ endpoint,
6309
+ header_params: header_params,
6310
+ query_params: query_params,
6311
+ operation_signing_strategy: operation_signing_strategy,
6312
+ body: post_body,
6313
+ return_type: 'OCI::Core::Models::PublicIp'
6314
+ )
6315
+ end
6316
+ # rubocop:enable Metrics/BlockLength
5702
6317
  end
5703
6318
  # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
5704
6319
  # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
@@ -5714,6 +6329,8 @@ module OCI
5714
6329
  # @param [String] remote_peering_connection_id The OCID of the remote peering connection (RPC).
5715
6330
  # @param [OCI::Core::Models::UpdateRemotePeeringConnectionDetails] update_remote_peering_connection_details Request to the update the peering connection to remote region
5716
6331
  # @param [Hash] opts the optional parameters
6332
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
6333
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then then operation will not retry
5717
6334
  # @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
5718
6335
  # parameter to the value of the etag from a previous GET or POST response for that resource. The resource
5719
6336
  # will be updated or deleted only if the etag you provide matches the resource's current etag value.
@@ -5740,16 +6357,20 @@ module OCI
5740
6357
 
5741
6358
  post_body = @api_client.object_to_http_body(update_remote_peering_connection_details)
5742
6359
 
5743
- @api_client.call_api(
5744
- :PUT,
5745
- path,
5746
- endpoint,
5747
- header_params: header_params,
5748
- query_params: query_params,
5749
- operation_signing_strategy: operation_signing_strategy,
5750
- body: post_body,
5751
- return_type: 'OCI::Core::Models::RemotePeeringConnection'
5752
- )
6360
+ # rubocop:disable Metrics/BlockLength
6361
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'VirtualNetworkClient#update_remote_peering_connection') do
6362
+ @api_client.call_api(
6363
+ :PUT,
6364
+ path,
6365
+ endpoint,
6366
+ header_params: header_params,
6367
+ query_params: query_params,
6368
+ operation_signing_strategy: operation_signing_strategy,
6369
+ body: post_body,
6370
+ return_type: 'OCI::Core::Models::RemotePeeringConnection'
6371
+ )
6372
+ end
6373
+ # rubocop:enable Metrics/BlockLength
5753
6374
  end
5754
6375
  # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
5755
6376
  # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
@@ -5768,6 +6389,8 @@ module OCI
5768
6389
  # @param [String] rt_id The OCID of the route table.
5769
6390
  # @param [OCI::Core::Models::UpdateRouteTableDetails] update_route_table_details Details object for updating a route table.
5770
6391
  # @param [Hash] opts the optional parameters
6392
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
6393
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then then operation will not retry
5771
6394
  # @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
5772
6395
  # parameter to the value of the etag from a previous GET or POST response for that resource. The resource
5773
6396
  # will be updated or deleted only if the etag you provide matches the resource's current etag value.
@@ -5794,16 +6417,20 @@ module OCI
5794
6417
 
5795
6418
  post_body = @api_client.object_to_http_body(update_route_table_details)
5796
6419
 
5797
- @api_client.call_api(
5798
- :PUT,
5799
- path,
5800
- endpoint,
5801
- header_params: header_params,
5802
- query_params: query_params,
5803
- operation_signing_strategy: operation_signing_strategy,
5804
- body: post_body,
5805
- return_type: 'OCI::Core::Models::RouteTable'
5806
- )
6420
+ # rubocop:disable Metrics/BlockLength
6421
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'VirtualNetworkClient#update_route_table') do
6422
+ @api_client.call_api(
6423
+ :PUT,
6424
+ path,
6425
+ endpoint,
6426
+ header_params: header_params,
6427
+ query_params: query_params,
6428
+ operation_signing_strategy: operation_signing_strategy,
6429
+ body: post_body,
6430
+ return_type: 'OCI::Core::Models::RouteTable'
6431
+ )
6432
+ end
6433
+ # rubocop:enable Metrics/BlockLength
5807
6434
  end
5808
6435
  # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
5809
6436
  # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
@@ -5823,6 +6450,8 @@ module OCI
5823
6450
  # @param [String] security_list_id The OCID of the security list.
5824
6451
  # @param [OCI::Core::Models::UpdateSecurityListDetails] update_security_list_details Updated details for the security list.
5825
6452
  # @param [Hash] opts the optional parameters
6453
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
6454
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then then operation will not retry
5826
6455
  # @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
5827
6456
  # parameter to the value of the etag from a previous GET or POST response for that resource. The resource
5828
6457
  # will be updated or deleted only if the etag you provide matches the resource's current etag value.
@@ -5849,16 +6478,20 @@ module OCI
5849
6478
 
5850
6479
  post_body = @api_client.object_to_http_body(update_security_list_details)
5851
6480
 
5852
- @api_client.call_api(
5853
- :PUT,
5854
- path,
5855
- endpoint,
5856
- header_params: header_params,
5857
- query_params: query_params,
5858
- operation_signing_strategy: operation_signing_strategy,
5859
- body: post_body,
5860
- return_type: 'OCI::Core::Models::SecurityList'
5861
- )
6481
+ # rubocop:disable Metrics/BlockLength
6482
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'VirtualNetworkClient#update_security_list') do
6483
+ @api_client.call_api(
6484
+ :PUT,
6485
+ path,
6486
+ endpoint,
6487
+ header_params: header_params,
6488
+ query_params: query_params,
6489
+ operation_signing_strategy: operation_signing_strategy,
6490
+ body: post_body,
6491
+ return_type: 'OCI::Core::Models::SecurityList'
6492
+ )
6493
+ end
6494
+ # rubocop:enable Metrics/BlockLength
5862
6495
  end
5863
6496
  # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
5864
6497
  # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
@@ -5874,6 +6507,8 @@ module OCI
5874
6507
  # @param [String] subnet_id The OCID of the subnet.
5875
6508
  # @param [OCI::Core::Models::UpdateSubnetDetails] update_subnet_details Details object for updating a subnet.
5876
6509
  # @param [Hash] opts the optional parameters
6510
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
6511
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then then operation will not retry
5877
6512
  # @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
5878
6513
  # parameter to the value of the etag from a previous GET or POST response for that resource. The resource
5879
6514
  # will be updated or deleted only if the etag you provide matches the resource's current etag value.
@@ -5900,16 +6535,20 @@ module OCI
5900
6535
 
5901
6536
  post_body = @api_client.object_to_http_body(update_subnet_details)
5902
6537
 
5903
- @api_client.call_api(
5904
- :PUT,
5905
- path,
5906
- endpoint,
5907
- header_params: header_params,
5908
- query_params: query_params,
5909
- operation_signing_strategy: operation_signing_strategy,
5910
- body: post_body,
5911
- return_type: 'OCI::Core::Models::Subnet'
5912
- )
6538
+ # rubocop:disable Metrics/BlockLength
6539
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'VirtualNetworkClient#update_subnet') do
6540
+ @api_client.call_api(
6541
+ :PUT,
6542
+ path,
6543
+ endpoint,
6544
+ header_params: header_params,
6545
+ query_params: query_params,
6546
+ operation_signing_strategy: operation_signing_strategy,
6547
+ body: post_body,
6548
+ return_type: 'OCI::Core::Models::Subnet'
6549
+ )
6550
+ end
6551
+ # rubocop:enable Metrics/BlockLength
5913
6552
  end
5914
6553
  # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
5915
6554
  # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
@@ -5926,6 +6565,8 @@ module OCI
5926
6565
  # @param [String] vcn_id The OCID of the VCN.
5927
6566
  # @param [OCI::Core::Models::UpdateVcnDetails] update_vcn_details Details object for updating a VCN.
5928
6567
  # @param [Hash] opts the optional parameters
6568
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
6569
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then then operation will not retry
5929
6570
  # @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
5930
6571
  # parameter to the value of the etag from a previous GET or POST response for that resource. The resource
5931
6572
  # will be updated or deleted only if the etag you provide matches the resource's current etag value.
@@ -5952,16 +6593,20 @@ module OCI
5952
6593
 
5953
6594
  post_body = @api_client.object_to_http_body(update_vcn_details)
5954
6595
 
5955
- @api_client.call_api(
5956
- :PUT,
5957
- path,
5958
- endpoint,
5959
- header_params: header_params,
5960
- query_params: query_params,
5961
- operation_signing_strategy: operation_signing_strategy,
5962
- body: post_body,
5963
- return_type: 'OCI::Core::Models::Vcn'
5964
- )
6596
+ # rubocop:disable Metrics/BlockLength
6597
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'VirtualNetworkClient#update_vcn') do
6598
+ @api_client.call_api(
6599
+ :PUT,
6600
+ path,
6601
+ endpoint,
6602
+ header_params: header_params,
6603
+ query_params: query_params,
6604
+ operation_signing_strategy: operation_signing_strategy,
6605
+ body: post_body,
6606
+ return_type: 'OCI::Core::Models::Vcn'
6607
+ )
6608
+ end
6609
+ # rubocop:enable Metrics/BlockLength
5965
6610
  end
5966
6611
  # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
5967
6612
  # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
@@ -6000,6 +6645,8 @@ module OCI
6000
6645
  # @param [String] virtual_circuit_id The OCID of the virtual circuit.
6001
6646
  # @param [OCI::Core::Models::UpdateVirtualCircuitDetails] update_virtual_circuit_details Update VirtualCircuit fields.
6002
6647
  # @param [Hash] opts the optional parameters
6648
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
6649
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then then operation will not retry
6003
6650
  # @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
6004
6651
  # parameter to the value of the etag from a previous GET or POST response for that resource. The resource
6005
6652
  # will be updated or deleted only if the etag you provide matches the resource's current etag value.
@@ -6026,16 +6673,20 @@ module OCI
6026
6673
 
6027
6674
  post_body = @api_client.object_to_http_body(update_virtual_circuit_details)
6028
6675
 
6029
- @api_client.call_api(
6030
- :PUT,
6031
- path,
6032
- endpoint,
6033
- header_params: header_params,
6034
- query_params: query_params,
6035
- operation_signing_strategy: operation_signing_strategy,
6036
- body: post_body,
6037
- return_type: 'OCI::Core::Models::VirtualCircuit'
6038
- )
6676
+ # rubocop:disable Metrics/BlockLength
6677
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'VirtualNetworkClient#update_virtual_circuit') do
6678
+ @api_client.call_api(
6679
+ :PUT,
6680
+ path,
6681
+ endpoint,
6682
+ header_params: header_params,
6683
+ query_params: query_params,
6684
+ operation_signing_strategy: operation_signing_strategy,
6685
+ body: post_body,
6686
+ return_type: 'OCI::Core::Models::VirtualCircuit'
6687
+ )
6688
+ end
6689
+ # rubocop:enable Metrics/BlockLength
6039
6690
  end
6040
6691
  # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
6041
6692
  # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
@@ -6051,6 +6702,8 @@ module OCI
6051
6702
  # @param [String] vnic_id The OCID of the VNIC.
6052
6703
  # @param [OCI::Core::Models::UpdateVnicDetails] update_vnic_details Details object for updating a VNIC.
6053
6704
  # @param [Hash] opts the optional parameters
6705
+ # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
6706
+ # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then then operation will not retry
6054
6707
  # @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
6055
6708
  # parameter to the value of the etag from a previous GET or POST response for that resource. The resource
6056
6709
  # will be updated or deleted only if the etag you provide matches the resource's current etag value.
@@ -6077,20 +6730,31 @@ module OCI
6077
6730
 
6078
6731
  post_body = @api_client.object_to_http_body(update_vnic_details)
6079
6732
 
6080
- @api_client.call_api(
6081
- :PUT,
6082
- path,
6083
- endpoint,
6084
- header_params: header_params,
6085
- query_params: query_params,
6086
- operation_signing_strategy: operation_signing_strategy,
6087
- body: post_body,
6088
- return_type: 'OCI::Core::Models::Vnic'
6089
- )
6733
+ # rubocop:disable Metrics/BlockLength
6734
+ OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'VirtualNetworkClient#update_vnic') do
6735
+ @api_client.call_api(
6736
+ :PUT,
6737
+ path,
6738
+ endpoint,
6739
+ header_params: header_params,
6740
+ query_params: query_params,
6741
+ operation_signing_strategy: operation_signing_strategy,
6742
+ body: post_body,
6743
+ return_type: 'OCI::Core::Models::Vnic'
6744
+ )
6745
+ end
6746
+ # rubocop:enable Metrics/BlockLength
6090
6747
  end
6091
6748
  # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
6092
6749
  # rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
6093
6750
  # rubocop:enable Metrics/MethodLength, Layout/EmptyLines
6751
+
6752
+ private
6753
+
6754
+ def applicable_retry_config(opts = {})
6755
+ return @retry_config unless opts.key?(:retry_config)
6756
+ opts[:retry_config]
6757
+ end
6094
6758
  end
6095
6759
  end
6096
6760
  # rubocop:enable Lint/UnneededCopDisableDirective, Metrics/LineLength