oci 2.0.5 → 2.0.6
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 -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,20 @@
|
|
|
3
3
|
require 'date'
|
|
4
4
|
|
|
5
5
|
module OCI
|
|
6
|
+
# A collection of users who all need the same type of access to a particular set of resources or compartment.
|
|
7
|
+
# For conceptual information about groups and other IAM Service components, see
|
|
8
|
+
# [Overview of the IAM Service](https://docs.us-phoenix-1.oraclecloud.com/Content/Identity/Concepts/overview.htm).
|
|
9
|
+
#
|
|
10
|
+
# If you're federating with an identity provider (IdP), you need to create mappings between the groups
|
|
11
|
+
# defined in the IdP and groups you define in the IAM service. For more information, see
|
|
12
|
+
# [Identity Providers and Federation](https://docs.us-phoenix-1.oraclecloud.com/Content/Identity/Concepts/federation.htm). Also see
|
|
13
|
+
# {IdentityProvider} and
|
|
14
|
+
# {IdpGroupMapping}.
|
|
15
|
+
#
|
|
16
|
+
# To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized,
|
|
17
|
+
# talk to an administrator. If you're an administrator who needs to write policies to give users access,
|
|
18
|
+
# see [Getting Started with Policies](https://docs.us-phoenix-1.oraclecloud.com/Content/Identity/Concepts/policygetstarted.htm).
|
|
19
|
+
#
|
|
6
20
|
class Identity::Models::Group
|
|
7
21
|
|
|
8
22
|
LIFECYCLE_STATE_ENUM = [LIFECYCLE_STATE_CREATING = 'CREATING',
|
|
@@ -12,32 +26,32 @@ module OCI
|
|
|
12
26
|
LIFECYCLE_STATE_DELETED = 'DELETED',
|
|
13
27
|
LIFECYCLE_STATE_UNKNOWN_ENUM_VALUE = 'UNKNOWN_ENUM_VALUE']
|
|
14
28
|
|
|
15
|
-
# The OCID of the group.
|
|
29
|
+
# **[Required]** The OCID of the group.
|
|
16
30
|
# @return [String]
|
|
17
31
|
attr_accessor :id
|
|
18
32
|
|
|
19
|
-
# The OCID of the tenancy containing the group.
|
|
33
|
+
# **[Required]** The OCID of the tenancy containing the group.
|
|
20
34
|
# @return [String]
|
|
21
35
|
attr_accessor :compartment_id
|
|
22
36
|
|
|
23
|
-
# The name you assign to the group during creation. The name must be unique across all groups in
|
|
37
|
+
# **[Required]** The name you assign to the group during creation. The name must be unique across all groups in
|
|
24
38
|
# the tenancy and cannot be changed.
|
|
25
39
|
#
|
|
26
40
|
# @return [String]
|
|
27
41
|
attr_accessor :name
|
|
28
42
|
|
|
29
|
-
# The description you assign to the group. Does not have to be unique, and it's changeable.
|
|
43
|
+
# **[Required]** The description you assign to the group. Does not have to be unique, and it's changeable.
|
|
30
44
|
# @return [String]
|
|
31
45
|
attr_accessor :description
|
|
32
46
|
|
|
33
|
-
# Date and time the group was created, in the format defined by RFC3339.
|
|
47
|
+
# **[Required]** Date and time the group was created, in the format defined by RFC3339.
|
|
34
48
|
#
|
|
35
49
|
# Example: `2016-08-25T21:10:29.600Z`
|
|
36
50
|
#
|
|
37
51
|
# @return [DateTime]
|
|
38
52
|
attr_accessor :time_created
|
|
39
53
|
|
|
40
|
-
# The group's current state. After creating a group, make sure its `lifecycleState` changes from CREATING to
|
|
54
|
+
# **[Required]** The group's current state. After creating a group, make sure its `lifecycleState` changes from CREATING to
|
|
41
55
|
# ACTIVE before using it.
|
|
42
56
|
#
|
|
43
57
|
# @return [String]
|
|
@@ -47,15 +61,16 @@ module OCI
|
|
|
47
61
|
# @return [Integer]
|
|
48
62
|
attr_accessor :inactive_status
|
|
49
63
|
|
|
50
|
-
#
|
|
51
|
-
#
|
|
52
|
-
# Example: `{\"
|
|
64
|
+
# Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
|
|
65
|
+
# For more information, see [Resource Tags](https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm).
|
|
66
|
+
# Example: `{\"Department\": \"Finance\"}`
|
|
53
67
|
#
|
|
54
68
|
# @return [Hash<String, String>]
|
|
55
69
|
attr_accessor :freeform_tags
|
|
56
70
|
|
|
57
|
-
#
|
|
58
|
-
#
|
|
71
|
+
# Defined tags for this resource. Each key is predefined and scoped to a namespace.
|
|
72
|
+
# For more information, see [Resource Tags](https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm).
|
|
73
|
+
# Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`
|
|
59
74
|
#
|
|
60
75
|
# @return [Hash<String, Hash<String, Object>>]
|
|
61
76
|
attr_accessor :defined_tags
|
|
@@ -63,6 +78,15 @@ module OCI
|
|
|
63
78
|
|
|
64
79
|
# Initializes the object
|
|
65
80
|
# @param [Hash] attributes Model attributes in the form of hash
|
|
81
|
+
# @option attributes [String] :id The value to assign to the {#id} property
|
|
82
|
+
# @option attributes [String] :compartmentId The value to assign to the {#compartment_id} property
|
|
83
|
+
# @option attributes [String] :name The value to assign to the {#name} property
|
|
84
|
+
# @option attributes [String] :description The value to assign to the {#description} property
|
|
85
|
+
# @option attributes [DateTime] :timeCreated The value to assign to the {#time_created} property
|
|
86
|
+
# @option attributes [String] :lifecycleState The value to assign to the {#lifecycle_state} property
|
|
87
|
+
# @option attributes [Integer] :inactiveStatus The value to assign to the {#inactive_status} property
|
|
88
|
+
# @option attributes [Hash<String, String>] :freeformTags The value to assign to the {#freeform_tags} property
|
|
89
|
+
# @option attributes [Hash<String, Hash<String, Object>>] :definedTags The value to assign to the {#defined_tags} property
|
|
66
90
|
def initialize(attributes = {})
|
|
67
91
|
return unless attributes.is_a?(Hash)
|
|
68
92
|
|
|
@@ -3,6 +3,17 @@
|
|
|
3
3
|
require 'date'
|
|
4
4
|
|
|
5
5
|
module OCI
|
|
6
|
+
# The resulting base object when you add an identity provider to your tenancy. A
|
|
7
|
+
# {Saml2IdentityProvider}
|
|
8
|
+
# is a specific type of `IdentityProvider` that supports the SAML 2.0 protocol. Each
|
|
9
|
+
# `IdentityProvider` object has its own OCID. For more information, see
|
|
10
|
+
# [Identity Providers and Federation](https://docs.us-phoenix-1.oraclecloud.com/Content/Identity/Concepts/federation.htm).
|
|
11
|
+
#
|
|
12
|
+
# To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized,
|
|
13
|
+
# talk to an administrator. If you're an administrator who needs to write policies to give users access,
|
|
14
|
+
# see [Getting Started with Policies](https://docs.us-phoenix-1.oraclecloud.com/Content/Identity/Concepts/policygetstarted.htm).
|
|
15
|
+
#
|
|
16
|
+
# 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
17
|
class Identity::Models::IdentityProvider
|
|
7
18
|
|
|
8
19
|
LIFECYCLE_STATE_ENUM = [LIFECYCLE_STATE_CREATING = 'CREATING',
|
|
@@ -12,15 +23,15 @@ module OCI
|
|
|
12
23
|
LIFECYCLE_STATE_DELETED = 'DELETED',
|
|
13
24
|
LIFECYCLE_STATE_UNKNOWN_ENUM_VALUE = 'UNKNOWN_ENUM_VALUE']
|
|
14
25
|
|
|
15
|
-
# The OCID of the `IdentityProvider`.
|
|
26
|
+
# **[Required]** The OCID of the `IdentityProvider`.
|
|
16
27
|
# @return [String]
|
|
17
28
|
attr_accessor :id
|
|
18
29
|
|
|
19
|
-
# The OCID of the tenancy containing the `IdentityProvider`.
|
|
30
|
+
# **[Required]** The OCID of the tenancy containing the `IdentityProvider`.
|
|
20
31
|
# @return [String]
|
|
21
32
|
attr_accessor :compartment_id
|
|
22
33
|
|
|
23
|
-
# The name you assign to the `IdentityProvider` during creation. The name
|
|
34
|
+
# **[Required]** The name you assign to the `IdentityProvider` during creation. The name
|
|
24
35
|
# must be unique across all `IdentityProvider` objects in the tenancy and
|
|
25
36
|
# cannot be changed. This is the name federated users see when choosing
|
|
26
37
|
# which identity provider to use when signing in to the Oracle Cloud Infrastructure
|
|
@@ -29,13 +40,13 @@ module OCI
|
|
|
29
40
|
# @return [String]
|
|
30
41
|
attr_accessor :name
|
|
31
42
|
|
|
32
|
-
# The description you assign to the `IdentityProvider` during creation. Does
|
|
43
|
+
# **[Required]** The description you assign to the `IdentityProvider` during creation. Does
|
|
33
44
|
# not have to be unique, and it's changeable.
|
|
34
45
|
#
|
|
35
46
|
# @return [String]
|
|
36
47
|
attr_accessor :description
|
|
37
48
|
|
|
38
|
-
# The identity provider service or product.
|
|
49
|
+
# **[Required]** The identity provider service or product.
|
|
39
50
|
# Supported identity providers are Oracle Identity Cloud Service (IDCS) and Microsoft
|
|
40
51
|
# Active Directory Federation Services (ADFS).
|
|
41
52
|
#
|
|
@@ -48,14 +59,14 @@ module OCI
|
|
|
48
59
|
# @return [String]
|
|
49
60
|
attr_accessor :product_type
|
|
50
61
|
|
|
51
|
-
# Date and time the `IdentityProvider` was created, in the format defined by RFC3339.
|
|
62
|
+
# **[Required]** Date and time the `IdentityProvider` was created, in the format defined by RFC3339.
|
|
52
63
|
#
|
|
53
64
|
# Example: `2016-08-25T21:10:29.600Z`
|
|
54
65
|
#
|
|
55
66
|
# @return [DateTime]
|
|
56
67
|
attr_accessor :time_created
|
|
57
68
|
|
|
58
|
-
# The current state. After creating an `IdentityProvider`, make sure its
|
|
69
|
+
# **[Required]** The current state. After creating an `IdentityProvider`, make sure its
|
|
59
70
|
# `lifecycleState` changes from CREATING to ACTIVE before using it.
|
|
60
71
|
#
|
|
61
72
|
# @return [String]
|
|
@@ -65,21 +76,23 @@ module OCI
|
|
|
65
76
|
# @return [Integer]
|
|
66
77
|
attr_accessor :inactive_status
|
|
67
78
|
|
|
68
|
-
# The protocol used for federation. Allowed value: `SAML2`.
|
|
79
|
+
# **[Required]** The protocol used for federation. Allowed value: `SAML2`.
|
|
69
80
|
#
|
|
70
81
|
# Example: `SAML2`
|
|
71
82
|
#
|
|
72
83
|
# @return [String]
|
|
73
84
|
attr_accessor :protocol
|
|
74
85
|
|
|
75
|
-
#
|
|
76
|
-
#
|
|
86
|
+
# Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
|
|
87
|
+
# For more information, see [Resource Tags](https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm).
|
|
88
|
+
# Example: `{\"Department\": \"Finance\"}`
|
|
77
89
|
#
|
|
78
90
|
# @return [Hash<String, String>]
|
|
79
91
|
attr_accessor :freeform_tags
|
|
80
92
|
|
|
81
|
-
#
|
|
82
|
-
#
|
|
93
|
+
# Defined tags for this resource. Each key is predefined and scoped to a namespace.
|
|
94
|
+
# For more information, see [Resource Tags](https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm).
|
|
95
|
+
# Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`
|
|
83
96
|
#
|
|
84
97
|
# @return [Hash<String, Hash<String, Object>>]
|
|
85
98
|
attr_accessor :defined_tags
|
|
@@ -98,6 +111,17 @@ module OCI
|
|
|
98
111
|
|
|
99
112
|
# Initializes the object
|
|
100
113
|
# @param [Hash] attributes Model attributes in the form of hash
|
|
114
|
+
# @option attributes [String] :id The value to assign to the {#id} property
|
|
115
|
+
# @option attributes [String] :compartmentId The value to assign to the {#compartment_id} property
|
|
116
|
+
# @option attributes [String] :name The value to assign to the {#name} property
|
|
117
|
+
# @option attributes [String] :description The value to assign to the {#description} property
|
|
118
|
+
# @option attributes [String] :productType The value to assign to the {#product_type} property
|
|
119
|
+
# @option attributes [DateTime] :timeCreated The value to assign to the {#time_created} property
|
|
120
|
+
# @option attributes [String] :lifecycleState The value to assign to the {#lifecycle_state} property
|
|
121
|
+
# @option attributes [Integer] :inactiveStatus The value to assign to the {#inactive_status} property
|
|
122
|
+
# @option attributes [String] :protocol The value to assign to the {#protocol} property
|
|
123
|
+
# @option attributes [Hash<String, String>] :freeformTags The value to assign to the {#freeform_tags} property
|
|
124
|
+
# @option attributes [Hash<String, Hash<String, Object>>] :definedTags The value to assign to the {#defined_tags} property
|
|
101
125
|
def initialize(attributes = {})
|
|
102
126
|
return unless attributes.is_a?(Hash)
|
|
103
127
|
|
|
@@ -3,6 +3,18 @@
|
|
|
3
3
|
require 'date'
|
|
4
4
|
|
|
5
5
|
module OCI
|
|
6
|
+
# A mapping between a single group defined by the identity provider (IdP) you're federating with
|
|
7
|
+
# and a single IAM Service {Group} in Oracle Cloud Infrastructure.
|
|
8
|
+
# For more information about group mappings and what they're for, see
|
|
9
|
+
# [Identity Providers and Federation](https://docs.us-phoenix-1.oraclecloud.com/Content/Identity/Concepts/federation.htm).
|
|
10
|
+
#
|
|
11
|
+
# A given IdP group can be mapped to zero, one, or multiple IAM Service groups, and vice versa.
|
|
12
|
+
# But each `IdPGroupMapping` object is between only a single IdP group and IAM Service group.
|
|
13
|
+
# Each `IdPGroupMapping` object has its own OCID.
|
|
14
|
+
#
|
|
15
|
+
# **Note:** Any users who are in more than 50 IdP groups cannot be authenticated to use the Oracle
|
|
16
|
+
# Cloud Infrastructure Console.
|
|
17
|
+
#
|
|
6
18
|
class Identity::Models::IdpGroupMapping
|
|
7
19
|
|
|
8
20
|
LIFECYCLE_STATE_ENUM = [LIFECYCLE_STATE_CREATING = 'CREATING',
|
|
@@ -12,34 +24,34 @@ module OCI
|
|
|
12
24
|
LIFECYCLE_STATE_DELETED = 'DELETED',
|
|
13
25
|
LIFECYCLE_STATE_UNKNOWN_ENUM_VALUE = 'UNKNOWN_ENUM_VALUE']
|
|
14
26
|
|
|
15
|
-
# The OCID of the `IdpGroupMapping`.
|
|
27
|
+
# **[Required]** The OCID of the `IdpGroupMapping`.
|
|
16
28
|
# @return [String]
|
|
17
29
|
attr_accessor :id
|
|
18
30
|
|
|
19
|
-
# The OCID of the `IdentityProvider` this mapping belongs to.
|
|
31
|
+
# **[Required]** The OCID of the `IdentityProvider` this mapping belongs to.
|
|
20
32
|
# @return [String]
|
|
21
33
|
attr_accessor :idp_id
|
|
22
34
|
|
|
23
|
-
# The name of the IdP group that is mapped to the IAM Service group.
|
|
35
|
+
# **[Required]** The name of the IdP group that is mapped to the IAM Service group.
|
|
24
36
|
# @return [String]
|
|
25
37
|
attr_accessor :idp_group_name
|
|
26
38
|
|
|
27
|
-
# The OCID of the IAM Service group that is mapped to the IdP group.
|
|
39
|
+
# **[Required]** The OCID of the IAM Service group that is mapped to the IdP group.
|
|
28
40
|
# @return [String]
|
|
29
41
|
attr_accessor :group_id
|
|
30
42
|
|
|
31
|
-
# The OCID of the tenancy containing the `IdentityProvider`.
|
|
43
|
+
# **[Required]** The OCID of the tenancy containing the `IdentityProvider`.
|
|
32
44
|
# @return [String]
|
|
33
45
|
attr_accessor :compartment_id
|
|
34
46
|
|
|
35
|
-
# Date and time the mapping was created, in the format defined by RFC3339.
|
|
47
|
+
# **[Required]** Date and time the mapping was created, in the format defined by RFC3339.
|
|
36
48
|
#
|
|
37
49
|
# Example: `2016-08-25T21:10:29.600Z`
|
|
38
50
|
#
|
|
39
51
|
# @return [DateTime]
|
|
40
52
|
attr_accessor :time_created
|
|
41
53
|
|
|
42
|
-
# The mapping's current state. After creating a mapping object, make sure its `lifecycleState` changes
|
|
54
|
+
# **[Required]** The mapping's current state. After creating a mapping object, make sure its `lifecycleState` changes
|
|
43
55
|
# from CREATING to ACTIVE before using it.
|
|
44
56
|
#
|
|
45
57
|
# @return [String]
|
|
@@ -52,6 +64,14 @@ module OCI
|
|
|
52
64
|
|
|
53
65
|
# Initializes the object
|
|
54
66
|
# @param [Hash] attributes Model attributes in the form of hash
|
|
67
|
+
# @option attributes [String] :id The value to assign to the {#id} property
|
|
68
|
+
# @option attributes [String] :idpId The value to assign to the {#idp_id} property
|
|
69
|
+
# @option attributes [String] :idpGroupName The value to assign to the {#idp_group_name} property
|
|
70
|
+
# @option attributes [String] :groupId The value to assign to the {#group_id} property
|
|
71
|
+
# @option attributes [String] :compartmentId The value to assign to the {#compartment_id} property
|
|
72
|
+
# @option attributes [DateTime] :timeCreated The value to assign to the {#time_created} property
|
|
73
|
+
# @option attributes [String] :lifecycleState The value to assign to the {#lifecycle_state} property
|
|
74
|
+
# @option attributes [Integer] :inactiveStatus The value to assign to the {#inactive_status} property
|
|
55
75
|
def initialize(attributes = {})
|
|
56
76
|
return unless attributes.is_a?(Hash)
|
|
57
77
|
|
|
@@ -3,6 +3,20 @@
|
|
|
3
3
|
require 'date'
|
|
4
4
|
|
|
5
5
|
module OCI
|
|
6
|
+
# A document that specifies the type of access a group has to the resources in a compartment. For information about
|
|
7
|
+
# policies and other IAM Service components, see
|
|
8
|
+
# [Overview of the IAM Service](https://docs.us-phoenix-1.oraclecloud.com/Content/Identity/Concepts/overview.htm). If you're new to policies, see
|
|
9
|
+
# [Getting Started with Policies](https://docs.us-phoenix-1.oraclecloud.com/Content/Identity/Concepts/policygetstarted.htm).
|
|
10
|
+
#
|
|
11
|
+
# The word \"policy\" is used by people in different ways:
|
|
12
|
+
#
|
|
13
|
+
# * An individual statement written in the policy language
|
|
14
|
+
# * A collection of statements in a single, named \"policy\" document (which has an Oracle Cloud ID (OCID) assigned to it)
|
|
15
|
+
# * The overall body of policies your organization uses to control access to resources
|
|
16
|
+
#
|
|
17
|
+
# To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized,
|
|
18
|
+
# talk to an administrator.
|
|
19
|
+
#
|
|
6
20
|
class Identity::Models::Policy
|
|
7
21
|
|
|
8
22
|
LIFECYCLE_STATE_ENUM = [LIFECYCLE_STATE_CREATING = 'CREATING',
|
|
@@ -12,37 +26,37 @@ module OCI
|
|
|
12
26
|
LIFECYCLE_STATE_DELETED = 'DELETED',
|
|
13
27
|
LIFECYCLE_STATE_UNKNOWN_ENUM_VALUE = 'UNKNOWN_ENUM_VALUE']
|
|
14
28
|
|
|
15
|
-
# The OCID of the policy.
|
|
29
|
+
# **[Required]** The OCID of the policy.
|
|
16
30
|
# @return [String]
|
|
17
31
|
attr_accessor :id
|
|
18
32
|
|
|
19
|
-
# The OCID of the compartment containing the policy (either the tenancy or another compartment).
|
|
33
|
+
# **[Required]** The OCID of the compartment containing the policy (either the tenancy or another compartment).
|
|
20
34
|
#
|
|
21
35
|
# @return [String]
|
|
22
36
|
attr_accessor :compartment_id
|
|
23
37
|
|
|
24
|
-
# The name you assign to the policy during creation. The name must be unique across all policies
|
|
38
|
+
# **[Required]** The name you assign to the policy during creation. The name must be unique across all policies
|
|
25
39
|
# in the tenancy and cannot be changed.
|
|
26
40
|
#
|
|
27
41
|
# @return [String]
|
|
28
42
|
attr_accessor :name
|
|
29
43
|
|
|
30
|
-
# An array of one or more policy statements written in the policy language.
|
|
44
|
+
# **[Required]** An array of one or more policy statements written in the policy language.
|
|
31
45
|
# @return [Array<String>]
|
|
32
46
|
attr_accessor :statements
|
|
33
47
|
|
|
34
|
-
# The description you assign to the policy. Does not have to be unique, and it's changeable.
|
|
48
|
+
# **[Required]** The description you assign to the policy. Does not have to be unique, and it's changeable.
|
|
35
49
|
# @return [String]
|
|
36
50
|
attr_accessor :description
|
|
37
51
|
|
|
38
|
-
# Date and time the policy was created, in the format defined by RFC3339.
|
|
52
|
+
# **[Required]** Date and time the policy was created, in the format defined by RFC3339.
|
|
39
53
|
#
|
|
40
54
|
# Example: `2016-08-25T21:10:29.600Z`
|
|
41
55
|
#
|
|
42
56
|
# @return [DateTime]
|
|
43
57
|
attr_accessor :time_created
|
|
44
58
|
|
|
45
|
-
# The policy's current state. After creating a policy, make sure its `lifecycleState` changes from CREATING to
|
|
59
|
+
# **[Required]** The policy's current state. After creating a policy, make sure its `lifecycleState` changes from CREATING to
|
|
46
60
|
# ACTIVE before using it.
|
|
47
61
|
#
|
|
48
62
|
# @return [String]
|
|
@@ -59,14 +73,16 @@ module OCI
|
|
|
59
73
|
# @return [DateTime]
|
|
60
74
|
attr_accessor :version_date
|
|
61
75
|
|
|
62
|
-
#
|
|
63
|
-
#
|
|
76
|
+
# Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
|
|
77
|
+
# For more information, see [Resource Tags](https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm).
|
|
78
|
+
# Example: `{\"Department\": \"Finance\"}`
|
|
64
79
|
#
|
|
65
80
|
# @return [Hash<String, String>]
|
|
66
81
|
attr_accessor :freeform_tags
|
|
67
82
|
|
|
68
|
-
#
|
|
69
|
-
#
|
|
83
|
+
# Defined tags for this resource. Each key is predefined and scoped to a namespace.
|
|
84
|
+
# For more information, see [Resource Tags](https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm).
|
|
85
|
+
# Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`
|
|
70
86
|
#
|
|
71
87
|
# @return [Hash<String, Hash<String, Object>>]
|
|
72
88
|
attr_accessor :defined_tags
|
|
@@ -74,6 +90,17 @@ module OCI
|
|
|
74
90
|
|
|
75
91
|
# Initializes the object
|
|
76
92
|
# @param [Hash] attributes Model attributes in the form of hash
|
|
93
|
+
# @option attributes [String] :id The value to assign to the {#id} property
|
|
94
|
+
# @option attributes [String] :compartmentId The value to assign to the {#compartment_id} property
|
|
95
|
+
# @option attributes [String] :name The value to assign to the {#name} property
|
|
96
|
+
# @option attributes [Array<String>] :statements The value to assign to the {#statements} property
|
|
97
|
+
# @option attributes [String] :description The value to assign to the {#description} property
|
|
98
|
+
# @option attributes [DateTime] :timeCreated The value to assign to the {#time_created} property
|
|
99
|
+
# @option attributes [String] :lifecycleState The value to assign to the {#lifecycle_state} property
|
|
100
|
+
# @option attributes [Integer] :inactiveStatus The value to assign to the {#inactive_status} property
|
|
101
|
+
# @option attributes [DateTime] :versionDate The value to assign to the {#version_date} property
|
|
102
|
+
# @option attributes [Hash<String, String>] :freeformTags The value to assign to the {#freeform_tags} property
|
|
103
|
+
# @option attributes [Hash<String, Hash<String, Object>>] :definedTags The value to assign to the {#defined_tags} property
|
|
77
104
|
def initialize(attributes = {})
|
|
78
105
|
return unless attributes.is_a?(Hash)
|
|
79
106
|
|
|
@@ -3,6 +3,14 @@
|
|
|
3
3
|
require 'date'
|
|
4
4
|
|
|
5
5
|
module OCI
|
|
6
|
+
# A localized geographic area, such as Phoenix, AZ. Oracle Cloud Infrastructure is hosted in regions and Availability
|
|
7
|
+
# Domains. A region is composed of several Availability Domains. An Availability Domain is one or more data centers
|
|
8
|
+
# located within a region. For more information, see [Regions and Availability Domains](https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/regions.htm).
|
|
9
|
+
#
|
|
10
|
+
# To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized,
|
|
11
|
+
# talk to an administrator. If you're an administrator who needs to write policies to give users access,
|
|
12
|
+
# see [Getting Started with Policies](https://docs.us-phoenix-1.oraclecloud.com/Content/Identity/Concepts/policygetstarted.htm).
|
|
13
|
+
#
|
|
6
14
|
class Identity::Models::Region
|
|
7
15
|
# The key of the region.
|
|
8
16
|
#
|
|
@@ -27,6 +35,8 @@ module OCI
|
|
|
27
35
|
|
|
28
36
|
# Initializes the object
|
|
29
37
|
# @param [Hash] attributes Model attributes in the form of hash
|
|
38
|
+
# @option attributes [String] :key The value to assign to the {#key} property
|
|
39
|
+
# @option attributes [String] :name The value to assign to the {#name} property
|
|
30
40
|
def initialize(attributes = {})
|
|
31
41
|
return unless attributes.is_a?(Hash)
|
|
32
42
|
|
|
@@ -3,13 +3,20 @@
|
|
|
3
3
|
require 'date'
|
|
4
4
|
|
|
5
5
|
module OCI
|
|
6
|
+
# An object that represents your tenancy's access to a particular region (i.e., a subscription), the status of that
|
|
7
|
+
# access, and whether that region is the home region. For more information, see [Managing Regions](https://docs.us-phoenix-1.oraclecloud.com/Content/Identity/Tasks/managingregions.htm).
|
|
8
|
+
#
|
|
9
|
+
# To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized,
|
|
10
|
+
# talk to an administrator. If you're an administrator who needs to write policies to give users access,
|
|
11
|
+
# see [Getting Started with Policies](https://docs.us-phoenix-1.oraclecloud.com/Content/Identity/Concepts/policygetstarted.htm).
|
|
12
|
+
#
|
|
6
13
|
class Identity::Models::RegionSubscription
|
|
7
14
|
|
|
8
15
|
STATUS_ENUM = [STATUS_READY = 'READY',
|
|
9
16
|
STATUS_IN_PROGRESS = 'IN_PROGRESS',
|
|
10
17
|
STATUS_UNKNOWN_ENUM_VALUE = 'UNKNOWN_ENUM_VALUE']
|
|
11
18
|
|
|
12
|
-
# The region's key.
|
|
19
|
+
# **[Required]** The region's key.
|
|
13
20
|
#
|
|
14
21
|
# Allowed values are:
|
|
15
22
|
# - `PHX`
|
|
@@ -19,7 +26,7 @@ module OCI
|
|
|
19
26
|
# @return [String]
|
|
20
27
|
attr_accessor :region_key
|
|
21
28
|
|
|
22
|
-
# The region's name.
|
|
29
|
+
# **[Required]** The region's name.
|
|
23
30
|
#
|
|
24
31
|
# Allowed values are:
|
|
25
32
|
# - `us-phoenix-1`
|
|
@@ -29,17 +36,21 @@ module OCI
|
|
|
29
36
|
# @return [String]
|
|
30
37
|
attr_accessor :region_name
|
|
31
38
|
|
|
32
|
-
# The region subscription status.
|
|
39
|
+
# **[Required]** The region subscription status.
|
|
33
40
|
# @return [String]
|
|
34
41
|
attr_accessor :status
|
|
35
42
|
|
|
36
|
-
# Indicates if the region is the home region or not.
|
|
43
|
+
# **[Required]** Indicates if the region is the home region or not.
|
|
37
44
|
# @return [BOOLEAN]
|
|
38
45
|
attr_accessor :is_home_region
|
|
39
46
|
|
|
40
47
|
|
|
41
48
|
# Initializes the object
|
|
42
49
|
# @param [Hash] attributes Model attributes in the form of hash
|
|
50
|
+
# @option attributes [String] :regionKey The value to assign to the {#region_key} property
|
|
51
|
+
# @option attributes [String] :regionName The value to assign to the {#region_name} property
|
|
52
|
+
# @option attributes [String] :status The value to assign to the {#status} property
|
|
53
|
+
# @option attributes [BOOLEAN] :isHomeRegion The value to assign to the {#is_home_region} property
|
|
43
54
|
def initialize(attributes = {})
|
|
44
55
|
return unless attributes.is_a?(Hash)
|
|
45
56
|
|
|
@@ -58,7 +69,7 @@ module OCI
|
|
|
58
69
|
self.status = attributes[:'status']
|
|
59
70
|
end
|
|
60
71
|
|
|
61
|
-
|
|
72
|
+
unless attributes[:'isHomeRegion'].nil?
|
|
62
73
|
self.is_home_region = attributes[:'isHomeRegion']
|
|
63
74
|
end
|
|
64
75
|
|