oraclebmc 1.2.3 → 1.2.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (170) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +2 -2
  3. data/lib/oraclebmc/core/blockstorage_client.rb +16 -11
  4. data/lib/oraclebmc/core/compute_client.rb +227 -37
  5. data/lib/oraclebmc/core/core.rb +11 -0
  6. data/lib/oraclebmc/core/models/attach_i_scsi_volume_details.rb +1 -2
  7. data/lib/oraclebmc/core/models/attach_vnic_details.rb +144 -0
  8. data/lib/oraclebmc/core/models/attach_volume_details.rb +5 -6
  9. data/lib/oraclebmc/core/models/capture_console_history_details.rb +1 -2
  10. data/lib/oraclebmc/core/models/console_history.rb +8 -8
  11. data/lib/oraclebmc/core/models/cpe.rb +7 -6
  12. data/lib/oraclebmc/core/models/create_cpe_details.rb +4 -5
  13. data/lib/oraclebmc/core/models/create_cross_connect_details.rb +9 -8
  14. data/lib/oraclebmc/core/models/create_cross_connect_group_details.rb +4 -3
  15. data/lib/oraclebmc/core/models/create_dhcp_details.rb +5 -6
  16. data/lib/oraclebmc/core/models/create_drg_attachment_details.rb +4 -5
  17. data/lib/oraclebmc/core/models/create_drg_details.rb +3 -4
  18. data/lib/oraclebmc/core/models/create_image_details.rb +19 -7
  19. data/lib/oraclebmc/core/models/create_internet_gateway_details.rb +5 -6
  20. data/lib/oraclebmc/core/models/create_ip_sec_connection_details.rb +6 -7
  21. data/lib/oraclebmc/core/models/create_private_ip_details.rb +173 -0
  22. data/lib/oraclebmc/core/models/create_route_table_details.rb +5 -6
  23. data/lib/oraclebmc/core/models/create_security_list_details.rb +6 -7
  24. data/lib/oraclebmc/core/models/create_subnet_details.rb +14 -15
  25. data/lib/oraclebmc/core/models/create_vcn_details.rb +6 -8
  26. data/lib/oraclebmc/core/models/create_virtual_circuit_details.rb +11 -12
  27. data/lib/oraclebmc/core/models/create_vnic_details.rb +39 -27
  28. data/lib/oraclebmc/core/models/create_volume_backup_details.rb +4 -3
  29. data/lib/oraclebmc/core/models/create_volume_details.rb +6 -6
  30. data/lib/oraclebmc/core/models/cross_connect.rb +11 -10
  31. data/lib/oraclebmc/core/models/cross_connect_group.rb +6 -6
  32. data/lib/oraclebmc/core/models/cross_connect_location.rb +2 -3
  33. data/lib/oraclebmc/core/models/cross_connect_mapping.rb +5 -6
  34. data/lib/oraclebmc/core/models/cross_connect_port_speed_shape.rb +2 -3
  35. data/lib/oraclebmc/core/models/cross_connect_status.rb +4 -5
  36. data/lib/oraclebmc/core/models/dhcp_dns_option.rb +2 -3
  37. data/lib/oraclebmc/core/models/dhcp_option.rb +1 -2
  38. data/lib/oraclebmc/core/models/dhcp_options.rb +9 -8
  39. data/lib/oraclebmc/core/models/dhcp_search_domain_option.rb +1 -2
  40. data/lib/oraclebmc/core/models/drg.rb +7 -6
  41. data/lib/oraclebmc/core/models/drg_attachment.rb +9 -8
  42. data/lib/oraclebmc/core/models/egress_security_rule.rb +6 -7
  43. data/lib/oraclebmc/core/models/export_image_details.rb +134 -0
  44. data/lib/oraclebmc/core/models/export_image_via_object_storage_tuple_details.rb +150 -0
  45. data/lib/oraclebmc/core/models/export_image_via_object_storage_uri_details.rb +130 -0
  46. data/lib/oraclebmc/core/models/fast_connect_provider_service.rb +3 -4
  47. data/lib/oraclebmc/core/models/i_scsi_volume_attachment.rb +5 -6
  48. data/lib/oraclebmc/core/models/icmp_options.rb +2 -3
  49. data/lib/oraclebmc/core/models/image.rb +12 -10
  50. data/lib/oraclebmc/core/models/image_source_details.rb +134 -0
  51. data/lib/oraclebmc/core/models/image_source_via_object_storage_tuple_details.rb +150 -0
  52. data/lib/oraclebmc/core/models/image_source_via_object_storage_uri_details.rb +128 -0
  53. data/lib/oraclebmc/core/models/ingress_security_rule.rb +6 -7
  54. data/lib/oraclebmc/core/models/instance.rb +13 -13
  55. data/lib/oraclebmc/core/models/instance_credentials.rb +2 -3
  56. data/lib/oraclebmc/core/models/internet_gateway.rb +9 -8
  57. data/lib/oraclebmc/core/models/ip_sec_connection.rb +10 -9
  58. data/lib/oraclebmc/core/models/ip_sec_connection_device_config.rb +4 -5
  59. data/lib/oraclebmc/core/models/ip_sec_connection_device_status.rb +4 -5
  60. data/lib/oraclebmc/core/models/launch_instance_details.rb +17 -15
  61. data/lib/oraclebmc/core/models/letter_of_authority.rb +6 -7
  62. data/lib/oraclebmc/core/models/port_range.rb +2 -3
  63. data/lib/oraclebmc/core/models/private_ip.rb +248 -0
  64. data/lib/oraclebmc/core/models/route_rule.rb +2 -3
  65. data/lib/oraclebmc/core/models/route_table.rb +9 -8
  66. data/lib/oraclebmc/core/models/security_list.rb +10 -9
  67. data/lib/oraclebmc/core/models/shape.rb +1 -2
  68. data/lib/oraclebmc/core/models/subnet.rb +21 -19
  69. data/lib/oraclebmc/core/models/tcp_options.rb +2 -3
  70. data/lib/oraclebmc/core/models/tunnel_config.rb +3 -4
  71. data/lib/oraclebmc/core/models/tunnel_status.rb +4 -5
  72. data/lib/oraclebmc/core/models/udp_options.rb +2 -3
  73. data/lib/oraclebmc/core/models/update_cpe_details.rb +3 -2
  74. data/lib/oraclebmc/core/models/update_cross_connect_details.rb +4 -3
  75. data/lib/oraclebmc/core/models/update_cross_connect_group_details.rb +3 -2
  76. data/lib/oraclebmc/core/models/update_dhcp_details.rb +4 -3
  77. data/lib/oraclebmc/core/models/update_drg_attachment_details.rb +3 -2
  78. data/lib/oraclebmc/core/models/update_drg_details.rb +3 -2
  79. data/lib/oraclebmc/core/models/update_image_details.rb +3 -3
  80. data/lib/oraclebmc/core/models/update_instance_details.rb +2 -2
  81. data/lib/oraclebmc/core/models/update_internet_gateway_details.rb +4 -3
  82. data/lib/oraclebmc/core/models/update_ip_sec_connection_details.rb +3 -2
  83. data/lib/oraclebmc/core/models/update_private_ip_details.rb +157 -0
  84. data/lib/oraclebmc/core/models/update_route_table_details.rb +4 -3
  85. data/lib/oraclebmc/core/models/update_security_list_details.rb +5 -4
  86. data/lib/oraclebmc/core/models/update_subnet_details.rb +3 -2
  87. data/lib/oraclebmc/core/models/update_vcn_details.rb +3 -2
  88. data/lib/oraclebmc/core/models/update_virtual_circuit_details.rb +8 -8
  89. data/lib/oraclebmc/core/models/update_vnic_details.rb +144 -0
  90. data/lib/oraclebmc/core/models/update_volume_backup_details.rb +3 -2
  91. data/lib/oraclebmc/core/models/update_volume_details.rb +2 -2
  92. data/lib/oraclebmc/core/models/vcn.rb +13 -12
  93. data/lib/oraclebmc/core/models/virtual_circuit.rb +18 -18
  94. data/lib/oraclebmc/core/models/virtual_circuit_bandwidth_shape.rb +2 -3
  95. data/lib/oraclebmc/core/models/vnic.rb +47 -19
  96. data/lib/oraclebmc/core/models/vnic_attachment.rb +33 -15
  97. data/lib/oraclebmc/core/models/volume.rb +8 -8
  98. data/lib/oraclebmc/core/models/volume_attachment.rb +10 -10
  99. data/lib/oraclebmc/core/models/volume_backup.rb +11 -10
  100. data/lib/oraclebmc/core/virtual_network_client.rb +364 -87
  101. data/lib/oraclebmc/errors.rb +19 -1
  102. data/lib/oraclebmc/identity/identity_client.rb +31 -31
  103. data/lib/oraclebmc/identity/models/add_user_to_group_details.rb +2 -3
  104. data/lib/oraclebmc/identity/models/api_key.rb +7 -8
  105. data/lib/oraclebmc/identity/models/availability_domain.rb +2 -3
  106. data/lib/oraclebmc/identity/models/compartment.rb +7 -8
  107. data/lib/oraclebmc/identity/models/create_api_key_details.rb +1 -2
  108. data/lib/oraclebmc/identity/models/create_compartment_details.rb +3 -4
  109. data/lib/oraclebmc/identity/models/create_group_details.rb +3 -4
  110. data/lib/oraclebmc/identity/models/create_identity_provider_details.rb +5 -6
  111. data/lib/oraclebmc/identity/models/create_idp_group_mapping_details.rb +2 -3
  112. data/lib/oraclebmc/identity/models/create_policy_details.rb +5 -6
  113. data/lib/oraclebmc/identity/models/create_region_subscription_details.rb +1 -2
  114. data/lib/oraclebmc/identity/models/create_saml2_identity_provider_details.rb +2 -3
  115. data/lib/oraclebmc/identity/models/create_swift_password_details.rb +1 -2
  116. data/lib/oraclebmc/identity/models/create_user_details.rb +3 -4
  117. data/lib/oraclebmc/identity/models/group.rb +7 -8
  118. data/lib/oraclebmc/identity/models/identity_provider.rb +9 -10
  119. data/lib/oraclebmc/identity/models/idp_group_mapping.rb +8 -9
  120. data/lib/oraclebmc/identity/models/policy.rb +9 -10
  121. data/lib/oraclebmc/identity/models/region.rb +2 -3
  122. data/lib/oraclebmc/identity/models/region_subscription.rb +4 -5
  123. data/lib/oraclebmc/identity/models/saml2_identity_provider.rb +3 -4
  124. data/lib/oraclebmc/identity/models/swift_password.rb +8 -9
  125. data/lib/oraclebmc/identity/models/tenancy.rb +4 -5
  126. data/lib/oraclebmc/identity/models/ui_password.rb +5 -6
  127. data/lib/oraclebmc/identity/models/update_compartment_details.rb +1 -2
  128. data/lib/oraclebmc/identity/models/update_group_details.rb +1 -2
  129. data/lib/oraclebmc/identity/models/update_identity_provider_details.rb +2 -3
  130. data/lib/oraclebmc/identity/models/update_idp_group_mapping_details.rb +2 -3
  131. data/lib/oraclebmc/identity/models/update_policy_details.rb +3 -4
  132. data/lib/oraclebmc/identity/models/update_saml2_identity_provider_details.rb +2 -3
  133. data/lib/oraclebmc/identity/models/update_state_details.rb +1 -2
  134. data/lib/oraclebmc/identity/models/update_swift_password_details.rb +1 -2
  135. data/lib/oraclebmc/identity/models/update_user_details.rb +1 -2
  136. data/lib/oraclebmc/identity/models/user.rb +7 -8
  137. data/lib/oraclebmc/identity/models/user_group_membership.rb +7 -8
  138. data/lib/oraclebmc/load_balancer/load_balancer_client.rb +11 -11
  139. data/lib/oraclebmc/load_balancer/models/backend.rb +7 -8
  140. data/lib/oraclebmc/load_balancer/models/backend_details.rb +6 -7
  141. data/lib/oraclebmc/load_balancer/models/backend_set.rb +6 -7
  142. data/lib/oraclebmc/load_balancer/models/backend_set_details.rb +5 -6
  143. data/lib/oraclebmc/load_balancer/models/certificate.rb +3 -4
  144. data/lib/oraclebmc/load_balancer/models/certificate_details.rb +5 -6
  145. data/lib/oraclebmc/load_balancer/models/create_backend_details.rb +6 -7
  146. data/lib/oraclebmc/load_balancer/models/create_backend_set_details.rb +6 -7
  147. data/lib/oraclebmc/load_balancer/models/create_certificate_details.rb +5 -6
  148. data/lib/oraclebmc/load_balancer/models/create_listener_details.rb +5 -6
  149. data/lib/oraclebmc/load_balancer/models/create_load_balancer_details.rb +8 -9
  150. data/lib/oraclebmc/load_balancer/models/health_checker.rb +8 -9
  151. data/lib/oraclebmc/load_balancer/models/health_checker_details.rb +8 -9
  152. data/lib/oraclebmc/load_balancer/models/ip_address.rb +2 -3
  153. data/lib/oraclebmc/load_balancer/models/listener.rb +5 -6
  154. data/lib/oraclebmc/load_balancer/models/listener_details.rb +4 -5
  155. data/lib/oraclebmc/load_balancer/models/load_balancer.rb +12 -13
  156. data/lib/oraclebmc/load_balancer/models/load_balancer_policy.rb +1 -2
  157. data/lib/oraclebmc/load_balancer/models/load_balancer_protocol.rb +1 -2
  158. data/lib/oraclebmc/load_balancer/models/load_balancer_shape.rb +1 -2
  159. data/lib/oraclebmc/load_balancer/models/session_persistence_configuration_details.rb +2 -3
  160. data/lib/oraclebmc/load_balancer/models/ssl_configuration.rb +3 -4
  161. data/lib/oraclebmc/load_balancer/models/ssl_configuration_details.rb +3 -4
  162. data/lib/oraclebmc/load_balancer/models/update_backend_details.rb +4 -5
  163. data/lib/oraclebmc/load_balancer/models/update_backend_set_details.rb +5 -6
  164. data/lib/oraclebmc/load_balancer/models/update_health_checker_details.rb +8 -9
  165. data/lib/oraclebmc/load_balancer/models/update_listener_details.rb +4 -5
  166. data/lib/oraclebmc/load_balancer/models/update_load_balancer_details.rb +1 -2
  167. data/lib/oraclebmc/load_balancer/models/work_request.rb +8 -9
  168. data/lib/oraclebmc/load_balancer/models/work_request_error.rb +2 -3
  169. data/lib/oraclebmc/version.rb +1 -1
  170. metadata +13 -2
@@ -25,6 +25,7 @@ module OracleBMC
25
25
  attr_accessor :compartment_id
26
26
 
27
27
  # A user-friendly name. Does not have to be unique, and it's changeable.
28
+ # Avoid entering confidential information.
28
29
  #
29
30
  # @return [String]
30
31
  attr_accessor :display_name
@@ -54,35 +55,34 @@ module OracleBMC
54
55
  # convert string to symbol for hash key
55
56
  attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
56
57
 
57
-
58
58
  if attributes[:'availabilityDomain']
59
59
  self.availability_domain = attributes[:'availabilityDomain']
60
60
  end
61
-
61
+
62
62
  if attributes[:'compartmentId']
63
63
  self.compartment_id = attributes[:'compartmentId']
64
64
  end
65
-
65
+
66
66
  if attributes[:'displayName']
67
67
  self.display_name = attributes[:'displayName']
68
68
  end
69
-
69
+
70
70
  if attributes[:'id']
71
71
  self.id = attributes[:'id']
72
72
  end
73
-
73
+
74
74
  if attributes[:'lifecycleState']
75
75
  self.lifecycle_state = attributes[:'lifecycleState']
76
76
  end
77
-
77
+
78
78
  if attributes[:'sizeInMBs']
79
79
  self.size_in_m_bs = attributes[:'sizeInMBs']
80
80
  end
81
-
81
+
82
82
  if attributes[:'timeCreated']
83
83
  self.time_created = attributes[:'timeCreated']
84
84
  end
85
-
85
+
86
86
  end
87
87
 
88
88
  # Custom attribute writer method checking allowed values (enum).
@@ -27,6 +27,7 @@ module OracleBMC
27
27
  attr_accessor :compartment_id
28
28
 
29
29
  # A user-friendly name. Does not have to be unique, and it cannot be changed.
30
+ # Avoid entering confidential information.
30
31
  #
31
32
  # Example: `My volume attachment`
32
33
  #
@@ -76,43 +77,42 @@ module OracleBMC
76
77
  # convert string to symbol for hash key
77
78
  attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
78
79
 
79
-
80
80
  if attributes[:'attachmentType']
81
81
  self.attachment_type = attributes[:'attachmentType']
82
82
  end
83
-
83
+
84
84
  if attributes[:'availabilityDomain']
85
85
  self.availability_domain = attributes[:'availabilityDomain']
86
86
  end
87
-
87
+
88
88
  if attributes[:'compartmentId']
89
89
  self.compartment_id = attributes[:'compartmentId']
90
90
  end
91
-
91
+
92
92
  if attributes[:'displayName']
93
93
  self.display_name = attributes[:'displayName']
94
94
  end
95
-
95
+
96
96
  if attributes[:'id']
97
97
  self.id = attributes[:'id']
98
98
  end
99
-
99
+
100
100
  if attributes[:'instanceId']
101
101
  self.instance_id = attributes[:'instanceId']
102
102
  end
103
-
103
+
104
104
  if attributes[:'lifecycleState']
105
105
  self.lifecycle_state = attributes[:'lifecycleState']
106
106
  end
107
-
107
+
108
108
  if attributes[:'timeCreated']
109
109
  self.time_created = attributes[:'timeCreated']
110
110
  end
111
-
111
+
112
112
  if attributes[:'volumeId']
113
113
  self.volume_id = attributes[:'volumeId']
114
114
  end
115
-
115
+
116
116
  end
117
117
 
118
118
  # Custom attribute writer method checking allowed values (enum).
@@ -18,6 +18,8 @@ module OracleBMC
18
18
  attr_accessor :compartment_id
19
19
 
20
20
  # A user-friendly name for the volume backup. Does not have to be unique and it's changeable.
21
+ # Avoid entering confidential information.
22
+ #
21
23
  # @return [String]
22
24
  attr_accessor :display_name
23
25
 
@@ -64,43 +66,42 @@ module OracleBMC
64
66
  # convert string to symbol for hash key
65
67
  attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
66
68
 
67
-
68
69
  if attributes[:'compartmentId']
69
70
  self.compartment_id = attributes[:'compartmentId']
70
71
  end
71
-
72
+
72
73
  if attributes[:'displayName']
73
74
  self.display_name = attributes[:'displayName']
74
75
  end
75
-
76
+
76
77
  if attributes[:'id']
77
78
  self.id = attributes[:'id']
78
79
  end
79
-
80
+
80
81
  if attributes[:'lifecycleState']
81
82
  self.lifecycle_state = attributes[:'lifecycleState']
82
83
  end
83
-
84
+
84
85
  if attributes[:'sizeInMBs']
85
86
  self.size_in_m_bs = attributes[:'sizeInMBs']
86
87
  end
87
-
88
+
88
89
  if attributes[:'timeCreated']
89
90
  self.time_created = attributes[:'timeCreated']
90
91
  end
91
-
92
+
92
93
  if attributes[:'timeRequestReceived']
93
94
  self.time_request_received = attributes[:'timeRequestReceived']
94
95
  end
95
-
96
+
96
97
  if attributes[:'uniqueSizeInMbs']
97
98
  self.unique_size_in_mbs = attributes[:'uniqueSizeInMbs']
98
99
  end
99
-
100
+
100
101
  if attributes[:'volumeId']
101
102
  self.volume_id = attributes[:'volumeId']
102
103
  end
103
-
104
+
104
105
  end
105
106
 
106
107
  # Custom attribute writer method checking allowed values (enum).
@@ -70,7 +70,7 @@ module OracleBMC
70
70
  # [Configuring Your On-Premise Router](https://docs.us-phoenix-1.oraclecloud.com/Content/Network/Tasks/configuringCPE.htm).
71
71
  #
72
72
  # You may optionally specify a *display name* for the CPE, otherwise a default is provided. It does not have to
73
- # be unique, and you can change it.
73
+ # be unique, and you can change it. Avoid entering confidential information.
74
74
  #
75
75
  # @param [CreateCpeDetails] create_cpe_details Details for creating a CPE.
76
76
  # @param [Hash] opts the optional parameters
@@ -127,7 +127,7 @@ module OracleBMC
127
127
  # [Resource Identifiers](https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm).
128
128
  #
129
129
  # You may optionally specify a *display name* for the cross-connect.
130
- # It does not have to be unique, and you can change it.
130
+ # It does not have to be unique, and you can change it. Avoid entering confidential information.
131
131
  #
132
132
  # @param [CreateCrossConnectDetails] create_cross_connect_details Details to create a CrossConnect
133
133
  # @param [Hash] opts the optional parameters
@@ -180,7 +180,7 @@ module OracleBMC
180
180
  # [Resource Identifiers](https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm).
181
181
  #
182
182
  # You may optionally specify a *display name* for the cross-connect group.
183
- # It does not have to be unique, and you can change it.
183
+ # It does not have to be unique, and you can change it. Avoid entering confidential information.
184
184
  #
185
185
  # @param [CreateCrossConnectGroupDetails] create_cross_connect_group_details Details to create a CrossConnectGroup
186
186
  # @param [Hash] opts the optional parameters
@@ -230,7 +230,7 @@ module OracleBMC
230
230
  # [Resource Identifiers](https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm).
231
231
  #
232
232
  # You may optionally specify a *display name* for the set of DHCP options, otherwise a default is provided.
233
- # It does not have to be unique, and you can change it.
233
+ # It does not have to be unique, and you can change it. Avoid entering confidential information.
234
234
  #
235
235
  # @param [CreateDhcpDetails] create_dhcp_details Request object for creating a new set of DHCP options.
236
236
  # @param [Hash] opts the optional parameters
@@ -280,7 +280,7 @@ module OracleBMC
280
280
  # For information about OCIDs, see [Resource Identifiers](https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm).
281
281
  #
282
282
  # You may optionally specify a *display name* for the DRG, otherwise a default is provided.
283
- # It does not have to be unique, and you can change it.
283
+ # It does not have to be unique, and you can change it. Avoid entering confidential information.
284
284
  #
285
285
  # @param [CreateDrgDetails] create_drg_details Details for creating a DRG.
286
286
  # @param [Hash] opts the optional parameters
@@ -325,7 +325,7 @@ module OracleBMC
325
325
  # [Managing Dynamic Routing Gateways (DRGs)](https://docs.us-phoenix-1.oraclecloud.com/Content/Network/Tasks/managingDRGs.htm).
326
326
  #
327
327
  # You may optionally specify a *display name* for the attachment, otherwise a default is provided.
328
- # It does not have to be unique, and you can change it.
328
+ # It does not have to be unique, and you can change it. Avoid entering confidential information.
329
329
  #
330
330
  # For the purposes of access control, the DRG attachment is automatically placed into the same compartment
331
331
  # as the VCN. For more information about compartments and access control, see
@@ -379,7 +379,7 @@ module OracleBMC
379
379
  # [Resource Identifiers](https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm).
380
380
  #
381
381
  # You may optionally specify a *display name* for the Internet Gateway, otherwise a default is provided. It
382
- # does not have to be unique, and you can change it.
382
+ # does not have to be unique, and you can change it. Avoid entering confidential information.
383
383
  #
384
384
  # For traffic to flow between a subnet and an Internet Gateway, you must create a route rule accordingly in
385
385
  # the subnet's route table (e.g., 0.0.0.0/0 > Internet Gateway). See
@@ -442,7 +442,7 @@ module OracleBMC
442
442
  # For information about OCIDs, see [Resource Identifiers](https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm).
443
443
  #
444
444
  # You may optionally specify a *display name* for the IPSec connection, otherwise a default is provided.
445
- # It does not have to be unique, and you can change it.
445
+ # It does not have to be unique, and you can change it. Avoid entering confidential information.
446
446
  #
447
447
  # After creating the IPSec connection, you need to configure your on-premise router
448
448
  # with tunnel-specific information returned by
@@ -491,6 +491,47 @@ module OracleBMC
491
491
  :return_type => 'OracleBMC::Core::Models::IPSecConnection')
492
492
  end
493
493
 
494
+ # Creates a secondary private IP for the specified VNIC.
495
+ # For more information about secondary private IPs, see
496
+ # [Managing IP Addresses](https://docs.us-phoenix-1.oraclecloud.com/Content/Network/Tasks/managingIPaddresses.htm).
497
+ #
498
+ # @param [CreatePrivateIpDetails] create_private_ip_details Create private IP details.
499
+ # @param [Hash] opts the optional parameters
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
501
+ # server error without risk of executing that same action again. Retry tokens expire after 24
502
+ # hours, but can be invalidated before then due to conflicting operations (e.g., if a resource
503
+ # has been deleted and purged from the system, then a retry of the original creation request
504
+ # may be rejected).
505
+ #
506
+ # @return [Response] A Response object with data of type OracleBMC::Core::Models::PrivateIp
507
+ def create_private_ip(create_private_ip_details, opts = {})
508
+ logger.debug "Calling operation VirtualNetworkClient#create_private_ip." if logger
509
+
510
+ fail "Missing the required parameter 'create_private_ip_details' when calling create_private_ip." if create_private_ip_details.nil?
511
+
512
+ path = "/privateIps"
513
+
514
+ # Query Params
515
+ query_params = {}
516
+
517
+ # Header Params
518
+ header_params = {}
519
+ header_params['accept'] = 'application/json'
520
+ header_params['content-type'] = 'application/json'
521
+ header_params[:'opc-retry-token'] = opts[:'opc_retry_token'] if opts[:'opc_retry_token']
522
+
523
+ post_body = @api_client.object_to_http_body(create_private_ip_details)
524
+
525
+ return @api_client.call_api(
526
+ :POST,
527
+ path,
528
+ endpoint,
529
+ :header_params => header_params,
530
+ :query_params => query_params,
531
+ :body => post_body,
532
+ :return_type => 'OracleBMC::Core::Models::PrivateIp')
533
+ end
534
+
494
535
  # Creates a new route table for the specified VCN. In the request you must also include at least one route
495
536
  # rule for the new route table. For information on the number of rules you can have in a route table, see
496
537
  # [Service Limits](https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/servicelimits.htm). For general information about route
@@ -504,7 +545,7 @@ module OracleBMC
504
545
  # [Resource Identifiers](https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm).
505
546
  #
506
547
  # You may optionally specify a *display name* for the route table, otherwise a default is provided.
507
- # It does not have to be unique, and you can change it.
548
+ # It does not have to be unique, and you can change it. Avoid entering confidential information.
508
549
  #
509
550
  # @param [CreateRouteTableDetails] create_route_table_details Details for creating a new route table.
510
551
  # @param [Hash] opts the optional parameters
@@ -556,7 +597,7 @@ module OracleBMC
556
597
  # [Resource Identifiers](https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm).
557
598
  #
558
599
  # You may optionally specify a *display name* for the security list, otherwise a default is provided.
559
- # It does not have to be unique, and you can change it.
600
+ # It does not have to be unique, and you can change it. Avoid entering confidential information.
560
601
  #
561
602
  # @param [CreateSecurityListDetails] create_security_list_details Details regarding the security list to create.
562
603
  # @param [Hash] opts the optional parameters
@@ -621,7 +662,7 @@ module OracleBMC
621
662
  # [Managing DHCP Options](https://docs.us-phoenix-1.oraclecloud.com/Content/Network/Tasks/managingDHCP.htm).
622
663
  #
623
664
  # You may optionally specify a *display name* for the subnet, otherwise a default is provided.
624
- # It does not have to be unique, and you can change it.
665
+ # It does not have to be unique, and you can change it. Avoid entering confidential information.
625
666
  #
626
667
  # You can also add a DNS label for the subnet, which is required if you want the Internet and
627
668
  # VCN Resolver to resolve hostnames for instances in the subnet. For more information, see
@@ -667,10 +708,10 @@ module OracleBMC
667
708
  # Creates a new Virtual Cloud Network (VCN). For more information, see
668
709
  # [Managing Virtual Cloud Networks (VCNs)](https://docs.us-phoenix-1.oraclecloud.com/Content/Network/Tasks/managingVCNs.htm).
669
710
  #
670
- # For the VCN you must specify a single, contiguous IPv4 CIDR block in the private IP address ranges specified in
671
- # [RFC 1918](https://tools.ietf.org/html/rfc1918) (10.0.0.0/8, 172.16/12, and 192.168/16). Example: 172.16.0.0/16.
672
- # The CIDR block can range from /16 to /30, and it must not overlap with your on-premise network. You can't
673
- # change the size of the VCN after creation.
711
+ # For the VCN you must specify a single, contiguous IPv4 CIDR block. Oracle recommends using one of the
712
+ # private IP address ranges specified in [RFC 1918](https://tools.ietf.org/html/rfc1918) (10.0.0.0/8,
713
+ # 172.16/12, and 192.168/16). Example: 172.16.0.0/16. The CIDR block can range from /16 to /30, and it
714
+ # must not overlap with your on-premise network. You can't change the size of the VCN after creation.
674
715
  #
675
716
  # For the purposes of access control, you must provide the OCID of the compartment where you want the VCN to
676
717
  # reside. Consult an Oracle Bare Metal Cloud Services administrator in your organization if you're not sure which
@@ -680,7 +721,7 @@ module OracleBMC
680
721
  # [Resource Identifiers](https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm).
681
722
  #
682
723
  # You may optionally specify a *display name* for the VCN, otherwise a default is provided. It does not have to
683
- # be unique, and you can change it.
724
+ # be unique, and you can change it. Avoid entering confidential information.
684
725
  #
685
726
  # You can also add a DNS label for the VCN, which is required if you want the instances to use the
686
727
  # Interent and VCN Resolver option for DNS in the VCN. For more information, see
@@ -745,7 +786,7 @@ module OracleBMC
745
786
  # [Resource Identifiers](https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm).
746
787
  #
747
788
  # You may optionally specify a *display name* for the virtual circuit.
748
- # It does not have to be unique, and you can change it.
789
+ # It does not have to be unique, and you can change it. Avoid entering confidential information.
749
790
  #
750
791
  # **Important:** When creating a virtual circuit, you specify a DRG for
751
792
  # the traffic to flow through. Make sure you attach the DRG to your
@@ -798,7 +839,7 @@ module OracleBMC
798
839
  # @param [Hash] opts the optional parameters
799
840
  # @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
800
841
  # parameter to the value of the etag from a previous GET or POST response for that resource. The resource
801
- # will be updated or deleted only if the etag you provide matches the resource's current etag value.
842
+ # will be updated or deleted only if the etag you provide matches the resource's current etag value.
802
843
  #
803
844
  # @return [Response] A Response object with data of type nil
804
845
  def delete_cpe(cpe_id, opts = {})
@@ -835,7 +876,7 @@ module OracleBMC
835
876
  # @param [Hash] opts the optional parameters
836
877
  # @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
837
878
  # parameter to the value of the etag from a previous GET or POST response for that resource. The resource
838
- # will be updated or deleted only if the etag you provide matches the resource's current etag value.
879
+ # will be updated or deleted only if the etag you provide matches the resource's current etag value.
839
880
  #
840
881
  # @return [Response] A Response object with data of type nil
841
882
  def delete_cross_connect(cross_connect_id, opts = {})
@@ -873,7 +914,7 @@ module OracleBMC
873
914
  # @param [Hash] opts the optional parameters
874
915
  # @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
875
916
  # parameter to the value of the etag from a previous GET or POST response for that resource. The resource
876
- # will be updated or deleted only if the etag you provide matches the resource's current etag value.
917
+ # will be updated or deleted only if the etag you provide matches the resource's current etag value.
877
918
  #
878
919
  # @return [Response] A Response object with data of type nil
879
920
  def delete_cross_connect_group(cross_connect_group_id, opts = {})
@@ -913,7 +954,7 @@ module OracleBMC
913
954
  # @param [Hash] opts the optional parameters
914
955
  # @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
915
956
  # parameter to the value of the etag from a previous GET or POST response for that resource. The resource
916
- # will be updated or deleted only if the etag you provide matches the resource's current etag value.
957
+ # will be updated or deleted only if the etag you provide matches the resource's current etag value.
917
958
  #
918
959
  # @return [Response] A Response object with data of type nil
919
960
  def delete_dhcp_options(dhcp_id, opts = {})
@@ -952,7 +993,7 @@ module OracleBMC
952
993
  # @param [Hash] opts the optional parameters
953
994
  # @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
954
995
  # parameter to the value of the etag from a previous GET or POST response for that resource. The resource
955
- # will be updated or deleted only if the etag you provide matches the resource's current etag value.
996
+ # will be updated or deleted only if the etag you provide matches the resource's current etag value.
956
997
  #
957
998
  # @return [Response] A Response object with data of type nil
958
999
  def delete_drg(drg_id, opts = {})
@@ -990,7 +1031,7 @@ module OracleBMC
990
1031
  # @param [Hash] opts the optional parameters
991
1032
  # @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
992
1033
  # parameter to the value of the etag from a previous GET or POST response for that resource. The resource
993
- # will be updated or deleted only if the etag you provide matches the resource's current etag value.
1034
+ # will be updated or deleted only if the etag you provide matches the resource's current etag value.
994
1035
  #
995
1036
  # @return [Response] A Response object with data of type nil
996
1037
  def delete_drg_attachment(drg_attachment_id, opts = {})
@@ -1030,7 +1071,7 @@ module OracleBMC
1030
1071
  # @param [Hash] opts the optional parameters
1031
1072
  # @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
1032
1073
  # parameter to the value of the etag from a previous GET or POST response for that resource. The resource
1033
- # will be updated or deleted only if the etag you provide matches the resource's current etag value.
1074
+ # will be updated or deleted only if the etag you provide matches the resource's current etag value.
1034
1075
  #
1035
1076
  # @return [Response] A Response object with data of type nil
1036
1077
  def delete_internet_gateway(ig_id, opts = {})
@@ -1073,7 +1114,7 @@ module OracleBMC
1073
1114
  # @param [Hash] opts the optional parameters
1074
1115
  # @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
1075
1116
  # parameter to the value of the etag from a previous GET or POST response for that resource. The resource
1076
- # will be updated or deleted only if the etag you provide matches the resource's current etag value.
1117
+ # will be updated or deleted only if the etag you provide matches the resource's current etag value.
1077
1118
  #
1078
1119
  # @return [Response] A Response object with data of type nil
1079
1120
  def delete_ip_sec_connection(ipsc_id, opts = {})
@@ -1103,6 +1144,47 @@ module OracleBMC
1103
1144
  :body => post_body)
1104
1145
  end
1105
1146
 
1147
+ # Unassigns and deletes the specified private IP. You must
1148
+ # specify the object's OCID. The private IP address is returned to
1149
+ # the subnet's pool of available addresses.
1150
+ #
1151
+ # This operation cannot be used with primary private IPs, which are
1152
+ # automatically unassigned and deleted when the VNIC is terminated.
1153
+ #
1154
+ # @param [String] private_ip_id The private IP's OCID.
1155
+ # @param [Hash] opts the optional parameters
1156
+ # @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
1157
+ # parameter to the value of the etag from a previous GET or POST response for that resource. The resource
1158
+ # will be updated or deleted only if the etag you provide matches the resource's current etag value.
1159
+ #
1160
+ # @return [Response] A Response object with data of type nil
1161
+ def delete_private_ip(private_ip_id, opts = {})
1162
+ logger.debug "Calling operation VirtualNetworkClient#delete_private_ip." if logger
1163
+
1164
+ fail "Missing the required parameter 'private_ip_id' when calling delete_private_ip." if private_ip_id.nil?
1165
+
1166
+ path = "/privateIps/{privateIpId}".sub('{privateIpId}', private_ip_id.to_s)
1167
+
1168
+ # Query Params
1169
+ query_params = {}
1170
+
1171
+ # Header Params
1172
+ header_params = {}
1173
+ header_params['accept'] = 'application/json'
1174
+ header_params['content-type'] = 'application/json'
1175
+ header_params[:'if-match'] = opts[:'if_match'] if opts[:'if_match']
1176
+
1177
+ post_body = nil
1178
+
1179
+ return @api_client.call_api(
1180
+ :DELETE,
1181
+ path,
1182
+ endpoint,
1183
+ :header_params => header_params,
1184
+ :query_params => query_params,
1185
+ :body => post_body)
1186
+ end
1187
+
1106
1188
  # Deletes the specified route table, but only if it's not associated with a subnet. You can't delete a
1107
1189
  # VCN's default route table.
1108
1190
  #
@@ -1113,7 +1195,7 @@ module OracleBMC
1113
1195
  # @param [Hash] opts the optional parameters
1114
1196
  # @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
1115
1197
  # parameter to the value of the etag from a previous GET or POST response for that resource. The resource
1116
- # will be updated or deleted only if the etag you provide matches the resource's current etag value.
1198
+ # will be updated or deleted only if the etag you provide matches the resource's current etag value.
1117
1199
  #
1118
1200
  # @return [Response] A Response object with data of type nil
1119
1201
  def delete_route_table(rt_id, opts = {})
@@ -1153,7 +1235,7 @@ module OracleBMC
1153
1235
  # @param [Hash] opts the optional parameters
1154
1236
  # @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
1155
1237
  # parameter to the value of the etag from a previous GET or POST response for that resource. The resource
1156
- # will be updated or deleted only if the etag you provide matches the resource's current etag value.
1238
+ # will be updated or deleted only if the etag you provide matches the resource's current etag value.
1157
1239
  #
1158
1240
  # @return [Response] A Response object with data of type nil
1159
1241
  def delete_security_list(security_list_id, opts = {})
@@ -1191,7 +1273,7 @@ module OracleBMC
1191
1273
  # @param [Hash] opts the optional parameters
1192
1274
  # @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
1193
1275
  # parameter to the value of the etag from a previous GET or POST response for that resource. The resource
1194
- # will be updated or deleted only if the etag you provide matches the resource's current etag value.
1276
+ # will be updated or deleted only if the etag you provide matches the resource's current etag value.
1195
1277
  #
1196
1278
  # @return [Response] A Response object with data of type nil
1197
1279
  def delete_subnet(subnet_id, opts = {})
@@ -1229,7 +1311,7 @@ module OracleBMC
1229
1311
  # @param [Hash] opts the optional parameters
1230
1312
  # @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
1231
1313
  # parameter to the value of the etag from a previous GET or POST response for that resource. The resource
1232
- # will be updated or deleted only if the etag you provide matches the resource's current etag value.
1314
+ # will be updated or deleted only if the etag you provide matches the resource's current etag value.
1233
1315
  #
1234
1316
  # @return [Response] A Response object with data of type nil
1235
1317
  def delete_vcn(vcn_id, opts = {})
@@ -1269,7 +1351,7 @@ module OracleBMC
1269
1351
  # @param [Hash] opts the optional parameters
1270
1352
  # @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
1271
1353
  # parameter to the value of the etag from a previous GET or POST response for that resource. The resource
1272
- # will be updated or deleted only if the etag you provide matches the resource's current etag value.
1354
+ # will be updated or deleted only if the etag you provide matches the resource's current etag value.
1273
1355
  #
1274
1356
  # @return [Response] A Response object with data of type nil
1275
1357
  def delete_virtual_circuit(virtual_circuit_id, opts = {})
@@ -1678,6 +1760,41 @@ module OracleBMC
1678
1760
  :return_type => 'OracleBMC::Core::Models::IPSecConnectionDeviceStatus')
1679
1761
  end
1680
1762
 
1763
+ # Gets the specified private IP. You must specify the object's OCID.
1764
+ # Alternatively, you can get the object by using
1765
+ # {#list_private_ips list_private_ips}
1766
+ # with the private IP address (for example, 10.0.3.3) and subnet OCID.
1767
+ #
1768
+ # @param [String] private_ip_id The private IP's OCID.
1769
+ # @param [Hash] opts the optional parameters
1770
+ # @return [Response] A Response object with data of type OracleBMC::Core::Models::PrivateIp
1771
+ def get_private_ip(private_ip_id, opts = {})
1772
+ logger.debug "Calling operation VirtualNetworkClient#get_private_ip." if logger
1773
+
1774
+ fail "Missing the required parameter 'private_ip_id' when calling get_private_ip." if private_ip_id.nil?
1775
+
1776
+ path = "/privateIps/{privateIpId}".sub('{privateIpId}', private_ip_id.to_s)
1777
+
1778
+ # Query Params
1779
+ query_params = {}
1780
+
1781
+ # Header Params
1782
+ header_params = {}
1783
+ header_params['accept'] = 'application/json'
1784
+ header_params['content-type'] = 'application/json'
1785
+
1786
+ post_body = nil
1787
+
1788
+ return @api_client.call_api(
1789
+ :GET,
1790
+ path,
1791
+ endpoint,
1792
+ :header_params => header_params,
1793
+ :query_params => query_params,
1794
+ :body => post_body,
1795
+ :return_type => 'OracleBMC::Core::Models::PrivateIp')
1796
+ end
1797
+
1681
1798
  # Gets the specified route table's information.
1682
1799
  # @param [String] rt_id The OCID of the route table.
1683
1800
  # @param [Hash] opts the optional parameters
@@ -1833,9 +1950,10 @@ module OracleBMC
1833
1950
  :return_type => 'OracleBMC::Core::Models::VirtualCircuit')
1834
1951
  end
1835
1952
 
1836
- # Gets the information for the specified Virtual Network Interface Card (VNIC), including
1837
- # the IP addresses. You can get the instance's VNIC OCID from the
1838
- # {#list_vnic_attachments list_vnic_attachments} operation.
1953
+ # Gets the information for the specified virtual network interface card (VNIC).
1954
+ # You can get the VNIC OCID from the
1955
+ # {#list_vnic_attachments list_vnic_attachments}
1956
+ # operation.
1839
1957
  #
1840
1958
  # @param [String] vnic_id The OCID of the VNIC.
1841
1959
  # @param [Hash] opts the optional parameters
@@ -1871,11 +1989,11 @@ module OracleBMC
1871
1989
  #
1872
1990
  # @param [String] compartment_id The OCID of the compartment.
1873
1991
  # @param [Hash] opts the optional parameters
1874
- # @option opts [Integer] :limit The maximum number of items to return in a paginated \"List\" call.
1992
+ # @option opts [Integer] :limit The maximum number of items to return in a paginated \"List\" call.
1875
1993
  #
1876
1994
  # Example: `500`
1877
1995
  #
1878
- # @option opts [String] :page The value of the `opc-next-page` response header from the previous \"List\" call.
1996
+ # @option opts [String] :page The value of the `opc-next-page` response header from the previous \"List\" call.
1879
1997
  #
1880
1998
  # @return [Response] A Response object with data of type Array<OracleBMC::Core::Models::Cpe>
1881
1999
  def list_cpes(compartment_id, opts = {})
@@ -1912,11 +2030,11 @@ module OracleBMC
1912
2030
  #
1913
2031
  # @param [String] compartment_id The OCID of the compartment.
1914
2032
  # @param [Hash] opts the optional parameters
1915
- # @option opts [Integer] :limit The maximum number of items to return in a paginated \&quot;List\&quot; call.
2033
+ # @option opts [Integer] :limit The maximum number of items to return in a paginated \"List\" call.
1916
2034
  #
1917
2035
  # Example: `500`
1918
2036
  #
1919
- # @option opts [String] :page The value of the `opc-next-page` response header from the previous \&quot;List\&quot; call.
2037
+ # @option opts [String] :page The value of the `opc-next-page` response header from the previous \"List\" call.
1920
2038
  #
1921
2039
  # @return [Response] A Response object with data of type Array<OracleBMC::Core::Models::CrossConnectGroup>
1922
2040
  def list_cross_connect_groups(compartment_id, opts = {})
@@ -1954,11 +2072,11 @@ module OracleBMC
1954
2072
  #
1955
2073
  # @param [String] compartment_id The OCID of the compartment.
1956
2074
  # @param [Hash] opts the optional parameters
1957
- # @option opts [Integer] :limit The maximum number of items to return in a paginated \&quot;List\&quot; call.
2075
+ # @option opts [Integer] :limit The maximum number of items to return in a paginated \"List\" call.
1958
2076
  #
1959
2077
  # Example: `500`
1960
2078
  #
1961
- # @option opts [String] :page The value of the `opc-next-page` response header from the previous \&quot;List\&quot; call.
2079
+ # @option opts [String] :page The value of the `opc-next-page` response header from the previous \"List\" call.
1962
2080
  #
1963
2081
  # @return [Response] A Response object with data of type Array<OracleBMC::Core::Models::CrossConnectLocation>
1964
2082
  def list_cross_connect_locations(compartment_id, opts = {})
@@ -1997,11 +2115,11 @@ module OracleBMC
1997
2115
  # @param [String] compartment_id The OCID of the compartment.
1998
2116
  # @param [Hash] opts the optional parameters
1999
2117
  # @option opts [String] :cross_connect_group_id The OCID of the cross-connect group.
2000
- # @option opts [Integer] :limit The maximum number of items to return in a paginated \&quot;List\&quot; call.
2118
+ # @option opts [Integer] :limit The maximum number of items to return in a paginated \"List\" call.
2001
2119
  #
2002
2120
  # Example: `500`
2003
2121
  #
2004
- # @option opts [String] :page The value of the `opc-next-page` response header from the previous \&quot;List\&quot; call.
2122
+ # @option opts [String] :page The value of the `opc-next-page` response header from the previous \"List\" call.
2005
2123
  #
2006
2124
  # @return [Response] A Response object with data of type Array<OracleBMC::Core::Models::CrossConnect>
2007
2125
  def list_cross_connects(compartment_id, opts = {})
@@ -2041,11 +2159,11 @@ module OracleBMC
2041
2159
  #
2042
2160
  # @param [String] compartment_id The OCID of the compartment.
2043
2161
  # @param [Hash] opts the optional parameters
2044
- # @option opts [Integer] :limit The maximum number of items to return in a paginated \&quot;List\&quot; call.
2162
+ # @option opts [Integer] :limit The maximum number of items to return in a paginated \"List\" call.
2045
2163
  #
2046
2164
  # Example: `500`
2047
2165
  #
2048
- # @option opts [String] :page The value of the `opc-next-page` response header from the previous \&quot;List\&quot; call.
2166
+ # @option opts [String] :page The value of the `opc-next-page` response header from the previous \"List\" call.
2049
2167
  #
2050
2168
  # @return [Response] A Response object with data of type Array<OracleBMC::Core::Models::CrossConnectPortSpeedShape>
2051
2169
  def list_crossconnect_port_speed_shapes(compartment_id, opts = {})
@@ -2085,11 +2203,11 @@ module OracleBMC
2085
2203
  # @param [String] compartment_id The OCID of the compartment.
2086
2204
  # @param [String] vcn_id The OCID of the VCN.
2087
2205
  # @param [Hash] opts the optional parameters
2088
- # @option opts [Integer] :limit The maximum number of items to return in a paginated \&quot;List\&quot; call.
2206
+ # @option opts [Integer] :limit The maximum number of items to return in a paginated \"List\" call.
2089
2207
  #
2090
2208
  # Example: `500`
2091
2209
  #
2092
- # @option opts [String] :page The value of the `opc-next-page` response header from the previous \&quot;List\&quot; call.
2210
+ # @option opts [String] :page The value of the `opc-next-page` response header from the previous \"List\" call.
2093
2211
  #
2094
2212
  # @return [Response] A Response object with data of type Array<OracleBMC::Core::Models::DhcpOptions>
2095
2213
  def list_dhcp_options(compartment_id, vcn_id, opts = {})
@@ -2131,11 +2249,11 @@ module OracleBMC
2131
2249
  # @param [Hash] opts the optional parameters
2132
2250
  # @option opts [String] :vcn_id The OCID of the VCN.
2133
2251
  # @option opts [String] :drg_id The OCID of the DRG.
2134
- # @option opts [Integer] :limit The maximum number of items to return in a paginated \&quot;List\&quot; call.
2252
+ # @option opts [Integer] :limit The maximum number of items to return in a paginated \"List\" call.
2135
2253
  #
2136
2254
  # Example: `500`
2137
2255
  #
2138
- # @option opts [String] :page The value of the `opc-next-page` response header from the previous \&quot;List\&quot; call.
2256
+ # @option opts [String] :page The value of the `opc-next-page` response header from the previous \"List\" call.
2139
2257
  #
2140
2258
  # @return [Response] A Response object with data of type Array<OracleBMC::Core::Models::DrgAttachment>
2141
2259
  def list_drg_attachments(compartment_id, opts = {})
@@ -2174,11 +2292,11 @@ module OracleBMC
2174
2292
  #
2175
2293
  # @param [String] compartment_id The OCID of the compartment.
2176
2294
  # @param [Hash] opts the optional parameters
2177
- # @option opts [Integer] :limit The maximum number of items to return in a paginated \&quot;List\&quot; call.
2295
+ # @option opts [Integer] :limit The maximum number of items to return in a paginated \"List\" call.
2178
2296
  #
2179
2297
  # Example: `500`
2180
2298
  #
2181
- # @option opts [String] :page The value of the `opc-next-page` response header from the previous \&quot;List\&quot; call.
2299
+ # @option opts [String] :page The value of the `opc-next-page` response header from the previous \"List\" call.
2182
2300
  #
2183
2301
  # @return [Response] A Response object with data of type Array<OracleBMC::Core::Models::Drg>
2184
2302
  def list_drgs(compartment_id, opts = {})
@@ -2221,11 +2339,11 @@ module OracleBMC
2221
2339
  #
2222
2340
  # @param [String] compartment_id The OCID of the compartment.
2223
2341
  # @param [Hash] opts the optional parameters
2224
- # @option opts [Integer] :limit The maximum number of items to return in a paginated \&quot;List\&quot; call.
2342
+ # @option opts [Integer] :limit The maximum number of items to return in a paginated \"List\" call.
2225
2343
  #
2226
2344
  # Example: `500`
2227
2345
  #
2228
- # @option opts [String] :page The value of the `opc-next-page` response header from the previous \&quot;List\&quot; call.
2346
+ # @option opts [String] :page The value of the `opc-next-page` response header from the previous \"List\" call.
2229
2347
  #
2230
2348
  # @return [Response] A Response object with data of type Array<OracleBMC::Core::Models::FastConnectProviderService>
2231
2349
  def list_fast_connect_provider_services(compartment_id, opts = {})
@@ -2263,11 +2381,11 @@ module OracleBMC
2263
2381
  # @param [String] compartment_id The OCID of the compartment.
2264
2382
  # @param [String] vcn_id The OCID of the VCN.
2265
2383
  # @param [Hash] opts the optional parameters
2266
- # @option opts [Integer] :limit The maximum number of items to return in a paginated \&quot;List\&quot; call.
2384
+ # @option opts [Integer] :limit The maximum number of items to return in a paginated \"List\" call.
2267
2385
  #
2268
2386
  # Example: `500`
2269
2387
  #
2270
- # @option opts [String] :page The value of the `opc-next-page` response header from the previous \&quot;List\&quot; call.
2388
+ # @option opts [String] :page The value of the `opc-next-page` response header from the previous \"List\" call.
2271
2389
  #
2272
2390
  # @return [Response] A Response object with data of type Array<OracleBMC::Core::Models::InternetGateway>
2273
2391
  def list_internet_gateways(compartment_id, vcn_id, opts = {})
@@ -2309,11 +2427,11 @@ module OracleBMC
2309
2427
  # @param [Hash] opts the optional parameters
2310
2428
  # @option opts [String] :drg_id The OCID of the DRG.
2311
2429
  # @option opts [String] :cpe_id The OCID of the CPE.
2312
- # @option opts [Integer] :limit The maximum number of items to return in a paginated \&quot;List\&quot; call.
2430
+ # @option opts [Integer] :limit The maximum number of items to return in a paginated \"List\" call.
2313
2431
  #
2314
2432
  # Example: `500`
2315
2433
  #
2316
- # @option opts [String] :page The value of the `opc-next-page` response header from the previous \&quot;List\&quot; call.
2434
+ # @option opts [String] :page The value of the `opc-next-page` response header from the previous \"List\" call.
2317
2435
  #
2318
2436
  # @return [Response] A Response object with data of type Array<OracleBMC::Core::Models::IPSecConnection>
2319
2437
  def list_ip_sec_connections(compartment_id, opts = {})
@@ -2348,6 +2466,65 @@ module OracleBMC
2348
2466
  :return_type => 'Array<OracleBMC::Core::Models::IPSecConnection>')
2349
2467
  end
2350
2468
 
2469
+ # Lists the {PrivateIp} objects based
2470
+ # on one of these filters:
2471
+ #
2472
+ # - Subnet OCID.
2473
+ # - VNIC OCID.
2474
+ # - Both private IP address and subnet OCID: This lets
2475
+ # you get a `privateIP` object based on its private IP
2476
+ # address (for example, 10.0.3.3) and not its OCID. For comparison,
2477
+ # {#get_private_ip get_private_ip}
2478
+ # requires the OCID.
2479
+ #
2480
+ # If you're listing all the private IPs associated with a given subnet
2481
+ # or VNIC, the response includes both primary and secondary private IPs.
2482
+ #
2483
+ # @param [Hash] opts the optional parameters
2484
+ # @option opts [Integer] :limit The maximum number of items to return in a paginated \"List\" call.
2485
+ #
2486
+ # Example: `500`
2487
+ #
2488
+ # @option opts [String] :page The value of the `opc-next-page` response header from the previous \"List\" call.
2489
+ #
2490
+ # @option opts [String] :ip_address The private IP address of the `privateIp` object.
2491
+ #
2492
+ # Example: `10.0.3.3`
2493
+ #
2494
+ # @option opts [String] :subnet_id The OCID of the subnet.
2495
+ # @option opts [String] :vnic_id The OCID of the VNIC.
2496
+ # @return [Response] A Response object with data of type Array<OracleBMC::Core::Models::PrivateIp>
2497
+ def list_private_ips(opts = {})
2498
+ logger.debug "Calling operation VirtualNetworkClient#list_private_ips." if logger
2499
+
2500
+
2501
+ path = "/privateIps"
2502
+
2503
+ # Query Params
2504
+ query_params = {}
2505
+ query_params[:'limit'] = opts[:'limit'] if opts[:'limit']
2506
+ query_params[:'page'] = opts[:'page'] if opts[:'page']
2507
+ query_params[:'ipAddress'] = opts[:'ip_address'] if opts[:'ip_address']
2508
+ query_params[:'subnetId'] = opts[:'subnet_id'] if opts[:'subnet_id']
2509
+ query_params[:'vnicId'] = opts[:'vnic_id'] if opts[:'vnic_id']
2510
+
2511
+ # Header Params
2512
+ header_params = {}
2513
+ header_params['accept'] = 'application/json'
2514
+ header_params['content-type'] = 'application/json'
2515
+
2516
+ post_body = nil
2517
+
2518
+ return @api_client.call_api(
2519
+ :GET,
2520
+ path,
2521
+ endpoint,
2522
+ :header_params => header_params,
2523
+ :query_params => query_params,
2524
+ :body => post_body,
2525
+ :return_type => 'Array<OracleBMC::Core::Models::PrivateIp>')
2526
+ end
2527
+
2351
2528
  # Lists the route tables in the specified VCN and specified compartment. The response
2352
2529
  # includes the default route table that automatically comes with each VCN, plus any route tables
2353
2530
  # you've created.
@@ -2355,11 +2532,11 @@ module OracleBMC
2355
2532
  # @param [String] compartment_id The OCID of the compartment.
2356
2533
  # @param [String] vcn_id The OCID of the VCN.
2357
2534
  # @param [Hash] opts the optional parameters
2358
- # @option opts [Integer] :limit The maximum number of items to return in a paginated \&quot;List\&quot; call.
2535
+ # @option opts [Integer] :limit The maximum number of items to return in a paginated \"List\" call.
2359
2536
  #
2360
2537
  # Example: `500`
2361
2538
  #
2362
- # @option opts [String] :page The value of the `opc-next-page` response header from the previous \&quot;List\&quot; call.
2539
+ # @option opts [String] :page The value of the `opc-next-page` response header from the previous \"List\" call.
2363
2540
  #
2364
2541
  # @return [Response] A Response object with data of type Array<OracleBMC::Core::Models::RouteTable>
2365
2542
  def list_route_tables(compartment_id, vcn_id, opts = {})
@@ -2399,11 +2576,11 @@ module OracleBMC
2399
2576
  # @param [String] compartment_id The OCID of the compartment.
2400
2577
  # @param [String] vcn_id The OCID of the VCN.
2401
2578
  # @param [Hash] opts the optional parameters
2402
- # @option opts [Integer] :limit The maximum number of items to return in a paginated \&quot;List\&quot; call.
2579
+ # @option opts [Integer] :limit The maximum number of items to return in a paginated \"List\" call.
2403
2580
  #
2404
2581
  # Example: `500`
2405
2582
  #
2406
- # @option opts [String] :page The value of the `opc-next-page` response header from the previous \&quot;List\&quot; call.
2583
+ # @option opts [String] :page The value of the `opc-next-page` response header from the previous \"List\" call.
2407
2584
  #
2408
2585
  # @return [Response] A Response object with data of type Array<OracleBMC::Core::Models::SecurityList>
2409
2586
  def list_security_lists(compartment_id, vcn_id, opts = {})
@@ -2443,11 +2620,11 @@ module OracleBMC
2443
2620
  # @param [String] compartment_id The OCID of the compartment.
2444
2621
  # @param [String] vcn_id The OCID of the VCN.
2445
2622
  # @param [Hash] opts the optional parameters
2446
- # @option opts [Integer] :limit The maximum number of items to return in a paginated \&quot;List\&quot; call.
2623
+ # @option opts [Integer] :limit The maximum number of items to return in a paginated \"List\" call.
2447
2624
  #
2448
2625
  # Example: `500`
2449
2626
  #
2450
- # @option opts [String] :page The value of the `opc-next-page` response header from the previous \&quot;List\&quot; call.
2627
+ # @option opts [String] :page The value of the `opc-next-page` response header from the previous \"List\" call.
2451
2628
  #
2452
2629
  # @return [Response] A Response object with data of type Array<OracleBMC::Core::Models::Subnet>
2453
2630
  def list_subnets(compartment_id, vcn_id, opts = {})
@@ -2486,11 +2663,11 @@ module OracleBMC
2486
2663
  #
2487
2664
  # @param [String] compartment_id The OCID of the compartment.
2488
2665
  # @param [Hash] opts the optional parameters
2489
- # @option opts [Integer] :limit The maximum number of items to return in a paginated \&quot;List\&quot; call.
2666
+ # @option opts [Integer] :limit The maximum number of items to return in a paginated \"List\" call.
2490
2667
  #
2491
2668
  # Example: `500`
2492
2669
  #
2493
- # @option opts [String] :page The value of the `opc-next-page` response header from the previous \&quot;List\&quot; call.
2670
+ # @option opts [String] :page The value of the `opc-next-page` response header from the previous \"List\" call.
2494
2671
  #
2495
2672
  # @return [Response] A Response object with data of type Array<OracleBMC::Core::Models::Vcn>
2496
2673
  def list_vcns(compartment_id, opts = {})
@@ -2534,11 +2711,11 @@ module OracleBMC
2534
2711
  #
2535
2712
  # @param [String] compartment_id The OCID of the compartment.
2536
2713
  # @param [Hash] opts the optional parameters
2537
- # @option opts [Integer] :limit The maximum number of items to return in a paginated \&quot;List\&quot; call.
2714
+ # @option opts [Integer] :limit The maximum number of items to return in a paginated \"List\" call.
2538
2715
  #
2539
2716
  # Example: `500`
2540
2717
  #
2541
- # @option opts [String] :page The value of the `opc-next-page` response header from the previous \&quot;List\&quot; call.
2718
+ # @option opts [String] :page The value of the `opc-next-page` response header from the previous \"List\" call.
2542
2719
  #
2543
2720
  # @return [Response] A Response object with data of type Array<OracleBMC::Core::Models::VirtualCircuitBandwidthShape>
2544
2721
  def list_virtual_circuit_bandwidth_shapes(compartment_id, opts = {})
@@ -2575,11 +2752,11 @@ module OracleBMC
2575
2752
  #
2576
2753
  # @param [String] compartment_id The OCID of the compartment.
2577
2754
  # @param [Hash] opts the optional parameters
2578
- # @option opts [Integer] :limit The maximum number of items to return in a paginated \&quot;List\&quot; call.
2755
+ # @option opts [Integer] :limit The maximum number of items to return in a paginated \"List\" call.
2579
2756
  #
2580
2757
  # Example: `500`
2581
2758
  #
2582
- # @option opts [String] :page The value of the `opc-next-page` response header from the previous \&quot;List\&quot; call.
2759
+ # @option opts [String] :page The value of the `opc-next-page` response header from the previous \"List\" call.
2583
2760
  #
2584
2761
  # @return [Response] A Response object with data of type Array<OracleBMC::Core::Models::VirtualCircuit>
2585
2762
  def list_virtual_circuits(compartment_id, opts = {})
@@ -2613,13 +2790,14 @@ module OracleBMC
2613
2790
  end
2614
2791
 
2615
2792
  # Updates the specified CPE's display name.
2793
+ # Avoid entering confidential information.
2616
2794
  #
2617
2795
  # @param [String] cpe_id The OCID of the CPE.
2618
2796
  # @param [UpdateCpeDetails] update_cpe_details Details object for updating a CPE.
2619
2797
  # @param [Hash] opts the optional parameters
2620
2798
  # @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
2621
2799
  # parameter to the value of the etag from a previous GET or POST response for that resource. The resource
2622
- # will be updated or deleted only if the etag you provide matches the resource&#39;s current etag value.
2800
+ # will be updated or deleted only if the etag you provide matches the resource's current etag value.
2623
2801
  #
2624
2802
  # @return [Response] A Response object with data of type OracleBMC::Core::Models::Cpe
2625
2803
  def update_cpe(cpe_id, update_cpe_details, opts = {})
@@ -2657,7 +2835,7 @@ module OracleBMC
2657
2835
  # @param [Hash] opts the optional parameters
2658
2836
  # @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
2659
2837
  # parameter to the value of the etag from a previous GET or POST response for that resource. The resource
2660
- # will be updated or deleted only if the etag you provide matches the resource&#39;s current etag value.
2838
+ # will be updated or deleted only if the etag you provide matches the resource's current etag value.
2661
2839
  #
2662
2840
  # @return [Response] A Response object with data of type OracleBMC::Core::Models::CrossConnect
2663
2841
  def update_cross_connect(cross_connect_id, update_cross_connect_details, opts = {})
@@ -2690,12 +2868,14 @@ module OracleBMC
2690
2868
  end
2691
2869
 
2692
2870
  # Updates the specified cross-connect group's display name.
2871
+ # Avoid entering confidential information.
2872
+ #
2693
2873
  # @param [String] cross_connect_group_id The OCID of the cross-connect group.
2694
2874
  # @param [UpdateCrossConnectGroupDetails] update_cross_connect_group_details Update CrossConnectGroup fields
2695
2875
  # @param [Hash] opts the optional parameters
2696
2876
  # @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
2697
2877
  # parameter to the value of the etag from a previous GET or POST response for that resource. The resource
2698
- # will be updated or deleted only if the etag you provide matches the resource&#39;s current etag value.
2878
+ # will be updated or deleted only if the etag you provide matches the resource's current etag value.
2699
2879
  #
2700
2880
  # @return [Response] A Response object with data of type OracleBMC::Core::Models::CrossConnectGroup
2701
2881
  def update_cross_connect_group(cross_connect_group_id, update_cross_connect_group_details, opts = {})
@@ -2728,14 +2908,16 @@ module OracleBMC
2728
2908
  end
2729
2909
 
2730
2910
  # Updates the specified set of DHCP options. You can update the display name or the options
2731
- # themselves. Note that the `options` object you provide replaces the entire existing set of options.
2911
+ # themselves. Avoid entering confidential information.
2912
+ #
2913
+ # Note that the `options` object you provide replaces the entire existing set of options.
2732
2914
  #
2733
2915
  # @param [String] dhcp_id The OCID for the set of DHCP options.
2734
2916
  # @param [UpdateDhcpDetails] update_dhcp_details Request object for updating a set of DHCP options.
2735
2917
  # @param [Hash] opts the optional parameters
2736
2918
  # @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
2737
2919
  # parameter to the value of the etag from a previous GET or POST response for that resource. The resource
2738
- # will be updated or deleted only if the etag you provide matches the resource&#39;s current etag value.
2920
+ # will be updated or deleted only if the etag you provide matches the resource's current etag value.
2739
2921
  #
2740
2922
  # @return [Response] A Response object with data of type OracleBMC::Core::Models::DhcpOptions
2741
2923
  def update_dhcp_options(dhcp_id, update_dhcp_details, opts = {})
@@ -2767,14 +2949,14 @@ module OracleBMC
2767
2949
  :return_type => 'OracleBMC::Core::Models::DhcpOptions')
2768
2950
  end
2769
2951
 
2770
- # Updates the specified DRG's display name.
2952
+ # Updates the specified DRG's display name. Avoid entering confidential information.
2771
2953
  #
2772
2954
  # @param [String] drg_id The OCID of the DRG.
2773
2955
  # @param [UpdateDrgDetails] update_drg_details Details object for updating a DRG.
2774
2956
  # @param [Hash] opts the optional parameters
2775
2957
  # @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
2776
2958
  # parameter to the value of the etag from a previous GET or POST response for that resource. The resource
2777
- # will be updated or deleted only if the etag you provide matches the resource&#39;s current etag value.
2959
+ # will be updated or deleted only if the etag you provide matches the resource's current etag value.
2778
2960
  #
2779
2961
  # @return [Response] A Response object with data of type OracleBMC::Core::Models::Drg
2780
2962
  def update_drg(drg_id, update_drg_details, opts = {})
@@ -2807,13 +2989,14 @@ module OracleBMC
2807
2989
  end
2808
2990
 
2809
2991
  # Updates the display name for the specified `DrgAttachment`.
2992
+ # Avoid entering confidential information.
2810
2993
  #
2811
2994
  # @param [String] drg_attachment_id The OCID of the DRG attachment.
2812
2995
  # @param [UpdateDrgAttachmentDetails] update_drg_attachment_details Details object for updating a `DrgAttachment`.
2813
2996
  # @param [Hash] opts the optional parameters
2814
2997
  # @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
2815
2998
  # parameter to the value of the etag from a previous GET or POST response for that resource. The resource
2816
- # will be updated or deleted only if the etag you provide matches the resource&#39;s current etag value.
2999
+ # will be updated or deleted only if the etag you provide matches the resource's current etag value.
2817
3000
  #
2818
3001
  # @return [Response] A Response object with data of type OracleBMC::Core::Models::DrgAttachment
2819
3002
  def update_drg_attachment(drg_attachment_id, update_drg_attachment_details, opts = {})
@@ -2846,6 +3029,7 @@ module OracleBMC
2846
3029
  end
2847
3030
 
2848
3031
  # Updates the specified Internet Gateway. You can disable/enable it, or change its display name.
3032
+ # Avoid entering confidential information.
2849
3033
  #
2850
3034
  # If the gateway is disabled, that means no traffic will flow to/from the internet even if there's
2851
3035
  # a route rule that enables that traffic.
@@ -2855,7 +3039,7 @@ module OracleBMC
2855
3039
  # @param [Hash] opts the optional parameters
2856
3040
  # @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
2857
3041
  # parameter to the value of the etag from a previous GET or POST response for that resource. The resource
2858
- # will be updated or deleted only if the etag you provide matches the resource&#39;s current etag value.
3042
+ # will be updated or deleted only if the etag you provide matches the resource's current etag value.
2859
3043
  #
2860
3044
  # @return [Response] A Response object with data of type OracleBMC::Core::Models::InternetGateway
2861
3045
  def update_internet_gateway(ig_id, update_internet_gateway_details, opts = {})
@@ -2888,13 +3072,14 @@ module OracleBMC
2888
3072
  end
2889
3073
 
2890
3074
  # Updates the display name for the specified IPSec connection.
3075
+ # Avoid entering confidential information.
2891
3076
  #
2892
3077
  # @param [String] ipsc_id The OCID of the IPSec connection.
2893
3078
  # @param [UpdateIPSecConnectionDetails] update_ip_sec_connection_details Details object for updating a IPSec connection.
2894
3079
  # @param [Hash] opts the optional parameters
2895
3080
  # @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
2896
3081
  # parameter to the value of the etag from a previous GET or POST response for that resource. The resource
2897
- # will be updated or deleted only if the etag you provide matches the resource&#39;s current etag value.
3082
+ # will be updated or deleted only if the etag you provide matches the resource's current etag value.
2898
3083
  #
2899
3084
  # @return [Response] A Response object with data of type OracleBMC::Core::Models::IPSecConnection
2900
3085
  def update_ip_sec_connection(ipsc_id, update_ip_sec_connection_details, opts = {})
@@ -2926,15 +3111,65 @@ module OracleBMC
2926
3111
  :return_type => 'OracleBMC::Core::Models::IPSecConnection')
2927
3112
  end
2928
3113
 
2929
- # Updates the specified route table's display name or route rules. Note that the
2930
- # `routeRules` object you provide replaces the entire existing set of rules.
3114
+ # Updates the specified private IP. You must specify the object's OCID.
3115
+ # Use this operation if you want to:
3116
+ #
3117
+ # - Move a secondary private IP to a different VNIC in the same subnet.
3118
+ # - Change the display name for a secondary private IP.
3119
+ # - Change the hostname for a secondary private IP.
3120
+ #
3121
+ # This operation cannot be used with primary private IPs.
3122
+ # To update the hostname for the primary IP on a VNIC, use
3123
+ # {#update_vnic update_vnic}.
3124
+ #
3125
+ # @param [String] private_ip_id The private IP's OCID.
3126
+ # @param [UpdatePrivateIpDetails] update_private_ip_details Private IP details.
3127
+ # @param [Hash] opts the optional parameters
3128
+ # @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
3129
+ # parameter to the value of the etag from a previous GET or POST response for that resource. The resource
3130
+ # will be updated or deleted only if the etag you provide matches the resource's current etag value.
3131
+ #
3132
+ # @return [Response] A Response object with data of type OracleBMC::Core::Models::PrivateIp
3133
+ def update_private_ip(private_ip_id, update_private_ip_details, opts = {})
3134
+ logger.debug "Calling operation VirtualNetworkClient#update_private_ip." if logger
3135
+
3136
+ fail "Missing the required parameter 'private_ip_id' when calling update_private_ip." if private_ip_id.nil?
3137
+ fail "Missing the required parameter 'update_private_ip_details' when calling update_private_ip." if update_private_ip_details.nil?
3138
+
3139
+ path = "/privateIps/{privateIpId}".sub('{privateIpId}', private_ip_id.to_s)
3140
+
3141
+ # Query Params
3142
+ query_params = {}
3143
+
3144
+ # Header Params
3145
+ header_params = {}
3146
+ header_params['accept'] = 'application/json'
3147
+ header_params['content-type'] = 'application/json'
3148
+ header_params[:'if-match'] = opts[:'if_match'] if opts[:'if_match']
3149
+
3150
+ post_body = @api_client.object_to_http_body(update_private_ip_details)
3151
+
3152
+ return @api_client.call_api(
3153
+ :PUT,
3154
+ path,
3155
+ endpoint,
3156
+ :header_params => header_params,
3157
+ :query_params => query_params,
3158
+ :body => post_body,
3159
+ :return_type => 'OracleBMC::Core::Models::PrivateIp')
3160
+ end
3161
+
3162
+ # Updates the specified route table's display name or route rules.
3163
+ # Avoid entering confidential information.
3164
+ #
3165
+ # Note that the `routeRules` object you provide replaces the entire existing set of rules.
2931
3166
  #
2932
3167
  # @param [String] rt_id The OCID of the route table.
2933
3168
  # @param [UpdateRouteTableDetails] update_route_table_details Details object for updating a route table.
2934
3169
  # @param [Hash] opts the optional parameters
2935
3170
  # @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
2936
3171
  # parameter to the value of the etag from a previous GET or POST response for that resource. The resource
2937
- # will be updated or deleted only if the etag you provide matches the resource&#39;s current etag value.
3172
+ # will be updated or deleted only if the etag you provide matches the resource's current etag value.
2938
3173
  #
2939
3174
  # @return [Response] A Response object with data of type OracleBMC::Core::Models::RouteTable
2940
3175
  def update_route_table(rt_id, update_route_table_details, opts = {})
@@ -2966,8 +3201,10 @@ module OracleBMC
2966
3201
  :return_type => 'OracleBMC::Core::Models::RouteTable')
2967
3202
  end
2968
3203
 
2969
- # Updates the specified security list's display name or rules. Note that the
2970
- # `egressSecurityRules` or `ingressSecurityRules` objects you provide replace the entire
3204
+ # Updates the specified security list's display name or rules.
3205
+ # Avoid entering confidential information.
3206
+ #
3207
+ # Note that the `egressSecurityRules` or `ingressSecurityRules` objects you provide replace the entire
2971
3208
  # existing objects.
2972
3209
  #
2973
3210
  # @param [String] security_list_id The OCID of the security list.
@@ -2975,7 +3212,7 @@ module OracleBMC
2975
3212
  # @param [Hash] opts the optional parameters
2976
3213
  # @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
2977
3214
  # parameter to the value of the etag from a previous GET or POST response for that resource. The resource
2978
- # will be updated or deleted only if the etag you provide matches the resource&#39;s current etag value.
3215
+ # will be updated or deleted only if the etag you provide matches the resource's current etag value.
2979
3216
  #
2980
3217
  # @return [Response] A Response object with data of type OracleBMC::Core::Models::SecurityList
2981
3218
  def update_security_list(security_list_id, update_security_list_details, opts = {})
@@ -3007,14 +3244,14 @@ module OracleBMC
3007
3244
  :return_type => 'OracleBMC::Core::Models::SecurityList')
3008
3245
  end
3009
3246
 
3010
- # Updates the specified subnet's display name.
3247
+ # Updates the specified subnet's display name. Avoid entering confidential information.
3011
3248
  #
3012
3249
  # @param [String] subnet_id The OCID of the subnet.
3013
3250
  # @param [UpdateSubnetDetails] update_subnet_details Details object for updating a subnet.
3014
3251
  # @param [Hash] opts the optional parameters
3015
3252
  # @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
3016
3253
  # parameter to the value of the etag from a previous GET or POST response for that resource. The resource
3017
- # will be updated or deleted only if the etag you provide matches the resource&#39;s current etag value.
3254
+ # will be updated or deleted only if the etag you provide matches the resource's current etag value.
3018
3255
  #
3019
3256
  # @return [Response] A Response object with data of type OracleBMC::Core::Models::Subnet
3020
3257
  def update_subnet(subnet_id, update_subnet_details, opts = {})
@@ -3047,13 +3284,14 @@ module OracleBMC
3047
3284
  end
3048
3285
 
3049
3286
  # Updates the specified VCN's display name.
3287
+ # Avoid entering confidential information.
3050
3288
  #
3051
3289
  # @param [String] vcn_id The OCID of the VCN.
3052
3290
  # @param [UpdateVcnDetails] update_vcn_details Details object for updating a VCN.
3053
3291
  # @param [Hash] opts the optional parameters
3054
3292
  # @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
3055
3293
  # parameter to the value of the etag from a previous GET or POST response for that resource. The resource
3056
- # will be updated or deleted only if the etag you provide matches the resource&#39;s current etag value.
3294
+ # will be updated or deleted only if the etag you provide matches the resource's current etag value.
3057
3295
  #
3058
3296
  # @return [Response] A Response object with data of type OracleBMC::Core::Models::Vcn
3059
3297
  def update_vcn(vcn_id, update_vcn_details, opts = {})
@@ -3107,7 +3345,7 @@ module OracleBMC
3107
3345
  # @param [Hash] opts the optional parameters
3108
3346
  # @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
3109
3347
  # parameter to the value of the etag from a previous GET or POST response for that resource. The resource
3110
- # will be updated or deleted only if the etag you provide matches the resource&#39;s current etag value.
3348
+ # will be updated or deleted only if the etag you provide matches the resource's current etag value.
3111
3349
  #
3112
3350
  # @return [Response] A Response object with data of type OracleBMC::Core::Models::VirtualCircuit
3113
3351
  def update_virtual_circuit(virtual_circuit_id, update_virtual_circuit_details, opts = {})
@@ -3138,5 +3376,44 @@ module OracleBMC
3138
3376
  :body => post_body,
3139
3377
  :return_type => 'OracleBMC::Core::Models::VirtualCircuit')
3140
3378
  end
3379
+
3380
+ # Updates the specified VNIC.
3381
+ #
3382
+ # @param [String] vnic_id The OCID of the VNIC.
3383
+ # @param [UpdateVnicDetails] update_vnic_details Details object for updating a VNIC.
3384
+ # @param [Hash] opts the optional parameters
3385
+ # @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
3386
+ # parameter to the value of the etag from a previous GET or POST response for that resource. The resource
3387
+ # will be updated or deleted only if the etag you provide matches the resource's current etag value.
3388
+ #
3389
+ # @return [Response] A Response object with data of type OracleBMC::Core::Models::Vnic
3390
+ def update_vnic(vnic_id, update_vnic_details, opts = {})
3391
+ logger.debug "Calling operation VirtualNetworkClient#update_vnic." if logger
3392
+
3393
+ fail "Missing the required parameter 'vnic_id' when calling update_vnic." if vnic_id.nil?
3394
+ fail "Missing the required parameter 'update_vnic_details' when calling update_vnic." if update_vnic_details.nil?
3395
+
3396
+ path = "/vnics/{vnicId}".sub('{vnicId}', vnic_id.to_s)
3397
+
3398
+ # Query Params
3399
+ query_params = {}
3400
+
3401
+ # Header Params
3402
+ header_params = {}
3403
+ header_params['accept'] = 'application/json'
3404
+ header_params['content-type'] = 'application/json'
3405
+ header_params[:'if-match'] = opts[:'if_match'] if opts[:'if_match']
3406
+
3407
+ post_body = @api_client.object_to_http_body(update_vnic_details)
3408
+
3409
+ return @api_client.call_api(
3410
+ :PUT,
3411
+ path,
3412
+ endpoint,
3413
+ :header_params => header_params,
3414
+ :query_params => query_params,
3415
+ :body => post_body,
3416
+ :return_type => 'OracleBMC::Core::Models::Vnic')
3417
+ end
3141
3418
  end
3142
3419
  end