oci 2.0.7 → 2.0.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +2 -1
- data/lib/oci.rb +1 -0
- data/lib/oci/api_client.rb +21 -11
- data/lib/oci/audit/models/audit_event.rb +133 -19
- data/lib/oci/audit/models/configuration.rb +7 -1
- data/lib/oci/audit/models/update_configuration_details.rb +7 -1
- data/lib/oci/base_signer.rb +1 -2
- data/lib/oci/core/models/attach_boot_volume_details.rb +21 -3
- data/lib/oci/core/models/attach_i_scsi_volume_details.rb +11 -5
- data/lib/oci/core/models/attach_vnic_details.rb +28 -4
- data/lib/oci/core/models/attach_volume_details.rb +28 -4
- data/lib/oci/core/models/boot_volume.rb +56 -8
- data/lib/oci/core/models/boot_volume_attachment.rb +49 -7
- data/lib/oci/core/models/bulk_add_virtual_circuit_public_prefixes_details.rb +7 -1
- data/lib/oci/core/models/bulk_delete_virtual_circuit_public_prefixes_details.rb +7 -1
- data/lib/oci/core/models/capture_console_history_details.rb +28 -4
- data/lib/oci/core/models/connect_local_peering_gateways_details.rb +7 -1
- data/lib/oci/core/models/console_history.rb +56 -8
- data/lib/oci/core/models/cpe.rb +28 -4
- data/lib/oci/core/models/create_cpe_details.rb +21 -3
- data/lib/oci/core/models/create_cross_connect_details.rb +49 -7
- data/lib/oci/core/models/create_cross_connect_group_details.rb +14 -2
- data/lib/oci/core/models/create_dhcp_details.rb +35 -5
- data/lib/oci/core/models/create_drg_attachment_details.rb +21 -3
- data/lib/oci/core/models/create_drg_details.rb +14 -2
- data/lib/oci/core/models/create_image_details.rb +49 -7
- data/lib/oci/core/models/create_instance_console_connection_details.rb +28 -4
- data/lib/oci/core/models/create_internet_gateway_details.rb +28 -4
- data/lib/oci/core/models/create_ip_sec_connection_details.rb +35 -5
- data/lib/oci/core/models/create_local_peering_gateway_details.rb +21 -3
- data/lib/oci/core/models/create_private_ip_details.rb +42 -6
- data/lib/oci/core/models/create_public_ip_details.rb +21 -3
- data/lib/oci/core/models/create_route_table_details.rb +42 -6
- data/lib/oci/core/models/create_security_list_details.rb +49 -7
- data/lib/oci/core/models/create_subnet_details.rb +84 -12
- data/lib/oci/core/models/create_vcn_details.rb +42 -6
- data/lib/oci/core/models/create_virtual_circuit_details.rb +70 -10
- data/lib/oci/core/models/create_virtual_circuit_public_prefix_details.rb +7 -1
- data/lib/oci/core/models/create_vnic_details.rb +42 -6
- data/lib/oci/core/models/create_volume_backup_details.rb +28 -4
- data/lib/oci/core/models/create_volume_backup_policy_assignment_details.rb +14 -2
- data/lib/oci/core/models/create_volume_details.rb +70 -10
- data/lib/oci/core/models/cross_connect.rb +56 -8
- data/lib/oci/core/models/cross_connect_group.rb +28 -4
- data/lib/oci/core/models/cross_connect_mapping.rb +28 -4
- data/lib/oci/core/models/cross_connect_port_speed_shape.rb +7 -1
- data/lib/oci/core/models/cross_connect_status.rb +28 -4
- data/lib/oci/core/models/delete_virtual_circuit_public_prefix_details.rb +7 -1
- data/lib/oci/core/models/dhcp_dns_option.rb +14 -2
- data/lib/oci/core/models/dhcp_options.rb +49 -7
- data/lib/oci/core/models/dhcp_search_domain_option.rb +7 -1
- data/lib/oci/core/models/drg.rb +28 -4
- data/lib/oci/core/models/drg_attachment.rb +42 -6
- data/lib/oci/core/models/egress_security_rule.rb +28 -4
- data/lib/oci/core/models/export_image_details.rb +7 -1
- data/lib/oci/core/models/export_image_via_object_storage_tuple_details.rb +21 -3
- data/lib/oci/core/models/export_image_via_object_storage_uri_details.rb +7 -1
- data/lib/oci/core/models/fast_connect_provider_service.rb +35 -5
- data/lib/oci/core/models/get_public_ip_by_ip_address_details.rb +7 -1
- data/lib/oci/core/models/get_public_ip_by_private_ip_id_details.rb +7 -1
- data/lib/oci/core/models/i_scsi_volume_attachment.rb +22 -10
- data/lib/oci/core/models/image.rb +84 -12
- data/lib/oci/core/models/image_source_details.rb +14 -2
- data/lib/oci/core/models/image_source_via_object_storage_tuple_details.rb +22 -4
- data/lib/oci/core/models/image_source_via_object_storage_uri_details.rb +8 -2
- data/lib/oci/core/models/ingress_security_rule.rb +28 -4
- data/lib/oci/core/models/instance.rb +91 -13
- data/lib/oci/core/models/instance_console_connection.rb +49 -7
- data/lib/oci/core/models/instance_source_details.rb +7 -1
- data/lib/oci/core/models/instance_source_via_boot_volume_details.rb +7 -1
- data/lib/oci/core/models/instance_source_via_image_details.rb +7 -1
- data/lib/oci/core/models/internet_gateway.rb +42 -6
- data/lib/oci/core/models/ip_sec_connection.rb +49 -7
- data/lib/oci/core/models/ip_sec_connection_device_config.rb +14 -2
- data/lib/oci/core/models/ip_sec_connection_device_status.rb +14 -2
- data/lib/oci/core/models/launch_instance_details.rb +84 -12
- data/lib/oci/core/models/launch_options.rb +21 -3
- data/lib/oci/core/models/letter_of_authority.rb +49 -7
- data/lib/oci/core/models/local_peering_gateway.rb +63 -9
- data/lib/oci/core/models/private_ip.rb +77 -11
- data/lib/oci/core/models/public_ip.rb +49 -7
- data/lib/oci/core/models/route_rule.rb +14 -2
- data/lib/oci/core/models/route_table.rb +56 -8
- data/lib/oci/core/models/security_list.rb +63 -9
- data/lib/oci/core/models/subnet.rb +119 -17
- data/lib/oci/core/models/tcp_options.rb +14 -2
- data/lib/oci/core/models/tunnel_config.rb +21 -3
- data/lib/oci/core/models/tunnel_status.rb +28 -4
- data/lib/oci/core/models/udp_options.rb +14 -2
- data/lib/oci/core/models/update_boot_volume_details.rb +7 -1
- data/lib/oci/core/models/update_console_history_details.rb +21 -3
- data/lib/oci/core/models/update_cpe_details.rb +7 -1
- data/lib/oci/core/models/update_cross_connect_details.rb +14 -2
- data/lib/oci/core/models/update_cross_connect_group_details.rb +7 -1
- data/lib/oci/core/models/update_dhcp_details.rb +21 -3
- data/lib/oci/core/models/update_drg_attachment_details.rb +7 -1
- data/lib/oci/core/models/update_drg_details.rb +7 -1
- data/lib/oci/core/models/update_image_details.rb +21 -3
- data/lib/oci/core/models/update_instance_details.rb +21 -3
- data/lib/oci/core/models/update_internet_gateway_details.rb +14 -2
- data/lib/oci/core/models/update_ip_sec_connection_details.rb +7 -1
- data/lib/oci/core/models/update_local_peering_gateway_details.rb +7 -1
- data/lib/oci/core/models/update_private_ip_details.rb +35 -5
- data/lib/oci/core/models/update_public_ip_details.rb +14 -2
- data/lib/oci/core/models/update_route_table_details.rb +28 -4
- data/lib/oci/core/models/update_security_list_details.rb +35 -5
- data/lib/oci/core/models/update_subnet_details.rb +21 -3
- data/lib/oci/core/models/update_vcn_details.rb +21 -3
- data/lib/oci/core/models/update_virtual_circuit_details.rb +49 -7
- data/lib/oci/core/models/update_vnic_details.rb +21 -3
- data/lib/oci/core/models/update_volume_backup_details.rb +21 -3
- data/lib/oci/core/models/update_volume_details.rb +21 -3
- data/lib/oci/core/models/vcn.rb +84 -12
- data/lib/oci/core/models/virtual_circuit.rb +126 -18
- data/lib/oci/core/models/virtual_circuit_bandwidth_shape.rb +7 -1
- data/lib/oci/core/models/virtual_circuit_public_prefix.rb +14 -2
- data/lib/oci/core/models/vnic.rb +84 -12
- data/lib/oci/core/models/vnic_attachment.rb +70 -10
- data/lib/oci/core/models/volume.rb +77 -11
- data/lib/oci/core/models/volume_attachment.rb +63 -9
- data/lib/oci/core/models/volume_backup.rb +98 -14
- data/lib/oci/core/models/volume_backup_policy.rb +14 -2
- data/lib/oci/core/models/volume_backup_policy_assignment.rb +21 -3
- data/lib/oci/core/models/volume_backup_schedule.rb +21 -3
- data/lib/oci/database/database_client.rb +2 -2
- data/lib/oci/database/models/backup.rb +56 -8
- data/lib/oci/database/models/backup_summary.rb +56 -8
- data/lib/oci/database/models/create_backup_details.rb +14 -2
- data/lib/oci/database/models/create_data_guard_association_details.rb +28 -4
- data/lib/oci/database/models/create_data_guard_association_to_existing_db_system_details.rb +10 -4
- data/lib/oci/database/models/create_database_details.rb +49 -7
- data/lib/oci/database/models/create_database_from_backup_details.rb +21 -3
- data/lib/oci/database/models/create_db_home_details.rb +14 -2
- data/lib/oci/database/models/create_db_home_with_db_system_id_base.rb +14 -2
- data/lib/oci/database/models/create_db_home_with_db_system_id_details.rb +9 -3
- data/lib/oci/database/models/create_db_home_with_db_system_id_from_backup_details.rb +2 -2
- data/lib/oci/database/models/data_guard_association.rb +91 -13
- data/lib/oci/database/models/data_guard_association_summary.rb +91 -13
- data/lib/oci/database/models/database.rb +84 -12
- data/lib/oci/database/models/database_summary.rb +84 -12
- data/lib/oci/database/models/db_backup_config.rb +7 -1
- data/lib/oci/database/models/db_home.rb +49 -7
- data/lib/oci/database/models/db_home_summary.rb +49 -7
- data/lib/oci/database/models/db_node.rb +42 -6
- data/lib/oci/database/models/db_node_summary.rb +42 -6
- data/lib/oci/database/models/db_system.rb +161 -23
- data/lib/oci/database/models/db_system_shape_summary.rb +7 -1
- data/lib/oci/database/models/db_system_summary.rb +161 -23
- data/lib/oci/database/models/db_version_summary.rb +7 -1
- data/lib/oci/database/models/failover_data_guard_association_details.rb +7 -1
- data/lib/oci/database/models/launch_db_system_details.rb +105 -15
- data/lib/oci/database/models/patch.rb +35 -5
- data/lib/oci/database/models/patch_details.rb +7 -1
- data/lib/oci/database/models/patch_history_entry.rb +35 -5
- data/lib/oci/database/models/patch_history_entry_summary.rb +35 -5
- data/lib/oci/database/models/patch_summary.rb +35 -5
- data/lib/oci/database/models/reinstate_data_guard_association_details.rb +7 -1
- data/lib/oci/database/models/restore_database_details.rb +7 -1
- data/lib/oci/database/models/switchover_data_guard_association_details.rb +7 -1
- data/lib/oci/database/models/update_database_details.rb +7 -1
- data/lib/oci/database/models/update_db_home_details.rb +7 -1
- data/lib/oci/database/models/update_db_system_details.rb +21 -3
- data/lib/oci/dns/models/create_zone_details.rb +21 -3
- data/lib/oci/dns/models/record.rb +21 -3
- data/lib/oci/dns/models/record_details.rb +21 -3
- data/lib/oci/dns/models/record_operation.rb +21 -3
- data/lib/oci/dns/models/update_zone_details.rb +7 -1
- data/lib/oci/dns/models/zone.rb +42 -6
- data/lib/oci/dns/models/zone_summary.rb +28 -4
- data/lib/oci/file_storage/file_storage.rb +33 -0
- data/lib/oci/file_storage/file_storage_client.rb +1117 -0
- data/lib/oci/file_storage/models/create_export_details.rb +162 -0
- data/lib/oci/file_storage/models/create_file_system_details.rb +170 -0
- data/lib/oci/file_storage/models/create_mount_target_details.rb +242 -0
- data/lib/oci/file_storage/models/create_snapshot_details.rb +146 -0
- data/lib/oci/file_storage/models/export.rb +261 -0
- data/lib/oci/file_storage/models/export_set.rb +315 -0
- data/lib/oci/file_storage/models/export_set_summary.rb +260 -0
- data/lib/oci/file_storage/models/export_summary.rb +233 -0
- data/lib/oci/file_storage/models/file_system.rb +273 -0
- data/lib/oci/file_storage/models/file_system_summary.rb +265 -0
- data/lib/oci/file_storage/models/mount_target.rb +320 -0
- data/lib/oci/file_storage/models/mount_target_summary.rb +300 -0
- data/lib/oci/file_storage/models/snapshot.rb +217 -0
- data/lib/oci/file_storage/models/snapshot_summary.rb +217 -0
- data/lib/oci/file_storage/models/update_export_set_details.rb +185 -0
- data/lib/oci/file_storage/models/update_file_system_details.rb +131 -0
- data/lib/oci/file_storage/models/update_mount_target_details.rb +131 -0
- data/lib/oci/file_storage/util.rb +2 -0
- data/lib/oci/identity/models/add_user_to_group_details.rb +14 -2
- data/lib/oci/identity/models/api_key.rb +42 -6
- data/lib/oci/identity/models/availability_domain.rb +7 -1
- data/lib/oci/identity/models/compartment.rb +42 -6
- data/lib/oci/identity/models/create_compartment_details.rb +21 -3
- data/lib/oci/identity/models/create_customer_secret_key_details.rb +7 -1
- data/lib/oci/identity/models/create_dynamic_group_details.rb +14 -2
- data/lib/oci/identity/models/create_group_details.rb +21 -3
- data/lib/oci/identity/models/create_identity_provider_details.rb +28 -4
- data/lib/oci/identity/models/create_idp_group_mapping_details.rb +14 -2
- data/lib/oci/identity/models/create_policy_details.rb +28 -4
- data/lib/oci/identity/models/create_region_subscription_details.rb +7 -1
- data/lib/oci/identity/models/create_saml2_identity_provider_details.rb +11 -5
- data/lib/oci/identity/models/create_tag_details.rb +14 -2
- data/lib/oci/identity/models/create_tag_namespace_details.rb +21 -3
- data/lib/oci/identity/models/create_user_details.rb +21 -3
- data/lib/oci/identity/models/customer_secret_key.rb +42 -6
- data/lib/oci/identity/models/customer_secret_key_summary.rb +42 -6
- data/lib/oci/identity/models/dynamic_group.rb +35 -5
- data/lib/oci/identity/models/group.rb +42 -6
- data/lib/oci/identity/models/identity_provider.rb +49 -7
- data/lib/oci/identity/models/idp_group_mapping.rb +49 -7
- data/lib/oci/identity/models/policy.rb +49 -7
- data/lib/oci/identity/models/region_subscription.rb +21 -3
- data/lib/oci/identity/models/saml2_identity_provider.rb +28 -10
- data/lib/oci/identity/models/swift_password.rb +35 -5
- data/lib/oci/identity/models/tag.rb +49 -7
- data/lib/oci/identity/models/tag_namespace.rb +35 -5
- data/lib/oci/identity/models/tag_namespace_summary.rb +35 -5
- data/lib/oci/identity/models/tag_summary.rb +35 -5
- data/lib/oci/identity/models/tenancy.rb +21 -3
- data/lib/oci/identity/models/ui_password.rb +28 -4
- data/lib/oci/identity/models/update_compartment_details.rb +14 -2
- data/lib/oci/identity/models/update_customer_secret_key_details.rb +7 -1
- data/lib/oci/identity/models/update_dynamic_group_details.rb +7 -1
- data/lib/oci/identity/models/update_group_details.rb +14 -2
- data/lib/oci/identity/models/update_identity_provider_details.rb +14 -2
- data/lib/oci/identity/models/update_idp_group_mapping_details.rb +14 -2
- data/lib/oci/identity/models/update_policy_details.rb +21 -3
- data/lib/oci/identity/models/update_saml2_identity_provider_details.rb +9 -3
- data/lib/oci/identity/models/update_tag_details.rb +21 -3
- data/lib/oci/identity/models/update_tag_namespace_details.rb +21 -3
- data/lib/oci/identity/models/update_user_details.rb +14 -2
- data/lib/oci/identity/models/user.rb +42 -6
- data/lib/oci/identity/models/user_group_membership.rb +42 -6
- data/lib/oci/load_balancer/models/backend.rb +7 -1
- data/lib/oci/load_balancer/models/backend_details.rb +7 -1
- data/lib/oci/load_balancer/models/backend_health.rb +7 -1
- data/lib/oci/load_balancer/models/backend_set.rb +21 -3
- data/lib/oci/load_balancer/models/backend_set_details.rb +21 -3
- data/lib/oci/load_balancer/models/backend_set_health.rb +28 -4
- data/lib/oci/load_balancer/models/certificate.rb +21 -3
- data/lib/oci/load_balancer/models/certificate_details.rb +28 -4
- data/lib/oci/load_balancer/models/connection_configuration.rb +7 -1
- data/lib/oci/load_balancer/models/create_backend_details.rb +7 -1
- data/lib/oci/load_balancer/models/create_backend_set_details.rb +21 -3
- data/lib/oci/load_balancer/models/create_certificate_details.rb +28 -4
- data/lib/oci/load_balancer/models/create_listener_details.rb +28 -4
- data/lib/oci/load_balancer/models/create_load_balancer_details.rb +51 -7
- data/lib/oci/load_balancer/models/create_path_route_set_details.rb +7 -1
- data/lib/oci/load_balancer/models/health_check_result.rb +21 -3
- data/lib/oci/load_balancer/models/health_checker.rb +35 -5
- data/lib/oci/load_balancer/models/health_checker_details.rb +35 -5
- data/lib/oci/load_balancer/models/ip_address.rb +14 -2
- data/lib/oci/load_balancer/models/listener.rb +28 -4
- data/lib/oci/load_balancer/models/listener_details.rb +28 -4
- data/lib/oci/load_balancer/models/load_balancer.rb +70 -10
- data/lib/oci/load_balancer/models/load_balancer_health.rb +28 -4
- data/lib/oci/load_balancer/models/load_balancer_health_summary.rb +7 -1
- data/lib/oci/load_balancer/models/path_match_type.rb +7 -1
- data/lib/oci/load_balancer/models/path_route.rb +14 -2
- data/lib/oci/load_balancer/models/path_route_set.rb +7 -1
- data/lib/oci/load_balancer/models/path_route_set_details.rb +7 -1
- data/lib/oci/load_balancer/models/session_persistence_configuration_details.rb +16 -2
- data/lib/oci/load_balancer/models/ssl_configuration.rb +23 -3
- data/lib/oci/load_balancer/models/ssl_configuration_details.rb +23 -3
- data/lib/oci/load_balancer/models/update_backend_set_details.rb +21 -3
- data/lib/oci/load_balancer/models/update_health_checker_details.rb +35 -5
- data/lib/oci/load_balancer/models/update_listener_details.rb +28 -4
- data/lib/oci/load_balancer/models/update_load_balancer_details.rb +7 -1
- data/lib/oci/load_balancer/models/update_path_route_set_details.rb +7 -1
- data/lib/oci/load_balancer/models/work_request.rb +35 -5
- data/lib/oci/load_balancer/models/work_request_error.rb +7 -1
- data/lib/oci/object_storage/models/bucket.rb +83 -11
- data/lib/oci/object_storage/models/bucket_summary.rb +67 -7
- data/lib/oci/object_storage/models/commit_multipart_upload_details.rb +14 -2
- data/lib/oci/object_storage/models/commit_multipart_upload_part_details.rb +7 -1
- data/lib/oci/object_storage/models/create_bucket_details.rb +67 -7
- data/lib/oci/object_storage/models/create_multipart_upload_details.rb +21 -3
- data/lib/oci/object_storage/models/create_preauthenticated_request_details.rb +21 -3
- data/lib/oci/object_storage/models/list_objects.rb +7 -1
- data/lib/oci/object_storage/models/multipart_upload.rb +14 -2
- data/lib/oci/object_storage/models/multipart_upload_part_summary.rb +7 -1
- data/lib/oci/object_storage/models/namespace_metadata.rb +14 -2
- data/lib/oci/object_storage/models/object_summary.rb +7 -1
- data/lib/oci/object_storage/models/preauthenticated_request.rb +35 -5
- data/lib/oci/object_storage/models/preauthenticated_request_summary.rb +28 -4
- data/lib/oci/object_storage/models/rename_object_details.rb +35 -5
- data/lib/oci/object_storage/models/restore_objects_details.rb +25 -5
- data/lib/oci/object_storage/models/update_bucket_details.rb +60 -6
- data/lib/oci/object_storage/models/update_namespace_metadata_details.rb +14 -2
- data/lib/oci/object_storage/object_storage_client.rb +17 -5
- data/lib/oci/object_storage/transfer/multipart/multipart_object_assembler.rb +11 -3
- data/lib/oci/signer.rb +0 -8
- data/lib/oci/version.rb +1 -1
- data/lib/oci/waiter.rb +1 -0
- metadata +22 -2
|
@@ -22,8 +22,8 @@ module OCI
|
|
|
22
22
|
|
|
23
23
|
# Initializes the object
|
|
24
24
|
# @param [Hash] attributes Model attributes in the form of hash
|
|
25
|
-
# @option attributes [OCI::Core::Models::PortRange] :
|
|
26
|
-
# @option attributes [OCI::Core::Models::PortRange] :
|
|
25
|
+
# @option attributes [OCI::Core::Models::PortRange] :destination_port_range The value to assign to the {#destination_port_range} property
|
|
26
|
+
# @option attributes [OCI::Core::Models::PortRange] :source_port_range The value to assign to the {#source_port_range} property
|
|
27
27
|
def initialize(attributes = {})
|
|
28
28
|
return unless attributes.is_a?(Hash)
|
|
29
29
|
|
|
@@ -34,10 +34,22 @@ module OCI
|
|
|
34
34
|
self.destination_port_range = attributes[:'destinationPortRange']
|
|
35
35
|
end
|
|
36
36
|
|
|
37
|
+
raise 'You cannot provide both :destinationPortRange and :destination_port_range' if attributes.key?(:'destinationPortRange') && attributes.key?(:'destination_port_range')
|
|
38
|
+
|
|
39
|
+
if attributes[:'destination_port_range']
|
|
40
|
+
self.destination_port_range = attributes[:'destination_port_range']
|
|
41
|
+
end
|
|
42
|
+
|
|
37
43
|
if attributes[:'sourcePortRange']
|
|
38
44
|
self.source_port_range = attributes[:'sourcePortRange']
|
|
39
45
|
end
|
|
40
46
|
|
|
47
|
+
raise 'You cannot provide both :sourcePortRange and :source_port_range' if attributes.key?(:'sourcePortRange') && attributes.key?(:'source_port_range')
|
|
48
|
+
|
|
49
|
+
if attributes[:'source_port_range']
|
|
50
|
+
self.source_port_range = attributes[:'source_port_range']
|
|
51
|
+
end
|
|
52
|
+
|
|
41
53
|
end
|
|
42
54
|
|
|
43
55
|
# Checks equality by comparing each attribute.
|
|
@@ -29,9 +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 [String] :
|
|
33
|
-
# @option attributes [String] :
|
|
34
|
-
# @option attributes [DateTime] :
|
|
32
|
+
# @option attributes [String] :ip_address The value to assign to the {#ip_address} property
|
|
33
|
+
# @option attributes [String] :shared_secret The value to assign to the {#shared_secret} property
|
|
34
|
+
# @option attributes [DateTime] :time_created The value to assign to the {#time_created} property
|
|
35
35
|
def initialize(attributes = {})
|
|
36
36
|
return unless attributes.is_a?(Hash)
|
|
37
37
|
|
|
@@ -42,14 +42,32 @@ module OCI
|
|
|
42
42
|
self.ip_address = attributes[:'ipAddress']
|
|
43
43
|
end
|
|
44
44
|
|
|
45
|
+
raise 'You cannot provide both :ipAddress and :ip_address' if attributes.key?(:'ipAddress') && attributes.key?(:'ip_address')
|
|
46
|
+
|
|
47
|
+
if attributes[:'ip_address']
|
|
48
|
+
self.ip_address = attributes[:'ip_address']
|
|
49
|
+
end
|
|
50
|
+
|
|
45
51
|
if attributes[:'sharedSecret']
|
|
46
52
|
self.shared_secret = attributes[:'sharedSecret']
|
|
47
53
|
end
|
|
48
54
|
|
|
55
|
+
raise 'You cannot provide both :sharedSecret and :shared_secret' if attributes.key?(:'sharedSecret') && attributes.key?(:'shared_secret')
|
|
56
|
+
|
|
57
|
+
if attributes[:'shared_secret']
|
|
58
|
+
self.shared_secret = attributes[:'shared_secret']
|
|
59
|
+
end
|
|
60
|
+
|
|
49
61
|
if attributes[:'timeCreated']
|
|
50
62
|
self.time_created = attributes[:'timeCreated']
|
|
51
63
|
end
|
|
52
64
|
|
|
65
|
+
raise 'You cannot provide both :timeCreated and :time_created' if attributes.key?(:'timeCreated') && attributes.key?(:'time_created')
|
|
66
|
+
|
|
67
|
+
if attributes[:'time_created']
|
|
68
|
+
self.time_created = attributes[:'time_created']
|
|
69
|
+
end
|
|
70
|
+
|
|
53
71
|
end
|
|
54
72
|
|
|
55
73
|
# Checks equality by comparing each attribute.
|
|
@@ -40,10 +40,10 @@ module OCI
|
|
|
40
40
|
|
|
41
41
|
# Initializes the object
|
|
42
42
|
# @param [Hash] attributes Model attributes in the form of hash
|
|
43
|
-
# @option attributes [String] :
|
|
44
|
-
# @option attributes [String] :
|
|
45
|
-
# @option attributes [DateTime] :
|
|
46
|
-
# @option attributes [DateTime] :
|
|
43
|
+
# @option attributes [String] :ip_address The value to assign to the {#ip_address} property
|
|
44
|
+
# @option attributes [String] :lifecycle_state The value to assign to the {#lifecycle_state} property
|
|
45
|
+
# @option attributes [DateTime] :time_created The value to assign to the {#time_created} property
|
|
46
|
+
# @option attributes [DateTime] :time_state_modified The value to assign to the {#time_state_modified} property
|
|
47
47
|
def initialize(attributes = {})
|
|
48
48
|
return unless attributes.is_a?(Hash)
|
|
49
49
|
|
|
@@ -54,18 +54,42 @@ module OCI
|
|
|
54
54
|
self.ip_address = attributes[:'ipAddress']
|
|
55
55
|
end
|
|
56
56
|
|
|
57
|
+
raise 'You cannot provide both :ipAddress and :ip_address' if attributes.key?(:'ipAddress') && attributes.key?(:'ip_address')
|
|
58
|
+
|
|
59
|
+
if attributes[:'ip_address']
|
|
60
|
+
self.ip_address = attributes[:'ip_address']
|
|
61
|
+
end
|
|
62
|
+
|
|
57
63
|
if attributes[:'lifecycleState']
|
|
58
64
|
self.lifecycle_state = attributes[:'lifecycleState']
|
|
59
65
|
end
|
|
60
66
|
|
|
67
|
+
raise 'You cannot provide both :lifecycleState and :lifecycle_state' if attributes.key?(:'lifecycleState') && attributes.key?(:'lifecycle_state')
|
|
68
|
+
|
|
69
|
+
if attributes[:'lifecycle_state']
|
|
70
|
+
self.lifecycle_state = attributes[:'lifecycle_state']
|
|
71
|
+
end
|
|
72
|
+
|
|
61
73
|
if attributes[:'timeCreated']
|
|
62
74
|
self.time_created = attributes[:'timeCreated']
|
|
63
75
|
end
|
|
64
76
|
|
|
77
|
+
raise 'You cannot provide both :timeCreated and :time_created' if attributes.key?(:'timeCreated') && attributes.key?(:'time_created')
|
|
78
|
+
|
|
79
|
+
if attributes[:'time_created']
|
|
80
|
+
self.time_created = attributes[:'time_created']
|
|
81
|
+
end
|
|
82
|
+
|
|
65
83
|
if attributes[:'timeStateModified']
|
|
66
84
|
self.time_state_modified = attributes[:'timeStateModified']
|
|
67
85
|
end
|
|
68
86
|
|
|
87
|
+
raise 'You cannot provide both :timeStateModified and :time_state_modified' if attributes.key?(:'timeStateModified') && attributes.key?(:'time_state_modified')
|
|
88
|
+
|
|
89
|
+
if attributes[:'time_state_modified']
|
|
90
|
+
self.time_state_modified = attributes[:'time_state_modified']
|
|
91
|
+
end
|
|
92
|
+
|
|
69
93
|
end
|
|
70
94
|
|
|
71
95
|
# Custom attribute writer method checking allowed values (enum).
|
|
@@ -22,8 +22,8 @@ module OCI
|
|
|
22
22
|
|
|
23
23
|
# Initializes the object
|
|
24
24
|
# @param [Hash] attributes Model attributes in the form of hash
|
|
25
|
-
# @option attributes [OCI::Core::Models::PortRange] :
|
|
26
|
-
# @option attributes [OCI::Core::Models::PortRange] :
|
|
25
|
+
# @option attributes [OCI::Core::Models::PortRange] :destination_port_range The value to assign to the {#destination_port_range} property
|
|
26
|
+
# @option attributes [OCI::Core::Models::PortRange] :source_port_range The value to assign to the {#source_port_range} property
|
|
27
27
|
def initialize(attributes = {})
|
|
28
28
|
return unless attributes.is_a?(Hash)
|
|
29
29
|
|
|
@@ -34,10 +34,22 @@ module OCI
|
|
|
34
34
|
self.destination_port_range = attributes[:'destinationPortRange']
|
|
35
35
|
end
|
|
36
36
|
|
|
37
|
+
raise 'You cannot provide both :destinationPortRange and :destination_port_range' if attributes.key?(:'destinationPortRange') && attributes.key?(:'destination_port_range')
|
|
38
|
+
|
|
39
|
+
if attributes[:'destination_port_range']
|
|
40
|
+
self.destination_port_range = attributes[:'destination_port_range']
|
|
41
|
+
end
|
|
42
|
+
|
|
37
43
|
if attributes[:'sourcePortRange']
|
|
38
44
|
self.source_port_range = attributes[:'sourcePortRange']
|
|
39
45
|
end
|
|
40
46
|
|
|
47
|
+
raise 'You cannot provide both :sourcePortRange and :source_port_range' if attributes.key?(:'sourcePortRange') && attributes.key?(:'source_port_range')
|
|
48
|
+
|
|
49
|
+
if attributes[:'source_port_range']
|
|
50
|
+
self.source_port_range = attributes[:'source_port_range']
|
|
51
|
+
end
|
|
52
|
+
|
|
41
53
|
end
|
|
42
54
|
|
|
43
55
|
# Checks equality by comparing each attribute.
|
|
@@ -13,7 +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] :
|
|
16
|
+
# @option attributes [String] :display_name The value to assign to the {#display_name} property
|
|
17
17
|
def initialize(attributes = {})
|
|
18
18
|
return unless attributes.is_a?(Hash)
|
|
19
19
|
|
|
@@ -24,6 +24,12 @@ module OCI
|
|
|
24
24
|
self.display_name = attributes[:'displayName']
|
|
25
25
|
end
|
|
26
26
|
|
|
27
|
+
raise 'You cannot provide both :displayName and :display_name' if attributes.key?(:'displayName') && attributes.key?(:'display_name')
|
|
28
|
+
|
|
29
|
+
if attributes[:'display_name']
|
|
30
|
+
self.display_name = attributes[:'display_name']
|
|
31
|
+
end
|
|
32
|
+
|
|
27
33
|
end
|
|
28
34
|
|
|
29
35
|
# Checks equality by comparing each attribute.
|
|
@@ -29,9 +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>>] :
|
|
33
|
-
# @option attributes [String] :
|
|
34
|
-
# @option attributes [Hash<String, String>] :
|
|
32
|
+
# @option attributes [Hash<String, Hash<String, Object>>] :defined_tags The value to assign to the {#defined_tags} property
|
|
33
|
+
# @option attributes [String] :display_name The value to assign to the {#display_name} property
|
|
34
|
+
# @option attributes [Hash<String, String>] :freeform_tags The value to assign to the {#freeform_tags} property
|
|
35
35
|
def initialize(attributes = {})
|
|
36
36
|
return unless attributes.is_a?(Hash)
|
|
37
37
|
|
|
@@ -42,14 +42,32 @@ module OCI
|
|
|
42
42
|
self.defined_tags = attributes[:'definedTags']
|
|
43
43
|
end
|
|
44
44
|
|
|
45
|
+
raise 'You cannot provide both :definedTags and :defined_tags' if attributes.key?(:'definedTags') && attributes.key?(:'defined_tags')
|
|
46
|
+
|
|
47
|
+
if attributes[:'defined_tags']
|
|
48
|
+
self.defined_tags = attributes[:'defined_tags']
|
|
49
|
+
end
|
|
50
|
+
|
|
45
51
|
if attributes[:'displayName']
|
|
46
52
|
self.display_name = attributes[:'displayName']
|
|
47
53
|
end
|
|
48
54
|
|
|
55
|
+
raise 'You cannot provide both :displayName and :display_name' if attributes.key?(:'displayName') && attributes.key?(:'display_name')
|
|
56
|
+
|
|
57
|
+
if attributes[:'display_name']
|
|
58
|
+
self.display_name = attributes[:'display_name']
|
|
59
|
+
end
|
|
60
|
+
|
|
49
61
|
if attributes[:'freeformTags']
|
|
50
62
|
self.freeform_tags = attributes[:'freeformTags']
|
|
51
63
|
end
|
|
52
64
|
|
|
65
|
+
raise 'You cannot provide both :freeformTags and :freeform_tags' if attributes.key?(:'freeformTags') && attributes.key?(:'freeform_tags')
|
|
66
|
+
|
|
67
|
+
if attributes[:'freeform_tags']
|
|
68
|
+
self.freeform_tags = attributes[:'freeform_tags']
|
|
69
|
+
end
|
|
70
|
+
|
|
53
71
|
end
|
|
54
72
|
|
|
55
73
|
# Checks equality by comparing each attribute.
|
|
@@ -13,7 +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] :
|
|
16
|
+
# @option attributes [String] :display_name The value to assign to the {#display_name} property
|
|
17
17
|
def initialize(attributes = {})
|
|
18
18
|
return unless attributes.is_a?(Hash)
|
|
19
19
|
|
|
@@ -24,6 +24,12 @@ module OCI
|
|
|
24
24
|
self.display_name = attributes[:'displayName']
|
|
25
25
|
end
|
|
26
26
|
|
|
27
|
+
raise 'You cannot provide both :displayName and :display_name' if attributes.key?(:'displayName') && attributes.key?(:'display_name')
|
|
28
|
+
|
|
29
|
+
if attributes[:'display_name']
|
|
30
|
+
self.display_name = attributes[:'display_name']
|
|
31
|
+
end
|
|
32
|
+
|
|
27
33
|
end
|
|
28
34
|
|
|
29
35
|
# Checks equality by comparing each attribute.
|
|
@@ -24,8 +24,8 @@ module OCI
|
|
|
24
24
|
|
|
25
25
|
# Initializes the object
|
|
26
26
|
# @param [Hash] attributes Model attributes in the form of hash
|
|
27
|
-
# @option attributes [String] :
|
|
28
|
-
# @option attributes [BOOLEAN] :
|
|
27
|
+
# @option attributes [String] :display_name The value to assign to the {#display_name} property
|
|
28
|
+
# @option attributes [BOOLEAN] :is_active The value to assign to the {#is_active} property
|
|
29
29
|
def initialize(attributes = {})
|
|
30
30
|
return unless attributes.is_a?(Hash)
|
|
31
31
|
|
|
@@ -36,10 +36,22 @@ module OCI
|
|
|
36
36
|
self.display_name = attributes[:'displayName']
|
|
37
37
|
end
|
|
38
38
|
|
|
39
|
+
raise 'You cannot provide both :displayName and :display_name' if attributes.key?(:'displayName') && attributes.key?(:'display_name')
|
|
40
|
+
|
|
41
|
+
if attributes[:'display_name']
|
|
42
|
+
self.display_name = attributes[:'display_name']
|
|
43
|
+
end
|
|
44
|
+
|
|
39
45
|
unless attributes[:'isActive'].nil?
|
|
40
46
|
self.is_active = attributes[:'isActive']
|
|
41
47
|
end
|
|
42
48
|
|
|
49
|
+
raise 'You cannot provide both :isActive and :is_active' if attributes.key?(:'isActive') && attributes.key?(:'is_active')
|
|
50
|
+
|
|
51
|
+
unless attributes[:'is_active'].nil?
|
|
52
|
+
self.is_active = attributes[:'is_active']
|
|
53
|
+
end
|
|
54
|
+
|
|
43
55
|
end
|
|
44
56
|
|
|
45
57
|
# Checks equality by comparing each attribute.
|
|
@@ -13,7 +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] :
|
|
16
|
+
# @option attributes [String] :display_name The value to assign to the {#display_name} property
|
|
17
17
|
def initialize(attributes = {})
|
|
18
18
|
return unless attributes.is_a?(Hash)
|
|
19
19
|
|
|
@@ -24,6 +24,12 @@ module OCI
|
|
|
24
24
|
self.display_name = attributes[:'displayName']
|
|
25
25
|
end
|
|
26
26
|
|
|
27
|
+
raise 'You cannot provide both :displayName and :display_name' if attributes.key?(:'displayName') && attributes.key?(:'display_name')
|
|
28
|
+
|
|
29
|
+
if attributes[:'display_name']
|
|
30
|
+
self.display_name = attributes[:'display_name']
|
|
31
|
+
end
|
|
32
|
+
|
|
27
33
|
end
|
|
28
34
|
|
|
29
35
|
# Checks equality by comparing each attribute.
|
|
@@ -33,9 +33,9 @@ module OCI
|
|
|
33
33
|
|
|
34
34
|
# Initializes the object
|
|
35
35
|
# @param [Hash] attributes Model attributes in the form of hash
|
|
36
|
-
# @option attributes [Hash<String, Hash<String, Object>>] :
|
|
37
|
-
# @option attributes [String] :
|
|
38
|
-
# @option attributes [Hash<String, String>] :
|
|
36
|
+
# @option attributes [Hash<String, Hash<String, Object>>] :defined_tags The value to assign to the {#defined_tags} property
|
|
37
|
+
# @option attributes [String] :display_name The value to assign to the {#display_name} property
|
|
38
|
+
# @option attributes [Hash<String, String>] :freeform_tags The value to assign to the {#freeform_tags} property
|
|
39
39
|
# @option attributes [Array<OCI::Core::Models::DhcpOption>] :options The value to assign to the {#options} property
|
|
40
40
|
def initialize(attributes = {})
|
|
41
41
|
return unless attributes.is_a?(Hash)
|
|
@@ -47,14 +47,32 @@ module OCI
|
|
|
47
47
|
self.defined_tags = attributes[:'definedTags']
|
|
48
48
|
end
|
|
49
49
|
|
|
50
|
+
raise 'You cannot provide both :definedTags and :defined_tags' if attributes.key?(:'definedTags') && attributes.key?(:'defined_tags')
|
|
51
|
+
|
|
52
|
+
if attributes[:'defined_tags']
|
|
53
|
+
self.defined_tags = attributes[:'defined_tags']
|
|
54
|
+
end
|
|
55
|
+
|
|
50
56
|
if attributes[:'displayName']
|
|
51
57
|
self.display_name = attributes[:'displayName']
|
|
52
58
|
end
|
|
53
59
|
|
|
60
|
+
raise 'You cannot provide both :displayName and :display_name' if attributes.key?(:'displayName') && attributes.key?(:'display_name')
|
|
61
|
+
|
|
62
|
+
if attributes[:'display_name']
|
|
63
|
+
self.display_name = attributes[:'display_name']
|
|
64
|
+
end
|
|
65
|
+
|
|
54
66
|
if attributes[:'freeformTags']
|
|
55
67
|
self.freeform_tags = attributes[:'freeformTags']
|
|
56
68
|
end
|
|
57
69
|
|
|
70
|
+
raise 'You cannot provide both :freeformTags and :freeform_tags' if attributes.key?(:'freeformTags') && attributes.key?(:'freeform_tags')
|
|
71
|
+
|
|
72
|
+
if attributes[:'freeform_tags']
|
|
73
|
+
self.freeform_tags = attributes[:'freeform_tags']
|
|
74
|
+
end
|
|
75
|
+
|
|
58
76
|
if attributes[:'options']
|
|
59
77
|
self.options = attributes[:'options']
|
|
60
78
|
end
|
|
@@ -13,7 +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] :
|
|
16
|
+
# @option attributes [String] :display_name The value to assign to the {#display_name} property
|
|
17
17
|
def initialize(attributes = {})
|
|
18
18
|
return unless attributes.is_a?(Hash)
|
|
19
19
|
|
|
@@ -24,6 +24,12 @@ module OCI
|
|
|
24
24
|
self.display_name = attributes[:'displayName']
|
|
25
25
|
end
|
|
26
26
|
|
|
27
|
+
raise 'You cannot provide both :displayName and :display_name' if attributes.key?(:'displayName') && attributes.key?(:'display_name')
|
|
28
|
+
|
|
29
|
+
if attributes[:'display_name']
|
|
30
|
+
self.display_name = attributes[:'display_name']
|
|
31
|
+
end
|
|
32
|
+
|
|
27
33
|
end
|
|
28
34
|
|
|
29
35
|
# Checks equality by comparing each attribute.
|
|
@@ -13,7 +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] :
|
|
16
|
+
# @option attributes [String] :display_name The value to assign to the {#display_name} property
|
|
17
17
|
def initialize(attributes = {})
|
|
18
18
|
return unless attributes.is_a?(Hash)
|
|
19
19
|
|
|
@@ -24,6 +24,12 @@ module OCI
|
|
|
24
24
|
self.display_name = attributes[:'displayName']
|
|
25
25
|
end
|
|
26
26
|
|
|
27
|
+
raise 'You cannot provide both :displayName and :display_name' if attributes.key?(:'displayName') && attributes.key?(:'display_name')
|
|
28
|
+
|
|
29
|
+
if attributes[:'display_name']
|
|
30
|
+
self.display_name = attributes[:'display_name']
|
|
31
|
+
end
|
|
32
|
+
|
|
27
33
|
end
|
|
28
34
|
|
|
29
35
|
# Checks equality by comparing each attribute.
|
|
@@ -32,9 +32,9 @@ module OCI
|
|
|
32
32
|
|
|
33
33
|
# Initializes the object
|
|
34
34
|
# @param [Hash] attributes Model attributes in the form of hash
|
|
35
|
-
# @option attributes [Hash<String, Hash<String, Object>>] :
|
|
36
|
-
# @option attributes [String] :
|
|
37
|
-
# @option attributes [Hash<String, String>] :
|
|
35
|
+
# @option attributes [Hash<String, Hash<String, Object>>] :defined_tags The value to assign to the {#defined_tags} property
|
|
36
|
+
# @option attributes [String] :display_name The value to assign to the {#display_name} property
|
|
37
|
+
# @option attributes [Hash<String, String>] :freeform_tags The value to assign to the {#freeform_tags} property
|
|
38
38
|
def initialize(attributes = {})
|
|
39
39
|
return unless attributes.is_a?(Hash)
|
|
40
40
|
|
|
@@ -45,14 +45,32 @@ module OCI
|
|
|
45
45
|
self.defined_tags = attributes[:'definedTags']
|
|
46
46
|
end
|
|
47
47
|
|
|
48
|
+
raise 'You cannot provide both :definedTags and :defined_tags' if attributes.key?(:'definedTags') && attributes.key?(:'defined_tags')
|
|
49
|
+
|
|
50
|
+
if attributes[:'defined_tags']
|
|
51
|
+
self.defined_tags = attributes[:'defined_tags']
|
|
52
|
+
end
|
|
53
|
+
|
|
48
54
|
if attributes[:'displayName']
|
|
49
55
|
self.display_name = attributes[:'displayName']
|
|
50
56
|
end
|
|
51
57
|
|
|
58
|
+
raise 'You cannot provide both :displayName and :display_name' if attributes.key?(:'displayName') && attributes.key?(:'display_name')
|
|
59
|
+
|
|
60
|
+
if attributes[:'display_name']
|
|
61
|
+
self.display_name = attributes[:'display_name']
|
|
62
|
+
end
|
|
63
|
+
|
|
52
64
|
if attributes[:'freeformTags']
|
|
53
65
|
self.freeform_tags = attributes[:'freeformTags']
|
|
54
66
|
end
|
|
55
67
|
|
|
68
|
+
raise 'You cannot provide both :freeformTags and :freeform_tags' if attributes.key?(:'freeformTags') && attributes.key?(:'freeform_tags')
|
|
69
|
+
|
|
70
|
+
if attributes[:'freeform_tags']
|
|
71
|
+
self.freeform_tags = attributes[:'freeform_tags']
|
|
72
|
+
end
|
|
73
|
+
|
|
56
74
|
end
|
|
57
75
|
|
|
58
76
|
# Checks equality by comparing each attribute.
|