oci 2.0.5 → 2.0.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -2
- data/lib/oci.rb +3 -0
- data/lib/oci/api_client.rb +24 -3
- data/lib/oci/audit/audit_client.rb +19 -5
- data/lib/oci/audit/models/audit_event.rb +19 -0
- data/lib/oci/audit/models/configuration.rb +1 -0
- data/lib/oci/audit/models/update_configuration_details.rb +1 -0
- data/lib/oci/auth/auth.rb +16 -0
- data/lib/oci/auth/federation_client.rb +125 -0
- data/lib/oci/auth/internal/auth_token_request_signer.rb +20 -0
- data/lib/oci/auth/security_token_container.rb +25 -0
- data/lib/oci/auth/session_key_supplier.rb +37 -0
- data/lib/oci/auth/signers/instance_principals_security_token_signer.rb +83 -0
- data/lib/oci/auth/signers/security_token_signer.rb +32 -0
- data/lib/oci/auth/signers/x509_federation_client_based_security_token_signer.rb +70 -0
- data/lib/oci/auth/url_based_certificate_retriever.rb +104 -0
- data/lib/oci/auth/util.rb +33 -0
- data/lib/oci/base_signer.rb +154 -0
- data/lib/oci/core/blockstorage_client.rb +19 -5
- data/lib/oci/core/compute_client.rb +19 -5
- data/lib/oci/core/models/attach_boot_volume_details.rb +5 -2
- data/lib/oci/core/models/attach_i_scsi_volume_details.rb +5 -1
- data/lib/oci/core/models/attach_vnic_details.rb +6 -2
- data/lib/oci/core/models/attach_volume_details.rb +8 -3
- data/lib/oci/core/models/boot_volume.rb +22 -6
- data/lib/oci/core/models/boot_volume_attachment.rb +17 -7
- data/lib/oci/core/models/bulk_add_virtual_circuit_public_prefixes_details.rb +2 -1
- data/lib/oci/core/models/bulk_delete_virtual_circuit_public_prefixes_details.rb +2 -1
- data/lib/oci/core/models/capture_console_history_details.rb +5 -1
- data/lib/oci/core/models/connect_local_peering_gateways_details.rb +3 -1
- data/lib/oci/core/models/console_history.rb +19 -6
- data/lib/oci/core/models/cpe.rb +18 -3
- data/lib/oci/core/models/create_cpe_details.rb +5 -2
- data/lib/oci/core/models/create_cross_connect_details.rb +10 -3
- data/lib/oci/core/models/create_cross_connect_group_details.rb +3 -1
- data/lib/oci/core/models/create_dhcp_details.rb +9 -3
- data/lib/oci/core/models/create_drg_attachment_details.rb +5 -2
- data/lib/oci/core/models/create_drg_details.rb +3 -1
- data/lib/oci/core/models/create_image_details.rb +9 -1
- data/lib/oci/core/models/create_instance_console_connection_details.rb +9 -2
- data/lib/oci/core/models/create_internet_gateway_details.rb +8 -4
- data/lib/oci/core/models/create_ip_sec_connection_details.rb +9 -4
- data/lib/oci/core/models/create_local_peering_gateway_details.rb +5 -2
- data/lib/oci/core/models/create_private_ip_details.rb +7 -1
- data/lib/oci/core/models/create_route_table_details.rb +9 -3
- data/lib/oci/core/models/create_security_list_details.rb +11 -4
- data/lib/oci/core/models/create_subnet_details.rb +17 -5
- data/lib/oci/core/models/create_vcn_details.rb +8 -2
- data/lib/oci/core/models/create_virtual_circuit_details.rb +14 -2
- data/lib/oci/core/models/create_virtual_circuit_public_prefix_details.rb +2 -1
- data/lib/oci/core/models/create_vnic_details.rb +14 -3
- data/lib/oci/core/models/create_volume_backup_details.rb +5 -1
- data/lib/oci/core/models/create_volume_details.rb +11 -2
- data/lib/oci/core/models/cross_connect.rb +26 -0
- data/lib/oci/core/models/cross_connect_group.rb +19 -0
- data/lib/oci/core/models/cross_connect_location.rb +5 -2
- data/lib/oci/core/models/cross_connect_mapping.rb +31 -0
- data/lib/oci/core/models/cross_connect_port_speed_shape.rb +6 -2
- data/lib/oci/core/models/cross_connect_status.rb +6 -1
- data/lib/oci/core/models/delete_virtual_circuit_public_prefix_details.rb +2 -1
- data/lib/oci/core/models/dhcp_dns_option.rb +7 -1
- data/lib/oci/core/models/dhcp_option.rb +9 -1
- data/lib/oci/core/models/dhcp_options.rb +31 -6
- data/lib/oci/core/models/dhcp_search_domain_option.rb +5 -1
- data/lib/oci/core/models/drg.rb +18 -3
- data/lib/oci/core/models/drg_attachment.rb +15 -5
- data/lib/oci/core/models/egress_security_rule.rb +10 -3
- data/lib/oci/core/models/export_image_details.rb +13 -1
- data/lib/oci/core/models/export_image_via_object_storage_tuple_details.rb +3 -0
- data/lib/oci/core/models/export_image_via_object_storage_uri_details.rb +2 -1
- data/lib/oci/core/models/fast_connect_provider_service.rb +17 -6
- data/lib/oci/core/models/i_scsi_volume_attachment.rb +17 -3
- data/lib/oci/core/models/icmp_options.rb +11 -1
- data/lib/oci/core/models/image.rb +28 -7
- data/lib/oci/core/models/image_source_details.rb +4 -1
- data/lib/oci/core/models/image_source_via_object_storage_tuple_details.rb +7 -3
- data/lib/oci/core/models/image_source_via_object_storage_uri_details.rb +3 -1
- data/lib/oci/core/models/ingress_security_rule.rb +10 -3
- data/lib/oci/core/models/instance.rb +33 -7
- data/lib/oci/core/models/instance_console_connection.rb +15 -0
- data/lib/oci/core/models/instance_credentials.rb +5 -2
- data/lib/oci/core/models/instance_source_details.rb +3 -1
- data/lib/oci/core/models/instance_source_via_boot_volume_details.rb +2 -1
- data/lib/oci/core/models/instance_source_via_image_details.rb +2 -1
- data/lib/oci/core/models/internet_gateway.rb +20 -5
- data/lib/oci/core/models/ip_sec_connection.rb +23 -6
- data/lib/oci/core/models/ip_sec_connection_device_config.rb +7 -2
- data/lib/oci/core/models/ip_sec_connection_device_status.rb +7 -2
- data/lib/oci/core/models/launch_instance_details.rb +20 -3
- data/lib/oci/core/models/launch_options.rb +10 -4
- data/lib/oci/core/models/letter_of_authority.rb +10 -0
- data/lib/oci/core/models/local_peering_gateway.rb +29 -9
- data/lib/oci/core/models/port_range.rb +4 -2
- data/lib/oci/core/models/private_ip.rb +41 -1
- data/lib/oci/core/models/route_rule.rb +7 -2
- data/lib/oci/core/models/route_table.rb +22 -5
- data/lib/oci/core/models/security_list.rb +32 -8
- data/lib/oci/core/models/shape.rb +5 -1
- data/lib/oci/core/models/subnet.rb +38 -10
- data/lib/oci/core/models/tcp_options.rb +5 -0
- data/lib/oci/core/models/tunnel_config.rb +6 -2
- data/lib/oci/core/models/tunnel_status.rb +7 -1
- data/lib/oci/core/models/udp_options.rb +5 -0
- data/lib/oci/core/models/update_boot_volume_details.rb +1 -0
- data/lib/oci/core/models/update_console_history_details.rb +3 -0
- data/lib/oci/core/models/update_cpe_details.rb +1 -0
- data/lib/oci/core/models/update_cross_connect_details.rb +5 -1
- data/lib/oci/core/models/update_cross_connect_group_details.rb +1 -0
- data/lib/oci/core/models/update_dhcp_details.rb +4 -0
- data/lib/oci/core/models/update_drg_attachment_details.rb +1 -0
- data/lib/oci/core/models/update_drg_details.rb +1 -0
- data/lib/oci/core/models/update_image_details.rb +3 -0
- data/lib/oci/core/models/update_instance_details.rb +3 -0
- data/lib/oci/core/models/update_internet_gateway_details.rb +3 -1
- data/lib/oci/core/models/update_ip_sec_connection_details.rb +1 -0
- data/lib/oci/core/models/update_local_peering_gateway_details.rb +1 -0
- data/lib/oci/core/models/update_private_ip_details.rb +5 -0
- data/lib/oci/core/models/update_route_table_details.rb +4 -0
- data/lib/oci/core/models/update_security_list_details.rb +5 -0
- data/lib/oci/core/models/update_subnet_details.rb +3 -0
- data/lib/oci/core/models/update_vcn_details.rb +3 -0
- data/lib/oci/core/models/update_virtual_circuit_details.rb +7 -0
- data/lib/oci/core/models/update_vnic_details.rb +4 -1
- data/lib/oci/core/models/update_volume_backup_details.rb +3 -0
- data/lib/oci/core/models/update_volume_details.rb +3 -0
- data/lib/oci/core/models/vcn.rb +24 -4
- data/lib/oci/core/models/virtual_circuit.rb +41 -0
- data/lib/oci/core/models/virtual_circuit_bandwidth_shape.rb +5 -1
- data/lib/oci/core/models/virtual_circuit_public_prefix.rb +8 -2
- data/lib/oci/core/models/vnic.rb +38 -9
- data/lib/oci/core/models/vnic_attachment.rb +21 -7
- data/lib/oci/core/models/volume.rb +28 -8
- data/lib/oci/core/models/volume_attachment.rb +25 -8
- data/lib/oci/core/models/volume_backup.rb +26 -5
- data/lib/oci/core/models/volume_source_details.rb +3 -0
- data/lib/oci/core/models/volume_source_from_volume_backup_details.rb +3 -1
- data/lib/oci/core/models/volume_source_from_volume_details.rb +3 -1
- data/lib/oci/core/virtual_network_client.rb +19 -5
- data/lib/oci/database/database_client.rb +19 -5
- data/lib/oci/database/models/backup.rb +13 -0
- data/lib/oci/database/models/backup_summary.rb +13 -0
- data/lib/oci/database/models/create_backup_details.rb +4 -2
- data/lib/oci/database/models/create_data_guard_association_details.rb +18 -4
- data/lib/oci/database/models/create_data_guard_association_to_existing_db_system_details.rb +5 -0
- data/lib/oci/database/models/create_database_details.rb +9 -2
- data/lib/oci/database/models/create_database_from_backup_details.rb +6 -3
- data/lib/oci/database/models/create_db_home_details.rb +5 -1
- data/lib/oci/database/models/create_db_home_with_db_system_id_base.rb +5 -1
- data/lib/oci/database/models/create_db_home_with_db_system_id_details.rb +6 -1
- data/lib/oci/database/models/create_db_home_with_db_system_id_from_backup_details.rb +4 -0
- data/lib/oci/database/models/data_guard_association.rb +32 -7
- data/lib/oci/database/models/data_guard_association_summary.rb +32 -7
- data/lib/oci/database/models/database.rb +22 -5
- data/lib/oci/database/models/database_summary.rb +22 -5
- data/lib/oci/database/models/db_backup_config.rb +5 -1
- data/lib/oci/database/models/db_home.rb +22 -5
- data/lib/oci/database/models/db_home_summary.rb +22 -5
- data/lib/oci/database/models/db_node.rb +17 -5
- data/lib/oci/database/models/db_node_summary.rb +17 -5
- data/lib/oci/database/models/db_system.rb +56 -12
- data/lib/oci/database/models/db_system_shape_summary.rb +11 -2
- data/lib/oci/database/models/db_system_summary.rb +56 -12
- data/lib/oci/database/models/db_version_summary.rb +8 -2
- data/lib/oci/database/models/failover_data_guard_association_details.rb +4 -1
- data/lib/oci/database/models/launch_db_system_details.rb +27 -8
- data/lib/oci/database/models/patch.rb +18 -4
- data/lib/oci/database/models/patch_details.rb +6 -0
- data/lib/oci/database/models/patch_history_entry.rb +12 -4
- data/lib/oci/database/models/patch_history_entry_summary.rb +12 -4
- data/lib/oci/database/models/patch_summary.rb +18 -4
- data/lib/oci/database/models/reinstate_data_guard_association_details.rb +4 -1
- data/lib/oci/database/models/restore_database_details.rb +4 -1
- data/lib/oci/database/models/switchover_data_guard_association_details.rb +4 -1
- data/lib/oci/database/models/update_database_details.rb +1 -0
- data/lib/oci/database/models/update_db_home_details.rb +3 -0
- data/lib/oci/database/models/update_db_system_details.rb +6 -0
- data/lib/oci/identity/identity.rb +3 -0
- data/lib/oci/identity/identity_client.rb +290 -70
- data/lib/oci/identity/models/add_user_to_group_details.rb +4 -2
- data/lib/oci/identity/models/api_key.rb +18 -0
- data/lib/oci/identity/models/availability_domain.rb +6 -0
- data/lib/oci/identity/models/compartment.rb +38 -10
- data/lib/oci/identity/models/create_api_key_details.rb +2 -1
- data/lib/oci/identity/models/create_compartment_details.rb +14 -7
- data/lib/oci/identity/models/create_customer_secret_key_details.rb +2 -1
- data/lib/oci/identity/models/create_dynamic_group_details.rb +160 -0
- data/lib/oci/identity/models/create_group_details.rb +14 -7
- data/lib/oci/identity/models/create_identity_provider_details.rb +19 -9
- data/lib/oci/identity/models/create_idp_group_mapping_details.rb +4 -2
- data/lib/oci/identity/models/create_policy_details.rb +18 -9
- data/lib/oci/identity/models/create_region_subscription_details.rb +2 -1
- data/lib/oci/identity/models/create_saml2_identity_provider_details.rb +10 -2
- data/lib/oci/identity/models/create_swift_password_details.rb +2 -1
- data/lib/oci/identity/models/create_tag_details.rb +12 -6
- data/lib/oci/identity/models/create_tag_namespace_details.rb +14 -7
- data/lib/oci/identity/models/create_user_details.rb +14 -7
- data/lib/oci/identity/models/customer_secret_key.rb +16 -0
- data/lib/oci/identity/models/customer_secret_key_summary.rb +10 -0
- data/lib/oci/identity/models/dynamic_group.rb +239 -0
- data/lib/oci/identity/models/group.rb +35 -11
- data/lib/oci/identity/models/identity_provider.rb +36 -12
- data/lib/oci/identity/models/idp_group_mapping.rb +27 -7
- data/lib/oci/identity/models/policy.rb +38 -11
- data/lib/oci/identity/models/region.rb +10 -0
- data/lib/oci/identity/models/region_subscription.rb +16 -5
- data/lib/oci/identity/models/saml2_identity_provider.rb +20 -3
- data/lib/oci/identity/models/swift_password.rb +17 -1
- data/lib/oci/identity/models/tag.rb +30 -13
- data/lib/oci/identity/models/tag_namespace.rb +25 -11
- data/lib/oci/identity/models/tag_namespace_summary.rb +23 -10
- data/lib/oci/identity/models/tag_summary.rb +21 -8
- data/lib/oci/identity/models/tenancy.rb +21 -4
- data/lib/oci/identity/models/ui_password.rb +10 -0
- data/lib/oci/identity/models/update_compartment_details.rb +10 -4
- data/lib/oci/identity/models/update_customer_secret_key_details.rb +1 -0
- data/lib/oci/identity/models/update_dynamic_group_details.rb +134 -0
- data/lib/oci/identity/models/update_group_details.rb +9 -4
- data/lib/oci/identity/models/update_identity_provider_details.rb +12 -5
- data/lib/oci/identity/models/update_idp_group_mapping_details.rb +2 -0
- data/lib/oci/identity/models/update_policy_details.rb +12 -5
- data/lib/oci/identity/models/update_saml2_identity_provider_details.rb +5 -0
- data/lib/oci/identity/models/update_state_details.rb +2 -1
- data/lib/oci/identity/models/update_swift_password_details.rb +1 -0
- data/lib/oci/identity/models/update_tag_details.rb +15 -7
- data/lib/oci/identity/models/update_tag_namespace_details.rb +15 -7
- data/lib/oci/identity/models/update_user_details.rb +9 -4
- data/lib/oci/identity/models/user.rb +38 -11
- data/lib/oci/identity/models/user_group_membership.rb +16 -6
- data/lib/oci/load_balancer/load_balancer.rb +1 -0
- data/lib/oci/load_balancer/load_balancer_client.rb +24 -9
- data/lib/oci/load_balancer/models/backend.rb +20 -10
- data/lib/oci/load_balancer/models/backend_details.rb +12 -5
- data/lib/oci/load_balancer/models/backend_health.rb +6 -2
- data/lib/oci/load_balancer/models/backend_set.rb +14 -2
- data/lib/oci/load_balancer/models/backend_set_details.rb +11 -1
- data/lib/oci/load_balancer/models/backend_set_health.rb +15 -5
- data/lib/oci/load_balancer/models/certificate.rb +10 -3
- data/lib/oci/load_balancer/models/certificate_details.rb +10 -1
- data/lib/oci/load_balancer/models/connection_configuration.rb +157 -0
- data/lib/oci/load_balancer/models/create_backend_details.rb +15 -5
- data/lib/oci/load_balancer/models/create_backend_set_details.rb +13 -2
- data/lib/oci/load_balancer/models/create_certificate_details.rb +10 -1
- data/lib/oci/load_balancer/models/create_listener_details.rb +28 -5
- data/lib/oci/load_balancer/models/create_load_balancer_details.rb +14 -5
- data/lib/oci/load_balancer/models/health_check_result.rb +10 -4
- data/lib/oci/load_balancer/models/health_checker.rb +15 -4
- data/lib/oci/load_balancer/models/health_checker_details.rb +10 -1
- data/lib/oci/load_balancer/models/ip_address.rb +5 -2
- data/lib/oci/load_balancer/models/listener.rb +28 -5
- data/lib/oci/load_balancer/models/listener_details.rb +23 -4
- data/lib/oci/load_balancer/models/load_balancer.rb +30 -7
- data/lib/oci/load_balancer/models/load_balancer_health.rb +15 -5
- data/lib/oci/load_balancer/models/load_balancer_health_summary.rb +5 -2
- data/lib/oci/load_balancer/models/load_balancer_policy.rb +6 -1
- data/lib/oci/load_balancer/models/load_balancer_protocol.rb +3 -1
- data/lib/oci/load_balancer/models/load_balancer_shape.rb +8 -1
- data/lib/oci/load_balancer/models/session_persistence_configuration_details.rb +14 -2
- data/lib/oci/load_balancer/models/ssl_configuration.rb +11 -4
- data/lib/oci/load_balancer/models/ssl_configuration_details.rb +6 -2
- data/lib/oci/load_balancer/models/update_backend_details.rb +12 -7
- data/lib/oci/load_balancer/models/update_backend_set_details.rb +12 -1
- data/lib/oci/load_balancer/models/update_health_checker_details.rb +16 -7
- data/lib/oci/load_balancer/models/update_listener_details.rb +23 -4
- data/lib/oci/load_balancer/models/update_load_balancer_details.rb +3 -1
- data/lib/oci/load_balancer/models/work_request.rb +20 -6
- data/lib/oci/load_balancer/models/work_request_error.rb +5 -1
- data/lib/oci/object_storage/models/bucket.rb +27 -8
- data/lib/oci/object_storage/models/bucket_summary.rb +16 -6
- data/lib/oci/object_storage/models/commit_multipart_upload_details.rb +7 -1
- data/lib/oci/object_storage/models/commit_multipart_upload_part_details.rb +8 -2
- data/lib/oci/object_storage/models/create_bucket_details.rb +15 -4
- data/lib/oci/object_storage/models/create_multipart_upload_details.rb +10 -1
- data/lib/oci/object_storage/models/create_preauthenticated_request_details.rb +7 -3
- data/lib/oci/object_storage/models/list_objects.rb +8 -1
- data/lib/oci/object_storage/models/multipart_upload.rb +20 -5
- data/lib/oci/object_storage/models/multipart_upload_part_summary.rb +13 -4
- data/lib/oci/object_storage/models/namespace_metadata.rb +8 -3
- data/lib/oci/object_storage/models/object_summary.rb +9 -1
- data/lib/oci/object_storage/models/preauthenticated_request.rb +20 -6
- data/lib/oci/object_storage/models/preauthenticated_request_summary.rb +13 -5
- data/lib/oci/object_storage/models/rename_object_details.rb +11 -2
- data/lib/oci/object_storage/models/restore_objects_details.rb +2 -1
- data/lib/oci/object_storage/models/update_bucket_details.rb +13 -2
- data/lib/oci/object_storage/models/update_namespace_metadata_details.rb +5 -0
- data/lib/oci/object_storage/object_storage_client.rb +26 -12
- data/lib/oci/regions.rb +8 -1
- data/lib/oci/signer.rb +5 -124
- data/lib/oci/version.rb +1 -1
- metadata +31 -2
@@ -3,6 +3,11 @@
|
|
3
3
|
require 'date'
|
4
4
|
|
5
5
|
module OCI
|
6
|
+
# A text password that enables a user to sign in to the Console, the user interface for interacting with Oracle
|
7
|
+
# Cloud Infrastructure.
|
8
|
+
#
|
9
|
+
# For more information about user credentials, see [User Credentials](https://docs.us-phoenix-1.oraclecloud.com/Content/Identity/Concepts/usercredentials.htm).
|
10
|
+
#
|
6
11
|
class Identity::Models::UIPassword
|
7
12
|
|
8
13
|
LIFECYCLE_STATE_ENUM = [LIFECYCLE_STATE_CREATING = 'CREATING',
|
@@ -40,6 +45,11 @@ module OCI
|
|
40
45
|
|
41
46
|
# Initializes the object
|
42
47
|
# @param [Hash] attributes Model attributes in the form of hash
|
48
|
+
# @option attributes [String] :password The value to assign to the {#password} property
|
49
|
+
# @option attributes [String] :userId The value to assign to the {#user_id} property
|
50
|
+
# @option attributes [DateTime] :timeCreated The value to assign to the {#time_created} property
|
51
|
+
# @option attributes [String] :lifecycleState The value to assign to the {#lifecycle_state} property
|
52
|
+
# @option attributes [Integer] :inactiveStatus The value to assign to the {#inactive_status} property
|
43
53
|
def initialize(attributes = {})
|
44
54
|
return unless attributes.is_a?(Hash)
|
45
55
|
|
@@ -13,14 +13,16 @@ module OCI
|
|
13
13
|
# @return [String]
|
14
14
|
attr_accessor :name
|
15
15
|
|
16
|
-
#
|
17
|
-
#
|
16
|
+
# Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
|
17
|
+
# For more information, see [Resource Tags](https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm).
|
18
|
+
# Example: `{\"Department\": \"Finance\"}`
|
18
19
|
#
|
19
20
|
# @return [Hash<String, String>]
|
20
21
|
attr_accessor :freeform_tags
|
21
22
|
|
22
|
-
#
|
23
|
-
#
|
23
|
+
# Defined tags for this resource. Each key is predefined and scoped to a namespace.
|
24
|
+
# For more information, see [Resource Tags](https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm).
|
25
|
+
# Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`
|
24
26
|
#
|
25
27
|
# @return [Hash<String, Hash<String, Object>>]
|
26
28
|
attr_accessor :defined_tags
|
@@ -28,6 +30,10 @@ module OCI
|
|
28
30
|
|
29
31
|
# Initializes the object
|
30
32
|
# @param [Hash] attributes Model attributes in the form of hash
|
33
|
+
# @option attributes [String] :description The value to assign to the {#description} property
|
34
|
+
# @option attributes [String] :name The value to assign to the {#name} property
|
35
|
+
# @option attributes [Hash<String, String>] :freeformTags The value to assign to the {#freeform_tags} property
|
36
|
+
# @option attributes [Hash<String, Hash<String, Object>>] :definedTags The value to assign to the {#defined_tags} property
|
31
37
|
def initialize(attributes = {})
|
32
38
|
return unless attributes.is_a?(Hash)
|
33
39
|
|
@@ -11,6 +11,7 @@ module OCI
|
|
11
11
|
|
12
12
|
# Initializes the object
|
13
13
|
# @param [Hash] attributes Model attributes in the form of hash
|
14
|
+
# @option attributes [String] :displayName The value to assign to the {#display_name} property
|
14
15
|
def initialize(attributes = {})
|
15
16
|
return unless attributes.is_a?(Hash)
|
16
17
|
|
@@ -0,0 +1,134 @@
|
|
1
|
+
# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
|
2
|
+
|
3
|
+
require 'date'
|
4
|
+
|
5
|
+
module OCI
|
6
|
+
# Properties for updating a dynamic group
|
7
|
+
class Identity::Models::UpdateDynamicGroupDetails
|
8
|
+
# The description you assign to the dynamic group. Does not have to be unique, and it's changeable.
|
9
|
+
# @return [String]
|
10
|
+
attr_accessor :description
|
11
|
+
|
12
|
+
# The matching rule to dynamically match an instance certificate to this dynamic group
|
13
|
+
# @return [String]
|
14
|
+
attr_accessor :matching_rule
|
15
|
+
|
16
|
+
|
17
|
+
# Initializes the object
|
18
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
19
|
+
# @option attributes [String] :description The value to assign to the {#description} property
|
20
|
+
# @option attributes [String] :matchingRule The value to assign to the {#matching_rule} property
|
21
|
+
def initialize(attributes = {})
|
22
|
+
return unless attributes.is_a?(Hash)
|
23
|
+
|
24
|
+
# convert string to symbol for hash key
|
25
|
+
attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
|
26
|
+
|
27
|
+
if attributes[:'description']
|
28
|
+
self.description = attributes[:'description']
|
29
|
+
end
|
30
|
+
|
31
|
+
if attributes[:'matchingRule']
|
32
|
+
self.matching_rule = attributes[:'matchingRule']
|
33
|
+
end
|
34
|
+
|
35
|
+
end
|
36
|
+
|
37
|
+
# Checks equality by comparing each attribute.
|
38
|
+
# @param [Object] other_object to be compared
|
39
|
+
def ==(other_object)
|
40
|
+
return true if self.equal?(other_object)
|
41
|
+
self.class == other_object.class &&
|
42
|
+
description == other_object.description &&
|
43
|
+
matching_rule == other_object.matching_rule
|
44
|
+
end
|
45
|
+
|
46
|
+
# @see the `==` method
|
47
|
+
# @param [Object] other_object to be compared
|
48
|
+
def eql?(other_object)
|
49
|
+
self == other_object
|
50
|
+
end
|
51
|
+
|
52
|
+
# Calculates hash code according to all attributes.
|
53
|
+
# @return [Fixnum] Hash code
|
54
|
+
def hash
|
55
|
+
[description, matching_rule].hash
|
56
|
+
end
|
57
|
+
|
58
|
+
# Builds the object from hash
|
59
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
60
|
+
# @return [Object] Returns the model itself
|
61
|
+
def build_from_hash(attributes)
|
62
|
+
return nil unless attributes.is_a?(Hash)
|
63
|
+
self.class.swagger_types.each_pair do |key, type|
|
64
|
+
if type =~ /^Array<(.*)>/i
|
65
|
+
# check to ensure the input is an array given that the the attribute
|
66
|
+
# is documented as an array but the input is not
|
67
|
+
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
68
|
+
self.public_method("#{key}=").call(attributes[self.class.attribute_map[key]].map{ |v| OCI::Internal::Util.convert_to_type($1, v) } )
|
69
|
+
end
|
70
|
+
elsif !attributes[self.class.attribute_map[key]].nil?
|
71
|
+
self.public_method("#{key}=").call(OCI::Internal::Util.convert_to_type(type, attributes[self.class.attribute_map[key]]))
|
72
|
+
end # or else data not found in attributes(hash), not an issue as the data can be optional
|
73
|
+
end
|
74
|
+
|
75
|
+
self
|
76
|
+
end
|
77
|
+
|
78
|
+
# Returns the string representation of the object
|
79
|
+
# @return [String] String presentation of the object
|
80
|
+
def to_s
|
81
|
+
to_hash.to_s
|
82
|
+
end
|
83
|
+
|
84
|
+
# Returns the object in the form of hash
|
85
|
+
# @return [Hash] Returns the object in the form of hash
|
86
|
+
def to_hash
|
87
|
+
hash = {}
|
88
|
+
self.class.attribute_map.each_pair do |attr, param|
|
89
|
+
value = public_method(attr).call
|
90
|
+
next if value.nil? && !instance_variable_defined?("@#{attr}")
|
91
|
+
hash[param] = _to_hash(value)
|
92
|
+
end
|
93
|
+
hash
|
94
|
+
end
|
95
|
+
|
96
|
+
private
|
97
|
+
|
98
|
+
# Outputs non-array value in the form of hash
|
99
|
+
# For object, use to_hash. Otherwise, just return the value
|
100
|
+
# @param [Object] value Any valid value
|
101
|
+
# @return [Hash] Returns the value in the form of hash
|
102
|
+
def _to_hash(value)
|
103
|
+
if value.is_a?(Array)
|
104
|
+
value.compact.map{ |v| _to_hash(v) }
|
105
|
+
elsif value.is_a?(Hash)
|
106
|
+
{}.tap do |hash|
|
107
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
108
|
+
end
|
109
|
+
elsif value.respond_to? :to_hash
|
110
|
+
value.to_hash
|
111
|
+
else
|
112
|
+
value
|
113
|
+
end
|
114
|
+
end
|
115
|
+
|
116
|
+
|
117
|
+
|
118
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
119
|
+
def self.attribute_map
|
120
|
+
{
|
121
|
+
:'description' => :'description',
|
122
|
+
:'matching_rule' => :'matchingRule'
|
123
|
+
}
|
124
|
+
end
|
125
|
+
|
126
|
+
# Attribute type mapping.
|
127
|
+
def self.swagger_types
|
128
|
+
{
|
129
|
+
:'description' => :'String',
|
130
|
+
:'matching_rule' => :'String'
|
131
|
+
}
|
132
|
+
end
|
133
|
+
end
|
134
|
+
end
|
@@ -8,14 +8,16 @@ module OCI
|
|
8
8
|
# @return [String]
|
9
9
|
attr_accessor :description
|
10
10
|
|
11
|
-
#
|
12
|
-
#
|
11
|
+
# Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
|
12
|
+
# For more information, see [Resource Tags](https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm).
|
13
|
+
# Example: `{\"Department\": \"Finance\"}`
|
13
14
|
#
|
14
15
|
# @return [Hash<String, String>]
|
15
16
|
attr_accessor :freeform_tags
|
16
17
|
|
17
|
-
#
|
18
|
-
#
|
18
|
+
# Defined tags for this resource. Each key is predefined and scoped to a namespace.
|
19
|
+
# For more information, see [Resource Tags](https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm).
|
20
|
+
# Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`
|
19
21
|
#
|
20
22
|
# @return [Hash<String, Hash<String, Object>>]
|
21
23
|
attr_accessor :defined_tags
|
@@ -23,6 +25,9 @@ module OCI
|
|
23
25
|
|
24
26
|
# Initializes the object
|
25
27
|
# @param [Hash] attributes Model attributes in the form of hash
|
28
|
+
# @option attributes [String] :description The value to assign to the {#description} property
|
29
|
+
# @option attributes [Hash<String, String>] :freeformTags The value to assign to the {#freeform_tags} property
|
30
|
+
# @option attributes [Hash<String, Hash<String, Object>>] :definedTags The value to assign to the {#defined_tags} property
|
26
31
|
def initialize(attributes = {})
|
27
32
|
return unless attributes.is_a?(Hash)
|
28
33
|
|
@@ -3,11 +3,12 @@
|
|
3
3
|
require 'date'
|
4
4
|
|
5
5
|
module OCI
|
6
|
+
# 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
7
|
class Identity::Models::UpdateIdentityProviderDetails
|
7
8
|
|
8
9
|
PROTOCOL_ENUM = [PROTOCOL_SAML2 = 'SAML2']
|
9
10
|
|
10
|
-
# The protocol used for federation.
|
11
|
+
# **[Required]** The protocol used for federation.
|
11
12
|
#
|
12
13
|
# Example: `SAML2`
|
13
14
|
#
|
@@ -20,14 +21,16 @@ module OCI
|
|
20
21
|
# @return [String]
|
21
22
|
attr_accessor :description
|
22
23
|
|
23
|
-
#
|
24
|
-
#
|
24
|
+
# Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
|
25
|
+
# For more information, see [Resource Tags](https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm).
|
26
|
+
# Example: `{\"Department\": \"Finance\"}`
|
25
27
|
#
|
26
28
|
# @return [Hash<String, String>]
|
27
29
|
attr_accessor :freeform_tags
|
28
30
|
|
29
|
-
#
|
30
|
-
#
|
31
|
+
# Defined tags for this resource. Each key is predefined and scoped to a namespace.
|
32
|
+
# For more information, see [Resource Tags](https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm).
|
33
|
+
# Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`
|
31
34
|
#
|
32
35
|
# @return [Hash<String, Hash<String, Object>>]
|
33
36
|
attr_accessor :defined_tags
|
@@ -46,6 +49,10 @@ module OCI
|
|
46
49
|
|
47
50
|
# Initializes the object
|
48
51
|
# @param [Hash] attributes Model attributes in the form of hash
|
52
|
+
# @option attributes [String] :protocol The value to assign to the {#protocol} property
|
53
|
+
# @option attributes [String] :description The value to assign to the {#description} property
|
54
|
+
# @option attributes [Hash<String, String>] :freeformTags The value to assign to the {#freeform_tags} property
|
55
|
+
# @option attributes [Hash<String, Hash<String, Object>>] :definedTags The value to assign to the {#defined_tags} property
|
49
56
|
def initialize(attributes = {})
|
50
57
|
return unless attributes.is_a?(Hash)
|
51
58
|
|
@@ -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] :idpGroupName The value to assign to the {#idp_group_name} property
|
19
|
+
# @option attributes [String] :groupId The value to assign to the {#group_id} property
|
18
20
|
def initialize(attributes = {})
|
19
21
|
return unless attributes.is_a?(Hash)
|
20
22
|
|
@@ -9,7 +9,7 @@ module OCI
|
|
9
9
|
attr_accessor :description
|
10
10
|
|
11
11
|
# An array of policy statements written in the policy language. See
|
12
|
-
# [How Policies Work](https://docs.us-phoenix-1.oraclecloud.com/Content/Identity/Concepts/policies.htm) and
|
12
|
+
# [How Policies Work](https://docs.us-phoenix-1.oraclecloud.com/Content/Identity/Concepts/policies.htm) and
|
13
13
|
# [Common Policies](https://docs.us-phoenix-1.oraclecloud.com/Content/Identity/Concepts/commonpolicies.htm).
|
14
14
|
#
|
15
15
|
# @return [Array<String>]
|
@@ -22,14 +22,16 @@ module OCI
|
|
22
22
|
# @return [DateTime]
|
23
23
|
attr_accessor :version_date
|
24
24
|
|
25
|
-
#
|
26
|
-
#
|
25
|
+
# Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
|
26
|
+
# For more information, see [Resource Tags](https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm).
|
27
|
+
# Example: `{\"Department\": \"Finance\"}`
|
27
28
|
#
|
28
29
|
# @return [Hash<String, String>]
|
29
30
|
attr_accessor :freeform_tags
|
30
31
|
|
31
|
-
#
|
32
|
-
#
|
32
|
+
# Defined tags for this resource. Each key is predefined and scoped to a namespace.
|
33
|
+
# For more information, see [Resource Tags](https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm).
|
34
|
+
# Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`
|
33
35
|
#
|
34
36
|
# @return [Hash<String, Hash<String, Object>>]
|
35
37
|
attr_accessor :defined_tags
|
@@ -37,6 +39,11 @@ module OCI
|
|
37
39
|
|
38
40
|
# Initializes the object
|
39
41
|
# @param [Hash] attributes Model attributes in the form of hash
|
42
|
+
# @option attributes [String] :description The value to assign to the {#description} property
|
43
|
+
# @option attributes [Array<String>] :statements The value to assign to the {#statements} property
|
44
|
+
# @option attributes [DateTime] :versionDate The value to assign to the {#version_date} property
|
45
|
+
# @option attributes [Hash<String, String>] :freeformTags The value to assign to the {#freeform_tags} property
|
46
|
+
# @option attributes [Hash<String, Hash<String, Object>>] :definedTags The value to assign to the {#defined_tags} property
|
40
47
|
def initialize(attributes = {})
|
41
48
|
return unless attributes.is_a?(Hash)
|
42
49
|
|
@@ -19,6 +19,11 @@ module OCI
|
|
19
19
|
|
20
20
|
# Initializes the object
|
21
21
|
# @param [Hash] attributes Model attributes in the form of hash
|
22
|
+
# @option attributes [String] :description The value to assign to the {OCI::Identity::Models::UpdateIdentityProviderDetails#description #description} proprety
|
23
|
+
# @option attributes [Hash<String, String>] :freeformTags The value to assign to the {OCI::Identity::Models::UpdateIdentityProviderDetails#freeform_tags #freeform_tags} proprety
|
24
|
+
# @option attributes [Hash<String, Hash<String, Object>>] :definedTags The value to assign to the {OCI::Identity::Models::UpdateIdentityProviderDetails#defined_tags #defined_tags} proprety
|
25
|
+
# @option attributes [String] :metadataUrl The value to assign to the {#metadata_url} property
|
26
|
+
# @option attributes [String] :metadata The value to assign to the {#metadata} property
|
22
27
|
def initialize(attributes = {})
|
23
28
|
return unless attributes.is_a?(Hash)
|
24
29
|
|
@@ -12,13 +12,14 @@ module OCI
|
|
12
12
|
|
13
13
|
# Initializes the object
|
14
14
|
# @param [Hash] attributes Model attributes in the form of hash
|
15
|
+
# @option attributes [BOOLEAN] :blocked The value to assign to the {#blocked} property
|
15
16
|
def initialize(attributes = {})
|
16
17
|
return unless attributes.is_a?(Hash)
|
17
18
|
|
18
19
|
# convert string to symbol for hash key
|
19
20
|
attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
|
20
21
|
|
21
|
-
|
22
|
+
unless attributes[:'blocked'].nil?
|
22
23
|
self.blocked = attributes[:'blocked']
|
23
24
|
end
|
24
25
|
|
@@ -11,6 +11,7 @@ module OCI
|
|
11
11
|
|
12
12
|
# Initializes the object
|
13
13
|
# @param [Hash] attributes Model attributes in the form of hash
|
14
|
+
# @option attributes [String] :description The value to assign to the {#description} property
|
14
15
|
def initialize(attributes = {})
|
15
16
|
return unless attributes.is_a?(Hash)
|
16
17
|
|
@@ -4,22 +4,26 @@ require 'date'
|
|
4
4
|
|
5
5
|
module OCI
|
6
6
|
class Identity::Models::UpdateTagDetails
|
7
|
-
# The description
|
7
|
+
# The description you assign to the tag during creation.
|
8
8
|
# @return [String]
|
9
9
|
attr_accessor :description
|
10
10
|
|
11
|
-
#
|
11
|
+
# Whether the tag is retired.
|
12
|
+
# See [Retiring Key Definitions and Namespace Definitions](https://docs.us-phoenix-1.oraclecloud.com/Content/Identity/Concepts/taggingoverview.htm#Retiring).
|
13
|
+
#
|
12
14
|
# @return [BOOLEAN]
|
13
15
|
attr_accessor :is_retired
|
14
16
|
|
15
|
-
#
|
16
|
-
#
|
17
|
+
# Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
|
18
|
+
# For more information, see [Resource Tags](https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm).
|
19
|
+
# Example: `{\"Department\": \"Finance\"}`
|
17
20
|
#
|
18
21
|
# @return [Hash<String, String>]
|
19
22
|
attr_accessor :freeform_tags
|
20
23
|
|
21
|
-
#
|
22
|
-
#
|
24
|
+
# Defined tags for this resource. Each key is predefined and scoped to a namespace.
|
25
|
+
# For more information, see [Resource Tags](https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm).
|
26
|
+
# Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`
|
23
27
|
#
|
24
28
|
# @return [Hash<String, Hash<String, Object>>]
|
25
29
|
attr_accessor :defined_tags
|
@@ -27,6 +31,10 @@ module OCI
|
|
27
31
|
|
28
32
|
# Initializes the object
|
29
33
|
# @param [Hash] attributes Model attributes in the form of hash
|
34
|
+
# @option attributes [String] :description The value to assign to the {#description} property
|
35
|
+
# @option attributes [BOOLEAN] :isRetired The value to assign to the {#is_retired} property
|
36
|
+
# @option attributes [Hash<String, String>] :freeformTags The value to assign to the {#freeform_tags} property
|
37
|
+
# @option attributes [Hash<String, Hash<String, Object>>] :definedTags The value to assign to the {#defined_tags} property
|
30
38
|
def initialize(attributes = {})
|
31
39
|
return unless attributes.is_a?(Hash)
|
32
40
|
|
@@ -37,7 +45,7 @@ module OCI
|
|
37
45
|
self.description = attributes[:'description']
|
38
46
|
end
|
39
47
|
|
40
|
-
|
48
|
+
unless attributes[:'isRetired'].nil?
|
41
49
|
self.is_retired = attributes[:'isRetired']
|
42
50
|
end
|
43
51
|
|
@@ -4,22 +4,26 @@ require 'date'
|
|
4
4
|
|
5
5
|
module OCI
|
6
6
|
class Identity::Models::UpdateTagNamespaceDetails
|
7
|
-
# The description
|
7
|
+
# The description you assign to the tag namespace.
|
8
8
|
# @return [String]
|
9
9
|
attr_accessor :description
|
10
10
|
|
11
|
-
#
|
11
|
+
# Whether the tag namespace is retired.
|
12
|
+
# See [Retiring Key Definitions and Namespace Definitions](https://docs.us-phoenix-1.oraclecloud.com/Content/Identity/Concepts/taggingoverview.htm#Retiring).
|
13
|
+
#
|
12
14
|
# @return [BOOLEAN]
|
13
15
|
attr_accessor :is_retired
|
14
16
|
|
15
|
-
#
|
16
|
-
#
|
17
|
+
# Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
|
18
|
+
# For more information, see [Resource Tags](https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm).
|
19
|
+
# Example: `{\"Department\": \"Finance\"}`
|
17
20
|
#
|
18
21
|
# @return [Hash<String, String>]
|
19
22
|
attr_accessor :freeform_tags
|
20
23
|
|
21
|
-
#
|
22
|
-
#
|
24
|
+
# Defined tags for this resource. Each key is predefined and scoped to a namespace.
|
25
|
+
# For more information, see [Resource Tags](https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm).
|
26
|
+
# Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`
|
23
27
|
#
|
24
28
|
# @return [Hash<String, Hash<String, Object>>]
|
25
29
|
attr_accessor :defined_tags
|
@@ -27,6 +31,10 @@ module OCI
|
|
27
31
|
|
28
32
|
# Initializes the object
|
29
33
|
# @param [Hash] attributes Model attributes in the form of hash
|
34
|
+
# @option attributes [String] :description The value to assign to the {#description} property
|
35
|
+
# @option attributes [BOOLEAN] :isRetired The value to assign to the {#is_retired} property
|
36
|
+
# @option attributes [Hash<String, String>] :freeformTags The value to assign to the {#freeform_tags} property
|
37
|
+
# @option attributes [Hash<String, Hash<String, Object>>] :definedTags The value to assign to the {#defined_tags} property
|
30
38
|
def initialize(attributes = {})
|
31
39
|
return unless attributes.is_a?(Hash)
|
32
40
|
|
@@ -37,7 +45,7 @@ module OCI
|
|
37
45
|
self.description = attributes[:'description']
|
38
46
|
end
|
39
47
|
|
40
|
-
|
48
|
+
unless attributes[:'isRetired'].nil?
|
41
49
|
self.is_retired = attributes[:'isRetired']
|
42
50
|
end
|
43
51
|
|