oci 2.0.5 → 2.0.6
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 -2
- data/lib/oci.rb +3 -0
- data/lib/oci/api_client.rb +24 -3
- data/lib/oci/audit/audit_client.rb +19 -5
- data/lib/oci/audit/models/audit_event.rb +19 -0
- data/lib/oci/audit/models/configuration.rb +1 -0
- data/lib/oci/audit/models/update_configuration_details.rb +1 -0
- data/lib/oci/auth/auth.rb +16 -0
- data/lib/oci/auth/federation_client.rb +125 -0
- data/lib/oci/auth/internal/auth_token_request_signer.rb +20 -0
- data/lib/oci/auth/security_token_container.rb +25 -0
- data/lib/oci/auth/session_key_supplier.rb +37 -0
- data/lib/oci/auth/signers/instance_principals_security_token_signer.rb +83 -0
- data/lib/oci/auth/signers/security_token_signer.rb +32 -0
- data/lib/oci/auth/signers/x509_federation_client_based_security_token_signer.rb +70 -0
- data/lib/oci/auth/url_based_certificate_retriever.rb +104 -0
- data/lib/oci/auth/util.rb +33 -0
- data/lib/oci/base_signer.rb +154 -0
- data/lib/oci/core/blockstorage_client.rb +19 -5
- data/lib/oci/core/compute_client.rb +19 -5
- data/lib/oci/core/models/attach_boot_volume_details.rb +5 -2
- data/lib/oci/core/models/attach_i_scsi_volume_details.rb +5 -1
- data/lib/oci/core/models/attach_vnic_details.rb +6 -2
- data/lib/oci/core/models/attach_volume_details.rb +8 -3
- data/lib/oci/core/models/boot_volume.rb +22 -6
- data/lib/oci/core/models/boot_volume_attachment.rb +17 -7
- data/lib/oci/core/models/bulk_add_virtual_circuit_public_prefixes_details.rb +2 -1
- data/lib/oci/core/models/bulk_delete_virtual_circuit_public_prefixes_details.rb +2 -1
- data/lib/oci/core/models/capture_console_history_details.rb +5 -1
- data/lib/oci/core/models/connect_local_peering_gateways_details.rb +3 -1
- data/lib/oci/core/models/console_history.rb +19 -6
- data/lib/oci/core/models/cpe.rb +18 -3
- data/lib/oci/core/models/create_cpe_details.rb +5 -2
- data/lib/oci/core/models/create_cross_connect_details.rb +10 -3
- data/lib/oci/core/models/create_cross_connect_group_details.rb +3 -1
- data/lib/oci/core/models/create_dhcp_details.rb +9 -3
- data/lib/oci/core/models/create_drg_attachment_details.rb +5 -2
- data/lib/oci/core/models/create_drg_details.rb +3 -1
- data/lib/oci/core/models/create_image_details.rb +9 -1
- data/lib/oci/core/models/create_instance_console_connection_details.rb +9 -2
- data/lib/oci/core/models/create_internet_gateway_details.rb +8 -4
- data/lib/oci/core/models/create_ip_sec_connection_details.rb +9 -4
- data/lib/oci/core/models/create_local_peering_gateway_details.rb +5 -2
- data/lib/oci/core/models/create_private_ip_details.rb +7 -1
- data/lib/oci/core/models/create_route_table_details.rb +9 -3
- data/lib/oci/core/models/create_security_list_details.rb +11 -4
- data/lib/oci/core/models/create_subnet_details.rb +17 -5
- data/lib/oci/core/models/create_vcn_details.rb +8 -2
- data/lib/oci/core/models/create_virtual_circuit_details.rb +14 -2
- data/lib/oci/core/models/create_virtual_circuit_public_prefix_details.rb +2 -1
- data/lib/oci/core/models/create_vnic_details.rb +14 -3
- data/lib/oci/core/models/create_volume_backup_details.rb +5 -1
- data/lib/oci/core/models/create_volume_details.rb +11 -2
- data/lib/oci/core/models/cross_connect.rb +26 -0
- data/lib/oci/core/models/cross_connect_group.rb +19 -0
- data/lib/oci/core/models/cross_connect_location.rb +5 -2
- data/lib/oci/core/models/cross_connect_mapping.rb +31 -0
- data/lib/oci/core/models/cross_connect_port_speed_shape.rb +6 -2
- data/lib/oci/core/models/cross_connect_status.rb +6 -1
- data/lib/oci/core/models/delete_virtual_circuit_public_prefix_details.rb +2 -1
- data/lib/oci/core/models/dhcp_dns_option.rb +7 -1
- data/lib/oci/core/models/dhcp_option.rb +9 -1
- data/lib/oci/core/models/dhcp_options.rb +31 -6
- data/lib/oci/core/models/dhcp_search_domain_option.rb +5 -1
- data/lib/oci/core/models/drg.rb +18 -3
- data/lib/oci/core/models/drg_attachment.rb +15 -5
- data/lib/oci/core/models/egress_security_rule.rb +10 -3
- data/lib/oci/core/models/export_image_details.rb +13 -1
- data/lib/oci/core/models/export_image_via_object_storage_tuple_details.rb +3 -0
- data/lib/oci/core/models/export_image_via_object_storage_uri_details.rb +2 -1
- data/lib/oci/core/models/fast_connect_provider_service.rb +17 -6
- data/lib/oci/core/models/i_scsi_volume_attachment.rb +17 -3
- data/lib/oci/core/models/icmp_options.rb +11 -1
- data/lib/oci/core/models/image.rb +28 -7
- data/lib/oci/core/models/image_source_details.rb +4 -1
- data/lib/oci/core/models/image_source_via_object_storage_tuple_details.rb +7 -3
- data/lib/oci/core/models/image_source_via_object_storage_uri_details.rb +3 -1
- data/lib/oci/core/models/ingress_security_rule.rb +10 -3
- data/lib/oci/core/models/instance.rb +33 -7
- data/lib/oci/core/models/instance_console_connection.rb +15 -0
- data/lib/oci/core/models/instance_credentials.rb +5 -2
- data/lib/oci/core/models/instance_source_details.rb +3 -1
- data/lib/oci/core/models/instance_source_via_boot_volume_details.rb +2 -1
- data/lib/oci/core/models/instance_source_via_image_details.rb +2 -1
- data/lib/oci/core/models/internet_gateway.rb +20 -5
- data/lib/oci/core/models/ip_sec_connection.rb +23 -6
- data/lib/oci/core/models/ip_sec_connection_device_config.rb +7 -2
- data/lib/oci/core/models/ip_sec_connection_device_status.rb +7 -2
- data/lib/oci/core/models/launch_instance_details.rb +20 -3
- data/lib/oci/core/models/launch_options.rb +10 -4
- data/lib/oci/core/models/letter_of_authority.rb +10 -0
- data/lib/oci/core/models/local_peering_gateway.rb +29 -9
- data/lib/oci/core/models/port_range.rb +4 -2
- data/lib/oci/core/models/private_ip.rb +41 -1
- data/lib/oci/core/models/route_rule.rb +7 -2
- data/lib/oci/core/models/route_table.rb +22 -5
- data/lib/oci/core/models/security_list.rb +32 -8
- data/lib/oci/core/models/shape.rb +5 -1
- data/lib/oci/core/models/subnet.rb +38 -10
- data/lib/oci/core/models/tcp_options.rb +5 -0
- data/lib/oci/core/models/tunnel_config.rb +6 -2
- data/lib/oci/core/models/tunnel_status.rb +7 -1
- data/lib/oci/core/models/udp_options.rb +5 -0
- data/lib/oci/core/models/update_boot_volume_details.rb +1 -0
- data/lib/oci/core/models/update_console_history_details.rb +3 -0
- data/lib/oci/core/models/update_cpe_details.rb +1 -0
- data/lib/oci/core/models/update_cross_connect_details.rb +5 -1
- data/lib/oci/core/models/update_cross_connect_group_details.rb +1 -0
- data/lib/oci/core/models/update_dhcp_details.rb +4 -0
- data/lib/oci/core/models/update_drg_attachment_details.rb +1 -0
- data/lib/oci/core/models/update_drg_details.rb +1 -0
- data/lib/oci/core/models/update_image_details.rb +3 -0
- data/lib/oci/core/models/update_instance_details.rb +3 -0
- data/lib/oci/core/models/update_internet_gateway_details.rb +3 -1
- data/lib/oci/core/models/update_ip_sec_connection_details.rb +1 -0
- data/lib/oci/core/models/update_local_peering_gateway_details.rb +1 -0
- data/lib/oci/core/models/update_private_ip_details.rb +5 -0
- data/lib/oci/core/models/update_route_table_details.rb +4 -0
- data/lib/oci/core/models/update_security_list_details.rb +5 -0
- data/lib/oci/core/models/update_subnet_details.rb +3 -0
- data/lib/oci/core/models/update_vcn_details.rb +3 -0
- data/lib/oci/core/models/update_virtual_circuit_details.rb +7 -0
- data/lib/oci/core/models/update_vnic_details.rb +4 -1
- data/lib/oci/core/models/update_volume_backup_details.rb +3 -0
- data/lib/oci/core/models/update_volume_details.rb +3 -0
- data/lib/oci/core/models/vcn.rb +24 -4
- data/lib/oci/core/models/virtual_circuit.rb +41 -0
- data/lib/oci/core/models/virtual_circuit_bandwidth_shape.rb +5 -1
- data/lib/oci/core/models/virtual_circuit_public_prefix.rb +8 -2
- data/lib/oci/core/models/vnic.rb +38 -9
- data/lib/oci/core/models/vnic_attachment.rb +21 -7
- data/lib/oci/core/models/volume.rb +28 -8
- data/lib/oci/core/models/volume_attachment.rb +25 -8
- data/lib/oci/core/models/volume_backup.rb +26 -5
- data/lib/oci/core/models/volume_source_details.rb +3 -0
- data/lib/oci/core/models/volume_source_from_volume_backup_details.rb +3 -1
- data/lib/oci/core/models/volume_source_from_volume_details.rb +3 -1
- data/lib/oci/core/virtual_network_client.rb +19 -5
- data/lib/oci/database/database_client.rb +19 -5
- data/lib/oci/database/models/backup.rb +13 -0
- data/lib/oci/database/models/backup_summary.rb +13 -0
- data/lib/oci/database/models/create_backup_details.rb +4 -2
- data/lib/oci/database/models/create_data_guard_association_details.rb +18 -4
- data/lib/oci/database/models/create_data_guard_association_to_existing_db_system_details.rb +5 -0
- data/lib/oci/database/models/create_database_details.rb +9 -2
- data/lib/oci/database/models/create_database_from_backup_details.rb +6 -3
- data/lib/oci/database/models/create_db_home_details.rb +5 -1
- data/lib/oci/database/models/create_db_home_with_db_system_id_base.rb +5 -1
- data/lib/oci/database/models/create_db_home_with_db_system_id_details.rb +6 -1
- data/lib/oci/database/models/create_db_home_with_db_system_id_from_backup_details.rb +4 -0
- data/lib/oci/database/models/data_guard_association.rb +32 -7
- data/lib/oci/database/models/data_guard_association_summary.rb +32 -7
- data/lib/oci/database/models/database.rb +22 -5
- data/lib/oci/database/models/database_summary.rb +22 -5
- data/lib/oci/database/models/db_backup_config.rb +5 -1
- data/lib/oci/database/models/db_home.rb +22 -5
- data/lib/oci/database/models/db_home_summary.rb +22 -5
- data/lib/oci/database/models/db_node.rb +17 -5
- data/lib/oci/database/models/db_node_summary.rb +17 -5
- data/lib/oci/database/models/db_system.rb +56 -12
- data/lib/oci/database/models/db_system_shape_summary.rb +11 -2
- data/lib/oci/database/models/db_system_summary.rb +56 -12
- data/lib/oci/database/models/db_version_summary.rb +8 -2
- data/lib/oci/database/models/failover_data_guard_association_details.rb +4 -1
- data/lib/oci/database/models/launch_db_system_details.rb +27 -8
- data/lib/oci/database/models/patch.rb +18 -4
- data/lib/oci/database/models/patch_details.rb +6 -0
- data/lib/oci/database/models/patch_history_entry.rb +12 -4
- data/lib/oci/database/models/patch_history_entry_summary.rb +12 -4
- data/lib/oci/database/models/patch_summary.rb +18 -4
- data/lib/oci/database/models/reinstate_data_guard_association_details.rb +4 -1
- data/lib/oci/database/models/restore_database_details.rb +4 -1
- data/lib/oci/database/models/switchover_data_guard_association_details.rb +4 -1
- data/lib/oci/database/models/update_database_details.rb +1 -0
- data/lib/oci/database/models/update_db_home_details.rb +3 -0
- data/lib/oci/database/models/update_db_system_details.rb +6 -0
- data/lib/oci/identity/identity.rb +3 -0
- data/lib/oci/identity/identity_client.rb +290 -70
- data/lib/oci/identity/models/add_user_to_group_details.rb +4 -2
- data/lib/oci/identity/models/api_key.rb +18 -0
- data/lib/oci/identity/models/availability_domain.rb +6 -0
- data/lib/oci/identity/models/compartment.rb +38 -10
- data/lib/oci/identity/models/create_api_key_details.rb +2 -1
- data/lib/oci/identity/models/create_compartment_details.rb +14 -7
- data/lib/oci/identity/models/create_customer_secret_key_details.rb +2 -1
- data/lib/oci/identity/models/create_dynamic_group_details.rb +160 -0
- data/lib/oci/identity/models/create_group_details.rb +14 -7
- data/lib/oci/identity/models/create_identity_provider_details.rb +19 -9
- data/lib/oci/identity/models/create_idp_group_mapping_details.rb +4 -2
- data/lib/oci/identity/models/create_policy_details.rb +18 -9
- data/lib/oci/identity/models/create_region_subscription_details.rb +2 -1
- data/lib/oci/identity/models/create_saml2_identity_provider_details.rb +10 -2
- data/lib/oci/identity/models/create_swift_password_details.rb +2 -1
- data/lib/oci/identity/models/create_tag_details.rb +12 -6
- data/lib/oci/identity/models/create_tag_namespace_details.rb +14 -7
- data/lib/oci/identity/models/create_user_details.rb +14 -7
- data/lib/oci/identity/models/customer_secret_key.rb +16 -0
- data/lib/oci/identity/models/customer_secret_key_summary.rb +10 -0
- data/lib/oci/identity/models/dynamic_group.rb +239 -0
- data/lib/oci/identity/models/group.rb +35 -11
- data/lib/oci/identity/models/identity_provider.rb +36 -12
- data/lib/oci/identity/models/idp_group_mapping.rb +27 -7
- data/lib/oci/identity/models/policy.rb +38 -11
- data/lib/oci/identity/models/region.rb +10 -0
- data/lib/oci/identity/models/region_subscription.rb +16 -5
- data/lib/oci/identity/models/saml2_identity_provider.rb +20 -3
- data/lib/oci/identity/models/swift_password.rb +17 -1
- data/lib/oci/identity/models/tag.rb +30 -13
- data/lib/oci/identity/models/tag_namespace.rb +25 -11
- data/lib/oci/identity/models/tag_namespace_summary.rb +23 -10
- data/lib/oci/identity/models/tag_summary.rb +21 -8
- data/lib/oci/identity/models/tenancy.rb +21 -4
- data/lib/oci/identity/models/ui_password.rb +10 -0
- data/lib/oci/identity/models/update_compartment_details.rb +10 -4
- data/lib/oci/identity/models/update_customer_secret_key_details.rb +1 -0
- data/lib/oci/identity/models/update_dynamic_group_details.rb +134 -0
- data/lib/oci/identity/models/update_group_details.rb +9 -4
- data/lib/oci/identity/models/update_identity_provider_details.rb +12 -5
- data/lib/oci/identity/models/update_idp_group_mapping_details.rb +2 -0
- data/lib/oci/identity/models/update_policy_details.rb +12 -5
- data/lib/oci/identity/models/update_saml2_identity_provider_details.rb +5 -0
- data/lib/oci/identity/models/update_state_details.rb +2 -1
- data/lib/oci/identity/models/update_swift_password_details.rb +1 -0
- data/lib/oci/identity/models/update_tag_details.rb +15 -7
- data/lib/oci/identity/models/update_tag_namespace_details.rb +15 -7
- data/lib/oci/identity/models/update_user_details.rb +9 -4
- data/lib/oci/identity/models/user.rb +38 -11
- data/lib/oci/identity/models/user_group_membership.rb +16 -6
- data/lib/oci/load_balancer/load_balancer.rb +1 -0
- data/lib/oci/load_balancer/load_balancer_client.rb +24 -9
- data/lib/oci/load_balancer/models/backend.rb +20 -10
- data/lib/oci/load_balancer/models/backend_details.rb +12 -5
- data/lib/oci/load_balancer/models/backend_health.rb +6 -2
- data/lib/oci/load_balancer/models/backend_set.rb +14 -2
- data/lib/oci/load_balancer/models/backend_set_details.rb +11 -1
- data/lib/oci/load_balancer/models/backend_set_health.rb +15 -5
- data/lib/oci/load_balancer/models/certificate.rb +10 -3
- data/lib/oci/load_balancer/models/certificate_details.rb +10 -1
- data/lib/oci/load_balancer/models/connection_configuration.rb +157 -0
- data/lib/oci/load_balancer/models/create_backend_details.rb +15 -5
- data/lib/oci/load_balancer/models/create_backend_set_details.rb +13 -2
- data/lib/oci/load_balancer/models/create_certificate_details.rb +10 -1
- data/lib/oci/load_balancer/models/create_listener_details.rb +28 -5
- data/lib/oci/load_balancer/models/create_load_balancer_details.rb +14 -5
- data/lib/oci/load_balancer/models/health_check_result.rb +10 -4
- data/lib/oci/load_balancer/models/health_checker.rb +15 -4
- data/lib/oci/load_balancer/models/health_checker_details.rb +10 -1
- data/lib/oci/load_balancer/models/ip_address.rb +5 -2
- data/lib/oci/load_balancer/models/listener.rb +28 -5
- data/lib/oci/load_balancer/models/listener_details.rb +23 -4
- data/lib/oci/load_balancer/models/load_balancer.rb +30 -7
- data/lib/oci/load_balancer/models/load_balancer_health.rb +15 -5
- data/lib/oci/load_balancer/models/load_balancer_health_summary.rb +5 -2
- data/lib/oci/load_balancer/models/load_balancer_policy.rb +6 -1
- data/lib/oci/load_balancer/models/load_balancer_protocol.rb +3 -1
- data/lib/oci/load_balancer/models/load_balancer_shape.rb +8 -1
- data/lib/oci/load_balancer/models/session_persistence_configuration_details.rb +14 -2
- data/lib/oci/load_balancer/models/ssl_configuration.rb +11 -4
- data/lib/oci/load_balancer/models/ssl_configuration_details.rb +6 -2
- data/lib/oci/load_balancer/models/update_backend_details.rb +12 -7
- data/lib/oci/load_balancer/models/update_backend_set_details.rb +12 -1
- data/lib/oci/load_balancer/models/update_health_checker_details.rb +16 -7
- data/lib/oci/load_balancer/models/update_listener_details.rb +23 -4
- data/lib/oci/load_balancer/models/update_load_balancer_details.rb +3 -1
- data/lib/oci/load_balancer/models/work_request.rb +20 -6
- data/lib/oci/load_balancer/models/work_request_error.rb +5 -1
- data/lib/oci/object_storage/models/bucket.rb +27 -8
- data/lib/oci/object_storage/models/bucket_summary.rb +16 -6
- data/lib/oci/object_storage/models/commit_multipart_upload_details.rb +7 -1
- data/lib/oci/object_storage/models/commit_multipart_upload_part_details.rb +8 -2
- data/lib/oci/object_storage/models/create_bucket_details.rb +15 -4
- data/lib/oci/object_storage/models/create_multipart_upload_details.rb +10 -1
- data/lib/oci/object_storage/models/create_preauthenticated_request_details.rb +7 -3
- data/lib/oci/object_storage/models/list_objects.rb +8 -1
- data/lib/oci/object_storage/models/multipart_upload.rb +20 -5
- data/lib/oci/object_storage/models/multipart_upload_part_summary.rb +13 -4
- data/lib/oci/object_storage/models/namespace_metadata.rb +8 -3
- data/lib/oci/object_storage/models/object_summary.rb +9 -1
- data/lib/oci/object_storage/models/preauthenticated_request.rb +20 -6
- data/lib/oci/object_storage/models/preauthenticated_request_summary.rb +13 -5
- data/lib/oci/object_storage/models/rename_object_details.rb +11 -2
- data/lib/oci/object_storage/models/restore_objects_details.rb +2 -1
- data/lib/oci/object_storage/models/update_bucket_details.rb +13 -2
- data/lib/oci/object_storage/models/update_namespace_metadata_details.rb +5 -0
- data/lib/oci/object_storage/object_storage_client.rb +26 -12
- data/lib/oci/regions.rb +8 -1
- data/lib/oci/signer.rb +5 -124
- data/lib/oci/version.rb +1 -1
- metadata +31 -2
|
@@ -13,6 +13,7 @@ module OCI
|
|
|
13
13
|
|
|
14
14
|
# Initializes the object
|
|
15
15
|
# @param [Hash] attributes Model attributes in the form of hash
|
|
16
|
+
# @option attributes [String] :displayName The value to assign to the {#display_name} property
|
|
16
17
|
def initialize(attributes = {})
|
|
17
18
|
return unless attributes.is_a?(Hash)
|
|
18
19
|
|
|
@@ -33,6 +33,10 @@ module OCI
|
|
|
33
33
|
|
|
34
34
|
# Initializes the object
|
|
35
35
|
# @param [Hash] attributes Model attributes in the form of hash
|
|
36
|
+
# @option attributes [Hash<String, Hash<String, Object>>] :definedTags The value to assign to the {#defined_tags} property
|
|
37
|
+
# @option attributes [String] :displayName The value to assign to the {#display_name} property
|
|
38
|
+
# @option attributes [Hash<String, String>] :freeformTags The value to assign to the {#freeform_tags} property
|
|
39
|
+
# @option attributes [Array<OCI::Core::Models::DhcpOption>] :options The value to assign to the {#options} property
|
|
36
40
|
def initialize(attributes = {})
|
|
37
41
|
return unless attributes.is_a?(Hash)
|
|
38
42
|
|
|
@@ -13,6 +13,7 @@ module OCI
|
|
|
13
13
|
|
|
14
14
|
# Initializes the object
|
|
15
15
|
# @param [Hash] attributes Model attributes in the form of hash
|
|
16
|
+
# @option attributes [String] :displayName The value to assign to the {#display_name} property
|
|
16
17
|
def initialize(attributes = {})
|
|
17
18
|
return unless attributes.is_a?(Hash)
|
|
18
19
|
|
|
@@ -13,6 +13,7 @@ module OCI
|
|
|
13
13
|
|
|
14
14
|
# Initializes the object
|
|
15
15
|
# @param [Hash] attributes Model attributes in the form of hash
|
|
16
|
+
# @option attributes [String] :displayName The value to assign to the {#display_name} property
|
|
16
17
|
def initialize(attributes = {})
|
|
17
18
|
return unless attributes.is_a?(Hash)
|
|
18
19
|
|
|
@@ -32,6 +32,9 @@ module OCI
|
|
|
32
32
|
|
|
33
33
|
# Initializes the object
|
|
34
34
|
# @param [Hash] attributes Model attributes in the form of hash
|
|
35
|
+
# @option attributes [Hash<String, Hash<String, Object>>] :definedTags The value to assign to the {#defined_tags} property
|
|
36
|
+
# @option attributes [String] :displayName The value to assign to the {#display_name} property
|
|
37
|
+
# @option attributes [Hash<String, String>] :freeformTags The value to assign to the {#freeform_tags} property
|
|
35
38
|
def initialize(attributes = {})
|
|
36
39
|
return unless attributes.is_a?(Hash)
|
|
37
40
|
|
|
@@ -32,6 +32,9 @@ module OCI
|
|
|
32
32
|
|
|
33
33
|
# Initializes the object
|
|
34
34
|
# @param [Hash] attributes Model attributes in the form of hash
|
|
35
|
+
# @option attributes [Hash<String, Hash<String, Object>>] :definedTags The value to assign to the {#defined_tags} property
|
|
36
|
+
# @option attributes [String] :displayName The value to assign to the {#display_name} property
|
|
37
|
+
# @option attributes [Hash<String, String>] :freeformTags The value to assign to the {#freeform_tags} property
|
|
35
38
|
def initialize(attributes = {})
|
|
36
39
|
return unless attributes.is_a?(Hash)
|
|
37
40
|
|
|
@@ -17,6 +17,8 @@ module OCI
|
|
|
17
17
|
|
|
18
18
|
# Initializes the object
|
|
19
19
|
# @param [Hash] attributes Model attributes in the form of hash
|
|
20
|
+
# @option attributes [String] :displayName The value to assign to the {#display_name} property
|
|
21
|
+
# @option attributes [BOOLEAN] :isEnabled The value to assign to the {#is_enabled} property
|
|
20
22
|
def initialize(attributes = {})
|
|
21
23
|
return unless attributes.is_a?(Hash)
|
|
22
24
|
|
|
@@ -27,7 +29,7 @@ module OCI
|
|
|
27
29
|
self.display_name = attributes[:'displayName']
|
|
28
30
|
end
|
|
29
31
|
|
|
30
|
-
|
|
32
|
+
unless attributes[:'isEnabled'].nil?
|
|
31
33
|
self.is_enabled = attributes[:'isEnabled']
|
|
32
34
|
end
|
|
33
35
|
|
|
@@ -13,6 +13,7 @@ module OCI
|
|
|
13
13
|
|
|
14
14
|
# Initializes the object
|
|
15
15
|
# @param [Hash] attributes Model attributes in the form of hash
|
|
16
|
+
# @option attributes [String] :displayName The value to assign to the {#display_name} property
|
|
16
17
|
def initialize(attributes = {})
|
|
17
18
|
return unless attributes.is_a?(Hash)
|
|
18
19
|
|
|
@@ -13,6 +13,7 @@ module OCI
|
|
|
13
13
|
|
|
14
14
|
# Initializes the object
|
|
15
15
|
# @param [Hash] attributes Model attributes in the form of hash
|
|
16
|
+
# @option attributes [String] :displayName The value to assign to the {#display_name} property
|
|
16
17
|
def initialize(attributes = {})
|
|
17
18
|
return unless attributes.is_a?(Hash)
|
|
18
19
|
|
|
@@ -51,6 +51,11 @@ module OCI
|
|
|
51
51
|
|
|
52
52
|
# Initializes the object
|
|
53
53
|
# @param [Hash] attributes Model attributes in the form of hash
|
|
54
|
+
# @option attributes [Hash<String, Hash<String, Object>>] :definedTags The value to assign to the {#defined_tags} property
|
|
55
|
+
# @option attributes [String] :displayName The value to assign to the {#display_name} property
|
|
56
|
+
# @option attributes [Hash<String, String>] :freeformTags The value to assign to the {#freeform_tags} property
|
|
57
|
+
# @option attributes [String] :hostnameLabel The value to assign to the {#hostname_label} property
|
|
58
|
+
# @option attributes [String] :vnicId The value to assign to the {#vnic_id} property
|
|
54
59
|
def initialize(attributes = {})
|
|
55
60
|
return unless attributes.is_a?(Hash)
|
|
56
61
|
|
|
@@ -34,6 +34,10 @@ module OCI
|
|
|
34
34
|
|
|
35
35
|
# Initializes the object
|
|
36
36
|
# @param [Hash] attributes Model attributes in the form of hash
|
|
37
|
+
# @option attributes [Hash<String, Hash<String, Object>>] :definedTags The value to assign to the {#defined_tags} property
|
|
38
|
+
# @option attributes [String] :displayName The value to assign to the {#display_name} property
|
|
39
|
+
# @option attributes [Hash<String, String>] :freeformTags The value to assign to the {#freeform_tags} property
|
|
40
|
+
# @option attributes [Array<OCI::Core::Models::RouteRule>] :routeRules The value to assign to the {#route_rules} property
|
|
37
41
|
def initialize(attributes = {})
|
|
38
42
|
return unless attributes.is_a?(Hash)
|
|
39
43
|
|
|
@@ -38,6 +38,11 @@ module OCI
|
|
|
38
38
|
|
|
39
39
|
# Initializes the object
|
|
40
40
|
# @param [Hash] attributes Model attributes in the form of hash
|
|
41
|
+
# @option attributes [Hash<String, Hash<String, Object>>] :definedTags The value to assign to the {#defined_tags} property
|
|
42
|
+
# @option attributes [String] :displayName The value to assign to the {#display_name} property
|
|
43
|
+
# @option attributes [Array<OCI::Core::Models::EgressSecurityRule>] :egressSecurityRules The value to assign to the {#egress_security_rules} property
|
|
44
|
+
# @option attributes [Hash<String, String>] :freeformTags The value to assign to the {#freeform_tags} property
|
|
45
|
+
# @option attributes [Array<OCI::Core::Models::IngressSecurityRule>] :ingressSecurityRules The value to assign to the {#ingress_security_rules} property
|
|
41
46
|
def initialize(attributes = {})
|
|
42
47
|
return unless attributes.is_a?(Hash)
|
|
43
48
|
|
|
@@ -30,6 +30,9 @@ module OCI
|
|
|
30
30
|
|
|
31
31
|
# Initializes the object
|
|
32
32
|
# @param [Hash] attributes Model attributes in the form of hash
|
|
33
|
+
# @option attributes [Hash<String, Hash<String, Object>>] :definedTags The value to assign to the {#defined_tags} property
|
|
34
|
+
# @option attributes [String] :displayName The value to assign to the {#display_name} property
|
|
35
|
+
# @option attributes [Hash<String, String>] :freeformTags The value to assign to the {#freeform_tags} property
|
|
33
36
|
def initialize(attributes = {})
|
|
34
37
|
return unless attributes.is_a?(Hash)
|
|
35
38
|
|
|
@@ -30,6 +30,9 @@ module OCI
|
|
|
30
30
|
|
|
31
31
|
# Initializes the object
|
|
32
32
|
# @param [Hash] attributes Model attributes in the form of hash
|
|
33
|
+
# @option attributes [Hash<String, Hash<String, Object>>] :definedTags The value to assign to the {#defined_tags} property
|
|
34
|
+
# @option attributes [String] :displayName The value to assign to the {#display_name} property
|
|
35
|
+
# @option attributes [Hash<String, String>] :freeformTags The value to assign to the {#freeform_tags} property
|
|
33
36
|
def initialize(attributes = {})
|
|
34
37
|
return unless attributes.is_a?(Hash)
|
|
35
38
|
|
|
@@ -78,6 +78,13 @@ module OCI
|
|
|
78
78
|
|
|
79
79
|
# Initializes the object
|
|
80
80
|
# @param [Hash] attributes Model attributes in the form of hash
|
|
81
|
+
# @option attributes [String] :bandwidthShapeName The value to assign to the {#bandwidth_shape_name} property
|
|
82
|
+
# @option attributes [Array<OCI::Core::Models::CrossConnectMapping>] :crossConnectMappings The value to assign to the {#cross_connect_mappings} property
|
|
83
|
+
# @option attributes [Integer] :customerBgpAsn The value to assign to the {#customer_bgp_asn} property
|
|
84
|
+
# @option attributes [String] :displayName The value to assign to the {#display_name} property
|
|
85
|
+
# @option attributes [String] :gatewayId The value to assign to the {#gateway_id} property
|
|
86
|
+
# @option attributes [String] :providerState The value to assign to the {#provider_state} property
|
|
87
|
+
# @option attributes [String] :referenceComment The value to assign to the {#reference_comment} property
|
|
81
88
|
def initialize(attributes = {})
|
|
82
89
|
return unless attributes.is_a?(Hash)
|
|
83
90
|
|
|
@@ -38,6 +38,9 @@ module OCI
|
|
|
38
38
|
|
|
39
39
|
# Initializes the object
|
|
40
40
|
# @param [Hash] attributes Model attributes in the form of hash
|
|
41
|
+
# @option attributes [String] :displayName The value to assign to the {#display_name} property
|
|
42
|
+
# @option attributes [String] :hostnameLabel The value to assign to the {#hostname_label} property
|
|
43
|
+
# @option attributes [BOOLEAN] :skipSourceDestCheck The value to assign to the {#skip_source_dest_check} property
|
|
41
44
|
def initialize(attributes = {})
|
|
42
45
|
return unless attributes.is_a?(Hash)
|
|
43
46
|
|
|
@@ -52,7 +55,7 @@ module OCI
|
|
|
52
55
|
self.hostname_label = attributes[:'hostnameLabel']
|
|
53
56
|
end
|
|
54
57
|
|
|
55
|
-
|
|
58
|
+
unless attributes[:'skipSourceDestCheck'].nil?
|
|
56
59
|
self.skip_source_dest_check = attributes[:'skipSourceDestCheck']
|
|
57
60
|
end
|
|
58
61
|
|
|
@@ -30,6 +30,9 @@ module OCI
|
|
|
30
30
|
|
|
31
31
|
# Initializes the object
|
|
32
32
|
# @param [Hash] attributes Model attributes in the form of hash
|
|
33
|
+
# @option attributes [Hash<String, Hash<String, Object>>] :definedTags The value to assign to the {#defined_tags} property
|
|
34
|
+
# @option attributes [String] :displayName The value to assign to the {#display_name} property
|
|
35
|
+
# @option attributes [Hash<String, String>] :freeformTags The value to assign to the {#freeform_tags} property
|
|
33
36
|
def initialize(attributes = {})
|
|
34
37
|
return unless attributes.is_a?(Hash)
|
|
35
38
|
|
|
@@ -30,6 +30,9 @@ module OCI
|
|
|
30
30
|
|
|
31
31
|
# Initializes the object
|
|
32
32
|
# @param [Hash] attributes Model attributes in the form of hash
|
|
33
|
+
# @option attributes [Hash<String, Hash<String, Object>>] :definedTags The value to assign to the {#defined_tags} property
|
|
34
|
+
# @option attributes [String] :displayName The value to assign to the {#display_name} property
|
|
35
|
+
# @option attributes [Hash<String, String>] :freeformTags The value to assign to the {#freeform_tags} property
|
|
33
36
|
def initialize(attributes = {})
|
|
34
37
|
return unless attributes.is_a?(Hash)
|
|
35
38
|
|
data/lib/oci/core/models/vcn.rb
CHANGED
|
@@ -3,6 +3,13 @@
|
|
|
3
3
|
require 'date'
|
|
4
4
|
|
|
5
5
|
module OCI
|
|
6
|
+
# A Virtual Cloud Network (VCN). For more information, see
|
|
7
|
+
# [Overview of the Networking Service](https://docs.us-phoenix-1.oraclecloud.com/Content/Network/Concepts/overview.htm).
|
|
8
|
+
#
|
|
9
|
+
# To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized,
|
|
10
|
+
# talk to an administrator. If you're an administrator who needs to write policies to give users access, see
|
|
11
|
+
# [Getting Started with Policies](https://docs.us-phoenix-1.oraclecloud.com/Content/Identity/Concepts/policygetstarted.htm).
|
|
12
|
+
#
|
|
6
13
|
class Core::Models::Vcn
|
|
7
14
|
|
|
8
15
|
LIFECYCLE_STATE_ENUM = [LIFECYCLE_STATE_PROVISIONING = 'PROVISIONING',
|
|
@@ -11,14 +18,14 @@ module OCI
|
|
|
11
18
|
LIFECYCLE_STATE_TERMINATED = 'TERMINATED',
|
|
12
19
|
LIFECYCLE_STATE_UNKNOWN_ENUM_VALUE = 'UNKNOWN_ENUM_VALUE']
|
|
13
20
|
|
|
14
|
-
# The CIDR IP address block of the VCN.
|
|
21
|
+
# **[Required]** The CIDR IP address block of the VCN.
|
|
15
22
|
#
|
|
16
23
|
# Example: `172.16.0.0/16`
|
|
17
24
|
#
|
|
18
25
|
# @return [String]
|
|
19
26
|
attr_accessor :cidr_block
|
|
20
27
|
|
|
21
|
-
# The OCID of the compartment containing the VCN.
|
|
28
|
+
# **[Required]** The OCID of the compartment containing the VCN.
|
|
22
29
|
# @return [String]
|
|
23
30
|
attr_accessor :compartment_id
|
|
24
31
|
|
|
@@ -75,11 +82,11 @@ module OCI
|
|
|
75
82
|
# @return [Hash<String, String>]
|
|
76
83
|
attr_accessor :freeform_tags
|
|
77
84
|
|
|
78
|
-
# The VCN's Oracle ID (OCID).
|
|
85
|
+
# **[Required]** The VCN's Oracle ID (OCID).
|
|
79
86
|
# @return [String]
|
|
80
87
|
attr_accessor :id
|
|
81
88
|
|
|
82
|
-
# The VCN's current state.
|
|
89
|
+
# **[Required]** The VCN's current state.
|
|
83
90
|
# @return [String]
|
|
84
91
|
attr_accessor :lifecycle_state
|
|
85
92
|
|
|
@@ -104,6 +111,19 @@ module OCI
|
|
|
104
111
|
|
|
105
112
|
# Initializes the object
|
|
106
113
|
# @param [Hash] attributes Model attributes in the form of hash
|
|
114
|
+
# @option attributes [String] :cidrBlock The value to assign to the {#cidr_block} property
|
|
115
|
+
# @option attributes [String] :compartmentId The value to assign to the {#compartment_id} property
|
|
116
|
+
# @option attributes [String] :defaultDhcpOptionsId The value to assign to the {#default_dhcp_options_id} property
|
|
117
|
+
# @option attributes [String] :defaultRouteTableId The value to assign to the {#default_route_table_id} property
|
|
118
|
+
# @option attributes [String] :defaultSecurityListId The value to assign to the {#default_security_list_id} property
|
|
119
|
+
# @option attributes [Hash<String, Hash<String, Object>>] :definedTags The value to assign to the {#defined_tags} property
|
|
120
|
+
# @option attributes [String] :displayName The value to assign to the {#display_name} property
|
|
121
|
+
# @option attributes [String] :dnsLabel The value to assign to the {#dns_label} property
|
|
122
|
+
# @option attributes [Hash<String, String>] :freeformTags The value to assign to the {#freeform_tags} property
|
|
123
|
+
# @option attributes [String] :id The value to assign to the {#id} property
|
|
124
|
+
# @option attributes [String] :lifecycleState The value to assign to the {#lifecycle_state} property
|
|
125
|
+
# @option attributes [DateTime] :timeCreated The value to assign to the {#time_created} property
|
|
126
|
+
# @option attributes [String] :vcnDomainName The value to assign to the {#vcn_domain_name} property
|
|
107
127
|
def initialize(attributes = {})
|
|
108
128
|
return unless attributes.is_a?(Hash)
|
|
109
129
|
|
|
@@ -3,6 +3,26 @@
|
|
|
3
3
|
require 'date'
|
|
4
4
|
|
|
5
5
|
module OCI
|
|
6
|
+
# For use with Oracle Cloud Infrastructure FastConnect.
|
|
7
|
+
#
|
|
8
|
+
# A virtual circuit is an isolated network path that runs over one or more physical
|
|
9
|
+
# network connections to provide a single, logical connection between the edge router
|
|
10
|
+
# on the customer's existing network and Oracle Cloud Infrastructure. *Private*
|
|
11
|
+
# virtual circuits support private peering, and *public* virtual circuits support
|
|
12
|
+
# public peering. For more information, see [FastConnect Overview](https://docs.us-phoenix-1.oraclecloud.com/Content/Network/Concepts/fastconnect.htm).
|
|
13
|
+
#
|
|
14
|
+
# Each virtual circuit is made up of information shared between a customer, Oracle,
|
|
15
|
+
# and a provider (if the customer is using FastConnect via a provider). Who fills in
|
|
16
|
+
# a given property of a virtual circuit depends on whether the BGP session related to
|
|
17
|
+
# that virtual circuit goes from the customer's edge router to Oracle, or from the provider's
|
|
18
|
+
# edge router to Oracle. Also, in the case where the customer is using a provider, values
|
|
19
|
+
# for some of the properties may not be present immediately, but may get filled in as the
|
|
20
|
+
# provider and Oracle each do their part to provision the virtual circuit.
|
|
21
|
+
#
|
|
22
|
+
# To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized,
|
|
23
|
+
# talk to an administrator. If you're an administrator who needs to write policies to give users access, see
|
|
24
|
+
# [Getting Started with Policies](https://docs.us-phoenix-1.oraclecloud.com/Content/Identity/Concepts/policygetstarted.htm).
|
|
25
|
+
#
|
|
6
26
|
class Core::Models::VirtualCircuit
|
|
7
27
|
|
|
8
28
|
BGP_MANAGEMENT_ENUM = [BGP_MANAGEMENT_CUSTOMER_MANAGED = 'CUSTOMER_MANAGED',
|
|
@@ -166,6 +186,27 @@ module OCI
|
|
|
166
186
|
|
|
167
187
|
# Initializes the object
|
|
168
188
|
# @param [Hash] attributes Model attributes in the form of hash
|
|
189
|
+
# @option attributes [String] :bandwidthShapeName The value to assign to the {#bandwidth_shape_name} property
|
|
190
|
+
# @option attributes [String] :bgpManagement The value to assign to the {#bgp_management} property
|
|
191
|
+
# @option attributes [String] :bgpSessionState The value to assign to the {#bgp_session_state} property
|
|
192
|
+
# @option attributes [String] :compartmentId The value to assign to the {#compartment_id} property
|
|
193
|
+
# @option attributes [Array<OCI::Core::Models::CrossConnectMapping>] :crossConnectMappings The value to assign to the {#cross_connect_mappings} property
|
|
194
|
+
# @option attributes [Integer] :customerBgpAsn The value to assign to the {#customer_bgp_asn} property
|
|
195
|
+
# @option attributes [String] :displayName The value to assign to the {#display_name} property
|
|
196
|
+
# @option attributes [String] :gatewayId The value to assign to the {#gateway_id} property
|
|
197
|
+
# @option attributes [String] :id The value to assign to the {#id} property
|
|
198
|
+
# @option attributes [String] :lifecycleState The value to assign to the {#lifecycle_state} property
|
|
199
|
+
# @option attributes [Integer] :oracleBgpAsn The value to assign to the {#oracle_bgp_asn} property
|
|
200
|
+
# @option attributes [String] :providerName The value to assign to the {#provider_name} property
|
|
201
|
+
# @option attributes [String] :providerServiceId The value to assign to the {#provider_service_id} property
|
|
202
|
+
# @option attributes [String] :providerServiceName The value to assign to the {#provider_service_name} property
|
|
203
|
+
# @option attributes [String] :providerState The value to assign to the {#provider_state} property
|
|
204
|
+
# @option attributes [Array<String>] :publicPrefixes The value to assign to the {#public_prefixes} property
|
|
205
|
+
# @option attributes [String] :referenceComment The value to assign to the {#reference_comment} property
|
|
206
|
+
# @option attributes [String] :region The value to assign to the {#region} property
|
|
207
|
+
# @option attributes [String] :serviceType The value to assign to the {#service_type} property
|
|
208
|
+
# @option attributes [DateTime] :timeCreated The value to assign to the {#time_created} property
|
|
209
|
+
# @option attributes [String] :type The value to assign to the {#type} property
|
|
169
210
|
def initialize(attributes = {})
|
|
170
211
|
return unless attributes.is_a?(Hash)
|
|
171
212
|
|
|
@@ -3,6 +3,8 @@
|
|
|
3
3
|
require 'date'
|
|
4
4
|
|
|
5
5
|
module OCI
|
|
6
|
+
# An individual bandwidth level for virtual circuits.
|
|
7
|
+
#
|
|
6
8
|
class Core::Models::VirtualCircuitBandwidthShape
|
|
7
9
|
# The bandwidth in Mbps.
|
|
8
10
|
#
|
|
@@ -11,7 +13,7 @@ module OCI
|
|
|
11
13
|
# @return [Integer]
|
|
12
14
|
attr_accessor :bandwidth_in_mbps
|
|
13
15
|
|
|
14
|
-
# The name of the bandwidth shape.
|
|
16
|
+
# **[Required]** The name of the bandwidth shape.
|
|
15
17
|
#
|
|
16
18
|
# Example: `10 Gbps`
|
|
17
19
|
#
|
|
@@ -21,6 +23,8 @@ module OCI
|
|
|
21
23
|
|
|
22
24
|
# Initializes the object
|
|
23
25
|
# @param [Hash] attributes Model attributes in the form of hash
|
|
26
|
+
# @option attributes [Integer] :bandwidthInMbps The value to assign to the {#bandwidth_in_mbps} property
|
|
27
|
+
# @option attributes [String] :name The value to assign to the {#name} property
|
|
24
28
|
def initialize(attributes = {})
|
|
25
29
|
return unless attributes.is_a?(Hash)
|
|
26
30
|
|
|
@@ -3,6 +3,10 @@
|
|
|
3
3
|
require 'date'
|
|
4
4
|
|
|
5
5
|
module OCI
|
|
6
|
+
# A public IP prefix and its details. With a public virtual circuit, the customer
|
|
7
|
+
# specifies the customer-owned public IP prefixes to advertise across the connection.
|
|
8
|
+
# For more information, see [FastConnect Overview](https://docs.us-phoenix-1.oraclecloud.com/Content/Network/Concepts/fastconnect.htm).
|
|
9
|
+
#
|
|
6
10
|
class Core::Models::VirtualCircuitPublicPrefix
|
|
7
11
|
|
|
8
12
|
VERIFICATION_STATE_ENUM = [VERIFICATION_STATE_IN_PROGRESS = 'IN_PROGRESS',
|
|
@@ -10,11 +14,11 @@ module OCI
|
|
|
10
14
|
VERIFICATION_STATE_FAILED = 'FAILED',
|
|
11
15
|
VERIFICATION_STATE_UNKNOWN_ENUM_VALUE = 'UNKNOWN_ENUM_VALUE']
|
|
12
16
|
|
|
13
|
-
# Publix IP prefix (CIDR) that the customer specified.
|
|
17
|
+
# **[Required]** Publix IP prefix (CIDR) that the customer specified.
|
|
14
18
|
# @return [String]
|
|
15
19
|
attr_accessor :cidr_block
|
|
16
20
|
|
|
17
|
-
# Oracle must verify that the customer owns the public IP prefix before traffic
|
|
21
|
+
# **[Required]** Oracle must verify that the customer owns the public IP prefix before traffic
|
|
18
22
|
# for that prefix can flow across the virtual circuit. Verification can take a
|
|
19
23
|
# few business days. `IN_PROGRESS` means Oracle is verifying the prefix. `COMPLETED`
|
|
20
24
|
# means verification succeeded. `FAILED` means verification failed and traffic for
|
|
@@ -26,6 +30,8 @@ module OCI
|
|
|
26
30
|
|
|
27
31
|
# Initializes the object
|
|
28
32
|
# @param [Hash] attributes Model attributes in the form of hash
|
|
33
|
+
# @option attributes [String] :cidrBlock The value to assign to the {#cidr_block} property
|
|
34
|
+
# @option attributes [String] :verificationState The value to assign to the {#verification_state} property
|
|
29
35
|
def initialize(attributes = {})
|
|
30
36
|
return unless attributes.is_a?(Hash)
|
|
31
37
|
|
data/lib/oci/core/models/vnic.rb
CHANGED
|
@@ -3,6 +3,22 @@
|
|
|
3
3
|
require 'date'
|
|
4
4
|
|
|
5
5
|
module OCI
|
|
6
|
+
# A virtual network interface card. Each VNIC resides in a subnet in a VCN.
|
|
7
|
+
# An instance attaches to a VNIC to obtain a network connection into the VCN
|
|
8
|
+
# through that subnet. Each instance has a *primary VNIC* that is automatically
|
|
9
|
+
# created and attached during launch. You can add *secondary VNICs* to an
|
|
10
|
+
# instance after it's launched. For more information, see
|
|
11
|
+
# [Virtual Network Interface Cards (VNICs)](https://docs.us-phoenix-1.oraclecloud.com/Content/Network/Tasks/managingVNICs.htm).
|
|
12
|
+
#
|
|
13
|
+
# Each VNIC has a *primary private IP* that is automatically assigned during launch.
|
|
14
|
+
# You can add *secondary private IPs* to a VNIC after it's created. For more
|
|
15
|
+
# information, see {#create_private_ip create_private_ip} and
|
|
16
|
+
# [IP Addresses](https://docs.us-phoenix-1.oraclecloud.com/Content/Network/Tasks/managingIPaddresses.htm).
|
|
17
|
+
#
|
|
18
|
+
# To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized,
|
|
19
|
+
# talk to an administrator. If you're an administrator who needs to write policies to give users access, see
|
|
20
|
+
# [Getting Started with Policies](https://docs.us-phoenix-1.oraclecloud.com/Content/Identity/Concepts/policygetstarted.htm).
|
|
21
|
+
#
|
|
6
22
|
class Core::Models::Vnic
|
|
7
23
|
|
|
8
24
|
LIFECYCLE_STATE_ENUM = [LIFECYCLE_STATE_PROVISIONING = 'PROVISIONING',
|
|
@@ -11,14 +27,14 @@ module OCI
|
|
|
11
27
|
LIFECYCLE_STATE_TERMINATED = 'TERMINATED',
|
|
12
28
|
LIFECYCLE_STATE_UNKNOWN_ENUM_VALUE = 'UNKNOWN_ENUM_VALUE']
|
|
13
29
|
|
|
14
|
-
# The VNIC's Availability Domain.
|
|
30
|
+
# **[Required]** The VNIC's Availability Domain.
|
|
15
31
|
#
|
|
16
32
|
# Example: `Uocm:PHX-AD-1`
|
|
17
33
|
#
|
|
18
34
|
# @return [String]
|
|
19
35
|
attr_accessor :availability_domain
|
|
20
36
|
|
|
21
|
-
# The OCID of the compartment containing the VNIC.
|
|
37
|
+
# **[Required]** The OCID of the compartment containing the VNIC.
|
|
22
38
|
# @return [String]
|
|
23
39
|
attr_accessor :compartment_id
|
|
24
40
|
|
|
@@ -43,7 +59,7 @@ module OCI
|
|
|
43
59
|
# @return [String]
|
|
44
60
|
attr_accessor :hostname_label
|
|
45
61
|
|
|
46
|
-
# The OCID of the VNIC.
|
|
62
|
+
# **[Required]** The OCID of the VNIC.
|
|
47
63
|
# @return [String]
|
|
48
64
|
attr_accessor :id
|
|
49
65
|
|
|
@@ -53,7 +69,7 @@ module OCI
|
|
|
53
69
|
# @return [BOOLEAN]
|
|
54
70
|
attr_accessor :is_primary
|
|
55
71
|
|
|
56
|
-
# The current state of the VNIC.
|
|
72
|
+
# **[Required]** The current state of the VNIC.
|
|
57
73
|
# @return [String]
|
|
58
74
|
attr_accessor :lifecycle_state
|
|
59
75
|
|
|
@@ -64,7 +80,7 @@ module OCI
|
|
|
64
80
|
# @return [String]
|
|
65
81
|
attr_accessor :mac_address
|
|
66
82
|
|
|
67
|
-
# The private IP address of the primary `privateIp` object on the VNIC.
|
|
83
|
+
# **[Required]** The private IP address of the primary `privateIp` object on the VNIC.
|
|
68
84
|
# The address is within the CIDR of the VNIC's subnet.
|
|
69
85
|
#
|
|
70
86
|
# Example: `10.0.3.3`
|
|
@@ -87,11 +103,11 @@ module OCI
|
|
|
87
103
|
# @return [BOOLEAN]
|
|
88
104
|
attr_accessor :skip_source_dest_check
|
|
89
105
|
|
|
90
|
-
# The OCID of the subnet the VNIC is in.
|
|
106
|
+
# **[Required]** The OCID of the subnet the VNIC is in.
|
|
91
107
|
# @return [String]
|
|
92
108
|
attr_accessor :subnet_id
|
|
93
109
|
|
|
94
|
-
# The date and time the VNIC was created, in the format defined by RFC3339.
|
|
110
|
+
# **[Required]** The date and time the VNIC was created, in the format defined by RFC3339.
|
|
95
111
|
#
|
|
96
112
|
# Example: `2016-08-25T21:10:29.600Z`
|
|
97
113
|
#
|
|
@@ -101,6 +117,19 @@ module OCI
|
|
|
101
117
|
|
|
102
118
|
# Initializes the object
|
|
103
119
|
# @param [Hash] attributes Model attributes in the form of hash
|
|
120
|
+
# @option attributes [String] :availabilityDomain The value to assign to the {#availability_domain} property
|
|
121
|
+
# @option attributes [String] :compartmentId The value to assign to the {#compartment_id} property
|
|
122
|
+
# @option attributes [String] :displayName The value to assign to the {#display_name} property
|
|
123
|
+
# @option attributes [String] :hostnameLabel The value to assign to the {#hostname_label} property
|
|
124
|
+
# @option attributes [String] :id The value to assign to the {#id} property
|
|
125
|
+
# @option attributes [BOOLEAN] :isPrimary The value to assign to the {#is_primary} property
|
|
126
|
+
# @option attributes [String] :lifecycleState The value to assign to the {#lifecycle_state} property
|
|
127
|
+
# @option attributes [String] :macAddress The value to assign to the {#mac_address} property
|
|
128
|
+
# @option attributes [String] :privateIp The value to assign to the {#private_ip} property
|
|
129
|
+
# @option attributes [String] :publicIp The value to assign to the {#public_ip} property
|
|
130
|
+
# @option attributes [BOOLEAN] :skipSourceDestCheck The value to assign to the {#skip_source_dest_check} property
|
|
131
|
+
# @option attributes [String] :subnetId The value to assign to the {#subnet_id} property
|
|
132
|
+
# @option attributes [DateTime] :timeCreated The value to assign to the {#time_created} property
|
|
104
133
|
def initialize(attributes = {})
|
|
105
134
|
return unless attributes.is_a?(Hash)
|
|
106
135
|
|
|
@@ -127,7 +156,7 @@ module OCI
|
|
|
127
156
|
self.id = attributes[:'id']
|
|
128
157
|
end
|
|
129
158
|
|
|
130
|
-
|
|
159
|
+
unless attributes[:'isPrimary'].nil?
|
|
131
160
|
self.is_primary = attributes[:'isPrimary']
|
|
132
161
|
end
|
|
133
162
|
|
|
@@ -147,7 +176,7 @@ module OCI
|
|
|
147
176
|
self.public_ip = attributes[:'publicIp']
|
|
148
177
|
end
|
|
149
178
|
|
|
150
|
-
|
|
179
|
+
unless attributes[:'skipSourceDestCheck'].nil?
|
|
151
180
|
self.skip_source_dest_check = attributes[:'skipSourceDestCheck']
|
|
152
181
|
end
|
|
153
182
|
|