oci 2.5.6 → 2.5.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (60) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -1
  3. data/lib/oci/core/compute_client.rb +2 -2
  4. data/lib/oci/core/compute_client_composite_operations.rb +1 -1
  5. data/lib/oci/core/compute_management_client.rb +1 -1
  6. data/lib/oci/core/models/attach_load_balancer_details.rb +2 -2
  7. data/lib/oci/core/models/create_ip_sec_connection_details.rb +58 -3
  8. data/lib/oci/core/models/create_subnet_details.rb +12 -1
  9. data/lib/oci/core/models/detach_load_balancer_details.rb +2 -2
  10. data/lib/oci/core/models/fast_connect_provider_service.rb +5 -1
  11. data/lib/oci/core/models/fast_connect_provider_service_key.rb +4 -1
  12. data/lib/oci/core/models/instance_agent_config.rb +2 -0
  13. data/lib/oci/core/models/instance_pool.rb +3 -3
  14. data/lib/oci/core/models/instance_pool_instance_load_balancer_backend.rb +1 -1
  15. data/lib/oci/core/models/instance_pool_load_balancer_attachment.rb +3 -3
  16. data/lib/oci/core/models/instance_pool_summary.rb +1 -1
  17. data/lib/oci/core/models/instance_summary.rb +2 -2
  18. data/lib/oci/core/models/ip_sec_connection.rb +64 -3
  19. data/lib/oci/core/models/launch_instance_agent_config_details.rb +2 -0
  20. data/lib/oci/core/models/private_ip.rb +2 -1
  21. data/lib/oci/core/models/subnet.rb +2 -1
  22. data/lib/oci/core/models/update_instance_agent_config_details.rb +2 -0
  23. data/lib/oci/core/models/update_instance_pool_details.rb +1 -1
  24. data/lib/oci/core/models/update_ip_sec_connection_details.rb +74 -4
  25. data/lib/oci/core/models/volume_backup_schedule.rb +1 -1
  26. data/lib/oci/core/virtual_network_client.rb +7 -3
  27. data/lib/oci/database/database_client.rb +15 -14
  28. data/lib/oci/database/models/autonomous_data_warehouse.rb +1 -1
  29. data/lib/oci/database/models/autonomous_data_warehouse_backup.rb +1 -1
  30. data/lib/oci/database/models/autonomous_data_warehouse_backup_summary.rb +1 -2
  31. data/lib/oci/database/models/autonomous_data_warehouse_connection_strings.rb +1 -1
  32. data/lib/oci/database/models/autonomous_data_warehouse_summary.rb +1 -1
  33. data/lib/oci/database/models/autonomous_database.rb +20 -5
  34. data/lib/oci/database/models/autonomous_database_summary.rb +20 -5
  35. data/lib/oci/database/models/create_autonomous_data_warehouse_backup_details.rb +1 -1
  36. data/lib/oci/database/models/create_autonomous_data_warehouse_details.rb +1 -1
  37. data/lib/oci/database/models/create_autonomous_database_base.rb +1 -1
  38. data/lib/oci/database/models/db_node.rb +1 -1
  39. data/lib/oci/database/models/db_node_summary.rb +1 -1
  40. data/lib/oci/database/models/db_system.rb +1 -1
  41. data/lib/oci/database/models/db_system_summary.rb +1 -1
  42. data/lib/oci/database/models/generate_autonomous_data_warehouse_wallet_details.rb +1 -1
  43. data/lib/oci/database/models/generate_autonomous_database_wallet_details.rb +1 -1
  44. data/lib/oci/database/models/launch_db_system_base.rb +9 -9
  45. data/lib/oci/database/models/restore_autonomous_data_warehouse_details.rb +1 -1
  46. data/lib/oci/database/models/update_autonomous_data_warehouse_details.rb +1 -1
  47. data/lib/oci/database/models/update_autonomous_database_details.rb +48 -4
  48. data/lib/oci/identity/identity_client.rb +12 -12
  49. data/lib/oci/identity/identity_client_composite_operations.rb +4 -4
  50. data/lib/oci/identity/models/create_dynamic_group_details.rb +38 -4
  51. data/lib/oci/identity/models/create_tag_default_details.rb +3 -3
  52. data/lib/oci/identity/models/dynamic_group.rb +38 -4
  53. data/lib/oci/identity/models/tag_default.rb +15 -10
  54. data/lib/oci/identity/models/tag_default_summary.rb +8 -8
  55. data/lib/oci/identity/models/update_dynamic_group_details.rb +38 -4
  56. data/lib/oci/identity/models/update_tag_default_details.rb +1 -1
  57. data/lib/oci/identity/models/update_user_details.rb +1 -1
  58. data/lib/oci/identity/models/user.rb +2 -2
  59. data/lib/oci/version.rb +1 -1
  60. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0e0a6561b3c4f995f4f142e0d82b5af4ebe09b462c940c9ea01620747f44cb98
4
- data.tar.gz: 3ffb00221f305c5b4567e95499b668029047a4383c9f4ddb0d110259c41b68e5
3
+ metadata.gz: 8a89fff46226939dfb081a9b59a4de735bab9daaa2be5cb2ceae2d2f40e68363
4
+ data.tar.gz: 474a06d08dfbb1aac34f4a2101c5abc5868b0278004e044cd2dfa012e683225b
5
5
  SHA512:
6
- metadata.gz: f01745efe5a63d40b0344d52db9dfe0025dc7231bc37ae9bd87ee85405b2ec3fae6199589afc6fe3837b91e1195b1eca74fc656ea7169da81722bdb8749fd7f6
7
- data.tar.gz: f95613a6d102cb8fcd2fbd1fc6d4525df50084121c7d53198168adfaa07520375760fabab4737779dc8f4d7adfb25759fabb9c02629992babe02822d2333b2dc
6
+ metadata.gz: 3a30b430c21a11ce67bacb2caa277eda869785ae91b9d804d89f3da8a839ad5e6ee3413ba5209037b4b6c5a2769509b5a6946a117afbab02a50eaa7b134d4f3a
7
+ data.tar.gz: 2c959a9500b0365d931d3c2bffe37d4810acc06404f3ce95ef840e8d6802ebaae7435466d89ebd9cbaf3a86b46d18a42d583ce85c3dcf2d61f82e6f5cb59a42f
data/README.md CHANGED
@@ -1,5 +1,5 @@
1
1
  # Oracle Cloud Infrastructure Ruby SDK
2
- **Version 2.5.6**
2
+ **Version 2.5.7**
3
3
 
4
4
  This topic describes how to install, configure, and use the Oracle Cloud Infrastructure Ruby SDK.
5
5
 
@@ -734,7 +734,7 @@ module OCI
734
734
 
735
735
 
736
736
  # Deletes the specified instance console connection.
737
- # @param [String] instance_console_connection_id The OCID of the intance console connection
737
+ # @param [String] instance_console_connection_id The OCID of the instance console connection.
738
738
  # @param [Hash] opts the optional parameters
739
739
  # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
740
740
  # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
@@ -1487,7 +1487,7 @@ module OCI
1487
1487
 
1488
1488
 
1489
1489
  # Gets the specified instance console connection's information.
1490
- # @param [String] instance_console_connection_id The OCID of the intance console connection
1490
+ # @param [String] instance_console_connection_id The OCID of the instance console connection.
1491
1491
  # @param [Hash] opts the optional parameters
1492
1492
  # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
1493
1493
  # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
@@ -341,7 +341,7 @@ module OCI
341
341
  # Calls {OCI::Core::ComputeClient#delete_instance_console_connection} and then waits for the {OCI::Core::Models::InstanceConsoleConnection} acted upon
342
342
  # to enter the given state(s).
343
343
  #
344
- # @param [String] instance_console_connection_id The OCID of the intance console connection
344
+ # @param [String] instance_console_connection_id The OCID of the instance console connection.
345
345
  # @param [Array<String>] wait_for_states An array of states to wait on. These should be valid values for {OCI::Core::Models::InstanceConsoleConnection#lifecycle_state}
346
346
  # @param [Hash] base_operation_opts Any optional arguments accepted by {OCI::Core::ComputeClient#delete_instance_console_connection}
347
347
  # @param [Hash] waiter_opts Optional arguments for the waiter. Keys should be symbols, and the following keys are supported:
@@ -108,7 +108,7 @@ module OCI
108
108
  # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
109
109
 
110
110
 
111
- # Attach load balancer to the instance pool.
111
+ # Attach a load balancer to the instance pool.
112
112
  #
113
113
  # @param [String] instance_pool_id The OCID of the instance pool.
114
114
  # @param [OCI::Core::Models::AttachLoadBalancerDetails] attach_load_balancer_details Load balancer being attached
@@ -6,7 +6,7 @@ require 'date'
6
6
  module OCI
7
7
  # Represents a load balancer that is to be attached to an instance pool.
8
8
  class Core::Models::AttachLoadBalancerDetails # rubocop:disable Metrics/LineLength
9
- # **[Required]** The OCID of the load balancer to attach to the pool.
9
+ # **[Required]** The OCID of the load balancer to attach to the instance pool.
10
10
  # @return [String]
11
11
  attr_accessor :load_balancer_id
12
12
 
@@ -18,7 +18,7 @@ module OCI
18
18
  # @return [Integer]
19
19
  attr_accessor :port
20
20
 
21
- # **[Required]** Indicates which vnic on each instance in the pool should be used to associate with the load balancer. possible values are \"PrimaryVnic\" or the displayName of one of the secondary VNICs on the instance configuration that is associated to the instance pool.
21
+ # **[Required]** Indicates which VNIC on each instance in the pool should be used to associate with the load balancer. Possible values are \"PrimaryVnic\" or the displayName of one of the secondary VNICs on the instance configuration that is associated with the instance pool.
22
22
  # @return [String]
23
23
  attr_accessor :vnic_selection
24
24
 
@@ -6,11 +6,16 @@ require 'date'
6
6
  module OCI
7
7
  # CreateIPSecConnectionDetails model.
8
8
  class Core::Models::CreateIPSecConnectionDetails # rubocop:disable Metrics/LineLength
9
+ CPE_LOCAL_IDENTIFIER_TYPE_ENUM = [
10
+ CPE_LOCAL_IDENTIFIER_TYPE_IP_ADDRESS = 'IP_ADDRESS'.freeze,
11
+ CPE_LOCAL_IDENTIFIER_TYPE_HOSTNAME = 'HOSTNAME'.freeze
12
+ ].freeze
13
+
9
14
  # **[Required]** The OCID of the compartment to contain the IPSec connection.
10
15
  # @return [String]
11
16
  attr_accessor :compartment_id
12
17
 
13
- # **[Required]** The OCID of the CPE.
18
+ # **[Required]** The OCID of the {Cpe} object.
14
19
  # @return [String]
15
20
  attr_accessor :cpe_id
16
21
 
@@ -39,7 +44,27 @@ module OCI
39
44
  # @return [Hash<String, String>]
40
45
  attr_accessor :freeform_tags
41
46
 
42
- # **[Required]** Static routes to the CPE. At least one route must be included. The CIDR must not be a
47
+ # Your identifier for your CPE device. Can be either an IP address or a hostname (specifically, the
48
+ # fully qualified domain name (FQDN)). The type of identifier you provide here must correspond
49
+ # to the value for `cpeLocalIdentifierType`.
50
+ #
51
+ # If you don't provide a value, the `ipAddress` attribute for the {Cpe}
52
+ # object specified by `cpeId` is used as the `cpeLocalIdentifier`.
53
+ #
54
+ # Example IP address: `10.0.3.3`
55
+ #
56
+ # Example hostname: `cpe.example.com`
57
+ #
58
+ # @return [String]
59
+ attr_accessor :cpe_local_identifier
60
+
61
+ # The type of identifier for your CPE device. The value you provide here must correspond to the value
62
+ # for `cpeLocalIdentifier`.
63
+ #
64
+ # @return [String]
65
+ attr_reader :cpe_local_identifier_type
66
+
67
+ # **[Required]** Static routes to the CPE. At least one route must be included. A static route's CIDR must not be a
43
68
  # multicast address or class E address.
44
69
  #
45
70
  # Example: `10.0.1.0/24`
@@ -57,6 +82,8 @@ module OCI
57
82
  'display_name': :'displayName',
58
83
  'drg_id': :'drgId',
59
84
  'freeform_tags': :'freeformTags',
85
+ 'cpe_local_identifier': :'cpeLocalIdentifier',
86
+ 'cpe_local_identifier_type': :'cpeLocalIdentifierType',
60
87
  'static_routes': :'staticRoutes'
61
88
  # rubocop:enable Style/SymbolLiteral
62
89
  }
@@ -72,6 +99,8 @@ module OCI
72
99
  'display_name': :'String',
73
100
  'drg_id': :'String',
74
101
  'freeform_tags': :'Hash<String, String>',
102
+ 'cpe_local_identifier': :'String',
103
+ 'cpe_local_identifier_type': :'String',
75
104
  'static_routes': :'Array<String>'
76
105
  # rubocop:enable Style/SymbolLiteral
77
106
  }
@@ -89,6 +118,8 @@ module OCI
89
118
  # @option attributes [String] :display_name The value to assign to the {#display_name} property
90
119
  # @option attributes [String] :drg_id The value to assign to the {#drg_id} property
91
120
  # @option attributes [Hash<String, String>] :freeform_tags The value to assign to the {#freeform_tags} property
121
+ # @option attributes [String] :cpe_local_identifier The value to assign to the {#cpe_local_identifier} property
122
+ # @option attributes [String] :cpe_local_identifier_type The value to assign to the {#cpe_local_identifier_type} property
92
123
  # @option attributes [Array<String>] :static_routes The value to assign to the {#static_routes} property
93
124
  def initialize(attributes = {})
94
125
  return unless attributes.is_a?(Hash)
@@ -132,6 +163,18 @@ module OCI
132
163
 
133
164
  self.freeform_tags = attributes[:'freeform_tags'] if attributes[:'freeform_tags']
134
165
 
166
+ self.cpe_local_identifier = attributes[:'cpeLocalIdentifier'] if attributes[:'cpeLocalIdentifier']
167
+
168
+ raise 'You cannot provide both :cpeLocalIdentifier and :cpe_local_identifier' if attributes.key?(:'cpeLocalIdentifier') && attributes.key?(:'cpe_local_identifier')
169
+
170
+ self.cpe_local_identifier = attributes[:'cpe_local_identifier'] if attributes[:'cpe_local_identifier']
171
+
172
+ self.cpe_local_identifier_type = attributes[:'cpeLocalIdentifierType'] if attributes[:'cpeLocalIdentifierType']
173
+
174
+ raise 'You cannot provide both :cpeLocalIdentifierType and :cpe_local_identifier_type' if attributes.key?(:'cpeLocalIdentifierType') && attributes.key?(:'cpe_local_identifier_type')
175
+
176
+ self.cpe_local_identifier_type = attributes[:'cpe_local_identifier_type'] if attributes[:'cpe_local_identifier_type']
177
+
135
178
  self.static_routes = attributes[:'staticRoutes'] if attributes[:'staticRoutes']
136
179
 
137
180
  raise 'You cannot provide both :staticRoutes and :static_routes' if attributes.key?(:'staticRoutes') && attributes.key?(:'static_routes')
@@ -141,6 +184,16 @@ module OCI
141
184
  # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
142
185
  # rubocop:enable Metrics/LineLength, Metrics/MethodLength, Layout/EmptyLines, Style/SymbolLiteral
143
186
 
187
+ # Custom attribute writer method checking allowed values (enum).
188
+ # @param [Object] cpe_local_identifier_type Object to be assigned
189
+ def cpe_local_identifier_type=(cpe_local_identifier_type)
190
+ # rubocop: disable Metrics/LineLength
191
+ raise "Invalid value for 'cpe_local_identifier_type': this must be one of the values in CPE_LOCAL_IDENTIFIER_TYPE_ENUM." if cpe_local_identifier_type && !CPE_LOCAL_IDENTIFIER_TYPE_ENUM.include?(cpe_local_identifier_type)
192
+
193
+ # rubocop: enable Metrics/LineLength
194
+ @cpe_local_identifier_type = cpe_local_identifier_type
195
+ end
196
+
144
197
  # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity, Metrics/LineLength, Layout/EmptyLines
145
198
 
146
199
 
@@ -156,6 +209,8 @@ module OCI
156
209
  display_name == other.display_name &&
157
210
  drg_id == other.drg_id &&
158
211
  freeform_tags == other.freeform_tags &&
212
+ cpe_local_identifier == other.cpe_local_identifier &&
213
+ cpe_local_identifier_type == other.cpe_local_identifier_type &&
159
214
  static_routes == other.static_routes
160
215
  end
161
216
  # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity, Metrics/LineLength, Layout/EmptyLines
@@ -172,7 +227,7 @@ module OCI
172
227
  # Calculates hash code according to all attributes.
173
228
  # @return [Fixnum] Hash code
174
229
  def hash
175
- [compartment_id, cpe_id, defined_tags, display_name, drg_id, freeform_tags, static_routes].hash
230
+ [compartment_id, cpe_id, defined_tags, display_name, drg_id, freeform_tags, cpe_local_identifier, cpe_local_identifier_type, static_routes].hash
176
231
  end
177
232
  # rubocop:enable Metrics/AbcSize, Metrics/LineLength, Layout/EmptyLines
178
233
 
@@ -6,7 +6,17 @@ require 'date'
6
6
  module OCI
7
7
  # CreateSubnetDetails model.
8
8
  class Core::Models::CreateSubnetDetails # rubocop:disable Metrics/LineLength
9
- # The availability domain to contain the subnet.
9
+ # Controls whether the subnet is regional or specific to an availability domain. Oracle
10
+ # recommends creating regional subnets because they're more flexible and make it easier to
11
+ # implement failover across availability domains. Originally, AD-specific subnets were the
12
+ # only kind available to use.
13
+ #
14
+ # To create a regional subnet, omit this attribute. Then any resources later created in this
15
+ # subnet (such as a Compute instance) can be created in any availability domain in the region.
16
+ #
17
+ # To instead create an AD-specific subnet, set this attribute to the availability domain you
18
+ # want this subnet to be in. Then any resources later created in this subnet can only be
19
+ # created in that availability domain.
10
20
  #
11
21
  # Example: `Uocm:PHX-AD-1`
12
22
  #
@@ -78,6 +88,7 @@ module OCI
78
88
  # subnet cannot have public IP addresses (that is, it's a private
79
89
  # subnet).
80
90
  #
91
+ #
81
92
  # Example: `true`
82
93
  #
83
94
  # @return [BOOLEAN]
@@ -6,11 +6,11 @@ require 'date'
6
6
  module OCI
7
7
  # Represents a load balancer that is to be detached from an instance pool.
8
8
  class Core::Models::DetachLoadBalancerDetails # rubocop:disable Metrics/LineLength
9
- # **[Required]** The OCID of the load balancer to detach from the pool.
9
+ # **[Required]** The OCID of the load balancer to detach from the instance pool.
10
10
  # @return [String]
11
11
  attr_accessor :load_balancer_id
12
12
 
13
- # **[Required]** The name of the backend set on the load balancer to detach from the pool.
13
+ # **[Required]** The name of the backend set on the load balancer to detach from the instance pool.
14
14
  # @return [String]
15
15
  attr_accessor :backend_set_name
16
16
 
@@ -56,7 +56,11 @@ module OCI
56
56
  TYPE_UNKNOWN_ENUM_VALUE = 'UNKNOWN_ENUM_VALUE'.freeze
57
57
  ].freeze
58
58
 
59
- # A description of the service offered by the provider.
59
+ # The location of the provider's website or portal. This portal is where you can get information
60
+ # about the provider service, create a virtual circuit connection from the provider to Oracle
61
+ # Cloud Infrastructure, and retrieve your provider service key for that virtual circuit connection.
62
+ #
63
+ # Example: `https://example.com`
60
64
  #
61
65
  # @return [String]
62
66
  attr_accessor :description
@@ -8,7 +8,10 @@ module OCI
8
8
  # virtual circuit.
9
9
  #
10
10
  class Core::Models::FastConnectProviderServiceKey # rubocop:disable Metrics/LineLength
11
- # The name of the service key offered by the provider.
11
+ # The service key that the provider gives you when you set up a virtual circuit connection
12
+ # from the provider to Oracle Cloud Infrastructure. Use this value as the `providerServiceKeyName`
13
+ # query parameter for
14
+ # {#get_fast_connect_provider_service_key get_fast_connect_provider_service_key}.
12
15
  #
13
16
  # @return [String]
14
17
  attr_accessor :name
@@ -43,10 +43,12 @@ module OCI
43
43
  attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
44
44
 
45
45
  self.is_monitoring_disabled = attributes[:'isMonitoringDisabled'] unless attributes[:'isMonitoringDisabled'].nil?
46
+ self.is_monitoring_disabled = false if is_monitoring_disabled.nil? && !attributes.key?(:'isMonitoringDisabled') # rubocop:disable Style/StringLiterals
46
47
 
47
48
  raise 'You cannot provide both :isMonitoringDisabled and :is_monitoring_disabled' if attributes.key?(:'isMonitoringDisabled') && attributes.key?(:'is_monitoring_disabled')
48
49
 
49
50
  self.is_monitoring_disabled = attributes[:'is_monitoring_disabled'] unless attributes[:'is_monitoring_disabled'].nil?
51
+ self.is_monitoring_disabled = false if is_monitoring_disabled.nil? && !attributes.key?(:'isMonitoringDisabled') && !attributes.key?(:'is_monitoring_disabled') # rubocop:disable Style/StringLiterals
50
52
  end
51
53
  # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
52
54
  # rubocop:enable Metrics/LineLength, Metrics/MethodLength, Layout/EmptyLines, Style/SymbolLiteral
@@ -19,11 +19,11 @@ module OCI
19
19
  LIFECYCLE_STATE_UNKNOWN_ENUM_VALUE = 'UNKNOWN_ENUM_VALUE'.freeze
20
20
  ].freeze
21
21
 
22
- # **[Required]** The OCID of the instance pool
22
+ # **[Required]** The OCID of the instance pool.
23
23
  # @return [String]
24
24
  attr_accessor :id
25
25
 
26
- # **[Required]** The OCID of the compartment containing the instance pool
26
+ # **[Required]** The OCID of the compartment containing the instance pool.
27
27
  # @return [String]
28
28
  attr_accessor :compartment_id
29
29
 
@@ -48,7 +48,7 @@ module OCI
48
48
  # @return [Hash<String, String>]
49
49
  attr_accessor :freeform_tags
50
50
 
51
- # **[Required]** The OCID of the instance configuration associated to the intance pool.
51
+ # **[Required]** The OCID of the instance configuration associated with the instance pool.
52
52
  # @return [String]
53
53
  attr_accessor :instance_configuration_id
54
54
 
@@ -15,7 +15,7 @@ module OCI
15
15
  BACKEND_HEALTH_STATUS_UNKNOWN_ENUM_VALUE = 'UNKNOWN_ENUM_VALUE'.freeze
16
16
  ].freeze
17
17
 
18
- # **[Required]** The OCID of the load balancer attached to the pool.
18
+ # **[Required]** The OCID of the load balancer attached to the instance pool.
19
19
  # @return [String]
20
20
  attr_accessor :load_balancer_id
21
21
 
@@ -23,7 +23,7 @@ module OCI
23
23
  # @return [String]
24
24
  attr_accessor :instance_pool_id
25
25
 
26
- # **[Required]** The OCID of the load balancer attached to the pool.
26
+ # **[Required]** The OCID of the load balancer attached to the instance pool.
27
27
  # @return [String]
28
28
  attr_accessor :load_balancer_id
29
29
 
@@ -35,11 +35,11 @@ module OCI
35
35
  # @return [Integer]
36
36
  attr_accessor :port
37
37
 
38
- # **[Required]** Indicates which vnic on each instance in the pool should be used to associate with the load balancer. possible values are \"PrimaryVnic\" or the displayName of one of the secondary VNICs on the instance configuration that is associated to the instance pool.
38
+ # **[Required]** Indicates which VNIC on each instance in the instance pool should be used to associate with the load balancer. Possible values are \"PrimaryVnic\" or the displayName of one of the secondary VNICs on the instance configuration that is associated with the instance pool.
39
39
  # @return [String]
40
40
  attr_accessor :vnic_selection
41
41
 
42
- # **[Required]** The status of the interaction between the pool and the load balancer.
42
+ # **[Required]** The status of the interaction between the instance pool and the load balancer.
43
43
  # @return [String]
44
44
  attr_reader :lifecycle_state
45
45
 
@@ -31,7 +31,7 @@ module OCI
31
31
  # @return [String]
32
32
  attr_accessor :display_name
33
33
 
34
- # **[Required]** The OCID of the instance configuration associated to the intance pool.
34
+ # **[Required]** The OCID of the instance configuration associated with the instance pool.
35
35
  # @return [String]
36
36
  attr_accessor :instance_configuration_id
37
37
 
@@ -6,7 +6,7 @@ require 'date'
6
6
  module OCI
7
7
  # Condensed instance data when listing instances in an instance pool.
8
8
  class Core::Models::InstanceSummary # rubocop:disable Metrics/LineLength
9
- # **[Required]** The OCID of the instance
9
+ # **[Required]** The OCID of the instance.
10
10
  # @return [String]
11
11
  attr_accessor :id
12
12
 
@@ -52,7 +52,7 @@ module OCI
52
52
  # @return [DateTime]
53
53
  attr_accessor :time_created
54
54
 
55
- # The load balancer backends configured for the instance pool instance.
55
+ # The load balancer backends that are configured for the instance pool instance.
56
56
  #
57
57
  # @return [Array<OCI::Core::Models::InstancePoolInstanceLoadBalancerBackend>]
58
58
  attr_accessor :load_balancer_backends
@@ -8,7 +8,7 @@ module OCI
8
8
  # A connection between a DRG and CPE. This connection consists of multiple IPSec
9
9
  # tunnels. Creating this connection is one of the steps required when setting up
10
10
  # an IPSec VPN. For more information, see
11
- # [Overview of the Networking Service](https://docs.cloud.oracle.com/Content/Network/Concepts/overview.htm).
11
+ # [IPSec VPN](https://docs.cloud.oracle.com/Content/Network/Tasks/managingIPsec.htm).
12
12
  #
13
13
  # To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized,
14
14
  # talk to an administrator. If you're an administrator who needs to write policies to give users access, see
@@ -26,11 +26,17 @@ module OCI
26
26
  LIFECYCLE_STATE_UNKNOWN_ENUM_VALUE = 'UNKNOWN_ENUM_VALUE'.freeze
27
27
  ].freeze
28
28
 
29
+ CPE_LOCAL_IDENTIFIER_TYPE_ENUM = [
30
+ CPE_LOCAL_IDENTIFIER_TYPE_IP_ADDRESS = 'IP_ADDRESS'.freeze,
31
+ CPE_LOCAL_IDENTIFIER_TYPE_HOSTNAME = 'HOSTNAME'.freeze,
32
+ CPE_LOCAL_IDENTIFIER_TYPE_UNKNOWN_ENUM_VALUE = 'UNKNOWN_ENUM_VALUE'.freeze
33
+ ].freeze
34
+
29
35
  # **[Required]** The OCID of the compartment containing the IPSec connection.
30
36
  # @return [String]
31
37
  attr_accessor :compartment_id
32
38
 
33
- # **[Required]** The OCID of the CPE.
39
+ # **[Required]** The OCID of the {Cpe} object.
34
40
  # @return [String]
35
41
  attr_accessor :cpe_id
36
42
 
@@ -69,6 +75,26 @@ module OCI
69
75
  # @return [String]
70
76
  attr_reader :lifecycle_state
71
77
 
78
+ # Your identifier for your CPE device. Can be either an IP address or a hostname (specifically,
79
+ # the fully qualified domain name (FQDN)). The type of identifier here must correspond
80
+ # to the value for `cpeLocalIdentifierType`.
81
+ #
82
+ # If you don't provide a value when creating the IPSec connection, the `ipAddress` attribute
83
+ # for the {Cpe} object specified by `cpeId` is used as the `cpeLocalIdentifier`.
84
+ #
85
+ # Example IP address: `10.0.3.3`
86
+ #
87
+ # Example hostname: `cpe.example.com`
88
+ #
89
+ # @return [String]
90
+ attr_accessor :cpe_local_identifier
91
+
92
+ # The type of identifier for your CPE device. The value here must correspond to the value
93
+ # for `cpeLocalIdentifier`.
94
+ #
95
+ # @return [String]
96
+ attr_reader :cpe_local_identifier_type
97
+
72
98
  # **[Required]** Static routes to the CPE. At least one route must be included. The CIDR must not be a
73
99
  # multicast address or class E address.
74
100
  #
@@ -96,6 +122,8 @@ module OCI
96
122
  'freeform_tags': :'freeformTags',
97
123
  'id': :'id',
98
124
  'lifecycle_state': :'lifecycleState',
125
+ 'cpe_local_identifier': :'cpeLocalIdentifier',
126
+ 'cpe_local_identifier_type': :'cpeLocalIdentifierType',
99
127
  'static_routes': :'staticRoutes',
100
128
  'time_created': :'timeCreated'
101
129
  # rubocop:enable Style/SymbolLiteral
@@ -114,6 +142,8 @@ module OCI
114
142
  'freeform_tags': :'Hash<String, String>',
115
143
  'id': :'String',
116
144
  'lifecycle_state': :'String',
145
+ 'cpe_local_identifier': :'String',
146
+ 'cpe_local_identifier_type': :'String',
117
147
  'static_routes': :'Array<String>',
118
148
  'time_created': :'DateTime'
119
149
  # rubocop:enable Style/SymbolLiteral
@@ -134,6 +164,8 @@ module OCI
134
164
  # @option attributes [Hash<String, String>] :freeform_tags The value to assign to the {#freeform_tags} property
135
165
  # @option attributes [String] :id The value to assign to the {#id} property
136
166
  # @option attributes [String] :lifecycle_state The value to assign to the {#lifecycle_state} property
167
+ # @option attributes [String] :cpe_local_identifier The value to assign to the {#cpe_local_identifier} property
168
+ # @option attributes [String] :cpe_local_identifier_type The value to assign to the {#cpe_local_identifier_type} property
137
169
  # @option attributes [Array<String>] :static_routes The value to assign to the {#static_routes} property
138
170
  # @option attributes [DateTime] :time_created The value to assign to the {#time_created} property
139
171
  def initialize(attributes = {})
@@ -186,6 +218,18 @@ module OCI
186
218
 
187
219
  self.lifecycle_state = attributes[:'lifecycle_state'] if attributes[:'lifecycle_state']
188
220
 
221
+ self.cpe_local_identifier = attributes[:'cpeLocalIdentifier'] if attributes[:'cpeLocalIdentifier']
222
+
223
+ raise 'You cannot provide both :cpeLocalIdentifier and :cpe_local_identifier' if attributes.key?(:'cpeLocalIdentifier') && attributes.key?(:'cpe_local_identifier')
224
+
225
+ self.cpe_local_identifier = attributes[:'cpe_local_identifier'] if attributes[:'cpe_local_identifier']
226
+
227
+ self.cpe_local_identifier_type = attributes[:'cpeLocalIdentifierType'] if attributes[:'cpeLocalIdentifierType']
228
+
229
+ raise 'You cannot provide both :cpeLocalIdentifierType and :cpe_local_identifier_type' if attributes.key?(:'cpeLocalIdentifierType') && attributes.key?(:'cpe_local_identifier_type')
230
+
231
+ self.cpe_local_identifier_type = attributes[:'cpe_local_identifier_type'] if attributes[:'cpe_local_identifier_type']
232
+
189
233
  self.static_routes = attributes[:'staticRoutes'] if attributes[:'staticRoutes']
190
234
 
191
235
  raise 'You cannot provide both :staticRoutes and :static_routes' if attributes.key?(:'staticRoutes') && attributes.key?(:'static_routes')
@@ -216,6 +260,21 @@ module OCI
216
260
  # rubocop:enable Style/ConditionalAssignment
217
261
  end
218
262
 
263
+ # Custom attribute writer method checking allowed values (enum).
264
+ # @param [Object] cpe_local_identifier_type Object to be assigned
265
+ def cpe_local_identifier_type=(cpe_local_identifier_type)
266
+ # rubocop:disable Style/ConditionalAssignment
267
+ if cpe_local_identifier_type && !CPE_LOCAL_IDENTIFIER_TYPE_ENUM.include?(cpe_local_identifier_type)
268
+ # rubocop: disable Metrics/LineLength
269
+ OCI.logger.debug("Unknown value for 'cpe_local_identifier_type' [" + cpe_local_identifier_type + "]. Mapping to 'CPE_LOCAL_IDENTIFIER_TYPE_UNKNOWN_ENUM_VALUE'") if OCI.logger
270
+ # rubocop: enable Metrics/LineLength
271
+ @cpe_local_identifier_type = CPE_LOCAL_IDENTIFIER_TYPE_UNKNOWN_ENUM_VALUE
272
+ else
273
+ @cpe_local_identifier_type = cpe_local_identifier_type
274
+ end
275
+ # rubocop:enable Style/ConditionalAssignment
276
+ end
277
+
219
278
  # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity, Metrics/LineLength, Layout/EmptyLines
220
279
 
221
280
 
@@ -233,6 +292,8 @@ module OCI
233
292
  freeform_tags == other.freeform_tags &&
234
293
  id == other.id &&
235
294
  lifecycle_state == other.lifecycle_state &&
295
+ cpe_local_identifier == other.cpe_local_identifier &&
296
+ cpe_local_identifier_type == other.cpe_local_identifier_type &&
236
297
  static_routes == other.static_routes &&
237
298
  time_created == other.time_created
238
299
  end
@@ -250,7 +311,7 @@ module OCI
250
311
  # Calculates hash code according to all attributes.
251
312
  # @return [Fixnum] Hash code
252
313
  def hash
253
- [compartment_id, cpe_id, defined_tags, display_name, drg_id, freeform_tags, id, lifecycle_state, static_routes, time_created].hash
314
+ [compartment_id, cpe_id, defined_tags, display_name, drg_id, freeform_tags, id, lifecycle_state, cpe_local_identifier, cpe_local_identifier_type, static_routes, time_created].hash
254
315
  end
255
316
  # rubocop:enable Metrics/AbcSize, Metrics/LineLength, Layout/EmptyLines
256
317