oci 2.0.7 → 2.0.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +2 -1
- data/lib/oci.rb +1 -0
- data/lib/oci/api_client.rb +21 -11
- data/lib/oci/audit/models/audit_event.rb +133 -19
- data/lib/oci/audit/models/configuration.rb +7 -1
- data/lib/oci/audit/models/update_configuration_details.rb +7 -1
- data/lib/oci/base_signer.rb +1 -2
- data/lib/oci/core/models/attach_boot_volume_details.rb +21 -3
- data/lib/oci/core/models/attach_i_scsi_volume_details.rb +11 -5
- data/lib/oci/core/models/attach_vnic_details.rb +28 -4
- data/lib/oci/core/models/attach_volume_details.rb +28 -4
- data/lib/oci/core/models/boot_volume.rb +56 -8
- data/lib/oci/core/models/boot_volume_attachment.rb +49 -7
- data/lib/oci/core/models/bulk_add_virtual_circuit_public_prefixes_details.rb +7 -1
- data/lib/oci/core/models/bulk_delete_virtual_circuit_public_prefixes_details.rb +7 -1
- data/lib/oci/core/models/capture_console_history_details.rb +28 -4
- data/lib/oci/core/models/connect_local_peering_gateways_details.rb +7 -1
- data/lib/oci/core/models/console_history.rb +56 -8
- data/lib/oci/core/models/cpe.rb +28 -4
- data/lib/oci/core/models/create_cpe_details.rb +21 -3
- data/lib/oci/core/models/create_cross_connect_details.rb +49 -7
- data/lib/oci/core/models/create_cross_connect_group_details.rb +14 -2
- data/lib/oci/core/models/create_dhcp_details.rb +35 -5
- data/lib/oci/core/models/create_drg_attachment_details.rb +21 -3
- data/lib/oci/core/models/create_drg_details.rb +14 -2
- data/lib/oci/core/models/create_image_details.rb +49 -7
- data/lib/oci/core/models/create_instance_console_connection_details.rb +28 -4
- data/lib/oci/core/models/create_internet_gateway_details.rb +28 -4
- data/lib/oci/core/models/create_ip_sec_connection_details.rb +35 -5
- data/lib/oci/core/models/create_local_peering_gateway_details.rb +21 -3
- data/lib/oci/core/models/create_private_ip_details.rb +42 -6
- data/lib/oci/core/models/create_public_ip_details.rb +21 -3
- data/lib/oci/core/models/create_route_table_details.rb +42 -6
- data/lib/oci/core/models/create_security_list_details.rb +49 -7
- data/lib/oci/core/models/create_subnet_details.rb +84 -12
- data/lib/oci/core/models/create_vcn_details.rb +42 -6
- data/lib/oci/core/models/create_virtual_circuit_details.rb +70 -10
- data/lib/oci/core/models/create_virtual_circuit_public_prefix_details.rb +7 -1
- data/lib/oci/core/models/create_vnic_details.rb +42 -6
- data/lib/oci/core/models/create_volume_backup_details.rb +28 -4
- data/lib/oci/core/models/create_volume_backup_policy_assignment_details.rb +14 -2
- data/lib/oci/core/models/create_volume_details.rb +70 -10
- data/lib/oci/core/models/cross_connect.rb +56 -8
- data/lib/oci/core/models/cross_connect_group.rb +28 -4
- data/lib/oci/core/models/cross_connect_mapping.rb +28 -4
- data/lib/oci/core/models/cross_connect_port_speed_shape.rb +7 -1
- data/lib/oci/core/models/cross_connect_status.rb +28 -4
- data/lib/oci/core/models/delete_virtual_circuit_public_prefix_details.rb +7 -1
- data/lib/oci/core/models/dhcp_dns_option.rb +14 -2
- data/lib/oci/core/models/dhcp_options.rb +49 -7
- data/lib/oci/core/models/dhcp_search_domain_option.rb +7 -1
- data/lib/oci/core/models/drg.rb +28 -4
- data/lib/oci/core/models/drg_attachment.rb +42 -6
- data/lib/oci/core/models/egress_security_rule.rb +28 -4
- data/lib/oci/core/models/export_image_details.rb +7 -1
- data/lib/oci/core/models/export_image_via_object_storage_tuple_details.rb +21 -3
- data/lib/oci/core/models/export_image_via_object_storage_uri_details.rb +7 -1
- data/lib/oci/core/models/fast_connect_provider_service.rb +35 -5
- data/lib/oci/core/models/get_public_ip_by_ip_address_details.rb +7 -1
- data/lib/oci/core/models/get_public_ip_by_private_ip_id_details.rb +7 -1
- data/lib/oci/core/models/i_scsi_volume_attachment.rb +22 -10
- data/lib/oci/core/models/image.rb +84 -12
- data/lib/oci/core/models/image_source_details.rb +14 -2
- data/lib/oci/core/models/image_source_via_object_storage_tuple_details.rb +22 -4
- data/lib/oci/core/models/image_source_via_object_storage_uri_details.rb +8 -2
- data/lib/oci/core/models/ingress_security_rule.rb +28 -4
- data/lib/oci/core/models/instance.rb +91 -13
- data/lib/oci/core/models/instance_console_connection.rb +49 -7
- data/lib/oci/core/models/instance_source_details.rb +7 -1
- data/lib/oci/core/models/instance_source_via_boot_volume_details.rb +7 -1
- data/lib/oci/core/models/instance_source_via_image_details.rb +7 -1
- data/lib/oci/core/models/internet_gateway.rb +42 -6
- data/lib/oci/core/models/ip_sec_connection.rb +49 -7
- data/lib/oci/core/models/ip_sec_connection_device_config.rb +14 -2
- data/lib/oci/core/models/ip_sec_connection_device_status.rb +14 -2
- data/lib/oci/core/models/launch_instance_details.rb +84 -12
- data/lib/oci/core/models/launch_options.rb +21 -3
- data/lib/oci/core/models/letter_of_authority.rb +49 -7
- data/lib/oci/core/models/local_peering_gateway.rb +63 -9
- data/lib/oci/core/models/private_ip.rb +77 -11
- data/lib/oci/core/models/public_ip.rb +49 -7
- data/lib/oci/core/models/route_rule.rb +14 -2
- data/lib/oci/core/models/route_table.rb +56 -8
- data/lib/oci/core/models/security_list.rb +63 -9
- data/lib/oci/core/models/subnet.rb +119 -17
- data/lib/oci/core/models/tcp_options.rb +14 -2
- data/lib/oci/core/models/tunnel_config.rb +21 -3
- data/lib/oci/core/models/tunnel_status.rb +28 -4
- data/lib/oci/core/models/udp_options.rb +14 -2
- data/lib/oci/core/models/update_boot_volume_details.rb +7 -1
- data/lib/oci/core/models/update_console_history_details.rb +21 -3
- data/lib/oci/core/models/update_cpe_details.rb +7 -1
- data/lib/oci/core/models/update_cross_connect_details.rb +14 -2
- data/lib/oci/core/models/update_cross_connect_group_details.rb +7 -1
- data/lib/oci/core/models/update_dhcp_details.rb +21 -3
- data/lib/oci/core/models/update_drg_attachment_details.rb +7 -1
- data/lib/oci/core/models/update_drg_details.rb +7 -1
- data/lib/oci/core/models/update_image_details.rb +21 -3
- data/lib/oci/core/models/update_instance_details.rb +21 -3
- data/lib/oci/core/models/update_internet_gateway_details.rb +14 -2
- data/lib/oci/core/models/update_ip_sec_connection_details.rb +7 -1
- data/lib/oci/core/models/update_local_peering_gateway_details.rb +7 -1
- data/lib/oci/core/models/update_private_ip_details.rb +35 -5
- data/lib/oci/core/models/update_public_ip_details.rb +14 -2
- data/lib/oci/core/models/update_route_table_details.rb +28 -4
- data/lib/oci/core/models/update_security_list_details.rb +35 -5
- data/lib/oci/core/models/update_subnet_details.rb +21 -3
- data/lib/oci/core/models/update_vcn_details.rb +21 -3
- data/lib/oci/core/models/update_virtual_circuit_details.rb +49 -7
- data/lib/oci/core/models/update_vnic_details.rb +21 -3
- data/lib/oci/core/models/update_volume_backup_details.rb +21 -3
- data/lib/oci/core/models/update_volume_details.rb +21 -3
- data/lib/oci/core/models/vcn.rb +84 -12
- data/lib/oci/core/models/virtual_circuit.rb +126 -18
- data/lib/oci/core/models/virtual_circuit_bandwidth_shape.rb +7 -1
- data/lib/oci/core/models/virtual_circuit_public_prefix.rb +14 -2
- data/lib/oci/core/models/vnic.rb +84 -12
- data/lib/oci/core/models/vnic_attachment.rb +70 -10
- data/lib/oci/core/models/volume.rb +77 -11
- data/lib/oci/core/models/volume_attachment.rb +63 -9
- data/lib/oci/core/models/volume_backup.rb +98 -14
- data/lib/oci/core/models/volume_backup_policy.rb +14 -2
- data/lib/oci/core/models/volume_backup_policy_assignment.rb +21 -3
- data/lib/oci/core/models/volume_backup_schedule.rb +21 -3
- data/lib/oci/database/database_client.rb +2 -2
- data/lib/oci/database/models/backup.rb +56 -8
- data/lib/oci/database/models/backup_summary.rb +56 -8
- data/lib/oci/database/models/create_backup_details.rb +14 -2
- data/lib/oci/database/models/create_data_guard_association_details.rb +28 -4
- data/lib/oci/database/models/create_data_guard_association_to_existing_db_system_details.rb +10 -4
- data/lib/oci/database/models/create_database_details.rb +49 -7
- data/lib/oci/database/models/create_database_from_backup_details.rb +21 -3
- data/lib/oci/database/models/create_db_home_details.rb +14 -2
- data/lib/oci/database/models/create_db_home_with_db_system_id_base.rb +14 -2
- data/lib/oci/database/models/create_db_home_with_db_system_id_details.rb +9 -3
- data/lib/oci/database/models/create_db_home_with_db_system_id_from_backup_details.rb +2 -2
- data/lib/oci/database/models/data_guard_association.rb +91 -13
- data/lib/oci/database/models/data_guard_association_summary.rb +91 -13
- data/lib/oci/database/models/database.rb +84 -12
- data/lib/oci/database/models/database_summary.rb +84 -12
- data/lib/oci/database/models/db_backup_config.rb +7 -1
- data/lib/oci/database/models/db_home.rb +49 -7
- data/lib/oci/database/models/db_home_summary.rb +49 -7
- data/lib/oci/database/models/db_node.rb +42 -6
- data/lib/oci/database/models/db_node_summary.rb +42 -6
- data/lib/oci/database/models/db_system.rb +161 -23
- data/lib/oci/database/models/db_system_shape_summary.rb +7 -1
- data/lib/oci/database/models/db_system_summary.rb +161 -23
- data/lib/oci/database/models/db_version_summary.rb +7 -1
- data/lib/oci/database/models/failover_data_guard_association_details.rb +7 -1
- data/lib/oci/database/models/launch_db_system_details.rb +105 -15
- data/lib/oci/database/models/patch.rb +35 -5
- data/lib/oci/database/models/patch_details.rb +7 -1
- data/lib/oci/database/models/patch_history_entry.rb +35 -5
- data/lib/oci/database/models/patch_history_entry_summary.rb +35 -5
- data/lib/oci/database/models/patch_summary.rb +35 -5
- data/lib/oci/database/models/reinstate_data_guard_association_details.rb +7 -1
- data/lib/oci/database/models/restore_database_details.rb +7 -1
- data/lib/oci/database/models/switchover_data_guard_association_details.rb +7 -1
- data/lib/oci/database/models/update_database_details.rb +7 -1
- data/lib/oci/database/models/update_db_home_details.rb +7 -1
- data/lib/oci/database/models/update_db_system_details.rb +21 -3
- data/lib/oci/dns/models/create_zone_details.rb +21 -3
- data/lib/oci/dns/models/record.rb +21 -3
- data/lib/oci/dns/models/record_details.rb +21 -3
- data/lib/oci/dns/models/record_operation.rb +21 -3
- data/lib/oci/dns/models/update_zone_details.rb +7 -1
- data/lib/oci/dns/models/zone.rb +42 -6
- data/lib/oci/dns/models/zone_summary.rb +28 -4
- data/lib/oci/file_storage/file_storage.rb +33 -0
- data/lib/oci/file_storage/file_storage_client.rb +1117 -0
- data/lib/oci/file_storage/models/create_export_details.rb +162 -0
- data/lib/oci/file_storage/models/create_file_system_details.rb +170 -0
- data/lib/oci/file_storage/models/create_mount_target_details.rb +242 -0
- data/lib/oci/file_storage/models/create_snapshot_details.rb +146 -0
- data/lib/oci/file_storage/models/export.rb +261 -0
- data/lib/oci/file_storage/models/export_set.rb +315 -0
- data/lib/oci/file_storage/models/export_set_summary.rb +260 -0
- data/lib/oci/file_storage/models/export_summary.rb +233 -0
- data/lib/oci/file_storage/models/file_system.rb +273 -0
- data/lib/oci/file_storage/models/file_system_summary.rb +265 -0
- data/lib/oci/file_storage/models/mount_target.rb +320 -0
- data/lib/oci/file_storage/models/mount_target_summary.rb +300 -0
- data/lib/oci/file_storage/models/snapshot.rb +217 -0
- data/lib/oci/file_storage/models/snapshot_summary.rb +217 -0
- data/lib/oci/file_storage/models/update_export_set_details.rb +185 -0
- data/lib/oci/file_storage/models/update_file_system_details.rb +131 -0
- data/lib/oci/file_storage/models/update_mount_target_details.rb +131 -0
- data/lib/oci/file_storage/util.rb +2 -0
- data/lib/oci/identity/models/add_user_to_group_details.rb +14 -2
- data/lib/oci/identity/models/api_key.rb +42 -6
- data/lib/oci/identity/models/availability_domain.rb +7 -1
- data/lib/oci/identity/models/compartment.rb +42 -6
- data/lib/oci/identity/models/create_compartment_details.rb +21 -3
- data/lib/oci/identity/models/create_customer_secret_key_details.rb +7 -1
- data/lib/oci/identity/models/create_dynamic_group_details.rb +14 -2
- data/lib/oci/identity/models/create_group_details.rb +21 -3
- data/lib/oci/identity/models/create_identity_provider_details.rb +28 -4
- data/lib/oci/identity/models/create_idp_group_mapping_details.rb +14 -2
- data/lib/oci/identity/models/create_policy_details.rb +28 -4
- data/lib/oci/identity/models/create_region_subscription_details.rb +7 -1
- data/lib/oci/identity/models/create_saml2_identity_provider_details.rb +11 -5
- data/lib/oci/identity/models/create_tag_details.rb +14 -2
- data/lib/oci/identity/models/create_tag_namespace_details.rb +21 -3
- data/lib/oci/identity/models/create_user_details.rb +21 -3
- data/lib/oci/identity/models/customer_secret_key.rb +42 -6
- data/lib/oci/identity/models/customer_secret_key_summary.rb +42 -6
- data/lib/oci/identity/models/dynamic_group.rb +35 -5
- data/lib/oci/identity/models/group.rb +42 -6
- data/lib/oci/identity/models/identity_provider.rb +49 -7
- data/lib/oci/identity/models/idp_group_mapping.rb +49 -7
- data/lib/oci/identity/models/policy.rb +49 -7
- data/lib/oci/identity/models/region_subscription.rb +21 -3
- data/lib/oci/identity/models/saml2_identity_provider.rb +28 -10
- data/lib/oci/identity/models/swift_password.rb +35 -5
- data/lib/oci/identity/models/tag.rb +49 -7
- data/lib/oci/identity/models/tag_namespace.rb +35 -5
- data/lib/oci/identity/models/tag_namespace_summary.rb +35 -5
- data/lib/oci/identity/models/tag_summary.rb +35 -5
- data/lib/oci/identity/models/tenancy.rb +21 -3
- data/lib/oci/identity/models/ui_password.rb +28 -4
- data/lib/oci/identity/models/update_compartment_details.rb +14 -2
- data/lib/oci/identity/models/update_customer_secret_key_details.rb +7 -1
- data/lib/oci/identity/models/update_dynamic_group_details.rb +7 -1
- data/lib/oci/identity/models/update_group_details.rb +14 -2
- data/lib/oci/identity/models/update_identity_provider_details.rb +14 -2
- data/lib/oci/identity/models/update_idp_group_mapping_details.rb +14 -2
- data/lib/oci/identity/models/update_policy_details.rb +21 -3
- data/lib/oci/identity/models/update_saml2_identity_provider_details.rb +9 -3
- data/lib/oci/identity/models/update_tag_details.rb +21 -3
- data/lib/oci/identity/models/update_tag_namespace_details.rb +21 -3
- data/lib/oci/identity/models/update_user_details.rb +14 -2
- data/lib/oci/identity/models/user.rb +42 -6
- data/lib/oci/identity/models/user_group_membership.rb +42 -6
- data/lib/oci/load_balancer/models/backend.rb +7 -1
- data/lib/oci/load_balancer/models/backend_details.rb +7 -1
- data/lib/oci/load_balancer/models/backend_health.rb +7 -1
- data/lib/oci/load_balancer/models/backend_set.rb +21 -3
- data/lib/oci/load_balancer/models/backend_set_details.rb +21 -3
- data/lib/oci/load_balancer/models/backend_set_health.rb +28 -4
- data/lib/oci/load_balancer/models/certificate.rb +21 -3
- data/lib/oci/load_balancer/models/certificate_details.rb +28 -4
- data/lib/oci/load_balancer/models/connection_configuration.rb +7 -1
- data/lib/oci/load_balancer/models/create_backend_details.rb +7 -1
- data/lib/oci/load_balancer/models/create_backend_set_details.rb +21 -3
- data/lib/oci/load_balancer/models/create_certificate_details.rb +28 -4
- data/lib/oci/load_balancer/models/create_listener_details.rb +28 -4
- data/lib/oci/load_balancer/models/create_load_balancer_details.rb +51 -7
- data/lib/oci/load_balancer/models/create_path_route_set_details.rb +7 -1
- data/lib/oci/load_balancer/models/health_check_result.rb +21 -3
- data/lib/oci/load_balancer/models/health_checker.rb +35 -5
- data/lib/oci/load_balancer/models/health_checker_details.rb +35 -5
- data/lib/oci/load_balancer/models/ip_address.rb +14 -2
- data/lib/oci/load_balancer/models/listener.rb +28 -4
- data/lib/oci/load_balancer/models/listener_details.rb +28 -4
- data/lib/oci/load_balancer/models/load_balancer.rb +70 -10
- data/lib/oci/load_balancer/models/load_balancer_health.rb +28 -4
- data/lib/oci/load_balancer/models/load_balancer_health_summary.rb +7 -1
- data/lib/oci/load_balancer/models/path_match_type.rb +7 -1
- data/lib/oci/load_balancer/models/path_route.rb +14 -2
- data/lib/oci/load_balancer/models/path_route_set.rb +7 -1
- data/lib/oci/load_balancer/models/path_route_set_details.rb +7 -1
- data/lib/oci/load_balancer/models/session_persistence_configuration_details.rb +16 -2
- data/lib/oci/load_balancer/models/ssl_configuration.rb +23 -3
- data/lib/oci/load_balancer/models/ssl_configuration_details.rb +23 -3
- data/lib/oci/load_balancer/models/update_backend_set_details.rb +21 -3
- data/lib/oci/load_balancer/models/update_health_checker_details.rb +35 -5
- data/lib/oci/load_balancer/models/update_listener_details.rb +28 -4
- data/lib/oci/load_balancer/models/update_load_balancer_details.rb +7 -1
- data/lib/oci/load_balancer/models/update_path_route_set_details.rb +7 -1
- data/lib/oci/load_balancer/models/work_request.rb +35 -5
- data/lib/oci/load_balancer/models/work_request_error.rb +7 -1
- data/lib/oci/object_storage/models/bucket.rb +83 -11
- data/lib/oci/object_storage/models/bucket_summary.rb +67 -7
- data/lib/oci/object_storage/models/commit_multipart_upload_details.rb +14 -2
- data/lib/oci/object_storage/models/commit_multipart_upload_part_details.rb +7 -1
- data/lib/oci/object_storage/models/create_bucket_details.rb +67 -7
- data/lib/oci/object_storage/models/create_multipart_upload_details.rb +21 -3
- data/lib/oci/object_storage/models/create_preauthenticated_request_details.rb +21 -3
- data/lib/oci/object_storage/models/list_objects.rb +7 -1
- data/lib/oci/object_storage/models/multipart_upload.rb +14 -2
- data/lib/oci/object_storage/models/multipart_upload_part_summary.rb +7 -1
- data/lib/oci/object_storage/models/namespace_metadata.rb +14 -2
- data/lib/oci/object_storage/models/object_summary.rb +7 -1
- data/lib/oci/object_storage/models/preauthenticated_request.rb +35 -5
- data/lib/oci/object_storage/models/preauthenticated_request_summary.rb +28 -4
- data/lib/oci/object_storage/models/rename_object_details.rb +35 -5
- data/lib/oci/object_storage/models/restore_objects_details.rb +25 -5
- data/lib/oci/object_storage/models/update_bucket_details.rb +60 -6
- data/lib/oci/object_storage/models/update_namespace_metadata_details.rb +14 -2
- data/lib/oci/object_storage/object_storage_client.rb +17 -5
- data/lib/oci/object_storage/transfer/multipart/multipart_object_assembler.rb +11 -3
- data/lib/oci/signer.rb +0 -8
- data/lib/oci/version.rb +1 -1
- data/lib/oci/waiter.rb +1 -0
- metadata +22 -2
|
@@ -44,11 +44,11 @@ module OCI
|
|
|
44
44
|
# Initializes the object
|
|
45
45
|
# @param [Hash] attributes Model attributes in the form of hash
|
|
46
46
|
# @option attributes [Array<OCI::LoadBalancer::Models::Backend>] :backends The value to assign to the {#backends} property
|
|
47
|
-
# @option attributes [OCI::LoadBalancer::Models::HealthChecker] :
|
|
47
|
+
# @option attributes [OCI::LoadBalancer::Models::HealthChecker] :health_checker The value to assign to the {#health_checker} property
|
|
48
48
|
# @option attributes [String] :name The value to assign to the {#name} property
|
|
49
49
|
# @option attributes [String] :policy The value to assign to the {#policy} property
|
|
50
|
-
# @option attributes [OCI::LoadBalancer::Models::SessionPersistenceConfigurationDetails] :
|
|
51
|
-
# @option attributes [OCI::LoadBalancer::Models::SSLConfiguration] :
|
|
50
|
+
# @option attributes [OCI::LoadBalancer::Models::SessionPersistenceConfigurationDetails] :session_persistence_configuration The value to assign to the {#session_persistence_configuration} property
|
|
51
|
+
# @option attributes [OCI::LoadBalancer::Models::SSLConfiguration] :ssl_configuration The value to assign to the {#ssl_configuration} property
|
|
52
52
|
def initialize(attributes = {})
|
|
53
53
|
return unless attributes.is_a?(Hash)
|
|
54
54
|
|
|
@@ -63,6 +63,12 @@ module OCI
|
|
|
63
63
|
self.health_checker = attributes[:'healthChecker']
|
|
64
64
|
end
|
|
65
65
|
|
|
66
|
+
raise 'You cannot provide both :healthChecker and :health_checker' if attributes.key?(:'healthChecker') && attributes.key?(:'health_checker')
|
|
67
|
+
|
|
68
|
+
if attributes[:'health_checker']
|
|
69
|
+
self.health_checker = attributes[:'health_checker']
|
|
70
|
+
end
|
|
71
|
+
|
|
66
72
|
if attributes[:'name']
|
|
67
73
|
self.name = attributes[:'name']
|
|
68
74
|
end
|
|
@@ -75,10 +81,22 @@ module OCI
|
|
|
75
81
|
self.session_persistence_configuration = attributes[:'sessionPersistenceConfiguration']
|
|
76
82
|
end
|
|
77
83
|
|
|
84
|
+
raise 'You cannot provide both :sessionPersistenceConfiguration and :session_persistence_configuration' if attributes.key?(:'sessionPersistenceConfiguration') && attributes.key?(:'session_persistence_configuration')
|
|
85
|
+
|
|
86
|
+
if attributes[:'session_persistence_configuration']
|
|
87
|
+
self.session_persistence_configuration = attributes[:'session_persistence_configuration']
|
|
88
|
+
end
|
|
89
|
+
|
|
78
90
|
if attributes[:'sslConfiguration']
|
|
79
91
|
self.ssl_configuration = attributes[:'sslConfiguration']
|
|
80
92
|
end
|
|
81
93
|
|
|
94
|
+
raise 'You cannot provide both :sslConfiguration and :ssl_configuration' if attributes.key?(:'sslConfiguration') && attributes.key?(:'ssl_configuration')
|
|
95
|
+
|
|
96
|
+
if attributes[:'ssl_configuration']
|
|
97
|
+
self.ssl_configuration = attributes[:'ssl_configuration']
|
|
98
|
+
end
|
|
99
|
+
|
|
82
100
|
end
|
|
83
101
|
|
|
84
102
|
# Checks equality by comparing each attribute.
|
|
@@ -33,10 +33,10 @@ module OCI
|
|
|
33
33
|
# Initializes the object
|
|
34
34
|
# @param [Hash] attributes Model attributes in the form of hash
|
|
35
35
|
# @option attributes [Array<OCI::LoadBalancer::Models::BackendDetails>] :backends The value to assign to the {#backends} property
|
|
36
|
-
# @option attributes [OCI::LoadBalancer::Models::HealthCheckerDetails] :
|
|
36
|
+
# @option attributes [OCI::LoadBalancer::Models::HealthCheckerDetails] :health_checker The value to assign to the {#health_checker} property
|
|
37
37
|
# @option attributes [String] :policy The value to assign to the {#policy} property
|
|
38
|
-
# @option attributes [OCI::LoadBalancer::Models::SessionPersistenceConfigurationDetails] :
|
|
39
|
-
# @option attributes [OCI::LoadBalancer::Models::SSLConfigurationDetails] :
|
|
38
|
+
# @option attributes [OCI::LoadBalancer::Models::SessionPersistenceConfigurationDetails] :session_persistence_configuration The value to assign to the {#session_persistence_configuration} property
|
|
39
|
+
# @option attributes [OCI::LoadBalancer::Models::SSLConfigurationDetails] :ssl_configuration The value to assign to the {#ssl_configuration} property
|
|
40
40
|
def initialize(attributes = {})
|
|
41
41
|
return unless attributes.is_a?(Hash)
|
|
42
42
|
|
|
@@ -51,6 +51,12 @@ module OCI
|
|
|
51
51
|
self.health_checker = attributes[:'healthChecker']
|
|
52
52
|
end
|
|
53
53
|
|
|
54
|
+
raise 'You cannot provide both :healthChecker and :health_checker' if attributes.key?(:'healthChecker') && attributes.key?(:'health_checker')
|
|
55
|
+
|
|
56
|
+
if attributes[:'health_checker']
|
|
57
|
+
self.health_checker = attributes[:'health_checker']
|
|
58
|
+
end
|
|
59
|
+
|
|
54
60
|
if attributes[:'policy']
|
|
55
61
|
self.policy = attributes[:'policy']
|
|
56
62
|
end
|
|
@@ -59,10 +65,22 @@ module OCI
|
|
|
59
65
|
self.session_persistence_configuration = attributes[:'sessionPersistenceConfiguration']
|
|
60
66
|
end
|
|
61
67
|
|
|
68
|
+
raise 'You cannot provide both :sessionPersistenceConfiguration and :session_persistence_configuration' if attributes.key?(:'sessionPersistenceConfiguration') && attributes.key?(:'session_persistence_configuration')
|
|
69
|
+
|
|
70
|
+
if attributes[:'session_persistence_configuration']
|
|
71
|
+
self.session_persistence_configuration = attributes[:'session_persistence_configuration']
|
|
72
|
+
end
|
|
73
|
+
|
|
62
74
|
if attributes[:'sslConfiguration']
|
|
63
75
|
self.ssl_configuration = attributes[:'sslConfiguration']
|
|
64
76
|
end
|
|
65
77
|
|
|
78
|
+
raise 'You cannot provide both :sslConfiguration and :ssl_configuration' if attributes.key?(:'sslConfiguration') && attributes.key?(:'ssl_configuration')
|
|
79
|
+
|
|
80
|
+
if attributes[:'ssl_configuration']
|
|
81
|
+
self.ssl_configuration = attributes[:'ssl_configuration']
|
|
82
|
+
end
|
|
83
|
+
|
|
66
84
|
end
|
|
67
85
|
|
|
68
86
|
# Checks equality by comparing each attribute.
|
|
@@ -65,11 +65,11 @@ module OCI
|
|
|
65
65
|
|
|
66
66
|
# Initializes the object
|
|
67
67
|
# @param [Hash] attributes Model attributes in the form of hash
|
|
68
|
-
# @option attributes [Array<String>] :
|
|
68
|
+
# @option attributes [Array<String>] :critical_state_backend_names The value to assign to the {#critical_state_backend_names} property
|
|
69
69
|
# @option attributes [String] :status The value to assign to the {#status} property
|
|
70
|
-
# @option attributes [Integer] :
|
|
71
|
-
# @option attributes [Array<String>] :
|
|
72
|
-
# @option attributes [Array<String>] :
|
|
70
|
+
# @option attributes [Integer] :total_backend_count The value to assign to the {#total_backend_count} property
|
|
71
|
+
# @option attributes [Array<String>] :unknown_state_backend_names The value to assign to the {#unknown_state_backend_names} property
|
|
72
|
+
# @option attributes [Array<String>] :warning_state_backend_names The value to assign to the {#warning_state_backend_names} property
|
|
73
73
|
def initialize(attributes = {})
|
|
74
74
|
return unless attributes.is_a?(Hash)
|
|
75
75
|
|
|
@@ -80,6 +80,12 @@ module OCI
|
|
|
80
80
|
self.critical_state_backend_names = attributes[:'criticalStateBackendNames']
|
|
81
81
|
end
|
|
82
82
|
|
|
83
|
+
raise 'You cannot provide both :criticalStateBackendNames and :critical_state_backend_names' if attributes.key?(:'criticalStateBackendNames') && attributes.key?(:'critical_state_backend_names')
|
|
84
|
+
|
|
85
|
+
if attributes[:'critical_state_backend_names']
|
|
86
|
+
self.critical_state_backend_names = attributes[:'critical_state_backend_names']
|
|
87
|
+
end
|
|
88
|
+
|
|
83
89
|
if attributes[:'status']
|
|
84
90
|
self.status = attributes[:'status']
|
|
85
91
|
end
|
|
@@ -88,14 +94,32 @@ module OCI
|
|
|
88
94
|
self.total_backend_count = attributes[:'totalBackendCount']
|
|
89
95
|
end
|
|
90
96
|
|
|
97
|
+
raise 'You cannot provide both :totalBackendCount and :total_backend_count' if attributes.key?(:'totalBackendCount') && attributes.key?(:'total_backend_count')
|
|
98
|
+
|
|
99
|
+
if attributes[:'total_backend_count']
|
|
100
|
+
self.total_backend_count = attributes[:'total_backend_count']
|
|
101
|
+
end
|
|
102
|
+
|
|
91
103
|
if attributes[:'unknownStateBackendNames']
|
|
92
104
|
self.unknown_state_backend_names = attributes[:'unknownStateBackendNames']
|
|
93
105
|
end
|
|
94
106
|
|
|
107
|
+
raise 'You cannot provide both :unknownStateBackendNames and :unknown_state_backend_names' if attributes.key?(:'unknownStateBackendNames') && attributes.key?(:'unknown_state_backend_names')
|
|
108
|
+
|
|
109
|
+
if attributes[:'unknown_state_backend_names']
|
|
110
|
+
self.unknown_state_backend_names = attributes[:'unknown_state_backend_names']
|
|
111
|
+
end
|
|
112
|
+
|
|
95
113
|
if attributes[:'warningStateBackendNames']
|
|
96
114
|
self.warning_state_backend_names = attributes[:'warningStateBackendNames']
|
|
97
115
|
end
|
|
98
116
|
|
|
117
|
+
raise 'You cannot provide both :warningStateBackendNames and :warning_state_backend_names' if attributes.key?(:'warningStateBackendNames') && attributes.key?(:'warning_state_backend_names')
|
|
118
|
+
|
|
119
|
+
if attributes[:'warning_state_backend_names']
|
|
120
|
+
self.warning_state_backend_names = attributes[:'warning_state_backend_names']
|
|
121
|
+
end
|
|
122
|
+
|
|
99
123
|
end
|
|
100
124
|
|
|
101
125
|
# Custom attribute writer method checking allowed values (enum).
|
|
@@ -50,9 +50,9 @@ module OCI
|
|
|
50
50
|
|
|
51
51
|
# Initializes the object
|
|
52
52
|
# @param [Hash] attributes Model attributes in the form of hash
|
|
53
|
-
# @option attributes [String] :
|
|
54
|
-
# @option attributes [String] :
|
|
55
|
-
# @option attributes [String] :
|
|
53
|
+
# @option attributes [String] :ca_certificate The value to assign to the {#ca_certificate} property
|
|
54
|
+
# @option attributes [String] :certificate_name The value to assign to the {#certificate_name} property
|
|
55
|
+
# @option attributes [String] :public_certificate The value to assign to the {#public_certificate} property
|
|
56
56
|
def initialize(attributes = {})
|
|
57
57
|
return unless attributes.is_a?(Hash)
|
|
58
58
|
|
|
@@ -63,14 +63,32 @@ module OCI
|
|
|
63
63
|
self.ca_certificate = attributes[:'caCertificate']
|
|
64
64
|
end
|
|
65
65
|
|
|
66
|
+
raise 'You cannot provide both :caCertificate and :ca_certificate' if attributes.key?(:'caCertificate') && attributes.key?(:'ca_certificate')
|
|
67
|
+
|
|
68
|
+
if attributes[:'ca_certificate']
|
|
69
|
+
self.ca_certificate = attributes[:'ca_certificate']
|
|
70
|
+
end
|
|
71
|
+
|
|
66
72
|
if attributes[:'certificateName']
|
|
67
73
|
self.certificate_name = attributes[:'certificateName']
|
|
68
74
|
end
|
|
69
75
|
|
|
76
|
+
raise 'You cannot provide both :certificateName and :certificate_name' if attributes.key?(:'certificateName') && attributes.key?(:'certificate_name')
|
|
77
|
+
|
|
78
|
+
if attributes[:'certificate_name']
|
|
79
|
+
self.certificate_name = attributes[:'certificate_name']
|
|
80
|
+
end
|
|
81
|
+
|
|
70
82
|
if attributes[:'publicCertificate']
|
|
71
83
|
self.public_certificate = attributes[:'publicCertificate']
|
|
72
84
|
end
|
|
73
85
|
|
|
86
|
+
raise 'You cannot provide both :publicCertificate and :public_certificate' if attributes.key?(:'publicCertificate') && attributes.key?(:'public_certificate')
|
|
87
|
+
|
|
88
|
+
if attributes[:'public_certificate']
|
|
89
|
+
self.public_certificate = attributes[:'public_certificate']
|
|
90
|
+
end
|
|
91
|
+
|
|
74
92
|
end
|
|
75
93
|
|
|
76
94
|
# Checks equality by comparing each attribute.
|
|
@@ -72,11 +72,11 @@ module OCI
|
|
|
72
72
|
|
|
73
73
|
# Initializes the object
|
|
74
74
|
# @param [Hash] attributes Model attributes in the form of hash
|
|
75
|
-
# @option attributes [String] :
|
|
76
|
-
# @option attributes [String] :
|
|
75
|
+
# @option attributes [String] :ca_certificate The value to assign to the {#ca_certificate} property
|
|
76
|
+
# @option attributes [String] :certificate_name The value to assign to the {#certificate_name} property
|
|
77
77
|
# @option attributes [String] :passphrase The value to assign to the {#passphrase} property
|
|
78
|
-
# @option attributes [String] :
|
|
79
|
-
# @option attributes [String] :
|
|
78
|
+
# @option attributes [String] :private_key The value to assign to the {#private_key} property
|
|
79
|
+
# @option attributes [String] :public_certificate The value to assign to the {#public_certificate} property
|
|
80
80
|
def initialize(attributes = {})
|
|
81
81
|
return unless attributes.is_a?(Hash)
|
|
82
82
|
|
|
@@ -87,10 +87,22 @@ module OCI
|
|
|
87
87
|
self.ca_certificate = attributes[:'caCertificate']
|
|
88
88
|
end
|
|
89
89
|
|
|
90
|
+
raise 'You cannot provide both :caCertificate and :ca_certificate' if attributes.key?(:'caCertificate') && attributes.key?(:'ca_certificate')
|
|
91
|
+
|
|
92
|
+
if attributes[:'ca_certificate']
|
|
93
|
+
self.ca_certificate = attributes[:'ca_certificate']
|
|
94
|
+
end
|
|
95
|
+
|
|
90
96
|
if attributes[:'certificateName']
|
|
91
97
|
self.certificate_name = attributes[:'certificateName']
|
|
92
98
|
end
|
|
93
99
|
|
|
100
|
+
raise 'You cannot provide both :certificateName and :certificate_name' if attributes.key?(:'certificateName') && attributes.key?(:'certificate_name')
|
|
101
|
+
|
|
102
|
+
if attributes[:'certificate_name']
|
|
103
|
+
self.certificate_name = attributes[:'certificate_name']
|
|
104
|
+
end
|
|
105
|
+
|
|
94
106
|
if attributes[:'passphrase']
|
|
95
107
|
self.passphrase = attributes[:'passphrase']
|
|
96
108
|
end
|
|
@@ -99,10 +111,22 @@ module OCI
|
|
|
99
111
|
self.private_key = attributes[:'privateKey']
|
|
100
112
|
end
|
|
101
113
|
|
|
114
|
+
raise 'You cannot provide both :privateKey and :private_key' if attributes.key?(:'privateKey') && attributes.key?(:'private_key')
|
|
115
|
+
|
|
116
|
+
if attributes[:'private_key']
|
|
117
|
+
self.private_key = attributes[:'private_key']
|
|
118
|
+
end
|
|
119
|
+
|
|
102
120
|
if attributes[:'publicCertificate']
|
|
103
121
|
self.public_certificate = attributes[:'publicCertificate']
|
|
104
122
|
end
|
|
105
123
|
|
|
124
|
+
raise 'You cannot provide both :publicCertificate and :public_certificate' if attributes.key?(:'publicCertificate') && attributes.key?(:'public_certificate')
|
|
125
|
+
|
|
126
|
+
if attributes[:'public_certificate']
|
|
127
|
+
self.public_certificate = attributes[:'public_certificate']
|
|
128
|
+
end
|
|
129
|
+
|
|
106
130
|
end
|
|
107
131
|
|
|
108
132
|
# Checks equality by comparing each attribute.
|
|
@@ -47,7 +47,7 @@ module OCI
|
|
|
47
47
|
|
|
48
48
|
# Initializes the object
|
|
49
49
|
# @param [Hash] attributes Model attributes in the form of hash
|
|
50
|
-
# @option attributes [Integer] :
|
|
50
|
+
# @option attributes [Integer] :idle_timeout The value to assign to the {#idle_timeout} property
|
|
51
51
|
def initialize(attributes = {})
|
|
52
52
|
return unless attributes.is_a?(Hash)
|
|
53
53
|
|
|
@@ -58,6 +58,12 @@ module OCI
|
|
|
58
58
|
self.idle_timeout = attributes[:'idleTimeout']
|
|
59
59
|
end
|
|
60
60
|
|
|
61
|
+
raise 'You cannot provide both :idleTimeout and :idle_timeout' if attributes.key?(:'idleTimeout') && attributes.key?(:'idle_timeout')
|
|
62
|
+
|
|
63
|
+
if attributes[:'idle_timeout']
|
|
64
|
+
self.idle_timeout = attributes[:'idle_timeout']
|
|
65
|
+
end
|
|
66
|
+
|
|
61
67
|
end
|
|
62
68
|
|
|
63
69
|
# Checks equality by comparing each attribute.
|
|
@@ -62,7 +62,7 @@ module OCI
|
|
|
62
62
|
# @param [Hash] attributes Model attributes in the form of hash
|
|
63
63
|
# @option attributes [BOOLEAN] :backup The value to assign to the {#backup} property
|
|
64
64
|
# @option attributes [BOOLEAN] :drain The value to assign to the {#drain} property
|
|
65
|
-
# @option attributes [String] :
|
|
65
|
+
# @option attributes [String] :ip_address The value to assign to the {#ip_address} property
|
|
66
66
|
# @option attributes [BOOLEAN] :offline The value to assign to the {#offline} property
|
|
67
67
|
# @option attributes [Integer] :port The value to assign to the {#port} property
|
|
68
68
|
# @option attributes [Integer] :weight The value to assign to the {#weight} property
|
|
@@ -88,6 +88,12 @@ module OCI
|
|
|
88
88
|
self.ip_address = attributes[:'ipAddress']
|
|
89
89
|
end
|
|
90
90
|
|
|
91
|
+
raise 'You cannot provide both :ipAddress and :ip_address' if attributes.key?(:'ipAddress') && attributes.key?(:'ip_address')
|
|
92
|
+
|
|
93
|
+
if attributes[:'ip_address']
|
|
94
|
+
self.ip_address = attributes[:'ip_address']
|
|
95
|
+
end
|
|
96
|
+
|
|
91
97
|
unless attributes[:'offline'].nil?
|
|
92
98
|
self.offline = attributes[:'offline']
|
|
93
99
|
else
|
|
@@ -43,11 +43,11 @@ module OCI
|
|
|
43
43
|
# Initializes the object
|
|
44
44
|
# @param [Hash] attributes Model attributes in the form of hash
|
|
45
45
|
# @option attributes [Array<OCI::LoadBalancer::Models::BackendDetails>] :backends The value to assign to the {#backends} property
|
|
46
|
-
# @option attributes [OCI::LoadBalancer::Models::HealthCheckerDetails] :
|
|
46
|
+
# @option attributes [OCI::LoadBalancer::Models::HealthCheckerDetails] :health_checker The value to assign to the {#health_checker} property
|
|
47
47
|
# @option attributes [String] :name The value to assign to the {#name} property
|
|
48
48
|
# @option attributes [String] :policy The value to assign to the {#policy} property
|
|
49
|
-
# @option attributes [OCI::LoadBalancer::Models::SessionPersistenceConfigurationDetails] :
|
|
50
|
-
# @option attributes [OCI::LoadBalancer::Models::SSLConfigurationDetails] :
|
|
49
|
+
# @option attributes [OCI::LoadBalancer::Models::SessionPersistenceConfigurationDetails] :session_persistence_configuration The value to assign to the {#session_persistence_configuration} property
|
|
50
|
+
# @option attributes [OCI::LoadBalancer::Models::SSLConfigurationDetails] :ssl_configuration The value to assign to the {#ssl_configuration} property
|
|
51
51
|
def initialize(attributes = {})
|
|
52
52
|
return unless attributes.is_a?(Hash)
|
|
53
53
|
|
|
@@ -62,6 +62,12 @@ module OCI
|
|
|
62
62
|
self.health_checker = attributes[:'healthChecker']
|
|
63
63
|
end
|
|
64
64
|
|
|
65
|
+
raise 'You cannot provide both :healthChecker and :health_checker' if attributes.key?(:'healthChecker') && attributes.key?(:'health_checker')
|
|
66
|
+
|
|
67
|
+
if attributes[:'health_checker']
|
|
68
|
+
self.health_checker = attributes[:'health_checker']
|
|
69
|
+
end
|
|
70
|
+
|
|
65
71
|
if attributes[:'name']
|
|
66
72
|
self.name = attributes[:'name']
|
|
67
73
|
end
|
|
@@ -74,10 +80,22 @@ module OCI
|
|
|
74
80
|
self.session_persistence_configuration = attributes[:'sessionPersistenceConfiguration']
|
|
75
81
|
end
|
|
76
82
|
|
|
83
|
+
raise 'You cannot provide both :sessionPersistenceConfiguration and :session_persistence_configuration' if attributes.key?(:'sessionPersistenceConfiguration') && attributes.key?(:'session_persistence_configuration')
|
|
84
|
+
|
|
85
|
+
if attributes[:'session_persistence_configuration']
|
|
86
|
+
self.session_persistence_configuration = attributes[:'session_persistence_configuration']
|
|
87
|
+
end
|
|
88
|
+
|
|
77
89
|
if attributes[:'sslConfiguration']
|
|
78
90
|
self.ssl_configuration = attributes[:'sslConfiguration']
|
|
79
91
|
end
|
|
80
92
|
|
|
93
|
+
raise 'You cannot provide both :sslConfiguration and :ssl_configuration' if attributes.key?(:'sslConfiguration') && attributes.key?(:'ssl_configuration')
|
|
94
|
+
|
|
95
|
+
if attributes[:'ssl_configuration']
|
|
96
|
+
self.ssl_configuration = attributes[:'ssl_configuration']
|
|
97
|
+
end
|
|
98
|
+
|
|
81
99
|
end
|
|
82
100
|
|
|
83
101
|
# Checks equality by comparing each attribute.
|
|
@@ -72,11 +72,11 @@ module OCI
|
|
|
72
72
|
|
|
73
73
|
# Initializes the object
|
|
74
74
|
# @param [Hash] attributes Model attributes in the form of hash
|
|
75
|
-
# @option attributes [String] :
|
|
76
|
-
# @option attributes [String] :
|
|
75
|
+
# @option attributes [String] :ca_certificate The value to assign to the {#ca_certificate} property
|
|
76
|
+
# @option attributes [String] :certificate_name The value to assign to the {#certificate_name} property
|
|
77
77
|
# @option attributes [String] :passphrase The value to assign to the {#passphrase} property
|
|
78
|
-
# @option attributes [String] :
|
|
79
|
-
# @option attributes [String] :
|
|
78
|
+
# @option attributes [String] :private_key The value to assign to the {#private_key} property
|
|
79
|
+
# @option attributes [String] :public_certificate The value to assign to the {#public_certificate} property
|
|
80
80
|
def initialize(attributes = {})
|
|
81
81
|
return unless attributes.is_a?(Hash)
|
|
82
82
|
|
|
@@ -87,10 +87,22 @@ module OCI
|
|
|
87
87
|
self.ca_certificate = attributes[:'caCertificate']
|
|
88
88
|
end
|
|
89
89
|
|
|
90
|
+
raise 'You cannot provide both :caCertificate and :ca_certificate' if attributes.key?(:'caCertificate') && attributes.key?(:'ca_certificate')
|
|
91
|
+
|
|
92
|
+
if attributes[:'ca_certificate']
|
|
93
|
+
self.ca_certificate = attributes[:'ca_certificate']
|
|
94
|
+
end
|
|
95
|
+
|
|
90
96
|
if attributes[:'certificateName']
|
|
91
97
|
self.certificate_name = attributes[:'certificateName']
|
|
92
98
|
end
|
|
93
99
|
|
|
100
|
+
raise 'You cannot provide both :certificateName and :certificate_name' if attributes.key?(:'certificateName') && attributes.key?(:'certificate_name')
|
|
101
|
+
|
|
102
|
+
if attributes[:'certificate_name']
|
|
103
|
+
self.certificate_name = attributes[:'certificate_name']
|
|
104
|
+
end
|
|
105
|
+
|
|
94
106
|
if attributes[:'passphrase']
|
|
95
107
|
self.passphrase = attributes[:'passphrase']
|
|
96
108
|
end
|
|
@@ -99,10 +111,22 @@ module OCI
|
|
|
99
111
|
self.private_key = attributes[:'privateKey']
|
|
100
112
|
end
|
|
101
113
|
|
|
114
|
+
raise 'You cannot provide both :privateKey and :private_key' if attributes.key?(:'privateKey') && attributes.key?(:'private_key')
|
|
115
|
+
|
|
116
|
+
if attributes[:'private_key']
|
|
117
|
+
self.private_key = attributes[:'private_key']
|
|
118
|
+
end
|
|
119
|
+
|
|
102
120
|
if attributes[:'publicCertificate']
|
|
103
121
|
self.public_certificate = attributes[:'publicCertificate']
|
|
104
122
|
end
|
|
105
123
|
|
|
124
|
+
raise 'You cannot provide both :publicCertificate and :public_certificate' if attributes.key?(:'publicCertificate') && attributes.key?(:'public_certificate')
|
|
125
|
+
|
|
126
|
+
if attributes[:'public_certificate']
|
|
127
|
+
self.public_certificate = attributes[:'public_certificate']
|
|
128
|
+
end
|
|
129
|
+
|
|
106
130
|
end
|
|
107
131
|
|
|
108
132
|
# Checks equality by comparing each attribute.
|
|
@@ -56,13 +56,13 @@ module OCI
|
|
|
56
56
|
|
|
57
57
|
# Initializes the object
|
|
58
58
|
# @param [Hash] attributes Model attributes in the form of hash
|
|
59
|
-
# @option attributes [OCI::LoadBalancer::Models::ConnectionConfiguration] :
|
|
60
|
-
# @option attributes [String] :
|
|
59
|
+
# @option attributes [OCI::LoadBalancer::Models::ConnectionConfiguration] :connection_configuration The value to assign to the {#connection_configuration} property
|
|
60
|
+
# @option attributes [String] :default_backend_set_name The value to assign to the {#default_backend_set_name} property
|
|
61
61
|
# @option attributes [String] :name The value to assign to the {#name} property
|
|
62
|
-
# @option attributes [String] :
|
|
62
|
+
# @option attributes [String] :path_route_set_name The value to assign to the {#path_route_set_name} property
|
|
63
63
|
# @option attributes [Integer] :port The value to assign to the {#port} property
|
|
64
64
|
# @option attributes [String] :protocol The value to assign to the {#protocol} property
|
|
65
|
-
# @option attributes [OCI::LoadBalancer::Models::SSLConfigurationDetails] :
|
|
65
|
+
# @option attributes [OCI::LoadBalancer::Models::SSLConfigurationDetails] :ssl_configuration The value to assign to the {#ssl_configuration} property
|
|
66
66
|
def initialize(attributes = {})
|
|
67
67
|
return unless attributes.is_a?(Hash)
|
|
68
68
|
|
|
@@ -73,10 +73,22 @@ module OCI
|
|
|
73
73
|
self.connection_configuration = attributes[:'connectionConfiguration']
|
|
74
74
|
end
|
|
75
75
|
|
|
76
|
+
raise 'You cannot provide both :connectionConfiguration and :connection_configuration' if attributes.key?(:'connectionConfiguration') && attributes.key?(:'connection_configuration')
|
|
77
|
+
|
|
78
|
+
if attributes[:'connection_configuration']
|
|
79
|
+
self.connection_configuration = attributes[:'connection_configuration']
|
|
80
|
+
end
|
|
81
|
+
|
|
76
82
|
if attributes[:'defaultBackendSetName']
|
|
77
83
|
self.default_backend_set_name = attributes[:'defaultBackendSetName']
|
|
78
84
|
end
|
|
79
85
|
|
|
86
|
+
raise 'You cannot provide both :defaultBackendSetName and :default_backend_set_name' if attributes.key?(:'defaultBackendSetName') && attributes.key?(:'default_backend_set_name')
|
|
87
|
+
|
|
88
|
+
if attributes[:'default_backend_set_name']
|
|
89
|
+
self.default_backend_set_name = attributes[:'default_backend_set_name']
|
|
90
|
+
end
|
|
91
|
+
|
|
80
92
|
if attributes[:'name']
|
|
81
93
|
self.name = attributes[:'name']
|
|
82
94
|
end
|
|
@@ -85,6 +97,12 @@ module OCI
|
|
|
85
97
|
self.path_route_set_name = attributes[:'pathRouteSetName']
|
|
86
98
|
end
|
|
87
99
|
|
|
100
|
+
raise 'You cannot provide both :pathRouteSetName and :path_route_set_name' if attributes.key?(:'pathRouteSetName') && attributes.key?(:'path_route_set_name')
|
|
101
|
+
|
|
102
|
+
if attributes[:'path_route_set_name']
|
|
103
|
+
self.path_route_set_name = attributes[:'path_route_set_name']
|
|
104
|
+
end
|
|
105
|
+
|
|
88
106
|
if attributes[:'port']
|
|
89
107
|
self.port = attributes[:'port']
|
|
90
108
|
end
|
|
@@ -97,6 +115,12 @@ module OCI
|
|
|
97
115
|
self.ssl_configuration = attributes[:'sslConfiguration']
|
|
98
116
|
end
|
|
99
117
|
|
|
118
|
+
raise 'You cannot provide both :sslConfiguration and :ssl_configuration' if attributes.key?(:'sslConfiguration') && attributes.key?(:'ssl_configuration')
|
|
119
|
+
|
|
120
|
+
if attributes[:'ssl_configuration']
|
|
121
|
+
self.ssl_configuration = attributes[:'ssl_configuration']
|
|
122
|
+
end
|
|
123
|
+
|
|
100
124
|
end
|
|
101
125
|
|
|
102
126
|
# Checks equality by comparing each attribute.
|