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,7 +4,7 @@ require 'date'
|
|
4
4
|
|
5
5
|
module OCI
|
6
6
|
class Core::Models::CreateCrossConnectDetails
|
7
|
-
# The OCID of the compartment to contain the cross-connect.
|
7
|
+
# **[Required]** The OCID of the compartment to contain the cross-connect.
|
8
8
|
# @return [String]
|
9
9
|
attr_accessor :compartment_id
|
10
10
|
|
@@ -26,7 +26,7 @@ module OCI
|
|
26
26
|
# @return [String]
|
27
27
|
attr_accessor :far_cross_connect_or_cross_connect_group_id
|
28
28
|
|
29
|
-
# The name of the FastConnect location where this cross-connect will be installed.
|
29
|
+
# **[Required]** The name of the FastConnect location where this cross-connect will be installed.
|
30
30
|
# To get a list of the available locations, see
|
31
31
|
# {#list_cross_connect_locations list_cross_connect_locations}.
|
32
32
|
#
|
@@ -42,7 +42,7 @@ module OCI
|
|
42
42
|
# @return [String]
|
43
43
|
attr_accessor :near_cross_connect_or_cross_connect_group_id
|
44
44
|
|
45
|
-
# The port speed for this cross-connect. To get a list of the available port speeds, see
|
45
|
+
# **[Required]** The port speed for this cross-connect. To get a list of the available port speeds, see
|
46
46
|
# {#list_crossconnect_port_speed_shapes list_crossconnect_port_speed_shapes}.
|
47
47
|
#
|
48
48
|
# Example: `10 Gbps`
|
@@ -53,6 +53,13 @@ module OCI
|
|
53
53
|
|
54
54
|
# Initializes the object
|
55
55
|
# @param [Hash] attributes Model attributes in the form of hash
|
56
|
+
# @option attributes [String] :compartmentId The value to assign to the {#compartment_id} property
|
57
|
+
# @option attributes [String] :crossConnectGroupId The value to assign to the {#cross_connect_group_id} property
|
58
|
+
# @option attributes [String] :displayName The value to assign to the {#display_name} property
|
59
|
+
# @option attributes [String] :farCrossConnectOrCrossConnectGroupId The value to assign to the {#far_cross_connect_or_cross_connect_group_id} property
|
60
|
+
# @option attributes [String] :locationName The value to assign to the {#location_name} property
|
61
|
+
# @option attributes [String] :nearCrossConnectOrCrossConnectGroupId The value to assign to the {#near_cross_connect_or_cross_connect_group_id} property
|
62
|
+
# @option attributes [String] :portSpeedShapeName The value to assign to the {#port_speed_shape_name} property
|
56
63
|
def initialize(attributes = {})
|
57
64
|
return unless attributes.is_a?(Hash)
|
58
65
|
|
@@ -4,7 +4,7 @@ require 'date'
|
|
4
4
|
|
5
5
|
module OCI
|
6
6
|
class Core::Models::CreateCrossConnectGroupDetails
|
7
|
-
# The OCID of the compartment to contain the cross-connect group.
|
7
|
+
# **[Required]** The OCID of the compartment to contain the cross-connect group.
|
8
8
|
# @return [String]
|
9
9
|
attr_accessor :compartment_id
|
10
10
|
|
@@ -17,6 +17,8 @@ module OCI
|
|
17
17
|
|
18
18
|
# Initializes the object
|
19
19
|
# @param [Hash] attributes Model attributes in the form of hash
|
20
|
+
# @option attributes [String] :compartmentId The value to assign to the {#compartment_id} property
|
21
|
+
# @option attributes [String] :displayName The value to assign to the {#display_name} property
|
20
22
|
def initialize(attributes = {})
|
21
23
|
return unless attributes.is_a?(Hash)
|
22
24
|
|
@@ -4,7 +4,7 @@ require 'date'
|
|
4
4
|
|
5
5
|
module OCI
|
6
6
|
class Core::Models::CreateDhcpDetails
|
7
|
-
# The OCID of the compartment to contain the set of DHCP options.
|
7
|
+
# **[Required]** The OCID of the compartment to contain the set of DHCP options.
|
8
8
|
# @return [String]
|
9
9
|
attr_accessor :compartment_id
|
10
10
|
|
@@ -29,17 +29,23 @@ module OCI
|
|
29
29
|
# @return [Hash<String, String>]
|
30
30
|
attr_accessor :freeform_tags
|
31
31
|
|
32
|
-
# A set of DHCP options.
|
32
|
+
# **[Required]** A set of DHCP options.
|
33
33
|
# @return [Array<OCI::Core::Models::DhcpOption>]
|
34
34
|
attr_accessor :options
|
35
35
|
|
36
|
-
# The OCID of the VCN the set of DHCP options belongs to.
|
36
|
+
# **[Required]** The OCID of the VCN the set of DHCP options belongs to.
|
37
37
|
# @return [String]
|
38
38
|
attr_accessor :vcn_id
|
39
39
|
|
40
40
|
|
41
41
|
# Initializes the object
|
42
42
|
# @param [Hash] attributes Model attributes in the form of hash
|
43
|
+
# @option attributes [String] :compartmentId The value to assign to the {#compartment_id} property
|
44
|
+
# @option attributes [Hash<String, Hash<String, Object>>] :definedTags The value to assign to the {#defined_tags} property
|
45
|
+
# @option attributes [String] :displayName The value to assign to the {#display_name} property
|
46
|
+
# @option attributes [Hash<String, String>] :freeformTags The value to assign to the {#freeform_tags} property
|
47
|
+
# @option attributes [Array<OCI::Core::Models::DhcpOption>] :options The value to assign to the {#options} property
|
48
|
+
# @option attributes [String] :vcnId The value to assign to the {#vcn_id} property
|
43
49
|
def initialize(attributes = {})
|
44
50
|
return unless attributes.is_a?(Hash)
|
45
51
|
|
@@ -8,17 +8,20 @@ module OCI
|
|
8
8
|
# @return [String]
|
9
9
|
attr_accessor :display_name
|
10
10
|
|
11
|
-
# The OCID of the DRG.
|
11
|
+
# **[Required]** The OCID of the DRG.
|
12
12
|
# @return [String]
|
13
13
|
attr_accessor :drg_id
|
14
14
|
|
15
|
-
# The OCID of the VCN.
|
15
|
+
# **[Required]** The OCID of the VCN.
|
16
16
|
# @return [String]
|
17
17
|
attr_accessor :vcn_id
|
18
18
|
|
19
19
|
|
20
20
|
# Initializes the object
|
21
21
|
# @param [Hash] attributes Model attributes in the form of hash
|
22
|
+
# @option attributes [String] :displayName The value to assign to the {#display_name} property
|
23
|
+
# @option attributes [String] :drgId The value to assign to the {#drg_id} property
|
24
|
+
# @option attributes [String] :vcnId The value to assign to the {#vcn_id} property
|
22
25
|
def initialize(attributes = {})
|
23
26
|
return unless attributes.is_a?(Hash)
|
24
27
|
|
@@ -4,7 +4,7 @@ require 'date'
|
|
4
4
|
|
5
5
|
module OCI
|
6
6
|
class Core::Models::CreateDrgDetails
|
7
|
-
# The OCID of the compartment to contain the DRG.
|
7
|
+
# **[Required]** The OCID of the compartment to contain the DRG.
|
8
8
|
# @return [String]
|
9
9
|
attr_accessor :compartment_id
|
10
10
|
|
@@ -15,6 +15,8 @@ module OCI
|
|
15
15
|
|
16
16
|
# Initializes the object
|
17
17
|
# @param [Hash] attributes Model attributes in the form of hash
|
18
|
+
# @option attributes [String] :compartmentId The value to assign to the {#compartment_id} property
|
19
|
+
# @option attributes [String] :displayName The value to assign to the {#display_name} property
|
18
20
|
def initialize(attributes = {})
|
19
21
|
return unless attributes.is_a?(Hash)
|
20
22
|
|
@@ -3,13 +3,14 @@
|
|
3
3
|
require 'date'
|
4
4
|
|
5
5
|
module OCI
|
6
|
+
# Either instanceId or imageSourceDetails must be provided in addition to other required parameters.
|
6
7
|
class Core::Models::CreateImageDetails
|
7
8
|
|
8
9
|
LAUNCH_MODE_ENUM = [LAUNCH_MODE_NATIVE = 'NATIVE',
|
9
10
|
LAUNCH_MODE_EMULATED = 'EMULATED',
|
10
11
|
LAUNCH_MODE_CUSTOM = 'CUSTOM']
|
11
12
|
|
12
|
-
# The OCID of the compartment containing the instance you want to use as the basis for the image.
|
13
|
+
# **[Required]** The OCID of the compartment containing the instance you want to use as the basis for the image.
|
13
14
|
# @return [String]
|
14
15
|
attr_accessor :compartment_id
|
15
16
|
|
@@ -59,6 +60,13 @@ module OCI
|
|
59
60
|
|
60
61
|
# Initializes the object
|
61
62
|
# @param [Hash] attributes Model attributes in the form of hash
|
63
|
+
# @option attributes [String] :compartmentId The value to assign to the {#compartment_id} property
|
64
|
+
# @option attributes [Hash<String, Hash<String, Object>>] :definedTags The value to assign to the {#defined_tags} property
|
65
|
+
# @option attributes [String] :displayName The value to assign to the {#display_name} property
|
66
|
+
# @option attributes [Hash<String, String>] :freeformTags The value to assign to the {#freeform_tags} property
|
67
|
+
# @option attributes [OCI::Core::Models::ImageSourceDetails] :imageSourceDetails The value to assign to the {#image_source_details} property
|
68
|
+
# @option attributes [String] :instanceId The value to assign to the {#instance_id} property
|
69
|
+
# @option attributes [String] :launchMode The value to assign to the {#launch_mode} property
|
62
70
|
def initialize(attributes = {})
|
63
71
|
return unless attributes.is_a?(Hash)
|
64
72
|
|
@@ -3,6 +3,9 @@
|
|
3
3
|
require 'date'
|
4
4
|
|
5
5
|
module OCI
|
6
|
+
# The details for creating a instance console connection.
|
7
|
+
# The instance console connection is created in the same compartment as the instance.
|
8
|
+
#
|
6
9
|
class Core::Models::CreateInstanceConsoleConnectionDetails
|
7
10
|
# Defined tags for this resource. Each key is predefined and scoped to a namespace.
|
8
11
|
# For more information, see [Resource Tags](https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm).
|
@@ -21,17 +24,21 @@ module OCI
|
|
21
24
|
# @return [Hash<String, String>]
|
22
25
|
attr_accessor :freeform_tags
|
23
26
|
|
24
|
-
# The OCID of the instance to create the console connection to.
|
27
|
+
# **[Required]** The OCID of the instance to create the console connection to.
|
25
28
|
# @return [String]
|
26
29
|
attr_accessor :instance_id
|
27
30
|
|
28
|
-
# The SSH public key used to authenticate the console connection.
|
31
|
+
# **[Required]** The SSH public key used to authenticate the console connection.
|
29
32
|
# @return [String]
|
30
33
|
attr_accessor :public_key
|
31
34
|
|
32
35
|
|
33
36
|
# Initializes the object
|
34
37
|
# @param [Hash] attributes Model attributes in the form of hash
|
38
|
+
# @option attributes [Hash<String, Hash<String, Object>>] :definedTags The value to assign to the {#defined_tags} property
|
39
|
+
# @option attributes [Hash<String, String>] :freeformTags The value to assign to the {#freeform_tags} property
|
40
|
+
# @option attributes [String] :instanceId The value to assign to the {#instance_id} property
|
41
|
+
# @option attributes [String] :publicKey The value to assign to the {#public_key} property
|
35
42
|
def initialize(attributes = {})
|
36
43
|
return unless attributes.is_a?(Hash)
|
37
44
|
|
@@ -4,7 +4,7 @@ require 'date'
|
|
4
4
|
|
5
5
|
module OCI
|
6
6
|
class Core::Models::CreateInternetGatewayDetails
|
7
|
-
# The OCID of the compartment to contain the Internet Gateway.
|
7
|
+
# **[Required]** The OCID of the compartment to contain the Internet Gateway.
|
8
8
|
# @return [String]
|
9
9
|
attr_accessor :compartment_id
|
10
10
|
|
@@ -12,17 +12,21 @@ module OCI
|
|
12
12
|
# @return [String]
|
13
13
|
attr_accessor :display_name
|
14
14
|
|
15
|
-
# Whether the gateway is enabled upon creation.
|
15
|
+
# **[Required]** Whether the gateway is enabled upon creation.
|
16
16
|
# @return [BOOLEAN]
|
17
17
|
attr_accessor :is_enabled
|
18
18
|
|
19
|
-
# The OCID of the VCN the Internet Gateway is attached to.
|
19
|
+
# **[Required]** The OCID of the VCN the Internet Gateway is attached to.
|
20
20
|
# @return [String]
|
21
21
|
attr_accessor :vcn_id
|
22
22
|
|
23
23
|
|
24
24
|
# Initializes the object
|
25
25
|
# @param [Hash] attributes Model attributes in the form of hash
|
26
|
+
# @option attributes [String] :compartmentId The value to assign to the {#compartment_id} property
|
27
|
+
# @option attributes [String] :displayName The value to assign to the {#display_name} property
|
28
|
+
# @option attributes [BOOLEAN] :isEnabled The value to assign to the {#is_enabled} property
|
29
|
+
# @option attributes [String] :vcnId The value to assign to the {#vcn_id} property
|
26
30
|
def initialize(attributes = {})
|
27
31
|
return unless attributes.is_a?(Hash)
|
28
32
|
|
@@ -37,7 +41,7 @@ module OCI
|
|
37
41
|
self.display_name = attributes[:'displayName']
|
38
42
|
end
|
39
43
|
|
40
|
-
|
44
|
+
unless attributes[:'isEnabled'].nil?
|
41
45
|
self.is_enabled = attributes[:'isEnabled']
|
42
46
|
end
|
43
47
|
|
@@ -4,11 +4,11 @@ require 'date'
|
|
4
4
|
|
5
5
|
module OCI
|
6
6
|
class Core::Models::CreateIPSecConnectionDetails
|
7
|
-
# The OCID of the compartment to contain the IPSec connection.
|
7
|
+
# **[Required]** The OCID of the compartment to contain the IPSec connection.
|
8
8
|
# @return [String]
|
9
9
|
attr_accessor :compartment_id
|
10
10
|
|
11
|
-
# The OCID of the CPE.
|
11
|
+
# **[Required]** The OCID of the CPE.
|
12
12
|
# @return [String]
|
13
13
|
attr_accessor :cpe_id
|
14
14
|
|
@@ -16,11 +16,11 @@ module OCI
|
|
16
16
|
# @return [String]
|
17
17
|
attr_accessor :display_name
|
18
18
|
|
19
|
-
# The OCID of the DRG.
|
19
|
+
# **[Required]** The OCID of the DRG.
|
20
20
|
# @return [String]
|
21
21
|
attr_accessor :drg_id
|
22
22
|
|
23
|
-
# Static routes to the CPE. At least one route must be included. The CIDR must not be a
|
23
|
+
# **[Required]** Static routes to the CPE. At least one route must be included. The CIDR must not be a
|
24
24
|
# multicast address or class E address.
|
25
25
|
#
|
26
26
|
# Example: `10.0.1.0/24`
|
@@ -31,6 +31,11 @@ module OCI
|
|
31
31
|
|
32
32
|
# Initializes the object
|
33
33
|
# @param [Hash] attributes Model attributes in the form of hash
|
34
|
+
# @option attributes [String] :compartmentId The value to assign to the {#compartment_id} property
|
35
|
+
# @option attributes [String] :cpeId The value to assign to the {#cpe_id} property
|
36
|
+
# @option attributes [String] :displayName The value to assign to the {#display_name} property
|
37
|
+
# @option attributes [String] :drgId The value to assign to the {#drg_id} property
|
38
|
+
# @option attributes [Array<String>] :staticRoutes The value to assign to the {#static_routes} property
|
34
39
|
def initialize(attributes = {})
|
35
40
|
return unless attributes.is_a?(Hash)
|
36
41
|
|
@@ -4,7 +4,7 @@ require 'date'
|
|
4
4
|
|
5
5
|
module OCI
|
6
6
|
class Core::Models::CreateLocalPeeringGatewayDetails
|
7
|
-
# The OCID of the compartment containing the local peering gateway (LPG).
|
7
|
+
# **[Required]** The OCID of the compartment containing the local peering gateway (LPG).
|
8
8
|
# @return [String]
|
9
9
|
attr_accessor :compartment_id
|
10
10
|
|
@@ -14,13 +14,16 @@ module OCI
|
|
14
14
|
# @return [String]
|
15
15
|
attr_accessor :display_name
|
16
16
|
|
17
|
-
# The OCID of the VCN the LPG belongs to.
|
17
|
+
# **[Required]** The OCID of the VCN the LPG belongs to.
|
18
18
|
# @return [String]
|
19
19
|
attr_accessor :vcn_id
|
20
20
|
|
21
21
|
|
22
22
|
# Initializes the object
|
23
23
|
# @param [Hash] attributes Model attributes in the form of hash
|
24
|
+
# @option attributes [String] :compartmentId The value to assign to the {#compartment_id} property
|
25
|
+
# @option attributes [String] :displayName The value to assign to the {#display_name} property
|
26
|
+
# @option attributes [String] :vcnId The value to assign to the {#vcn_id} property
|
24
27
|
def initialize(attributes = {})
|
25
28
|
return unless attributes.is_a?(Hash)
|
26
29
|
|
@@ -51,7 +51,7 @@ module OCI
|
|
51
51
|
# @return [String]
|
52
52
|
attr_accessor :ip_address
|
53
53
|
|
54
|
-
# The OCID of the VNIC to assign the private IP to. The VNIC and private IP
|
54
|
+
# **[Required]** The OCID of the VNIC to assign the private IP to. The VNIC and private IP
|
55
55
|
# must be in the same subnet.
|
56
56
|
#
|
57
57
|
# @return [String]
|
@@ -60,6 +60,12 @@ module OCI
|
|
60
60
|
|
61
61
|
# Initializes the object
|
62
62
|
# @param [Hash] attributes Model attributes in the form of hash
|
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 [Hash<String, String>] :freeformTags The value to assign to the {#freeform_tags} property
|
66
|
+
# @option attributes [String] :hostnameLabel The value to assign to the {#hostname_label} property
|
67
|
+
# @option attributes [String] :ipAddress The value to assign to the {#ip_address} property
|
68
|
+
# @option attributes [String] :vnicId The value to assign to the {#vnic_id} property
|
63
69
|
def initialize(attributes = {})
|
64
70
|
return unless attributes.is_a?(Hash)
|
65
71
|
|
@@ -4,7 +4,7 @@ require 'date'
|
|
4
4
|
|
5
5
|
module OCI
|
6
6
|
class Core::Models::CreateRouteTableDetails
|
7
|
-
# The OCID of the compartment to contain the route table.
|
7
|
+
# **[Required]** The OCID of the compartment to contain the route table.
|
8
8
|
# @return [String]
|
9
9
|
attr_accessor :compartment_id
|
10
10
|
|
@@ -29,17 +29,23 @@ module OCI
|
|
29
29
|
# @return [Hash<String, String>]
|
30
30
|
attr_accessor :freeform_tags
|
31
31
|
|
32
|
-
# The collection of rules used for routing destination IPs to network devices.
|
32
|
+
# **[Required]** The collection of rules used for routing destination IPs to network devices.
|
33
33
|
# @return [Array<OCI::Core::Models::RouteRule>]
|
34
34
|
attr_accessor :route_rules
|
35
35
|
|
36
|
-
# The OCID of the VCN the route table belongs to.
|
36
|
+
# **[Required]** The OCID of the VCN the route table belongs to.
|
37
37
|
# @return [String]
|
38
38
|
attr_accessor :vcn_id
|
39
39
|
|
40
40
|
|
41
41
|
# Initializes the object
|
42
42
|
# @param [Hash] attributes Model attributes in the form of hash
|
43
|
+
# @option attributes [String] :compartmentId The value to assign to the {#compartment_id} property
|
44
|
+
# @option attributes [Hash<String, Hash<String, Object>>] :definedTags The value to assign to the {#defined_tags} property
|
45
|
+
# @option attributes [String] :displayName The value to assign to the {#display_name} property
|
46
|
+
# @option attributes [Hash<String, String>] :freeformTags The value to assign to the {#freeform_tags} property
|
47
|
+
# @option attributes [Array<OCI::Core::Models::RouteRule>] :routeRules The value to assign to the {#route_rules} property
|
48
|
+
# @option attributes [String] :vcnId The value to assign to the {#vcn_id} property
|
43
49
|
def initialize(attributes = {})
|
44
50
|
return unless attributes.is_a?(Hash)
|
45
51
|
|
@@ -4,7 +4,7 @@ require 'date'
|
|
4
4
|
|
5
5
|
module OCI
|
6
6
|
class Core::Models::CreateSecurityListDetails
|
7
|
-
# The OCID of the compartment to contain the security list.
|
7
|
+
# **[Required]** The OCID of the compartment to contain the security list.
|
8
8
|
# @return [String]
|
9
9
|
attr_accessor :compartment_id
|
10
10
|
|
@@ -20,7 +20,7 @@ module OCI
|
|
20
20
|
# @return [String]
|
21
21
|
attr_accessor :display_name
|
22
22
|
|
23
|
-
# Rules for allowing egress IP packets.
|
23
|
+
# **[Required]** Rules for allowing egress IP packets.
|
24
24
|
# @return [Array<OCI::Core::Models::EgressSecurityRule>]
|
25
25
|
attr_accessor :egress_security_rules
|
26
26
|
|
@@ -33,17 +33,24 @@ module OCI
|
|
33
33
|
# @return [Hash<String, String>]
|
34
34
|
attr_accessor :freeform_tags
|
35
35
|
|
36
|
-
# Rules for allowing ingress IP packets.
|
36
|
+
# **[Required]** Rules for allowing ingress IP packets.
|
37
37
|
# @return [Array<OCI::Core::Models::IngressSecurityRule>]
|
38
38
|
attr_accessor :ingress_security_rules
|
39
39
|
|
40
|
-
# The OCID of the VCN the security list belongs to.
|
40
|
+
# **[Required]** The OCID of the VCN the security list belongs to.
|
41
41
|
# @return [String]
|
42
42
|
attr_accessor :vcn_id
|
43
43
|
|
44
44
|
|
45
45
|
# Initializes the object
|
46
46
|
# @param [Hash] attributes Model attributes in the form of hash
|
47
|
+
# @option attributes [String] :compartmentId The value to assign to the {#compartment_id} property
|
48
|
+
# @option attributes [Hash<String, Hash<String, Object>>] :definedTags The value to assign to the {#defined_tags} property
|
49
|
+
# @option attributes [String] :displayName The value to assign to the {#display_name} property
|
50
|
+
# @option attributes [Array<OCI::Core::Models::EgressSecurityRule>] :egressSecurityRules The value to assign to the {#egress_security_rules} property
|
51
|
+
# @option attributes [Hash<String, String>] :freeformTags The value to assign to the {#freeform_tags} property
|
52
|
+
# @option attributes [Array<OCI::Core::Models::IngressSecurityRule>] :ingressSecurityRules The value to assign to the {#ingress_security_rules} property
|
53
|
+
# @option attributes [String] :vcnId The value to assign to the {#vcn_id} property
|
47
54
|
def initialize(attributes = {})
|
48
55
|
return unless attributes.is_a?(Hash)
|
49
56
|
|
@@ -4,21 +4,21 @@ require 'date'
|
|
4
4
|
|
5
5
|
module OCI
|
6
6
|
class Core::Models::CreateSubnetDetails
|
7
|
-
# The Availability Domain to contain the subnet.
|
7
|
+
# **[Required]** The Availability Domain to contain the subnet.
|
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 CIDR IP address range of the subnet.
|
14
|
+
# **[Required]** The CIDR IP address range of the subnet.
|
15
15
|
#
|
16
16
|
# Example: `172.16.1.0/24`
|
17
17
|
#
|
18
18
|
# @return [String]
|
19
19
|
attr_accessor :cidr_block
|
20
20
|
|
21
|
-
# The OCID of the compartment to contain the subnet.
|
21
|
+
# **[Required]** The OCID of the compartment to contain the subnet.
|
22
22
|
# @return [String]
|
23
23
|
attr_accessor :compartment_id
|
24
24
|
|
@@ -95,13 +95,25 @@ module OCI
|
|
95
95
|
# @return [Array<String>]
|
96
96
|
attr_accessor :security_list_ids
|
97
97
|
|
98
|
-
# The OCID of the VCN to contain the subnet.
|
98
|
+
# **[Required]** The OCID of the VCN to contain the subnet.
|
99
99
|
# @return [String]
|
100
100
|
attr_accessor :vcn_id
|
101
101
|
|
102
102
|
|
103
103
|
# Initializes the object
|
104
104
|
# @param [Hash] attributes Model attributes in the form of hash
|
105
|
+
# @option attributes [String] :availabilityDomain The value to assign to the {#availability_domain} property
|
106
|
+
# @option attributes [String] :cidrBlock The value to assign to the {#cidr_block} property
|
107
|
+
# @option attributes [String] :compartmentId The value to assign to the {#compartment_id} property
|
108
|
+
# @option attributes [Hash<String, Hash<String, Object>>] :definedTags The value to assign to the {#defined_tags} property
|
109
|
+
# @option attributes [String] :dhcpOptionsId The value to assign to the {#dhcp_options_id} property
|
110
|
+
# @option attributes [String] :displayName The value to assign to the {#display_name} property
|
111
|
+
# @option attributes [String] :dnsLabel The value to assign to the {#dns_label} property
|
112
|
+
# @option attributes [Hash<String, String>] :freeformTags The value to assign to the {#freeform_tags} property
|
113
|
+
# @option attributes [BOOLEAN] :prohibitPublicIpOnVnic The value to assign to the {#prohibit_public_ip_on_vnic} property
|
114
|
+
# @option attributes [String] :routeTableId The value to assign to the {#route_table_id} property
|
115
|
+
# @option attributes [Array<String>] :securityListIds The value to assign to the {#security_list_ids} property
|
116
|
+
# @option attributes [String] :vcnId The value to assign to the {#vcn_id} property
|
105
117
|
def initialize(attributes = {})
|
106
118
|
return unless attributes.is_a?(Hash)
|
107
119
|
|
@@ -140,7 +152,7 @@ module OCI
|
|
140
152
|
self.freeform_tags = attributes[:'freeformTags']
|
141
153
|
end
|
142
154
|
|
143
|
-
|
155
|
+
unless attributes[:'prohibitPublicIpOnVnic'].nil?
|
144
156
|
self.prohibit_public_ip_on_vnic = attributes[:'prohibitPublicIpOnVnic']
|
145
157
|
end
|
146
158
|
|