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
|
@@ -3,6 +3,22 @@
|
|
|
3
3
|
require 'date'
|
|
4
4
|
|
|
5
5
|
module OCI
|
|
6
|
+
# A set of DHCP options. Used by the VCN to automatically provide configuration
|
|
7
|
+
# information to the instances when they boot up. There are two options you can set:
|
|
8
|
+
#
|
|
9
|
+
# - {DhcpDnsOption}: Lets you specify how DNS (hostname resolution) is
|
|
10
|
+
# handled in the subnets in your VCN.
|
|
11
|
+
#
|
|
12
|
+
# - {DhcpSearchDomainOption}: Lets you specify
|
|
13
|
+
# a search domain name to use for DNS queries.
|
|
14
|
+
#
|
|
15
|
+
# For more information, see [DNS in Your Virtual Cloud Network](https://docs.us-phoenix-1.oraclecloud.com/Content/Network/Concepts/dns.htm)
|
|
16
|
+
# and [DHCP Options](https://docs.us-phoenix-1.oraclecloud.com/Content/Network/Tasks/managingDHCP.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::DhcpOptions
|
|
7
23
|
|
|
8
24
|
LIFECYCLE_STATE_ENUM = [LIFECYCLE_STATE_PROVISIONING = 'PROVISIONING',
|
|
@@ -11,7 +27,7 @@ module OCI
|
|
|
11
27
|
LIFECYCLE_STATE_TERMINATED = 'TERMINATED',
|
|
12
28
|
LIFECYCLE_STATE_UNKNOWN_ENUM_VALUE = 'UNKNOWN_ENUM_VALUE']
|
|
13
29
|
|
|
14
|
-
# The OCID of the compartment containing the set of DHCP options.
|
|
30
|
+
# **[Required]** The OCID of the compartment containing the set of DHCP options.
|
|
15
31
|
# @return [String]
|
|
16
32
|
attr_accessor :compartment_id
|
|
17
33
|
|
|
@@ -38,32 +54,41 @@ module OCI
|
|
|
38
54
|
# @return [Hash<String, String>]
|
|
39
55
|
attr_accessor :freeform_tags
|
|
40
56
|
|
|
41
|
-
# Oracle ID (OCID) for the set of DHCP options.
|
|
57
|
+
# **[Required]** Oracle ID (OCID) for the set of DHCP options.
|
|
42
58
|
# @return [String]
|
|
43
59
|
attr_accessor :id
|
|
44
60
|
|
|
45
|
-
# The current state of the set of DHCP options.
|
|
61
|
+
# **[Required]** The current state of the set of DHCP options.
|
|
46
62
|
# @return [String]
|
|
47
63
|
attr_accessor :lifecycle_state
|
|
48
64
|
|
|
49
|
-
# The collection of individual DHCP options.
|
|
65
|
+
# **[Required]** The collection of individual DHCP options.
|
|
50
66
|
# @return [Array<OCI::Core::Models::DhcpOption>]
|
|
51
67
|
attr_accessor :options
|
|
52
68
|
|
|
53
|
-
# Date and time the set of DHCP options was created, in the format defined by RFC3339.
|
|
69
|
+
# **[Required]** Date and time the set of DHCP options was created, in the format defined by RFC3339.
|
|
54
70
|
#
|
|
55
71
|
# Example: `2016-08-25T21:10:29.600Z`
|
|
56
72
|
#
|
|
57
73
|
# @return [DateTime]
|
|
58
74
|
attr_accessor :time_created
|
|
59
75
|
|
|
60
|
-
# The OCID of the VCN the set of DHCP options belongs to.
|
|
76
|
+
# **[Required]** The OCID of the VCN the set of DHCP options belongs to.
|
|
61
77
|
# @return [String]
|
|
62
78
|
attr_accessor :vcn_id
|
|
63
79
|
|
|
64
80
|
|
|
65
81
|
# Initializes the object
|
|
66
82
|
# @param [Hash] attributes Model attributes in the form of hash
|
|
83
|
+
# @option attributes [String] :compartmentId The value to assign to the {#compartment_id} property
|
|
84
|
+
# @option attributes [Hash<String, Hash<String, Object>>] :definedTags The value to assign to the {#defined_tags} property
|
|
85
|
+
# @option attributes [String] :displayName The value to assign to the {#display_name} property
|
|
86
|
+
# @option attributes [Hash<String, String>] :freeformTags The value to assign to the {#freeform_tags} property
|
|
87
|
+
# @option attributes [String] :id The value to assign to the {#id} property
|
|
88
|
+
# @option attributes [String] :lifecycleState The value to assign to the {#lifecycle_state} property
|
|
89
|
+
# @option attributes [Array<OCI::Core::Models::DhcpOption>] :options The value to assign to the {#options} property
|
|
90
|
+
# @option attributes [DateTime] :timeCreated The value to assign to the {#time_created} property
|
|
91
|
+
# @option attributes [String] :vcnId The value to assign to the {#vcn_id} property
|
|
67
92
|
def initialize(attributes = {})
|
|
68
93
|
return unless attributes.is_a?(Hash)
|
|
69
94
|
|
|
@@ -4,8 +4,11 @@ require 'date'
|
|
|
4
4
|
require_relative 'dhcp_option'
|
|
5
5
|
|
|
6
6
|
module OCI
|
|
7
|
+
# DHCP option for specifying a search domain name for DNS queries. For more information, see
|
|
8
|
+
# [DNS in Your Virtual Cloud Network](https://docs.us-phoenix-1.oraclecloud.com/Content/Network/Concepts/dns.htm).
|
|
9
|
+
#
|
|
7
10
|
class Core::Models::DhcpSearchDomainOption < Core::Models::DhcpOption
|
|
8
|
-
# A single search domain name according to [RFC 952](https://tools.ietf.org/html/rfc952)
|
|
11
|
+
# **[Required]** A single search domain name according to [RFC 952](https://tools.ietf.org/html/rfc952)
|
|
9
12
|
# and [RFC 1123](https://tools.ietf.org/html/rfc1123). During a DNS query,
|
|
10
13
|
# the OS will append this search domain name to the value being queried.
|
|
11
14
|
#
|
|
@@ -25,6 +28,7 @@ module OCI
|
|
|
25
28
|
|
|
26
29
|
# Initializes the object
|
|
27
30
|
# @param [Hash] attributes Model attributes in the form of hash
|
|
31
|
+
# @option attributes [Array<String>] :searchDomainNames The value to assign to the {#search_domain_names} property
|
|
28
32
|
def initialize(attributes = {})
|
|
29
33
|
return unless attributes.is_a?(Hash)
|
|
30
34
|
|
data/lib/oci/core/models/drg.rb
CHANGED
|
@@ -3,6 +3,16 @@
|
|
|
3
3
|
require 'date'
|
|
4
4
|
|
|
5
5
|
module OCI
|
|
6
|
+
# A Dynamic Routing Gateway (DRG), which is a virtual router that provides a path for private
|
|
7
|
+
# network traffic between your VCN and your existing network. You use it with other Networking
|
|
8
|
+
# Service components to create an IPSec VPN or a connection that uses
|
|
9
|
+
# Oracle Cloud Infrastructure FastConnect. For more information, see
|
|
10
|
+
# [Overview of the Networking Service](https://docs.us-phoenix-1.oraclecloud.com/Content/Network/Concepts/overview.htm).
|
|
11
|
+
#
|
|
12
|
+
# To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized,
|
|
13
|
+
# talk to an administrator. If you're an administrator who needs to write policies to give users access, see
|
|
14
|
+
# [Getting Started with Policies](https://docs.us-phoenix-1.oraclecloud.com/Content/Identity/Concepts/policygetstarted.htm).
|
|
15
|
+
#
|
|
6
16
|
class Core::Models::Drg
|
|
7
17
|
|
|
8
18
|
LIFECYCLE_STATE_ENUM = [LIFECYCLE_STATE_PROVISIONING = 'PROVISIONING',
|
|
@@ -11,7 +21,7 @@ module OCI
|
|
|
11
21
|
LIFECYCLE_STATE_TERMINATED = 'TERMINATED',
|
|
12
22
|
LIFECYCLE_STATE_UNKNOWN_ENUM_VALUE = 'UNKNOWN_ENUM_VALUE']
|
|
13
23
|
|
|
14
|
-
# The OCID of the compartment containing the DRG.
|
|
24
|
+
# **[Required]** The OCID of the compartment containing the DRG.
|
|
15
25
|
# @return [String]
|
|
16
26
|
attr_accessor :compartment_id
|
|
17
27
|
|
|
@@ -21,11 +31,11 @@ module OCI
|
|
|
21
31
|
# @return [String]
|
|
22
32
|
attr_accessor :display_name
|
|
23
33
|
|
|
24
|
-
# The DRG's Oracle ID (OCID).
|
|
34
|
+
# **[Required]** The DRG's Oracle ID (OCID).
|
|
25
35
|
# @return [String]
|
|
26
36
|
attr_accessor :id
|
|
27
37
|
|
|
28
|
-
# The DRG's current state.
|
|
38
|
+
# **[Required]** The DRG's current state.
|
|
29
39
|
# @return [String]
|
|
30
40
|
attr_accessor :lifecycle_state
|
|
31
41
|
|
|
@@ -39,6 +49,11 @@ module OCI
|
|
|
39
49
|
|
|
40
50
|
# Initializes the object
|
|
41
51
|
# @param [Hash] attributes Model attributes in the form of hash
|
|
52
|
+
# @option attributes [String] :compartmentId The value to assign to the {#compartment_id} property
|
|
53
|
+
# @option attributes [String] :displayName The value to assign to the {#display_name} property
|
|
54
|
+
# @option attributes [String] :id The value to assign to the {#id} property
|
|
55
|
+
# @option attributes [String] :lifecycleState The value to assign to the {#lifecycle_state} property
|
|
56
|
+
# @option attributes [DateTime] :timeCreated The value to assign to the {#time_created} property
|
|
42
57
|
def initialize(attributes = {})
|
|
43
58
|
return unless attributes.is_a?(Hash)
|
|
44
59
|
|
|
@@ -3,6 +3,9 @@
|
|
|
3
3
|
require 'date'
|
|
4
4
|
|
|
5
5
|
module OCI
|
|
6
|
+
# A link between a DRG and VCN. For more information, see
|
|
7
|
+
# [Overview of the Networking Service](https://docs.us-phoenix-1.oraclecloud.com/Content/Network/Concepts/overview.htm).
|
|
8
|
+
#
|
|
6
9
|
class Core::Models::DrgAttachment
|
|
7
10
|
|
|
8
11
|
LIFECYCLE_STATE_ENUM = [LIFECYCLE_STATE_ATTACHING = 'ATTACHING',
|
|
@@ -11,7 +14,7 @@ module OCI
|
|
|
11
14
|
LIFECYCLE_STATE_DETACHED = 'DETACHED',
|
|
12
15
|
LIFECYCLE_STATE_UNKNOWN_ENUM_VALUE = 'UNKNOWN_ENUM_VALUE']
|
|
13
16
|
|
|
14
|
-
# The OCID of the compartment containing the DRG attachment.
|
|
17
|
+
# **[Required]** The OCID of the compartment containing the DRG attachment.
|
|
15
18
|
# @return [String]
|
|
16
19
|
attr_accessor :compartment_id
|
|
17
20
|
|
|
@@ -21,15 +24,15 @@ module OCI
|
|
|
21
24
|
# @return [String]
|
|
22
25
|
attr_accessor :display_name
|
|
23
26
|
|
|
24
|
-
# The OCID of the DRG.
|
|
27
|
+
# **[Required]** The OCID of the DRG.
|
|
25
28
|
# @return [String]
|
|
26
29
|
attr_accessor :drg_id
|
|
27
30
|
|
|
28
|
-
# The DRG attachment's Oracle ID (OCID).
|
|
31
|
+
# **[Required]** The DRG attachment's Oracle ID (OCID).
|
|
29
32
|
# @return [String]
|
|
30
33
|
attr_accessor :id
|
|
31
34
|
|
|
32
|
-
# The DRG attachment's current state.
|
|
35
|
+
# **[Required]** The DRG attachment's current state.
|
|
33
36
|
# @return [String]
|
|
34
37
|
attr_accessor :lifecycle_state
|
|
35
38
|
|
|
@@ -40,13 +43,20 @@ module OCI
|
|
|
40
43
|
# @return [DateTime]
|
|
41
44
|
attr_accessor :time_created
|
|
42
45
|
|
|
43
|
-
# The OCID of the VCN.
|
|
46
|
+
# **[Required]** The OCID of the VCN.
|
|
44
47
|
# @return [String]
|
|
45
48
|
attr_accessor :vcn_id
|
|
46
49
|
|
|
47
50
|
|
|
48
51
|
# Initializes the object
|
|
49
52
|
# @param [Hash] attributes Model attributes in the form of hash
|
|
53
|
+
# @option attributes [String] :compartmentId The value to assign to the {#compartment_id} property
|
|
54
|
+
# @option attributes [String] :displayName The value to assign to the {#display_name} property
|
|
55
|
+
# @option attributes [String] :drgId The value to assign to the {#drg_id} property
|
|
56
|
+
# @option attributes [String] :id The value to assign to the {#id} property
|
|
57
|
+
# @option attributes [String] :lifecycleState The value to assign to the {#lifecycle_state} property
|
|
58
|
+
# @option attributes [DateTime] :timeCreated The value to assign to the {#time_created} property
|
|
59
|
+
# @option attributes [String] :vcnId The value to assign to the {#vcn_id} property
|
|
50
60
|
def initialize(attributes = {})
|
|
51
61
|
return unless attributes.is_a?(Hash)
|
|
52
62
|
|
|
@@ -3,8 +3,9 @@
|
|
|
3
3
|
require 'date'
|
|
4
4
|
|
|
5
5
|
module OCI
|
|
6
|
+
# A rule for allowing outbound IP packets.
|
|
6
7
|
class Core::Models::EgressSecurityRule
|
|
7
|
-
# The destination CIDR block for the egress rule. This is the range of IP addresses that a
|
|
8
|
+
# **[Required]** The destination CIDR block for the egress rule. This is the range of IP addresses that a
|
|
8
9
|
# packet originating from the instance can go to.
|
|
9
10
|
#
|
|
10
11
|
# @return [String]
|
|
@@ -31,7 +32,7 @@ module OCI
|
|
|
31
32
|
# @return [BOOLEAN]
|
|
32
33
|
attr_accessor :is_stateless
|
|
33
34
|
|
|
34
|
-
# The transport protocol. Specify either `all` or an IPv4 protocol number as
|
|
35
|
+
# **[Required]** The transport protocol. Specify either `all` or an IPv4 protocol number as
|
|
35
36
|
# defined in
|
|
36
37
|
# [Protocol Numbers](http://www.iana.org/assignments/protocol-numbers/protocol-numbers.xhtml).
|
|
37
38
|
# Options are supported only for ICMP (\"1\"), TCP (\"6\"), and UDP (\"17\").
|
|
@@ -54,6 +55,12 @@ module OCI
|
|
|
54
55
|
|
|
55
56
|
# Initializes the object
|
|
56
57
|
# @param [Hash] attributes Model attributes in the form of hash
|
|
58
|
+
# @option attributes [String] :destination The value to assign to the {#destination} property
|
|
59
|
+
# @option attributes [OCI::Core::Models::IcmpOptions] :icmpOptions The value to assign to the {#icmp_options} property
|
|
60
|
+
# @option attributes [BOOLEAN] :isStateless The value to assign to the {#is_stateless} property
|
|
61
|
+
# @option attributes [String] :protocol The value to assign to the {#protocol} property
|
|
62
|
+
# @option attributes [OCI::Core::Models::TcpOptions] :tcpOptions The value to assign to the {#tcp_options} property
|
|
63
|
+
# @option attributes [OCI::Core::Models::UdpOptions] :udpOptions The value to assign to the {#udp_options} property
|
|
57
64
|
def initialize(attributes = {})
|
|
58
65
|
return unless attributes.is_a?(Hash)
|
|
59
66
|
|
|
@@ -68,7 +75,7 @@ module OCI
|
|
|
68
75
|
self.icmp_options = attributes[:'icmpOptions']
|
|
69
76
|
end
|
|
70
77
|
|
|
71
|
-
|
|
78
|
+
unless attributes[:'isStateless'].nil?
|
|
72
79
|
self.is_stateless = attributes[:'isStateless']
|
|
73
80
|
end
|
|
74
81
|
|
|
@@ -3,8 +3,19 @@
|
|
|
3
3
|
require 'date'
|
|
4
4
|
|
|
5
5
|
module OCI
|
|
6
|
+
# The destination details for the image export.
|
|
7
|
+
#
|
|
8
|
+
# Set `destinationType` to `objectStorageTuple`
|
|
9
|
+
# and use {#export_image_via_object_storage_tuple_details export_image_via_object_storage_tuple_details}
|
|
10
|
+
# when specifying the namespace, bucket name, and object name.
|
|
11
|
+
#
|
|
12
|
+
# Set `destinationType` to `objectStorageUri` and
|
|
13
|
+
# use {#export_image_via_object_storage_uri_details export_image_via_object_storage_uri_details}
|
|
14
|
+
# when specifying the Object Storage URL.
|
|
15
|
+
#
|
|
16
|
+
# This class has direct subclasses. If you are using this class as input to a service operations then you should favor using a subclass over the base class
|
|
6
17
|
class Core::Models::ExportImageDetails
|
|
7
|
-
# The destination type. Use `objectStorageTuple` when specifying the namespace, bucket name, and object name.
|
|
18
|
+
# **[Required]** The destination type. Use `objectStorageTuple` when specifying the namespace, bucket name, and object name.
|
|
8
19
|
# Use `objectStorageUri` when specifying the Object Storage URL.
|
|
9
20
|
#
|
|
10
21
|
# @return [String]
|
|
@@ -25,6 +36,7 @@ module OCI
|
|
|
25
36
|
|
|
26
37
|
# Initializes the object
|
|
27
38
|
# @param [Hash] attributes Model attributes in the form of hash
|
|
39
|
+
# @option attributes [String] :destinationType The value to assign to the {#destination_type} property
|
|
28
40
|
def initialize(attributes = {})
|
|
29
41
|
return unless attributes.is_a?(Hash)
|
|
30
42
|
|
|
@@ -20,6 +20,9 @@ module OCI
|
|
|
20
20
|
|
|
21
21
|
# Initializes the object
|
|
22
22
|
# @param [Hash] attributes Model attributes in the form of hash
|
|
23
|
+
# @option attributes [String] :bucketName The value to assign to the {#bucket_name} property
|
|
24
|
+
# @option attributes [String] :namespaceName The value to assign to the {#namespace_name} property
|
|
25
|
+
# @option attributes [String] :objectName The value to assign to the {#object_name} property
|
|
23
26
|
def initialize(attributes = {})
|
|
24
27
|
return unless attributes.is_a?(Hash)
|
|
25
28
|
|
|
@@ -5,7 +5,7 @@ require_relative 'export_image_details'
|
|
|
5
5
|
|
|
6
6
|
module OCI
|
|
7
7
|
class Core::Models::ExportImageViaObjectStorageUriDetails < Core::Models::ExportImageDetails
|
|
8
|
-
# The Object Storage URL to export the image to. See [Object Storage URLs](https://docs.us-phoenix-1.oraclecloud.com/Content/Compute/Tasks/imageimportexport.htm#URLs)
|
|
8
|
+
# **[Required]** The Object Storage URL to export the image to. See [Object Storage URLs](https://docs.us-phoenix-1.oraclecloud.com/Content/Compute/Tasks/imageimportexport.htm#URLs)
|
|
9
9
|
# and [pre-authenticated requests](https://docs.us-phoenix-1.oraclecloud.com/Content/Object/Tasks/managingaccess.htm#pre-auth) for constructing URLs for image import/export.
|
|
10
10
|
#
|
|
11
11
|
# @return [String]
|
|
@@ -14,6 +14,7 @@ module OCI
|
|
|
14
14
|
|
|
15
15
|
# Initializes the object
|
|
16
16
|
# @param [Hash] attributes Model attributes in the form of hash
|
|
17
|
+
# @option attributes [String] :destinationUri The value to assign to the {#destination_uri} property
|
|
17
18
|
def initialize(attributes = {})
|
|
18
19
|
return unless attributes.is_a?(Hash)
|
|
19
20
|
|
|
@@ -3,6 +3,9 @@
|
|
|
3
3
|
require 'date'
|
|
4
4
|
|
|
5
5
|
module OCI
|
|
6
|
+
# A service offering from a supported provider. For more information,
|
|
7
|
+
# see [FastConnect Overview](https://docs.us-phoenix-1.oraclecloud.com/Content/Network/Concepts/fastconnect.htm).
|
|
8
|
+
#
|
|
6
9
|
class Core::Models::FastConnectProviderService
|
|
7
10
|
|
|
8
11
|
PRIVATE_PEERING_BGP_MANAGEMENT_ENUM = [PRIVATE_PEERING_BGP_MANAGEMENT_CUSTOMER_MANAGED = 'CUSTOMER_MANAGED',
|
|
@@ -31,27 +34,27 @@ module OCI
|
|
|
31
34
|
# @return [String]
|
|
32
35
|
attr_accessor :description
|
|
33
36
|
|
|
34
|
-
# The OCID of the service offered by the provider.
|
|
37
|
+
# **[Required]** The OCID of the service offered by the provider.
|
|
35
38
|
#
|
|
36
39
|
# @return [String]
|
|
37
40
|
attr_accessor :id
|
|
38
41
|
|
|
39
|
-
# Private peering BGP management.
|
|
42
|
+
# **[Required]** Private peering BGP management.
|
|
40
43
|
#
|
|
41
44
|
# @return [String]
|
|
42
45
|
attr_accessor :private_peering_bgp_management
|
|
43
46
|
|
|
44
|
-
# The name of the provider.
|
|
47
|
+
# **[Required]** The name of the provider.
|
|
45
48
|
#
|
|
46
49
|
# @return [String]
|
|
47
50
|
attr_accessor :provider_name
|
|
48
51
|
|
|
49
|
-
# The name of the service offered by the provider.
|
|
52
|
+
# **[Required]** The name of the service offered by the provider.
|
|
50
53
|
#
|
|
51
54
|
# @return [String]
|
|
52
55
|
attr_accessor :provider_service_name
|
|
53
56
|
|
|
54
|
-
# Public peering BGP management.
|
|
57
|
+
# **[Required]** Public peering BGP management.
|
|
55
58
|
#
|
|
56
59
|
# @return [String]
|
|
57
60
|
attr_accessor :public_peering_bgp_management
|
|
@@ -61,7 +64,7 @@ module OCI
|
|
|
61
64
|
# @return [Array<String>]
|
|
62
65
|
attr_accessor :supported_virtual_circuit_types
|
|
63
66
|
|
|
64
|
-
# Provider service type.
|
|
67
|
+
# **[Required]** Provider service type.
|
|
65
68
|
#
|
|
66
69
|
# @return [String]
|
|
67
70
|
attr_accessor :type
|
|
@@ -69,6 +72,14 @@ module OCI
|
|
|
69
72
|
|
|
70
73
|
# Initializes the object
|
|
71
74
|
# @param [Hash] attributes Model attributes in the form of hash
|
|
75
|
+
# @option attributes [String] :description The value to assign to the {#description} property
|
|
76
|
+
# @option attributes [String] :id The value to assign to the {#id} property
|
|
77
|
+
# @option attributes [String] :privatePeeringBgpManagement The value to assign to the {#private_peering_bgp_management} property
|
|
78
|
+
# @option attributes [String] :providerName The value to assign to the {#provider_name} property
|
|
79
|
+
# @option attributes [String] :providerServiceName The value to assign to the {#provider_service_name} property
|
|
80
|
+
# @option attributes [String] :publicPeeringBgpManagement The value to assign to the {#public_peering_bgp_management} property
|
|
81
|
+
# @option attributes [Array<String>] :supportedVirtualCircuitTypes The value to assign to the {#supported_virtual_circuit_types} property
|
|
82
|
+
# @option attributes [String] :type The value to assign to the {#type} property
|
|
72
83
|
def initialize(attributes = {})
|
|
73
84
|
return unless attributes.is_a?(Hash)
|
|
74
85
|
|
|
@@ -4,6 +4,7 @@ require 'date'
|
|
|
4
4
|
require_relative 'volume_attachment'
|
|
5
5
|
|
|
6
6
|
module OCI
|
|
7
|
+
# An ISCSI volume attachment.
|
|
7
8
|
class Core::Models::IScsiVolumeAttachment < Core::Models::VolumeAttachment
|
|
8
9
|
# The Challenge-Handshake-Authentication-Protocol (CHAP) secret valid for the associated CHAP user name.
|
|
9
10
|
# (Also called the \"CHAP password\".)
|
|
@@ -20,21 +21,21 @@ module OCI
|
|
|
20
21
|
# @return [String]
|
|
21
22
|
attr_accessor :chap_username
|
|
22
23
|
|
|
23
|
-
# The volume's iSCSI IP address.
|
|
24
|
+
# **[Required]** The volume's iSCSI IP address.
|
|
24
25
|
#
|
|
25
26
|
# Example: `169.254.0.2`
|
|
26
27
|
#
|
|
27
28
|
# @return [String]
|
|
28
29
|
attr_accessor :ipv4
|
|
29
30
|
|
|
30
|
-
# The target volume's iSCSI Qualified Name in the format defined by RFC 3720.
|
|
31
|
+
# **[Required]** The target volume's iSCSI Qualified Name in the format defined by RFC 3720.
|
|
31
32
|
#
|
|
32
33
|
# Example: `iqn.2015-12.us.oracle.com:456b0391-17b8-4122-bbf1-f85fc0bb97d9`
|
|
33
34
|
#
|
|
34
35
|
# @return [String]
|
|
35
36
|
attr_accessor :iqn
|
|
36
37
|
|
|
37
|
-
# The volume's iSCSI port.
|
|
38
|
+
# **[Required]** The volume's iSCSI port.
|
|
38
39
|
#
|
|
39
40
|
# Example: `3260`
|
|
40
41
|
#
|
|
@@ -44,6 +45,19 @@ module OCI
|
|
|
44
45
|
|
|
45
46
|
# Initializes the object
|
|
46
47
|
# @param [Hash] attributes Model attributes in the form of hash
|
|
48
|
+
# @option attributes [String] :availabilityDomain The value to assign to the {OCI::Core::Models::VolumeAttachment#availability_domain #availability_domain} proprety
|
|
49
|
+
# @option attributes [String] :compartmentId The value to assign to the {OCI::Core::Models::VolumeAttachment#compartment_id #compartment_id} proprety
|
|
50
|
+
# @option attributes [String] :displayName The value to assign to the {OCI::Core::Models::VolumeAttachment#display_name #display_name} proprety
|
|
51
|
+
# @option attributes [String] :id The value to assign to the {OCI::Core::Models::VolumeAttachment#id #id} proprety
|
|
52
|
+
# @option attributes [String] :instanceId The value to assign to the {OCI::Core::Models::VolumeAttachment#instance_id #instance_id} proprety
|
|
53
|
+
# @option attributes [String] :lifecycleState The value to assign to the {OCI::Core::Models::VolumeAttachment#lifecycle_state #lifecycle_state} proprety
|
|
54
|
+
# @option attributes [DateTime] :timeCreated The value to assign to the {OCI::Core::Models::VolumeAttachment#time_created #time_created} proprety
|
|
55
|
+
# @option attributes [String] :volumeId The value to assign to the {OCI::Core::Models::VolumeAttachment#volume_id #volume_id} proprety
|
|
56
|
+
# @option attributes [String] :chapSecret The value to assign to the {#chap_secret} property
|
|
57
|
+
# @option attributes [String] :chapUsername The value to assign to the {#chap_username} property
|
|
58
|
+
# @option attributes [String] :ipv4 The value to assign to the {#ipv4} property
|
|
59
|
+
# @option attributes [String] :iqn The value to assign to the {#iqn} property
|
|
60
|
+
# @option attributes [Integer] :port The value to assign to the {#port} property
|
|
47
61
|
def initialize(attributes = {})
|
|
48
62
|
return unless attributes.is_a?(Hash)
|
|
49
63
|
|
|
@@ -3,18 +3,28 @@
|
|
|
3
3
|
require 'date'
|
|
4
4
|
|
|
5
5
|
module OCI
|
|
6
|
+
# Optional object to specify a particular ICMP type and code. If you specify ICMP as the protocol
|
|
7
|
+
# but do not provide this object, then all ICMP types and codes are allowed. If you do provide
|
|
8
|
+
# this object, the type is required and the code is optional.
|
|
9
|
+
# See [ICMP Parameters](http://www.iana.org/assignments/icmp-parameters/icmp-parameters.xhtml)
|
|
10
|
+
# for allowed values. To enable MTU negotiation for ingress internet traffic, make sure to allow
|
|
11
|
+
# type 3 (\"Destination Unreachable\") code 4 (\"Fragmentation Needed and Don't Fragment was Set\").
|
|
12
|
+
# If you need to specify multiple codes for a single type, create a separate security list rule for each.
|
|
13
|
+
#
|
|
6
14
|
class Core::Models::IcmpOptions
|
|
7
15
|
# The ICMP code (optional).
|
|
8
16
|
# @return [Integer]
|
|
9
17
|
attr_accessor :code
|
|
10
18
|
|
|
11
|
-
# The ICMP type.
|
|
19
|
+
# **[Required]** The ICMP type.
|
|
12
20
|
# @return [Integer]
|
|
13
21
|
attr_accessor :type
|
|
14
22
|
|
|
15
23
|
|
|
16
24
|
# Initializes the object
|
|
17
25
|
# @param [Hash] attributes Model attributes in the form of hash
|
|
26
|
+
# @option attributes [Integer] :code The value to assign to the {#code} property
|
|
27
|
+
# @option attributes [Integer] :type The value to assign to the {#type} property
|
|
18
28
|
def initialize(attributes = {})
|
|
19
29
|
return unless attributes.is_a?(Hash)
|
|
20
30
|
|