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,12 @@
|
|
|
3
3
|
require 'date'
|
|
4
4
|
|
|
5
5
|
module OCI
|
|
6
|
+
# A Patch for a DB System or DB Home.
|
|
7
|
+
#
|
|
8
|
+
# To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized,
|
|
9
|
+
# talk to an administrator. If you're an administrator who needs to write policies to give users access,
|
|
10
|
+
# see [Getting Started with Policies](https://docs.us-phoenix-1.oraclecloud.com/Content/Identity/Concepts/policygetstarted.htm).
|
|
11
|
+
#
|
|
6
12
|
class Database::Models::PatchSummary
|
|
7
13
|
|
|
8
14
|
AVAILABLE_ACTIONS_ENUM = [AVAILABLE_ACTIONS_APPLY = 'APPLY',
|
|
@@ -25,11 +31,11 @@ module OCI
|
|
|
25
31
|
# @return [Array<String>]
|
|
26
32
|
attr_accessor :available_actions
|
|
27
33
|
|
|
28
|
-
# The text describing this patch package.
|
|
34
|
+
# **[Required]** The text describing this patch package.
|
|
29
35
|
# @return [String]
|
|
30
36
|
attr_accessor :description
|
|
31
37
|
|
|
32
|
-
# The OCID of the patch.
|
|
38
|
+
# **[Required]** The OCID of the patch.
|
|
33
39
|
# @return [String]
|
|
34
40
|
attr_accessor :id
|
|
35
41
|
|
|
@@ -47,17 +53,25 @@ module OCI
|
|
|
47
53
|
# @return [String]
|
|
48
54
|
attr_accessor :lifecycle_state
|
|
49
55
|
|
|
50
|
-
# The date and time that the patch was released.
|
|
56
|
+
# **[Required]** The date and time that the patch was released.
|
|
51
57
|
# @return [DateTime]
|
|
52
58
|
attr_accessor :time_released
|
|
53
59
|
|
|
54
|
-
# The version of this patch package.
|
|
60
|
+
# **[Required]** The version of this patch package.
|
|
55
61
|
# @return [String]
|
|
56
62
|
attr_accessor :version
|
|
57
63
|
|
|
58
64
|
|
|
59
65
|
# Initializes the object
|
|
60
66
|
# @param [Hash] attributes Model attributes in the form of hash
|
|
67
|
+
# @option attributes [Array<String>] :availableActions The value to assign to the {#available_actions} property
|
|
68
|
+
# @option attributes [String] :description The value to assign to the {#description} property
|
|
69
|
+
# @option attributes [String] :id The value to assign to the {#id} property
|
|
70
|
+
# @option attributes [String] :lastAction The value to assign to the {#last_action} property
|
|
71
|
+
# @option attributes [String] :lifecycleDetails The value to assign to the {#lifecycle_details} property
|
|
72
|
+
# @option attributes [String] :lifecycleState The value to assign to the {#lifecycle_state} property
|
|
73
|
+
# @option attributes [DateTime] :timeReleased The value to assign to the {#time_released} property
|
|
74
|
+
# @option attributes [String] :version The value to assign to the {#version} property
|
|
61
75
|
def initialize(attributes = {})
|
|
62
76
|
return unless attributes.is_a?(Hash)
|
|
63
77
|
|
|
@@ -3,14 +3,17 @@
|
|
|
3
3
|
require 'date'
|
|
4
4
|
|
|
5
5
|
module OCI
|
|
6
|
+
# The Data Guard association reinstate parameters.
|
|
7
|
+
#
|
|
6
8
|
class Database::Models::ReinstateDataGuardAssociationDetails
|
|
7
|
-
# The DB System administrator password.
|
|
9
|
+
# **[Required]** The DB System administrator password.
|
|
8
10
|
# @return [String]
|
|
9
11
|
attr_accessor :database_admin_password
|
|
10
12
|
|
|
11
13
|
|
|
12
14
|
# Initializes the object
|
|
13
15
|
# @param [Hash] attributes Model attributes in the form of hash
|
|
16
|
+
# @option attributes [String] :databaseAdminPassword The value to assign to the {#database_admin_password} property
|
|
14
17
|
def initialize(attributes = {})
|
|
15
18
|
return unless attributes.is_a?(Hash)
|
|
16
19
|
|
|
@@ -22,6 +22,9 @@ module OCI
|
|
|
22
22
|
|
|
23
23
|
# Initializes the object
|
|
24
24
|
# @param [Hash] attributes Model attributes in the form of hash
|
|
25
|
+
# @option attributes [String] :databaseSCN The value to assign to the {#database_scn} property
|
|
26
|
+
# @option attributes [BOOLEAN] :latest The value to assign to the {#latest} property
|
|
27
|
+
# @option attributes [DateTime] :timestamp The value to assign to the {#timestamp} property
|
|
25
28
|
def initialize(attributes = {})
|
|
26
29
|
return unless attributes.is_a?(Hash)
|
|
27
30
|
|
|
@@ -32,7 +35,7 @@ module OCI
|
|
|
32
35
|
self.database_scn = attributes[:'databaseSCN']
|
|
33
36
|
end
|
|
34
37
|
|
|
35
|
-
|
|
38
|
+
unless attributes[:'latest'].nil?
|
|
36
39
|
self.latest = attributes[:'latest']
|
|
37
40
|
end
|
|
38
41
|
|
|
@@ -3,14 +3,17 @@
|
|
|
3
3
|
require 'date'
|
|
4
4
|
|
|
5
5
|
module OCI
|
|
6
|
+
# The Data Guard association switchover parameters.
|
|
7
|
+
#
|
|
6
8
|
class Database::Models::SwitchoverDataGuardAssociationDetails
|
|
7
|
-
# The DB System administrator password.
|
|
9
|
+
# **[Required]** The DB System administrator password.
|
|
8
10
|
# @return [String]
|
|
9
11
|
attr_accessor :database_admin_password
|
|
10
12
|
|
|
11
13
|
|
|
12
14
|
# Initializes the object
|
|
13
15
|
# @param [Hash] attributes Model attributes in the form of hash
|
|
16
|
+
# @option attributes [String] :databaseAdminPassword The value to assign to the {#database_admin_password} property
|
|
14
17
|
def initialize(attributes = {})
|
|
15
18
|
return unless attributes.is_a?(Hash)
|
|
16
19
|
|
|
@@ -10,6 +10,7 @@ module OCI
|
|
|
10
10
|
|
|
11
11
|
# Initializes the object
|
|
12
12
|
# @param [Hash] attributes Model attributes in the form of hash
|
|
13
|
+
# @option attributes [OCI::Database::Models::DbBackupConfig] :dbBackupConfig The value to assign to the {#db_backup_config} property
|
|
13
14
|
def initialize(attributes = {})
|
|
14
15
|
return unless attributes.is_a?(Hash)
|
|
15
16
|
|
|
@@ -3,6 +3,8 @@
|
|
|
3
3
|
require 'date'
|
|
4
4
|
|
|
5
5
|
module OCI
|
|
6
|
+
# Describes the modification parameters for the DB Home.
|
|
7
|
+
#
|
|
6
8
|
class Database::Models::UpdateDbHomeDetails
|
|
7
9
|
# @return [OCI::Database::Models::PatchDetails]
|
|
8
10
|
attr_accessor :db_version
|
|
@@ -10,6 +12,7 @@ module OCI
|
|
|
10
12
|
|
|
11
13
|
# Initializes the object
|
|
12
14
|
# @param [Hash] attributes Model attributes in the form of hash
|
|
15
|
+
# @option attributes [OCI::Database::Models::PatchDetails] :dbVersion The value to assign to the {#db_version} property
|
|
13
16
|
def initialize(attributes = {})
|
|
14
17
|
return unless attributes.is_a?(Hash)
|
|
15
18
|
|
|
@@ -3,6 +3,8 @@
|
|
|
3
3
|
require 'date'
|
|
4
4
|
|
|
5
5
|
module OCI
|
|
6
|
+
# Describes the modification parameters for the DB System.
|
|
7
|
+
#
|
|
6
8
|
class Database::Models::UpdateDbSystemDetails
|
|
7
9
|
# The number of CPU Cores to be set on the DB System. Applicable only for non-VM based DB systems.
|
|
8
10
|
# @return [Integer]
|
|
@@ -23,6 +25,10 @@ module OCI
|
|
|
23
25
|
|
|
24
26
|
# Initializes the object
|
|
25
27
|
# @param [Hash] attributes Model attributes in the form of hash
|
|
28
|
+
# @option attributes [Integer] :cpuCoreCount The value to assign to the {#cpu_core_count} property
|
|
29
|
+
# @option attributes [Integer] :dataStorageSizeInGBs The value to assign to the {#data_storage_size_in_gbs} property
|
|
30
|
+
# @option attributes [Array<String>] :sshPublicKeys The value to assign to the {#ssh_public_keys} property
|
|
31
|
+
# @option attributes [OCI::Database::Models::PatchDetails] :version The value to assign to the {#version} property
|
|
26
32
|
def initialize(attributes = {})
|
|
27
33
|
return unless attributes.is_a?(Hash)
|
|
28
34
|
|
|
@@ -15,6 +15,7 @@ require 'oci/identity/models/compartment'
|
|
|
15
15
|
require 'oci/identity/models/create_api_key_details'
|
|
16
16
|
require 'oci/identity/models/create_compartment_details'
|
|
17
17
|
require 'oci/identity/models/create_customer_secret_key_details'
|
|
18
|
+
require 'oci/identity/models/create_dynamic_group_details'
|
|
18
19
|
require 'oci/identity/models/create_group_details'
|
|
19
20
|
require 'oci/identity/models/create_identity_provider_details'
|
|
20
21
|
require 'oci/identity/models/create_idp_group_mapping_details'
|
|
@@ -27,6 +28,7 @@ require 'oci/identity/models/create_tag_namespace_details'
|
|
|
27
28
|
require 'oci/identity/models/create_user_details'
|
|
28
29
|
require 'oci/identity/models/customer_secret_key'
|
|
29
30
|
require 'oci/identity/models/customer_secret_key_summary'
|
|
31
|
+
require 'oci/identity/models/dynamic_group'
|
|
30
32
|
require 'oci/identity/models/group'
|
|
31
33
|
require 'oci/identity/models/identity_provider'
|
|
32
34
|
require 'oci/identity/models/idp_group_mapping'
|
|
@@ -43,6 +45,7 @@ require 'oci/identity/models/tenancy'
|
|
|
43
45
|
require 'oci/identity/models/ui_password'
|
|
44
46
|
require 'oci/identity/models/update_compartment_details'
|
|
45
47
|
require 'oci/identity/models/update_customer_secret_key_details'
|
|
48
|
+
require 'oci/identity/models/update_dynamic_group_details'
|
|
46
49
|
require 'oci/identity/models/update_group_details'
|
|
47
50
|
require 'oci/identity/models/update_identity_provider_details'
|
|
48
51
|
require 'oci/identity/models/update_idp_group_mapping_details'
|
|
@@ -28,15 +28,29 @@ module OCI
|
|
|
28
28
|
# @param [Config] config A Config object.
|
|
29
29
|
# @param [String] region A region used to determine the service endpoint. This will usually
|
|
30
30
|
# correspond to a value in {OCI::Regions::REGION_ENUM}, but may be an arbitrary string.
|
|
31
|
-
#
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
31
|
+
# @param [OCI::BaseSigner] signer A signer implementation which can be used by this client. If this is not provided then
|
|
32
|
+
# a signer will be constructed via the provided config. One use case of this parameter is instance principals authentication,
|
|
33
|
+
# so that the instance principals signer can be provided to the client
|
|
34
|
+
def initialize(config:nil, region:nil, signer:nil)
|
|
35
|
+
# If the signer is an InstancePrincipalsSecurityTokenSigner and no config was supplied (which is valid for instance principals)
|
|
36
|
+
# then create a dummy config to pass to the ApiClient constructor. If customers wish to create a client which uses instance principals
|
|
37
|
+
# and has config (either populated programmatically or loaded from a file), they must construct that config themselves and then
|
|
38
|
+
# pass it to this constructor.
|
|
39
|
+
#
|
|
40
|
+
# If there is no signer (or the signer is not an instance principals signer) and no config was supplied, this is not valid
|
|
41
|
+
# so try and load the config from the default file.
|
|
42
|
+
config ||= OCI.config unless signer.is_a?(OCI::Auth::Signers::InstancePrincipalsSecurityTokenSigner)
|
|
43
|
+
config ||= OCI::Config.new if signer.is_a?(OCI::Auth::Signers::InstancePrincipalsSecurityTokenSigner)
|
|
44
|
+
config.validate unless signer.is_a?(OCI::Auth::Signers::InstancePrincipalsSecurityTokenSigner)
|
|
45
|
+
|
|
46
|
+
if signer.nil?
|
|
47
|
+
signer = Signer.new(config.user, config.fingerprint, config.tenancy, config.key_file, pass_phrase: config.pass_phrase, private_key_content: config.key_content)
|
|
48
|
+
end
|
|
35
49
|
|
|
36
|
-
signer = Signer.new(config.user, config.fingerprint, config.tenancy, config.key_file, pass_phrase: config.pass_phrase, private_key_content: config.key_content)
|
|
37
50
|
@api_client = ApiClient.new(config, signer)
|
|
38
51
|
|
|
39
52
|
region ||= config.region
|
|
53
|
+
region ||= signer.region if signer.respond_to?(:region)
|
|
40
54
|
self.region = region
|
|
41
55
|
end
|
|
42
56
|
|
|
@@ -114,7 +128,7 @@ module OCI
|
|
|
114
128
|
# [How Policies Work](https://docs.us-phoenix-1.oraclecloud.com/Content/Identity/Concepts/policies.htm).
|
|
115
129
|
#
|
|
116
130
|
# You must also specify a *description* for the compartment (although it can be an empty string). It does
|
|
117
|
-
# not have to be unique, and you can change it anytime with
|
|
131
|
+
# not have to be unique, and you can change it anytime with
|
|
118
132
|
# {#update_compartment update_compartment}.
|
|
119
133
|
#
|
|
120
134
|
# After you send your request, the new object's `lifecycleState` will temporarily be CREATING. Before using the
|
|
@@ -208,11 +222,67 @@ module OCI
|
|
|
208
222
|
:return_type => 'OCI::Identity::Models::CustomerSecretKey')
|
|
209
223
|
end
|
|
210
224
|
|
|
211
|
-
# Creates a new group in your tenancy.
|
|
225
|
+
# Creates a new dynamic group in your tenancy.
|
|
226
|
+
#
|
|
227
|
+
# You must specify your tenancy's OCID as the compartment ID in the request object (remember that the tenancy
|
|
228
|
+
# is simply the root compartment). Notice that IAM resources (users, groups, compartments, and some policies)
|
|
229
|
+
# reside within the tenancy itself, unlike cloud resources such as compute instances, which typically
|
|
230
|
+
# reside within compartments inside the tenancy. For information about OCIDs, see
|
|
231
|
+
# [Resource Identifiers](https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm).
|
|
232
|
+
#
|
|
233
|
+
# You must also specify a *name* for the dynamic group, which must be unique across all dynamic groups in your
|
|
234
|
+
# tenancy, and cannot be changed. Note that this name has to be also unique accross all groups in your tenancy.
|
|
235
|
+
# You can use this name or the OCID when writing policies that apply to the dynamic group. For more information
|
|
236
|
+
# about policies, see [How Policies Work](https://docs.us-phoenix-1.oraclecloud.com/Content/Identity/Concepts/policies.htm).
|
|
237
|
+
#
|
|
238
|
+
# You must also specify a *description* for the dynamic group (although it can be an empty string). It does not
|
|
239
|
+
# have to be unique, and you can change it anytime with {#update_dynamic_group update_dynamic_group}.
|
|
240
|
+
#
|
|
241
|
+
# After you send your request, the new object's `lifecycleState` will temporarily be CREATING. Before using the
|
|
242
|
+
# object, first make sure its `lifecycleState` has changed to ACTIVE.
|
|
243
|
+
#
|
|
244
|
+
# @param [CreateDynamicGroupDetails] create_dynamic_group_details Request object for creating a new dynamic group.
|
|
245
|
+
# @param [Hash] opts the optional parameters
|
|
246
|
+
# @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case of a timeout or
|
|
247
|
+
# server error without risk of executing that same action again. Retry tokens expire after 24
|
|
248
|
+
# hours, but can be invalidated before then due to conflicting operations (e.g., if a resource
|
|
249
|
+
# has been deleted and purged from the system, then a retry of the original creation request
|
|
250
|
+
# may be rejected).
|
|
251
|
+
#
|
|
252
|
+
# @return [Response] A Response object with data of type OCI::Identity::Models::DynamicGroup
|
|
253
|
+
def create_dynamic_group(create_dynamic_group_details, opts = {})
|
|
254
|
+
logger.debug "Calling operation IdentityClient#create_dynamic_group." if logger
|
|
255
|
+
|
|
256
|
+
fail "Missing the required parameter 'create_dynamic_group_details' when calling create_dynamic_group." if create_dynamic_group_details.nil?
|
|
257
|
+
|
|
258
|
+
path = "/dynamicGroups/"
|
|
259
|
+
|
|
260
|
+
# Query Params
|
|
261
|
+
query_params = {}
|
|
262
|
+
|
|
263
|
+
# Header Params
|
|
264
|
+
header_params = {}
|
|
265
|
+
header_params['accept'] = 'application/json'
|
|
266
|
+
header_params['content-type'] = 'application/json'
|
|
267
|
+
header_params[:'opc-retry-token'] = opts[:'opc_retry_token'] if opts[:'opc_retry_token']
|
|
268
|
+
|
|
269
|
+
post_body = @api_client.object_to_http_body(create_dynamic_group_details)
|
|
270
|
+
|
|
271
|
+
return @api_client.call_api(
|
|
272
|
+
:POST,
|
|
273
|
+
path,
|
|
274
|
+
endpoint,
|
|
275
|
+
:header_params => header_params,
|
|
276
|
+
:query_params => query_params,
|
|
277
|
+
:body => post_body,
|
|
278
|
+
:return_type => 'OCI::Identity::Models::DynamicGroup')
|
|
279
|
+
end
|
|
280
|
+
|
|
281
|
+
# Creates a new group in your tenancy.
|
|
212
282
|
#
|
|
213
283
|
# You must specify your tenancy's OCID as the compartment ID in the request object (remember that the tenancy
|
|
214
|
-
# is simply the root compartment). Notice that IAM resources (users, groups, compartments, and some policies)
|
|
215
|
-
# reside within the tenancy itself, unlike cloud resources such as compute instances, which typically
|
|
284
|
+
# is simply the root compartment). Notice that IAM resources (users, groups, compartments, and some policies)
|
|
285
|
+
# reside within the tenancy itself, unlike cloud resources such as compute instances, which typically
|
|
216
286
|
# reside within compartments inside the tenancy. For information about OCIDs, see
|
|
217
287
|
# [Resource Identifiers](https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm).
|
|
218
288
|
#
|
|
@@ -227,7 +297,7 @@ module OCI
|
|
|
227
297
|
# object, first make sure its `lifecycleState` has changed to ACTIVE.
|
|
228
298
|
#
|
|
229
299
|
# After creating the group, you need to put users in it and write policies for it.
|
|
230
|
-
# See {#add_user_to_group add_user_to_group} and
|
|
300
|
+
# See {#add_user_to_group add_user_to_group} and
|
|
231
301
|
# {#create_policy create_policy}.
|
|
232
302
|
#
|
|
233
303
|
# @param [CreateGroupDetails] create_group_details Request object for creating a new group.
|
|
@@ -271,7 +341,7 @@ module OCI
|
|
|
271
341
|
# [Identity Providers and Federation](https://docs.us-phoenix-1.oraclecloud.com/Content/Identity/Concepts/federation.htm).
|
|
272
342
|
#
|
|
273
343
|
# You must specify your tenancy's OCID as the compartment ID in the request object.
|
|
274
|
-
# Remember that the tenancy is simply the root compartment. For information about
|
|
344
|
+
# Remember that the tenancy is simply the root compartment. For information about
|
|
275
345
|
# OCIDs, see [Resource Identifiers](https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm).
|
|
276
346
|
#
|
|
277
347
|
# You must also specify a *name* for the `IdentityProvider`, which must be unique
|
|
@@ -372,7 +442,7 @@ module OCI
|
|
|
372
442
|
# password is returned to you in the response, and you must securely deliver it to the user. They'll
|
|
373
443
|
# be prompted to change this password the next time they sign in to the Console. If they don't change
|
|
374
444
|
# it within 7 days, the password will expire and you'll need to create a new one-time password for the
|
|
375
|
-
# user.
|
|
445
|
+
# user.
|
|
376
446
|
#
|
|
377
447
|
# **Note:** The user's Console login is the unique name you specified when you created the user
|
|
378
448
|
# (see {#create_user create_user}).
|
|
@@ -424,7 +494,7 @@ module OCI
|
|
|
424
494
|
# have to be unique, and you can change it anytime with {#update_policy update_policy}.
|
|
425
495
|
#
|
|
426
496
|
# You must specify one or more policy statements in the statements array. For information about writing
|
|
427
|
-
# policies, see [How Policies Work](https://docs.us-phoenix-1.oraclecloud.com/Content/Identity/Concepts/policies.htm) and
|
|
497
|
+
# policies, see [How Policies Work](https://docs.us-phoenix-1.oraclecloud.com/Content/Identity/Concepts/policies.htm) and
|
|
428
498
|
# [Common Policies](https://docs.us-phoenix-1.oraclecloud.com/Content/Identity/Concepts/commonpolicies.htm).
|
|
429
499
|
#
|
|
430
500
|
# After you send your request, the new object's `lifecycleState` will temporarily be CREATING. Before using the
|
|
@@ -514,7 +584,7 @@ module OCI
|
|
|
514
584
|
# [Managing User Credentials](https://docs.us-phoenix-1.oraclecloud.com/Content/Identity/Tasks/managingcredentials.htm).
|
|
515
585
|
#
|
|
516
586
|
# You must specify a *description* for the Swift password (although it can be an empty string). It does not
|
|
517
|
-
# have to be unique, and you can change it anytime with
|
|
587
|
+
# have to be unique, and you can change it anytime with
|
|
518
588
|
# {#update_swift_password update_swift_password}.
|
|
519
589
|
#
|
|
520
590
|
# Every user has permission to create a Swift password for *their own user ID*. An administrator in your organization
|
|
@@ -560,23 +630,22 @@ module OCI
|
|
|
560
630
|
:return_type => 'OCI::Identity::Models::SwiftPassword')
|
|
561
631
|
end
|
|
562
632
|
|
|
563
|
-
# Creates a new tag in
|
|
633
|
+
# Creates a new tag in the specified tag namespace.
|
|
564
634
|
#
|
|
565
|
-
# You
|
|
635
|
+
# You must specify either the OCID or the name of the tag namespace that will contain this tag definition.
|
|
566
636
|
#
|
|
567
|
-
# You must also specify a *name* for the tag, which must be unique across all tags in the
|
|
568
|
-
# and cannot be changed.
|
|
569
|
-
#
|
|
570
|
-
#
|
|
571
|
-
# If you specify a name that's already in use in the tagNamespace, you'll get a 409 error.
|
|
637
|
+
# You must also specify a *name* for the tag, which must be unique across all tags in the tag namespace
|
|
638
|
+
# and cannot be changed. The name can contain any ASCII character except the space (_) or period (.) characters.
|
|
639
|
+
# Names are case insensitive. That means, for example, \"myTag\" and \"mytag\" are not allowed in the same namespace.
|
|
640
|
+
# If you specify a name that's already in use in the tag namespace, a 409 error is returned.
|
|
572
641
|
#
|
|
573
642
|
# You must also specify a *description* for the tag.
|
|
574
|
-
# It does not have to be unique, and you can change it
|
|
643
|
+
# It does not have to be unique, and you can change it with
|
|
575
644
|
# {#update_tag update_tag}.
|
|
576
645
|
#
|
|
577
|
-
# @param [String] tag_namespace_id The OCID of the
|
|
646
|
+
# @param [String] tag_namespace_id The OCID of the tag namespace.
|
|
578
647
|
#
|
|
579
|
-
# @param [CreateTagDetails] create_tag_details Request object for creating a new tag in
|
|
648
|
+
# @param [CreateTagDetails] create_tag_details Request object for creating a new tag in the specified tag namespace.
|
|
580
649
|
# @param [Hash] opts the optional parameters
|
|
581
650
|
# @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case of a timeout or
|
|
582
651
|
# server error without risk of executing that same action again. Retry tokens expire after 24
|
|
@@ -614,23 +683,25 @@ module OCI
|
|
|
614
683
|
:return_type => 'OCI::Identity::Models::Tag')
|
|
615
684
|
end
|
|
616
685
|
|
|
617
|
-
# Creates a new
|
|
686
|
+
# Creates a new tag namespace in the specified compartment.
|
|
618
687
|
#
|
|
619
688
|
# You must specify the compartment ID in the request object (remember that the tenancy is simply the root
|
|
620
689
|
# compartment).
|
|
621
690
|
#
|
|
622
691
|
# You must also specify a *name* for the namespace, which must be unique across all namespaces in your tenancy
|
|
623
|
-
# and cannot be changed.
|
|
624
|
-
#
|
|
625
|
-
#
|
|
626
|
-
#
|
|
627
|
-
# If you specify a name that's already in use in the tennacy, you'll get a 409 error.
|
|
692
|
+
# and cannot be changed. The name can contain any ASCII character except the space (_) or period (.).
|
|
693
|
+
# Names are case insensitive. That means, for example, \"myNamespace\" and \"mynamespace\" are not allowed
|
|
694
|
+
# in the same tenancy. Once you created a namespace, you cannot change the name.
|
|
695
|
+
# If you specify a name that's already in use in the tenancy, a 409 error is returned.
|
|
628
696
|
#
|
|
629
697
|
# You must also specify a *description* for the namespace.
|
|
630
|
-
# It does not have to be unique, and you can change it
|
|
698
|
+
# It does not have to be unique, and you can change it with
|
|
631
699
|
# {#update_tag_namespace update_tag_namespace}.
|
|
632
700
|
#
|
|
633
|
-
#
|
|
701
|
+
# Tag namespaces cannot be deleted, but they can be retired.
|
|
702
|
+
# See [Retiring Key Definitions and Namespace Definitions](https://docs.us-phoenix-1.oraclecloud.com/Content/Identity/Concepts/taggingoverview.htm#Retiring) for more information.
|
|
703
|
+
#
|
|
704
|
+
# @param [CreateTagNamespaceDetails] create_tag_namespace_details Request object for creating a new tag namespace.
|
|
634
705
|
# @param [Hash] opts the optional parameters
|
|
635
706
|
# @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case of a timeout or
|
|
636
707
|
# server error without risk of executing that same action again. Retry tokens expire after 24
|
|
@@ -671,13 +742,13 @@ module OCI
|
|
|
671
742
|
# IAM Service components, see [Overview of the IAM Service](https://docs.us-phoenix-1.oraclecloud.com/Content/Identity/Concepts/overview.htm).
|
|
672
743
|
#
|
|
673
744
|
# You must specify your tenancy's OCID as the compartment ID in the request object (remember that the
|
|
674
|
-
# tenancy is simply the root compartment). Notice that IAM resources (users, groups, compartments, and
|
|
675
|
-
# some policies) reside within the tenancy itself, unlike cloud resources such as compute instances,
|
|
745
|
+
# tenancy is simply the root compartment). Notice that IAM resources (users, groups, compartments, and
|
|
746
|
+
# some policies) reside within the tenancy itself, unlike cloud resources such as compute instances,
|
|
676
747
|
# which typically reside within compartments inside the tenancy. For information about OCIDs, see
|
|
677
748
|
# [Resource Identifiers](https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm).
|
|
678
749
|
#
|
|
679
750
|
# You must also specify a *name* for the user, which must be unique across all users in your tenancy
|
|
680
|
-
# and cannot be changed. Allowed characters: No spaces. Only letters, numerals, hyphens, periods,
|
|
751
|
+
# and cannot be changed. Allowed characters: No spaces. Only letters, numerals, hyphens, periods,
|
|
681
752
|
# underscores, +, and @. If you specify a name that's already in use, you'll get a 409 error.
|
|
682
753
|
# This name will be the user's login to the Console. You might want to pick a
|
|
683
754
|
# name that your company's own identity system (e.g., Active Directory, LDAP, etc.) already uses.
|
|
@@ -685,23 +756,23 @@ module OCI
|
|
|
685
756
|
# users because they have different OCIDs.
|
|
686
757
|
#
|
|
687
758
|
# You must also specify a *description* for the user (although it can be an empty string).
|
|
688
|
-
# It does not have to be unique, and you can change it anytime with
|
|
689
|
-
# {#update_user update_user}. You can use the field to provide the user's
|
|
759
|
+
# It does not have to be unique, and you can change it anytime with
|
|
760
|
+
# {#update_user update_user}. You can use the field to provide the user's
|
|
690
761
|
# full name, a description, a nickname, or other information to generally identify the user.
|
|
691
762
|
#
|
|
692
|
-
# After you send your request, the new object's `lifecycleState` will temporarily be CREATING. Before
|
|
763
|
+
# After you send your request, the new object's `lifecycleState` will temporarily be CREATING. Before
|
|
693
764
|
# using the object, first make sure its `lifecycleState` has changed to ACTIVE.
|
|
694
765
|
#
|
|
695
766
|
# A new user has no permissions until you place the user in one or more groups (see
|
|
696
|
-
# {#add_user_to_group add_user_to_group}). If the user needs to
|
|
697
|
-
# access the Console, you need to provide the user a password (see
|
|
767
|
+
# {#add_user_to_group add_user_to_group}). If the user needs to
|
|
768
|
+
# access the Console, you need to provide the user a password (see
|
|
698
769
|
# {#create_or_reset_ui_password create_or_reset_ui_password}).
|
|
699
770
|
# If the user needs to access the Oracle Cloud Infrastructure REST API, you need to upload a
|
|
700
|
-
# public API signing key for that user (see
|
|
701
|
-
# [Required Keys and OCIDs](https://docs.us-phoenix-1.oraclecloud.com/Content/API/Concepts/apisigningkey.htm) and also
|
|
771
|
+
# public API signing key for that user (see
|
|
772
|
+
# [Required Keys and OCIDs](https://docs.us-phoenix-1.oraclecloud.com/Content/API/Concepts/apisigningkey.htm) and also
|
|
702
773
|
# {#upload_api_key upload_api_key}).
|
|
703
774
|
#
|
|
704
|
-
# **Important:** Make sure to inform the new user which compartment(s) they have access to.
|
|
775
|
+
# **Important:** Make sure to inform the new user which compartment(s) they have access to.
|
|
705
776
|
#
|
|
706
777
|
# @param [CreateUserDetails] create_user_details Request object for creating a new user.
|
|
707
778
|
# @param [Hash] opts the optional parameters
|
|
@@ -821,6 +892,42 @@ module OCI
|
|
|
821
892
|
:body => post_body)
|
|
822
893
|
end
|
|
823
894
|
|
|
895
|
+
# Deletes the specified dynamic group.
|
|
896
|
+
#
|
|
897
|
+
# @param [String] dynamic_group_id The OCID of the dynamic group.
|
|
898
|
+
# @param [Hash] opts the optional parameters
|
|
899
|
+
# @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
|
|
900
|
+
# parameter to the value of the etag from a previous GET or POST response for that resource. The resource
|
|
901
|
+
# will be updated or deleted only if the etag you provide matches the resource's current etag value.
|
|
902
|
+
#
|
|
903
|
+
# @return [Response] A Response object with data of type nil
|
|
904
|
+
def delete_dynamic_group(dynamic_group_id, opts = {})
|
|
905
|
+
logger.debug "Calling operation IdentityClient#delete_dynamic_group." if logger
|
|
906
|
+
|
|
907
|
+
fail "Missing the required parameter 'dynamic_group_id' when calling delete_dynamic_group." if dynamic_group_id.nil?
|
|
908
|
+
|
|
909
|
+
path = "/dynamicGroups/{dynamicGroupId}".sub('{dynamicGroupId}', dynamic_group_id.to_s)
|
|
910
|
+
|
|
911
|
+
# Query Params
|
|
912
|
+
query_params = {}
|
|
913
|
+
|
|
914
|
+
# Header Params
|
|
915
|
+
header_params = {}
|
|
916
|
+
header_params['accept'] = 'application/json'
|
|
917
|
+
header_params['content-type'] = 'application/json'
|
|
918
|
+
header_params[:'if-match'] = opts[:'if_match'] if opts[:'if_match']
|
|
919
|
+
|
|
920
|
+
post_body = nil
|
|
921
|
+
|
|
922
|
+
return @api_client.call_api(
|
|
923
|
+
:DELETE,
|
|
924
|
+
path,
|
|
925
|
+
endpoint,
|
|
926
|
+
:header_params => header_params,
|
|
927
|
+
:query_params => query_params,
|
|
928
|
+
:body => post_body)
|
|
929
|
+
end
|
|
930
|
+
|
|
824
931
|
# Deletes the specified group. The group must be empty.
|
|
825
932
|
#
|
|
826
933
|
# @param [String] group_id The OCID of the group.
|
|
@@ -1045,7 +1152,7 @@ module OCI
|
|
|
1045
1152
|
# API operation that does that. Compartments can contain multiple types of resources (instances, block
|
|
1046
1153
|
# storage volumes, etc.). To find out what's in a compartment, you must call the \"List\" operation for
|
|
1047
1154
|
# each resource type and specify the compartment's OCID as a query parameter in the request. For example,
|
|
1048
|
-
# call the {#list_instances list_instances} operation in the Cloud Compute
|
|
1155
|
+
# call the {#list_instances list_instances} operation in the Cloud Compute
|
|
1049
1156
|
# Service or the {#list_volumes list_volumes} operation in Cloud Block Storage.
|
|
1050
1157
|
#
|
|
1051
1158
|
# @param [String] compartment_id The OCID of the compartment.
|
|
@@ -1078,10 +1185,42 @@ module OCI
|
|
|
1078
1185
|
:return_type => 'OCI::Identity::Models::Compartment')
|
|
1079
1186
|
end
|
|
1080
1187
|
|
|
1188
|
+
# Gets the specified dynamic group's information.
|
|
1189
|
+
#
|
|
1190
|
+
# @param [String] dynamic_group_id The OCID of the dynamic group.
|
|
1191
|
+
# @param [Hash] opts the optional parameters
|
|
1192
|
+
# @return [Response] A Response object with data of type OCI::Identity::Models::DynamicGroup
|
|
1193
|
+
def get_dynamic_group(dynamic_group_id, opts = {})
|
|
1194
|
+
logger.debug "Calling operation IdentityClient#get_dynamic_group." if logger
|
|
1195
|
+
|
|
1196
|
+
fail "Missing the required parameter 'dynamic_group_id' when calling get_dynamic_group." if dynamic_group_id.nil?
|
|
1197
|
+
|
|
1198
|
+
path = "/dynamicGroups/{dynamicGroupId}".sub('{dynamicGroupId}', dynamic_group_id.to_s)
|
|
1199
|
+
|
|
1200
|
+
# Query Params
|
|
1201
|
+
query_params = {}
|
|
1202
|
+
|
|
1203
|
+
# Header Params
|
|
1204
|
+
header_params = {}
|
|
1205
|
+
header_params['accept'] = 'application/json'
|
|
1206
|
+
header_params['content-type'] = 'application/json'
|
|
1207
|
+
|
|
1208
|
+
post_body = nil
|
|
1209
|
+
|
|
1210
|
+
return @api_client.call_api(
|
|
1211
|
+
:GET,
|
|
1212
|
+
path,
|
|
1213
|
+
endpoint,
|
|
1214
|
+
:header_params => header_params,
|
|
1215
|
+
:query_params => query_params,
|
|
1216
|
+
:body => post_body,
|
|
1217
|
+
:return_type => 'OCI::Identity::Models::DynamicGroup')
|
|
1218
|
+
end
|
|
1219
|
+
|
|
1081
1220
|
# Gets the specified group's information.
|
|
1082
1221
|
#
|
|
1083
1222
|
# This operation does not return a list of all the users in the group. To do that, use
|
|
1084
|
-
# {#list_user_group_memberships list_user_group_memberships} and
|
|
1223
|
+
# {#list_user_group_memberships list_user_group_memberships} and
|
|
1085
1224
|
# provide the group's OCID as a query parameter in the request.
|
|
1086
1225
|
#
|
|
1087
1226
|
# @param [String] group_id The OCID of the group.
|
|
@@ -1210,9 +1349,9 @@ module OCI
|
|
|
1210
1349
|
end
|
|
1211
1350
|
|
|
1212
1351
|
# Gets the specified tag's information.
|
|
1213
|
-
# @param [String] tag_namespace_id The OCID of the
|
|
1352
|
+
# @param [String] tag_namespace_id The OCID of the tag namespace.
|
|
1214
1353
|
#
|
|
1215
|
-
# @param [String] tag_name The name of the tag
|
|
1354
|
+
# @param [String] tag_name The name of the tag.
|
|
1216
1355
|
#
|
|
1217
1356
|
# @param [Hash] opts the optional parameters
|
|
1218
1357
|
# @return [Response] A Response object with data of type OCI::Identity::Models::Tag
|
|
@@ -1244,9 +1383,9 @@ module OCI
|
|
|
1244
1383
|
:return_type => 'OCI::Identity::Models::Tag')
|
|
1245
1384
|
end
|
|
1246
1385
|
|
|
1247
|
-
# Gets the specified
|
|
1386
|
+
# Gets the specified tag namespace's information.
|
|
1248
1387
|
#
|
|
1249
|
-
# @param [String] tag_namespace_id The OCID of the
|
|
1388
|
+
# @param [String] tag_namespace_id The OCID of the tag namespace.
|
|
1250
1389
|
#
|
|
1251
1390
|
# @param [Hash] opts the optional parameters
|
|
1252
1391
|
# @return [Response] A Response object with data of type OCI::Identity::Models::TagNamespace
|
|
@@ -1516,6 +1655,48 @@ module OCI
|
|
|
1516
1655
|
:return_type => 'Array<OCI::Identity::Models::CustomerSecretKeySummary>')
|
|
1517
1656
|
end
|
|
1518
1657
|
|
|
1658
|
+
# Lists the dynamic groups in your tenancy. You must specify your tenancy's OCID as the value for
|
|
1659
|
+
# the compartment ID (remember that the tenancy is simply the root compartment).
|
|
1660
|
+
# See [Where to Get the Tenancy's OCID and User's OCID](https://docs.us-phoenix-1.oraclecloud.com/Content/API/Concepts/apisigningkey.htm#five).
|
|
1661
|
+
#
|
|
1662
|
+
# @param [String] compartment_id The OCID of the compartment (remember that the tenancy is simply the root compartment).
|
|
1663
|
+
#
|
|
1664
|
+
# @param [Hash] opts the optional parameters
|
|
1665
|
+
# @option opts [String] :page The value of the `opc-next-page` response header from the previous \"List\" call.
|
|
1666
|
+
#
|
|
1667
|
+
# @option opts [Integer] :limit The maximum number of items to return in a paginated \"List\" call.
|
|
1668
|
+
#
|
|
1669
|
+
# @return [Response] A Response object with data of type Array<OCI::Identity::Models::DynamicGroup>
|
|
1670
|
+
def list_dynamic_groups(compartment_id, opts = {})
|
|
1671
|
+
logger.debug "Calling operation IdentityClient#list_dynamic_groups." if logger
|
|
1672
|
+
|
|
1673
|
+
fail "Missing the required parameter 'compartment_id' when calling list_dynamic_groups." if compartment_id.nil?
|
|
1674
|
+
|
|
1675
|
+
path = "/dynamicGroups/"
|
|
1676
|
+
|
|
1677
|
+
# Query Params
|
|
1678
|
+
query_params = {}
|
|
1679
|
+
query_params[:'compartmentId'] = compartment_id
|
|
1680
|
+
query_params[:'page'] = opts[:'page'] if opts[:'page']
|
|
1681
|
+
query_params[:'limit'] = opts[:'limit'] if opts[:'limit']
|
|
1682
|
+
|
|
1683
|
+
# Header Params
|
|
1684
|
+
header_params = {}
|
|
1685
|
+
header_params['accept'] = 'application/json'
|
|
1686
|
+
header_params['content-type'] = 'application/json'
|
|
1687
|
+
|
|
1688
|
+
post_body = nil
|
|
1689
|
+
|
|
1690
|
+
return @api_client.call_api(
|
|
1691
|
+
:GET,
|
|
1692
|
+
path,
|
|
1693
|
+
endpoint,
|
|
1694
|
+
:header_params => header_params,
|
|
1695
|
+
:query_params => query_params,
|
|
1696
|
+
:body => post_body,
|
|
1697
|
+
:return_type => 'Array<OCI::Identity::Models::DynamicGroup>')
|
|
1698
|
+
end
|
|
1699
|
+
|
|
1519
1700
|
# Lists the groups in your tenancy. You must specify your tenancy's OCID as the value for
|
|
1520
1701
|
# the compartment ID (remember that the tenancy is simply the root compartment).
|
|
1521
1702
|
# See [Where to Get the Tenancy's OCID and User's OCID](https://docs.us-phoenix-1.oraclecloud.com/Content/API/Concepts/apisigningkey.htm#five).
|
|
@@ -1646,7 +1827,7 @@ module OCI
|
|
|
1646
1827
|
:return_type => 'Array<OCI::Identity::Models::IdpGroupMapping>')
|
|
1647
1828
|
end
|
|
1648
1829
|
|
|
1649
|
-
# Lists the policies in the specified compartment (either the tenancy or another of your compartments).
|
|
1830
|
+
# Lists the policies in the specified compartment (either the tenancy or another of your compartments).
|
|
1650
1831
|
# See [Where to Get the Tenancy's OCID and User's OCID](https://docs.us-phoenix-1.oraclecloud.com/Content/API/Concepts/apisigningkey.htm#five).
|
|
1651
1832
|
#
|
|
1652
1833
|
# To determine which policies apply to a particular group or compartment, you must view the individual
|
|
@@ -1751,7 +1932,7 @@ module OCI
|
|
|
1751
1932
|
end
|
|
1752
1933
|
|
|
1753
1934
|
# Lists the Swift passwords for the specified user. The returned object contains the password's OCID, but not
|
|
1754
|
-
# the password itself. The actual password is returned only upon creation.
|
|
1935
|
+
# the password itself. The actual password is returned only upon creation.
|
|
1755
1936
|
#
|
|
1756
1937
|
# @param [String] user_id The OCID of the user.
|
|
1757
1938
|
# @param [Hash] opts the optional parameters
|
|
@@ -1783,7 +1964,7 @@ module OCI
|
|
|
1783
1964
|
:return_type => 'Array<OCI::Identity::Models::SwiftPassword>')
|
|
1784
1965
|
end
|
|
1785
1966
|
|
|
1786
|
-
#
|
|
1967
|
+
# Lists the tag namespaces in the specified compartment.
|
|
1787
1968
|
#
|
|
1788
1969
|
# @param [String] compartment_id The OCID of the compartment (remember that the tenancy is simply the root compartment).
|
|
1789
1970
|
#
|
|
@@ -1792,8 +1973,8 @@ module OCI
|
|
|
1792
1973
|
#
|
|
1793
1974
|
# @option opts [Integer] :limit The maximum number of items to return in a paginated \"List\" call.
|
|
1794
1975
|
#
|
|
1795
|
-
# @option opts [BOOLEAN] :include_subcompartments An optional boolean parameter
|
|
1796
|
-
#
|
|
1976
|
+
# @option opts [BOOLEAN] :include_subcompartments An optional boolean parameter indicating whether to retrieve all tag namespaces in subcompartments. If this
|
|
1977
|
+
# parameter is not specified, only the tag namespaces defined in the specified compartment are retrieved.
|
|
1797
1978
|
#
|
|
1798
1979
|
# @return [Response] A Response object with data of type Array<OCI::Identity::Models::TagNamespaceSummary>
|
|
1799
1980
|
def list_tag_namespaces(compartment_id, opts = {})
|
|
@@ -1827,9 +2008,9 @@ module OCI
|
|
|
1827
2008
|
:return_type => 'Array<OCI::Identity::Models::TagNamespaceSummary>')
|
|
1828
2009
|
end
|
|
1829
2010
|
|
|
1830
|
-
#
|
|
2011
|
+
# Lists the tag definitions in the specified tag namespace.
|
|
1831
2012
|
#
|
|
1832
|
-
# @param [String] tag_namespace_id The OCID of the
|
|
2013
|
+
# @param [String] tag_namespace_id The OCID of the tag namespace.
|
|
1833
2014
|
#
|
|
1834
2015
|
# @param [Hash] opts the optional parameters
|
|
1835
2016
|
# @option opts [String] :page The value of the `opc-next-page` response header from the previous \"List\" call.
|
|
@@ -2074,6 +2255,44 @@ module OCI
|
|
|
2074
2255
|
:return_type => 'OCI::Identity::Models::CustomerSecretKeySummary')
|
|
2075
2256
|
end
|
|
2076
2257
|
|
|
2258
|
+
# Updates the specified dynamic group.
|
|
2259
|
+
# @param [String] dynamic_group_id The OCID of the dynamic group.
|
|
2260
|
+
# @param [UpdateDynamicGroupDetails] update_dynamic_group_details Request object for updating an dynamic group.
|
|
2261
|
+
# @param [Hash] opts the optional parameters
|
|
2262
|
+
# @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
|
|
2263
|
+
# parameter to the value of the etag from a previous GET or POST response for that resource. The resource
|
|
2264
|
+
# will be updated or deleted only if the etag you provide matches the resource's current etag value.
|
|
2265
|
+
#
|
|
2266
|
+
# @return [Response] A Response object with data of type OCI::Identity::Models::DynamicGroup
|
|
2267
|
+
def update_dynamic_group(dynamic_group_id, update_dynamic_group_details, opts = {})
|
|
2268
|
+
logger.debug "Calling operation IdentityClient#update_dynamic_group." if logger
|
|
2269
|
+
|
|
2270
|
+
fail "Missing the required parameter 'dynamic_group_id' when calling update_dynamic_group." if dynamic_group_id.nil?
|
|
2271
|
+
fail "Missing the required parameter 'update_dynamic_group_details' when calling update_dynamic_group." if update_dynamic_group_details.nil?
|
|
2272
|
+
|
|
2273
|
+
path = "/dynamicGroups/{dynamicGroupId}".sub('{dynamicGroupId}', dynamic_group_id.to_s)
|
|
2274
|
+
|
|
2275
|
+
# Query Params
|
|
2276
|
+
query_params = {}
|
|
2277
|
+
|
|
2278
|
+
# Header Params
|
|
2279
|
+
header_params = {}
|
|
2280
|
+
header_params['accept'] = 'application/json'
|
|
2281
|
+
header_params['content-type'] = 'application/json'
|
|
2282
|
+
header_params[:'if-match'] = opts[:'if_match'] if opts[:'if_match']
|
|
2283
|
+
|
|
2284
|
+
post_body = @api_client.object_to_http_body(update_dynamic_group_details)
|
|
2285
|
+
|
|
2286
|
+
return @api_client.call_api(
|
|
2287
|
+
:PUT,
|
|
2288
|
+
path,
|
|
2289
|
+
endpoint,
|
|
2290
|
+
:header_params => header_params,
|
|
2291
|
+
:query_params => query_params,
|
|
2292
|
+
:body => post_body,
|
|
2293
|
+
:return_type => 'OCI::Identity::Models::DynamicGroup')
|
|
2294
|
+
end
|
|
2295
|
+
|
|
2077
2296
|
# Updates the specified group.
|
|
2078
2297
|
# @param [String] group_id The OCID of the group.
|
|
2079
2298
|
# @param [UpdateGroupDetails] update_group_details Request object for updating a group.
|
|
@@ -2272,14 +2491,11 @@ module OCI
|
|
|
2272
2491
|
:return_type => 'OCI::Identity::Models::SwiftPassword')
|
|
2273
2492
|
end
|
|
2274
2493
|
|
|
2275
|
-
# Updates the the specified tag.
|
|
2276
|
-
# the related rules. You can not a tag with the same name as a retired tag. Tags must be unique within their tag
|
|
2277
|
-
# namespace but can be repeated across namespaces. You cannot add a tag with the same name as a retired tag in
|
|
2278
|
-
# the same tag namespace.
|
|
2494
|
+
# Updates the the specified tag definition. You can update `description`, and `isRetired`.
|
|
2279
2495
|
#
|
|
2280
|
-
# @param [String] tag_namespace_id The OCID of the
|
|
2496
|
+
# @param [String] tag_namespace_id The OCID of the tag namespace.
|
|
2281
2497
|
#
|
|
2282
|
-
# @param [String] tag_name The name of the tag
|
|
2498
|
+
# @param [String] tag_name The name of the tag.
|
|
2283
2499
|
#
|
|
2284
2500
|
# @param [UpdateTagDetails] update_tag_details Request object for updating a tag.
|
|
2285
2501
|
# @param [Hash] opts the optional parameters
|
|
@@ -2313,13 +2529,17 @@ module OCI
|
|
|
2313
2529
|
:return_type => 'OCI::Identity::Models::Tag')
|
|
2314
2530
|
end
|
|
2315
2531
|
|
|
2316
|
-
# Updates the the specified
|
|
2317
|
-
#
|
|
2318
|
-
#
|
|
2319
|
-
#
|
|
2320
|
-
#
|
|
2532
|
+
# Updates the the specified tag namespace. You can't update the namespace name.
|
|
2533
|
+
#
|
|
2534
|
+
# Updating `isRetired` to 'true' retires the namespace and all the tag definitions in the namespace. Reactivating a
|
|
2535
|
+
# namespace (changing `isRetired` from 'true' to 'false') does not reactivate tag definitions.
|
|
2536
|
+
# To reactivate the tag definitions, you must reactivate each one indvidually *after* you reactivate the namespace,
|
|
2537
|
+
# using {#update_tag update_tag}. For more information about retiring tag namespaces, see
|
|
2538
|
+
# [Retiring Key Definitions and Namespace Definitions](https://docs.us-phoenix-1.oraclecloud.com/Content/Identity/Concepts/taggingoverview.htm#Retiring).
|
|
2539
|
+
#
|
|
2540
|
+
# You can't add a namespace with the same name as a retired namespace in the same tenancy.
|
|
2321
2541
|
#
|
|
2322
|
-
# @param [String] tag_namespace_id The OCID of the
|
|
2542
|
+
# @param [String] tag_namespace_id The OCID of the tag namespace.
|
|
2323
2543
|
#
|
|
2324
2544
|
# @param [UpdateTagNamespaceDetails] update_tag_namespace_details Request object for updating a namespace.
|
|
2325
2545
|
# @param [Hash] opts the optional parameters
|
|
@@ -2429,7 +2649,7 @@ module OCI
|
|
|
2429
2649
|
:return_type => 'OCI::Identity::Models::User')
|
|
2430
2650
|
end
|
|
2431
2651
|
|
|
2432
|
-
# Uploads an API signing key for the specified user.
|
|
2652
|
+
# Uploads an API signing key for the specified user.
|
|
2433
2653
|
#
|
|
2434
2654
|
# Every user has permission to use this operation to upload a key for *their own user ID*. An
|
|
2435
2655
|
# administrator in your organization does not need to write a policy to give users this ability.
|
|
@@ -2440,7 +2660,7 @@ module OCI
|
|
|
2440
2660
|
# have permission to do much else. If you try calling an operation unrelated to your own credential
|
|
2441
2661
|
# management (e.g., `ListUsers`, `LaunchInstance`) and receive an \"unauthorized\" error,
|
|
2442
2662
|
# check with an administrator to confirm which IAM Service group(s) you're in and what access
|
|
2443
|
-
# you have. Also confirm you're working in the correct compartment.
|
|
2663
|
+
# you have. Also confirm you're working in the correct compartment.
|
|
2444
2664
|
#
|
|
2445
2665
|
# After you send your request, the new object's `lifecycleState` will temporarily be CREATING. Before using
|
|
2446
2666
|
# the object, first make sure its `lifecycleState` has changed to ACTIVE.
|