oci 2.0.2 → 2.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/oci/audit/models/audit_event.rb +3 -3
- data/lib/oci/audit/models/configuration.rb +3 -3
- data/lib/oci/audit/models/update_configuration_details.rb +3 -3
- data/lib/oci/core/blockstorage_client.rb +155 -0
- data/lib/oci/core/compute_client.rb +176 -12
- data/lib/oci/core/core.rb +11 -0
- data/lib/oci/core/models/attach_boot_volume_details.rb +143 -0
- data/lib/oci/core/models/attach_i_scsi_volume_details.rb +3 -3
- data/lib/oci/core/models/attach_vnic_details.rb +23 -7
- data/lib/oci/core/models/attach_volume_details.rb +3 -3
- data/lib/oci/core/models/boot_volume.rb +234 -0
- data/lib/oci/core/models/boot_volume_attachment.rb +224 -0
- data/lib/oci/core/models/capture_console_history_details.rb +3 -3
- data/lib/oci/core/models/connect_local_peering_gateways_details.rb +120 -0
- data/lib/oci/core/models/console_history.rb +3 -3
- data/lib/oci/core/models/cpe.rb +3 -3
- data/lib/oci/core/models/create_cpe_details.rb +3 -3
- data/lib/oci/core/models/create_cross_connect_details.rb +3 -3
- data/lib/oci/core/models/create_cross_connect_group_details.rb +3 -3
- data/lib/oci/core/models/create_dhcp_details.rb +3 -3
- data/lib/oci/core/models/create_drg_attachment_details.rb +3 -3
- data/lib/oci/core/models/create_drg_details.rb +3 -3
- data/lib/oci/core/models/create_image_details.rb +3 -3
- data/lib/oci/core/models/create_instance_console_connection_details.rb +5 -5
- data/lib/oci/core/models/create_internet_gateway_details.rb +3 -3
- data/lib/oci/core/models/create_ip_sec_connection_details.rb +3 -3
- data/lib/oci/core/models/create_local_peering_gateway_details.rb +144 -0
- data/lib/oci/core/models/create_private_ip_details.rb +3 -3
- data/lib/oci/core/models/create_route_table_details.rb +3 -3
- data/lib/oci/core/models/create_security_list_details.rb +3 -3
- data/lib/oci/core/models/create_subnet_details.rb +3 -3
- data/lib/oci/core/models/create_vcn_details.rb +3 -3
- data/lib/oci/core/models/create_virtual_circuit_details.rb +3 -3
- data/lib/oci/core/models/create_vnic_details.rb +3 -3
- data/lib/oci/core/models/create_volume_backup_details.rb +3 -3
- data/lib/oci/core/models/create_volume_details.rb +3 -3
- data/lib/oci/core/models/cross_connect.rb +3 -3
- data/lib/oci/core/models/cross_connect_group.rb +3 -3
- data/lib/oci/core/models/cross_connect_location.rb +3 -3
- data/lib/oci/core/models/cross_connect_mapping.rb +3 -3
- data/lib/oci/core/models/cross_connect_port_speed_shape.rb +3 -3
- data/lib/oci/core/models/cross_connect_status.rb +3 -3
- data/lib/oci/core/models/dhcp_dns_option.rb +3 -3
- data/lib/oci/core/models/dhcp_option.rb +3 -3
- data/lib/oci/core/models/dhcp_options.rb +3 -3
- data/lib/oci/core/models/dhcp_search_domain_option.rb +3 -3
- data/lib/oci/core/models/drg.rb +3 -3
- data/lib/oci/core/models/drg_attachment.rb +3 -3
- data/lib/oci/core/models/egress_security_rule.rb +3 -3
- data/lib/oci/core/models/export_image_details.rb +3 -3
- data/lib/oci/core/models/export_image_via_object_storage_tuple_details.rb +3 -3
- data/lib/oci/core/models/export_image_via_object_storage_uri_details.rb +3 -3
- data/lib/oci/core/models/fast_connect_provider_service.rb +3 -3
- data/lib/oci/core/models/i_scsi_volume_attachment.rb +3 -3
- data/lib/oci/core/models/icmp_options.rb +3 -3
- data/lib/oci/core/models/image.rb +3 -3
- data/lib/oci/core/models/image_source_details.rb +3 -3
- data/lib/oci/core/models/image_source_via_object_storage_tuple_details.rb +3 -3
- data/lib/oci/core/models/image_source_via_object_storage_uri_details.rb +3 -3
- data/lib/oci/core/models/ingress_security_rule.rb +3 -3
- data/lib/oci/core/models/instance.rb +16 -6
- data/lib/oci/core/models/instance_console_connection.rb +9 -9
- data/lib/oci/core/models/instance_credentials.rb +3 -3
- data/lib/oci/core/models/instance_source_details.rb +135 -0
- data/lib/oci/core/models/instance_source_via_boot_volume_details.rb +128 -0
- data/lib/oci/core/models/instance_source_via_image_details.rb +128 -0
- data/lib/oci/core/models/internet_gateway.rb +3 -3
- data/lib/oci/core/models/ip_sec_connection.rb +3 -3
- data/lib/oci/core/models/ip_sec_connection_device_config.rb +3 -3
- data/lib/oci/core/models/ip_sec_connection_device_status.rb +3 -3
- data/lib/oci/core/models/launch_instance_details.rb +19 -6
- data/lib/oci/core/models/letter_of_authority.rb +3 -3
- data/lib/oci/core/models/local_peering_gateway.rb +271 -0
- data/lib/oci/core/models/port_range.rb +3 -3
- data/lib/oci/core/models/private_ip.rb +3 -3
- data/lib/oci/core/models/route_rule.rb +3 -3
- data/lib/oci/core/models/route_table.rb +3 -3
- data/lib/oci/core/models/security_list.rb +3 -3
- data/lib/oci/core/models/shape.rb +3 -3
- data/lib/oci/core/models/subnet.rb +3 -3
- data/lib/oci/core/models/tcp_options.rb +3 -3
- data/lib/oci/core/models/tunnel_config.rb +3 -3
- data/lib/oci/core/models/tunnel_status.rb +3 -3
- data/lib/oci/core/models/udp_options.rb +3 -3
- data/lib/oci/core/models/update_boot_volume_details.rb +122 -0
- data/lib/oci/core/models/update_console_history_details.rb +3 -3
- data/lib/oci/core/models/update_cpe_details.rb +3 -3
- data/lib/oci/core/models/update_cross_connect_details.rb +3 -3
- data/lib/oci/core/models/update_cross_connect_group_details.rb +3 -3
- data/lib/oci/core/models/update_dhcp_details.rb +3 -3
- data/lib/oci/core/models/update_drg_attachment_details.rb +3 -3
- data/lib/oci/core/models/update_drg_details.rb +3 -3
- data/lib/oci/core/models/update_image_details.rb +3 -3
- data/lib/oci/core/models/update_instance_details.rb +3 -3
- data/lib/oci/core/models/update_internet_gateway_details.rb +3 -3
- data/lib/oci/core/models/update_ip_sec_connection_details.rb +3 -3
- data/lib/oci/core/models/update_local_peering_gateway_details.rb +122 -0
- data/lib/oci/core/models/update_private_ip_details.rb +3 -3
- data/lib/oci/core/models/update_route_table_details.rb +3 -3
- data/lib/oci/core/models/update_security_list_details.rb +3 -3
- data/lib/oci/core/models/update_subnet_details.rb +3 -3
- data/lib/oci/core/models/update_vcn_details.rb +3 -3
- data/lib/oci/core/models/update_virtual_circuit_details.rb +3 -3
- data/lib/oci/core/models/update_vnic_details.rb +3 -3
- data/lib/oci/core/models/update_volume_backup_details.rb +3 -3
- data/lib/oci/core/models/update_volume_details.rb +3 -3
- data/lib/oci/core/models/vcn.rb +3 -3
- data/lib/oci/core/models/virtual_circuit.rb +3 -3
- data/lib/oci/core/models/virtual_circuit_bandwidth_shape.rb +3 -3
- data/lib/oci/core/models/vnic.rb +3 -3
- data/lib/oci/core/models/vnic_attachment.rb +20 -4
- data/lib/oci/core/models/volume.rb +3 -3
- data/lib/oci/core/models/volume_attachment.rb +3 -3
- data/lib/oci/core/models/volume_backup.rb +3 -3
- data/lib/oci/core/models/volume_source_details.rb +3 -3
- data/lib/oci/core/models/volume_source_from_volume_backup_details.rb +3 -3
- data/lib/oci/core/models/volume_source_from_volume_details.rb +3 -3
- data/lib/oci/core/virtual_network_client.rb +233 -0
- data/lib/oci/database/database.rb +3 -0
- data/lib/oci/database/database_client.rb +1 -1
- data/lib/oci/database/models/backup.rb +3 -3
- data/lib/oci/database/models/backup_summary.rb +3 -3
- data/lib/oci/database/models/create_backup_details.rb +3 -3
- data/lib/oci/database/models/create_data_guard_association_details.rb +3 -3
- data/lib/oci/database/models/create_data_guard_association_to_existing_db_system_details.rb +3 -3
- data/lib/oci/database/models/create_database_details.rb +3 -3
- data/lib/oci/database/models/create_database_from_backup_details.rb +142 -0
- data/lib/oci/database/models/create_db_home_details.rb +3 -3
- data/lib/oci/database/models/create_db_home_with_db_system_id_base.rb +173 -0
- data/lib/oci/database/models/create_db_home_with_db_system_id_details.rb +22 -30
- data/lib/oci/database/models/create_db_home_with_db_system_id_from_backup_details.rb +133 -0
- data/lib/oci/database/models/data_guard_association.rb +3 -3
- data/lib/oci/database/models/data_guard_association_summary.rb +3 -3
- data/lib/oci/database/models/database.rb +3 -3
- data/lib/oci/database/models/database_summary.rb +3 -3
- data/lib/oci/database/models/db_backup_config.rb +3 -3
- data/lib/oci/database/models/db_home.rb +3 -3
- data/lib/oci/database/models/db_home_summary.rb +3 -3
- data/lib/oci/database/models/db_node.rb +3 -3
- data/lib/oci/database/models/db_node_summary.rb +3 -3
- data/lib/oci/database/models/db_system.rb +3 -3
- data/lib/oci/database/models/db_system_shape_summary.rb +3 -3
- data/lib/oci/database/models/db_system_summary.rb +3 -3
- data/lib/oci/database/models/db_version_summary.rb +3 -3
- data/lib/oci/database/models/failover_data_guard_association_details.rb +3 -3
- data/lib/oci/database/models/launch_db_system_details.rb +3 -3
- data/lib/oci/database/models/patch.rb +3 -3
- data/lib/oci/database/models/patch_details.rb +3 -3
- data/lib/oci/database/models/patch_history_entry.rb +3 -3
- data/lib/oci/database/models/patch_history_entry_summary.rb +3 -3
- data/lib/oci/database/models/patch_summary.rb +3 -3
- data/lib/oci/database/models/reinstate_data_guard_association_details.rb +3 -3
- data/lib/oci/database/models/restore_database_details.rb +3 -3
- data/lib/oci/database/models/switchover_data_guard_association_details.rb +3 -3
- data/lib/oci/database/models/update_database_details.rb +3 -3
- data/lib/oci/database/models/update_db_home_details.rb +3 -3
- data/lib/oci/database/models/update_db_system_details.rb +3 -3
- data/lib/oci/identity/models/add_user_to_group_details.rb +3 -3
- data/lib/oci/identity/models/api_key.rb +3 -3
- data/lib/oci/identity/models/availability_domain.rb +3 -3
- data/lib/oci/identity/models/compartment.rb +3 -3
- data/lib/oci/identity/models/create_api_key_details.rb +3 -3
- data/lib/oci/identity/models/create_compartment_details.rb +3 -3
- data/lib/oci/identity/models/create_customer_secret_key_details.rb +3 -3
- data/lib/oci/identity/models/create_group_details.rb +3 -3
- data/lib/oci/identity/models/create_identity_provider_details.rb +3 -3
- data/lib/oci/identity/models/create_idp_group_mapping_details.rb +3 -3
- data/lib/oci/identity/models/create_policy_details.rb +3 -3
- data/lib/oci/identity/models/create_region_subscription_details.rb +3 -3
- data/lib/oci/identity/models/create_saml2_identity_provider_details.rb +3 -3
- data/lib/oci/identity/models/create_swift_password_details.rb +3 -3
- data/lib/oci/identity/models/create_user_details.rb +3 -3
- data/lib/oci/identity/models/customer_secret_key.rb +3 -3
- data/lib/oci/identity/models/customer_secret_key_summary.rb +3 -3
- data/lib/oci/identity/models/group.rb +3 -3
- data/lib/oci/identity/models/identity_provider.rb +3 -3
- data/lib/oci/identity/models/idp_group_mapping.rb +3 -3
- data/lib/oci/identity/models/policy.rb +3 -3
- data/lib/oci/identity/models/region.rb +3 -3
- data/lib/oci/identity/models/region_subscription.rb +3 -3
- data/lib/oci/identity/models/saml2_identity_provider.rb +3 -3
- data/lib/oci/identity/models/swift_password.rb +3 -3
- data/lib/oci/identity/models/tenancy.rb +3 -3
- data/lib/oci/identity/models/ui_password.rb +3 -3
- data/lib/oci/identity/models/update_compartment_details.rb +3 -3
- data/lib/oci/identity/models/update_customer_secret_key_details.rb +3 -3
- data/lib/oci/identity/models/update_group_details.rb +3 -3
- data/lib/oci/identity/models/update_identity_provider_details.rb +3 -3
- data/lib/oci/identity/models/update_idp_group_mapping_details.rb +3 -3
- data/lib/oci/identity/models/update_policy_details.rb +3 -3
- data/lib/oci/identity/models/update_saml2_identity_provider_details.rb +3 -3
- data/lib/oci/identity/models/update_state_details.rb +3 -3
- data/lib/oci/identity/models/update_swift_password_details.rb +3 -3
- data/lib/oci/identity/models/update_user_details.rb +3 -3
- data/lib/oci/identity/models/user.rb +3 -3
- data/lib/oci/identity/models/user_group_membership.rb +3 -3
- data/lib/oci/load_balancer/load_balancer_client.rb +27 -1
- data/lib/oci/load_balancer/models/backend.rb +3 -3
- data/lib/oci/load_balancer/models/backend_details.rb +3 -3
- data/lib/oci/load_balancer/models/backend_health.rb +4 -4
- data/lib/oci/load_balancer/models/backend_set.rb +5 -6
- data/lib/oci/load_balancer/models/backend_set_details.rb +5 -6
- data/lib/oci/load_balancer/models/backend_set_health.rb +3 -3
- data/lib/oci/load_balancer/models/certificate.rb +3 -3
- data/lib/oci/load_balancer/models/certificate_details.rb +3 -3
- data/lib/oci/load_balancer/models/create_backend_details.rb +3 -3
- data/lib/oci/load_balancer/models/create_backend_set_details.rb +5 -5
- data/lib/oci/load_balancer/models/create_certificate_details.rb +3 -3
- data/lib/oci/load_balancer/models/create_listener_details.rb +3 -3
- data/lib/oci/load_balancer/models/create_load_balancer_details.rb +4 -4
- data/lib/oci/load_balancer/models/health_check_result.rb +3 -3
- data/lib/oci/load_balancer/models/health_checker.rb +3 -3
- data/lib/oci/load_balancer/models/health_checker_details.rb +3 -3
- data/lib/oci/load_balancer/models/ip_address.rb +3 -3
- data/lib/oci/load_balancer/models/listener.rb +3 -3
- data/lib/oci/load_balancer/models/listener_details.rb +3 -3
- data/lib/oci/load_balancer/models/load_balancer.rb +6 -4
- data/lib/oci/load_balancer/models/load_balancer_health.rb +5 -5
- data/lib/oci/load_balancer/models/load_balancer_health_summary.rb +3 -3
- data/lib/oci/load_balancer/models/load_balancer_policy.rb +3 -3
- data/lib/oci/load_balancer/models/load_balancer_protocol.rb +3 -3
- data/lib/oci/load_balancer/models/load_balancer_shape.rb +3 -3
- data/lib/oci/load_balancer/models/session_persistence_configuration_details.rb +3 -3
- data/lib/oci/load_balancer/models/ssl_configuration.rb +3 -3
- data/lib/oci/load_balancer/models/ssl_configuration_details.rb +3 -3
- data/lib/oci/load_balancer/models/update_backend_details.rb +3 -3
- data/lib/oci/load_balancer/models/update_backend_set_details.rb +5 -6
- data/lib/oci/load_balancer/models/update_health_checker_details.rb +3 -3
- data/lib/oci/load_balancer/models/update_listener_details.rb +3 -3
- data/lib/oci/load_balancer/models/update_load_balancer_details.rb +3 -3
- data/lib/oci/load_balancer/models/work_request.rb +5 -3
- data/lib/oci/load_balancer/models/work_request_error.rb +3 -3
- data/lib/oci/object_storage/models/bucket.rb +3 -3
- data/lib/oci/object_storage/models/bucket_summary.rb +3 -3
- data/lib/oci/object_storage/models/commit_multipart_upload_details.rb +3 -3
- data/lib/oci/object_storage/models/commit_multipart_upload_part_details.rb +3 -3
- data/lib/oci/object_storage/models/create_bucket_details.rb +3 -3
- data/lib/oci/object_storage/models/create_multipart_upload_details.rb +3 -3
- data/lib/oci/object_storage/models/create_preauthenticated_request_details.rb +3 -3
- data/lib/oci/object_storage/models/list_objects.rb +3 -3
- data/lib/oci/object_storage/models/multipart_upload.rb +3 -3
- data/lib/oci/object_storage/models/multipart_upload_part_summary.rb +3 -3
- data/lib/oci/object_storage/models/namespace_metadata.rb +3 -3
- data/lib/oci/object_storage/models/object_summary.rb +3 -3
- data/lib/oci/object_storage/models/preauthenticated_request.rb +3 -3
- data/lib/oci/object_storage/models/preauthenticated_request_summary.rb +3 -3
- data/lib/oci/object_storage/models/rename_object_details.rb +3 -3
- data/lib/oci/object_storage/models/restore_objects_details.rb +3 -3
- data/lib/oci/object_storage/models/update_bucket_details.rb +3 -3
- data/lib/oci/object_storage/models/update_namespace_metadata_details.rb +3 -3
- data/lib/oci/version.rb +1 -1
- metadata +16 -2
@@ -10,9 +10,8 @@ module OCI
|
|
10
10
|
# @return [OCI::LoadBalancer::Models::HealthCheckerDetails]
|
11
11
|
attr_accessor :health_checker
|
12
12
|
|
13
|
-
# The load balancer policy for the backend set.
|
14
|
-
#
|
15
|
-
# operation.
|
13
|
+
# The load balancer policy for the backend set. To get a list of available policies, use the
|
14
|
+
# {#list_policies list_policies} operation.
|
16
15
|
#
|
17
16
|
# Example: `LEAST_CONNECTIONS`
|
18
17
|
#
|
@@ -90,10 +89,10 @@ module OCI
|
|
90
89
|
# check to ensure the input is an array given that the the attribute
|
91
90
|
# is documented as an array but the input is not
|
92
91
|
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
93
|
-
self.
|
92
|
+
self.public_send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| OCI::Internal::Util.convert_to_type($1, v) } )
|
94
93
|
end
|
95
94
|
elsif !attributes[self.class.attribute_map[key]].nil?
|
96
|
-
self.
|
95
|
+
self.public_send("#{key}=", OCI::Internal::Util.convert_to_type(type, attributes[self.class.attribute_map[key]]))
|
97
96
|
end # or else data not found in attributes(hash), not an issue as the data can be optional
|
98
97
|
end
|
99
98
|
|
@@ -111,7 +110,7 @@ module OCI
|
|
111
110
|
def to_hash
|
112
111
|
hash = {}
|
113
112
|
self.class.attribute_map.each_pair do |attr, param|
|
114
|
-
value =
|
113
|
+
value = public_send(attr)
|
115
114
|
next if value.nil? && !instance_variable_defined?("@#{attr}")
|
116
115
|
hash[param] = _to_hash(value)
|
117
116
|
end
|
@@ -132,10 +132,10 @@ module OCI
|
|
132
132
|
# check to ensure the input is an array given that the the attribute
|
133
133
|
# is documented as an array but the input is not
|
134
134
|
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
135
|
-
self.
|
135
|
+
self.public_send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| OCI::Internal::Util.convert_to_type($1, v) } )
|
136
136
|
end
|
137
137
|
elsif !attributes[self.class.attribute_map[key]].nil?
|
138
|
-
self.
|
138
|
+
self.public_send("#{key}=", OCI::Internal::Util.convert_to_type(type, attributes[self.class.attribute_map[key]]))
|
139
139
|
end # or else data not found in attributes(hash), not an issue as the data can be optional
|
140
140
|
end
|
141
141
|
|
@@ -153,7 +153,7 @@ module OCI
|
|
153
153
|
def to_hash
|
154
154
|
hash = {}
|
155
155
|
self.class.attribute_map.each_pair do |attr, param|
|
156
|
-
value =
|
156
|
+
value = public_send(attr)
|
157
157
|
next if value.nil? && !instance_variable_defined?("@#{attr}")
|
158
158
|
hash[param] = _to_hash(value)
|
159
159
|
end
|
@@ -98,10 +98,10 @@ module OCI
|
|
98
98
|
# check to ensure the input is an array given that the the attribute
|
99
99
|
# is documented as an array but the input is not
|
100
100
|
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
101
|
-
self.
|
101
|
+
self.public_send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| OCI::Internal::Util.convert_to_type($1, v) } )
|
102
102
|
end
|
103
103
|
elsif !attributes[self.class.attribute_map[key]].nil?
|
104
|
-
self.
|
104
|
+
self.public_send("#{key}=", OCI::Internal::Util.convert_to_type(type, attributes[self.class.attribute_map[key]]))
|
105
105
|
end # or else data not found in attributes(hash), not an issue as the data can be optional
|
106
106
|
end
|
107
107
|
|
@@ -119,7 +119,7 @@ module OCI
|
|
119
119
|
def to_hash
|
120
120
|
hash = {}
|
121
121
|
self.class.attribute_map.each_pair do |attr, param|
|
122
|
-
value =
|
122
|
+
value = public_send(attr)
|
123
123
|
next if value.nil? && !instance_variable_defined?("@#{attr}")
|
124
124
|
hash[param] = _to_hash(value)
|
125
125
|
end
|
@@ -130,10 +130,10 @@ module OCI
|
|
130
130
|
# check to ensure the input is an array given that the the attribute
|
131
131
|
# is documented as an array but the input is not
|
132
132
|
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
133
|
-
self.
|
133
|
+
self.public_send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| OCI::Internal::Util.convert_to_type($1, v) } )
|
134
134
|
end
|
135
135
|
elsif !attributes[self.class.attribute_map[key]].nil?
|
136
|
-
self.
|
136
|
+
self.public_send("#{key}=", OCI::Internal::Util.convert_to_type(type, attributes[self.class.attribute_map[key]]))
|
137
137
|
end # or else data not found in attributes(hash), not an issue as the data can be optional
|
138
138
|
end
|
139
139
|
|
@@ -151,7 +151,7 @@ module OCI
|
|
151
151
|
def to_hash
|
152
152
|
hash = {}
|
153
153
|
self.class.attribute_map.each_pair do |attr, param|
|
154
|
-
value =
|
154
|
+
value = public_send(attr)
|
155
155
|
next if value.nil? && !instance_variable_defined?("@#{attr}")
|
156
156
|
hash[param] = _to_hash(value)
|
157
157
|
end
|
@@ -129,10 +129,10 @@ module OCI
|
|
129
129
|
# check to ensure the input is an array given that the the attribute
|
130
130
|
# is documented as an array but the input is not
|
131
131
|
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
132
|
-
self.
|
132
|
+
self.public_send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| OCI::Internal::Util.convert_to_type($1, v) } )
|
133
133
|
end
|
134
134
|
elsif !attributes[self.class.attribute_map[key]].nil?
|
135
|
-
self.
|
135
|
+
self.public_send("#{key}=", OCI::Internal::Util.convert_to_type(type, attributes[self.class.attribute_map[key]]))
|
136
136
|
end # or else data not found in attributes(hash), not an issue as the data can be optional
|
137
137
|
end
|
138
138
|
|
@@ -150,7 +150,7 @@ module OCI
|
|
150
150
|
def to_hash
|
151
151
|
hash = {}
|
152
152
|
self.class.attribute_map.each_pair do |attr, param|
|
153
|
-
value =
|
153
|
+
value = public_send(attr)
|
154
154
|
next if value.nil? && !instance_variable_defined?("@#{attr}")
|
155
155
|
hash[param] = _to_hash(value)
|
156
156
|
end
|
@@ -20,8 +20,8 @@ module OCI
|
|
20
20
|
# @return [String]
|
21
21
|
attr_accessor :name
|
22
22
|
|
23
|
-
# The load balancer policy for the backend set.
|
24
|
-
#
|
23
|
+
# The load balancer policy for the backend set. To get a list of available policies, use the
|
24
|
+
# {#list_policies list_policies} operation.
|
25
25
|
#
|
26
26
|
# Example: `LEAST_CONNECTIONS`
|
27
27
|
#
|
@@ -104,10 +104,10 @@ module OCI
|
|
104
104
|
# check to ensure the input is an array given that the the attribute
|
105
105
|
# is documented as an array but the input is not
|
106
106
|
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
107
|
-
self.
|
107
|
+
self.public_send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| OCI::Internal::Util.convert_to_type($1, v) } )
|
108
108
|
end
|
109
109
|
elsif !attributes[self.class.attribute_map[key]].nil?
|
110
|
-
self.
|
110
|
+
self.public_send("#{key}=", OCI::Internal::Util.convert_to_type(type, attributes[self.class.attribute_map[key]]))
|
111
111
|
end # or else data not found in attributes(hash), not an issue as the data can be optional
|
112
112
|
end
|
113
113
|
|
@@ -125,7 +125,7 @@ module OCI
|
|
125
125
|
def to_hash
|
126
126
|
hash = {}
|
127
127
|
self.class.attribute_map.each_pair do |attr, param|
|
128
|
-
value =
|
128
|
+
value = public_send(attr)
|
129
129
|
next if value.nil? && !instance_variable_defined?("@#{attr}")
|
130
130
|
hash[param] = _to_hash(value)
|
131
131
|
end
|
@@ -130,10 +130,10 @@ module OCI
|
|
130
130
|
# check to ensure the input is an array given that the the attribute
|
131
131
|
# is documented as an array but the input is not
|
132
132
|
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
133
|
-
self.
|
133
|
+
self.public_send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| OCI::Internal::Util.convert_to_type($1, v) } )
|
134
134
|
end
|
135
135
|
elsif !attributes[self.class.attribute_map[key]].nil?
|
136
|
-
self.
|
136
|
+
self.public_send("#{key}=", OCI::Internal::Util.convert_to_type(type, attributes[self.class.attribute_map[key]]))
|
137
137
|
end # or else data not found in attributes(hash), not an issue as the data can be optional
|
138
138
|
end
|
139
139
|
|
@@ -151,7 +151,7 @@ module OCI
|
|
151
151
|
def to_hash
|
152
152
|
hash = {}
|
153
153
|
self.class.attribute_map.each_pair do |attr, param|
|
154
|
-
value =
|
154
|
+
value = public_send(attr)
|
155
155
|
next if value.nil? && !instance_variable_defined?("@#{attr}")
|
156
156
|
hash[param] = _to_hash(value)
|
157
157
|
end
|
@@ -100,10 +100,10 @@ module OCI
|
|
100
100
|
# check to ensure the input is an array given that the the attribute
|
101
101
|
# is documented as an array but the input is not
|
102
102
|
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
103
|
-
self.
|
103
|
+
self.public_send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| OCI::Internal::Util.convert_to_type($1, v) } )
|
104
104
|
end
|
105
105
|
elsif !attributes[self.class.attribute_map[key]].nil?
|
106
|
-
self.
|
106
|
+
self.public_send("#{key}=", OCI::Internal::Util.convert_to_type(type, attributes[self.class.attribute_map[key]]))
|
107
107
|
end # or else data not found in attributes(hash), not an issue as the data can be optional
|
108
108
|
end
|
109
109
|
|
@@ -121,7 +121,7 @@ module OCI
|
|
121
121
|
def to_hash
|
122
122
|
hash = {}
|
123
123
|
self.class.attribute_map.each_pair do |attr, param|
|
124
|
-
value =
|
124
|
+
value = public_send(attr)
|
125
125
|
next if value.nil? && !instance_variable_defined?("@#{attr}")
|
126
126
|
hash[param] = _to_hash(value)
|
127
127
|
end
|
@@ -33,7 +33,7 @@ module OCI
|
|
33
33
|
#
|
34
34
|
# If \"false\", the service assigns a public IP address to the load balancer. A load balancer with a public IP address
|
35
35
|
# requires two subnets, each in a different Availability Domain. One subnet hosts the primary load balancer and the other
|
36
|
-
# hosts the secondary (
|
36
|
+
# hosts the secondary (standby) load balancer. A public load balancer is accessible from the internet, depending on your
|
37
37
|
# VCN's [security list rules](https://docs.us-phoenix-1.oraclecloud.com/Content/Network/Concepts/securitylists.htm).
|
38
38
|
#
|
39
39
|
# Example: `false`
|
@@ -139,10 +139,10 @@ module OCI
|
|
139
139
|
# check to ensure the input is an array given that the the attribute
|
140
140
|
# is documented as an array but the input is not
|
141
141
|
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
142
|
-
self.
|
142
|
+
self.public_send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| OCI::Internal::Util.convert_to_type($1, v) } )
|
143
143
|
end
|
144
144
|
elsif !attributes[self.class.attribute_map[key]].nil?
|
145
|
-
self.
|
145
|
+
self.public_send("#{key}=", OCI::Internal::Util.convert_to_type(type, attributes[self.class.attribute_map[key]]))
|
146
146
|
end # or else data not found in attributes(hash), not an issue as the data can be optional
|
147
147
|
end
|
148
148
|
|
@@ -160,7 +160,7 @@ module OCI
|
|
160
160
|
def to_hash
|
161
161
|
hash = {}
|
162
162
|
self.class.attribute_map.each_pair do |attr, param|
|
163
|
-
value =
|
163
|
+
value = public_send(attr)
|
164
164
|
next if value.nil? && !instance_variable_defined?("@#{attr}")
|
165
165
|
hash[param] = _to_hash(value)
|
166
166
|
end
|
@@ -110,10 +110,10 @@ module OCI
|
|
110
110
|
# check to ensure the input is an array given that the the attribute
|
111
111
|
# is documented as an array but the input is not
|
112
112
|
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
113
|
-
self.
|
113
|
+
self.public_send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| OCI::Internal::Util.convert_to_type($1, v) } )
|
114
114
|
end
|
115
115
|
elsif !attributes[self.class.attribute_map[key]].nil?
|
116
|
-
self.
|
116
|
+
self.public_send("#{key}=", OCI::Internal::Util.convert_to_type(type, attributes[self.class.attribute_map[key]]))
|
117
117
|
end # or else data not found in attributes(hash), not an issue as the data can be optional
|
118
118
|
end
|
119
119
|
|
@@ -131,7 +131,7 @@ module OCI
|
|
131
131
|
def to_hash
|
132
132
|
hash = {}
|
133
133
|
self.class.attribute_map.each_pair do |attr, param|
|
134
|
-
value =
|
134
|
+
value = public_send(attr)
|
135
135
|
next if value.nil? && !instance_variable_defined?("@#{attr}")
|
136
136
|
hash[param] = _to_hash(value)
|
137
137
|
end
|
@@ -143,10 +143,10 @@ module OCI
|
|
143
143
|
# check to ensure the input is an array given that the the attribute
|
144
144
|
# is documented as an array but the input is not
|
145
145
|
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
146
|
-
self.
|
146
|
+
self.public_send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| OCI::Internal::Util.convert_to_type($1, v) } )
|
147
147
|
end
|
148
148
|
elsif !attributes[self.class.attribute_map[key]].nil?
|
149
|
-
self.
|
149
|
+
self.public_send("#{key}=", OCI::Internal::Util.convert_to_type(type, attributes[self.class.attribute_map[key]]))
|
150
150
|
end # or else data not found in attributes(hash), not an issue as the data can be optional
|
151
151
|
end
|
152
152
|
|
@@ -164,7 +164,7 @@ module OCI
|
|
164
164
|
def to_hash
|
165
165
|
hash = {}
|
166
166
|
self.class.attribute_map.each_pair do |attr, param|
|
167
|
-
value =
|
167
|
+
value = public_send(attr)
|
168
168
|
next if value.nil? && !instance_variable_defined?("@#{attr}")
|
169
169
|
hash[param] = _to_hash(value)
|
170
170
|
end
|
@@ -142,10 +142,10 @@ module OCI
|
|
142
142
|
# check to ensure the input is an array given that the the attribute
|
143
143
|
# is documented as an array but the input is not
|
144
144
|
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
145
|
-
self.
|
145
|
+
self.public_send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| OCI::Internal::Util.convert_to_type($1, v) } )
|
146
146
|
end
|
147
147
|
elsif !attributes[self.class.attribute_map[key]].nil?
|
148
|
-
self.
|
148
|
+
self.public_send("#{key}=", OCI::Internal::Util.convert_to_type(type, attributes[self.class.attribute_map[key]]))
|
149
149
|
end # or else data not found in attributes(hash), not an issue as the data can be optional
|
150
150
|
end
|
151
151
|
|
@@ -163,7 +163,7 @@ module OCI
|
|
163
163
|
def to_hash
|
164
164
|
hash = {}
|
165
165
|
self.class.attribute_map.each_pair do |attr, param|
|
166
|
-
value =
|
166
|
+
value = public_send(attr)
|
167
167
|
next if value.nil? && !instance_variable_defined?("@#{attr}")
|
168
168
|
hash[param] = _to_hash(value)
|
169
169
|
end
|
@@ -70,10 +70,10 @@ module OCI
|
|
70
70
|
# check to ensure the input is an array given that the the attribute
|
71
71
|
# is documented as an array but the input is not
|
72
72
|
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
73
|
-
self.
|
73
|
+
self.public_send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| OCI::Internal::Util.convert_to_type($1, v) } )
|
74
74
|
end
|
75
75
|
elsif !attributes[self.class.attribute_map[key]].nil?
|
76
|
-
self.
|
76
|
+
self.public_send("#{key}=", OCI::Internal::Util.convert_to_type(type, attributes[self.class.attribute_map[key]]))
|
77
77
|
end # or else data not found in attributes(hash), not an issue as the data can be optional
|
78
78
|
end
|
79
79
|
|
@@ -91,7 +91,7 @@ module OCI
|
|
91
91
|
def to_hash
|
92
92
|
hash = {}
|
93
93
|
self.class.attribute_map.each_pair do |attr, param|
|
94
|
-
value =
|
94
|
+
value = public_send(attr)
|
95
95
|
next if value.nil? && !instance_variable_defined?("@#{attr}")
|
96
96
|
hash[param] = _to_hash(value)
|
97
97
|
end
|
@@ -99,10 +99,10 @@ module OCI
|
|
99
99
|
# check to ensure the input is an array given that the the attribute
|
100
100
|
# is documented as an array but the input is not
|
101
101
|
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
102
|
-
self.
|
102
|
+
self.public_send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| OCI::Internal::Util.convert_to_type($1, v) } )
|
103
103
|
end
|
104
104
|
elsif !attributes[self.class.attribute_map[key]].nil?
|
105
|
-
self.
|
105
|
+
self.public_send("#{key}=", OCI::Internal::Util.convert_to_type(type, attributes[self.class.attribute_map[key]]))
|
106
106
|
end # or else data not found in attributes(hash), not an issue as the data can be optional
|
107
107
|
end
|
108
108
|
|
@@ -120,7 +120,7 @@ module OCI
|
|
120
120
|
def to_hash
|
121
121
|
hash = {}
|
122
122
|
self.class.attribute_map.each_pair do |attr, param|
|
123
|
-
value =
|
123
|
+
value = public_send(attr)
|
124
124
|
next if value.nil? && !instance_variable_defined?("@#{attr}")
|
125
125
|
hash[param] = _to_hash(value)
|
126
126
|
end
|
@@ -87,10 +87,10 @@ module OCI
|
|
87
87
|
# check to ensure the input is an array given that the the attribute
|
88
88
|
# is documented as an array but the input is not
|
89
89
|
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
90
|
-
self.
|
90
|
+
self.public_send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| OCI::Internal::Util.convert_to_type($1, v) } )
|
91
91
|
end
|
92
92
|
elsif !attributes[self.class.attribute_map[key]].nil?
|
93
|
-
self.
|
93
|
+
self.public_send("#{key}=", OCI::Internal::Util.convert_to_type(type, attributes[self.class.attribute_map[key]]))
|
94
94
|
end # or else data not found in attributes(hash), not an issue as the data can be optional
|
95
95
|
end
|
96
96
|
|
@@ -108,7 +108,7 @@ module OCI
|
|
108
108
|
def to_hash
|
109
109
|
hash = {}
|
110
110
|
self.class.attribute_map.each_pair do |attr, param|
|
111
|
-
value =
|
111
|
+
value = public_send(attr)
|
112
112
|
next if value.nil? && !instance_variable_defined?("@#{attr}")
|
113
113
|
hash[param] = _to_hash(value)
|
114
114
|
end
|
@@ -49,12 +49,14 @@ module OCI
|
|
49
49
|
#
|
50
50
|
# If \"false\", the service assigns a public IP address to the load balancer. A load balancer with a public IP address
|
51
51
|
# requires two subnets, each in a different Availability Domain. One subnet hosts the primary load balancer and the other
|
52
|
-
# hosts the secondary (
|
52
|
+
# hosts the secondary (standby) load balancer. A public load balancer is accessible from the internet, depending on your
|
53
53
|
# VCN's [security list rules](https://docs.us-phoenix-1.oraclecloud.com/Content/Network/Concepts/securitylists.htm).
|
54
54
|
#
|
55
55
|
# @return [BOOLEAN]
|
56
56
|
attr_accessor :is_private
|
57
57
|
|
58
|
+
# The current state of the load balancer.
|
59
|
+
#
|
58
60
|
# @return [String]
|
59
61
|
attr_accessor :lifecycle_state
|
60
62
|
|
@@ -191,10 +193,10 @@ module OCI
|
|
191
193
|
# check to ensure the input is an array given that the the attribute
|
192
194
|
# is documented as an array but the input is not
|
193
195
|
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
194
|
-
self.
|
196
|
+
self.public_send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| OCI::Internal::Util.convert_to_type($1, v) } )
|
195
197
|
end
|
196
198
|
elsif !attributes[self.class.attribute_map[key]].nil?
|
197
|
-
self.
|
199
|
+
self.public_send("#{key}=", OCI::Internal::Util.convert_to_type(type, attributes[self.class.attribute_map[key]]))
|
198
200
|
end # or else data not found in attributes(hash), not an issue as the data can be optional
|
199
201
|
end
|
200
202
|
|
@@ -212,7 +214,7 @@ module OCI
|
|
212
214
|
def to_hash
|
213
215
|
hash = {}
|
214
216
|
self.class.attribute_map.each_pair do |attr, param|
|
215
|
-
value =
|
217
|
+
value = public_send(attr)
|
216
218
|
next if value.nil? && !instance_variable_defined?("@#{attr}")
|
217
219
|
hash[param] = _to_hash(value)
|
218
220
|
end
|
@@ -52,7 +52,7 @@ module OCI
|
|
52
52
|
# A list of backend sets that are currently in the `UNKNOWN` health state. The list identifies each backend set by the
|
53
53
|
# friendly name you assigned when you created it.
|
54
54
|
#
|
55
|
-
# Example: `
|
55
|
+
# Example: `Backend_set2`
|
56
56
|
#
|
57
57
|
# @return [Array<String>]
|
58
58
|
attr_accessor :unknown_state_backend_set_names
|
@@ -60,7 +60,7 @@ module OCI
|
|
60
60
|
# A list of backend sets that are currently in the `WARNING` health state. The list identifies each backend set by the
|
61
61
|
# friendly name you assigned when you created it.
|
62
62
|
#
|
63
|
-
# Example: `
|
63
|
+
# Example: `Backend_set3`
|
64
64
|
#
|
65
65
|
# @return [Array<String>]
|
66
66
|
attr_accessor :warning_state_backend_set_names
|
@@ -140,10 +140,10 @@ module OCI
|
|
140
140
|
# check to ensure the input is an array given that the the attribute
|
141
141
|
# is documented as an array but the input is not
|
142
142
|
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
143
|
-
self.
|
143
|
+
self.public_send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| OCI::Internal::Util.convert_to_type($1, v) } )
|
144
144
|
end
|
145
145
|
elsif !attributes[self.class.attribute_map[key]].nil?
|
146
|
-
self.
|
146
|
+
self.public_send("#{key}=", OCI::Internal::Util.convert_to_type(type, attributes[self.class.attribute_map[key]]))
|
147
147
|
end # or else data not found in attributes(hash), not an issue as the data can be optional
|
148
148
|
end
|
149
149
|
|
@@ -161,7 +161,7 @@ module OCI
|
|
161
161
|
def to_hash
|
162
162
|
hash = {}
|
163
163
|
self.class.attribute_map.each_pair do |attr, param|
|
164
|
-
value =
|
164
|
+
value = public_send(attr)
|
165
165
|
next if value.nil? && !instance_variable_defined?("@#{attr}")
|
166
166
|
hash[param] = _to_hash(value)
|
167
167
|
end
|
@@ -99,10 +99,10 @@ module OCI
|
|
99
99
|
# check to ensure the input is an array given that the the attribute
|
100
100
|
# is documented as an array but the input is not
|
101
101
|
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
102
|
-
self.
|
102
|
+
self.public_send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| OCI::Internal::Util.convert_to_type($1, v) } )
|
103
103
|
end
|
104
104
|
elsif !attributes[self.class.attribute_map[key]].nil?
|
105
|
-
self.
|
105
|
+
self.public_send("#{key}=", OCI::Internal::Util.convert_to_type(type, attributes[self.class.attribute_map[key]]))
|
106
106
|
end # or else data not found in attributes(hash), not an issue as the data can be optional
|
107
107
|
end
|
108
108
|
|
@@ -120,7 +120,7 @@ module OCI
|
|
120
120
|
def to_hash
|
121
121
|
hash = {}
|
122
122
|
self.class.attribute_map.each_pair do |attr, param|
|
123
|
-
value =
|
123
|
+
value = public_send(attr)
|
124
124
|
next if value.nil? && !instance_variable_defined?("@#{attr}")
|
125
125
|
hash[param] = _to_hash(value)
|
126
126
|
end
|