oci 2.0.5 → 2.0.6
Sign up to get free protection for your applications and to get access to all the features.
- 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,14 @@
|
|
3
3
|
require 'date'
|
4
4
|
|
5
5
|
module OCI
|
6
|
+
# A collection of `RouteRule` objects, which are used to route packets
|
7
|
+
# based on destination IP to a particular network entity. For more information, see
|
8
|
+
# [Overview of the Networking Service](https://docs.us-phoenix-1.oraclecloud.com/Content/Network/Concepts/overview.htm).
|
9
|
+
#
|
10
|
+
# To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized,
|
11
|
+
# talk to an administrator. If you're an administrator who needs to write policies to give users access, see
|
12
|
+
# [Getting Started with Policies](https://docs.us-phoenix-1.oraclecloud.com/Content/Identity/Concepts/policygetstarted.htm).
|
13
|
+
#
|
6
14
|
class Core::Models::RouteTable
|
7
15
|
|
8
16
|
LIFECYCLE_STATE_ENUM = [LIFECYCLE_STATE_PROVISIONING = 'PROVISIONING',
|
@@ -11,7 +19,7 @@ module OCI
|
|
11
19
|
LIFECYCLE_STATE_TERMINATED = 'TERMINATED',
|
12
20
|
LIFECYCLE_STATE_UNKNOWN_ENUM_VALUE = 'UNKNOWN_ENUM_VALUE']
|
13
21
|
|
14
|
-
# The OCID of the compartment containing the route table.
|
22
|
+
# **[Required]** The OCID of the compartment containing the route table.
|
15
23
|
# @return [String]
|
16
24
|
attr_accessor :compartment_id
|
17
25
|
|
@@ -38,15 +46,15 @@ module OCI
|
|
38
46
|
# @return [Hash<String, String>]
|
39
47
|
attr_accessor :freeform_tags
|
40
48
|
|
41
|
-
# The route table's Oracle ID (OCID).
|
49
|
+
# **[Required]** The route table's Oracle ID (OCID).
|
42
50
|
# @return [String]
|
43
51
|
attr_accessor :id
|
44
52
|
|
45
|
-
# The route table's current state.
|
53
|
+
# **[Required]** The route table's current state.
|
46
54
|
# @return [String]
|
47
55
|
attr_accessor :lifecycle_state
|
48
56
|
|
49
|
-
# The collection of rules for routing destination IPs to network devices.
|
57
|
+
# **[Required]** The collection of rules for routing destination IPs to network devices.
|
50
58
|
# @return [Array<OCI::Core::Models::RouteRule>]
|
51
59
|
attr_accessor :route_rules
|
52
60
|
|
@@ -57,13 +65,22 @@ module OCI
|
|
57
65
|
# @return [DateTime]
|
58
66
|
attr_accessor :time_created
|
59
67
|
|
60
|
-
# The OCID of the VCN the route table list belongs to.
|
68
|
+
# **[Required]** The OCID of the VCN the route table list belongs to.
|
61
69
|
# @return [String]
|
62
70
|
attr_accessor :vcn_id
|
63
71
|
|
64
72
|
|
65
73
|
# Initializes the object
|
66
74
|
# @param [Hash] attributes Model attributes in the form of hash
|
75
|
+
# @option attributes [String] :compartmentId The value to assign to the {#compartment_id} property
|
76
|
+
# @option attributes [Hash<String, Hash<String, Object>>] :definedTags The value to assign to the {#defined_tags} property
|
77
|
+
# @option attributes [String] :displayName The value to assign to the {#display_name} property
|
78
|
+
# @option attributes [Hash<String, String>] :freeformTags The value to assign to the {#freeform_tags} property
|
79
|
+
# @option attributes [String] :id The value to assign to the {#id} property
|
80
|
+
# @option attributes [String] :lifecycleState The value to assign to the {#lifecycle_state} property
|
81
|
+
# @option attributes [Array<OCI::Core::Models::RouteRule>] :routeRules The value to assign to the {#route_rules} property
|
82
|
+
# @option attributes [DateTime] :timeCreated The value to assign to the {#time_created} property
|
83
|
+
# @option attributes [String] :vcnId The value to assign to the {#vcn_id} property
|
67
84
|
def initialize(attributes = {})
|
68
85
|
return unless attributes.is_a?(Hash)
|
69
86
|
|
@@ -3,6 +3,20 @@
|
|
3
3
|
require 'date'
|
4
4
|
|
5
5
|
module OCI
|
6
|
+
# A set of virtual firewall rules for your VCN. Security lists are configured at the subnet
|
7
|
+
# level, but the rules are applied to the ingress and egress traffic for the individual instances
|
8
|
+
# in the subnet. The rules can be stateful or stateless. For more information, see
|
9
|
+
# [Security Lists](https://docs.us-phoenix-1.oraclecloud.com/Content/Network/Concepts/securitylists.htm).
|
10
|
+
#
|
11
|
+
# **Important:** Oracle Cloud Infrastructure Compute service images automatically include firewall rules (for example,
|
12
|
+
# Linux iptables, Windows firewall). If there are issues with some type of access to an instance,
|
13
|
+
# make sure both the security lists associated with the instance's subnet and the instance's
|
14
|
+
# firewall rules are set correctly.
|
15
|
+
#
|
16
|
+
# To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized,
|
17
|
+
# talk to an administrator. If you're an administrator who needs to write policies to give users access, see
|
18
|
+
# [Getting Started with Policies](https://docs.us-phoenix-1.oraclecloud.com/Content/Identity/Concepts/policygetstarted.htm).
|
19
|
+
#
|
6
20
|
class Core::Models::SecurityList
|
7
21
|
|
8
22
|
LIFECYCLE_STATE_ENUM = [LIFECYCLE_STATE_PROVISIONING = 'PROVISIONING',
|
@@ -11,7 +25,7 @@ module OCI
|
|
11
25
|
LIFECYCLE_STATE_TERMINATED = 'TERMINATED',
|
12
26
|
LIFECYCLE_STATE_UNKNOWN_ENUM_VALUE = 'UNKNOWN_ENUM_VALUE']
|
13
27
|
|
14
|
-
# The OCID of the compartment containing the security list.
|
28
|
+
# **[Required]** The OCID of the compartment containing the security list.
|
15
29
|
# @return [String]
|
16
30
|
attr_accessor :compartment_id
|
17
31
|
|
@@ -23,13 +37,13 @@ module OCI
|
|
23
37
|
# @return [Hash<String, Hash<String, Object>>]
|
24
38
|
attr_accessor :defined_tags
|
25
39
|
|
26
|
-
# A user-friendly name. Does not have to be unique, and it's changeable.
|
40
|
+
# **[Required]** A user-friendly name. Does not have to be unique, and it's changeable.
|
27
41
|
# Avoid entering confidential information.
|
28
42
|
#
|
29
43
|
# @return [String]
|
30
44
|
attr_accessor :display_name
|
31
45
|
|
32
|
-
# Rules for allowing egress IP packets.
|
46
|
+
# **[Required]** Rules for allowing egress IP packets.
|
33
47
|
# @return [Array<OCI::Core::Models::EgressSecurityRule>]
|
34
48
|
attr_accessor :egress_security_rules
|
35
49
|
|
@@ -42,32 +56,42 @@ module OCI
|
|
42
56
|
# @return [Hash<String, String>]
|
43
57
|
attr_accessor :freeform_tags
|
44
58
|
|
45
|
-
# The security list's Oracle Cloud ID (OCID).
|
59
|
+
# **[Required]** The security list's Oracle Cloud ID (OCID).
|
46
60
|
# @return [String]
|
47
61
|
attr_accessor :id
|
48
62
|
|
49
|
-
# Rules for allowing ingress IP packets.
|
63
|
+
# **[Required]** Rules for allowing ingress IP packets.
|
50
64
|
# @return [Array<OCI::Core::Models::IngressSecurityRule>]
|
51
65
|
attr_accessor :ingress_security_rules
|
52
66
|
|
53
|
-
# The security list's current state.
|
67
|
+
# **[Required]** The security list's current state.
|
54
68
|
# @return [String]
|
55
69
|
attr_accessor :lifecycle_state
|
56
70
|
|
57
|
-
# The date and time the security list was created, in the format defined by RFC3339.
|
71
|
+
# **[Required]** The date and time the security list was created, in the format defined by RFC3339.
|
58
72
|
#
|
59
73
|
# Example: `2016-08-25T21:10:29.600Z`
|
60
74
|
#
|
61
75
|
# @return [DateTime]
|
62
76
|
attr_accessor :time_created
|
63
77
|
|
64
|
-
# The OCID of the VCN the security list belongs to.
|
78
|
+
# **[Required]** The OCID of the VCN the security list belongs to.
|
65
79
|
# @return [String]
|
66
80
|
attr_accessor :vcn_id
|
67
81
|
|
68
82
|
|
69
83
|
# Initializes the object
|
70
84
|
# @param [Hash] attributes Model attributes in the form of hash
|
85
|
+
# @option attributes [String] :compartmentId The value to assign to the {#compartment_id} property
|
86
|
+
# @option attributes [Hash<String, Hash<String, Object>>] :definedTags The value to assign to the {#defined_tags} property
|
87
|
+
# @option attributes [String] :displayName The value to assign to the {#display_name} property
|
88
|
+
# @option attributes [Array<OCI::Core::Models::EgressSecurityRule>] :egressSecurityRules The value to assign to the {#egress_security_rules} property
|
89
|
+
# @option attributes [Hash<String, String>] :freeformTags The value to assign to the {#freeform_tags} property
|
90
|
+
# @option attributes [String] :id The value to assign to the {#id} property
|
91
|
+
# @option attributes [Array<OCI::Core::Models::IngressSecurityRule>] :ingressSecurityRules The value to assign to the {#ingress_security_rules} property
|
92
|
+
# @option attributes [String] :lifecycleState The value to assign to the {#lifecycle_state} property
|
93
|
+
# @option attributes [DateTime] :timeCreated The value to assign to the {#time_created} property
|
94
|
+
# @option attributes [String] :vcnId The value to assign to the {#vcn_id} property
|
71
95
|
def initialize(attributes = {})
|
72
96
|
return unless attributes.is_a?(Hash)
|
73
97
|
|
@@ -3,8 +3,11 @@
|
|
3
3
|
require 'date'
|
4
4
|
|
5
5
|
module OCI
|
6
|
+
# A compute instance shape that can be used in {#launch_instance launch_instance}.
|
7
|
+
# For more information, see [Overview of the Compute Service](https://docs.us-phoenix-1.oraclecloud.com/Content/Compute/Concepts/computeoverview.htm).
|
8
|
+
#
|
6
9
|
class Core::Models::Shape
|
7
|
-
# The name of the shape. You can enumerate all available shapes by calling
|
10
|
+
# **[Required]** The name of the shape. You can enumerate all available shapes by calling
|
8
11
|
# {#list_shapes list_shapes}.
|
9
12
|
#
|
10
13
|
# @return [String]
|
@@ -13,6 +16,7 @@ module OCI
|
|
13
16
|
|
14
17
|
# Initializes the object
|
15
18
|
# @param [Hash] attributes Model attributes in the form of hash
|
19
|
+
# @option attributes [String] :shape The value to assign to the {#shape} property
|
16
20
|
def initialize(attributes = {})
|
17
21
|
return unless attributes.is_a?(Hash)
|
18
22
|
|
@@ -3,6 +3,16 @@
|
|
3
3
|
require 'date'
|
4
4
|
|
5
5
|
module OCI
|
6
|
+
# A logical subdivision of a VCN. Each subnet exists in a single Availability Domain and
|
7
|
+
# consists of a contiguous range of IP addresses that do not overlap with
|
8
|
+
# other subnets in the VCN. Example: 172.16.1.0/24. For more information, see
|
9
|
+
# [Overview of the Networking Service](https://docs.us-phoenix-1.oraclecloud.com/Content/Network/Concepts/overview.htm) and
|
10
|
+
# [VCNs and Subnets](https://docs.us-phoenix-1.oraclecloud.com/Content/Network/Tasks/managingVCNs.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::Subnet
|
7
17
|
|
8
18
|
LIFECYCLE_STATE_ENUM = [LIFECYCLE_STATE_PROVISIONING = 'PROVISIONING',
|
@@ -11,21 +21,21 @@ module OCI
|
|
11
21
|
LIFECYCLE_STATE_TERMINATED = 'TERMINATED',
|
12
22
|
LIFECYCLE_STATE_UNKNOWN_ENUM_VALUE = 'UNKNOWN_ENUM_VALUE']
|
13
23
|
|
14
|
-
# The subnet's Availability Domain.
|
24
|
+
# **[Required]** The subnet's Availability Domain.
|
15
25
|
#
|
16
26
|
# Example: `Uocm:PHX-AD-1`
|
17
27
|
#
|
18
28
|
# @return [String]
|
19
29
|
attr_accessor :availability_domain
|
20
30
|
|
21
|
-
# The subnet's CIDR block.
|
31
|
+
# **[Required]** The subnet's CIDR block.
|
22
32
|
#
|
23
33
|
# Example: `172.16.1.0/24`
|
24
34
|
#
|
25
35
|
# @return [String]
|
26
36
|
attr_accessor :cidr_block
|
27
37
|
|
28
|
-
# The OCID of the compartment containing the subnet.
|
38
|
+
# **[Required]** The OCID of the compartment containing the subnet.
|
29
39
|
# @return [String]
|
30
40
|
attr_accessor :compartment_id
|
31
41
|
|
@@ -74,11 +84,11 @@ module OCI
|
|
74
84
|
# @return [Hash<String, String>]
|
75
85
|
attr_accessor :freeform_tags
|
76
86
|
|
77
|
-
# The subnet's Oracle ID (OCID).
|
87
|
+
# **[Required]** The subnet's Oracle ID (OCID).
|
78
88
|
# @return [String]
|
79
89
|
attr_accessor :id
|
80
90
|
|
81
|
-
# The subnet's current state.
|
91
|
+
# **[Required]** The subnet's current state.
|
82
92
|
# @return [String]
|
83
93
|
attr_accessor :lifecycle_state
|
84
94
|
|
@@ -97,7 +107,7 @@ module OCI
|
|
97
107
|
# @return [BOOLEAN]
|
98
108
|
attr_accessor :prohibit_public_ip_on_vnic
|
99
109
|
|
100
|
-
# The OCID of the route table the subnet is using.
|
110
|
+
# **[Required]** The OCID of the route table the subnet is using.
|
101
111
|
# @return [String]
|
102
112
|
attr_accessor :route_table_id
|
103
113
|
|
@@ -123,18 +133,18 @@ module OCI
|
|
123
133
|
# @return [DateTime]
|
124
134
|
attr_accessor :time_created
|
125
135
|
|
126
|
-
# The OCID of the VCN the subnet is in.
|
136
|
+
# **[Required]** The OCID of the VCN the subnet is in.
|
127
137
|
# @return [String]
|
128
138
|
attr_accessor :vcn_id
|
129
139
|
|
130
|
-
# The IP address of the virtual router.
|
140
|
+
# **[Required]** The IP address of the virtual router.
|
131
141
|
#
|
132
142
|
# Example: `10.0.14.1`
|
133
143
|
#
|
134
144
|
# @return [String]
|
135
145
|
attr_accessor :virtual_router_ip
|
136
146
|
|
137
|
-
# The MAC address of the virtual router.
|
147
|
+
# **[Required]** The MAC address of the virtual router.
|
138
148
|
#
|
139
149
|
# Example: `00:00:17:B6:4D:DD`
|
140
150
|
#
|
@@ -144,6 +154,24 @@ module OCI
|
|
144
154
|
|
145
155
|
# Initializes the object
|
146
156
|
# @param [Hash] attributes Model attributes in the form of hash
|
157
|
+
# @option attributes [String] :availabilityDomain The value to assign to the {#availability_domain} property
|
158
|
+
# @option attributes [String] :cidrBlock The value to assign to the {#cidr_block} property
|
159
|
+
# @option attributes [String] :compartmentId The value to assign to the {#compartment_id} property
|
160
|
+
# @option attributes [Hash<String, Hash<String, Object>>] :definedTags The value to assign to the {#defined_tags} property
|
161
|
+
# @option attributes [String] :dhcpOptionsId The value to assign to the {#dhcp_options_id} property
|
162
|
+
# @option attributes [String] :displayName The value to assign to the {#display_name} property
|
163
|
+
# @option attributes [String] :dnsLabel The value to assign to the {#dns_label} property
|
164
|
+
# @option attributes [Hash<String, String>] :freeformTags The value to assign to the {#freeform_tags} property
|
165
|
+
# @option attributes [String] :id The value to assign to the {#id} property
|
166
|
+
# @option attributes [String] :lifecycleState The value to assign to the {#lifecycle_state} property
|
167
|
+
# @option attributes [BOOLEAN] :prohibitPublicIpOnVnic The value to assign to the {#prohibit_public_ip_on_vnic} property
|
168
|
+
# @option attributes [String] :routeTableId The value to assign to the {#route_table_id} property
|
169
|
+
# @option attributes [Array<String>] :securityListIds The value to assign to the {#security_list_ids} property
|
170
|
+
# @option attributes [String] :subnetDomainName The value to assign to the {#subnet_domain_name} property
|
171
|
+
# @option attributes [DateTime] :timeCreated The value to assign to the {#time_created} property
|
172
|
+
# @option attributes [String] :vcnId The value to assign to the {#vcn_id} property
|
173
|
+
# @option attributes [String] :virtualRouterIp The value to assign to the {#virtual_router_ip} property
|
174
|
+
# @option attributes [String] :virtualRouterMac The value to assign to the {#virtual_router_mac} property
|
147
175
|
def initialize(attributes = {})
|
148
176
|
return unless attributes.is_a?(Hash)
|
149
177
|
|
@@ -190,7 +218,7 @@ module OCI
|
|
190
218
|
self.lifecycle_state = attributes[:'lifecycleState']
|
191
219
|
end
|
192
220
|
|
193
|
-
|
221
|
+
unless attributes[:'prohibitPublicIpOnVnic'].nil?
|
194
222
|
self.prohibit_public_ip_on_vnic = attributes[:'prohibitPublicIpOnVnic']
|
195
223
|
end
|
196
224
|
|
@@ -3,6 +3,9 @@
|
|
3
3
|
require 'date'
|
4
4
|
|
5
5
|
module OCI
|
6
|
+
# Optional object to specify ports for a TCP rule. If you specify TCP as the
|
7
|
+
# protocol but omit this object, then all ports are allowed.
|
8
|
+
#
|
6
9
|
class Core::Models::TcpOptions
|
7
10
|
# An inclusive range of allowed destination ports. Use the same number for the min and max
|
8
11
|
# to indicate a single port. Defaults to all ports if not specified.
|
@@ -19,6 +22,8 @@ module OCI
|
|
19
22
|
|
20
23
|
# Initializes the object
|
21
24
|
# @param [Hash] attributes Model attributes in the form of hash
|
25
|
+
# @option attributes [OCI::Core::Models::PortRange] :destinationPortRange The value to assign to the {#destination_port_range} property
|
26
|
+
# @option attributes [OCI::Core::Models::PortRange] :sourcePortRange The value to assign to the {#source_port_range} property
|
22
27
|
def initialize(attributes = {})
|
23
28
|
return unless attributes.is_a?(Hash)
|
24
29
|
|
@@ -3,15 +3,16 @@
|
|
3
3
|
require 'date'
|
4
4
|
|
5
5
|
module OCI
|
6
|
+
# Specific connection details for an IPSec tunnel.
|
6
7
|
class Core::Models::TunnelConfig
|
7
|
-
# The IP address of Oracle's VPN headend.
|
8
|
+
# **[Required]** The IP address of Oracle's VPN headend.
|
8
9
|
#
|
9
10
|
# Example: `129.146.17.50`
|
10
11
|
#
|
11
12
|
# @return [String]
|
12
13
|
attr_accessor :ip_address
|
13
14
|
|
14
|
-
# The shared secret of the IPSec tunnel.
|
15
|
+
# **[Required]** The shared secret of the IPSec tunnel.
|
15
16
|
#
|
16
17
|
# Example: `vFG2IF6TWq4UToUiLSRDoJEUs6j1c.p8G.dVQxiMfMO0yXMLi.lZTbYIWhGu4V8o`
|
17
18
|
#
|
@@ -28,6 +29,9 @@ module OCI
|
|
28
29
|
|
29
30
|
# Initializes the object
|
30
31
|
# @param [Hash] attributes Model attributes in the form of hash
|
32
|
+
# @option attributes [String] :ipAddress The value to assign to the {#ip_address} property
|
33
|
+
# @option attributes [String] :sharedSecret The value to assign to the {#shared_secret} property
|
34
|
+
# @option attributes [DateTime] :timeCreated The value to assign to the {#time_created} property
|
31
35
|
def initialize(attributes = {})
|
32
36
|
return unless attributes.is_a?(Hash)
|
33
37
|
|
@@ -3,6 +3,8 @@
|
|
3
3
|
require 'date'
|
4
4
|
|
5
5
|
module OCI
|
6
|
+
# Specific connection details for an IPSec tunnel.
|
7
|
+
#
|
6
8
|
class Core::Models::TunnelStatus
|
7
9
|
|
8
10
|
LIFECYCLE_STATE_ENUM = [LIFECYCLE_STATE_UP = 'UP',
|
@@ -10,7 +12,7 @@ module OCI
|
|
10
12
|
LIFECYCLE_STATE_DOWN_FOR_MAINTENANCE = 'DOWN_FOR_MAINTENANCE',
|
11
13
|
LIFECYCLE_STATE_UNKNOWN_ENUM_VALUE = 'UNKNOWN_ENUM_VALUE']
|
12
14
|
|
13
|
-
# The IP address of Oracle's VPN headend.
|
15
|
+
# **[Required]** The IP address of Oracle's VPN headend.
|
14
16
|
#
|
15
17
|
# Example: `129.146.17.50`
|
16
18
|
#
|
@@ -38,6 +40,10 @@ module OCI
|
|
38
40
|
|
39
41
|
# Initializes the object
|
40
42
|
# @param [Hash] attributes Model attributes in the form of hash
|
43
|
+
# @option attributes [String] :ipAddress The value to assign to the {#ip_address} property
|
44
|
+
# @option attributes [String] :lifecycleState The value to assign to the {#lifecycle_state} property
|
45
|
+
# @option attributes [DateTime] :timeCreated The value to assign to the {#time_created} property
|
46
|
+
# @option attributes [DateTime] :timeStateModified The value to assign to the {#time_state_modified} property
|
41
47
|
def initialize(attributes = {})
|
42
48
|
return unless attributes.is_a?(Hash)
|
43
49
|
|
@@ -3,6 +3,9 @@
|
|
3
3
|
require 'date'
|
4
4
|
|
5
5
|
module OCI
|
6
|
+
# Optional object to specify ports for a UDP rule. If you specify UDP as the
|
7
|
+
# protocol but omit this object, then all ports are allowed.
|
8
|
+
#
|
6
9
|
class Core::Models::UdpOptions
|
7
10
|
# An inclusive range of allowed destination ports. Use the same number for the min and max
|
8
11
|
# to indicate a single port. Defaults to all ports if not specified.
|
@@ -19,6 +22,8 @@ module OCI
|
|
19
22
|
|
20
23
|
# Initializes the object
|
21
24
|
# @param [Hash] attributes Model attributes in the form of hash
|
25
|
+
# @option attributes [OCI::Core::Models::PortRange] :destinationPortRange The value to assign to the {#destination_port_range} property
|
26
|
+
# @option attributes [OCI::Core::Models::PortRange] :sourcePortRange The value to assign to the {#source_port_range} property
|
22
27
|
def initialize(attributes = {})
|
23
28
|
return unless attributes.is_a?(Hash)
|
24
29
|
|
@@ -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
|
|
@@ -29,6 +29,9 @@ module OCI
|
|
29
29
|
|
30
30
|
# Initializes the object
|
31
31
|
# @param [Hash] attributes Model attributes in the form of hash
|
32
|
+
# @option attributes [Hash<String, Hash<String, Object>>] :definedTags The value to assign to the {#defined_tags} property
|
33
|
+
# @option attributes [String] :displayName The value to assign to the {#display_name} property
|
34
|
+
# @option attributes [Hash<String, String>] :freeformTags The value to assign to the {#freeform_tags} property
|
32
35
|
def initialize(attributes = {})
|
33
36
|
return unless attributes.is_a?(Hash)
|
34
37
|
|
@@ -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
|
|
@@ -3,6 +3,8 @@
|
|
3
3
|
require 'date'
|
4
4
|
|
5
5
|
module OCI
|
6
|
+
# Update a CrossConnect
|
7
|
+
#
|
6
8
|
class Core::Models::UpdateCrossConnectDetails
|
7
9
|
# A user-friendly name. Does not have to be unique, and it's changeable.
|
8
10
|
# Avoid entering confidential information.
|
@@ -22,6 +24,8 @@ module OCI
|
|
22
24
|
|
23
25
|
# Initializes the object
|
24
26
|
# @param [Hash] attributes Model attributes in the form of hash
|
27
|
+
# @option attributes [String] :displayName The value to assign to the {#display_name} property
|
28
|
+
# @option attributes [BOOLEAN] :isActive The value to assign to the {#is_active} property
|
25
29
|
def initialize(attributes = {})
|
26
30
|
return unless attributes.is_a?(Hash)
|
27
31
|
|
@@ -32,7 +36,7 @@ module OCI
|
|
32
36
|
self.display_name = attributes[:'displayName']
|
33
37
|
end
|
34
38
|
|
35
|
-
|
39
|
+
unless attributes[:'isActive'].nil?
|
36
40
|
self.is_active = attributes[:'isActive']
|
37
41
|
end
|
38
42
|
|