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
@@ -4,14 +4,14 @@ require 'date'
|
|
4
4
|
|
5
5
|
module OCI
|
6
6
|
class Core::Models::CreateVcnDetails
|
7
|
-
# The CIDR IP address block of the VCN.
|
7
|
+
# **[Required]** The CIDR IP address block of the VCN.
|
8
8
|
#
|
9
9
|
# Example: `172.16.0.0/16`
|
10
10
|
#
|
11
11
|
# @return [String]
|
12
12
|
attr_accessor :cidr_block
|
13
13
|
|
14
|
-
# The OCID of the compartment to contain the VCN.
|
14
|
+
# **[Required]** The OCID of the compartment to contain the VCN.
|
15
15
|
# @return [String]
|
16
16
|
attr_accessor :compartment_id
|
17
17
|
|
@@ -58,6 +58,12 @@ module OCI
|
|
58
58
|
|
59
59
|
# Initializes the object
|
60
60
|
# @param [Hash] attributes Model attributes in the form of hash
|
61
|
+
# @option attributes [String] :cidrBlock The value to assign to the {#cidr_block} property
|
62
|
+
# @option attributes [String] :compartmentId The value to assign to the {#compartment_id} property
|
63
|
+
# @option attributes [Hash<String, Hash<String, Object>>] :definedTags The value to assign to the {#defined_tags} property
|
64
|
+
# @option attributes [String] :displayName The value to assign to the {#display_name} property
|
65
|
+
# @option attributes [String] :dnsLabel The value to assign to the {#dns_label} property
|
66
|
+
# @option attributes [Hash<String, String>] :freeformTags The value to assign to the {#freeform_tags} property
|
61
67
|
def initialize(attributes = {})
|
62
68
|
return unless attributes.is_a?(Hash)
|
63
69
|
|
@@ -17,7 +17,7 @@ module OCI
|
|
17
17
|
# @return [String]
|
18
18
|
attr_accessor :bandwidth_shape_name
|
19
19
|
|
20
|
-
# The OCID of the compartment to contain the virtual circuit.
|
20
|
+
# **[Required]** The OCID of the compartment to contain the virtual circuit.
|
21
21
|
#
|
22
22
|
# @return [String]
|
23
23
|
attr_accessor :compartment_id
|
@@ -80,7 +80,7 @@ module OCI
|
|
80
80
|
# @return [String]
|
81
81
|
attr_accessor :region
|
82
82
|
|
83
|
-
# The type of IP addresses used in this virtual circuit. PRIVATE
|
83
|
+
# **[Required]** The type of IP addresses used in this virtual circuit. PRIVATE
|
84
84
|
# means [RFC 1918](https://tools.ietf.org/html/rfc1918) addresses
|
85
85
|
# (10.0.0.0/8, 172.16/12, and 192.168/16). Only PRIVATE is supported.
|
86
86
|
#
|
@@ -90,6 +90,18 @@ module OCI
|
|
90
90
|
|
91
91
|
# Initializes the object
|
92
92
|
# @param [Hash] attributes Model attributes in the form of hash
|
93
|
+
# @option attributes [String] :bandwidthShapeName The value to assign to the {#bandwidth_shape_name} property
|
94
|
+
# @option attributes [String] :compartmentId The value to assign to the {#compartment_id} property
|
95
|
+
# @option attributes [Array<OCI::Core::Models::CrossConnectMapping>] :crossConnectMappings The value to assign to the {#cross_connect_mappings} property
|
96
|
+
# @option attributes [Integer] :customerBgpAsn The value to assign to the {#customer_bgp_asn} property
|
97
|
+
# @option attributes [String] :displayName The value to assign to the {#display_name} property
|
98
|
+
# @option attributes [String] :gatewayId The value to assign to the {#gateway_id} property
|
99
|
+
# @option attributes [String] :providerName The value to assign to the {#provider_name} property
|
100
|
+
# @option attributes [String] :providerServiceId The value to assign to the {#provider_service_id} property
|
101
|
+
# @option attributes [String] :providerServiceName The value to assign to the {#provider_service_name} property
|
102
|
+
# @option attributes [Array<OCI::Core::Models::CreateVirtualCircuitPublicPrefixDetails>] :publicPrefixes The value to assign to the {#public_prefixes} property
|
103
|
+
# @option attributes [String] :region The value to assign to the {#region} property
|
104
|
+
# @option attributes [String] :type The value to assign to the {#type} property
|
93
105
|
def initialize(attributes = {})
|
94
106
|
return unless attributes.is_a?(Hash)
|
95
107
|
|
@@ -4,7 +4,7 @@ require 'date'
|
|
4
4
|
|
5
5
|
module OCI
|
6
6
|
class Core::Models::CreateVirtualCircuitPublicPrefixDetails
|
7
|
-
# An individual public IP prefix (CIDR) to add to the public virtual circuit.
|
7
|
+
# **[Required]** An individual public IP prefix (CIDR) to add to the public virtual circuit.
|
8
8
|
# Must be /24 or less specific.
|
9
9
|
#
|
10
10
|
# @return [String]
|
@@ -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] :cidrBlock The value to assign to the {#cidr_block} property
|
16
17
|
def initialize(attributes = {})
|
17
18
|
return unless attributes.is_a?(Hash)
|
18
19
|
|
@@ -3,6 +3,11 @@
|
|
3
3
|
require 'date'
|
4
4
|
|
5
5
|
module OCI
|
6
|
+
# Contains properties for a VNIC. You use this object when creating the
|
7
|
+
# primary VNIC during instance launch or when creating a secondary VNIC.
|
8
|
+
# For more information about VNICs, see
|
9
|
+
# [Virtual Network Interface Cards (VNICs)](https://docs.us-phoenix-1.oraclecloud.com/Content/Network/Tasks/managingVNICs.htm).
|
10
|
+
#
|
6
11
|
class Core::Models::CreateVnicDetails
|
7
12
|
# Whether the VNIC should be assigned a public IP address. Defaults to whether
|
8
13
|
# the subnet is public or private. If not set and the VNIC is being created
|
@@ -76,7 +81,7 @@ module OCI
|
|
76
81
|
# @return [BOOLEAN]
|
77
82
|
attr_accessor :skip_source_dest_check
|
78
83
|
|
79
|
-
# The OCID of the subnet to create the VNIC in. When launching an instance,
|
84
|
+
# **[Required]** The OCID of the subnet to create the VNIC in. When launching an instance,
|
80
85
|
# use this `subnetId` instead of the deprecated `subnetId` in
|
81
86
|
# {#launch_instance_details launch_instance_details}.
|
82
87
|
# At least one of them is required; if you provide both, the values must match.
|
@@ -87,13 +92,19 @@ module OCI
|
|
87
92
|
|
88
93
|
# Initializes the object
|
89
94
|
# @param [Hash] attributes Model attributes in the form of hash
|
95
|
+
# @option attributes [BOOLEAN] :assignPublicIp The value to assign to the {#assign_public_ip} property
|
96
|
+
# @option attributes [String] :displayName The value to assign to the {#display_name} property
|
97
|
+
# @option attributes [String] :hostnameLabel The value to assign to the {#hostname_label} property
|
98
|
+
# @option attributes [String] :privateIp The value to assign to the {#private_ip} property
|
99
|
+
# @option attributes [BOOLEAN] :skipSourceDestCheck The value to assign to the {#skip_source_dest_check} property
|
100
|
+
# @option attributes [String] :subnetId The value to assign to the {#subnet_id} property
|
90
101
|
def initialize(attributes = {})
|
91
102
|
return unless attributes.is_a?(Hash)
|
92
103
|
|
93
104
|
# convert string to symbol for hash key
|
94
105
|
attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
|
95
106
|
|
96
|
-
|
107
|
+
unless attributes[:'assignPublicIp'].nil?
|
97
108
|
self.assign_public_ip = attributes[:'assignPublicIp']
|
98
109
|
end
|
99
110
|
|
@@ -109,7 +120,7 @@ module OCI
|
|
109
120
|
self.private_ip = attributes[:'privateIp']
|
110
121
|
end
|
111
122
|
|
112
|
-
|
123
|
+
unless attributes[:'skipSourceDestCheck'].nil?
|
113
124
|
self.skip_source_dest_check = attributes[:'skipSourceDestCheck']
|
114
125
|
end
|
115
126
|
|
@@ -27,13 +27,17 @@ module OCI
|
|
27
27
|
# @return [Hash<String, String>]
|
28
28
|
attr_accessor :freeform_tags
|
29
29
|
|
30
|
-
# The OCID of the volume that needs to be backed up.
|
30
|
+
# **[Required]** The OCID of the volume that needs to be backed up.
|
31
31
|
# @return [String]
|
32
32
|
attr_accessor :volume_id
|
33
33
|
|
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 [String] :volumeId The value to assign to the {#volume_id} property
|
37
41
|
def initialize(attributes = {})
|
38
42
|
return unless attributes.is_a?(Hash)
|
39
43
|
|
@@ -4,14 +4,14 @@ require 'date'
|
|
4
4
|
|
5
5
|
module OCI
|
6
6
|
class Core::Models::CreateVolumeDetails
|
7
|
-
# The Availability Domain of the volume.
|
7
|
+
# **[Required]** The Availability Domain of the volume.
|
8
8
|
#
|
9
9
|
# Example: `Uocm:PHX-AD-1`
|
10
10
|
#
|
11
11
|
# @return [String]
|
12
12
|
attr_accessor :availability_domain
|
13
13
|
|
14
|
-
# The OCID of the compartment that contains the volume.
|
14
|
+
# **[Required]** The OCID of the compartment that contains the volume.
|
15
15
|
# @return [String]
|
16
16
|
attr_accessor :compartment_id
|
17
17
|
|
@@ -65,6 +65,15 @@ module OCI
|
|
65
65
|
|
66
66
|
# Initializes the object
|
67
67
|
# @param [Hash] attributes Model attributes in the form of hash
|
68
|
+
# @option attributes [String] :availabilityDomain The value to assign to the {#availability_domain} property
|
69
|
+
# @option attributes [String] :compartmentId The value to assign to the {#compartment_id} property
|
70
|
+
# @option attributes [Hash<String, Hash<String, Object>>] :definedTags The value to assign to the {#defined_tags} property
|
71
|
+
# @option attributes [String] :displayName The value to assign to the {#display_name} property
|
72
|
+
# @option attributes [Hash<String, String>] :freeformTags The value to assign to the {#freeform_tags} property
|
73
|
+
# @option attributes [Integer] :sizeInGBs The value to assign to the {#size_in_gbs} property
|
74
|
+
# @option attributes [Integer] :sizeInMBs The value to assign to the {#size_in_mbs} property
|
75
|
+
# @option attributes [OCI::Core::Models::VolumeSourceDetails] :sourceDetails The value to assign to the {#source_details} property
|
76
|
+
# @option attributes [String] :volumeBackupId The value to assign to the {#volume_backup_id} property
|
68
77
|
def initialize(attributes = {})
|
69
78
|
return unless attributes.is_a?(Hash)
|
70
79
|
|
@@ -3,6 +3,23 @@
|
|
3
3
|
require 'date'
|
4
4
|
|
5
5
|
module OCI
|
6
|
+
# For use with Oracle Cloud Infrastructure FastConnect. A cross-connect represents a
|
7
|
+
# physical connection between an existing network and Oracle. Customers who are colocated
|
8
|
+
# with Oracle in a FastConnect location create and use cross-connects. For more
|
9
|
+
# information, see [FastConnect Overview](https://docs.us-phoenix-1.oraclecloud.com/Content/Network/Concepts/fastconnect.htm).
|
10
|
+
#
|
11
|
+
# Oracle recommends you create each cross-connect in a
|
12
|
+
# {CrossConnectGroup} so you can use link aggregation
|
13
|
+
# with the connection.
|
14
|
+
#
|
15
|
+
# **Note:** If you're a provider who is setting up a physical connection to Oracle so customers
|
16
|
+
# can use FastConnect over the connection, be aware that your connection is modeled the
|
17
|
+
# same way as a colocated customer's (with `CrossConnect` and `CrossConnectGroup` objects, and so on).
|
18
|
+
#
|
19
|
+
# To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized,
|
20
|
+
# talk to an administrator. If you're an administrator who needs to write policies to give users access, see
|
21
|
+
# [Getting Started with Policies](https://docs.us-phoenix-1.oraclecloud.com/Content/Identity/Concepts/policygetstarted.htm).
|
22
|
+
#
|
6
23
|
class Core::Models::CrossConnect
|
7
24
|
|
8
25
|
LIFECYCLE_STATE_ENUM = [LIFECYCLE_STATE_PENDING_CUSTOMER = 'PENDING_CUSTOMER',
|
@@ -60,6 +77,15 @@ module OCI
|
|
60
77
|
|
61
78
|
# Initializes the object
|
62
79
|
# @param [Hash] attributes Model attributes in the form of hash
|
80
|
+
# @option attributes [String] :compartmentId The value to assign to the {#compartment_id} property
|
81
|
+
# @option attributes [String] :crossConnectGroupId The value to assign to the {#cross_connect_group_id} property
|
82
|
+
# @option attributes [String] :displayName The value to assign to the {#display_name} property
|
83
|
+
# @option attributes [String] :id The value to assign to the {#id} property
|
84
|
+
# @option attributes [String] :lifecycleState The value to assign to the {#lifecycle_state} property
|
85
|
+
# @option attributes [String] :locationName The value to assign to the {#location_name} property
|
86
|
+
# @option attributes [String] :portName The value to assign to the {#port_name} property
|
87
|
+
# @option attributes [String] :portSpeedShapeName The value to assign to the {#port_speed_shape_name} property
|
88
|
+
# @option attributes [DateTime] :timeCreated The value to assign to the {#time_created} property
|
63
89
|
def initialize(attributes = {})
|
64
90
|
return unless attributes.is_a?(Hash)
|
65
91
|
|
@@ -3,6 +3,20 @@
|
|
3
3
|
require 'date'
|
4
4
|
|
5
5
|
module OCI
|
6
|
+
# For use with Oracle Cloud Infrastructure FastConnect. A cross-connect group
|
7
|
+
# is a link aggregation group (LAG), which can contain one or more
|
8
|
+
# {CrossConnect}. Customers who are colocated with
|
9
|
+
# Oracle in a FastConnect location create and use cross-connect groups. For more
|
10
|
+
# information, see [FastConnect Overview](https://docs.us-phoenix-1.oraclecloud.com/Content/Network/Concepts/fastconnect.htm).
|
11
|
+
#
|
12
|
+
# **Note:** If you're a provider who is setting up a physical connection to Oracle so customers
|
13
|
+
# can use FastConnect over the connection, be aware that your connection is modeled the
|
14
|
+
# same way as a colocated customer's (with `CrossConnect` and `CrossConnectGroup` objects, and so on).
|
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::CrossConnectGroup
|
7
21
|
|
8
22
|
LIFECYCLE_STATE_ENUM = [LIFECYCLE_STATE_PROVISIONING = 'PROVISIONING',
|
@@ -40,6 +54,11 @@ module OCI
|
|
40
54
|
|
41
55
|
# Initializes the object
|
42
56
|
# @param [Hash] attributes Model attributes in the form of hash
|
57
|
+
# @option attributes [String] :compartmentId The value to assign to the {#compartment_id} property
|
58
|
+
# @option attributes [String] :displayName The value to assign to the {#display_name} property
|
59
|
+
# @option attributes [String] :id The value to assign to the {#id} property
|
60
|
+
# @option attributes [String] :lifecycleState The value to assign to the {#lifecycle_state} property
|
61
|
+
# @option attributes [DateTime] :timeCreated The value to assign to the {#time_created} property
|
43
62
|
def initialize(attributes = {})
|
44
63
|
return unless attributes.is_a?(Hash)
|
45
64
|
|
@@ -3,12 +3,13 @@
|
|
3
3
|
require 'date'
|
4
4
|
|
5
5
|
module OCI
|
6
|
+
# An individual FastConnect location.
|
6
7
|
class Core::Models::CrossConnectLocation
|
7
|
-
# A description of the location.
|
8
|
+
# **[Required]** A description of the location.
|
8
9
|
# @return [String]
|
9
10
|
attr_accessor :description
|
10
11
|
|
11
|
-
# The name of the location.
|
12
|
+
# **[Required]** The name of the location.
|
12
13
|
#
|
13
14
|
# Example: `CyrusOne, Chandler, AZ`
|
14
15
|
#
|
@@ -18,6 +19,8 @@ module OCI
|
|
18
19
|
|
19
20
|
# Initializes the object
|
20
21
|
# @param [Hash] attributes Model attributes in the form of hash
|
22
|
+
# @option attributes [String] :description The value to assign to the {#description} property
|
23
|
+
# @option attributes [String] :name The value to assign to the {#name} property
|
21
24
|
def initialize(attributes = {})
|
22
25
|
return unless attributes.is_a?(Hash)
|
23
26
|
|
@@ -3,6 +3,32 @@
|
|
3
3
|
require 'date'
|
4
4
|
|
5
5
|
module OCI
|
6
|
+
# For use with Oracle Cloud Infrastructure FastConnect. Each
|
7
|
+
# {VirtualCircuit} runs on one or
|
8
|
+
# more cross-connects or cross-connect groups. A `CrossConnectMapping`
|
9
|
+
# contains the properties for an individual cross-connect or cross-connect group
|
10
|
+
# associated with a given virtual circuit.
|
11
|
+
#
|
12
|
+
# The mapping includes information about the cross-connect or
|
13
|
+
# cross-connect group, the VLAN, and the BGP peering session.
|
14
|
+
#
|
15
|
+
# If you're a customer who is colocated with Oracle, that means you own both
|
16
|
+
# the virtual circuit and the physical connection it runs on (cross-connect or
|
17
|
+
# cross-connect group), so you specify all the information in the mapping. There's
|
18
|
+
# one exception: for a public virtual circuit, Oracle specifies the BGP IP
|
19
|
+
# addresses.
|
20
|
+
#
|
21
|
+
# If you're a provider, then you own the physical connection that the customer's
|
22
|
+
# virtual circuit runs on, so you contribute information about the cross-connect
|
23
|
+
# or cross-connect group and VLAN.
|
24
|
+
#
|
25
|
+
# Who specifies the BGP peering information in the case of customer connection via
|
26
|
+
# provider? If the BGP session goes from Oracle to the provider's edge router, then
|
27
|
+
# the provider also specifies the BGP peering information. If the BGP session instead
|
28
|
+
# goes from Oracle to the customer's edge router, then the customer specifies the BGP
|
29
|
+
# peering information. There's one exception: for a public virtual circuit, Oracle
|
30
|
+
# specifies the BGP IP addresses.
|
31
|
+
#
|
6
32
|
class Core::Models::CrossConnectMapping
|
7
33
|
# The key for BGP MD5 authentication. Only applicable if your system
|
8
34
|
# requires MD5 authentication. If empty or not set (null), that
|
@@ -57,6 +83,11 @@ module OCI
|
|
57
83
|
|
58
84
|
# Initializes the object
|
59
85
|
# @param [Hash] attributes Model attributes in the form of hash
|
86
|
+
# @option attributes [String] :bgpMd5AuthKey The value to assign to the {#bgp_md5_auth_key} property
|
87
|
+
# @option attributes [String] :crossConnectOrCrossConnectGroupId The value to assign to the {#cross_connect_or_cross_connect_group_id} property
|
88
|
+
# @option attributes [String] :customerBgpPeeringIp The value to assign to the {#customer_bgp_peering_ip} property
|
89
|
+
# @option attributes [String] :oracleBgpPeeringIp The value to assign to the {#oracle_bgp_peering_ip} property
|
90
|
+
# @option attributes [Integer] :vlan The value to assign to the {#vlan} property
|
60
91
|
def initialize(attributes = {})
|
61
92
|
return unless attributes.is_a?(Hash)
|
62
93
|
|
@@ -3,15 +3,17 @@
|
|
3
3
|
require 'date'
|
4
4
|
|
5
5
|
module OCI
|
6
|
+
# An individual port speed level for cross-connects.
|
7
|
+
#
|
6
8
|
class Core::Models::CrossConnectPortSpeedShape
|
7
|
-
# The name of the port speed shape.
|
9
|
+
# **[Required]** The name of the port speed shape.
|
8
10
|
#
|
9
11
|
# Example: `10 Gbps`
|
10
12
|
#
|
11
13
|
# @return [String]
|
12
14
|
attr_accessor :name
|
13
15
|
|
14
|
-
# The port speed in Gbps.
|
16
|
+
# **[Required]** The port speed in Gbps.
|
15
17
|
#
|
16
18
|
# Example: `10`
|
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 [String] :name The value to assign to the {#name} property
|
27
|
+
# @option attributes [Integer] :portSpeedInGbps The value to assign to the {#port_speed_in_gbps} property
|
24
28
|
def initialize(attributes = {})
|
25
29
|
return unless attributes.is_a?(Hash)
|
26
30
|
|
@@ -3,6 +3,7 @@
|
|
3
3
|
require 'date'
|
4
4
|
|
5
5
|
module OCI
|
6
|
+
# The status of the cross-connect.
|
6
7
|
class Core::Models::CrossConnectStatus
|
7
8
|
|
8
9
|
INTERFACE_STATE_ENUM = [INTERFACE_STATE_UP = 'UP',
|
@@ -17,7 +18,7 @@ module OCI
|
|
17
18
|
LIGHT_LEVEL_INDICATOR_GOOD = 'GOOD',
|
18
19
|
LIGHT_LEVEL_INDICATOR_UNKNOWN_ENUM_VALUE = 'UNKNOWN_ENUM_VALUE']
|
19
20
|
|
20
|
-
# The OCID of the cross-connect.
|
21
|
+
# **[Required]** The OCID of the cross-connect.
|
21
22
|
# @return [String]
|
22
23
|
attr_accessor :cross_connect_id
|
23
24
|
|
@@ -50,6 +51,10 @@ module OCI
|
|
50
51
|
|
51
52
|
# Initializes the object
|
52
53
|
# @param [Hash] attributes Model attributes in the form of hash
|
54
|
+
# @option attributes [String] :crossConnectId The value to assign to the {#cross_connect_id} property
|
55
|
+
# @option attributes [String] :interfaceState The value to assign to the {#interface_state} property
|
56
|
+
# @option attributes [Float] :lightLevelIndBm The value to assign to the {#light_level_ind_bm} property
|
57
|
+
# @option attributes [String] :lightLevelIndicator The value to assign to the {#light_level_indicator} property
|
53
58
|
def initialize(attributes = {})
|
54
59
|
return unless attributes.is_a?(Hash)
|
55
60
|
|
@@ -4,13 +4,14 @@ require 'date'
|
|
4
4
|
|
5
5
|
module OCI
|
6
6
|
class Core::Models::DeleteVirtualCircuitPublicPrefixDetails
|
7
|
-
# An individual public IP prefix (CIDR) to remove from the public virtual circuit.
|
7
|
+
# **[Required]** An individual public IP prefix (CIDR) to remove from the public virtual circuit.
|
8
8
|
# @return [String]
|
9
9
|
attr_accessor :cidr_block
|
10
10
|
|
11
11
|
|
12
12
|
# Initializes the object
|
13
13
|
# @param [Hash] attributes Model attributes in the form of hash
|
14
|
+
# @option attributes [String] :cidrBlock The value to assign to the {#cidr_block} property
|
14
15
|
def initialize(attributes = {})
|
15
16
|
return unless attributes.is_a?(Hash)
|
16
17
|
|
@@ -4,6 +4,10 @@ require 'date'
|
|
4
4
|
require_relative 'dhcp_option'
|
5
5
|
|
6
6
|
module OCI
|
7
|
+
# DHCP option for specifying how DNS (hostname resolution) is handled in the subnets in the VCN.
|
8
|
+
# For more information, see
|
9
|
+
# [DNS in Your Virtual Cloud Network](https://docs.us-phoenix-1.oraclecloud.com/Content/Network/Concepts/dns.htm).
|
10
|
+
#
|
7
11
|
class Core::Models::DhcpDnsOption < Core::Models::DhcpOption
|
8
12
|
|
9
13
|
SERVER_TYPE_ENUM = [SERVER_TYPE_VCN_LOCAL = 'VcnLocal',
|
@@ -17,7 +21,7 @@ module OCI
|
|
17
21
|
# @return [Array<String>]
|
18
22
|
attr_accessor :custom_dns_servers
|
19
23
|
|
20
|
-
# - **VcnLocal:** Reserved for future use.
|
24
|
+
# **[Required]** - **VcnLocal:** Reserved for future use.
|
21
25
|
#
|
22
26
|
# - **VcnLocalPlusInternet:** Also referred to as \"Internet and VCN Resolver\".
|
23
27
|
# Instances can resolve internet hostnames (no Internet Gateway is required),
|
@@ -38,6 +42,8 @@ module OCI
|
|
38
42
|
|
39
43
|
# Initializes the object
|
40
44
|
# @param [Hash] attributes Model attributes in the form of hash
|
45
|
+
# @option attributes [Array<String>] :customDnsServers The value to assign to the {#custom_dns_servers} property
|
46
|
+
# @option attributes [String] :serverType The value to assign to the {#server_type} property
|
41
47
|
def initialize(attributes = {})
|
42
48
|
return unless attributes.is_a?(Hash)
|
43
49
|
|
@@ -3,8 +3,15 @@
|
|
3
3
|
require 'date'
|
4
4
|
|
5
5
|
module OCI
|
6
|
+
# A single DHCP option according to [RFC 1533](https://tools.ietf.org/html/rfc1533).
|
7
|
+
# The two options available to use are {DhcpDnsOption}
|
8
|
+
# and {DhcpSearchDomainOption}. For more
|
9
|
+
# information, see [DNS in Your Virtual Cloud Network](https://docs.us-phoenix-1.oraclecloud.com/Content/Network/Concepts/dns.htm)
|
10
|
+
# and [DHCP Options](https://docs.us-phoenix-1.oraclecloud.com/Content/Network/Tasks/managingDHCP.htm).
|
11
|
+
#
|
12
|
+
# 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
13
|
class Core::Models::DhcpOption
|
7
|
-
# The specific DHCP option. Either `DomainNameServer`
|
14
|
+
# **[Required]** The specific DHCP option. Either `DomainNameServer`
|
8
15
|
# (for {DhcpDnsOption}) or
|
9
16
|
# `SearchDomain` (for {DhcpSearchDomainOption}).
|
10
17
|
#
|
@@ -26,6 +33,7 @@ module OCI
|
|
26
33
|
|
27
34
|
# Initializes the object
|
28
35
|
# @param [Hash] attributes Model attributes in the form of hash
|
36
|
+
# @option attributes [String] :type The value to assign to the {#type} property
|
29
37
|
def initialize(attributes = {})
|
30
38
|
return unless attributes.is_a?(Hash)
|
31
39
|
|