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,20 +4,24 @@ require 'date'
|
|
4
4
|
require_relative 'identity_provider'
|
5
5
|
|
6
6
|
module OCI
|
7
|
+
# A special type of {IdentityProvider} that
|
8
|
+
# supports the SAML 2.0 protocol. For more information, see
|
9
|
+
# [Identity Providers and Federation](https://docs.us-phoenix-1.oraclecloud.com/Content/Identity/Concepts/federation.htm).
|
10
|
+
#
|
7
11
|
class Identity::Models::Saml2IdentityProvider < Identity::Models::IdentityProvider
|
8
|
-
# The URL for retrieving the identity provider's metadata, which
|
12
|
+
# **[Required]** The URL for retrieving the identity provider's metadata, which
|
9
13
|
# contains information required for federating.
|
10
14
|
#
|
11
15
|
# @return [String]
|
12
16
|
attr_accessor :metadata_url
|
13
17
|
|
14
|
-
# The identity provider's signing certificate used by the IAM Service
|
18
|
+
# **[Required]** The identity provider's signing certificate used by the IAM Service
|
15
19
|
# to validate the SAML2 token.
|
16
20
|
#
|
17
21
|
# @return [String]
|
18
22
|
attr_accessor :signing_certificate
|
19
23
|
|
20
|
-
# The URL to redirect federated users to for authentication with the
|
24
|
+
# **[Required]** The URL to redirect federated users to for authentication with the
|
21
25
|
# identity provider.
|
22
26
|
#
|
23
27
|
# @return [String]
|
@@ -26,6 +30,19 @@ module OCI
|
|
26
30
|
|
27
31
|
# Initializes the object
|
28
32
|
# @param [Hash] attributes Model attributes in the form of hash
|
33
|
+
# @option attributes [String] :id The value to assign to the {OCI::Identity::Models::IdentityProvider#id #id} proprety
|
34
|
+
# @option attributes [String] :compartmentId The value to assign to the {OCI::Identity::Models::IdentityProvider#compartment_id #compartment_id} proprety
|
35
|
+
# @option attributes [String] :name The value to assign to the {OCI::Identity::Models::IdentityProvider#name #name} proprety
|
36
|
+
# @option attributes [String] :description The value to assign to the {OCI::Identity::Models::IdentityProvider#description #description} proprety
|
37
|
+
# @option attributes [String] :productType The value to assign to the {OCI::Identity::Models::IdentityProvider#product_type #product_type} proprety
|
38
|
+
# @option attributes [DateTime] :timeCreated The value to assign to the {OCI::Identity::Models::IdentityProvider#time_created #time_created} proprety
|
39
|
+
# @option attributes [String] :lifecycleState The value to assign to the {OCI::Identity::Models::IdentityProvider#lifecycle_state #lifecycle_state} proprety
|
40
|
+
# @option attributes [Integer] :inactiveStatus The value to assign to the {OCI::Identity::Models::IdentityProvider#inactive_status #inactive_status} proprety
|
41
|
+
# @option attributes [Hash<String, String>] :freeformTags The value to assign to the {OCI::Identity::Models::IdentityProvider#freeform_tags #freeform_tags} proprety
|
42
|
+
# @option attributes [Hash<String, Hash<String, Object>>] :definedTags The value to assign to the {OCI::Identity::Models::IdentityProvider#defined_tags #defined_tags} proprety
|
43
|
+
# @option attributes [String] :metadataUrl The value to assign to the {#metadata_url} property
|
44
|
+
# @option attributes [String] :signingCertificate The value to assign to the {#signing_certificate} property
|
45
|
+
# @option attributes [String] :redirectUrl The value to assign to the {#redirect_url} property
|
29
46
|
def initialize(attributes = {})
|
30
47
|
return unless attributes.is_a?(Hash)
|
31
48
|
|
@@ -3,6 +3,14 @@
|
|
3
3
|
require 'date'
|
4
4
|
|
5
5
|
module OCI
|
6
|
+
# Swift is the OpenStack object storage service. A `SwiftPassword` is an Oracle-provided password for using a
|
7
|
+
# Swift client with the Oracle Cloud Infrastructure Object Storage Service. This password is associated with
|
8
|
+
# the user's Console login. Swift passwords never expire. A user can have up to two Swift passwords at a time.
|
9
|
+
#
|
10
|
+
# **Note:** The password is always an Oracle-generated string; you can't change it to a string of your choice.
|
11
|
+
#
|
12
|
+
# For more information, see [Managing User Credentials](https://docs.us-phoenix-1.oraclecloud.com/Content/Identity/Tasks/managingcredentials.htm).
|
13
|
+
#
|
6
14
|
class Identity::Models::SwiftPassword
|
7
15
|
|
8
16
|
LIFECYCLE_STATE_ENUM = [LIFECYCLE_STATE_CREATING = 'CREATING',
|
@@ -12,7 +20,7 @@ module OCI
|
|
12
20
|
LIFECYCLE_STATE_DELETED = 'DELETED',
|
13
21
|
LIFECYCLE_STATE_UNKNOWN_ENUM_VALUE = 'UNKNOWN_ENUM_VALUE']
|
14
22
|
|
15
|
-
# The Swift password. The value is available only in the response for `CreateSwiftPassword`, and not
|
23
|
+
# The Swift password. The value is available only in the response for `CreateSwiftPassword`, and not
|
16
24
|
# for `ListSwiftPasswords` or `UpdateSwiftPassword`.
|
17
25
|
#
|
18
26
|
# @return [String]
|
@@ -58,6 +66,14 @@ module OCI
|
|
58
66
|
|
59
67
|
# Initializes the object
|
60
68
|
# @param [Hash] attributes Model attributes in the form of hash
|
69
|
+
# @option attributes [String] :password The value to assign to the {#password} property
|
70
|
+
# @option attributes [String] :id The value to assign to the {#id} property
|
71
|
+
# @option attributes [String] :userId The value to assign to the {#user_id} property
|
72
|
+
# @option attributes [String] :description The value to assign to the {#description} property
|
73
|
+
# @option attributes [DateTime] :timeCreated The value to assign to the {#time_created} property
|
74
|
+
# @option attributes [DateTime] :expiresOn The value to assign to the {#expires_on} property
|
75
|
+
# @option attributes [String] :lifecycleState The value to assign to the {#lifecycle_state} property
|
76
|
+
# @option attributes [Integer] :inactiveStatus The value to assign to the {#inactive_status} property
|
61
77
|
def initialize(attributes = {})
|
62
78
|
return unless attributes.is_a?(Hash)
|
63
79
|
|
@@ -3,51 +3,58 @@
|
|
3
3
|
require 'date'
|
4
4
|
|
5
5
|
module OCI
|
6
|
+
# A tag definition that belongs to a specific tag namespace. \"Defined tags\" must be set up in your tenancy before
|
7
|
+
# you can apply them to resources.
|
8
|
+
# For more information, see [Managing Tags and Tag Namespaces](https://docs.us-phoenix-1.oraclecloud.com/Content/Identity/Concepts/taggingoverview.htm).
|
9
|
+
#
|
6
10
|
class Identity::Models::Tag
|
7
|
-
# The OCID of the compartment
|
11
|
+
# **[Required]** The OCID of the compartment that contains the tag definition.
|
8
12
|
# @return [String]
|
9
13
|
attr_accessor :compartment_id
|
10
14
|
|
11
|
-
# The OCID of the
|
15
|
+
# **[Required]** The OCID of the namespace that contains the tag definition.
|
12
16
|
# @return [String]
|
13
17
|
attr_accessor :tag_namespace_id
|
14
18
|
|
15
|
-
# The name of the tag namespace
|
19
|
+
# **[Required]** The name of the tag namespace that contains the tag definition.
|
16
20
|
#
|
17
21
|
# @return [String]
|
18
22
|
attr_accessor :tag_namespace_name
|
19
23
|
|
20
|
-
# The OCID of the tag definition.
|
24
|
+
# **[Required]** The OCID of the tag definition.
|
21
25
|
# @return [String]
|
22
26
|
attr_accessor :id
|
23
27
|
|
24
|
-
# The name of the tag
|
28
|
+
# **[Required]** The name of the tag. The name must be unique across all tags in the namespace and can't be changed.
|
25
29
|
#
|
26
30
|
# @return [String]
|
27
31
|
attr_accessor :name
|
28
32
|
|
29
|
-
# The description you assign to the tag.
|
33
|
+
# **[Required]** The description you assign to the tag.
|
30
34
|
# @return [String]
|
31
35
|
attr_accessor :description
|
32
36
|
|
33
|
-
#
|
34
|
-
#
|
37
|
+
# Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
|
38
|
+
# For more information, see [Resource Tags](https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm).
|
39
|
+
# Example: `{\"Department\": \"Finance\"}`
|
35
40
|
#
|
36
41
|
# @return [Hash<String, String>]
|
37
42
|
attr_accessor :freeform_tags
|
38
43
|
|
39
|
-
#
|
40
|
-
#
|
44
|
+
# Defined tags for this resource. Each key is predefined and scoped to a namespace.
|
45
|
+
# For more information, see [Resource Tags](https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm).
|
46
|
+
# Example: `{\"Operations\": {\"CostCenter\": \"42\"}}``
|
41
47
|
#
|
42
48
|
# @return [Hash<String, Hash<String, Object>>]
|
43
49
|
attr_accessor :defined_tags
|
44
50
|
|
45
|
-
#
|
51
|
+
# **[Required]** Indicates whether the tag is retired.
|
52
|
+
# See [Retiring Key Definitions and Namespace Definitions](https://docs.us-phoenix-1.oraclecloud.com/Content/Identity/Concepts/taggingoverview.htm#Retiring).
|
46
53
|
#
|
47
54
|
# @return [BOOLEAN]
|
48
55
|
attr_accessor :is_retired
|
49
56
|
|
50
|
-
# Date and time the tag was created, in the format defined by RFC3339.
|
57
|
+
# **[Required]** Date and time the tag was created, in the format defined by RFC3339.
|
51
58
|
# Example: `2016-08-25T21:10:29.600Z`
|
52
59
|
#
|
53
60
|
# @return [DateTime]
|
@@ -56,6 +63,16 @@ module OCI
|
|
56
63
|
|
57
64
|
# Initializes the object
|
58
65
|
# @param [Hash] attributes Model attributes in the form of hash
|
66
|
+
# @option attributes [String] :compartmentId The value to assign to the {#compartment_id} property
|
67
|
+
# @option attributes [String] :tagNamespaceId The value to assign to the {#tag_namespace_id} property
|
68
|
+
# @option attributes [String] :tagNamespaceName The value to assign to the {#tag_namespace_name} property
|
69
|
+
# @option attributes [String] :id The value to assign to the {#id} property
|
70
|
+
# @option attributes [String] :name The value to assign to the {#name} property
|
71
|
+
# @option attributes [String] :description The value to assign to the {#description} property
|
72
|
+
# @option attributes [Hash<String, String>] :freeformTags The value to assign to the {#freeform_tags} property
|
73
|
+
# @option attributes [Hash<String, Hash<String, Object>>] :definedTags The value to assign to the {#defined_tags} property
|
74
|
+
# @option attributes [BOOLEAN] :isRetired The value to assign to the {#is_retired} property
|
75
|
+
# @option attributes [DateTime] :timeCreated The value to assign to the {#time_created} property
|
59
76
|
def initialize(attributes = {})
|
60
77
|
return unless attributes.is_a?(Hash)
|
61
78
|
|
@@ -94,7 +111,7 @@ module OCI
|
|
94
111
|
self.defined_tags = attributes[:'definedTags']
|
95
112
|
end
|
96
113
|
|
97
|
-
|
114
|
+
unless attributes[:'isRetired'].nil?
|
98
115
|
self.is_retired = attributes[:'isRetired']
|
99
116
|
end
|
100
117
|
|
@@ -3,42 +3,48 @@
|
|
3
3
|
require 'date'
|
4
4
|
|
5
5
|
module OCI
|
6
|
+
# A managed container for defined tags. A tag namespace is unique in a tenancy. A tag namespace can't be deleted.
|
7
|
+
# For more information, see [Managing Tags and Tag Namespaces](https://docs.us-phoenix-1.oraclecloud.com/Content/Identity/Concepts/taggingoverview.htm).
|
8
|
+
#
|
6
9
|
class Identity::Models::TagNamespace
|
7
|
-
# The OCID of the
|
10
|
+
# **[Required]** The OCID of the tag namespace.
|
8
11
|
# @return [String]
|
9
12
|
attr_accessor :id
|
10
13
|
|
11
|
-
# The OCID of the compartment
|
14
|
+
# **[Required]** The OCID of the compartment that contains the tag namespace.
|
12
15
|
# @return [String]
|
13
16
|
attr_accessor :compartment_id
|
14
17
|
|
15
|
-
# The name of the
|
18
|
+
# **[Required]** The name of the tag namespace. It must be unique across all tag namespaces in the tenancy and cannot be changed.
|
16
19
|
#
|
17
20
|
# @return [String]
|
18
21
|
attr_accessor :name
|
19
22
|
|
20
|
-
# The description you assign to the
|
23
|
+
# **[Required]** The description you assign to the tag namespace.
|
21
24
|
# @return [String]
|
22
25
|
attr_accessor :description
|
23
26
|
|
24
|
-
#
|
25
|
-
#
|
27
|
+
# Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
|
28
|
+
# For more information, see [Resource Tags](https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm).
|
29
|
+
# Example: `{\"Department\": \"Finance\"}`
|
26
30
|
#
|
27
31
|
# @return [Hash<String, String>]
|
28
32
|
attr_accessor :freeform_tags
|
29
33
|
|
30
|
-
#
|
31
|
-
#
|
34
|
+
# Defined tags for this resource. Each key is predefined and scoped to a namespace.
|
35
|
+
# For more information, see [Resource Tags](https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm).
|
36
|
+
# Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`
|
32
37
|
#
|
33
38
|
# @return [Hash<String, Hash<String, Object>>]
|
34
39
|
attr_accessor :defined_tags
|
35
40
|
|
36
|
-
#
|
41
|
+
# **[Required]** Whether the tag namespace is retired.
|
42
|
+
# See [Retiring Key Definitions and Namespace Definitions](https://docs.us-phoenix-1.oraclecloud.com/Content/Identity/Concepts/taggingoverview.htm#Retiring).
|
37
43
|
#
|
38
44
|
# @return [BOOLEAN]
|
39
45
|
attr_accessor :is_retired
|
40
46
|
|
41
|
-
# Date and time the tagNamespace was created, in the format defined by RFC3339.
|
47
|
+
# **[Required]** Date and time the tagNamespace was created, in the format defined by RFC3339.
|
42
48
|
# Example: `2016-08-25T21:10:29.600Z`
|
43
49
|
#
|
44
50
|
# @return [DateTime]
|
@@ -47,6 +53,14 @@ module OCI
|
|
47
53
|
|
48
54
|
# Initializes the object
|
49
55
|
# @param [Hash] attributes Model attributes in the form of hash
|
56
|
+
# @option attributes [String] :id The value to assign to the {#id} property
|
57
|
+
# @option attributes [String] :compartmentId The value to assign to the {#compartment_id} property
|
58
|
+
# @option attributes [String] :name The value to assign to the {#name} property
|
59
|
+
# @option attributes [String] :description The value to assign to the {#description} property
|
60
|
+
# @option attributes [Hash<String, String>] :freeformTags The value to assign to the {#freeform_tags} property
|
61
|
+
# @option attributes [Hash<String, Hash<String, Object>>] :definedTags The value to assign to the {#defined_tags} property
|
62
|
+
# @option attributes [BOOLEAN] :isRetired The value to assign to the {#is_retired} property
|
63
|
+
# @option attributes [DateTime] :timeCreated The value to assign to the {#time_created} property
|
50
64
|
def initialize(attributes = {})
|
51
65
|
return unless attributes.is_a?(Hash)
|
52
66
|
|
@@ -77,7 +91,7 @@ module OCI
|
|
77
91
|
self.defined_tags = attributes[:'definedTags']
|
78
92
|
end
|
79
93
|
|
80
|
-
|
94
|
+
unless attributes[:'isRetired'].nil?
|
81
95
|
self.is_retired = attributes[:'isRetired']
|
82
96
|
end
|
83
97
|
|
@@ -3,37 +3,42 @@
|
|
3
3
|
require 'date'
|
4
4
|
|
5
5
|
module OCI
|
6
|
+
# A container for defined tags.
|
7
|
+
#
|
6
8
|
class Identity::Models::TagNamespaceSummary
|
7
|
-
# The OCID of the
|
9
|
+
# The OCID of the tag namespace.
|
8
10
|
# @return [String]
|
9
11
|
attr_accessor :id
|
10
12
|
|
11
|
-
# The OCID of the compartment
|
13
|
+
# The OCID of the compartment that contains the tag namespace.
|
12
14
|
# @return [String]
|
13
15
|
attr_accessor :compartment_id
|
14
16
|
|
15
|
-
# The name of the
|
17
|
+
# The name of the tag namespace. It must be unique across all tag namespaces in the tenancy and cannot be changed.
|
16
18
|
#
|
17
19
|
# @return [String]
|
18
20
|
attr_accessor :name
|
19
21
|
|
20
|
-
# The description you assign to the
|
22
|
+
# The description you assign to the tag namespace.
|
21
23
|
# @return [String]
|
22
24
|
attr_accessor :description
|
23
25
|
|
24
|
-
#
|
25
|
-
#
|
26
|
+
# Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
|
27
|
+
# For more information, see [Resource Tags](https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm).
|
28
|
+
# Example: `{\"Department\": \"Finance\"}`
|
26
29
|
#
|
27
30
|
# @return [Hash<String, String>]
|
28
31
|
attr_accessor :freeform_tags
|
29
32
|
|
30
|
-
#
|
31
|
-
#
|
33
|
+
# Defined tags for this resource. Each key is predefined and scoped to a namespace.
|
34
|
+
# For more information, see [Resource Tags](https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm).
|
35
|
+
# Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`
|
32
36
|
#
|
33
37
|
# @return [Hash<String, Hash<String, Object>>]
|
34
38
|
attr_accessor :defined_tags
|
35
39
|
|
36
|
-
#
|
40
|
+
# Whether the tag namespace is retired.
|
41
|
+
# For more information, see [Retiring Key Definitions and Namespace Definitions](https://docs.us-phoenix-1.oraclecloud.com/Content/Identity/Concepts/taggingoverview.htm#Retiring).
|
37
42
|
#
|
38
43
|
# @return [BOOLEAN]
|
39
44
|
attr_accessor :is_retired
|
@@ -47,6 +52,14 @@ module OCI
|
|
47
52
|
|
48
53
|
# Initializes the object
|
49
54
|
# @param [Hash] attributes Model attributes in the form of hash
|
55
|
+
# @option attributes [String] :id The value to assign to the {#id} property
|
56
|
+
# @option attributes [String] :compartmentId The value to assign to the {#compartment_id} property
|
57
|
+
# @option attributes [String] :name The value to assign to the {#name} property
|
58
|
+
# @option attributes [String] :description The value to assign to the {#description} property
|
59
|
+
# @option attributes [Hash<String, String>] :freeformTags The value to assign to the {#freeform_tags} property
|
60
|
+
# @option attributes [Hash<String, Hash<String, Object>>] :definedTags The value to assign to the {#defined_tags} property
|
61
|
+
# @option attributes [BOOLEAN] :isRetired The value to assign to the {#is_retired} property
|
62
|
+
# @option attributes [DateTime] :timeCreated The value to assign to the {#time_created} property
|
50
63
|
def initialize(attributes = {})
|
51
64
|
return unless attributes.is_a?(Hash)
|
52
65
|
|
@@ -77,7 +90,7 @@ module OCI
|
|
77
90
|
self.defined_tags = attributes[:'definedTags']
|
78
91
|
end
|
79
92
|
|
80
|
-
|
93
|
+
unless attributes[:'isRetired'].nil?
|
81
94
|
self.is_retired = attributes[:'isRetired']
|
82
95
|
end
|
83
96
|
|
@@ -3,8 +3,10 @@
|
|
3
3
|
require 'date'
|
4
4
|
|
5
5
|
module OCI
|
6
|
+
# A tag definition that belongs to a specific tag namespace.
|
7
|
+
#
|
6
8
|
class Identity::Models::TagSummary
|
7
|
-
# The OCID of the compartment
|
9
|
+
# The OCID of the compartment that contains the tag definition.
|
8
10
|
# @return [String]
|
9
11
|
attr_accessor :compartment_id
|
10
12
|
|
@@ -12,7 +14,7 @@ module OCI
|
|
12
14
|
# @return [String]
|
13
15
|
attr_accessor :id
|
14
16
|
|
15
|
-
# The name of the tag
|
17
|
+
# The name of the tag. The name must be unique across all tags in the tag namespace and can't be changed.
|
16
18
|
#
|
17
19
|
# @return [String]
|
18
20
|
attr_accessor :name
|
@@ -21,19 +23,22 @@ module OCI
|
|
21
23
|
# @return [String]
|
22
24
|
attr_accessor :description
|
23
25
|
|
24
|
-
#
|
25
|
-
#
|
26
|
+
# Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
|
27
|
+
# For more information, see [Resource Tags](https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm).
|
28
|
+
# Example: `{\"Department\": \"Finance\"}`
|
26
29
|
#
|
27
30
|
# @return [Hash<String, String>]
|
28
31
|
attr_accessor :freeform_tags
|
29
32
|
|
30
|
-
#
|
31
|
-
#
|
33
|
+
# Defined tags for this resource. Each key is predefined and scoped to a namespace.
|
34
|
+
# For more information, see [Resource Tags](https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm).
|
35
|
+
# Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`
|
32
36
|
#
|
33
37
|
# @return [Hash<String, Hash<String, Object>>]
|
34
38
|
attr_accessor :defined_tags
|
35
39
|
|
36
|
-
#
|
40
|
+
# Whether the tag is retired.
|
41
|
+
# See [Retiring Key Definitions and Namespace Definitions](https://docs.us-phoenix-1.oraclecloud.com/Content/Identity/Concepts/taggingoverview.htm#Retiring).
|
37
42
|
#
|
38
43
|
# @return [BOOLEAN]
|
39
44
|
attr_accessor :is_retired
|
@@ -47,6 +52,14 @@ module OCI
|
|
47
52
|
|
48
53
|
# Initializes the object
|
49
54
|
# @param [Hash] attributes Model attributes in the form of hash
|
55
|
+
# @option attributes [String] :compartmentId The value to assign to the {#compartment_id} property
|
56
|
+
# @option attributes [String] :id The value to assign to the {#id} property
|
57
|
+
# @option attributes [String] :name The value to assign to the {#name} property
|
58
|
+
# @option attributes [String] :description The value to assign to the {#description} property
|
59
|
+
# @option attributes [Hash<String, String>] :freeformTags The value to assign to the {#freeform_tags} property
|
60
|
+
# @option attributes [Hash<String, Hash<String, Object>>] :definedTags The value to assign to the {#defined_tags} property
|
61
|
+
# @option attributes [BOOLEAN] :isRetired The value to assign to the {#is_retired} property
|
62
|
+
# @option attributes [DateTime] :timeCreated The value to assign to the {#time_created} property
|
50
63
|
def initialize(attributes = {})
|
51
64
|
return unless attributes.is_a?(Hash)
|
52
65
|
|
@@ -77,7 +90,7 @@ module OCI
|
|
77
90
|
self.defined_tags = attributes[:'definedTags']
|
78
91
|
end
|
79
92
|
|
80
|
-
|
93
|
+
unless attributes[:'isRetired'].nil?
|
81
94
|
self.is_retired = attributes[:'isRetired']
|
82
95
|
end
|
83
96
|
|
@@ -3,6 +3,15 @@
|
|
3
3
|
require 'date'
|
4
4
|
|
5
5
|
module OCI
|
6
|
+
# The root compartment that contains all of your organization's compartments and other
|
7
|
+
# Oracle Cloud Infrastructure cloud resources. When you sign up for Oracle Cloud Infrastructure,
|
8
|
+
# Oracle creates a tenancy for your company, which is a secure and isolated partition
|
9
|
+
# where you can create, organize, and administer your cloud resources.
|
10
|
+
#
|
11
|
+
# To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized,
|
12
|
+
# talk to an administrator. If you're an administrator who needs to write policies to give users access,
|
13
|
+
# see [Getting Started with Policies](https://docs.us-phoenix-1.oraclecloud.com/Content/Identity/Concepts/policygetstarted.htm).
|
14
|
+
#
|
6
15
|
class Identity::Models::Tenancy
|
7
16
|
# The OCID of the tenancy.
|
8
17
|
# @return [String]
|
@@ -26,14 +35,16 @@ module OCI
|
|
26
35
|
# @return [String]
|
27
36
|
attr_accessor :home_region_key
|
28
37
|
|
29
|
-
#
|
30
|
-
#
|
38
|
+
# Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
|
39
|
+
# For more information, see [Resource Tags](https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm).
|
40
|
+
# Example: `{\"Department\": \"Finance\"}`
|
31
41
|
#
|
32
42
|
# @return [Hash<String, String>]
|
33
43
|
attr_accessor :freeform_tags
|
34
44
|
|
35
|
-
#
|
36
|
-
#
|
45
|
+
# Defined tags for this resource. Each key is predefined and scoped to a namespace.
|
46
|
+
# For more information, see [Resource Tags](https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm).
|
47
|
+
# Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`
|
37
48
|
#
|
38
49
|
# @return [Hash<String, Hash<String, Object>>]
|
39
50
|
attr_accessor :defined_tags
|
@@ -41,6 +52,12 @@ module OCI
|
|
41
52
|
|
42
53
|
# Initializes the object
|
43
54
|
# @param [Hash] attributes Model attributes in the form of hash
|
55
|
+
# @option attributes [String] :id The value to assign to the {#id} property
|
56
|
+
# @option attributes [String] :name The value to assign to the {#name} property
|
57
|
+
# @option attributes [String] :description The value to assign to the {#description} property
|
58
|
+
# @option attributes [String] :homeRegionKey The value to assign to the {#home_region_key} property
|
59
|
+
# @option attributes [Hash<String, String>] :freeformTags The value to assign to the {#freeform_tags} property
|
60
|
+
# @option attributes [Hash<String, Hash<String, Object>>] :definedTags The value to assign to the {#defined_tags} property
|
44
61
|
def initialize(attributes = {})
|
45
62
|
return unless attributes.is_a?(Hash)
|
46
63
|
|