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
|
@@ -40,12 +40,12 @@ module OCI
|
|
|
40
40
|
|
|
41
41
|
# Initializes the object
|
|
42
42
|
# @param [Hash] attributes Model attributes in the form of hash
|
|
43
|
-
# @option attributes [String] :
|
|
44
|
-
# @option attributes [Hash<String, Hash<String, Object>>] :
|
|
45
|
-
# @option attributes [String] :
|
|
46
|
-
# @option attributes [Hash<String, String>] :
|
|
47
|
-
# @option attributes [Array<OCI::Core::Models::RouteRule>] :
|
|
48
|
-
# @option attributes [String] :
|
|
43
|
+
# @option attributes [String] :compartment_id The value to assign to the {#compartment_id} property
|
|
44
|
+
# @option attributes [Hash<String, Hash<String, Object>>] :defined_tags The value to assign to the {#defined_tags} property
|
|
45
|
+
# @option attributes [String] :display_name The value to assign to the {#display_name} property
|
|
46
|
+
# @option attributes [Hash<String, String>] :freeform_tags The value to assign to the {#freeform_tags} property
|
|
47
|
+
# @option attributes [Array<OCI::Core::Models::RouteRule>] :route_rules The value to assign to the {#route_rules} property
|
|
48
|
+
# @option attributes [String] :vcn_id The value to assign to the {#vcn_id} property
|
|
49
49
|
def initialize(attributes = {})
|
|
50
50
|
return unless attributes.is_a?(Hash)
|
|
51
51
|
|
|
@@ -56,26 +56,62 @@ module OCI
|
|
|
56
56
|
self.compartment_id = attributes[:'compartmentId']
|
|
57
57
|
end
|
|
58
58
|
|
|
59
|
+
raise 'You cannot provide both :compartmentId and :compartment_id' if attributes.key?(:'compartmentId') && attributes.key?(:'compartment_id')
|
|
60
|
+
|
|
61
|
+
if attributes[:'compartment_id']
|
|
62
|
+
self.compartment_id = attributes[:'compartment_id']
|
|
63
|
+
end
|
|
64
|
+
|
|
59
65
|
if attributes[:'definedTags']
|
|
60
66
|
self.defined_tags = attributes[:'definedTags']
|
|
61
67
|
end
|
|
62
68
|
|
|
69
|
+
raise 'You cannot provide both :definedTags and :defined_tags' if attributes.key?(:'definedTags') && attributes.key?(:'defined_tags')
|
|
70
|
+
|
|
71
|
+
if attributes[:'defined_tags']
|
|
72
|
+
self.defined_tags = attributes[:'defined_tags']
|
|
73
|
+
end
|
|
74
|
+
|
|
63
75
|
if attributes[:'displayName']
|
|
64
76
|
self.display_name = attributes[:'displayName']
|
|
65
77
|
end
|
|
66
78
|
|
|
79
|
+
raise 'You cannot provide both :displayName and :display_name' if attributes.key?(:'displayName') && attributes.key?(:'display_name')
|
|
80
|
+
|
|
81
|
+
if attributes[:'display_name']
|
|
82
|
+
self.display_name = attributes[:'display_name']
|
|
83
|
+
end
|
|
84
|
+
|
|
67
85
|
if attributes[:'freeformTags']
|
|
68
86
|
self.freeform_tags = attributes[:'freeformTags']
|
|
69
87
|
end
|
|
70
88
|
|
|
89
|
+
raise 'You cannot provide both :freeformTags and :freeform_tags' if attributes.key?(:'freeformTags') && attributes.key?(:'freeform_tags')
|
|
90
|
+
|
|
91
|
+
if attributes[:'freeform_tags']
|
|
92
|
+
self.freeform_tags = attributes[:'freeform_tags']
|
|
93
|
+
end
|
|
94
|
+
|
|
71
95
|
if attributes[:'routeRules']
|
|
72
96
|
self.route_rules = attributes[:'routeRules']
|
|
73
97
|
end
|
|
74
98
|
|
|
99
|
+
raise 'You cannot provide both :routeRules and :route_rules' if attributes.key?(:'routeRules') && attributes.key?(:'route_rules')
|
|
100
|
+
|
|
101
|
+
if attributes[:'route_rules']
|
|
102
|
+
self.route_rules = attributes[:'route_rules']
|
|
103
|
+
end
|
|
104
|
+
|
|
75
105
|
if attributes[:'vcnId']
|
|
76
106
|
self.vcn_id = attributes[:'vcnId']
|
|
77
107
|
end
|
|
78
108
|
|
|
109
|
+
raise 'You cannot provide both :vcnId and :vcn_id' if attributes.key?(:'vcnId') && attributes.key?(:'vcn_id')
|
|
110
|
+
|
|
111
|
+
if attributes[:'vcn_id']
|
|
112
|
+
self.vcn_id = attributes[:'vcn_id']
|
|
113
|
+
end
|
|
114
|
+
|
|
79
115
|
end
|
|
80
116
|
|
|
81
117
|
# Checks equality by comparing each attribute.
|
|
@@ -44,13 +44,13 @@ module OCI
|
|
|
44
44
|
|
|
45
45
|
# Initializes the object
|
|
46
46
|
# @param [Hash] attributes Model attributes in the form of hash
|
|
47
|
-
# @option attributes [String] :
|
|
48
|
-
# @option attributes [Hash<String, Hash<String, Object>>] :
|
|
49
|
-
# @option attributes [String] :
|
|
50
|
-
# @option attributes [Array<OCI::Core::Models::EgressSecurityRule>] :
|
|
51
|
-
# @option attributes [Hash<String, String>] :
|
|
52
|
-
# @option attributes [Array<OCI::Core::Models::IngressSecurityRule>] :
|
|
53
|
-
# @option attributes [String] :
|
|
47
|
+
# @option attributes [String] :compartment_id The value to assign to the {#compartment_id} property
|
|
48
|
+
# @option attributes [Hash<String, Hash<String, Object>>] :defined_tags The value to assign to the {#defined_tags} property
|
|
49
|
+
# @option attributes [String] :display_name The value to assign to the {#display_name} property
|
|
50
|
+
# @option attributes [Array<OCI::Core::Models::EgressSecurityRule>] :egress_security_rules The value to assign to the {#egress_security_rules} property
|
|
51
|
+
# @option attributes [Hash<String, String>] :freeform_tags The value to assign to the {#freeform_tags} property
|
|
52
|
+
# @option attributes [Array<OCI::Core::Models::IngressSecurityRule>] :ingress_security_rules The value to assign to the {#ingress_security_rules} property
|
|
53
|
+
# @option attributes [String] :vcn_id The value to assign to the {#vcn_id} property
|
|
54
54
|
def initialize(attributes = {})
|
|
55
55
|
return unless attributes.is_a?(Hash)
|
|
56
56
|
|
|
@@ -61,30 +61,72 @@ module OCI
|
|
|
61
61
|
self.compartment_id = attributes[:'compartmentId']
|
|
62
62
|
end
|
|
63
63
|
|
|
64
|
+
raise 'You cannot provide both :compartmentId and :compartment_id' if attributes.key?(:'compartmentId') && attributes.key?(:'compartment_id')
|
|
65
|
+
|
|
66
|
+
if attributes[:'compartment_id']
|
|
67
|
+
self.compartment_id = attributes[:'compartment_id']
|
|
68
|
+
end
|
|
69
|
+
|
|
64
70
|
if attributes[:'definedTags']
|
|
65
71
|
self.defined_tags = attributes[:'definedTags']
|
|
66
72
|
end
|
|
67
73
|
|
|
74
|
+
raise 'You cannot provide both :definedTags and :defined_tags' if attributes.key?(:'definedTags') && attributes.key?(:'defined_tags')
|
|
75
|
+
|
|
76
|
+
if attributes[:'defined_tags']
|
|
77
|
+
self.defined_tags = attributes[:'defined_tags']
|
|
78
|
+
end
|
|
79
|
+
|
|
68
80
|
if attributes[:'displayName']
|
|
69
81
|
self.display_name = attributes[:'displayName']
|
|
70
82
|
end
|
|
71
83
|
|
|
84
|
+
raise 'You cannot provide both :displayName and :display_name' if attributes.key?(:'displayName') && attributes.key?(:'display_name')
|
|
85
|
+
|
|
86
|
+
if attributes[:'display_name']
|
|
87
|
+
self.display_name = attributes[:'display_name']
|
|
88
|
+
end
|
|
89
|
+
|
|
72
90
|
if attributes[:'egressSecurityRules']
|
|
73
91
|
self.egress_security_rules = attributes[:'egressSecurityRules']
|
|
74
92
|
end
|
|
75
93
|
|
|
94
|
+
raise 'You cannot provide both :egressSecurityRules and :egress_security_rules' if attributes.key?(:'egressSecurityRules') && attributes.key?(:'egress_security_rules')
|
|
95
|
+
|
|
96
|
+
if attributes[:'egress_security_rules']
|
|
97
|
+
self.egress_security_rules = attributes[:'egress_security_rules']
|
|
98
|
+
end
|
|
99
|
+
|
|
76
100
|
if attributes[:'freeformTags']
|
|
77
101
|
self.freeform_tags = attributes[:'freeformTags']
|
|
78
102
|
end
|
|
79
103
|
|
|
104
|
+
raise 'You cannot provide both :freeformTags and :freeform_tags' if attributes.key?(:'freeformTags') && attributes.key?(:'freeform_tags')
|
|
105
|
+
|
|
106
|
+
if attributes[:'freeform_tags']
|
|
107
|
+
self.freeform_tags = attributes[:'freeform_tags']
|
|
108
|
+
end
|
|
109
|
+
|
|
80
110
|
if attributes[:'ingressSecurityRules']
|
|
81
111
|
self.ingress_security_rules = attributes[:'ingressSecurityRules']
|
|
82
112
|
end
|
|
83
113
|
|
|
114
|
+
raise 'You cannot provide both :ingressSecurityRules and :ingress_security_rules' if attributes.key?(:'ingressSecurityRules') && attributes.key?(:'ingress_security_rules')
|
|
115
|
+
|
|
116
|
+
if attributes[:'ingress_security_rules']
|
|
117
|
+
self.ingress_security_rules = attributes[:'ingress_security_rules']
|
|
118
|
+
end
|
|
119
|
+
|
|
84
120
|
if attributes[:'vcnId']
|
|
85
121
|
self.vcn_id = attributes[:'vcnId']
|
|
86
122
|
end
|
|
87
123
|
|
|
124
|
+
raise 'You cannot provide both :vcnId and :vcn_id' if attributes.key?(:'vcnId') && attributes.key?(:'vcn_id')
|
|
125
|
+
|
|
126
|
+
if attributes[:'vcn_id']
|
|
127
|
+
self.vcn_id = attributes[:'vcn_id']
|
|
128
|
+
end
|
|
129
|
+
|
|
88
130
|
end
|
|
89
131
|
|
|
90
132
|
# Checks equality by comparing each attribute.
|
|
@@ -102,18 +102,18 @@ module OCI
|
|
|
102
102
|
|
|
103
103
|
# Initializes the object
|
|
104
104
|
# @param [Hash] attributes Model attributes in the form of hash
|
|
105
|
-
# @option attributes [String] :
|
|
106
|
-
# @option attributes [String] :
|
|
107
|
-
# @option attributes [String] :
|
|
108
|
-
# @option attributes [Hash<String, Hash<String, Object>>] :
|
|
109
|
-
# @option attributes [String] :
|
|
110
|
-
# @option attributes [String] :
|
|
111
|
-
# @option attributes [String] :
|
|
112
|
-
# @option attributes [Hash<String, String>] :
|
|
113
|
-
# @option attributes [BOOLEAN] :
|
|
114
|
-
# @option attributes [String] :
|
|
115
|
-
# @option attributes [Array<String>] :
|
|
116
|
-
# @option attributes [String] :
|
|
105
|
+
# @option attributes [String] :availability_domain The value to assign to the {#availability_domain} property
|
|
106
|
+
# @option attributes [String] :cidr_block The value to assign to the {#cidr_block} property
|
|
107
|
+
# @option attributes [String] :compartment_id The value to assign to the {#compartment_id} property
|
|
108
|
+
# @option attributes [Hash<String, Hash<String, Object>>] :defined_tags The value to assign to the {#defined_tags} property
|
|
109
|
+
# @option attributes [String] :dhcp_options_id The value to assign to the {#dhcp_options_id} property
|
|
110
|
+
# @option attributes [String] :display_name The value to assign to the {#display_name} property
|
|
111
|
+
# @option attributes [String] :dns_label The value to assign to the {#dns_label} property
|
|
112
|
+
# @option attributes [Hash<String, String>] :freeform_tags The value to assign to the {#freeform_tags} property
|
|
113
|
+
# @option attributes [BOOLEAN] :prohibit_public_ip_on_vnic The value to assign to the {#prohibit_public_ip_on_vnic} property
|
|
114
|
+
# @option attributes [String] :route_table_id The value to assign to the {#route_table_id} property
|
|
115
|
+
# @option attributes [Array<String>] :security_list_ids The value to assign to the {#security_list_ids} property
|
|
116
|
+
# @option attributes [String] :vcn_id The value to assign to the {#vcn_id} property
|
|
117
117
|
def initialize(attributes = {})
|
|
118
118
|
return unless attributes.is_a?(Hash)
|
|
119
119
|
|
|
@@ -124,50 +124,122 @@ module OCI
|
|
|
124
124
|
self.availability_domain = attributes[:'availabilityDomain']
|
|
125
125
|
end
|
|
126
126
|
|
|
127
|
+
raise 'You cannot provide both :availabilityDomain and :availability_domain' if attributes.key?(:'availabilityDomain') && attributes.key?(:'availability_domain')
|
|
128
|
+
|
|
129
|
+
if attributes[:'availability_domain']
|
|
130
|
+
self.availability_domain = attributes[:'availability_domain']
|
|
131
|
+
end
|
|
132
|
+
|
|
127
133
|
if attributes[:'cidrBlock']
|
|
128
134
|
self.cidr_block = attributes[:'cidrBlock']
|
|
129
135
|
end
|
|
130
136
|
|
|
137
|
+
raise 'You cannot provide both :cidrBlock and :cidr_block' if attributes.key?(:'cidrBlock') && attributes.key?(:'cidr_block')
|
|
138
|
+
|
|
139
|
+
if attributes[:'cidr_block']
|
|
140
|
+
self.cidr_block = attributes[:'cidr_block']
|
|
141
|
+
end
|
|
142
|
+
|
|
131
143
|
if attributes[:'compartmentId']
|
|
132
144
|
self.compartment_id = attributes[:'compartmentId']
|
|
133
145
|
end
|
|
134
146
|
|
|
147
|
+
raise 'You cannot provide both :compartmentId and :compartment_id' if attributes.key?(:'compartmentId') && attributes.key?(:'compartment_id')
|
|
148
|
+
|
|
149
|
+
if attributes[:'compartment_id']
|
|
150
|
+
self.compartment_id = attributes[:'compartment_id']
|
|
151
|
+
end
|
|
152
|
+
|
|
135
153
|
if attributes[:'definedTags']
|
|
136
154
|
self.defined_tags = attributes[:'definedTags']
|
|
137
155
|
end
|
|
138
156
|
|
|
157
|
+
raise 'You cannot provide both :definedTags and :defined_tags' if attributes.key?(:'definedTags') && attributes.key?(:'defined_tags')
|
|
158
|
+
|
|
159
|
+
if attributes[:'defined_tags']
|
|
160
|
+
self.defined_tags = attributes[:'defined_tags']
|
|
161
|
+
end
|
|
162
|
+
|
|
139
163
|
if attributes[:'dhcpOptionsId']
|
|
140
164
|
self.dhcp_options_id = attributes[:'dhcpOptionsId']
|
|
141
165
|
end
|
|
142
166
|
|
|
167
|
+
raise 'You cannot provide both :dhcpOptionsId and :dhcp_options_id' if attributes.key?(:'dhcpOptionsId') && attributes.key?(:'dhcp_options_id')
|
|
168
|
+
|
|
169
|
+
if attributes[:'dhcp_options_id']
|
|
170
|
+
self.dhcp_options_id = attributes[:'dhcp_options_id']
|
|
171
|
+
end
|
|
172
|
+
|
|
143
173
|
if attributes[:'displayName']
|
|
144
174
|
self.display_name = attributes[:'displayName']
|
|
145
175
|
end
|
|
146
176
|
|
|
177
|
+
raise 'You cannot provide both :displayName and :display_name' if attributes.key?(:'displayName') && attributes.key?(:'display_name')
|
|
178
|
+
|
|
179
|
+
if attributes[:'display_name']
|
|
180
|
+
self.display_name = attributes[:'display_name']
|
|
181
|
+
end
|
|
182
|
+
|
|
147
183
|
if attributes[:'dnsLabel']
|
|
148
184
|
self.dns_label = attributes[:'dnsLabel']
|
|
149
185
|
end
|
|
150
186
|
|
|
187
|
+
raise 'You cannot provide both :dnsLabel and :dns_label' if attributes.key?(:'dnsLabel') && attributes.key?(:'dns_label')
|
|
188
|
+
|
|
189
|
+
if attributes[:'dns_label']
|
|
190
|
+
self.dns_label = attributes[:'dns_label']
|
|
191
|
+
end
|
|
192
|
+
|
|
151
193
|
if attributes[:'freeformTags']
|
|
152
194
|
self.freeform_tags = attributes[:'freeformTags']
|
|
153
195
|
end
|
|
154
196
|
|
|
197
|
+
raise 'You cannot provide both :freeformTags and :freeform_tags' if attributes.key?(:'freeformTags') && attributes.key?(:'freeform_tags')
|
|
198
|
+
|
|
199
|
+
if attributes[:'freeform_tags']
|
|
200
|
+
self.freeform_tags = attributes[:'freeform_tags']
|
|
201
|
+
end
|
|
202
|
+
|
|
155
203
|
unless attributes[:'prohibitPublicIpOnVnic'].nil?
|
|
156
204
|
self.prohibit_public_ip_on_vnic = attributes[:'prohibitPublicIpOnVnic']
|
|
157
205
|
end
|
|
158
206
|
|
|
207
|
+
raise 'You cannot provide both :prohibitPublicIpOnVnic and :prohibit_public_ip_on_vnic' if attributes.key?(:'prohibitPublicIpOnVnic') && attributes.key?(:'prohibit_public_ip_on_vnic')
|
|
208
|
+
|
|
209
|
+
unless attributes[:'prohibit_public_ip_on_vnic'].nil?
|
|
210
|
+
self.prohibit_public_ip_on_vnic = attributes[:'prohibit_public_ip_on_vnic']
|
|
211
|
+
end
|
|
212
|
+
|
|
159
213
|
if attributes[:'routeTableId']
|
|
160
214
|
self.route_table_id = attributes[:'routeTableId']
|
|
161
215
|
end
|
|
162
216
|
|
|
217
|
+
raise 'You cannot provide both :routeTableId and :route_table_id' if attributes.key?(:'routeTableId') && attributes.key?(:'route_table_id')
|
|
218
|
+
|
|
219
|
+
if attributes[:'route_table_id']
|
|
220
|
+
self.route_table_id = attributes[:'route_table_id']
|
|
221
|
+
end
|
|
222
|
+
|
|
163
223
|
if attributes[:'securityListIds']
|
|
164
224
|
self.security_list_ids = attributes[:'securityListIds']
|
|
165
225
|
end
|
|
166
226
|
|
|
227
|
+
raise 'You cannot provide both :securityListIds and :security_list_ids' if attributes.key?(:'securityListIds') && attributes.key?(:'security_list_ids')
|
|
228
|
+
|
|
229
|
+
if attributes[:'security_list_ids']
|
|
230
|
+
self.security_list_ids = attributes[:'security_list_ids']
|
|
231
|
+
end
|
|
232
|
+
|
|
167
233
|
if attributes[:'vcnId']
|
|
168
234
|
self.vcn_id = attributes[:'vcnId']
|
|
169
235
|
end
|
|
170
236
|
|
|
237
|
+
raise 'You cannot provide both :vcnId and :vcn_id' if attributes.key?(:'vcnId') && attributes.key?(:'vcn_id')
|
|
238
|
+
|
|
239
|
+
if attributes[:'vcn_id']
|
|
240
|
+
self.vcn_id = attributes[:'vcn_id']
|
|
241
|
+
end
|
|
242
|
+
|
|
171
243
|
end
|
|
172
244
|
|
|
173
245
|
# Checks equality by comparing each attribute.
|
|
@@ -58,12 +58,12 @@ module OCI
|
|
|
58
58
|
|
|
59
59
|
# Initializes the object
|
|
60
60
|
# @param [Hash] attributes Model attributes in the form of hash
|
|
61
|
-
# @option attributes [String] :
|
|
62
|
-
# @option attributes [String] :
|
|
63
|
-
# @option attributes [Hash<String, Hash<String, Object>>] :
|
|
64
|
-
# @option attributes [String] :
|
|
65
|
-
# @option attributes [String] :
|
|
66
|
-
# @option attributes [Hash<String, String>] :
|
|
61
|
+
# @option attributes [String] :cidr_block The value to assign to the {#cidr_block} property
|
|
62
|
+
# @option attributes [String] :compartment_id The value to assign to the {#compartment_id} property
|
|
63
|
+
# @option attributes [Hash<String, Hash<String, Object>>] :defined_tags The value to assign to the {#defined_tags} property
|
|
64
|
+
# @option attributes [String] :display_name The value to assign to the {#display_name} property
|
|
65
|
+
# @option attributes [String] :dns_label The value to assign to the {#dns_label} property
|
|
66
|
+
# @option attributes [Hash<String, String>] :freeform_tags The value to assign to the {#freeform_tags} property
|
|
67
67
|
def initialize(attributes = {})
|
|
68
68
|
return unless attributes.is_a?(Hash)
|
|
69
69
|
|
|
@@ -74,26 +74,62 @@ module OCI
|
|
|
74
74
|
self.cidr_block = attributes[:'cidrBlock']
|
|
75
75
|
end
|
|
76
76
|
|
|
77
|
+
raise 'You cannot provide both :cidrBlock and :cidr_block' if attributes.key?(:'cidrBlock') && attributes.key?(:'cidr_block')
|
|
78
|
+
|
|
79
|
+
if attributes[:'cidr_block']
|
|
80
|
+
self.cidr_block = attributes[:'cidr_block']
|
|
81
|
+
end
|
|
82
|
+
|
|
77
83
|
if attributes[:'compartmentId']
|
|
78
84
|
self.compartment_id = attributes[:'compartmentId']
|
|
79
85
|
end
|
|
80
86
|
|
|
87
|
+
raise 'You cannot provide both :compartmentId and :compartment_id' if attributes.key?(:'compartmentId') && attributes.key?(:'compartment_id')
|
|
88
|
+
|
|
89
|
+
if attributes[:'compartment_id']
|
|
90
|
+
self.compartment_id = attributes[:'compartment_id']
|
|
91
|
+
end
|
|
92
|
+
|
|
81
93
|
if attributes[:'definedTags']
|
|
82
94
|
self.defined_tags = attributes[:'definedTags']
|
|
83
95
|
end
|
|
84
96
|
|
|
97
|
+
raise 'You cannot provide both :definedTags and :defined_tags' if attributes.key?(:'definedTags') && attributes.key?(:'defined_tags')
|
|
98
|
+
|
|
99
|
+
if attributes[:'defined_tags']
|
|
100
|
+
self.defined_tags = attributes[:'defined_tags']
|
|
101
|
+
end
|
|
102
|
+
|
|
85
103
|
if attributes[:'displayName']
|
|
86
104
|
self.display_name = attributes[:'displayName']
|
|
87
105
|
end
|
|
88
106
|
|
|
107
|
+
raise 'You cannot provide both :displayName and :display_name' if attributes.key?(:'displayName') && attributes.key?(:'display_name')
|
|
108
|
+
|
|
109
|
+
if attributes[:'display_name']
|
|
110
|
+
self.display_name = attributes[:'display_name']
|
|
111
|
+
end
|
|
112
|
+
|
|
89
113
|
if attributes[:'dnsLabel']
|
|
90
114
|
self.dns_label = attributes[:'dnsLabel']
|
|
91
115
|
end
|
|
92
116
|
|
|
117
|
+
raise 'You cannot provide both :dnsLabel and :dns_label' if attributes.key?(:'dnsLabel') && attributes.key?(:'dns_label')
|
|
118
|
+
|
|
119
|
+
if attributes[:'dns_label']
|
|
120
|
+
self.dns_label = attributes[:'dns_label']
|
|
121
|
+
end
|
|
122
|
+
|
|
93
123
|
if attributes[:'freeformTags']
|
|
94
124
|
self.freeform_tags = attributes[:'freeformTags']
|
|
95
125
|
end
|
|
96
126
|
|
|
127
|
+
raise 'You cannot provide both :freeformTags and :freeform_tags' if attributes.key?(:'freeformTags') && attributes.key?(:'freeform_tags')
|
|
128
|
+
|
|
129
|
+
if attributes[:'freeform_tags']
|
|
130
|
+
self.freeform_tags = attributes[:'freeform_tags']
|
|
131
|
+
end
|
|
132
|
+
|
|
97
133
|
end
|
|
98
134
|
|
|
99
135
|
# Checks equality by comparing each attribute.
|
|
@@ -90,16 +90,16 @@ module OCI
|
|
|
90
90
|
|
|
91
91
|
# Initializes the object
|
|
92
92
|
# @param [Hash] attributes Model attributes in the form of hash
|
|
93
|
-
# @option attributes [String] :
|
|
94
|
-
# @option attributes [String] :
|
|
95
|
-
# @option attributes [Array<OCI::Core::Models::CrossConnectMapping>] :
|
|
96
|
-
# @option attributes [Integer] :
|
|
97
|
-
# @option attributes [String] :
|
|
98
|
-
# @option attributes [String] :
|
|
99
|
-
# @option attributes [String] :
|
|
100
|
-
# @option attributes [String] :
|
|
101
|
-
# @option attributes [String] :
|
|
102
|
-
# @option attributes [Array<OCI::Core::Models::CreateVirtualCircuitPublicPrefixDetails>] :
|
|
93
|
+
# @option attributes [String] :bandwidth_shape_name The value to assign to the {#bandwidth_shape_name} property
|
|
94
|
+
# @option attributes [String] :compartment_id The value to assign to the {#compartment_id} property
|
|
95
|
+
# @option attributes [Array<OCI::Core::Models::CrossConnectMapping>] :cross_connect_mappings The value to assign to the {#cross_connect_mappings} property
|
|
96
|
+
# @option attributes [Integer] :customer_bgp_asn The value to assign to the {#customer_bgp_asn} property
|
|
97
|
+
# @option attributes [String] :display_name The value to assign to the {#display_name} property
|
|
98
|
+
# @option attributes [String] :gateway_id The value to assign to the {#gateway_id} property
|
|
99
|
+
# @option attributes [String] :provider_name The value to assign to the {#provider_name} property
|
|
100
|
+
# @option attributes [String] :provider_service_id The value to assign to the {#provider_service_id} property
|
|
101
|
+
# @option attributes [String] :provider_service_name The value to assign to the {#provider_service_name} property
|
|
102
|
+
# @option attributes [Array<OCI::Core::Models::CreateVirtualCircuitPublicPrefixDetails>] :public_prefixes The value to assign to the {#public_prefixes} property
|
|
103
103
|
# @option attributes [String] :region The value to assign to the {#region} property
|
|
104
104
|
# @option attributes [String] :type The value to assign to the {#type} property
|
|
105
105
|
def initialize(attributes = {})
|
|
@@ -112,42 +112,102 @@ module OCI
|
|
|
112
112
|
self.bandwidth_shape_name = attributes[:'bandwidthShapeName']
|
|
113
113
|
end
|
|
114
114
|
|
|
115
|
+
raise 'You cannot provide both :bandwidthShapeName and :bandwidth_shape_name' if attributes.key?(:'bandwidthShapeName') && attributes.key?(:'bandwidth_shape_name')
|
|
116
|
+
|
|
117
|
+
if attributes[:'bandwidth_shape_name']
|
|
118
|
+
self.bandwidth_shape_name = attributes[:'bandwidth_shape_name']
|
|
119
|
+
end
|
|
120
|
+
|
|
115
121
|
if attributes[:'compartmentId']
|
|
116
122
|
self.compartment_id = attributes[:'compartmentId']
|
|
117
123
|
end
|
|
118
124
|
|
|
125
|
+
raise 'You cannot provide both :compartmentId and :compartment_id' if attributes.key?(:'compartmentId') && attributes.key?(:'compartment_id')
|
|
126
|
+
|
|
127
|
+
if attributes[:'compartment_id']
|
|
128
|
+
self.compartment_id = attributes[:'compartment_id']
|
|
129
|
+
end
|
|
130
|
+
|
|
119
131
|
if attributes[:'crossConnectMappings']
|
|
120
132
|
self.cross_connect_mappings = attributes[:'crossConnectMappings']
|
|
121
133
|
end
|
|
122
134
|
|
|
135
|
+
raise 'You cannot provide both :crossConnectMappings and :cross_connect_mappings' if attributes.key?(:'crossConnectMappings') && attributes.key?(:'cross_connect_mappings')
|
|
136
|
+
|
|
137
|
+
if attributes[:'cross_connect_mappings']
|
|
138
|
+
self.cross_connect_mappings = attributes[:'cross_connect_mappings']
|
|
139
|
+
end
|
|
140
|
+
|
|
123
141
|
if attributes[:'customerBgpAsn']
|
|
124
142
|
self.customer_bgp_asn = attributes[:'customerBgpAsn']
|
|
125
143
|
end
|
|
126
144
|
|
|
145
|
+
raise 'You cannot provide both :customerBgpAsn and :customer_bgp_asn' if attributes.key?(:'customerBgpAsn') && attributes.key?(:'customer_bgp_asn')
|
|
146
|
+
|
|
147
|
+
if attributes[:'customer_bgp_asn']
|
|
148
|
+
self.customer_bgp_asn = attributes[:'customer_bgp_asn']
|
|
149
|
+
end
|
|
150
|
+
|
|
127
151
|
if attributes[:'displayName']
|
|
128
152
|
self.display_name = attributes[:'displayName']
|
|
129
153
|
end
|
|
130
154
|
|
|
155
|
+
raise 'You cannot provide both :displayName and :display_name' if attributes.key?(:'displayName') && attributes.key?(:'display_name')
|
|
156
|
+
|
|
157
|
+
if attributes[:'display_name']
|
|
158
|
+
self.display_name = attributes[:'display_name']
|
|
159
|
+
end
|
|
160
|
+
|
|
131
161
|
if attributes[:'gatewayId']
|
|
132
162
|
self.gateway_id = attributes[:'gatewayId']
|
|
133
163
|
end
|
|
134
164
|
|
|
165
|
+
raise 'You cannot provide both :gatewayId and :gateway_id' if attributes.key?(:'gatewayId') && attributes.key?(:'gateway_id')
|
|
166
|
+
|
|
167
|
+
if attributes[:'gateway_id']
|
|
168
|
+
self.gateway_id = attributes[:'gateway_id']
|
|
169
|
+
end
|
|
170
|
+
|
|
135
171
|
if attributes[:'providerName']
|
|
136
172
|
self.provider_name = attributes[:'providerName']
|
|
137
173
|
end
|
|
138
174
|
|
|
175
|
+
raise 'You cannot provide both :providerName and :provider_name' if attributes.key?(:'providerName') && attributes.key?(:'provider_name')
|
|
176
|
+
|
|
177
|
+
if attributes[:'provider_name']
|
|
178
|
+
self.provider_name = attributes[:'provider_name']
|
|
179
|
+
end
|
|
180
|
+
|
|
139
181
|
if attributes[:'providerServiceId']
|
|
140
182
|
self.provider_service_id = attributes[:'providerServiceId']
|
|
141
183
|
end
|
|
142
184
|
|
|
185
|
+
raise 'You cannot provide both :providerServiceId and :provider_service_id' if attributes.key?(:'providerServiceId') && attributes.key?(:'provider_service_id')
|
|
186
|
+
|
|
187
|
+
if attributes[:'provider_service_id']
|
|
188
|
+
self.provider_service_id = attributes[:'provider_service_id']
|
|
189
|
+
end
|
|
190
|
+
|
|
143
191
|
if attributes[:'providerServiceName']
|
|
144
192
|
self.provider_service_name = attributes[:'providerServiceName']
|
|
145
193
|
end
|
|
146
194
|
|
|
195
|
+
raise 'You cannot provide both :providerServiceName and :provider_service_name' if attributes.key?(:'providerServiceName') && attributes.key?(:'provider_service_name')
|
|
196
|
+
|
|
197
|
+
if attributes[:'provider_service_name']
|
|
198
|
+
self.provider_service_name = attributes[:'provider_service_name']
|
|
199
|
+
end
|
|
200
|
+
|
|
147
201
|
if attributes[:'publicPrefixes']
|
|
148
202
|
self.public_prefixes = attributes[:'publicPrefixes']
|
|
149
203
|
end
|
|
150
204
|
|
|
205
|
+
raise 'You cannot provide both :publicPrefixes and :public_prefixes' if attributes.key?(:'publicPrefixes') && attributes.key?(:'public_prefixes')
|
|
206
|
+
|
|
207
|
+
if attributes[:'public_prefixes']
|
|
208
|
+
self.public_prefixes = attributes[:'public_prefixes']
|
|
209
|
+
end
|
|
210
|
+
|
|
151
211
|
if attributes[:'region']
|
|
152
212
|
self.region = attributes[:'region']
|
|
153
213
|
end
|