oci 2.1.1 → 2.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (76) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +26 -1
  3. data/lib/oci.rb +1 -0
  4. data/lib/oci/audit/audit_client.rb +65 -30
  5. data/lib/oci/audit/models/audit_event.rb +17 -1
  6. data/lib/oci/core/blockstorage_client.rb +336 -197
  7. data/lib/oci/core/compute_client.rb +601 -357
  8. data/lib/oci/core/models/attach_volume_details.rb +4 -0
  9. data/lib/oci/core/models/boot_volume.rb +1 -1
  10. data/lib/oci/core/models/dhcp_option.rb +4 -0
  11. data/lib/oci/core/models/export_image_details.rb +4 -0
  12. data/lib/oci/core/models/image_source_details.rb +4 -0
  13. data/lib/oci/core/models/instance_source_details.rb +4 -0
  14. data/lib/oci/core/models/volume_attachment.rb +4 -0
  15. data/lib/oci/core/models/volume_source_details.rb +4 -0
  16. data/lib/oci/core/util.rb +29 -0
  17. data/lib/oci/core/virtual_network_client.rb +1695 -1031
  18. data/lib/oci/database/database_client.rb +612 -368
  19. data/lib/oci/database/models/create_data_guard_association_details.rb +4 -0
  20. data/lib/oci/database/models/create_db_home_with_db_system_id_base.rb +4 -0
  21. data/lib/oci/dns/dns_client.rb +271 -158
  22. data/lib/oci/email/email_client.rb +144 -79
  23. data/lib/oci/file_storage/file_storage_client.rb +354 -207
  24. data/lib/oci/identity/identity_client.rb +1111 -670
  25. data/lib/oci/identity/models/create_identity_provider_details.rb +4 -0
  26. data/lib/oci/identity/models/identity_provider.rb +4 -0
  27. data/lib/oci/identity/models/update_identity_provider_details.rb +4 -0
  28. data/lib/oci/load_balancer/load_balancer.rb +4 -0
  29. data/lib/oci/load_balancer/load_balancer_client.rb +943 -383
  30. data/lib/oci/load_balancer/load_balancer_client_composite_operations.rb +149 -17
  31. data/lib/oci/load_balancer/models/backend.rb +5 -5
  32. data/lib/oci/load_balancer/models/backend_details.rb +4 -4
  33. data/lib/oci/load_balancer/models/backend_set.rb +1 -1
  34. data/lib/oci/load_balancer/models/backend_set_health.rb +4 -4
  35. data/lib/oci/load_balancer/models/certificate.rb +2 -2
  36. data/lib/oci/load_balancer/models/certificate_details.rb +2 -4
  37. data/lib/oci/load_balancer/models/connection_configuration.rb +1 -28
  38. data/lib/oci/load_balancer/models/create_backend_details.rb +4 -4
  39. data/lib/oci/load_balancer/models/create_backend_set_details.rb +1 -1
  40. data/lib/oci/load_balancer/models/create_certificate_details.rb +5 -7
  41. data/lib/oci/load_balancer/models/create_hostname_details.rb +164 -0
  42. data/lib/oci/load_balancer/models/create_listener_details.rb +19 -5
  43. data/lib/oci/load_balancer/models/create_load_balancer_details.rb +12 -3
  44. data/lib/oci/load_balancer/models/create_path_route_set_details.rb +1 -1
  45. data/lib/oci/load_balancer/models/health_check_result.rb +2 -2
  46. data/lib/oci/load_balancer/models/health_checker.rb +3 -3
  47. data/lib/oci/load_balancer/models/health_checker_details.rb +3 -3
  48. data/lib/oci/load_balancer/models/hostname.rb +164 -0
  49. data/lib/oci/load_balancer/models/hostname_details.rb +163 -0
  50. data/lib/oci/load_balancer/models/ip_address.rb +1 -1
  51. data/lib/oci/load_balancer/models/listener.rb +19 -5
  52. data/lib/oci/load_balancer/models/listener_details.rb +17 -3
  53. data/lib/oci/load_balancer/models/load_balancer.rb +13 -2
  54. data/lib/oci/load_balancer/models/load_balancer_health.rb +3 -3
  55. data/lib/oci/load_balancer/models/load_balancer_policy.rb +4 -1
  56. data/lib/oci/load_balancer/models/load_balancer_protocol.rb +5 -2
  57. data/lib/oci/load_balancer/models/load_balancer_shape.rb +3 -0
  58. data/lib/oci/load_balancer/models/path_route.rb +1 -1
  59. data/lib/oci/load_balancer/models/path_route_set.rb +1 -1
  60. data/lib/oci/load_balancer/models/session_persistence_configuration_details.rb +2 -2
  61. data/lib/oci/load_balancer/models/ssl_configuration.rb +1 -1
  62. data/lib/oci/load_balancer/models/ssl_configuration_details.rb +1 -1
  63. data/lib/oci/load_balancer/models/update_backend_details.rb +3 -3
  64. data/lib/oci/load_balancer/models/update_health_checker_details.rb +3 -3
  65. data/lib/oci/load_balancer/models/update_hostname_details.rb +153 -0
  66. data/lib/oci/load_balancer/models/update_listener_details.rb +17 -3
  67. data/lib/oci/load_balancer/models/update_load_balancer_details.rb +1 -1
  68. data/lib/oci/load_balancer/models/work_request.rb +2 -0
  69. data/lib/oci/object_storage/object_storage_client.rb +443 -270
  70. data/lib/oci/retry/functions/should_retry_on_error.rb +28 -0
  71. data/lib/oci/retry/functions/sleep.rb +85 -0
  72. data/lib/oci/retry/internal/retry_state.rb +48 -0
  73. data/lib/oci/retry/retry.rb +85 -0
  74. data/lib/oci/retry/retry_config.rb +121 -0
  75. data/lib/oci/version.rb +1 -1
  76. metadata +39 -4
@@ -12,7 +12,7 @@ module OCI
12
12
  # Whether the load balancer should treat this server as a backup unit. If `true`, the load balancer forwards no ingress
13
13
  # traffic to this backend server unless all other backend servers not marked as \"backup\" fail the health check policy.
14
14
  #
15
- # Example: `true`
15
+ # Example: `false`
16
16
  #
17
17
  # @return [BOOLEAN]
18
18
  attr_accessor :backup
@@ -20,14 +20,14 @@ module OCI
20
20
  # Whether the load balancer should drain this server. Servers marked \"drain\" receive no new
21
21
  # incoming traffic.
22
22
  #
23
- # Example: `true`
23
+ # Example: `false`
24
24
  #
25
25
  # @return [BOOLEAN]
26
26
  attr_accessor :drain
27
27
 
28
28
  # **[Required]** The IP address of the backend server.
29
29
  #
30
- # Example: `10.10.10.4`
30
+ # Example: `10.0.0.3`
31
31
  #
32
32
  # @return [String]
33
33
  attr_accessor :ip_address
@@ -35,7 +35,7 @@ module OCI
35
35
  # Whether the load balancer should treat this server as offline. Offline servers receive no incoming
36
36
  # traffic.
37
37
  #
38
- # Example: `true`
38
+ # Example: `false`
39
39
  #
40
40
  # @return [BOOLEAN]
41
41
  attr_accessor :offline
@@ -21,7 +21,7 @@ module OCI
21
21
  # Valid backend set names include only alphanumeric characters, dashes, and underscores. Backend set names cannot
22
22
  # contain spaces. Avoid entering confidential information.
23
23
  #
24
- # Example: `My_backend_set`
24
+ # Example: `example_backend_set`
25
25
  #
26
26
  # @return [String]
27
27
  attr_accessor :name
@@ -28,15 +28,13 @@ module OCI
28
28
  # Valid certificate bundle names include only alphanumeric characters, dashes, and underscores.
29
29
  # Certificate bundle names cannot contain spaces. Avoid entering confidential information.
30
30
  #
31
- # Example: `My_certificate_bundle`
31
+ # Example: `example_certificate_bundle`
32
32
  #
33
33
  # @return [String]
34
34
  attr_accessor :certificate_name
35
35
 
36
36
  # A passphrase for encrypted private keys. This is needed only if you created your certificate with a passphrase.
37
37
  #
38
- # Example: `Mysecretunlockingcode42!1!`
39
- #
40
38
  # @return [String]
41
39
  attr_accessor :passphrase
42
40
 
@@ -60,10 +58,10 @@ module OCI
60
58
  # Example:
61
59
  #
62
60
  # -----BEGIN CERTIFICATE-----
63
- # MIIC2jCCAkMCAg38MA0GCSqGSIb3DQEBBQUAMIGbMQswCQYDVQQGEwJKUDEOMAwG
64
- # A1UECBMFVG9reW8xEDAOBgNVBAcTB0NodW8ta3UxETAPBgNVBAoTCEZyYW5rNERE
65
- # MRgwFgYDVQQLEw9XZWJDZXJ0IFN1cHBvcnQxGDAWBgNVBAMTD0ZyYW5rNEREIFdl
66
- # YiBDQTEjMCEGCSqGSIb3DQEJARYUc3VwcG9ydEBmcmFuazRkZC5jb20wHhcNMTIw
61
+ # MIIC2jCCAkMCAg38MA0GCSqGSIb3DQEBBQUAMIGbM..QswCQYDVQQGEwJKU
62
+ # A1UECBMFVG9reW8xEDAOBgNVBAcTB0NodW8ta3UxE..TAPBgNVBAoTCEZyY
63
+ # MRgwFgYDVQQLEw9XZWJDZXJ0IFN1cHBvcnQxGDAWB..gNVBAMTD0ZyYW5rN
64
+ # YiBDQTEjMCEGCSqGSIb3DQEJARYUc3VwcG9ydEBmc..mFuazRkZC5jb20wH
67
65
  # ...
68
66
  # -----END CERTIFICATE-----
69
67
  #
@@ -0,0 +1,164 @@
1
+ # Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
2
+
3
+ require 'date'
4
+
5
+ # rubocop:disable Lint/UnneededCopDisableDirective
6
+ module OCI
7
+ # The details of the hostname resource to add to a load balancer.
8
+ class LoadBalancer::Models::CreateHostnameDetails # rubocop:disable Metrics/LineLength
9
+ # **[Required]** A virtual hostname. For more information about virtual hostname string construction, see
10
+ # [Managing Request Routing](https://docs.us-phoenix-1.oraclecloud.com/Content/Balance/Tasks/managingrequest.htm#routing).
11
+ #
12
+ # Example: `app.example.com`
13
+ #
14
+ # @return [String]
15
+ attr_accessor :hostname
16
+
17
+ # **[Required]** A friendly name for the hostname resource. It must be unique and it cannot be changed. Avoid entering confidential
18
+ # information.
19
+ #
20
+ # Example: `example_hostname_001`
21
+ #
22
+ # @return [String]
23
+ attr_accessor :name
24
+
25
+ # Attribute mapping from ruby-style variable name to JSON key.
26
+ def self.attribute_map
27
+ {
28
+ # rubocop:disable Style/SymbolLiteral
29
+ 'hostname': :'hostname',
30
+ 'name': :'name'
31
+ # rubocop:enable Style/SymbolLiteral
32
+ }
33
+ end
34
+
35
+ # Attribute type mapping.
36
+ def self.swagger_types
37
+ {
38
+ # rubocop:disable Style/SymbolLiteral
39
+ 'hostname': :'String',
40
+ 'name': :'String'
41
+ # rubocop:enable Style/SymbolLiteral
42
+ }
43
+ end
44
+
45
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
46
+ # rubocop:disable Metrics/LineLength, Metrics/MethodLength, Layout/EmptyLines, Style/SymbolLiteral
47
+
48
+
49
+ # Initializes the object
50
+ # @param [Hash] attributes Model attributes in the form of hash
51
+ # @option attributes [String] :hostname The value to assign to the {#hostname} property
52
+ # @option attributes [String] :name The value to assign to the {#name} property
53
+ def initialize(attributes = {})
54
+ return unless attributes.is_a?(Hash)
55
+
56
+ # convert string to symbol for hash key
57
+ attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
58
+
59
+ self.hostname = attributes[:'hostname'] if attributes[:'hostname']
60
+
61
+ self.name = attributes[:'name'] if attributes[:'name']
62
+ end
63
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
64
+ # rubocop:enable Metrics/LineLength, Metrics/MethodLength, Layout/EmptyLines, Style/SymbolLiteral
65
+
66
+ # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity, Layout/EmptyLines
67
+
68
+
69
+ # Checks equality by comparing each attribute.
70
+ # @param [Object] other the other object to be compared
71
+ def ==(other)
72
+ return true if equal?(other)
73
+ self.class == other.class &&
74
+ hostname == other.hostname &&
75
+ name == other.name
76
+ end
77
+ # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity, Layout/EmptyLines
78
+
79
+ # @see the `==` method
80
+ # @param [Object] other the other object to be compared
81
+ def eql?(other)
82
+ self == other
83
+ end
84
+
85
+ # rubocop:disable Metrics/AbcSize, Metrics/LineLength, Layout/EmptyLines
86
+
87
+
88
+ # Calculates hash code according to all attributes.
89
+ # @return [Fixnum] Hash code
90
+ def hash
91
+ [hostname, name].hash
92
+ end
93
+ # rubocop:enable Metrics/AbcSize, Metrics/LineLength, Layout/EmptyLines
94
+
95
+ # rubocop:disable Metrics/AbcSize, Layout/EmptyLines
96
+
97
+
98
+ # Builds the object from hash
99
+ # @param [Hash] attributes Model attributes in the form of hash
100
+ # @return [Object] Returns the model itself
101
+ def build_from_hash(attributes)
102
+ return nil unless attributes.is_a?(Hash)
103
+ self.class.swagger_types.each_pair do |key, type|
104
+ if type =~ /^Array<(.*)>/i
105
+ # check to ensure the input is an array given that the the attribute
106
+ # is documented as an array but the input is not
107
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
108
+ public_method("#{key}=").call(
109
+ attributes[self.class.attribute_map[key]]
110
+ .map { |v| OCI::Internal::Util.convert_to_type(Regexp.last_match(1), v) }
111
+ )
112
+ end
113
+ elsif !attributes[self.class.attribute_map[key]].nil?
114
+ public_method("#{key}=").call(
115
+ OCI::Internal::Util.convert_to_type(type, attributes[self.class.attribute_map[key]])
116
+ )
117
+ end
118
+ # or else data not found in attributes(hash), not an issue as the data can be optional
119
+ end
120
+
121
+ self
122
+ end
123
+ # rubocop:enable Metrics/AbcSize, Layout/EmptyLines
124
+
125
+ # Returns the string representation of the object
126
+ # @return [String] String presentation of the object
127
+ def to_s
128
+ to_hash.to_s
129
+ end
130
+
131
+ # Returns the object in the form of hash
132
+ # @return [Hash] Returns the object in the form of hash
133
+ def to_hash
134
+ hash = {}
135
+ self.class.attribute_map.each_pair do |attr, param|
136
+ value = public_method(attr).call
137
+ next if value.nil? && !instance_variable_defined?("@#{attr}")
138
+ hash[param] = _to_hash(value)
139
+ end
140
+ hash
141
+ end
142
+
143
+ private
144
+
145
+ # Outputs non-array value in the form of hash
146
+ # For object, use to_hash. Otherwise, just return the value
147
+ # @param [Object] value Any valid value
148
+ # @return [Hash] Returns the value in the form of hash
149
+ def _to_hash(value)
150
+ if value.is_a?(Array)
151
+ value.compact.map { |v| _to_hash(v) }
152
+ elsif value.is_a?(Hash)
153
+ {}.tap do |hash|
154
+ value.each { |k, v| hash[k] = _to_hash(v) }
155
+ end
156
+ elsif value.respond_to? :to_hash
157
+ value.to_hash
158
+ else
159
+ value
160
+ end
161
+ end
162
+ end
163
+ end
164
+ # rubocop:enable Lint/UnneededCopDisableDirective
@@ -6,7 +6,7 @@ require 'date'
6
6
  module OCI
7
7
  # The configuration details for adding a listener to a backend set.
8
8
  # For more information on listener configuration, see
9
- # [Managing Load Balancer Listeners](https://docs.us-phoenix-1.oraclecloud.com/Content/Balance/tasks/managinglisteners.htm).
9
+ # [Managing Load Balancer Listeners](https://docs.us-phoenix-1.oraclecloud.com/Content/Balance/Tasks/managinglisteners.htm).
10
10
  #
11
11
  class LoadBalancer::Models::CreateListenerDetails # rubocop:disable Metrics/LineLength
12
12
  # @return [OCI::LoadBalancer::Models::ConnectionConfiguration]
@@ -14,15 +14,19 @@ module OCI
14
14
 
15
15
  # **[Required]** The name of the associated backend set.
16
16
  #
17
- # Example: `My_backend_set`
17
+ # Example: `example_backend_set`
18
18
  #
19
19
  # @return [String]
20
20
  attr_accessor :default_backend_set_name
21
21
 
22
+ # An array of hostname resource names.
23
+ # @return [Array<String>]
24
+ attr_accessor :hostname_names
25
+
22
26
  # **[Required]** A friendly name for the listener. It must be unique and it cannot be changed.
23
27
  # Avoid entering confidential information.
24
28
  #
25
- # Example: `My listener`
29
+ # Example: `example_listener`
26
30
  #
27
31
  # @return [String]
28
32
  attr_accessor :name
@@ -30,7 +34,7 @@ module OCI
30
34
  # The name of the set of path-based routing rules, {PathRouteSet},
31
35
  # applied to this listener's traffic.
32
36
  #
33
- # Example: `path-route-set-001`
37
+ # Example: `example_path_route_set`
34
38
  #
35
39
  # @return [String]
36
40
  attr_accessor :path_route_set_name
@@ -60,6 +64,7 @@ module OCI
60
64
  # rubocop:disable Style/SymbolLiteral
61
65
  'connection_configuration': :'connectionConfiguration',
62
66
  'default_backend_set_name': :'defaultBackendSetName',
67
+ 'hostname_names': :'hostnameNames',
63
68
  'name': :'name',
64
69
  'path_route_set_name': :'pathRouteSetName',
65
70
  'port': :'port',
@@ -75,6 +80,7 @@ module OCI
75
80
  # rubocop:disable Style/SymbolLiteral
76
81
  'connection_configuration': :'OCI::LoadBalancer::Models::ConnectionConfiguration',
77
82
  'default_backend_set_name': :'String',
83
+ 'hostname_names': :'Array<String>',
78
84
  'name': :'String',
79
85
  'path_route_set_name': :'String',
80
86
  'port': :'Integer',
@@ -92,6 +98,7 @@ module OCI
92
98
  # @param [Hash] attributes Model attributes in the form of hash
93
99
  # @option attributes [OCI::LoadBalancer::Models::ConnectionConfiguration] :connection_configuration The value to assign to the {#connection_configuration} property
94
100
  # @option attributes [String] :default_backend_set_name The value to assign to the {#default_backend_set_name} property
101
+ # @option attributes [Array<String>] :hostname_names The value to assign to the {#hostname_names} property
95
102
  # @option attributes [String] :name The value to assign to the {#name} property
96
103
  # @option attributes [String] :path_route_set_name The value to assign to the {#path_route_set_name} property
97
104
  # @option attributes [Integer] :port The value to assign to the {#port} property
@@ -115,6 +122,12 @@ module OCI
115
122
 
116
123
  self.default_backend_set_name = attributes[:'default_backend_set_name'] if attributes[:'default_backend_set_name']
117
124
 
125
+ self.hostname_names = attributes[:'hostnameNames'] if attributes[:'hostnameNames']
126
+
127
+ raise 'You cannot provide both :hostnameNames and :hostname_names' if attributes.key?(:'hostnameNames') && attributes.key?(:'hostname_names')
128
+
129
+ self.hostname_names = attributes[:'hostname_names'] if attributes[:'hostname_names']
130
+
118
131
  self.name = attributes[:'name'] if attributes[:'name']
119
132
 
120
133
  self.path_route_set_name = attributes[:'pathRouteSetName'] if attributes[:'pathRouteSetName']
@@ -146,6 +159,7 @@ module OCI
146
159
  self.class == other.class &&
147
160
  connection_configuration == other.connection_configuration &&
148
161
  default_backend_set_name == other.default_backend_set_name &&
162
+ hostname_names == other.hostname_names &&
149
163
  name == other.name &&
150
164
  path_route_set_name == other.path_route_set_name &&
151
165
  port == other.port &&
@@ -166,7 +180,7 @@ module OCI
166
180
  # Calculates hash code according to all attributes.
167
181
  # @return [Fixnum] Hash code
168
182
  def hash
169
- [connection_configuration, default_backend_set_name, name, path_route_set_name, port, protocol, ssl_configuration].hash
183
+ [connection_configuration, default_backend_set_name, hostname_names, name, path_route_set_name, port, protocol, ssl_configuration].hash
170
184
  end
171
185
  # rubocop:enable Metrics/AbcSize, Metrics/LineLength, Layout/EmptyLines
172
186
 
@@ -19,11 +19,14 @@ module OCI
19
19
  # **[Required]** A user-friendly name. It does not have to be unique, and it is changeable.
20
20
  # Avoid entering confidential information.
21
21
  #
22
- # Example: `My load balancer`
22
+ # Example: `example_load_balancer`
23
23
  #
24
24
  # @return [String]
25
25
  attr_accessor :display_name
26
26
 
27
+ # @return [Hash<String, OCI::LoadBalancer::Models::HostnameDetails>]
28
+ attr_accessor :hostnames
29
+
27
30
  # Whether the load balancer has a VCN-local (private) IP address.
28
31
  #
29
32
  # If \"true\", the service assigns a private IP address to the load balancer. The load balancer requires only one subnet
@@ -38,7 +41,7 @@ module OCI
38
41
  # hosts the secondary (standby) load balancer. A public load balancer is accessible from the internet, depending on your
39
42
  # VCN's [security list rules](https://docs.us-phoenix-1.oraclecloud.com/Content/Network/Concepts/securitylists.htm).
40
43
  #
41
- # Example: `false`
44
+ # Example: `true`
42
45
  #
43
46
  # @return [BOOLEAN]
44
47
  attr_accessor :is_private
@@ -70,6 +73,7 @@ module OCI
70
73
  'certificates': :'certificates',
71
74
  'compartment_id': :'compartmentId',
72
75
  'display_name': :'displayName',
76
+ 'hostnames': :'hostnames',
73
77
  'is_private': :'isPrivate',
74
78
  'listeners': :'listeners',
75
79
  'path_route_sets': :'pathRouteSets',
@@ -87,6 +91,7 @@ module OCI
87
91
  'certificates': :'Hash<String, OCI::LoadBalancer::Models::CertificateDetails>',
88
92
  'compartment_id': :'String',
89
93
  'display_name': :'String',
94
+ 'hostnames': :'Hash<String, OCI::LoadBalancer::Models::HostnameDetails>',
90
95
  'is_private': :'BOOLEAN',
91
96
  'listeners': :'Hash<String, OCI::LoadBalancer::Models::ListenerDetails>',
92
97
  'path_route_sets': :'Hash<String, OCI::LoadBalancer::Models::PathRouteSetDetails>',
@@ -106,6 +111,7 @@ module OCI
106
111
  # @option attributes [Hash<String, OCI::LoadBalancer::Models::CertificateDetails>] :certificates The value to assign to the {#certificates} property
107
112
  # @option attributes [String] :compartment_id The value to assign to the {#compartment_id} property
108
113
  # @option attributes [String] :display_name The value to assign to the {#display_name} property
114
+ # @option attributes [Hash<String, OCI::LoadBalancer::Models::HostnameDetails>] :hostnames The value to assign to the {#hostnames} property
109
115
  # @option attributes [BOOLEAN] :is_private The value to assign to the {#is_private} property
110
116
  # @option attributes [Hash<String, OCI::LoadBalancer::Models::ListenerDetails>] :listeners The value to assign to the {#listeners} property
111
117
  # @option attributes [Hash<String, OCI::LoadBalancer::Models::PathRouteSetDetails>] :path_route_sets The value to assign to the {#path_route_sets} property
@@ -137,6 +143,8 @@ module OCI
137
143
 
138
144
  self.display_name = attributes[:'display_name'] if attributes[:'display_name']
139
145
 
146
+ self.hostnames = attributes[:'hostnames'] if attributes[:'hostnames']
147
+
140
148
  self.is_private = attributes[:'isPrivate'] unless attributes[:'isPrivate'].nil?
141
149
  self.is_private = false if is_private.nil? && !attributes.key?(:'isPrivate') # rubocop:disable Style/StringLiterals
142
150
 
@@ -180,6 +188,7 @@ module OCI
180
188
  certificates == other.certificates &&
181
189
  compartment_id == other.compartment_id &&
182
190
  display_name == other.display_name &&
191
+ hostnames == other.hostnames &&
183
192
  is_private == other.is_private &&
184
193
  listeners == other.listeners &&
185
194
  path_route_sets == other.path_route_sets &&
@@ -200,7 +209,7 @@ module OCI
200
209
  # Calculates hash code according to all attributes.
201
210
  # @return [Fixnum] Hash code
202
211
  def hash
203
- [backend_sets, certificates, compartment_id, display_name, is_private, listeners, path_route_sets, shape_name, subnet_ids].hash
212
+ [backend_sets, certificates, compartment_id, display_name, hostnames, is_private, listeners, path_route_sets, shape_name, subnet_ids].hash
204
213
  end
205
214
  # rubocop:enable Metrics/AbcSize, Metrics/LineLength, Layout/EmptyLines
206
215
 
@@ -9,7 +9,7 @@ module OCI
9
9
  # **[Required]** The name for this set of path route rules. It must be unique and it cannot be changed. Avoid entering
10
10
  # confidential information.
11
11
  #
12
- # Example: `path-route-set-001`
12
+ # Example: `example_path_route_set`
13
13
  #
14
14
  # @return [String]
15
15
  attr_accessor :name
@@ -28,12 +28,12 @@ module OCI
28
28
  # **[Required]** The IP address of the health check status report provider. This identifier helps you differentiate same-subnet
29
29
  # (private) load balancers that report health check status.
30
30
  #
31
- # Example: `10.2.0.1`
31
+ # Example: `10.0.0.7`
32
32
  #
33
33
  # @return [String]
34
34
  attr_accessor :source_ip_address
35
35
 
36
- # **[Required]** The OCID of the subnet hosting the load balancer that reported this health check status.
36
+ # **[Required]** The [OCID](https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm) of the subnet hosting the load balancer that reported this health check status.
37
37
  #
38
38
  # @return [String]
39
39
  attr_accessor :subnet_id
@@ -10,7 +10,7 @@ module OCI
10
10
  class LoadBalancer::Models::HealthChecker # rubocop:disable Metrics/LineLength
11
11
  # The interval between health checks, in milliseconds. The default is 10000 (10 seconds).
12
12
  #
13
- # Example: `30000`
13
+ # Example: `10000`
14
14
  #
15
15
  # @return [Integer]
16
16
  attr_accessor :interval_in_millis
@@ -32,7 +32,7 @@ module OCI
32
32
 
33
33
  # **[Required]** A regular expression for parsing the response body from the backend server.
34
34
  #
35
- # Example: `^(500|40[1348])$`
35
+ # Example: `^((?!false).|\\s)*$`
36
36
  #
37
37
  # @return [String]
38
38
  attr_accessor :response_body_regex
@@ -55,7 +55,7 @@ module OCI
55
55
  # The maximum time, in milliseconds, to wait for a reply to a health check. A health check is successful only if a reply
56
56
  # returns within this timeout period. Defaults to 3000 (3 seconds).
57
57
  #
58
- # Example: `6000`
58
+ # Example: `3000`
59
59
  #
60
60
  # @return [Integer]
61
61
  attr_accessor :timeout_in_millis