oci 2.5.10 → 2.5.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +4 -1
- data/lib/oci.rb +3 -0
- data/lib/oci/budget/budget.rb +1 -0
- data/lib/oci/budget/budget_client.rb +21 -1
- data/lib/oci/budget/models/budget.rb +52 -2
- data/lib/oci/budget/models/budget_summary.rb +52 -2
- data/lib/oci/budget/models/create_budget_details.rb +55 -2
- data/lib/oci/budget/models/target_type.rb +10 -0
- data/lib/oci/core/blockstorage_client.rb +18 -6
- data/lib/oci/core/compute_client.rb +75 -0
- data/lib/oci/core/compute_management_client.rb +4 -1
- data/lib/oci/core/core.rb +12 -0
- data/lib/oci/core/models/add_security_rule_details.rb +2 -2
- data/lib/oci/core/models/boot_volume_backup.rb +19 -1
- data/lib/oci/core/models/change_boot_volume_backup_compartment_details.rb +2 -2
- data/lib/oci/core/models/change_boot_volume_compartment_details.rb +2 -2
- data/lib/oci/core/models/change_cpe_compartment_details.rb +155 -0
- data/lib/oci/core/models/change_cross_connect_compartment_details.rb +155 -0
- data/lib/oci/core/models/change_cross_connect_group_compartment_details.rb +155 -0
- data/lib/oci/core/models/change_instance_compartment_details.rb +154 -0
- data/lib/oci/core/models/change_ip_sec_connection_compartment_details.rb +155 -0
- data/lib/oci/core/models/change_remote_peering_connection_compartment_details.rb +155 -0
- data/lib/oci/core/models/change_virtual_circuit_compartment_details.rb +155 -0
- data/lib/oci/core/models/change_volume_backup_compartment_details.rb +2 -2
- data/lib/oci/core/models/change_volume_compartment_details.rb +2 -2
- data/lib/oci/core/models/change_volume_group_backup_compartment_details.rb +2 -2
- data/lib/oci/core/models/change_volume_group_compartment_details.rb +2 -2
- data/lib/oci/core/models/copy_volume_backup_details.rb +27 -4
- data/lib/oci/core/models/create_cross_connect_details.rb +37 -1
- data/lib/oci/core/models/create_cross_connect_group_details.rb +40 -4
- data/lib/oci/core/models/create_instance_configuration_base.rb +250 -0
- data/lib/oci/core/models/create_instance_configuration_details.rb +15 -57
- data/lib/oci/core/models/create_instance_configuration_from_instance_details.rb +179 -0
- data/lib/oci/core/models/create_ipv6_details.rb +249 -0
- data/lib/oci/core/models/create_remote_peering_connection_details.rb +40 -4
- data/lib/oci/core/models/create_service_gateway_details.rb +23 -1
- data/lib/oci/core/models/create_subnet_details.rb +24 -1
- data/lib/oci/core/models/create_vcn_details.rb +56 -4
- data/lib/oci/core/models/create_virtual_circuit_details.rb +38 -2
- data/lib/oci/core/models/cross_connect.rb +37 -1
- data/lib/oci/core/models/cross_connect_group.rb +37 -1
- data/lib/oci/core/models/cross_connect_mapping.rb +50 -1
- data/lib/oci/core/models/egress_security_rule.rb +10 -7
- data/lib/oci/core/models/ingress_security_rule.rb +10 -7
- data/lib/oci/core/models/instance.rb +1 -0
- data/lib/oci/core/models/ipv6.rb +375 -0
- data/lib/oci/core/models/private_ip.rb +1 -0
- data/lib/oci/core/models/remote_peering_connection.rb +37 -1
- data/lib/oci/core/models/route_rule.rb +4 -1
- data/lib/oci/core/models/security_rule.rb +2 -2
- data/lib/oci/core/models/service_gateway.rb +18 -1
- data/lib/oci/core/models/subnet.rb +56 -1
- data/lib/oci/core/models/update_cross_connect_details.rb +37 -1
- data/lib/oci/core/models/update_cross_connect_group_details.rb +40 -4
- data/lib/oci/core/models/update_ipv6_details.rb +229 -0
- data/lib/oci/core/models/update_remote_peering_connection_details.rb +40 -4
- data/lib/oci/core/models/update_security_rule_details.rb +2 -2
- data/lib/oci/core/models/update_service_gateway_details.rb +18 -1
- data/lib/oci/core/models/update_virtual_circuit_details.rb +37 -1
- data/lib/oci/core/models/vcn.rb +42 -1
- data/lib/oci/core/models/virtual_circuit.rb +37 -1
- data/lib/oci/core/models/volume_backup.rb +19 -1
- data/lib/oci/core/virtual_network_client.rb +744 -10
- data/lib/oci/core/virtual_network_client_composite_operations.rb +119 -0
- data/lib/oci/database/database.rb +3 -0
- data/lib/oci/database/database_client.rb +320 -36
- data/lib/oci/database/models/autonomous_data_warehouse.rb +1 -0
- data/lib/oci/database/models/autonomous_data_warehouse_console_token_details.rb +164 -0
- data/lib/oci/database/models/autonomous_data_warehouse_summary.rb +1 -0
- data/lib/oci/database/models/autonomous_database.rb +5 -3
- data/lib/oci/database/models/autonomous_database_connection_urls.rb +1 -1
- data/lib/oci/database/models/autonomous_database_console_token_details.rb +163 -0
- data/lib/oci/database/models/autonomous_database_summary.rb +5 -3
- data/lib/oci/database/models/autonomous_db_preview_version_summary.rb +1 -3
- data/lib/oci/database/models/change_compartment_details.rb +155 -0
- data/lib/oci/database/models/create_autonomous_database_base.rb +5 -4
- data/lib/oci/database/models/create_data_guard_association_with_new_db_system_details.rb +2 -5
- data/lib/oci/database/models/create_database_details.rb +1 -1
- data/lib/oci/database/models/create_db_home_with_db_system_id_details.rb +2 -1
- data/lib/oci/database/models/create_db_home_with_db_system_id_from_backup_details.rb +2 -1
- data/lib/oci/database/models/db_system.rb +2 -5
- data/lib/oci/database/models/db_system_summary.rb +2 -5
- data/lib/oci/database/models/launch_db_system_base.rb +3 -5
- data/lib/oci/database/models/maintenance_window.rb +2 -1
- data/lib/oci/database/models/update_autonomous_database_details.rb +5 -3
- data/lib/oci/database/models/update_db_system_details.rb +2 -5
- data/lib/oci/dns/dns.rb +2 -0
- data/lib/oci/dns/dns_client.rb +138 -1
- data/lib/oci/dns/models/change_steering_policy_compartment_details.rb +155 -0
- data/lib/oci/dns/models/change_zone_compartment_details.rb +155 -0
- data/lib/oci/events/events.rb +34 -0
- data/lib/oci/events/events_client.rb +537 -0
- data/lib/oci/events/events_client_composite_operations.rb +145 -0
- data/lib/oci/events/models/action.rb +275 -0
- data/lib/oci/events/models/action_details.rb +222 -0
- data/lib/oci/events/models/action_details_list.rb +150 -0
- data/lib/oci/events/models/action_list.rb +151 -0
- data/lib/oci/events/models/change_rule_compartment_details.rb +156 -0
- data/lib/oci/events/models/create_faa_s_action_details.rb +170 -0
- data/lib/oci/events/models/create_notification_service_action_details.rb +170 -0
- data/lib/oci/events/models/create_rule_details.rb +284 -0
- data/lib/oci/events/models/create_streaming_service_action_details.rb +170 -0
- data/lib/oci/events/models/faa_s_action.rb +178 -0
- data/lib/oci/events/models/notification_service_action.rb +179 -0
- data/lib/oci/events/models/rule.rb +372 -0
- data/lib/oci/events/models/rule_summary.rb +321 -0
- data/lib/oci/events/models/streaming_service_action.rb +178 -0
- data/lib/oci/events/models/update_rule_details.rb +266 -0
- data/lib/oci/events/util.rb +2 -0
- data/lib/oci/functions/functions.rb +29 -0
- data/lib/oci/functions/functions_invoke_client.rb +237 -0
- data/lib/oci/functions/functions_invoke_client_composite_operations.rb +24 -0
- data/lib/oci/functions/functions_management_client.rb +851 -0
- data/lib/oci/functions/functions_management_client_composite_operations.rb +266 -0
- data/lib/oci/functions/models/application.rb +322 -0
- data/lib/oci/functions/models/application_summary.rb +281 -0
- data/lib/oci/functions/models/change_application_compartment_details.rb +156 -0
- data/lib/oci/functions/models/create_application_details.rb +236 -0
- data/lib/oci/functions/models/create_function_details.rb +280 -0
- data/lib/oci/functions/models/function.rb +397 -0
- data/lib/oci/functions/models/function_summary.rb +381 -0
- data/lib/oci/functions/models/update_application_details.rb +191 -0
- data/lib/oci/functions/models/update_function_details.rb +250 -0
- data/lib/oci/functions/util.rb +2 -0
- data/lib/oci/healthchecks/health_checks_client.rb +147 -1
- data/lib/oci/healthchecks/healthchecks.rb +2 -0
- data/lib/oci/healthchecks/models/change_http_monitor_compartment_details.rb +155 -0
- data/lib/oci/healthchecks/models/change_ping_monitor_compartment_details.rb +155 -0
- data/lib/oci/healthchecks/models/create_http_monitor_details.rb +2 -1
- data/lib/oci/healthchecks/models/create_on_demand_http_probe_details.rb +2 -1
- data/lib/oci/healthchecks/models/create_on_demand_ping_probe_details.rb +2 -1
- data/lib/oci/healthchecks/models/create_ping_monitor_details.rb +2 -1
- data/lib/oci/healthchecks/models/http_monitor.rb +2 -0
- data/lib/oci/healthchecks/models/http_probe.rb +2 -0
- data/lib/oci/healthchecks/models/ping_monitor.rb +2 -0
- data/lib/oci/healthchecks/models/ping_probe.rb +2 -0
- data/lib/oci/healthchecks/models/update_http_monitor_details.rb +2 -0
- data/lib/oci/healthchecks/models/update_ping_monitor_details.rb +2 -0
- data/lib/oci/identity/identity.rb +1 -0
- data/lib/oci/identity/identity_client.rb +70 -0
- data/lib/oci/identity/identity_client_composite_operations.rb +50 -0
- data/lib/oci/identity/models/move_compartment_details.rb +155 -0
- data/lib/oci/key_management/key_management.rb +2 -0
- data/lib/oci/key_management/kms_management_client.rb +73 -0
- data/lib/oci/key_management/kms_vault_client.rb +73 -0
- data/lib/oci/key_management/models/change_key_compartment_details.rb +153 -0
- data/lib/oci/key_management/models/change_vault_compartment_details.rb +153 -0
- data/lib/oci/key_management/models/key.rb +1 -0
- data/lib/oci/key_management/models/key_summary.rb +1 -0
- data/lib/oci/key_management/models/vault.rb +1 -0
- data/lib/oci/key_management/models/vault_summary.rb +1 -0
- data/lib/oci/limits/limits.rb +23 -0
- data/lib/oci/limits/models/create_quota_details.rb +220 -0
- data/lib/oci/limits/models/quota.rb +287 -0
- data/lib/oci/limits/models/quota_summary.rb +273 -0
- data/lib/oci/limits/models/update_quota_details.rb +194 -0
- data/lib/oci/limits/quotas_client.rb +439 -0
- data/lib/oci/limits/quotas_client_composite_operations.rb +143 -0
- data/lib/oci/limits/util.rb +2 -0
- data/lib/oci/load_balancer/load_balancer.rb +9 -0
- data/lib/oci/load_balancer/load_balancer_client.rb +139 -0
- data/lib/oci/load_balancer/load_balancer_client_composite_operations.rb +50 -0
- data/lib/oci/load_balancer/models/allow_rule.rb +181 -0
- data/lib/oci/load_balancer/models/backend_set.rb +21 -4
- data/lib/oci/load_balancer/models/backend_set_details.rb +21 -4
- data/lib/oci/load_balancer/models/change_load_balancer_compartment_details.rb +156 -0
- data/lib/oci/load_balancer/models/control_access_using_http_methods_rule.rb +205 -0
- data/lib/oci/load_balancer/models/create_backend_set_details.rb +21 -4
- data/lib/oci/load_balancer/models/create_load_balancer_details.rb +37 -1
- data/lib/oci/load_balancer/models/lb_cookie_session_persistence_configuration_details.rb +334 -0
- data/lib/oci/load_balancer/models/listener_rule_summary.rb +166 -0
- data/lib/oci/load_balancer/models/rule.rb +4 -0
- data/lib/oci/load_balancer/models/rule_condition.rb +192 -0
- data/lib/oci/load_balancer/models/session_persistence_configuration_details.rb +6 -0
- data/lib/oci/load_balancer/models/source_ip_address_condition.rb +167 -0
- data/lib/oci/load_balancer/models/source_vcn_id_condition.rb +169 -0
- data/lib/oci/load_balancer/models/source_vcn_ip_address_condition.rb +171 -0
- data/lib/oci/load_balancer/models/update_backend_set_details.rb +21 -4
- data/lib/oci/monitoring/models/alarm.rb +4 -3
- data/lib/oci/monitoring/models/alarm_summary.rb +4 -3
- data/lib/oci/monitoring/models/change_alarm_compartment_details.rb +155 -0
- data/lib/oci/monitoring/models/create_alarm_details.rb +4 -3
- data/lib/oci/monitoring/models/datapoint.rb +1 -1
- data/lib/oci/monitoring/models/list_metrics_details.rb +4 -4
- data/lib/oci/monitoring/models/metric_data.rb +14 -0
- data/lib/oci/monitoring/models/metric_data_details.rb +6 -4
- data/lib/oci/monitoring/models/summarize_metrics_data_details.rb +3 -0
- data/lib/oci/monitoring/models/update_alarm_details.rb +4 -3
- data/lib/oci/monitoring/monitoring.rb +1 -0
- data/lib/oci/monitoring/monitoring_client.rb +140 -5
- data/lib/oci/ons/models/backoff_retry_policy.rb +2 -2
- data/lib/oci/ons/models/change_compartment_details.rb +156 -0
- data/lib/oci/ons/models/confirmation_result.rb +5 -6
- data/lib/oci/ons/models/create_topic_details.rb +1 -1
- data/lib/oci/ons/models/notification_topic.rb +2 -2
- data/lib/oci/ons/models/notification_topic_summary.rb +2 -2
- data/lib/oci/ons/models/subscription.rb +47 -4
- data/lib/oci/ons/models/subscription_summary.rb +19 -3
- data/lib/oci/ons/notification_control_plane_client.rb +95 -8
- data/lib/oci/ons/notification_data_plane_client.rb +109 -8
- data/lib/oci/ons/ons.rb +1 -0
- data/lib/oci/regions.rb +3 -0
- data/lib/oci/streaming/models/change_stream_compartment_details.rb +155 -0
- data/lib/oci/streaming/stream_admin_client.rb +58 -0
- data/lib/oci/streaming/streaming.rb +1 -0
- data/lib/oci/version.rb +1 -1
- data/lib/oci/waas/models/access_rule_criteria.rb +14 -2
- data/lib/oci/waas/models/change_certificate_compartment_details.rb +154 -0
- data/lib/oci/waas/models/change_waas_policy_compartment_details.rb +154 -0
- data/lib/oci/waas/models/create_certificate_details.rb +2 -2
- data/lib/oci/waas/models/protection_rule_exclusion.rb +16 -1
- data/lib/oci/waas/models/protection_settings.rb +9 -5
- data/lib/oci/waas/models/waas_policy.rb +1 -1
- data/lib/oci/waas/models/waf_config_details.rb +8 -8
- data/lib/oci/waas/models/waf_log.rb +40 -19
- data/lib/oci/waas/waas.rb +2 -0
- data/lib/oci/waas/waas_client.rb +155 -27
- data/lib/oci/work_requests/models/work_request.rb +14 -8
- data/lib/oci/work_requests/models/work_request_error.rb +3 -3
- data/lib/oci/work_requests/models/work_request_log_entry.rb +2 -2
- data/lib/oci/work_requests/models/work_request_resource.rb +9 -7
- data/lib/oci/work_requests/models/work_request_summary.rb +12 -6
- data/lib/oci/work_requests/work_request_client.rb +33 -16
- metadata +81 -2
data/lib/oci/core/models/vcn.rb
CHANGED
|
@@ -91,6 +91,27 @@ module OCI
|
|
|
91
91
|
# @return [String]
|
|
92
92
|
attr_accessor :id
|
|
93
93
|
|
|
94
|
+
# For an IPv6-enabled VCN, this is the IPv6 CIDR block for the VCN's private IP address space.
|
|
95
|
+
# The VCN size is always /48. If you don't provide a value when creating the VCN, Oracle
|
|
96
|
+
# provides one and uses that *same* CIDR for the `ipv6PublicCidrBlock`. If you do provide a
|
|
97
|
+
# value, Oracle provides a *different* CIDR for the `ipv6PublicCidrBlock`.
|
|
98
|
+
#
|
|
99
|
+
# Example: `2001:0db8:0123::/48`
|
|
100
|
+
#
|
|
101
|
+
# @return [String]
|
|
102
|
+
attr_accessor :ipv6_cidr_block
|
|
103
|
+
|
|
104
|
+
# For an IPv6-enabled VCN, this is the IPv6 CIDR block for the VCN's public IP address space.
|
|
105
|
+
# The VCN size is always /48. This CIDR is always provided by Oracle. If you don't provide a
|
|
106
|
+
# custom CIDR for the `ipv6CidrBlock` when creating the VCN, Oracle assigns that value and also
|
|
107
|
+
# uses it for `ipv6PublicCidrBlock`. Oracle uses addresses from this block for the `publicIpAddress`
|
|
108
|
+
# attribute of an {Ipv6} that has internet access allowed.
|
|
109
|
+
#
|
|
110
|
+
# Example: `2001:0db8:0123::/48`
|
|
111
|
+
#
|
|
112
|
+
# @return [String]
|
|
113
|
+
attr_accessor :ipv6_public_cidr_block
|
|
114
|
+
|
|
94
115
|
# **[Required]** The VCN's current state.
|
|
95
116
|
# @return [String]
|
|
96
117
|
attr_reader :lifecycle_state
|
|
@@ -127,6 +148,8 @@ module OCI
|
|
|
127
148
|
'dns_label': :'dnsLabel',
|
|
128
149
|
'freeform_tags': :'freeformTags',
|
|
129
150
|
'id': :'id',
|
|
151
|
+
'ipv6_cidr_block': :'ipv6CidrBlock',
|
|
152
|
+
'ipv6_public_cidr_block': :'ipv6PublicCidrBlock',
|
|
130
153
|
'lifecycle_state': :'lifecycleState',
|
|
131
154
|
'time_created': :'timeCreated',
|
|
132
155
|
'vcn_domain_name': :'vcnDomainName'
|
|
@@ -148,6 +171,8 @@ module OCI
|
|
|
148
171
|
'dns_label': :'String',
|
|
149
172
|
'freeform_tags': :'Hash<String, String>',
|
|
150
173
|
'id': :'String',
|
|
174
|
+
'ipv6_cidr_block': :'String',
|
|
175
|
+
'ipv6_public_cidr_block': :'String',
|
|
151
176
|
'lifecycle_state': :'String',
|
|
152
177
|
'time_created': :'DateTime',
|
|
153
178
|
'vcn_domain_name': :'String'
|
|
@@ -171,6 +196,8 @@ module OCI
|
|
|
171
196
|
# @option attributes [String] :dns_label The value to assign to the {#dns_label} property
|
|
172
197
|
# @option attributes [Hash<String, String>] :freeform_tags The value to assign to the {#freeform_tags} property
|
|
173
198
|
# @option attributes [String] :id The value to assign to the {#id} property
|
|
199
|
+
# @option attributes [String] :ipv6_cidr_block The value to assign to the {#ipv6_cidr_block} property
|
|
200
|
+
# @option attributes [String] :ipv6_public_cidr_block The value to assign to the {#ipv6_public_cidr_block} property
|
|
174
201
|
# @option attributes [String] :lifecycle_state The value to assign to the {#lifecycle_state} property
|
|
175
202
|
# @option attributes [DateTime] :time_created The value to assign to the {#time_created} property
|
|
176
203
|
# @option attributes [String] :vcn_domain_name The value to assign to the {#vcn_domain_name} property
|
|
@@ -236,6 +263,18 @@ module OCI
|
|
|
236
263
|
|
|
237
264
|
self.id = attributes[:'id'] if attributes[:'id']
|
|
238
265
|
|
|
266
|
+
self.ipv6_cidr_block = attributes[:'ipv6CidrBlock'] if attributes[:'ipv6CidrBlock']
|
|
267
|
+
|
|
268
|
+
raise 'You cannot provide both :ipv6CidrBlock and :ipv6_cidr_block' if attributes.key?(:'ipv6CidrBlock') && attributes.key?(:'ipv6_cidr_block')
|
|
269
|
+
|
|
270
|
+
self.ipv6_cidr_block = attributes[:'ipv6_cidr_block'] if attributes[:'ipv6_cidr_block']
|
|
271
|
+
|
|
272
|
+
self.ipv6_public_cidr_block = attributes[:'ipv6PublicCidrBlock'] if attributes[:'ipv6PublicCidrBlock']
|
|
273
|
+
|
|
274
|
+
raise 'You cannot provide both :ipv6PublicCidrBlock and :ipv6_public_cidr_block' if attributes.key?(:'ipv6PublicCidrBlock') && attributes.key?(:'ipv6_public_cidr_block')
|
|
275
|
+
|
|
276
|
+
self.ipv6_public_cidr_block = attributes[:'ipv6_public_cidr_block'] if attributes[:'ipv6_public_cidr_block']
|
|
277
|
+
|
|
239
278
|
self.lifecycle_state = attributes[:'lifecycleState'] if attributes[:'lifecycleState']
|
|
240
279
|
|
|
241
280
|
raise 'You cannot provide both :lifecycleState and :lifecycle_state' if attributes.key?(:'lifecycleState') && attributes.key?(:'lifecycle_state')
|
|
@@ -289,6 +328,8 @@ module OCI
|
|
|
289
328
|
dns_label == other.dns_label &&
|
|
290
329
|
freeform_tags == other.freeform_tags &&
|
|
291
330
|
id == other.id &&
|
|
331
|
+
ipv6_cidr_block == other.ipv6_cidr_block &&
|
|
332
|
+
ipv6_public_cidr_block == other.ipv6_public_cidr_block &&
|
|
292
333
|
lifecycle_state == other.lifecycle_state &&
|
|
293
334
|
time_created == other.time_created &&
|
|
294
335
|
vcn_domain_name == other.vcn_domain_name
|
|
@@ -307,7 +348,7 @@ module OCI
|
|
|
307
348
|
# Calculates hash code according to all attributes.
|
|
308
349
|
# @return [Fixnum] Hash code
|
|
309
350
|
def hash
|
|
310
|
-
[cidr_block, compartment_id, default_dhcp_options_id, default_route_table_id, default_security_list_id, defined_tags, display_name, dns_label, freeform_tags, id, lifecycle_state, time_created, vcn_domain_name].hash
|
|
351
|
+
[cidr_block, compartment_id, default_dhcp_options_id, default_route_table_id, default_security_list_id, defined_tags, display_name, dns_label, freeform_tags, id, ipv6_cidr_block, ipv6_public_cidr_block, lifecycle_state, time_created, vcn_domain_name].hash
|
|
311
352
|
end
|
|
312
353
|
# rubocop:enable Metrics/AbcSize, Layout/EmptyLines
|
|
313
354
|
|
|
@@ -112,12 +112,28 @@ module OCI
|
|
|
112
112
|
# @return [Integer]
|
|
113
113
|
attr_accessor :customer_bgp_asn
|
|
114
114
|
|
|
115
|
+
# Defined tags for this resource. Each key is predefined and scoped to a
|
|
116
|
+
# namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
|
|
117
|
+
#
|
|
118
|
+
# Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`
|
|
119
|
+
#
|
|
120
|
+
# @return [Hash<String, Hash<String, Object>>]
|
|
121
|
+
attr_accessor :defined_tags
|
|
122
|
+
|
|
115
123
|
# A user-friendly name. Does not have to be unique, and it's changeable.
|
|
116
124
|
# Avoid entering confidential information.
|
|
117
125
|
#
|
|
118
126
|
# @return [String]
|
|
119
127
|
attr_accessor :display_name
|
|
120
128
|
|
|
129
|
+
# Free-form tags for this resource. Each tag is a simple key-value pair with no
|
|
130
|
+
# predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
|
|
131
|
+
#
|
|
132
|
+
# Example: `{\"Department\": \"Finance\"}`
|
|
133
|
+
#
|
|
134
|
+
# @return [Hash<String, String>]
|
|
135
|
+
attr_accessor :freeform_tags
|
|
136
|
+
|
|
121
137
|
# The OCID of the customer's {Drg}
|
|
122
138
|
# that this virtual circuit uses. Applicable only to private virtual circuits.
|
|
123
139
|
#
|
|
@@ -215,7 +231,9 @@ module OCI
|
|
|
215
231
|
'compartment_id': :'compartmentId',
|
|
216
232
|
'cross_connect_mappings': :'crossConnectMappings',
|
|
217
233
|
'customer_bgp_asn': :'customerBgpAsn',
|
|
234
|
+
'defined_tags': :'definedTags',
|
|
218
235
|
'display_name': :'displayName',
|
|
236
|
+
'freeform_tags': :'freeformTags',
|
|
219
237
|
'gateway_id': :'gatewayId',
|
|
220
238
|
'id': :'id',
|
|
221
239
|
'lifecycle_state': :'lifecycleState',
|
|
@@ -245,7 +263,9 @@ module OCI
|
|
|
245
263
|
'compartment_id': :'String',
|
|
246
264
|
'cross_connect_mappings': :'Array<OCI::Core::Models::CrossConnectMapping>',
|
|
247
265
|
'customer_bgp_asn': :'Integer',
|
|
266
|
+
'defined_tags': :'Hash<String, Hash<String, Object>>',
|
|
248
267
|
'display_name': :'String',
|
|
268
|
+
'freeform_tags': :'Hash<String, String>',
|
|
249
269
|
'gateway_id': :'String',
|
|
250
270
|
'id': :'String',
|
|
251
271
|
'lifecycle_state': :'String',
|
|
@@ -277,7 +297,9 @@ module OCI
|
|
|
277
297
|
# @option attributes [String] :compartment_id The value to assign to the {#compartment_id} property
|
|
278
298
|
# @option attributes [Array<OCI::Core::Models::CrossConnectMapping>] :cross_connect_mappings The value to assign to the {#cross_connect_mappings} property
|
|
279
299
|
# @option attributes [Integer] :customer_bgp_asn The value to assign to the {#customer_bgp_asn} property
|
|
300
|
+
# @option attributes [Hash<String, Hash<String, Object>>] :defined_tags The value to assign to the {#defined_tags} property
|
|
280
301
|
# @option attributes [String] :display_name The value to assign to the {#display_name} property
|
|
302
|
+
# @option attributes [Hash<String, String>] :freeform_tags The value to assign to the {#freeform_tags} property
|
|
281
303
|
# @option attributes [String] :gateway_id The value to assign to the {#gateway_id} property
|
|
282
304
|
# @option attributes [String] :id The value to assign to the {#id} property
|
|
283
305
|
# @option attributes [String] :lifecycle_state The value to assign to the {#lifecycle_state} property
|
|
@@ -335,12 +357,24 @@ module OCI
|
|
|
335
357
|
|
|
336
358
|
self.customer_bgp_asn = attributes[:'customer_bgp_asn'] if attributes[:'customer_bgp_asn']
|
|
337
359
|
|
|
360
|
+
self.defined_tags = attributes[:'definedTags'] if attributes[:'definedTags']
|
|
361
|
+
|
|
362
|
+
raise 'You cannot provide both :definedTags and :defined_tags' if attributes.key?(:'definedTags') && attributes.key?(:'defined_tags')
|
|
363
|
+
|
|
364
|
+
self.defined_tags = attributes[:'defined_tags'] if attributes[:'defined_tags']
|
|
365
|
+
|
|
338
366
|
self.display_name = attributes[:'displayName'] if attributes[:'displayName']
|
|
339
367
|
|
|
340
368
|
raise 'You cannot provide both :displayName and :display_name' if attributes.key?(:'displayName') && attributes.key?(:'display_name')
|
|
341
369
|
|
|
342
370
|
self.display_name = attributes[:'display_name'] if attributes[:'display_name']
|
|
343
371
|
|
|
372
|
+
self.freeform_tags = attributes[:'freeformTags'] if attributes[:'freeformTags']
|
|
373
|
+
|
|
374
|
+
raise 'You cannot provide both :freeformTags and :freeform_tags' if attributes.key?(:'freeformTags') && attributes.key?(:'freeform_tags')
|
|
375
|
+
|
|
376
|
+
self.freeform_tags = attributes[:'freeform_tags'] if attributes[:'freeform_tags']
|
|
377
|
+
|
|
344
378
|
self.gateway_id = attributes[:'gatewayId'] if attributes[:'gatewayId']
|
|
345
379
|
|
|
346
380
|
raise 'You cannot provide both :gatewayId and :gateway_id' if attributes.key?(:'gatewayId') && attributes.key?(:'gateway_id')
|
|
@@ -515,7 +549,9 @@ module OCI
|
|
|
515
549
|
compartment_id == other.compartment_id &&
|
|
516
550
|
cross_connect_mappings == other.cross_connect_mappings &&
|
|
517
551
|
customer_bgp_asn == other.customer_bgp_asn &&
|
|
552
|
+
defined_tags == other.defined_tags &&
|
|
518
553
|
display_name == other.display_name &&
|
|
554
|
+
freeform_tags == other.freeform_tags &&
|
|
519
555
|
gateway_id == other.gateway_id &&
|
|
520
556
|
id == other.id &&
|
|
521
557
|
lifecycle_state == other.lifecycle_state &&
|
|
@@ -546,7 +582,7 @@ module OCI
|
|
|
546
582
|
# Calculates hash code according to all attributes.
|
|
547
583
|
# @return [Fixnum] Hash code
|
|
548
584
|
def hash
|
|
549
|
-
[bandwidth_shape_name, bgp_management, bgp_session_state, compartment_id, cross_connect_mappings, customer_bgp_asn, display_name, gateway_id, id, lifecycle_state, oracle_bgp_asn, provider_name, provider_service_id, provider_service_key_name, provider_service_name, provider_state, public_prefixes, reference_comment, region, service_type, time_created, type].hash
|
|
585
|
+
[bandwidth_shape_name, bgp_management, bgp_session_state, compartment_id, cross_connect_mappings, customer_bgp_asn, defined_tags, display_name, freeform_tags, gateway_id, id, lifecycle_state, oracle_bgp_asn, provider_name, provider_service_id, provider_service_key_name, provider_service_name, provider_state, public_prefixes, reference_comment, region, service_type, time_created, type].hash
|
|
550
586
|
end
|
|
551
587
|
# rubocop:enable Metrics/AbcSize, Layout/EmptyLines
|
|
552
588
|
|
|
@@ -78,6 +78,14 @@ module OCI
|
|
|
78
78
|
# @return [String]
|
|
79
79
|
attr_accessor :id
|
|
80
80
|
|
|
81
|
+
# The OCID of the KMS key which is the master encryption key for the volume backup.
|
|
82
|
+
# For more information about the Key Management service and encryption keys, see
|
|
83
|
+
# [Overview of Key Management](https://docs.cloud.oracle.com/Content/KeyManagement/Concepts/keyoverview.htm) and
|
|
84
|
+
# [Using Keys](https://docs.cloud.oracle.com/Content/KeyManagement/Tasks/usingkeys.htm).
|
|
85
|
+
#
|
|
86
|
+
# @return [String]
|
|
87
|
+
attr_accessor :kms_key_id
|
|
88
|
+
|
|
81
89
|
# **[Required]** The current state of a volume backup.
|
|
82
90
|
# @return [String]
|
|
83
91
|
attr_reader :lifecycle_state
|
|
@@ -143,6 +151,7 @@ module OCI
|
|
|
143
151
|
'expiration_time': :'expirationTime',
|
|
144
152
|
'freeform_tags': :'freeformTags',
|
|
145
153
|
'id': :'id',
|
|
154
|
+
'kms_key_id': :'kmsKeyId',
|
|
146
155
|
'lifecycle_state': :'lifecycleState',
|
|
147
156
|
'size_in_gbs': :'sizeInGBs',
|
|
148
157
|
'size_in_mbs': :'sizeInMBs',
|
|
@@ -168,6 +177,7 @@ module OCI
|
|
|
168
177
|
'expiration_time': :'DateTime',
|
|
169
178
|
'freeform_tags': :'Hash<String, String>',
|
|
170
179
|
'id': :'String',
|
|
180
|
+
'kms_key_id': :'String',
|
|
171
181
|
'lifecycle_state': :'String',
|
|
172
182
|
'size_in_gbs': :'Integer',
|
|
173
183
|
'size_in_mbs': :'Integer',
|
|
@@ -195,6 +205,7 @@ module OCI
|
|
|
195
205
|
# @option attributes [DateTime] :expiration_time The value to assign to the {#expiration_time} property
|
|
196
206
|
# @option attributes [Hash<String, String>] :freeform_tags The value to assign to the {#freeform_tags} property
|
|
197
207
|
# @option attributes [String] :id The value to assign to the {#id} property
|
|
208
|
+
# @option attributes [String] :kms_key_id The value to assign to the {#kms_key_id} property
|
|
198
209
|
# @option attributes [String] :lifecycle_state The value to assign to the {#lifecycle_state} property
|
|
199
210
|
# @option attributes [Integer] :size_in_gbs The value to assign to the {#size_in_gbs} property
|
|
200
211
|
# @option attributes [Integer] :size_in_mbs The value to assign to the {#size_in_mbs} property
|
|
@@ -244,6 +255,12 @@ module OCI
|
|
|
244
255
|
|
|
245
256
|
self.id = attributes[:'id'] if attributes[:'id']
|
|
246
257
|
|
|
258
|
+
self.kms_key_id = attributes[:'kmsKeyId'] if attributes[:'kmsKeyId']
|
|
259
|
+
|
|
260
|
+
raise 'You cannot provide both :kmsKeyId and :kms_key_id' if attributes.key?(:'kmsKeyId') && attributes.key?(:'kms_key_id')
|
|
261
|
+
|
|
262
|
+
self.kms_key_id = attributes[:'kms_key_id'] if attributes[:'kms_key_id']
|
|
263
|
+
|
|
247
264
|
self.lifecycle_state = attributes[:'lifecycleState'] if attributes[:'lifecycleState']
|
|
248
265
|
|
|
249
266
|
raise 'You cannot provide both :lifecycleState and :lifecycle_state' if attributes.key?(:'lifecycleState') && attributes.key?(:'lifecycle_state')
|
|
@@ -363,6 +380,7 @@ module OCI
|
|
|
363
380
|
expiration_time == other.expiration_time &&
|
|
364
381
|
freeform_tags == other.freeform_tags &&
|
|
365
382
|
id == other.id &&
|
|
383
|
+
kms_key_id == other.kms_key_id &&
|
|
366
384
|
lifecycle_state == other.lifecycle_state &&
|
|
367
385
|
size_in_gbs == other.size_in_gbs &&
|
|
368
386
|
size_in_mbs == other.size_in_mbs &&
|
|
@@ -389,7 +407,7 @@ module OCI
|
|
|
389
407
|
# Calculates hash code according to all attributes.
|
|
390
408
|
# @return [Fixnum] Hash code
|
|
391
409
|
def hash
|
|
392
|
-
[compartment_id, defined_tags, display_name, expiration_time, freeform_tags, id, lifecycle_state, size_in_gbs, size_in_mbs, source_type, source_volume_backup_id, time_created, time_request_received, type, unique_size_in_gbs, unique_size_in_mbs, volume_id].hash
|
|
410
|
+
[compartment_id, defined_tags, display_name, expiration_time, freeform_tags, id, kms_key_id, lifecycle_state, size_in_gbs, size_in_mbs, source_type, source_volume_backup_id, time_created, time_request_received, type, unique_size_in_gbs, unique_size_in_mbs, volume_id].hash
|
|
393
411
|
end
|
|
394
412
|
# rubocop:enable Metrics/AbcSize, Layout/EmptyLines
|
|
395
413
|
|
|
@@ -352,6 +352,274 @@ module OCI
|
|
|
352
352
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
353
353
|
|
|
354
354
|
|
|
355
|
+
# Moves a CPE object into a different compartment within the same tenancy. For information
|
|
356
|
+
# about moving resources between compartments, see
|
|
357
|
+
# [Moving Resources to a Different Compartment](https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes).
|
|
358
|
+
#
|
|
359
|
+
# @param [String] cpe_id The OCID of the CPE.
|
|
360
|
+
# @param [OCI::Core::Models::ChangeCpeCompartmentDetails] change_cpe_compartment_details Request to change the compartment of a CPE.
|
|
361
|
+
# @param [Hash] opts the optional parameters
|
|
362
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
363
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
364
|
+
# @option opts [String] :opc_request_id Unique identifier for the request.
|
|
365
|
+
# If you need to contact Oracle about a particular request, please provide the request ID.
|
|
366
|
+
#
|
|
367
|
+
# @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case of a timeout or
|
|
368
|
+
# server error without risk of executing that same action again. Retry tokens expire after 24
|
|
369
|
+
# hours, but can be invalidated before then due to conflicting operations (for example, if a resource
|
|
370
|
+
# has been deleted and purged from the system, then a retry of the original creation request
|
|
371
|
+
# may be rejected).
|
|
372
|
+
#
|
|
373
|
+
# @return [Response] A Response object with data of type nil
|
|
374
|
+
def change_cpe_compartment(cpe_id, change_cpe_compartment_details, opts = {})
|
|
375
|
+
logger.debug 'Calling operation VirtualNetworkClient#change_cpe_compartment.' if logger
|
|
376
|
+
|
|
377
|
+
raise "Missing the required parameter 'cpe_id' when calling change_cpe_compartment." if cpe_id.nil?
|
|
378
|
+
raise "Missing the required parameter 'change_cpe_compartment_details' when calling change_cpe_compartment." if change_cpe_compartment_details.nil?
|
|
379
|
+
raise "Parameter value for 'cpe_id' must not be blank" if OCI::Internal::Util.blank_string?(cpe_id)
|
|
380
|
+
|
|
381
|
+
path = '/cpes/{cpeId}/actions/changeCompartment'.sub('{cpeId}', cpe_id.to_s)
|
|
382
|
+
operation_signing_strategy = :standard
|
|
383
|
+
|
|
384
|
+
# rubocop:disable Style/NegatedIf
|
|
385
|
+
# Query Params
|
|
386
|
+
query_params = {}
|
|
387
|
+
|
|
388
|
+
# Header Params
|
|
389
|
+
header_params = {}
|
|
390
|
+
header_params[:accept] = 'application/json'
|
|
391
|
+
header_params[:'content-type'] = 'application/json'
|
|
392
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
|
393
|
+
header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
|
|
394
|
+
# rubocop:enable Style/NegatedIf
|
|
395
|
+
header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
|
|
396
|
+
|
|
397
|
+
post_body = @api_client.object_to_http_body(change_cpe_compartment_details)
|
|
398
|
+
|
|
399
|
+
# rubocop:disable Metrics/BlockLength
|
|
400
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'VirtualNetworkClient#change_cpe_compartment') do
|
|
401
|
+
@api_client.call_api(
|
|
402
|
+
:POST,
|
|
403
|
+
path,
|
|
404
|
+
endpoint,
|
|
405
|
+
header_params: header_params,
|
|
406
|
+
query_params: query_params,
|
|
407
|
+
operation_signing_strategy: operation_signing_strategy,
|
|
408
|
+
body: post_body
|
|
409
|
+
)
|
|
410
|
+
end
|
|
411
|
+
# rubocop:enable Metrics/BlockLength
|
|
412
|
+
end
|
|
413
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
414
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
415
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
|
416
|
+
|
|
417
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
418
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
419
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
420
|
+
|
|
421
|
+
|
|
422
|
+
# Moves a cross-connect into a different compartment within the same tenancy. For information
|
|
423
|
+
# about moving resources between compartments, see
|
|
424
|
+
# [Moving Resources to a Different Compartment](https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes).
|
|
425
|
+
#
|
|
426
|
+
# @param [String] cross_connect_id The OCID of the cross-connect.
|
|
427
|
+
# @param [OCI::Core::Models::ChangeCrossConnectCompartmentDetails] change_cross_connect_compartment_details Request to change the compartment of a Cross Connect.
|
|
428
|
+
# @param [Hash] opts the optional parameters
|
|
429
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
430
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
431
|
+
# @option opts [String] :opc_request_id Unique identifier for the request.
|
|
432
|
+
# If you need to contact Oracle about a particular request, please provide the request ID.
|
|
433
|
+
#
|
|
434
|
+
# @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case of a timeout or
|
|
435
|
+
# server error without risk of executing that same action again. Retry tokens expire after 24
|
|
436
|
+
# hours, but can be invalidated before then due to conflicting operations (for example, if a resource
|
|
437
|
+
# has been deleted and purged from the system, then a retry of the original creation request
|
|
438
|
+
# may be rejected).
|
|
439
|
+
#
|
|
440
|
+
# @return [Response] A Response object with data of type nil
|
|
441
|
+
def change_cross_connect_compartment(cross_connect_id, change_cross_connect_compartment_details, opts = {})
|
|
442
|
+
logger.debug 'Calling operation VirtualNetworkClient#change_cross_connect_compartment.' if logger
|
|
443
|
+
|
|
444
|
+
raise "Missing the required parameter 'cross_connect_id' when calling change_cross_connect_compartment." if cross_connect_id.nil?
|
|
445
|
+
raise "Missing the required parameter 'change_cross_connect_compartment_details' when calling change_cross_connect_compartment." if change_cross_connect_compartment_details.nil?
|
|
446
|
+
raise "Parameter value for 'cross_connect_id' must not be blank" if OCI::Internal::Util.blank_string?(cross_connect_id)
|
|
447
|
+
|
|
448
|
+
path = '/crossConnects/{crossConnectId}/actions/changeCompartment'.sub('{crossConnectId}', cross_connect_id.to_s)
|
|
449
|
+
operation_signing_strategy = :standard
|
|
450
|
+
|
|
451
|
+
# rubocop:disable Style/NegatedIf
|
|
452
|
+
# Query Params
|
|
453
|
+
query_params = {}
|
|
454
|
+
|
|
455
|
+
# Header Params
|
|
456
|
+
header_params = {}
|
|
457
|
+
header_params[:accept] = 'application/json'
|
|
458
|
+
header_params[:'content-type'] = 'application/json'
|
|
459
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
|
460
|
+
header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
|
|
461
|
+
# rubocop:enable Style/NegatedIf
|
|
462
|
+
header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
|
|
463
|
+
|
|
464
|
+
post_body = @api_client.object_to_http_body(change_cross_connect_compartment_details)
|
|
465
|
+
|
|
466
|
+
# rubocop:disable Metrics/BlockLength
|
|
467
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'VirtualNetworkClient#change_cross_connect_compartment') do
|
|
468
|
+
@api_client.call_api(
|
|
469
|
+
:POST,
|
|
470
|
+
path,
|
|
471
|
+
endpoint,
|
|
472
|
+
header_params: header_params,
|
|
473
|
+
query_params: query_params,
|
|
474
|
+
operation_signing_strategy: operation_signing_strategy,
|
|
475
|
+
body: post_body
|
|
476
|
+
)
|
|
477
|
+
end
|
|
478
|
+
# rubocop:enable Metrics/BlockLength
|
|
479
|
+
end
|
|
480
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
481
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
482
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
|
483
|
+
|
|
484
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
485
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
486
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
487
|
+
|
|
488
|
+
|
|
489
|
+
# Moves a cross-connect group into a different compartment within the same tenancy. For information
|
|
490
|
+
# about moving resources between compartments, see
|
|
491
|
+
# [Moving Resources to a Different Compartment](https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes).
|
|
492
|
+
#
|
|
493
|
+
# @param [String] cross_connect_group_id The OCID of the cross-connect group.
|
|
494
|
+
# @param [OCI::Core::Models::ChangeCrossConnectGroupCompartmentDetails] change_cross_connect_group_compartment_details Request to change the compartment of a Cross Connect Group.
|
|
495
|
+
# @param [Hash] opts the optional parameters
|
|
496
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
497
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
498
|
+
# @option opts [String] :opc_request_id Unique identifier for the request.
|
|
499
|
+
# If you need to contact Oracle about a particular request, please provide the request ID.
|
|
500
|
+
#
|
|
501
|
+
# @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case of a timeout or
|
|
502
|
+
# server error without risk of executing that same action again. Retry tokens expire after 24
|
|
503
|
+
# hours, but can be invalidated before then due to conflicting operations (for example, if a resource
|
|
504
|
+
# has been deleted and purged from the system, then a retry of the original creation request
|
|
505
|
+
# may be rejected).
|
|
506
|
+
#
|
|
507
|
+
# @return [Response] A Response object with data of type nil
|
|
508
|
+
def change_cross_connect_group_compartment(cross_connect_group_id, change_cross_connect_group_compartment_details, opts = {})
|
|
509
|
+
logger.debug 'Calling operation VirtualNetworkClient#change_cross_connect_group_compartment.' if logger
|
|
510
|
+
|
|
511
|
+
raise "Missing the required parameter 'cross_connect_group_id' when calling change_cross_connect_group_compartment." if cross_connect_group_id.nil?
|
|
512
|
+
raise "Missing the required parameter 'change_cross_connect_group_compartment_details' when calling change_cross_connect_group_compartment." if change_cross_connect_group_compartment_details.nil?
|
|
513
|
+
raise "Parameter value for 'cross_connect_group_id' must not be blank" if OCI::Internal::Util.blank_string?(cross_connect_group_id)
|
|
514
|
+
|
|
515
|
+
path = '/crossConnectGroups/{crossConnectGroupId}/actions/changeCompartment'.sub('{crossConnectGroupId}', cross_connect_group_id.to_s)
|
|
516
|
+
operation_signing_strategy = :standard
|
|
517
|
+
|
|
518
|
+
# rubocop:disable Style/NegatedIf
|
|
519
|
+
# Query Params
|
|
520
|
+
query_params = {}
|
|
521
|
+
|
|
522
|
+
# Header Params
|
|
523
|
+
header_params = {}
|
|
524
|
+
header_params[:accept] = 'application/json'
|
|
525
|
+
header_params[:'content-type'] = 'application/json'
|
|
526
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
|
527
|
+
header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
|
|
528
|
+
# rubocop:enable Style/NegatedIf
|
|
529
|
+
header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
|
|
530
|
+
|
|
531
|
+
post_body = @api_client.object_to_http_body(change_cross_connect_group_compartment_details)
|
|
532
|
+
|
|
533
|
+
# rubocop:disable Metrics/BlockLength
|
|
534
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'VirtualNetworkClient#change_cross_connect_group_compartment') do
|
|
535
|
+
@api_client.call_api(
|
|
536
|
+
:POST,
|
|
537
|
+
path,
|
|
538
|
+
endpoint,
|
|
539
|
+
header_params: header_params,
|
|
540
|
+
query_params: query_params,
|
|
541
|
+
operation_signing_strategy: operation_signing_strategy,
|
|
542
|
+
body: post_body
|
|
543
|
+
)
|
|
544
|
+
end
|
|
545
|
+
# rubocop:enable Metrics/BlockLength
|
|
546
|
+
end
|
|
547
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
548
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
549
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
|
550
|
+
|
|
551
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
552
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
553
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
554
|
+
|
|
555
|
+
|
|
556
|
+
# Moves an IPSec connection into a different compartment within the same tenancy. For information
|
|
557
|
+
# about moving resources between compartments, see
|
|
558
|
+
# [Moving Resources to a Different Compartment](https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes).
|
|
559
|
+
#
|
|
560
|
+
# @param [String] ipsc_id The OCID of the IPSec connection.
|
|
561
|
+
# @param [OCI::Core::Models::ChangeIPSecConnectionCompartmentDetails] change_ip_sec_connection_compartment_details Request to change the compartment of a Ipsec Connection.
|
|
562
|
+
# @param [Hash] opts the optional parameters
|
|
563
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
564
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
565
|
+
# @option opts [String] :opc_request_id Unique identifier for the request.
|
|
566
|
+
# If you need to contact Oracle about a particular request, please provide the request ID.
|
|
567
|
+
#
|
|
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
|
|
569
|
+
# server error without risk of executing that same action again. Retry tokens expire after 24
|
|
570
|
+
# hours, but can be invalidated before then due to conflicting operations (for example, if a resource
|
|
571
|
+
# has been deleted and purged from the system, then a retry of the original creation request
|
|
572
|
+
# may be rejected).
|
|
573
|
+
#
|
|
574
|
+
# @return [Response] A Response object with data of type nil
|
|
575
|
+
def change_ip_sec_connection_compartment(ipsc_id, change_ip_sec_connection_compartment_details, opts = {})
|
|
576
|
+
logger.debug 'Calling operation VirtualNetworkClient#change_ip_sec_connection_compartment.' if logger
|
|
577
|
+
|
|
578
|
+
raise "Missing the required parameter 'ipsc_id' when calling change_ip_sec_connection_compartment." if ipsc_id.nil?
|
|
579
|
+
raise "Missing the required parameter 'change_ip_sec_connection_compartment_details' when calling change_ip_sec_connection_compartment." if change_ip_sec_connection_compartment_details.nil?
|
|
580
|
+
raise "Parameter value for 'ipsc_id' must not be blank" if OCI::Internal::Util.blank_string?(ipsc_id)
|
|
581
|
+
|
|
582
|
+
path = '/ipsecConnections/{ipscId}/actions/changeCompartment'.sub('{ipscId}', ipsc_id.to_s)
|
|
583
|
+
operation_signing_strategy = :standard
|
|
584
|
+
|
|
585
|
+
# rubocop:disable Style/NegatedIf
|
|
586
|
+
# Query Params
|
|
587
|
+
query_params = {}
|
|
588
|
+
|
|
589
|
+
# Header Params
|
|
590
|
+
header_params = {}
|
|
591
|
+
header_params[:accept] = 'application/json'
|
|
592
|
+
header_params[:'content-type'] = 'application/json'
|
|
593
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
|
594
|
+
header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
|
|
595
|
+
# rubocop:enable Style/NegatedIf
|
|
596
|
+
header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
|
|
597
|
+
|
|
598
|
+
post_body = @api_client.object_to_http_body(change_ip_sec_connection_compartment_details)
|
|
599
|
+
|
|
600
|
+
# rubocop:disable Metrics/BlockLength
|
|
601
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'VirtualNetworkClient#change_ip_sec_connection_compartment') do
|
|
602
|
+
@api_client.call_api(
|
|
603
|
+
:POST,
|
|
604
|
+
path,
|
|
605
|
+
endpoint,
|
|
606
|
+
header_params: header_params,
|
|
607
|
+
query_params: query_params,
|
|
608
|
+
operation_signing_strategy: operation_signing_strategy,
|
|
609
|
+
body: post_body
|
|
610
|
+
)
|
|
611
|
+
end
|
|
612
|
+
# rubocop:enable Metrics/BlockLength
|
|
613
|
+
end
|
|
614
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
615
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
616
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
|
617
|
+
|
|
618
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
619
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
620
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
621
|
+
|
|
622
|
+
|
|
355
623
|
# Moves a NAT gateway into a different compartment within the same tenancy. For information
|
|
356
624
|
# about moving resources between compartments, see
|
|
357
625
|
# [Moving Resources to a Different Compartment](https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes).
|
|
@@ -419,6 +687,73 @@ module OCI
|
|
|
419
687
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
420
688
|
|
|
421
689
|
|
|
690
|
+
# Moves a remote peering connection (RPC) into a different compartment within the same tenancy. For information
|
|
691
|
+
# about moving resources between compartments, see
|
|
692
|
+
# [Moving Resources to a Different Compartment](https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes).
|
|
693
|
+
#
|
|
694
|
+
# @param [String] remote_peering_connection_id The OCID of the remote peering connection (RPC).
|
|
695
|
+
# @param [OCI::Core::Models::ChangeRemotePeeringConnectionCompartmentDetails] change_remote_peering_connection_compartment_details Request to change the compartment of a Remote Peering Connection.
|
|
696
|
+
# @param [Hash] opts the optional parameters
|
|
697
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
698
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
699
|
+
# @option opts [String] :opc_request_id Unique identifier for the request.
|
|
700
|
+
# If you need to contact Oracle about a particular request, please provide the request ID.
|
|
701
|
+
#
|
|
702
|
+
# @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
|
+
# server error without risk of executing that same action again. Retry tokens expire after 24
|
|
704
|
+
# hours, but can be invalidated before then due to conflicting operations (for example, if a resource
|
|
705
|
+
# has been deleted and purged from the system, then a retry of the original creation request
|
|
706
|
+
# may be rejected).
|
|
707
|
+
#
|
|
708
|
+
# @return [Response] A Response object with data of type nil
|
|
709
|
+
def change_remote_peering_connection_compartment(remote_peering_connection_id, change_remote_peering_connection_compartment_details, opts = {})
|
|
710
|
+
logger.debug 'Calling operation VirtualNetworkClient#change_remote_peering_connection_compartment.' if logger
|
|
711
|
+
|
|
712
|
+
raise "Missing the required parameter 'remote_peering_connection_id' when calling change_remote_peering_connection_compartment." if remote_peering_connection_id.nil?
|
|
713
|
+
raise "Missing the required parameter 'change_remote_peering_connection_compartment_details' when calling change_remote_peering_connection_compartment." if change_remote_peering_connection_compartment_details.nil?
|
|
714
|
+
raise "Parameter value for 'remote_peering_connection_id' must not be blank" if OCI::Internal::Util.blank_string?(remote_peering_connection_id)
|
|
715
|
+
|
|
716
|
+
path = '/remotePeeringConnections/{remotePeeringConnectionId}/actions/changeCompartment'.sub('{remotePeeringConnectionId}', remote_peering_connection_id.to_s)
|
|
717
|
+
operation_signing_strategy = :standard
|
|
718
|
+
|
|
719
|
+
# rubocop:disable Style/NegatedIf
|
|
720
|
+
# Query Params
|
|
721
|
+
query_params = {}
|
|
722
|
+
|
|
723
|
+
# Header Params
|
|
724
|
+
header_params = {}
|
|
725
|
+
header_params[:accept] = 'application/json'
|
|
726
|
+
header_params[:'content-type'] = 'application/json'
|
|
727
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
|
728
|
+
header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
|
|
729
|
+
# rubocop:enable Style/NegatedIf
|
|
730
|
+
header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
|
|
731
|
+
|
|
732
|
+
post_body = @api_client.object_to_http_body(change_remote_peering_connection_compartment_details)
|
|
733
|
+
|
|
734
|
+
# rubocop:disable Metrics/BlockLength
|
|
735
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'VirtualNetworkClient#change_remote_peering_connection_compartment') do
|
|
736
|
+
@api_client.call_api(
|
|
737
|
+
:POST,
|
|
738
|
+
path,
|
|
739
|
+
endpoint,
|
|
740
|
+
header_params: header_params,
|
|
741
|
+
query_params: query_params,
|
|
742
|
+
operation_signing_strategy: operation_signing_strategy,
|
|
743
|
+
body: post_body
|
|
744
|
+
)
|
|
745
|
+
end
|
|
746
|
+
# rubocop:enable Metrics/BlockLength
|
|
747
|
+
end
|
|
748
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
749
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
750
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
|
751
|
+
|
|
752
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
753
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
754
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
755
|
+
|
|
756
|
+
|
|
422
757
|
# Moves a route table into a different compartment within the same tenancy. For information
|
|
423
758
|
# about moving resources between compartments, see
|
|
424
759
|
# [Moving Resources to a Different Compartment](https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes).
|
|
@@ -749,6 +1084,73 @@ module OCI
|
|
|
749
1084
|
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
750
1085
|
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
|
751
1086
|
|
|
1087
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
1088
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
1089
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
1090
|
+
|
|
1091
|
+
|
|
1092
|
+
# Moves a virtual circuit into a different compartment within the same tenancy. For information
|
|
1093
|
+
# about moving resources between compartments, see
|
|
1094
|
+
# [Moving Resources to a Different Compartment](https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes).
|
|
1095
|
+
#
|
|
1096
|
+
# @param [String] virtual_circuit_id The OCID of the virtual circuit.
|
|
1097
|
+
# @param [OCI::Core::Models::ChangeVirtualCircuitCompartmentDetails] change_virtual_circuit_compartment_details Request to change the compartment of a virtual circuit.
|
|
1098
|
+
# @param [Hash] opts the optional parameters
|
|
1099
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
1100
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
1101
|
+
# @option opts [String] :opc_request_id Unique identifier for the request.
|
|
1102
|
+
# If you need to contact Oracle about a particular request, please provide the request ID.
|
|
1103
|
+
#
|
|
1104
|
+
# @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case of a timeout or
|
|
1105
|
+
# server error without risk of executing that same action again. Retry tokens expire after 24
|
|
1106
|
+
# hours, but can be invalidated before then due to conflicting operations (for example, if a resource
|
|
1107
|
+
# has been deleted and purged from the system, then a retry of the original creation request
|
|
1108
|
+
# may be rejected).
|
|
1109
|
+
#
|
|
1110
|
+
# @return [Response] A Response object with data of type nil
|
|
1111
|
+
def change_virtual_circuit_compartment(virtual_circuit_id, change_virtual_circuit_compartment_details, opts = {})
|
|
1112
|
+
logger.debug 'Calling operation VirtualNetworkClient#change_virtual_circuit_compartment.' if logger
|
|
1113
|
+
|
|
1114
|
+
raise "Missing the required parameter 'virtual_circuit_id' when calling change_virtual_circuit_compartment." if virtual_circuit_id.nil?
|
|
1115
|
+
raise "Missing the required parameter 'change_virtual_circuit_compartment_details' when calling change_virtual_circuit_compartment." if change_virtual_circuit_compartment_details.nil?
|
|
1116
|
+
raise "Parameter value for 'virtual_circuit_id' must not be blank" if OCI::Internal::Util.blank_string?(virtual_circuit_id)
|
|
1117
|
+
|
|
1118
|
+
path = '/virtualCircuits/{virtualCircuitId}/actions/changeCompartment'.sub('{virtualCircuitId}', virtual_circuit_id.to_s)
|
|
1119
|
+
operation_signing_strategy = :standard
|
|
1120
|
+
|
|
1121
|
+
# rubocop:disable Style/NegatedIf
|
|
1122
|
+
# Query Params
|
|
1123
|
+
query_params = {}
|
|
1124
|
+
|
|
1125
|
+
# Header Params
|
|
1126
|
+
header_params = {}
|
|
1127
|
+
header_params[:accept] = 'application/json'
|
|
1128
|
+
header_params[:'content-type'] = 'application/json'
|
|
1129
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
|
1130
|
+
header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
|
|
1131
|
+
# rubocop:enable Style/NegatedIf
|
|
1132
|
+
header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
|
|
1133
|
+
|
|
1134
|
+
post_body = @api_client.object_to_http_body(change_virtual_circuit_compartment_details)
|
|
1135
|
+
|
|
1136
|
+
# rubocop:disable Metrics/BlockLength
|
|
1137
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'VirtualNetworkClient#change_virtual_circuit_compartment') do
|
|
1138
|
+
@api_client.call_api(
|
|
1139
|
+
:POST,
|
|
1140
|
+
path,
|
|
1141
|
+
endpoint,
|
|
1142
|
+
header_params: header_params,
|
|
1143
|
+
query_params: query_params,
|
|
1144
|
+
operation_signing_strategy: operation_signing_strategy,
|
|
1145
|
+
body: post_body
|
|
1146
|
+
)
|
|
1147
|
+
end
|
|
1148
|
+
# rubocop:enable Metrics/BlockLength
|
|
1149
|
+
end
|
|
1150
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
1151
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
1152
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
|
1153
|
+
|
|
752
1154
|
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
753
1155
|
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
754
1156
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
@@ -1419,23 +1821,85 @@ module OCI
|
|
|
1419
1821
|
# (that is, the pre-shared key). For more information, see
|
|
1420
1822
|
# [Configuring Your On-Premises Router for an IPSec VPN](https://docs.cloud.oracle.com/Content/Network/Tasks/configuringCPE.htm).
|
|
1421
1823
|
#
|
|
1422
|
-
# @param [OCI::Core::Models::CreateIPSecConnectionDetails] create_ip_sec_connection_details Details for creating an `IPSecConnection`.
|
|
1824
|
+
# @param [OCI::Core::Models::CreateIPSecConnectionDetails] create_ip_sec_connection_details Details for creating an `IPSecConnection`.
|
|
1825
|
+
# @param [Hash] opts the optional parameters
|
|
1826
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
1827
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
1828
|
+
# @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case of a timeout or
|
|
1829
|
+
# server error without risk of executing that same action again. Retry tokens expire after 24
|
|
1830
|
+
# hours, but can be invalidated before then due to conflicting operations (for example, if a resource
|
|
1831
|
+
# has been deleted and purged from the system, then a retry of the original creation request
|
|
1832
|
+
# may be rejected).
|
|
1833
|
+
#
|
|
1834
|
+
# @return [Response] A Response object with data of type {OCI::Core::Models::IPSecConnection IPSecConnection}
|
|
1835
|
+
def create_ip_sec_connection(create_ip_sec_connection_details, opts = {})
|
|
1836
|
+
logger.debug 'Calling operation VirtualNetworkClient#create_ip_sec_connection.' if logger
|
|
1837
|
+
|
|
1838
|
+
raise "Missing the required parameter 'create_ip_sec_connection_details' when calling create_ip_sec_connection." if create_ip_sec_connection_details.nil?
|
|
1839
|
+
|
|
1840
|
+
path = '/ipsecConnections'
|
|
1841
|
+
operation_signing_strategy = :standard
|
|
1842
|
+
|
|
1843
|
+
# rubocop:disable Style/NegatedIf
|
|
1844
|
+
# Query Params
|
|
1845
|
+
query_params = {}
|
|
1846
|
+
|
|
1847
|
+
# Header Params
|
|
1848
|
+
header_params = {}
|
|
1849
|
+
header_params[:accept] = 'application/json'
|
|
1850
|
+
header_params[:'content-type'] = 'application/json'
|
|
1851
|
+
header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
|
|
1852
|
+
# rubocop:enable Style/NegatedIf
|
|
1853
|
+
header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
|
|
1854
|
+
|
|
1855
|
+
post_body = @api_client.object_to_http_body(create_ip_sec_connection_details)
|
|
1856
|
+
|
|
1857
|
+
# rubocop:disable Metrics/BlockLength
|
|
1858
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'VirtualNetworkClient#create_ip_sec_connection') do
|
|
1859
|
+
@api_client.call_api(
|
|
1860
|
+
:POST,
|
|
1861
|
+
path,
|
|
1862
|
+
endpoint,
|
|
1863
|
+
header_params: header_params,
|
|
1864
|
+
query_params: query_params,
|
|
1865
|
+
operation_signing_strategy: operation_signing_strategy,
|
|
1866
|
+
body: post_body,
|
|
1867
|
+
return_type: 'OCI::Core::Models::IPSecConnection'
|
|
1868
|
+
)
|
|
1869
|
+
end
|
|
1870
|
+
# rubocop:enable Metrics/BlockLength
|
|
1871
|
+
end
|
|
1872
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
1873
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
1874
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
|
1875
|
+
|
|
1876
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
1877
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
1878
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
1879
|
+
|
|
1880
|
+
|
|
1881
|
+
# Creates an IPv6 for the specified VNIC.
|
|
1882
|
+
#
|
|
1883
|
+
# @param [OCI::Core::Models::CreateIpv6Details] create_ipv6_details Create IPv6 details.
|
|
1423
1884
|
# @param [Hash] opts the optional parameters
|
|
1424
1885
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
1425
1886
|
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
1887
|
+
# @option opts [String] :opc_request_id Unique identifier for the request.
|
|
1888
|
+
# If you need to contact Oracle about a particular request, please provide the request ID.
|
|
1889
|
+
#
|
|
1426
1890
|
# @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case of a timeout or
|
|
1427
1891
|
# server error without risk of executing that same action again. Retry tokens expire after 24
|
|
1428
1892
|
# hours, but can be invalidated before then due to conflicting operations (for example, if a resource
|
|
1429
1893
|
# has been deleted and purged from the system, then a retry of the original creation request
|
|
1430
1894
|
# may be rejected).
|
|
1431
1895
|
#
|
|
1432
|
-
# @return [Response] A Response object with data of type {OCI::Core::Models::
|
|
1433
|
-
def
|
|
1434
|
-
logger.debug 'Calling operation VirtualNetworkClient#
|
|
1896
|
+
# @return [Response] A Response object with data of type {OCI::Core::Models::Ipv6 Ipv6}
|
|
1897
|
+
def create_ipv6(create_ipv6_details, opts = {})
|
|
1898
|
+
logger.debug 'Calling operation VirtualNetworkClient#create_ipv6.' if logger
|
|
1435
1899
|
|
|
1436
|
-
raise "Missing the required parameter '
|
|
1900
|
+
raise "Missing the required parameter 'create_ipv6_details' when calling create_ipv6." if create_ipv6_details.nil?
|
|
1437
1901
|
|
|
1438
|
-
path = '/
|
|
1902
|
+
path = '/ipv6'
|
|
1439
1903
|
operation_signing_strategy = :standard
|
|
1440
1904
|
|
|
1441
1905
|
# rubocop:disable Style/NegatedIf
|
|
@@ -1446,14 +1910,15 @@ module OCI
|
|
|
1446
1910
|
header_params = {}
|
|
1447
1911
|
header_params[:accept] = 'application/json'
|
|
1448
1912
|
header_params[:'content-type'] = 'application/json'
|
|
1913
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
|
1449
1914
|
header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
|
|
1450
1915
|
# rubocop:enable Style/NegatedIf
|
|
1451
1916
|
header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
|
|
1452
1917
|
|
|
1453
|
-
post_body = @api_client.object_to_http_body(
|
|
1918
|
+
post_body = @api_client.object_to_http_body(create_ipv6_details)
|
|
1454
1919
|
|
|
1455
1920
|
# rubocop:disable Metrics/BlockLength
|
|
1456
|
-
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'VirtualNetworkClient#
|
|
1921
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'VirtualNetworkClient#create_ipv6') do
|
|
1457
1922
|
@api_client.call_api(
|
|
1458
1923
|
:POST,
|
|
1459
1924
|
path,
|
|
@@ -1462,7 +1927,7 @@ module OCI
|
|
|
1462
1927
|
query_params: query_params,
|
|
1463
1928
|
operation_signing_strategy: operation_signing_strategy,
|
|
1464
1929
|
body: post_body,
|
|
1465
|
-
return_type: 'OCI::Core::Models::
|
|
1930
|
+
return_type: 'OCI::Core::Models::Ipv6'
|
|
1466
1931
|
)
|
|
1467
1932
|
end
|
|
1468
1933
|
# rubocop:enable Metrics/BlockLength
|
|
@@ -2793,6 +3258,67 @@ module OCI
|
|
|
2793
3258
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
2794
3259
|
|
|
2795
3260
|
|
|
3261
|
+
# Unassigns and deletes the specified IPv6. You must specify the object's OCID.
|
|
3262
|
+
# The IPv6 address is returned to the subnet's pool of available addresses.
|
|
3263
|
+
#
|
|
3264
|
+
# @param [String] ipv6_id The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the IPv6.
|
|
3265
|
+
# @param [Hash] opts the optional parameters
|
|
3266
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
3267
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
3268
|
+
# @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
|
|
3269
|
+
# parameter to the value of the etag from a previous GET or POST response for that resource. The resource
|
|
3270
|
+
# will be updated or deleted only if the etag you provide matches the resource's current etag value.
|
|
3271
|
+
#
|
|
3272
|
+
# @option opts [String] :opc_request_id Unique identifier for the request.
|
|
3273
|
+
# If you need to contact Oracle about a particular request, please provide the request ID.
|
|
3274
|
+
#
|
|
3275
|
+
# @return [Response] A Response object with data of type nil
|
|
3276
|
+
def delete_ipv6(ipv6_id, opts = {})
|
|
3277
|
+
logger.debug 'Calling operation VirtualNetworkClient#delete_ipv6.' if logger
|
|
3278
|
+
|
|
3279
|
+
raise "Missing the required parameter 'ipv6_id' when calling delete_ipv6." if ipv6_id.nil?
|
|
3280
|
+
raise "Parameter value for 'ipv6_id' must not be blank" if OCI::Internal::Util.blank_string?(ipv6_id)
|
|
3281
|
+
|
|
3282
|
+
path = '/ipv6/{ipv6Id}'.sub('{ipv6Id}', ipv6_id.to_s)
|
|
3283
|
+
operation_signing_strategy = :standard
|
|
3284
|
+
|
|
3285
|
+
# rubocop:disable Style/NegatedIf
|
|
3286
|
+
# Query Params
|
|
3287
|
+
query_params = {}
|
|
3288
|
+
|
|
3289
|
+
# Header Params
|
|
3290
|
+
header_params = {}
|
|
3291
|
+
header_params[:accept] = 'application/json'
|
|
3292
|
+
header_params[:'content-type'] = 'application/json'
|
|
3293
|
+
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
|
3294
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
|
3295
|
+
# rubocop:enable Style/NegatedIf
|
|
3296
|
+
|
|
3297
|
+
post_body = nil
|
|
3298
|
+
|
|
3299
|
+
# rubocop:disable Metrics/BlockLength
|
|
3300
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'VirtualNetworkClient#delete_ipv6') do
|
|
3301
|
+
@api_client.call_api(
|
|
3302
|
+
:DELETE,
|
|
3303
|
+
path,
|
|
3304
|
+
endpoint,
|
|
3305
|
+
header_params: header_params,
|
|
3306
|
+
query_params: query_params,
|
|
3307
|
+
operation_signing_strategy: operation_signing_strategy,
|
|
3308
|
+
body: post_body
|
|
3309
|
+
)
|
|
3310
|
+
end
|
|
3311
|
+
# rubocop:enable Metrics/BlockLength
|
|
3312
|
+
end
|
|
3313
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
3314
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
3315
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
|
3316
|
+
|
|
3317
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
3318
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
3319
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
3320
|
+
|
|
3321
|
+
|
|
2796
3322
|
# Deletes the specified local peering gateway (LPG).
|
|
2797
3323
|
#
|
|
2798
3324
|
# This is an asynchronous operation; the local peering gateway's `lifecycleState` changes to TERMINATING temporarily
|
|
@@ -4067,6 +4593,65 @@ module OCI
|
|
|
4067
4593
|
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
|
4068
4594
|
# rubocop:enable Lint/UnusedMethodArgument
|
|
4069
4595
|
|
|
4596
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
4597
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
4598
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
4599
|
+
|
|
4600
|
+
|
|
4601
|
+
# Gets the specified IPv6. You must specify the object's OCID.
|
|
4602
|
+
# Alternatively, you can get the object by using
|
|
4603
|
+
# {#list_ipv6s list_ipv6s}
|
|
4604
|
+
# with the IPv6 address (for example, 2001:0db8:0123:1111:98fe:dcba:9876:4321) and subnet OCID.
|
|
4605
|
+
#
|
|
4606
|
+
# @param [String] ipv6_id The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the IPv6.
|
|
4607
|
+
# @param [Hash] opts the optional parameters
|
|
4608
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
4609
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
4610
|
+
# @option opts [String] :opc_request_id Unique identifier for the request.
|
|
4611
|
+
# If you need to contact Oracle about a particular request, please provide the request ID.
|
|
4612
|
+
#
|
|
4613
|
+
# @return [Response] A Response object with data of type {OCI::Core::Models::Ipv6 Ipv6}
|
|
4614
|
+
def get_ipv6(ipv6_id, opts = {})
|
|
4615
|
+
logger.debug 'Calling operation VirtualNetworkClient#get_ipv6.' if logger
|
|
4616
|
+
|
|
4617
|
+
raise "Missing the required parameter 'ipv6_id' when calling get_ipv6." if ipv6_id.nil?
|
|
4618
|
+
raise "Parameter value for 'ipv6_id' must not be blank" if OCI::Internal::Util.blank_string?(ipv6_id)
|
|
4619
|
+
|
|
4620
|
+
path = '/ipv6/{ipv6Id}'.sub('{ipv6Id}', ipv6_id.to_s)
|
|
4621
|
+
operation_signing_strategy = :standard
|
|
4622
|
+
|
|
4623
|
+
# rubocop:disable Style/NegatedIf
|
|
4624
|
+
# Query Params
|
|
4625
|
+
query_params = {}
|
|
4626
|
+
|
|
4627
|
+
# Header Params
|
|
4628
|
+
header_params = {}
|
|
4629
|
+
header_params[:accept] = 'application/json'
|
|
4630
|
+
header_params[:'content-type'] = 'application/json'
|
|
4631
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
|
4632
|
+
# rubocop:enable Style/NegatedIf
|
|
4633
|
+
|
|
4634
|
+
post_body = nil
|
|
4635
|
+
|
|
4636
|
+
# rubocop:disable Metrics/BlockLength
|
|
4637
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'VirtualNetworkClient#get_ipv6') do
|
|
4638
|
+
@api_client.call_api(
|
|
4639
|
+
:GET,
|
|
4640
|
+
path,
|
|
4641
|
+
endpoint,
|
|
4642
|
+
header_params: header_params,
|
|
4643
|
+
query_params: query_params,
|
|
4644
|
+
operation_signing_strategy: operation_signing_strategy,
|
|
4645
|
+
body: post_body,
|
|
4646
|
+
return_type: 'OCI::Core::Models::Ipv6'
|
|
4647
|
+
)
|
|
4648
|
+
end
|
|
4649
|
+
# rubocop:enable Metrics/BlockLength
|
|
4650
|
+
end
|
|
4651
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
4652
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
4653
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
|
4654
|
+
|
|
4070
4655
|
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
4071
4656
|
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
4072
4657
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
@@ -6415,6 +7000,86 @@ module OCI
|
|
|
6415
7000
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
6416
7001
|
|
|
6417
7002
|
|
|
7003
|
+
# Lists the {Ipv6} objects based
|
|
7004
|
+
# on one of these filters:
|
|
7005
|
+
#
|
|
7006
|
+
# * Subnet OCID.
|
|
7007
|
+
# * VNIC OCID.
|
|
7008
|
+
# * Both IPv6 address and subnet OCID: This lets you get an `Ipv6` object based on its private
|
|
7009
|
+
# IPv6 address (for example, 2001:0db8:0123:1111:abcd:ef01:2345:6789) and not its OCID. For comparison,
|
|
7010
|
+
# {#get_ipv6 get_ipv6} requires the OCID.
|
|
7011
|
+
#
|
|
7012
|
+
# @param [Hash] opts the optional parameters
|
|
7013
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
7014
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
7015
|
+
# @option opts [Integer] :limit For list pagination. The maximum number of results per page, or items to return in a paginated
|
|
7016
|
+
# \"List\" call. For important details about how pagination works, see
|
|
7017
|
+
# [List Pagination](https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
|
|
7018
|
+
#
|
|
7019
|
+
# Example: `50`
|
|
7020
|
+
#
|
|
7021
|
+
# @option opts [String] :page For list pagination. The value of the `opc-next-page` response header from the previous \"List\"
|
|
7022
|
+
# call. For important details about how pagination works, see
|
|
7023
|
+
# [List Pagination](https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
|
|
7024
|
+
#
|
|
7025
|
+
# @option opts [String] :ip_address An IP address. This could be either IPv4 or IPv6, depending on the resource.
|
|
7026
|
+
# Example: `10.0.3.3`
|
|
7027
|
+
#
|
|
7028
|
+
# @option opts [String] :subnet_id The OCID of the subnet.
|
|
7029
|
+
# @option opts [String] :vnic_id The OCID of the VNIC.
|
|
7030
|
+
# @option opts [String] :opc_request_id Unique identifier for the request.
|
|
7031
|
+
# If you need to contact Oracle about a particular request, please provide the request ID.
|
|
7032
|
+
#
|
|
7033
|
+
# @return [Response] A Response object with data of type Array<{OCI::Core::Models::Ipv6 Ipv6}>
|
|
7034
|
+
def list_ipv6s(opts = {})
|
|
7035
|
+
logger.debug 'Calling operation VirtualNetworkClient#list_ipv6s.' if logger
|
|
7036
|
+
|
|
7037
|
+
|
|
7038
|
+
path = '/ipv6'
|
|
7039
|
+
operation_signing_strategy = :standard
|
|
7040
|
+
|
|
7041
|
+
# rubocop:disable Style/NegatedIf
|
|
7042
|
+
# Query Params
|
|
7043
|
+
query_params = {}
|
|
7044
|
+
query_params[:limit] = opts[:limit] if opts[:limit]
|
|
7045
|
+
query_params[:page] = opts[:page] if opts[:page]
|
|
7046
|
+
query_params[:ipAddress] = opts[:ip_address] if opts[:ip_address]
|
|
7047
|
+
query_params[:subnetId] = opts[:subnet_id] if opts[:subnet_id]
|
|
7048
|
+
query_params[:vnicId] = opts[:vnic_id] if opts[:vnic_id]
|
|
7049
|
+
|
|
7050
|
+
# Header Params
|
|
7051
|
+
header_params = {}
|
|
7052
|
+
header_params[:accept] = 'application/json'
|
|
7053
|
+
header_params[:'content-type'] = 'application/json'
|
|
7054
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
|
7055
|
+
# rubocop:enable Style/NegatedIf
|
|
7056
|
+
|
|
7057
|
+
post_body = nil
|
|
7058
|
+
|
|
7059
|
+
# rubocop:disable Metrics/BlockLength
|
|
7060
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'VirtualNetworkClient#list_ipv6s') do
|
|
7061
|
+
@api_client.call_api(
|
|
7062
|
+
:GET,
|
|
7063
|
+
path,
|
|
7064
|
+
endpoint,
|
|
7065
|
+
header_params: header_params,
|
|
7066
|
+
query_params: query_params,
|
|
7067
|
+
operation_signing_strategy: operation_signing_strategy,
|
|
7068
|
+
body: post_body,
|
|
7069
|
+
return_type: 'Array<OCI::Core::Models::Ipv6>'
|
|
7070
|
+
)
|
|
7071
|
+
end
|
|
7072
|
+
# rubocop:enable Metrics/BlockLength
|
|
7073
|
+
end
|
|
7074
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
7075
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
7076
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
|
7077
|
+
|
|
7078
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
7079
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
7080
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
7081
|
+
|
|
7082
|
+
|
|
6418
7083
|
# Lists the local peering gateways (LPGs) for the specified VCN and compartment
|
|
6419
7084
|
# (the LPG's compartment).
|
|
6420
7085
|
#
|
|
@@ -6880,7 +7545,7 @@ module OCI
|
|
|
6880
7545
|
# call. For important details about how pagination works, see
|
|
6881
7546
|
# [List Pagination](https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
|
|
6882
7547
|
#
|
|
6883
|
-
# @option opts [String] :ip_address An IP address.
|
|
7548
|
+
# @option opts [String] :ip_address An IP address. This could be either IPv4 or IPv6, depending on the resource.
|
|
6884
7549
|
# Example: `10.0.3.3`
|
|
6885
7550
|
#
|
|
6886
7551
|
# @option opts [String] :subnet_id The OCID of the subnet.
|
|
@@ -8582,6 +9247,75 @@ module OCI
|
|
|
8582
9247
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
8583
9248
|
|
|
8584
9249
|
|
|
9250
|
+
# Updates the specified IPv6. You must specify the object's OCID.
|
|
9251
|
+
# Use this operation if you want to:
|
|
9252
|
+
#
|
|
9253
|
+
# * Move an IPv6 to a different VNIC in the same subnet.
|
|
9254
|
+
# * Enable/disable internet access for an IPv6.
|
|
9255
|
+
# * Change the display name for an IPv6.
|
|
9256
|
+
# * Update resource tags for an IPv6.
|
|
9257
|
+
#
|
|
9258
|
+
# @param [String] ipv6_id The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the IPv6.
|
|
9259
|
+
# @param [OCI::Core::Models::UpdateIpv6Details] update_ipv6_details IPv6 details to be updated.
|
|
9260
|
+
# @param [Hash] opts the optional parameters
|
|
9261
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
9262
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
9263
|
+
# @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
|
|
9264
|
+
# parameter to the value of the etag from a previous GET or POST response for that resource. The resource
|
|
9265
|
+
# will be updated or deleted only if the etag you provide matches the resource's current etag value.
|
|
9266
|
+
#
|
|
9267
|
+
# @option opts [String] :opc_request_id Unique identifier for the request.
|
|
9268
|
+
# If you need to contact Oracle about a particular request, please provide the request ID.
|
|
9269
|
+
#
|
|
9270
|
+
# @return [Response] A Response object with data of type {OCI::Core::Models::Ipv6 Ipv6}
|
|
9271
|
+
def update_ipv6(ipv6_id, update_ipv6_details, opts = {})
|
|
9272
|
+
logger.debug 'Calling operation VirtualNetworkClient#update_ipv6.' if logger
|
|
9273
|
+
|
|
9274
|
+
raise "Missing the required parameter 'ipv6_id' when calling update_ipv6." if ipv6_id.nil?
|
|
9275
|
+
raise "Missing the required parameter 'update_ipv6_details' when calling update_ipv6." if update_ipv6_details.nil?
|
|
9276
|
+
raise "Parameter value for 'ipv6_id' must not be blank" if OCI::Internal::Util.blank_string?(ipv6_id)
|
|
9277
|
+
|
|
9278
|
+
path = '/ipv6/{ipv6Id}'.sub('{ipv6Id}', ipv6_id.to_s)
|
|
9279
|
+
operation_signing_strategy = :standard
|
|
9280
|
+
|
|
9281
|
+
# rubocop:disable Style/NegatedIf
|
|
9282
|
+
# Query Params
|
|
9283
|
+
query_params = {}
|
|
9284
|
+
|
|
9285
|
+
# Header Params
|
|
9286
|
+
header_params = {}
|
|
9287
|
+
header_params[:accept] = 'application/json'
|
|
9288
|
+
header_params[:'content-type'] = 'application/json'
|
|
9289
|
+
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
|
9290
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
|
9291
|
+
# rubocop:enable Style/NegatedIf
|
|
9292
|
+
|
|
9293
|
+
post_body = @api_client.object_to_http_body(update_ipv6_details)
|
|
9294
|
+
|
|
9295
|
+
# rubocop:disable Metrics/BlockLength
|
|
9296
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'VirtualNetworkClient#update_ipv6') do
|
|
9297
|
+
@api_client.call_api(
|
|
9298
|
+
:PUT,
|
|
9299
|
+
path,
|
|
9300
|
+
endpoint,
|
|
9301
|
+
header_params: header_params,
|
|
9302
|
+
query_params: query_params,
|
|
9303
|
+
operation_signing_strategy: operation_signing_strategy,
|
|
9304
|
+
body: post_body,
|
|
9305
|
+
return_type: 'OCI::Core::Models::Ipv6'
|
|
9306
|
+
)
|
|
9307
|
+
end
|
|
9308
|
+
# rubocop:enable Metrics/BlockLength
|
|
9309
|
+
end
|
|
9310
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
9311
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
9312
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
|
9313
|
+
|
|
9314
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
9315
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
9316
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
9317
|
+
|
|
9318
|
+
|
|
8585
9319
|
# Updates the specified local peering gateway (LPG).
|
|
8586
9320
|
#
|
|
8587
9321
|
# @param [String] local_peering_gateway_id The OCID of the local peering gateway.
|