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
|
@@ -25,8 +25,8 @@ module OCI
|
|
|
25
25
|
|
|
26
26
|
# Initializes the object
|
|
27
27
|
# @param [Hash] attributes Model attributes in the form of hash
|
|
28
|
-
# @option attributes [String] :
|
|
29
|
-
# @option attributes [String] :
|
|
28
|
+
# @option attributes [String] :cidr_block The value to assign to the {#cidr_block} property
|
|
29
|
+
# @option attributes [String] :network_entity_id The value to assign to the {#network_entity_id} property
|
|
30
30
|
def initialize(attributes = {})
|
|
31
31
|
return unless attributes.is_a?(Hash)
|
|
32
32
|
|
|
@@ -37,10 +37,22 @@ module OCI
|
|
|
37
37
|
self.cidr_block = attributes[:'cidrBlock']
|
|
38
38
|
end
|
|
39
39
|
|
|
40
|
+
raise 'You cannot provide both :cidrBlock and :cidr_block' if attributes.key?(:'cidrBlock') && attributes.key?(:'cidr_block')
|
|
41
|
+
|
|
42
|
+
if attributes[:'cidr_block']
|
|
43
|
+
self.cidr_block = attributes[:'cidr_block']
|
|
44
|
+
end
|
|
45
|
+
|
|
40
46
|
if attributes[:'networkEntityId']
|
|
41
47
|
self.network_entity_id = attributes[:'networkEntityId']
|
|
42
48
|
end
|
|
43
49
|
|
|
50
|
+
raise 'You cannot provide both :networkEntityId and :network_entity_id' if attributes.key?(:'networkEntityId') && attributes.key?(:'network_entity_id')
|
|
51
|
+
|
|
52
|
+
if attributes[:'network_entity_id']
|
|
53
|
+
self.network_entity_id = attributes[:'network_entity_id']
|
|
54
|
+
end
|
|
55
|
+
|
|
44
56
|
end
|
|
45
57
|
|
|
46
58
|
# Checks equality by comparing each attribute.
|
|
@@ -72,15 +72,15 @@ 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 [Hash<String, Hash<String, Object>>] :
|
|
77
|
-
# @option attributes [String] :
|
|
78
|
-
# @option attributes [Hash<String, String>] :
|
|
75
|
+
# @option attributes [String] :compartment_id The value to assign to the {#compartment_id} property
|
|
76
|
+
# @option attributes [Hash<String, Hash<String, Object>>] :defined_tags The value to assign to the {#defined_tags} property
|
|
77
|
+
# @option attributes [String] :display_name The value to assign to the {#display_name} property
|
|
78
|
+
# @option attributes [Hash<String, String>] :freeform_tags The value to assign to the {#freeform_tags} property
|
|
79
79
|
# @option attributes [String] :id The value to assign to the {#id} property
|
|
80
|
-
# @option attributes [String] :
|
|
81
|
-
# @option attributes [Array<OCI::Core::Models::RouteRule>] :
|
|
82
|
-
# @option attributes [DateTime] :
|
|
83
|
-
# @option attributes [String] :
|
|
80
|
+
# @option attributes [String] :lifecycle_state The value to assign to the {#lifecycle_state} property
|
|
81
|
+
# @option attributes [Array<OCI::Core::Models::RouteRule>] :route_rules The value to assign to the {#route_rules} property
|
|
82
|
+
# @option attributes [DateTime] :time_created The value to assign to the {#time_created} property
|
|
83
|
+
# @option attributes [String] :vcn_id The value to assign to the {#vcn_id} property
|
|
84
84
|
def initialize(attributes = {})
|
|
85
85
|
return unless attributes.is_a?(Hash)
|
|
86
86
|
|
|
@@ -91,18 +91,42 @@ module OCI
|
|
|
91
91
|
self.compartment_id = attributes[:'compartmentId']
|
|
92
92
|
end
|
|
93
93
|
|
|
94
|
+
raise 'You cannot provide both :compartmentId and :compartment_id' if attributes.key?(:'compartmentId') && attributes.key?(:'compartment_id')
|
|
95
|
+
|
|
96
|
+
if attributes[:'compartment_id']
|
|
97
|
+
self.compartment_id = attributes[:'compartment_id']
|
|
98
|
+
end
|
|
99
|
+
|
|
94
100
|
if attributes[:'definedTags']
|
|
95
101
|
self.defined_tags = attributes[:'definedTags']
|
|
96
102
|
end
|
|
97
103
|
|
|
104
|
+
raise 'You cannot provide both :definedTags and :defined_tags' if attributes.key?(:'definedTags') && attributes.key?(:'defined_tags')
|
|
105
|
+
|
|
106
|
+
if attributes[:'defined_tags']
|
|
107
|
+
self.defined_tags = attributes[:'defined_tags']
|
|
108
|
+
end
|
|
109
|
+
|
|
98
110
|
if attributes[:'displayName']
|
|
99
111
|
self.display_name = attributes[:'displayName']
|
|
100
112
|
end
|
|
101
113
|
|
|
114
|
+
raise 'You cannot provide both :displayName and :display_name' if attributes.key?(:'displayName') && attributes.key?(:'display_name')
|
|
115
|
+
|
|
116
|
+
if attributes[:'display_name']
|
|
117
|
+
self.display_name = attributes[:'display_name']
|
|
118
|
+
end
|
|
119
|
+
|
|
102
120
|
if attributes[:'freeformTags']
|
|
103
121
|
self.freeform_tags = attributes[:'freeformTags']
|
|
104
122
|
end
|
|
105
123
|
|
|
124
|
+
raise 'You cannot provide both :freeformTags and :freeform_tags' if attributes.key?(:'freeformTags') && attributes.key?(:'freeform_tags')
|
|
125
|
+
|
|
126
|
+
if attributes[:'freeform_tags']
|
|
127
|
+
self.freeform_tags = attributes[:'freeform_tags']
|
|
128
|
+
end
|
|
129
|
+
|
|
106
130
|
if attributes[:'id']
|
|
107
131
|
self.id = attributes[:'id']
|
|
108
132
|
end
|
|
@@ -111,18 +135,42 @@ module OCI
|
|
|
111
135
|
self.lifecycle_state = attributes[:'lifecycleState']
|
|
112
136
|
end
|
|
113
137
|
|
|
138
|
+
raise 'You cannot provide both :lifecycleState and :lifecycle_state' if attributes.key?(:'lifecycleState') && attributes.key?(:'lifecycle_state')
|
|
139
|
+
|
|
140
|
+
if attributes[:'lifecycle_state']
|
|
141
|
+
self.lifecycle_state = attributes[:'lifecycle_state']
|
|
142
|
+
end
|
|
143
|
+
|
|
114
144
|
if attributes[:'routeRules']
|
|
115
145
|
self.route_rules = attributes[:'routeRules']
|
|
116
146
|
end
|
|
117
147
|
|
|
148
|
+
raise 'You cannot provide both :routeRules and :route_rules' if attributes.key?(:'routeRules') && attributes.key?(:'route_rules')
|
|
149
|
+
|
|
150
|
+
if attributes[:'route_rules']
|
|
151
|
+
self.route_rules = attributes[:'route_rules']
|
|
152
|
+
end
|
|
153
|
+
|
|
118
154
|
if attributes[:'timeCreated']
|
|
119
155
|
self.time_created = attributes[:'timeCreated']
|
|
120
156
|
end
|
|
121
157
|
|
|
158
|
+
raise 'You cannot provide both :timeCreated and :time_created' if attributes.key?(:'timeCreated') && attributes.key?(:'time_created')
|
|
159
|
+
|
|
160
|
+
if attributes[:'time_created']
|
|
161
|
+
self.time_created = attributes[:'time_created']
|
|
162
|
+
end
|
|
163
|
+
|
|
122
164
|
if attributes[:'vcnId']
|
|
123
165
|
self.vcn_id = attributes[:'vcnId']
|
|
124
166
|
end
|
|
125
167
|
|
|
168
|
+
raise 'You cannot provide both :vcnId and :vcn_id' if attributes.key?(:'vcnId') && attributes.key?(:'vcn_id')
|
|
169
|
+
|
|
170
|
+
if attributes[:'vcn_id']
|
|
171
|
+
self.vcn_id = attributes[:'vcn_id']
|
|
172
|
+
end
|
|
173
|
+
|
|
126
174
|
end
|
|
127
175
|
|
|
128
176
|
# Custom attribute writer method checking allowed values (enum).
|
|
@@ -82,16 +82,16 @@ module OCI
|
|
|
82
82
|
|
|
83
83
|
# Initializes the object
|
|
84
84
|
# @param [Hash] attributes Model attributes in the form of hash
|
|
85
|
-
# @option attributes [String] :
|
|
86
|
-
# @option attributes [Hash<String, Hash<String, Object>>] :
|
|
87
|
-
# @option attributes [String] :
|
|
88
|
-
# @option attributes [Array<OCI::Core::Models::EgressSecurityRule>] :
|
|
89
|
-
# @option attributes [Hash<String, String>] :
|
|
85
|
+
# @option attributes [String] :compartment_id The value to assign to the {#compartment_id} property
|
|
86
|
+
# @option attributes [Hash<String, Hash<String, Object>>] :defined_tags The value to assign to the {#defined_tags} property
|
|
87
|
+
# @option attributes [String] :display_name The value to assign to the {#display_name} property
|
|
88
|
+
# @option attributes [Array<OCI::Core::Models::EgressSecurityRule>] :egress_security_rules The value to assign to the {#egress_security_rules} property
|
|
89
|
+
# @option attributes [Hash<String, String>] :freeform_tags The value to assign to the {#freeform_tags} property
|
|
90
90
|
# @option attributes [String] :id The value to assign to the {#id} property
|
|
91
|
-
# @option attributes [Array<OCI::Core::Models::IngressSecurityRule>] :
|
|
92
|
-
# @option attributes [String] :
|
|
93
|
-
# @option attributes [DateTime] :
|
|
94
|
-
# @option attributes [String] :
|
|
91
|
+
# @option attributes [Array<OCI::Core::Models::IngressSecurityRule>] :ingress_security_rules The value to assign to the {#ingress_security_rules} property
|
|
92
|
+
# @option attributes [String] :lifecycle_state The value to assign to the {#lifecycle_state} property
|
|
93
|
+
# @option attributes [DateTime] :time_created The value to assign to the {#time_created} property
|
|
94
|
+
# @option attributes [String] :vcn_id The value to assign to the {#vcn_id} property
|
|
95
95
|
def initialize(attributes = {})
|
|
96
96
|
return unless attributes.is_a?(Hash)
|
|
97
97
|
|
|
@@ -102,22 +102,52 @@ module OCI
|
|
|
102
102
|
self.compartment_id = attributes[:'compartmentId']
|
|
103
103
|
end
|
|
104
104
|
|
|
105
|
+
raise 'You cannot provide both :compartmentId and :compartment_id' if attributes.key?(:'compartmentId') && attributes.key?(:'compartment_id')
|
|
106
|
+
|
|
107
|
+
if attributes[:'compartment_id']
|
|
108
|
+
self.compartment_id = attributes[:'compartment_id']
|
|
109
|
+
end
|
|
110
|
+
|
|
105
111
|
if attributes[:'definedTags']
|
|
106
112
|
self.defined_tags = attributes[:'definedTags']
|
|
107
113
|
end
|
|
108
114
|
|
|
115
|
+
raise 'You cannot provide both :definedTags and :defined_tags' if attributes.key?(:'definedTags') && attributes.key?(:'defined_tags')
|
|
116
|
+
|
|
117
|
+
if attributes[:'defined_tags']
|
|
118
|
+
self.defined_tags = attributes[:'defined_tags']
|
|
119
|
+
end
|
|
120
|
+
|
|
109
121
|
if attributes[:'displayName']
|
|
110
122
|
self.display_name = attributes[:'displayName']
|
|
111
123
|
end
|
|
112
124
|
|
|
125
|
+
raise 'You cannot provide both :displayName and :display_name' if attributes.key?(:'displayName') && attributes.key?(:'display_name')
|
|
126
|
+
|
|
127
|
+
if attributes[:'display_name']
|
|
128
|
+
self.display_name = attributes[:'display_name']
|
|
129
|
+
end
|
|
130
|
+
|
|
113
131
|
if attributes[:'egressSecurityRules']
|
|
114
132
|
self.egress_security_rules = attributes[:'egressSecurityRules']
|
|
115
133
|
end
|
|
116
134
|
|
|
135
|
+
raise 'You cannot provide both :egressSecurityRules and :egress_security_rules' if attributes.key?(:'egressSecurityRules') && attributes.key?(:'egress_security_rules')
|
|
136
|
+
|
|
137
|
+
if attributes[:'egress_security_rules']
|
|
138
|
+
self.egress_security_rules = attributes[:'egress_security_rules']
|
|
139
|
+
end
|
|
140
|
+
|
|
117
141
|
if attributes[:'freeformTags']
|
|
118
142
|
self.freeform_tags = attributes[:'freeformTags']
|
|
119
143
|
end
|
|
120
144
|
|
|
145
|
+
raise 'You cannot provide both :freeformTags and :freeform_tags' if attributes.key?(:'freeformTags') && attributes.key?(:'freeform_tags')
|
|
146
|
+
|
|
147
|
+
if attributes[:'freeform_tags']
|
|
148
|
+
self.freeform_tags = attributes[:'freeform_tags']
|
|
149
|
+
end
|
|
150
|
+
|
|
121
151
|
if attributes[:'id']
|
|
122
152
|
self.id = attributes[:'id']
|
|
123
153
|
end
|
|
@@ -126,18 +156,42 @@ module OCI
|
|
|
126
156
|
self.ingress_security_rules = attributes[:'ingressSecurityRules']
|
|
127
157
|
end
|
|
128
158
|
|
|
159
|
+
raise 'You cannot provide both :ingressSecurityRules and :ingress_security_rules' if attributes.key?(:'ingressSecurityRules') && attributes.key?(:'ingress_security_rules')
|
|
160
|
+
|
|
161
|
+
if attributes[:'ingress_security_rules']
|
|
162
|
+
self.ingress_security_rules = attributes[:'ingress_security_rules']
|
|
163
|
+
end
|
|
164
|
+
|
|
129
165
|
if attributes[:'lifecycleState']
|
|
130
166
|
self.lifecycle_state = attributes[:'lifecycleState']
|
|
131
167
|
end
|
|
132
168
|
|
|
169
|
+
raise 'You cannot provide both :lifecycleState and :lifecycle_state' if attributes.key?(:'lifecycleState') && attributes.key?(:'lifecycle_state')
|
|
170
|
+
|
|
171
|
+
if attributes[:'lifecycle_state']
|
|
172
|
+
self.lifecycle_state = attributes[:'lifecycle_state']
|
|
173
|
+
end
|
|
174
|
+
|
|
133
175
|
if attributes[:'timeCreated']
|
|
134
176
|
self.time_created = attributes[:'timeCreated']
|
|
135
177
|
end
|
|
136
178
|
|
|
179
|
+
raise 'You cannot provide both :timeCreated and :time_created' if attributes.key?(:'timeCreated') && attributes.key?(:'time_created')
|
|
180
|
+
|
|
181
|
+
if attributes[:'time_created']
|
|
182
|
+
self.time_created = attributes[:'time_created']
|
|
183
|
+
end
|
|
184
|
+
|
|
137
185
|
if attributes[:'vcnId']
|
|
138
186
|
self.vcn_id = attributes[:'vcnId']
|
|
139
187
|
end
|
|
140
188
|
|
|
189
|
+
raise 'You cannot provide both :vcnId and :vcn_id' if attributes.key?(:'vcnId') && attributes.key?(:'vcn_id')
|
|
190
|
+
|
|
191
|
+
if attributes[:'vcn_id']
|
|
192
|
+
self.vcn_id = attributes[:'vcn_id']
|
|
193
|
+
end
|
|
194
|
+
|
|
141
195
|
end
|
|
142
196
|
|
|
143
197
|
# Custom attribute writer method checking allowed values (enum).
|
|
@@ -154,24 +154,24 @@ module OCI
|
|
|
154
154
|
|
|
155
155
|
# Initializes the object
|
|
156
156
|
# @param [Hash] attributes Model attributes in the form of hash
|
|
157
|
-
# @option attributes [String] :
|
|
158
|
-
# @option attributes [String] :
|
|
159
|
-
# @option attributes [String] :
|
|
160
|
-
# @option attributes [Hash<String, Hash<String, Object>>] :
|
|
161
|
-
# @option attributes [String] :
|
|
162
|
-
# @option attributes [String] :
|
|
163
|
-
# @option attributes [String] :
|
|
164
|
-
# @option attributes [Hash<String, String>] :
|
|
157
|
+
# @option attributes [String] :availability_domain The value to assign to the {#availability_domain} property
|
|
158
|
+
# @option attributes [String] :cidr_block The value to assign to the {#cidr_block} property
|
|
159
|
+
# @option attributes [String] :compartment_id The value to assign to the {#compartment_id} property
|
|
160
|
+
# @option attributes [Hash<String, Hash<String, Object>>] :defined_tags The value to assign to the {#defined_tags} property
|
|
161
|
+
# @option attributes [String] :dhcp_options_id The value to assign to the {#dhcp_options_id} property
|
|
162
|
+
# @option attributes [String] :display_name The value to assign to the {#display_name} property
|
|
163
|
+
# @option attributes [String] :dns_label The value to assign to the {#dns_label} property
|
|
164
|
+
# @option attributes [Hash<String, String>] :freeform_tags The value to assign to the {#freeform_tags} property
|
|
165
165
|
# @option attributes [String] :id The value to assign to the {#id} property
|
|
166
|
-
# @option attributes [String] :
|
|
167
|
-
# @option attributes [BOOLEAN] :
|
|
168
|
-
# @option attributes [String] :
|
|
169
|
-
# @option attributes [Array<String>] :
|
|
170
|
-
# @option attributes [String] :
|
|
171
|
-
# @option attributes [DateTime] :
|
|
172
|
-
# @option attributes [String] :
|
|
173
|
-
# @option attributes [String] :
|
|
174
|
-
# @option attributes [String] :
|
|
166
|
+
# @option attributes [String] :lifecycle_state The value to assign to the {#lifecycle_state} property
|
|
167
|
+
# @option attributes [BOOLEAN] :prohibit_public_ip_on_vnic The value to assign to the {#prohibit_public_ip_on_vnic} property
|
|
168
|
+
# @option attributes [String] :route_table_id The value to assign to the {#route_table_id} property
|
|
169
|
+
# @option attributes [Array<String>] :security_list_ids The value to assign to the {#security_list_ids} property
|
|
170
|
+
# @option attributes [String] :subnet_domain_name The value to assign to the {#subnet_domain_name} property
|
|
171
|
+
# @option attributes [DateTime] :time_created The value to assign to the {#time_created} property
|
|
172
|
+
# @option attributes [String] :vcn_id The value to assign to the {#vcn_id} property
|
|
173
|
+
# @option attributes [String] :virtual_router_ip The value to assign to the {#virtual_router_ip} property
|
|
174
|
+
# @option attributes [String] :virtual_router_mac The value to assign to the {#virtual_router_mac} property
|
|
175
175
|
def initialize(attributes = {})
|
|
176
176
|
return unless attributes.is_a?(Hash)
|
|
177
177
|
|
|
@@ -182,34 +182,82 @@ module OCI
|
|
|
182
182
|
self.availability_domain = attributes[:'availabilityDomain']
|
|
183
183
|
end
|
|
184
184
|
|
|
185
|
+
raise 'You cannot provide both :availabilityDomain and :availability_domain' if attributes.key?(:'availabilityDomain') && attributes.key?(:'availability_domain')
|
|
186
|
+
|
|
187
|
+
if attributes[:'availability_domain']
|
|
188
|
+
self.availability_domain = attributes[:'availability_domain']
|
|
189
|
+
end
|
|
190
|
+
|
|
185
191
|
if attributes[:'cidrBlock']
|
|
186
192
|
self.cidr_block = attributes[:'cidrBlock']
|
|
187
193
|
end
|
|
188
194
|
|
|
195
|
+
raise 'You cannot provide both :cidrBlock and :cidr_block' if attributes.key?(:'cidrBlock') && attributes.key?(:'cidr_block')
|
|
196
|
+
|
|
197
|
+
if attributes[:'cidr_block']
|
|
198
|
+
self.cidr_block = attributes[:'cidr_block']
|
|
199
|
+
end
|
|
200
|
+
|
|
189
201
|
if attributes[:'compartmentId']
|
|
190
202
|
self.compartment_id = attributes[:'compartmentId']
|
|
191
203
|
end
|
|
192
204
|
|
|
205
|
+
raise 'You cannot provide both :compartmentId and :compartment_id' if attributes.key?(:'compartmentId') && attributes.key?(:'compartment_id')
|
|
206
|
+
|
|
207
|
+
if attributes[:'compartment_id']
|
|
208
|
+
self.compartment_id = attributes[:'compartment_id']
|
|
209
|
+
end
|
|
210
|
+
|
|
193
211
|
if attributes[:'definedTags']
|
|
194
212
|
self.defined_tags = attributes[:'definedTags']
|
|
195
213
|
end
|
|
196
214
|
|
|
215
|
+
raise 'You cannot provide both :definedTags and :defined_tags' if attributes.key?(:'definedTags') && attributes.key?(:'defined_tags')
|
|
216
|
+
|
|
217
|
+
if attributes[:'defined_tags']
|
|
218
|
+
self.defined_tags = attributes[:'defined_tags']
|
|
219
|
+
end
|
|
220
|
+
|
|
197
221
|
if attributes[:'dhcpOptionsId']
|
|
198
222
|
self.dhcp_options_id = attributes[:'dhcpOptionsId']
|
|
199
223
|
end
|
|
200
224
|
|
|
225
|
+
raise 'You cannot provide both :dhcpOptionsId and :dhcp_options_id' if attributes.key?(:'dhcpOptionsId') && attributes.key?(:'dhcp_options_id')
|
|
226
|
+
|
|
227
|
+
if attributes[:'dhcp_options_id']
|
|
228
|
+
self.dhcp_options_id = attributes[:'dhcp_options_id']
|
|
229
|
+
end
|
|
230
|
+
|
|
201
231
|
if attributes[:'displayName']
|
|
202
232
|
self.display_name = attributes[:'displayName']
|
|
203
233
|
end
|
|
204
234
|
|
|
235
|
+
raise 'You cannot provide both :displayName and :display_name' if attributes.key?(:'displayName') && attributes.key?(:'display_name')
|
|
236
|
+
|
|
237
|
+
if attributes[:'display_name']
|
|
238
|
+
self.display_name = attributes[:'display_name']
|
|
239
|
+
end
|
|
240
|
+
|
|
205
241
|
if attributes[:'dnsLabel']
|
|
206
242
|
self.dns_label = attributes[:'dnsLabel']
|
|
207
243
|
end
|
|
208
244
|
|
|
245
|
+
raise 'You cannot provide both :dnsLabel and :dns_label' if attributes.key?(:'dnsLabel') && attributes.key?(:'dns_label')
|
|
246
|
+
|
|
247
|
+
if attributes[:'dns_label']
|
|
248
|
+
self.dns_label = attributes[:'dns_label']
|
|
249
|
+
end
|
|
250
|
+
|
|
209
251
|
if attributes[:'freeformTags']
|
|
210
252
|
self.freeform_tags = attributes[:'freeformTags']
|
|
211
253
|
end
|
|
212
254
|
|
|
255
|
+
raise 'You cannot provide both :freeformTags and :freeform_tags' if attributes.key?(:'freeformTags') && attributes.key?(:'freeform_tags')
|
|
256
|
+
|
|
257
|
+
if attributes[:'freeform_tags']
|
|
258
|
+
self.freeform_tags = attributes[:'freeform_tags']
|
|
259
|
+
end
|
|
260
|
+
|
|
213
261
|
if attributes[:'id']
|
|
214
262
|
self.id = attributes[:'id']
|
|
215
263
|
end
|
|
@@ -218,38 +266,92 @@ module OCI
|
|
|
218
266
|
self.lifecycle_state = attributes[:'lifecycleState']
|
|
219
267
|
end
|
|
220
268
|
|
|
269
|
+
raise 'You cannot provide both :lifecycleState and :lifecycle_state' if attributes.key?(:'lifecycleState') && attributes.key?(:'lifecycle_state')
|
|
270
|
+
|
|
271
|
+
if attributes[:'lifecycle_state']
|
|
272
|
+
self.lifecycle_state = attributes[:'lifecycle_state']
|
|
273
|
+
end
|
|
274
|
+
|
|
221
275
|
unless attributes[:'prohibitPublicIpOnVnic'].nil?
|
|
222
276
|
self.prohibit_public_ip_on_vnic = attributes[:'prohibitPublicIpOnVnic']
|
|
223
277
|
end
|
|
224
278
|
|
|
279
|
+
raise 'You cannot provide both :prohibitPublicIpOnVnic and :prohibit_public_ip_on_vnic' if attributes.key?(:'prohibitPublicIpOnVnic') && attributes.key?(:'prohibit_public_ip_on_vnic')
|
|
280
|
+
|
|
281
|
+
unless attributes[:'prohibit_public_ip_on_vnic'].nil?
|
|
282
|
+
self.prohibit_public_ip_on_vnic = attributes[:'prohibit_public_ip_on_vnic']
|
|
283
|
+
end
|
|
284
|
+
|
|
225
285
|
if attributes[:'routeTableId']
|
|
226
286
|
self.route_table_id = attributes[:'routeTableId']
|
|
227
287
|
end
|
|
228
288
|
|
|
289
|
+
raise 'You cannot provide both :routeTableId and :route_table_id' if attributes.key?(:'routeTableId') && attributes.key?(:'route_table_id')
|
|
290
|
+
|
|
291
|
+
if attributes[:'route_table_id']
|
|
292
|
+
self.route_table_id = attributes[:'route_table_id']
|
|
293
|
+
end
|
|
294
|
+
|
|
229
295
|
if attributes[:'securityListIds']
|
|
230
296
|
self.security_list_ids = attributes[:'securityListIds']
|
|
231
297
|
end
|
|
232
298
|
|
|
299
|
+
raise 'You cannot provide both :securityListIds and :security_list_ids' if attributes.key?(:'securityListIds') && attributes.key?(:'security_list_ids')
|
|
300
|
+
|
|
301
|
+
if attributes[:'security_list_ids']
|
|
302
|
+
self.security_list_ids = attributes[:'security_list_ids']
|
|
303
|
+
end
|
|
304
|
+
|
|
233
305
|
if attributes[:'subnetDomainName']
|
|
234
306
|
self.subnet_domain_name = attributes[:'subnetDomainName']
|
|
235
307
|
end
|
|
236
308
|
|
|
309
|
+
raise 'You cannot provide both :subnetDomainName and :subnet_domain_name' if attributes.key?(:'subnetDomainName') && attributes.key?(:'subnet_domain_name')
|
|
310
|
+
|
|
311
|
+
if attributes[:'subnet_domain_name']
|
|
312
|
+
self.subnet_domain_name = attributes[:'subnet_domain_name']
|
|
313
|
+
end
|
|
314
|
+
|
|
237
315
|
if attributes[:'timeCreated']
|
|
238
316
|
self.time_created = attributes[:'timeCreated']
|
|
239
317
|
end
|
|
240
318
|
|
|
319
|
+
raise 'You cannot provide both :timeCreated and :time_created' if attributes.key?(:'timeCreated') && attributes.key?(:'time_created')
|
|
320
|
+
|
|
321
|
+
if attributes[:'time_created']
|
|
322
|
+
self.time_created = attributes[:'time_created']
|
|
323
|
+
end
|
|
324
|
+
|
|
241
325
|
if attributes[:'vcnId']
|
|
242
326
|
self.vcn_id = attributes[:'vcnId']
|
|
243
327
|
end
|
|
244
328
|
|
|
329
|
+
raise 'You cannot provide both :vcnId and :vcn_id' if attributes.key?(:'vcnId') && attributes.key?(:'vcn_id')
|
|
330
|
+
|
|
331
|
+
if attributes[:'vcn_id']
|
|
332
|
+
self.vcn_id = attributes[:'vcn_id']
|
|
333
|
+
end
|
|
334
|
+
|
|
245
335
|
if attributes[:'virtualRouterIp']
|
|
246
336
|
self.virtual_router_ip = attributes[:'virtualRouterIp']
|
|
247
337
|
end
|
|
248
338
|
|
|
339
|
+
raise 'You cannot provide both :virtualRouterIp and :virtual_router_ip' if attributes.key?(:'virtualRouterIp') && attributes.key?(:'virtual_router_ip')
|
|
340
|
+
|
|
341
|
+
if attributes[:'virtual_router_ip']
|
|
342
|
+
self.virtual_router_ip = attributes[:'virtual_router_ip']
|
|
343
|
+
end
|
|
344
|
+
|
|
249
345
|
if attributes[:'virtualRouterMac']
|
|
250
346
|
self.virtual_router_mac = attributes[:'virtualRouterMac']
|
|
251
347
|
end
|
|
252
348
|
|
|
349
|
+
raise 'You cannot provide both :virtualRouterMac and :virtual_router_mac' if attributes.key?(:'virtualRouterMac') && attributes.key?(:'virtual_router_mac')
|
|
350
|
+
|
|
351
|
+
if attributes[:'virtual_router_mac']
|
|
352
|
+
self.virtual_router_mac = attributes[:'virtual_router_mac']
|
|
353
|
+
end
|
|
354
|
+
|
|
253
355
|
end
|
|
254
356
|
|
|
255
357
|
# Custom attribute writer method checking allowed values (enum).
|