oci 2.3.8 → 2.3.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +7 -7
- data/lib/oci/api_client.rb +5 -0
- data/lib/oci/audit/audit_client.rb +1 -0
- data/lib/oci/audit/models/audit_event.rb +5 -2
- data/lib/oci/audit/models/configuration.rb +5 -2
- data/lib/oci/audit/models/update_configuration_details.rb +5 -2
- data/lib/oci/base_signer.rb +2 -1
- data/lib/oci/config.rb +1 -0
- data/lib/oci/config_file_loader.rb +2 -0
- data/lib/oci/container_engine/container_engine_client.rb +1 -0
- data/lib/oci/container_engine/models/add_on_options.rb +5 -2
- data/lib/oci/container_engine/models/cluster.rb +5 -2
- data/lib/oci/container_engine/models/cluster_create_options.rb +5 -2
- data/lib/oci/container_engine/models/cluster_endpoints.rb +5 -2
- data/lib/oci/container_engine/models/cluster_metadata.rb +5 -2
- data/lib/oci/container_engine/models/cluster_options.rb +5 -2
- data/lib/oci/container_engine/models/cluster_summary.rb +5 -2
- data/lib/oci/container_engine/models/create_cluster_details.rb +5 -2
- data/lib/oci/container_engine/models/create_cluster_kubeconfig_content_details.rb +5 -2
- data/lib/oci/container_engine/models/create_node_pool_details.rb +5 -2
- data/lib/oci/container_engine/models/key_value.rb +5 -2
- data/lib/oci/container_engine/models/kubernetes_network_config.rb +5 -2
- data/lib/oci/container_engine/models/node.rb +5 -2
- data/lib/oci/container_engine/models/node_error.rb +5 -2
- data/lib/oci/container_engine/models/node_pool.rb +5 -2
- data/lib/oci/container_engine/models/node_pool_options.rb +5 -2
- data/lib/oci/container_engine/models/node_pool_summary.rb +5 -2
- data/lib/oci/container_engine/models/update_cluster_details.rb +5 -2
- data/lib/oci/container_engine/models/update_node_pool_details.rb +5 -2
- data/lib/oci/container_engine/models/work_request.rb +5 -2
- data/lib/oci/container_engine/models/work_request_error.rb +5 -2
- data/lib/oci/container_engine/models/work_request_log_entry.rb +5 -2
- data/lib/oci/container_engine/models/work_request_resource.rb +5 -2
- data/lib/oci/container_engine/models/work_request_summary.rb +5 -2
- data/lib/oci/core/blockstorage_client.rb +72 -1
- data/lib/oci/core/blockstorage_client_composite_operations.rb +40 -0
- data/lib/oci/core/compute_client.rb +1 -0
- data/lib/oci/core/compute_management_client.rb +1179 -0
- data/lib/oci/core/compute_management_client_composite_operations.rb +299 -0
- data/lib/oci/core/core.rb +32 -0
- data/lib/oci/core/models/app_catalog_listing.rb +5 -2
- data/lib/oci/core/models/app_catalog_listing_resource_version.rb +5 -2
- data/lib/oci/core/models/app_catalog_listing_resource_version_agreements.rb +5 -2
- data/lib/oci/core/models/app_catalog_listing_resource_version_summary.rb +5 -2
- data/lib/oci/core/models/app_catalog_listing_summary.rb +5 -2
- data/lib/oci/core/models/app_catalog_subscription.rb +5 -2
- data/lib/oci/core/models/app_catalog_subscription_summary.rb +5 -2
- data/lib/oci/core/models/attach_boot_volume_details.rb +5 -2
- data/lib/oci/core/models/attach_i_scsi_volume_details.rb +5 -2
- data/lib/oci/core/models/attach_paravirtualized_volume_details.rb +5 -2
- data/lib/oci/core/models/attach_vnic_details.rb +5 -2
- data/lib/oci/core/models/attach_volume_details.rb +5 -2
- data/lib/oci/core/models/boot_volume.rb +5 -2
- data/lib/oci/core/models/boot_volume_attachment.rb +5 -2
- data/lib/oci/core/models/boot_volume_backup.rb +5 -2
- data/lib/oci/core/models/boot_volume_kms_key.rb +5 -2
- data/lib/oci/core/models/boot_volume_source_details.rb +5 -2
- data/lib/oci/core/models/boot_volume_source_from_boot_volume_backup_details.rb +5 -2
- data/lib/oci/core/models/boot_volume_source_from_boot_volume_details.rb +5 -2
- data/lib/oci/core/models/bulk_add_virtual_circuit_public_prefixes_details.rb +5 -2
- data/lib/oci/core/models/bulk_delete_virtual_circuit_public_prefixes_details.rb +5 -2
- data/lib/oci/core/models/capture_console_history_details.rb +5 -2
- data/lib/oci/core/models/compute_instance_details.rb +186 -0
- data/lib/oci/core/models/connect_local_peering_gateways_details.rb +5 -2
- data/lib/oci/core/models/connect_remote_peering_connections_details.rb +5 -2
- data/lib/oci/core/models/console_history.rb +5 -2
- data/lib/oci/core/models/copy_volume_backup_details.rb +172 -0
- data/lib/oci/core/models/cpe.rb +5 -2
- data/lib/oci/core/models/create_app_catalog_subscription_details.rb +5 -2
- data/lib/oci/core/models/create_boot_volume_backup_details.rb +6 -2
- data/lib/oci/core/models/create_boot_volume_details.rb +5 -2
- data/lib/oci/core/models/create_cpe_details.rb +5 -2
- data/lib/oci/core/models/create_cross_connect_details.rb +5 -2
- data/lib/oci/core/models/create_cross_connect_group_details.rb +5 -2
- data/lib/oci/core/models/create_dhcp_details.rb +5 -2
- data/lib/oci/core/models/create_drg_attachment_details.rb +5 -2
- data/lib/oci/core/models/create_drg_details.rb +5 -2
- data/lib/oci/core/models/create_image_details.rb +6 -2
- data/lib/oci/core/models/create_instance_configuration_details.rb +221 -0
- data/lib/oci/core/models/create_instance_console_connection_details.rb +5 -2
- data/lib/oci/core/models/create_instance_pool_details.rb +244 -0
- data/lib/oci/core/models/create_instance_pool_placement_configuration_details.rb +183 -0
- data/lib/oci/core/models/create_internet_gateway_details.rb +5 -2
- data/lib/oci/core/models/create_ip_sec_connection_details.rb +5 -2
- data/lib/oci/core/models/create_local_peering_gateway_details.rb +5 -2
- data/lib/oci/core/models/create_nat_gateway_details.rb +5 -2
- data/lib/oci/core/models/create_private_ip_details.rb +5 -2
- data/lib/oci/core/models/create_public_ip_details.rb +6 -2
- data/lib/oci/core/models/create_remote_peering_connection_details.rb +5 -2
- data/lib/oci/core/models/create_route_table_details.rb +5 -2
- data/lib/oci/core/models/create_security_list_details.rb +5 -2
- data/lib/oci/core/models/create_service_gateway_details.rb +5 -2
- data/lib/oci/core/models/create_subnet_details.rb +11 -8
- data/lib/oci/core/models/create_vcn_details.rb +5 -2
- data/lib/oci/core/models/create_virtual_circuit_details.rb +6 -2
- data/lib/oci/core/models/create_virtual_circuit_public_prefix_details.rb +5 -2
- data/lib/oci/core/models/create_vnic_details.rb +5 -2
- data/lib/oci/core/models/create_volume_backup_details.rb +6 -2
- data/lib/oci/core/models/create_volume_backup_policy_assignment_details.rb +5 -2
- data/lib/oci/core/models/create_volume_details.rb +5 -2
- data/lib/oci/core/models/create_volume_group_backup_details.rb +6 -2
- data/lib/oci/core/models/create_volume_group_details.rb +5 -2
- data/lib/oci/core/models/cross_connect.rb +5 -2
- data/lib/oci/core/models/cross_connect_group.rb +5 -2
- data/lib/oci/core/models/cross_connect_location.rb +5 -2
- data/lib/oci/core/models/cross_connect_mapping.rb +5 -2
- data/lib/oci/core/models/cross_connect_port_speed_shape.rb +5 -2
- data/lib/oci/core/models/cross_connect_status.rb +5 -2
- data/lib/oci/core/models/delete_virtual_circuit_public_prefix_details.rb +5 -2
- data/lib/oci/core/models/dhcp_dns_option.rb +5 -2
- data/lib/oci/core/models/dhcp_option.rb +5 -2
- data/lib/oci/core/models/dhcp_options.rb +5 -2
- data/lib/oci/core/models/dhcp_search_domain_option.rb +5 -2
- data/lib/oci/core/models/drg.rb +5 -2
- data/lib/oci/core/models/drg_attachment.rb +5 -2
- data/lib/oci/core/models/egress_security_rule.rb +5 -2
- data/lib/oci/core/models/export_image_details.rb +5 -2
- data/lib/oci/core/models/export_image_via_object_storage_tuple_details.rb +5 -2
- data/lib/oci/core/models/export_image_via_object_storage_uri_details.rb +5 -2
- data/lib/oci/core/models/fast_connect_provider_service.rb +5 -2
- data/lib/oci/core/models/get_public_ip_by_ip_address_details.rb +5 -2
- data/lib/oci/core/models/get_public_ip_by_private_ip_id_details.rb +5 -2
- data/lib/oci/core/models/i_scsi_volume_attachment.rb +5 -2
- data/lib/oci/core/models/icmp_options.rb +5 -2
- data/lib/oci/core/models/image.rb +5 -2
- data/lib/oci/core/models/image_source_details.rb +6 -2
- data/lib/oci/core/models/image_source_via_object_storage_tuple_details.rb +5 -2
- data/lib/oci/core/models/image_source_via_object_storage_uri_details.rb +5 -2
- data/lib/oci/core/models/ingress_security_rule.rb +5 -2
- data/lib/oci/core/models/instance.rb +27 -6
- data/lib/oci/core/models/instance_configuration.rb +259 -0
- data/lib/oci/core/models/instance_configuration_attach_vnic_details.rb +188 -0
- data/lib/oci/core/models/instance_configuration_attach_volume_details.rb +196 -0
- data/lib/oci/core/models/instance_configuration_block_volume_details.rb +180 -0
- data/lib/oci/core/models/instance_configuration_create_vnic_details.rb +221 -0
- data/lib/oci/core/models/instance_configuration_create_volume_details.rb +271 -0
- data/lib/oci/core/models/instance_configuration_instance_details.rb +170 -0
- data/lib/oci/core/models/instance_configuration_instance_source_details.rb +173 -0
- data/lib/oci/core/models/instance_configuration_instance_source_via_boot_volume_details.rb +161 -0
- data/lib/oci/core/models/instance_configuration_instance_source_via_image_details.rb +161 -0
- data/lib/oci/core/models/instance_configuration_iscsi_attach_volume_details.rb +169 -0
- data/lib/oci/core/models/instance_configuration_launch_instance_details.rb +395 -0
- data/lib/oci/core/models/instance_configuration_paravirtualized_attach_volume_details.rb +152 -0
- data/lib/oci/core/models/instance_configuration_summary.rb +196 -0
- data/lib/oci/core/models/instance_configuration_volume_source_details.rb +166 -0
- data/lib/oci/core/models/instance_configuration_volume_source_from_volume_backup_details.rb +157 -0
- data/lib/oci/core/models/instance_configuration_volume_source_from_volume_details.rb +157 -0
- data/lib/oci/core/models/instance_console_connection.rb +5 -2
- data/lib/oci/core/models/instance_credentials.rb +5 -2
- data/lib/oci/core/models/instance_pool.rb +310 -0
- data/lib/oci/core/models/instance_pool_placement_configuration.rb +183 -0
- data/lib/oci/core/models/instance_pool_placement_secondary_vnic_subnet.rb +169 -0
- data/lib/oci/core/models/instance_pool_summary.rb +273 -0
- data/lib/oci/core/models/instance_source_details.rb +5 -2
- data/lib/oci/core/models/instance_source_via_boot_volume_details.rb +5 -2
- data/lib/oci/core/models/instance_source_via_image_details.rb +5 -2
- data/lib/oci/core/models/instance_summary.rb +269 -0
- data/lib/oci/core/models/internet_gateway.rb +5 -2
- data/lib/oci/core/models/ip_sec_connection.rb +5 -2
- data/lib/oci/core/models/ip_sec_connection_device_config.rb +5 -2
- data/lib/oci/core/models/ip_sec_connection_device_status.rb +5 -2
- data/lib/oci/core/models/launch_instance_details.rb +5 -2
- data/lib/oci/core/models/launch_options.rb +5 -2
- data/lib/oci/core/models/letter_of_authority.rb +5 -2
- data/lib/oci/core/models/local_peering_gateway.rb +5 -2
- data/lib/oci/core/models/nat_gateway.rb +5 -2
- data/lib/oci/core/models/paravirtualized_volume_attachment.rb +5 -2
- data/lib/oci/core/models/peer_region_for_remote_peering.rb +5 -2
- data/lib/oci/core/models/port_range.rb +5 -2
- data/lib/oci/core/models/private_ip.rb +5 -2
- data/lib/oci/core/models/public_ip.rb +5 -2
- data/lib/oci/core/models/remote_peering_connection.rb +5 -2
- data/lib/oci/core/models/route_rule.rb +5 -2
- data/lib/oci/core/models/route_table.rb +5 -2
- data/lib/oci/core/models/security_list.rb +5 -2
- data/lib/oci/core/models/service.rb +5 -2
- data/lib/oci/core/models/service_gateway.rb +5 -2
- data/lib/oci/core/models/service_id_request_details.rb +5 -2
- data/lib/oci/core/models/service_id_response_details.rb +5 -2
- data/lib/oci/core/models/shape.rb +5 -2
- data/lib/oci/core/models/subnet.rb +11 -5
- data/lib/oci/core/models/tcp_options.rb +5 -2
- data/lib/oci/core/models/tunnel_config.rb +5 -2
- data/lib/oci/core/models/tunnel_status.rb +5 -2
- data/lib/oci/core/models/udp_options.rb +5 -2
- data/lib/oci/core/models/update_boot_volume_backup_details.rb +5 -2
- data/lib/oci/core/models/update_boot_volume_details.rb +5 -2
- data/lib/oci/core/models/update_boot_volume_kms_key_details.rb +5 -2
- data/lib/oci/core/models/update_console_history_details.rb +5 -2
- data/lib/oci/core/models/update_cpe_details.rb +5 -2
- data/lib/oci/core/models/update_cross_connect_details.rb +5 -2
- data/lib/oci/core/models/update_cross_connect_group_details.rb +5 -2
- data/lib/oci/core/models/update_dhcp_details.rb +5 -2
- data/lib/oci/core/models/update_drg_attachment_details.rb +5 -2
- data/lib/oci/core/models/update_drg_details.rb +5 -2
- data/lib/oci/core/models/update_image_details.rb +5 -2
- data/lib/oci/core/models/update_instance_configuration_details.rb +194 -0
- data/lib/oci/core/models/update_instance_details.rb +5 -2
- data/lib/oci/core/models/update_instance_pool_details.rb +230 -0
- data/lib/oci/core/models/update_instance_pool_placement_configuration_details.rb +183 -0
- data/lib/oci/core/models/update_internet_gateway_details.rb +5 -2
- data/lib/oci/core/models/update_ip_sec_connection_details.rb +5 -2
- data/lib/oci/core/models/update_local_peering_gateway_details.rb +5 -2
- data/lib/oci/core/models/update_nat_gateway_details.rb +5 -2
- data/lib/oci/core/models/update_private_ip_details.rb +5 -2
- data/lib/oci/core/models/update_public_ip_details.rb +5 -2
- data/lib/oci/core/models/update_remote_peering_connection_details.rb +5 -2
- data/lib/oci/core/models/update_route_table_details.rb +5 -2
- data/lib/oci/core/models/update_security_list_details.rb +5 -2
- data/lib/oci/core/models/update_service_gateway_details.rb +5 -2
- data/lib/oci/core/models/update_subnet_details.rb +5 -2
- data/lib/oci/core/models/update_vcn_details.rb +5 -2
- data/lib/oci/core/models/update_virtual_circuit_details.rb +6 -2
- data/lib/oci/core/models/update_vnic_details.rb +5 -2
- data/lib/oci/core/models/update_volume_backup_details.rb +5 -2
- data/lib/oci/core/models/update_volume_details.rb +5 -2
- data/lib/oci/core/models/update_volume_group_backup_details.rb +5 -2
- data/lib/oci/core/models/update_volume_group_details.rb +5 -2
- data/lib/oci/core/models/update_volume_kms_key_details.rb +5 -2
- data/lib/oci/core/models/vcn.rb +5 -2
- data/lib/oci/core/models/virtual_circuit.rb +5 -2
- data/lib/oci/core/models/virtual_circuit_bandwidth_shape.rb +5 -2
- data/lib/oci/core/models/virtual_circuit_public_prefix.rb +5 -2
- data/lib/oci/core/models/vnic.rb +5 -2
- data/lib/oci/core/models/vnic_attachment.rb +5 -2
- data/lib/oci/core/models/volume.rb +5 -2
- data/lib/oci/core/models/volume_attachment.rb +5 -2
- data/lib/oci/core/models/volume_backup.rb +20 -3
- data/lib/oci/core/models/volume_backup_policy.rb +5 -2
- data/lib/oci/core/models/volume_backup_policy_assignment.rb +5 -2
- data/lib/oci/core/models/volume_backup_schedule.rb +5 -2
- data/lib/oci/core/models/volume_group.rb +5 -2
- data/lib/oci/core/models/volume_group_backup.rb +5 -2
- data/lib/oci/core/models/volume_group_source_details.rb +5 -2
- data/lib/oci/core/models/volume_group_source_from_volume_group_backup_details.rb +5 -2
- data/lib/oci/core/models/volume_group_source_from_volume_group_details.rb +5 -2
- data/lib/oci/core/models/volume_group_source_from_volumes_details.rb +5 -2
- data/lib/oci/core/models/volume_kms_key.rb +5 -2
- data/lib/oci/core/models/volume_source_details.rb +5 -2
- data/lib/oci/core/models/volume_source_from_volume_backup_details.rb +5 -2
- data/lib/oci/core/models/volume_source_from_volume_details.rb +5 -2
- data/lib/oci/core/virtual_network_client.rb +3 -3
- data/lib/oci/database/database.rb +5 -0
- data/lib/oci/database/database_client.rb +527 -4
- data/lib/oci/database/models/autonomous_data_warehouse.rb +21 -4
- data/lib/oci/database/models/autonomous_data_warehouse_backup.rb +5 -2
- data/lib/oci/database/models/autonomous_data_warehouse_backup_summary.rb +5 -2
- data/lib/oci/database/models/autonomous_data_warehouse_connection_strings.rb +20 -3
- data/lib/oci/database/models/autonomous_data_warehouse_summary.rb +21 -4
- data/lib/oci/database/models/autonomous_database.rb +22 -4
- data/lib/oci/database/models/autonomous_database_backup.rb +5 -2
- data/lib/oci/database/models/autonomous_database_backup_summary.rb +5 -2
- data/lib/oci/database/models/autonomous_database_connection_strings.rb +20 -3
- data/lib/oci/database/models/autonomous_database_summary.rb +22 -4
- data/lib/oci/database/models/backup.rb +40 -14
- data/lib/oci/database/models/backup_summary.rb +40 -14
- data/lib/oci/database/models/complete_external_backup_job_details.rb +223 -0
- data/lib/oci/database/models/create_autonomous_data_warehouse_backup_details.rb +5 -2
- data/lib/oci/database/models/create_autonomous_data_warehouse_details.rb +6 -2
- data/lib/oci/database/models/create_autonomous_database_backup_details.rb +5 -2
- data/lib/oci/database/models/create_autonomous_database_details.rb +6 -2
- data/lib/oci/database/models/create_backup_details.rb +5 -2
- data/lib/oci/database/models/create_data_guard_association_details.rb +7 -2
- data/lib/oci/database/models/create_data_guard_association_to_existing_db_system_details.rb +5 -2
- data/lib/oci/database/models/create_database_details.rb +6 -2
- data/lib/oci/database/models/create_database_from_backup_details.rb +5 -2
- data/lib/oci/database/models/create_db_home_details.rb +5 -2
- data/lib/oci/database/models/create_db_home_from_backup_details.rb +5 -2
- data/lib/oci/database/models/create_db_home_with_db_system_id_base.rb +6 -2
- data/lib/oci/database/models/create_db_home_with_db_system_id_details.rb +5 -2
- data/lib/oci/database/models/create_db_home_with_db_system_id_from_backup_details.rb +5 -2
- data/lib/oci/database/models/create_external_backup_job_details.rb +341 -0
- data/lib/oci/database/models/data_guard_association.rb +5 -2
- data/lib/oci/database/models/data_guard_association_summary.rb +5 -2
- data/lib/oci/database/models/database.rb +5 -2
- data/lib/oci/database/models/database_summary.rb +5 -2
- data/lib/oci/database/models/db_backup_config.rb +5 -2
- data/lib/oci/database/models/db_home.rb +5 -2
- data/lib/oci/database/models/db_home_summary.rb +5 -2
- data/lib/oci/database/models/db_node.rb +5 -2
- data/lib/oci/database/models/db_node_summary.rb +5 -2
- data/lib/oci/database/models/db_system.rb +5 -2
- data/lib/oci/database/models/db_system_shape_summary.rb +5 -2
- data/lib/oci/database/models/db_system_summary.rb +5 -2
- data/lib/oci/database/models/db_version_summary.rb +5 -2
- data/lib/oci/database/models/external_backup_job.rb +232 -0
- data/lib/oci/database/models/failover_data_guard_association_details.rb +5 -2
- data/lib/oci/database/models/generate_autonomous_data_warehouse_wallet_details.rb +150 -0
- data/lib/oci/database/models/generate_autonomous_database_wallet_details.rb +150 -0
- data/lib/oci/database/models/launch_db_system_base.rb +6 -2
- data/lib/oci/database/models/launch_db_system_details.rb +8 -2
- data/lib/oci/database/models/launch_db_system_from_backup_details.rb +8 -2
- data/lib/oci/database/models/patch.rb +5 -2
- data/lib/oci/database/models/patch_details.rb +6 -2
- data/lib/oci/database/models/patch_history_entry.rb +5 -2
- data/lib/oci/database/models/patch_history_entry_summary.rb +5 -2
- data/lib/oci/database/models/patch_summary.rb +5 -2
- data/lib/oci/database/models/reinstate_data_guard_association_details.rb +5 -2
- data/lib/oci/database/models/restore_autonomous_data_warehouse_details.rb +5 -2
- data/lib/oci/database/models/restore_autonomous_database_details.rb +5 -2
- data/lib/oci/database/models/restore_database_details.rb +5 -2
- data/lib/oci/database/models/switchover_data_guard_association_details.rb +5 -2
- data/lib/oci/database/models/update_autonomous_data_warehouse_details.rb +5 -2
- data/lib/oci/database/models/update_autonomous_database_details.rb +5 -2
- data/lib/oci/database/models/update_database_details.rb +5 -2
- data/lib/oci/database/models/update_db_home_details.rb +5 -2
- data/lib/oci/database/models/update_db_system_details.rb +5 -2
- data/lib/oci/dns/dns_client.rb +1 -0
- data/lib/oci/dns/models/create_zone_details.rb +6 -2
- data/lib/oci/dns/models/external_master.rb +5 -2
- data/lib/oci/dns/models/patch_domain_records_details.rb +5 -2
- data/lib/oci/dns/models/patch_rr_set_details.rb +5 -2
- data/lib/oci/dns/models/patch_zone_records_details.rb +5 -2
- data/lib/oci/dns/models/record.rb +5 -2
- data/lib/oci/dns/models/record_collection.rb +5 -2
- data/lib/oci/dns/models/record_details.rb +5 -2
- data/lib/oci/dns/models/record_operation.rb +6 -2
- data/lib/oci/dns/models/rr_set.rb +5 -2
- data/lib/oci/dns/models/tsig.rb +5 -2
- data/lib/oci/dns/models/update_domain_records_details.rb +5 -2
- data/lib/oci/dns/models/update_rr_set_details.rb +5 -2
- data/lib/oci/dns/models/update_zone_details.rb +5 -2
- data/lib/oci/dns/models/update_zone_records_details.rb +5 -2
- data/lib/oci/dns/models/zone.rb +5 -2
- data/lib/oci/dns/models/zone_summary.rb +5 -2
- data/lib/oci/email/email_client.rb +1 -0
- data/lib/oci/email/models/create_sender_details.rb +5 -2
- data/lib/oci/email/models/create_suppression_details.rb +5 -2
- data/lib/oci/email/models/sender.rb +5 -2
- data/lib/oci/email/models/sender_summary.rb +5 -2
- data/lib/oci/email/models/suppression.rb +5 -2
- data/lib/oci/email/models/suppression_summary.rb +5 -2
- data/lib/oci/file_storage/file_storage_client.rb +1 -0
- data/lib/oci/file_storage/models/client_options.rb +5 -2
- data/lib/oci/file_storage/models/create_export_details.rb +5 -2
- data/lib/oci/file_storage/models/create_file_system_details.rb +5 -2
- data/lib/oci/file_storage/models/create_mount_target_details.rb +5 -2
- data/lib/oci/file_storage/models/create_snapshot_details.rb +5 -2
- data/lib/oci/file_storage/models/export.rb +5 -2
- data/lib/oci/file_storage/models/export_set.rb +5 -2
- data/lib/oci/file_storage/models/export_set_summary.rb +5 -2
- data/lib/oci/file_storage/models/export_summary.rb +5 -2
- data/lib/oci/file_storage/models/file_system.rb +5 -2
- data/lib/oci/file_storage/models/file_system_summary.rb +5 -2
- data/lib/oci/file_storage/models/mount_target.rb +5 -2
- data/lib/oci/file_storage/models/mount_target_summary.rb +5 -2
- data/lib/oci/file_storage/models/snapshot.rb +5 -2
- data/lib/oci/file_storage/models/snapshot_summary.rb +5 -2
- data/lib/oci/file_storage/models/update_export_details.rb +5 -2
- data/lib/oci/file_storage/models/update_export_set_details.rb +5 -2
- data/lib/oci/file_storage/models/update_file_system_details.rb +5 -2
- data/lib/oci/file_storage/models/update_mount_target_details.rb +5 -2
- data/lib/oci/identity/identity.rb +5 -0
- data/lib/oci/identity/identity_client.rb +283 -14
- data/lib/oci/identity/identity_client_composite_operations.rb +49 -0
- data/lib/oci/identity/models/add_user_to_group_details.rb +5 -2
- data/lib/oci/identity/models/api_key.rb +5 -2
- data/lib/oci/identity/models/auth_token.rb +5 -2
- data/lib/oci/identity/models/availability_domain.rb +5 -2
- data/lib/oci/identity/models/compartment.rb +25 -5
- data/lib/oci/identity/models/create_api_key_details.rb +5 -2
- data/lib/oci/identity/models/create_auth_token_details.rb +5 -2
- data/lib/oci/identity/models/create_compartment_details.rb +7 -4
- data/lib/oci/identity/models/create_customer_secret_key_details.rb +5 -2
- data/lib/oci/identity/models/create_dynamic_group_details.rb +5 -2
- data/lib/oci/identity/models/create_group_details.rb +5 -2
- data/lib/oci/identity/models/create_identity_provider_details.rb +7 -2
- data/lib/oci/identity/models/create_idp_group_mapping_details.rb +5 -2
- data/lib/oci/identity/models/create_policy_details.rb +5 -2
- data/lib/oci/identity/models/create_region_subscription_details.rb +5 -2
- data/lib/oci/identity/models/create_saml2_identity_provider_details.rb +5 -2
- data/lib/oci/identity/models/create_smtp_credential_details.rb +5 -2
- data/lib/oci/identity/models/create_swift_password_details.rb +5 -2
- data/lib/oci/identity/models/create_tag_details.rb +24 -6
- data/lib/oci/identity/models/create_tag_namespace_details.rb +5 -2
- data/lib/oci/identity/models/create_user_details.rb +5 -2
- data/lib/oci/identity/models/customer_secret_key.rb +5 -2
- data/lib/oci/identity/models/customer_secret_key_summary.rb +5 -2
- data/lib/oci/identity/models/dynamic_group.rb +5 -2
- data/lib/oci/identity/models/fault_domain.rb +5 -2
- data/lib/oci/identity/models/group.rb +5 -2
- data/lib/oci/identity/models/identity_provider.rb +5 -2
- data/lib/oci/identity/models/idp_group_mapping.rb +5 -2
- data/lib/oci/identity/models/policy.rb +5 -2
- data/lib/oci/identity/models/region.rb +5 -2
- data/lib/oci/identity/models/region_subscription.rb +5 -2
- data/lib/oci/identity/models/saml2_identity_provider.rb +5 -2
- data/lib/oci/identity/models/smtp_credential.rb +5 -2
- data/lib/oci/identity/models/smtp_credential_summary.rb +5 -2
- data/lib/oci/identity/models/swift_password.rb +5 -2
- data/lib/oci/identity/models/tag.rb +24 -6
- data/lib/oci/identity/models/tag_namespace.rb +5 -2
- data/lib/oci/identity/models/tag_namespace_summary.rb +5 -2
- data/lib/oci/identity/models/tag_summary.rb +24 -6
- data/lib/oci/identity/models/tenancy.rb +5 -2
- data/lib/oci/identity/models/ui_password.rb +5 -2
- data/lib/oci/identity/models/update_auth_token_details.rb +5 -2
- data/lib/oci/identity/models/update_compartment_details.rb +6 -3
- data/lib/oci/identity/models/update_customer_secret_key_details.rb +5 -2
- data/lib/oci/identity/models/update_dynamic_group_details.rb +5 -2
- data/lib/oci/identity/models/update_group_details.rb +5 -2
- data/lib/oci/identity/models/update_identity_provider_details.rb +6 -2
- data/lib/oci/identity/models/update_idp_group_mapping_details.rb +5 -2
- data/lib/oci/identity/models/update_policy_details.rb +5 -2
- data/lib/oci/identity/models/update_saml2_identity_provider_details.rb +5 -2
- data/lib/oci/identity/models/update_smtp_credential_details.rb +5 -2
- data/lib/oci/identity/models/update_state_details.rb +5 -2
- data/lib/oci/identity/models/update_swift_password_details.rb +5 -2
- data/lib/oci/identity/models/update_tag_details.rb +24 -6
- data/lib/oci/identity/models/update_tag_namespace_details.rb +5 -2
- data/lib/oci/identity/models/update_user_details.rb +5 -2
- data/lib/oci/identity/models/user.rb +5 -2
- data/lib/oci/identity/models/user_group_membership.rb +5 -2
- data/lib/oci/identity/models/work_request.rb +331 -0
- data/lib/oci/identity/models/work_request_error.rb +172 -0
- data/lib/oci/identity/models/work_request_log_entry.rb +162 -0
- data/lib/oci/identity/models/work_request_resource.rb +217 -0
- data/lib/oci/identity/models/work_request_summary.rb +319 -0
- data/lib/oci/key_management/kms_crypto_client.rb +2 -0
- data/lib/oci/key_management/kms_management_client.rb +2 -0
- data/lib/oci/key_management/kms_vault_client.rb +1 -0
- data/lib/oci/key_management/models/create_key_details.rb +5 -2
- data/lib/oci/key_management/models/create_vault_details.rb +6 -2
- data/lib/oci/key_management/models/decrypt_data_details.rb +5 -2
- data/lib/oci/key_management/models/decrypted_data.rb +5 -2
- data/lib/oci/key_management/models/encrypt_data_details.rb +5 -2
- data/lib/oci/key_management/models/encrypted_data.rb +5 -2
- data/lib/oci/key_management/models/generate_key_details.rb +5 -2
- data/lib/oci/key_management/models/generated_key.rb +5 -2
- data/lib/oci/key_management/models/key.rb +5 -2
- data/lib/oci/key_management/models/key_shape.rb +5 -2
- data/lib/oci/key_management/models/key_summary.rb +5 -2
- data/lib/oci/key_management/models/key_version.rb +5 -2
- data/lib/oci/key_management/models/key_version_summary.rb +5 -2
- data/lib/oci/key_management/models/schedule_vault_deletion_details.rb +5 -2
- data/lib/oci/key_management/models/update_key_details.rb +5 -2
- data/lib/oci/key_management/models/update_vault_details.rb +5 -2
- data/lib/oci/key_management/models/vault.rb +5 -2
- data/lib/oci/key_management/models/vault_summary.rb +5 -2
- data/lib/oci/load_balancer/load_balancer_client.rb +1 -0
- data/lib/oci/load_balancer/models/backend.rb +5 -2
- data/lib/oci/load_balancer/models/backend_details.rb +5 -2
- data/lib/oci/load_balancer/models/backend_health.rb +5 -2
- data/lib/oci/load_balancer/models/backend_set.rb +5 -2
- data/lib/oci/load_balancer/models/backend_set_details.rb +5 -2
- data/lib/oci/load_balancer/models/backend_set_health.rb +5 -2
- data/lib/oci/load_balancer/models/certificate.rb +5 -2
- data/lib/oci/load_balancer/models/certificate_details.rb +5 -2
- data/lib/oci/load_balancer/models/connection_configuration.rb +5 -2
- data/lib/oci/load_balancer/models/create_backend_details.rb +5 -2
- data/lib/oci/load_balancer/models/create_backend_set_details.rb +5 -2
- data/lib/oci/load_balancer/models/create_certificate_details.rb +5 -2
- data/lib/oci/load_balancer/models/create_hostname_details.rb +5 -2
- data/lib/oci/load_balancer/models/create_listener_details.rb +5 -2
- data/lib/oci/load_balancer/models/create_load_balancer_details.rb +5 -2
- data/lib/oci/load_balancer/models/create_path_route_set_details.rb +5 -2
- data/lib/oci/load_balancer/models/health_check_result.rb +5 -2
- data/lib/oci/load_balancer/models/health_checker.rb +5 -2
- data/lib/oci/load_balancer/models/health_checker_details.rb +5 -2
- data/lib/oci/load_balancer/models/hostname.rb +5 -2
- data/lib/oci/load_balancer/models/hostname_details.rb +5 -2
- data/lib/oci/load_balancer/models/ip_address.rb +5 -2
- data/lib/oci/load_balancer/models/listener.rb +5 -2
- data/lib/oci/load_balancer/models/listener_details.rb +5 -2
- data/lib/oci/load_balancer/models/load_balancer.rb +5 -2
- data/lib/oci/load_balancer/models/load_balancer_health.rb +5 -2
- data/lib/oci/load_balancer/models/load_balancer_health_summary.rb +5 -2
- data/lib/oci/load_balancer/models/load_balancer_policy.rb +5 -2
- data/lib/oci/load_balancer/models/load_balancer_protocol.rb +5 -2
- data/lib/oci/load_balancer/models/load_balancer_shape.rb +5 -2
- data/lib/oci/load_balancer/models/path_match_type.rb +5 -2
- data/lib/oci/load_balancer/models/path_route.rb +5 -2
- data/lib/oci/load_balancer/models/path_route_set.rb +5 -2
- data/lib/oci/load_balancer/models/path_route_set_details.rb +5 -2
- data/lib/oci/load_balancer/models/session_persistence_configuration_details.rb +5 -2
- data/lib/oci/load_balancer/models/ssl_configuration.rb +5 -2
- data/lib/oci/load_balancer/models/ssl_configuration_details.rb +5 -2
- data/lib/oci/load_balancer/models/update_backend_details.rb +5 -2
- data/lib/oci/load_balancer/models/update_backend_set_details.rb +5 -2
- data/lib/oci/load_balancer/models/update_health_checker_details.rb +5 -2
- data/lib/oci/load_balancer/models/update_hostname_details.rb +5 -2
- data/lib/oci/load_balancer/models/update_listener_details.rb +5 -2
- data/lib/oci/load_balancer/models/update_load_balancer_details.rb +5 -2
- data/lib/oci/load_balancer/models/update_path_route_set_details.rb +5 -2
- data/lib/oci/load_balancer/models/work_request.rb +5 -2
- data/lib/oci/load_balancer/models/work_request_error.rb +5 -2
- data/lib/oci/object_storage/models/bucket.rb +5 -2
- data/lib/oci/object_storage/models/bucket_summary.rb +5 -2
- data/lib/oci/object_storage/models/commit_multipart_upload_details.rb +5 -2
- data/lib/oci/object_storage/models/commit_multipart_upload_part_details.rb +5 -2
- data/lib/oci/object_storage/models/copy_object_details.rb +5 -2
- data/lib/oci/object_storage/models/create_bucket_details.rb +7 -2
- data/lib/oci/object_storage/models/create_multipart_upload_details.rb +5 -2
- data/lib/oci/object_storage/models/create_preauthenticated_request_details.rb +6 -2
- data/lib/oci/object_storage/models/list_objects.rb +5 -2
- data/lib/oci/object_storage/models/multipart_upload.rb +5 -2
- data/lib/oci/object_storage/models/multipart_upload_part_summary.rb +5 -2
- data/lib/oci/object_storage/models/namespace_metadata.rb +5 -2
- data/lib/oci/object_storage/models/object_lifecycle_policy.rb +5 -2
- data/lib/oci/object_storage/models/object_lifecycle_rule.rb +5 -2
- data/lib/oci/object_storage/models/object_name_filter.rb +5 -2
- data/lib/oci/object_storage/models/object_summary.rb +5 -2
- data/lib/oci/object_storage/models/preauthenticated_request.rb +5 -2
- data/lib/oci/object_storage/models/preauthenticated_request_summary.rb +5 -2
- data/lib/oci/object_storage/models/put_object_lifecycle_policy_details.rb +5 -2
- data/lib/oci/object_storage/models/rename_object_details.rb +5 -2
- data/lib/oci/object_storage/models/restore_objects_details.rb +5 -2
- data/lib/oci/object_storage/models/update_bucket_details.rb +6 -2
- data/lib/oci/object_storage/models/update_namespace_metadata_details.rb +5 -2
- data/lib/oci/object_storage/models/work_request.rb +5 -2
- data/lib/oci/object_storage/models/work_request_error.rb +5 -2
- data/lib/oci/object_storage/models/work_request_log_entry.rb +5 -2
- data/lib/oci/object_storage/models/work_request_resource.rb +5 -2
- data/lib/oci/object_storage/models/work_request_summary.rb +5 -2
- data/lib/oci/object_storage/object_storage_client.rb +1 -0
- data/lib/oci/object_storage/transfer/multipart/internal/seekable_non_file_part_io_wrapper.rb +1 -0
- data/lib/oci/object_storage/transfer/multipart/multipart_object_assembler.rb +2 -0
- data/lib/oci/object_storage/transfer/upload_manager.rb +1 -0
- data/lib/oci/regions.rb +3 -1
- data/lib/oci/resource_search/models/free_text_search_details.rb +5 -2
- data/lib/oci/resource_search/models/queryable_field_description.rb +5 -2
- data/lib/oci/resource_search/models/resource_summary.rb +5 -2
- data/lib/oci/resource_search/models/resource_summary_collection.rb +5 -2
- data/lib/oci/resource_search/models/resource_type.rb +5 -2
- data/lib/oci/resource_search/models/search_context.rb +5 -2
- data/lib/oci/resource_search/models/search_details.rb +6 -2
- data/lib/oci/resource_search/models/structured_search_details.rb +5 -2
- data/lib/oci/resource_search/resource_search_client.rb +1 -0
- data/lib/oci/response_headers.rb +1 -0
- data/lib/oci/retry/functions/sleep.rb +1 -0
- data/lib/oci/retry/internal/retry_state.rb +1 -0
- data/lib/oci/retry/retry_config.rb +3 -0
- data/lib/oci/version.rb +1 -1
- data/lib/oci/waiter.rb +2 -0
- metadata +44 -2
@@ -130,13 +130,14 @@ module OCI
|
|
130
130
|
# rubocop:enable Style/ConditionalAssignment
|
131
131
|
end
|
132
132
|
|
133
|
-
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity, Layout/EmptyLines
|
133
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity, Metrics/LineLength, Layout/EmptyLines
|
134
134
|
|
135
135
|
|
136
136
|
# Checks equality by comparing each attribute.
|
137
137
|
# @param [Object] other the other object to be compared
|
138
138
|
def ==(other)
|
139
139
|
return true if equal?(other)
|
140
|
+
|
140
141
|
self.class == other.class &&
|
141
142
|
file_system_id == other.file_system_id &&
|
142
143
|
id == other.id &&
|
@@ -144,7 +145,7 @@ module OCI
|
|
144
145
|
name == other.name &&
|
145
146
|
time_created == other.time_created
|
146
147
|
end
|
147
|
-
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity, Layout/EmptyLines
|
148
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity, Metrics/LineLength, Layout/EmptyLines
|
148
149
|
|
149
150
|
# @see the `==` method
|
150
151
|
# @param [Object] other the other object to be compared
|
@@ -170,6 +171,7 @@ module OCI
|
|
170
171
|
# @return [Object] Returns the model itself
|
171
172
|
def build_from_hash(attributes)
|
172
173
|
return nil unless attributes.is_a?(Hash)
|
174
|
+
|
173
175
|
self.class.swagger_types.each_pair do |key, type|
|
174
176
|
if type =~ /^Array<(.*)>/i
|
175
177
|
# check to ensure the input is an array given that the the attribute
|
@@ -205,6 +207,7 @@ module OCI
|
|
205
207
|
self.class.attribute_map.each_pair do |attr, param|
|
206
208
|
value = public_method(attr).call
|
207
209
|
next if value.nil? && !instance_variable_defined?("@#{attr}")
|
210
|
+
|
208
211
|
hash[param] = _to_hash(value)
|
209
212
|
end
|
210
213
|
hash
|
@@ -55,17 +55,18 @@ module OCI
|
|
55
55
|
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
56
56
|
# rubocop:enable Metrics/LineLength, Metrics/MethodLength, Layout/EmptyLines, Style/SymbolLiteral
|
57
57
|
|
58
|
-
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity, Layout/EmptyLines
|
58
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity, Metrics/LineLength, Layout/EmptyLines
|
59
59
|
|
60
60
|
|
61
61
|
# Checks equality by comparing each attribute.
|
62
62
|
# @param [Object] other the other object to be compared
|
63
63
|
def ==(other)
|
64
64
|
return true if equal?(other)
|
65
|
+
|
65
66
|
self.class == other.class &&
|
66
67
|
export_options == other.export_options
|
67
68
|
end
|
68
|
-
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity, Layout/EmptyLines
|
69
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity, Metrics/LineLength, Layout/EmptyLines
|
69
70
|
|
70
71
|
# @see the `==` method
|
71
72
|
# @param [Object] other the other object to be compared
|
@@ -91,6 +92,7 @@ module OCI
|
|
91
92
|
# @return [Object] Returns the model itself
|
92
93
|
def build_from_hash(attributes)
|
93
94
|
return nil unless attributes.is_a?(Hash)
|
95
|
+
|
94
96
|
self.class.swagger_types.each_pair do |key, type|
|
95
97
|
if type =~ /^Array<(.*)>/i
|
96
98
|
# check to ensure the input is an array given that the the attribute
|
@@ -126,6 +128,7 @@ module OCI
|
|
126
128
|
self.class.attribute_map.each_pair do |attr, param|
|
127
129
|
value = public_method(attr).call
|
128
130
|
next if value.nil? && !instance_variable_defined?("@#{attr}")
|
131
|
+
|
129
132
|
hash[param] = _to_hash(value)
|
130
133
|
end
|
131
134
|
hash
|
@@ -98,19 +98,20 @@ module OCI
|
|
98
98
|
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
99
99
|
# rubocop:enable Metrics/LineLength, Metrics/MethodLength, Layout/EmptyLines, Style/SymbolLiteral
|
100
100
|
|
101
|
-
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity, Layout/EmptyLines
|
101
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity, Metrics/LineLength, Layout/EmptyLines
|
102
102
|
|
103
103
|
|
104
104
|
# Checks equality by comparing each attribute.
|
105
105
|
# @param [Object] other the other object to be compared
|
106
106
|
def ==(other)
|
107
107
|
return true if equal?(other)
|
108
|
+
|
108
109
|
self.class == other.class &&
|
109
110
|
display_name == other.display_name &&
|
110
111
|
max_fs_stat_bytes == other.max_fs_stat_bytes &&
|
111
112
|
max_fs_stat_files == other.max_fs_stat_files
|
112
113
|
end
|
113
|
-
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity, Layout/EmptyLines
|
114
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity, Metrics/LineLength, Layout/EmptyLines
|
114
115
|
|
115
116
|
# @see the `==` method
|
116
117
|
# @param [Object] other the other object to be compared
|
@@ -136,6 +137,7 @@ module OCI
|
|
136
137
|
# @return [Object] Returns the model itself
|
137
138
|
def build_from_hash(attributes)
|
138
139
|
return nil unless attributes.is_a?(Hash)
|
140
|
+
|
139
141
|
self.class.swagger_types.each_pair do |key, type|
|
140
142
|
if type =~ /^Array<(.*)>/i
|
141
143
|
# check to ensure the input is an array given that the the attribute
|
@@ -171,6 +173,7 @@ module OCI
|
|
171
173
|
self.class.attribute_map.each_pair do |attr, param|
|
172
174
|
value = public_method(attr).call
|
173
175
|
next if value.nil? && !instance_variable_defined?("@#{attr}")
|
176
|
+
|
174
177
|
hash[param] = _to_hash(value)
|
175
178
|
end
|
176
179
|
hash
|
@@ -54,17 +54,18 @@ module OCI
|
|
54
54
|
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
55
55
|
# rubocop:enable Metrics/LineLength, Metrics/MethodLength, Layout/EmptyLines, Style/SymbolLiteral
|
56
56
|
|
57
|
-
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity, Layout/EmptyLines
|
57
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity, Metrics/LineLength, Layout/EmptyLines
|
58
58
|
|
59
59
|
|
60
60
|
# Checks equality by comparing each attribute.
|
61
61
|
# @param [Object] other the other object to be compared
|
62
62
|
def ==(other)
|
63
63
|
return true if equal?(other)
|
64
|
+
|
64
65
|
self.class == other.class &&
|
65
66
|
display_name == other.display_name
|
66
67
|
end
|
67
|
-
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity, Layout/EmptyLines
|
68
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity, Metrics/LineLength, Layout/EmptyLines
|
68
69
|
|
69
70
|
# @see the `==` method
|
70
71
|
# @param [Object] other the other object to be compared
|
@@ -90,6 +91,7 @@ module OCI
|
|
90
91
|
# @return [Object] Returns the model itself
|
91
92
|
def build_from_hash(attributes)
|
92
93
|
return nil unless attributes.is_a?(Hash)
|
94
|
+
|
93
95
|
self.class.swagger_types.each_pair do |key, type|
|
94
96
|
if type =~ /^Array<(.*)>/i
|
95
97
|
# check to ensure the input is an array given that the the attribute
|
@@ -125,6 +127,7 @@ module OCI
|
|
125
127
|
self.class.attribute_map.each_pair do |attr, param|
|
126
128
|
value = public_method(attr).call
|
127
129
|
next if value.nil? && !instance_variable_defined?("@#{attr}")
|
130
|
+
|
128
131
|
hash[param] = _to_hash(value)
|
129
132
|
end
|
130
133
|
hash
|
@@ -54,17 +54,18 @@ module OCI
|
|
54
54
|
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
55
55
|
# rubocop:enable Metrics/LineLength, Metrics/MethodLength, Layout/EmptyLines, Style/SymbolLiteral
|
56
56
|
|
57
|
-
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity, Layout/EmptyLines
|
57
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity, Metrics/LineLength, Layout/EmptyLines
|
58
58
|
|
59
59
|
|
60
60
|
# Checks equality by comparing each attribute.
|
61
61
|
# @param [Object] other the other object to be compared
|
62
62
|
def ==(other)
|
63
63
|
return true if equal?(other)
|
64
|
+
|
64
65
|
self.class == other.class &&
|
65
66
|
display_name == other.display_name
|
66
67
|
end
|
67
|
-
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity, Layout/EmptyLines
|
68
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity, Metrics/LineLength, Layout/EmptyLines
|
68
69
|
|
69
70
|
# @see the `==` method
|
70
71
|
# @param [Object] other the other object to be compared
|
@@ -90,6 +91,7 @@ module OCI
|
|
90
91
|
# @return [Object] Returns the model itself
|
91
92
|
def build_from_hash(attributes)
|
92
93
|
return nil unless attributes.is_a?(Hash)
|
94
|
+
|
93
95
|
self.class.swagger_types.each_pair do |key, type|
|
94
96
|
if type =~ /^Array<(.*)>/i
|
95
97
|
# check to ensure the input is an array given that the the attribute
|
@@ -125,6 +127,7 @@ module OCI
|
|
125
127
|
self.class.attribute_map.each_pair do |attr, param|
|
126
128
|
value = public_method(attr).call
|
127
129
|
next if value.nil? && !instance_variable_defined?("@#{attr}")
|
130
|
+
|
128
131
|
hash[param] = _to_hash(value)
|
129
132
|
end
|
130
133
|
hash
|
@@ -68,6 +68,11 @@ require 'oci/identity/models/update_tag_namespace_details'
|
|
68
68
|
require 'oci/identity/models/update_user_details'
|
69
69
|
require 'oci/identity/models/user'
|
70
70
|
require 'oci/identity/models/user_group_membership'
|
71
|
+
require 'oci/identity/models/work_request'
|
72
|
+
require 'oci/identity/models/work_request_error'
|
73
|
+
require 'oci/identity/models/work_request_log_entry'
|
74
|
+
require 'oci/identity/models/work_request_resource'
|
75
|
+
require 'oci/identity/models/work_request_summary'
|
71
76
|
|
72
77
|
# Require generated clients
|
73
78
|
require 'oci/identity/identity_client'
|
@@ -234,11 +234,11 @@ module OCI
|
|
234
234
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
235
235
|
|
236
236
|
|
237
|
-
# Creates a new compartment in
|
237
|
+
# Creates a new compartment in the specified compartment.
|
238
238
|
#
|
239
239
|
# **Important:** Compartments cannot be deleted.
|
240
240
|
#
|
241
|
-
#
|
241
|
+
# Specify the parent compartment's OCID as the compartment ID in the request object. Remember that the tenancy
|
242
242
|
# is simply the root compartment. For information about OCIDs, see
|
243
243
|
# [Resource Identifiers](https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm).
|
244
244
|
#
|
@@ -1387,6 +1387,62 @@ module OCI
|
|
1387
1387
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
1388
1388
|
|
1389
1389
|
|
1390
|
+
# Deletes the specified compartment. The compartment must be empty.
|
1391
|
+
#
|
1392
|
+
# @param [String] compartment_id The OCID of the compartment.
|
1393
|
+
# @param [Hash] opts the optional parameters
|
1394
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
1395
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
1396
|
+
# @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
|
1397
|
+
# parameter to the value of the etag from a previous GET or POST response for that resource. The resource
|
1398
|
+
# will be updated or deleted only if the etag you provide matches the resource's current etag value.
|
1399
|
+
#
|
1400
|
+
# @return [Response] A Response object with data of type nil
|
1401
|
+
def delete_compartment(compartment_id, opts = {})
|
1402
|
+
logger.debug 'Calling operation IdentityClient#delete_compartment.' if logger
|
1403
|
+
|
1404
|
+
raise "Missing the required parameter 'compartment_id' when calling delete_compartment." if compartment_id.nil?
|
1405
|
+
raise "Parameter value for 'compartment_id' must not be blank" if OCI::Internal::Util.blank_string?(compartment_id)
|
1406
|
+
|
1407
|
+
path = '/compartments/{compartmentId}'.sub('{compartmentId}', compartment_id.to_s)
|
1408
|
+
operation_signing_strategy = :standard
|
1409
|
+
|
1410
|
+
# rubocop:disable Style/NegatedIf
|
1411
|
+
# Query Params
|
1412
|
+
query_params = {}
|
1413
|
+
|
1414
|
+
# Header Params
|
1415
|
+
header_params = {}
|
1416
|
+
header_params[:accept] = 'application/json'
|
1417
|
+
header_params[:'content-type'] = 'application/json'
|
1418
|
+
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
1419
|
+
# rubocop:enable Style/NegatedIf
|
1420
|
+
|
1421
|
+
post_body = nil
|
1422
|
+
|
1423
|
+
# rubocop:disable Metrics/BlockLength
|
1424
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'IdentityClient#delete_compartment') do
|
1425
|
+
@api_client.call_api(
|
1426
|
+
:DELETE,
|
1427
|
+
path,
|
1428
|
+
endpoint,
|
1429
|
+
header_params: header_params,
|
1430
|
+
query_params: query_params,
|
1431
|
+
operation_signing_strategy: operation_signing_strategy,
|
1432
|
+
body: post_body
|
1433
|
+
)
|
1434
|
+
end
|
1435
|
+
# rubocop:enable Metrics/BlockLength
|
1436
|
+
end
|
1437
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
1438
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
1439
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
1440
|
+
|
1441
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
1442
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
1443
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
1444
|
+
|
1445
|
+
|
1390
1446
|
# Deletes the specified secret key for the specified user.
|
1391
1447
|
#
|
1392
1448
|
# @param [String] user_id The OCID of the user.
|
@@ -2511,6 +2567,61 @@ module OCI
|
|
2511
2567
|
# rubocop:disable Lint/UnusedMethodArgument
|
2512
2568
|
|
2513
2569
|
|
2570
|
+
# Gets details on a specified work request. The workRequestID is returned in the opc-workrequest-id header
|
2571
|
+
# for any asynchronous operation in the Identity and Access Management service.
|
2572
|
+
#
|
2573
|
+
# @param [String] work_request_id The OCID of the work request.
|
2574
|
+
# @param [Hash] opts the optional parameters
|
2575
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
2576
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
2577
|
+
# @return [Response] A Response object with data of type {OCI::Identity::Models::WorkRequest WorkRequest}
|
2578
|
+
def get_work_request(work_request_id, opts = {})
|
2579
|
+
logger.debug 'Calling operation IdentityClient#get_work_request.' if logger
|
2580
|
+
|
2581
|
+
raise "Missing the required parameter 'work_request_id' when calling get_work_request." if work_request_id.nil?
|
2582
|
+
raise "Parameter value for 'work_request_id' must not be blank" if OCI::Internal::Util.blank_string?(work_request_id)
|
2583
|
+
|
2584
|
+
path = '/workRequests/{workRequestId}'.sub('{workRequestId}', work_request_id.to_s)
|
2585
|
+
operation_signing_strategy = :standard
|
2586
|
+
|
2587
|
+
# rubocop:disable Style/NegatedIf
|
2588
|
+
# Query Params
|
2589
|
+
query_params = {}
|
2590
|
+
|
2591
|
+
# Header Params
|
2592
|
+
header_params = {}
|
2593
|
+
header_params[:accept] = 'application/json'
|
2594
|
+
header_params[:'content-type'] = 'application/json'
|
2595
|
+
# rubocop:enable Style/NegatedIf
|
2596
|
+
|
2597
|
+
post_body = nil
|
2598
|
+
|
2599
|
+
# rubocop:disable Metrics/BlockLength
|
2600
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'IdentityClient#get_work_request') do
|
2601
|
+
@api_client.call_api(
|
2602
|
+
:GET,
|
2603
|
+
path,
|
2604
|
+
endpoint,
|
2605
|
+
header_params: header_params,
|
2606
|
+
query_params: query_params,
|
2607
|
+
operation_signing_strategy: operation_signing_strategy,
|
2608
|
+
body: post_body,
|
2609
|
+
return_type: 'OCI::Identity::Models::WorkRequest'
|
2610
|
+
)
|
2611
|
+
end
|
2612
|
+
# rubocop:enable Metrics/BlockLength
|
2613
|
+
end
|
2614
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
2615
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
2616
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
2617
|
+
# rubocop:enable Lint/UnusedMethodArgument
|
2618
|
+
|
2619
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
2620
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
2621
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
2622
|
+
# rubocop:disable Lint/UnusedMethodArgument
|
2623
|
+
|
2624
|
+
|
2514
2625
|
# Lists the API signing keys for the specified user. A user can have a maximum of three keys.
|
2515
2626
|
#
|
2516
2627
|
# Every user has permission to use this API call for *their own user ID*. An administrator in your
|
@@ -2629,7 +2740,7 @@ module OCI
|
|
2629
2740
|
# Note that the order of the results returned can change if availability domains are added or removed; therefore, do not
|
2630
2741
|
# create a dependency on the list order.
|
2631
2742
|
#
|
2632
|
-
# @param [String] compartment_id The OCID of the compartment (remember that the tenancy is simply the root compartment).
|
2743
|
+
# @param [String] compartment_id The OCID of the parent compartment (remember that the tenancy is simply the root compartment).
|
2633
2744
|
#
|
2634
2745
|
# @param [Hash] opts the optional parameters
|
2635
2746
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
@@ -2681,11 +2792,26 @@ module OCI
|
|
2681
2792
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
2682
2793
|
|
2683
2794
|
|
2684
|
-
# Lists the compartments in
|
2685
|
-
#
|
2795
|
+
# Lists the compartments in a specified compartment. The members of the list
|
2796
|
+
# returned depends on the values set for several parameters.
|
2797
|
+
#
|
2798
|
+
# With the exception of the tenancy (root compartment), the ListCompartments operation
|
2799
|
+
# returns only the first-level child compartments in the parent compartment specified in
|
2800
|
+
# `compartmentId`. The list does not include any subcompartments of the child
|
2801
|
+
# compartments (grandchildren).
|
2802
|
+
#
|
2803
|
+
# The parameter `accessLevel` specifies whether to return only those compartments for which the
|
2804
|
+
# requestor has INSPECT permissions on at least one resource directly
|
2805
|
+
# or indirectly (the resource can be in a subcompartment).
|
2806
|
+
#
|
2807
|
+
# The parameter `compartmentIdInSubtree` applies only when you perform ListCompartments on the
|
2808
|
+
# tenancy (root compartment). When set to true, the entire hierarchy of compartments can be returned.
|
2809
|
+
# To get a full list of all compartments and subcompartments in the tenancy (root compartment),
|
2810
|
+
# set the parameter `compartmentIdInSubtree` to true and `accessLevel` to ANY.
|
2811
|
+
#
|
2686
2812
|
# 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).
|
2687
2813
|
#
|
2688
|
-
# @param [String] compartment_id The OCID of the compartment (remember that the tenancy is simply the root compartment).
|
2814
|
+
# @param [String] compartment_id The OCID of the parent compartment (remember that the tenancy is simply the root compartment).
|
2689
2815
|
#
|
2690
2816
|
# @param [Hash] opts the optional parameters
|
2691
2817
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
@@ -2694,12 +2820,31 @@ module OCI
|
|
2694
2820
|
#
|
2695
2821
|
# @option opts [Integer] :limit The maximum number of items to return in a paginated \"List\" call.
|
2696
2822
|
#
|
2823
|
+
# @option opts [String] :access_level Valid values are `ANY` and `ACCESSIBLE`. Default is `ANY`.
|
2824
|
+
# Setting this to `ACCESSIBLE` returns only those compartments for which the
|
2825
|
+
# user has INSPECT permissions directly or indirectly (permissions can be on a
|
2826
|
+
# resource in a subcompartment). For the compartments on which the user indirectly has
|
2827
|
+
# INSPECT permissions, a restricted set of fields is returned.
|
2828
|
+
#
|
2829
|
+
# When set to `ANY` permissions are not checked.
|
2830
|
+
#
|
2831
|
+
# Allowed values are: ANY, ACCESSIBLE
|
2832
|
+
# @option opts [BOOLEAN] :compartment_id_in_subtree Default is false. Can only be set to true when performing
|
2833
|
+
# ListCompartments on the tenancy (root compartment).
|
2834
|
+
# When set to true, the hierarchy of compartments is traversed
|
2835
|
+
# and all compartments and subcompartments in the tenancy are
|
2836
|
+
# returned depending on the the setting of `accessLevel`.
|
2837
|
+
#
|
2697
2838
|
# @return [Response] A Response object with data of type Array<{OCI::Identity::Models::Compartment Compartment}>
|
2698
2839
|
def list_compartments(compartment_id, opts = {})
|
2699
2840
|
logger.debug 'Calling operation IdentityClient#list_compartments.' if logger
|
2700
2841
|
|
2701
2842
|
raise "Missing the required parameter 'compartment_id' when calling list_compartments." if compartment_id.nil?
|
2702
2843
|
|
2844
|
+
if opts[:access_level] && !%w[ANY ACCESSIBLE].include?(opts[:access_level])
|
2845
|
+
raise 'Invalid value for "access_level", must be one of ANY, ACCESSIBLE.'
|
2846
|
+
end
|
2847
|
+
|
2703
2848
|
path = '/compartments/'
|
2704
2849
|
operation_signing_strategy = :standard
|
2705
2850
|
|
@@ -2709,6 +2854,8 @@ module OCI
|
|
2709
2854
|
query_params[:compartmentId] = compartment_id
|
2710
2855
|
query_params[:page] = opts[:page] if opts[:page]
|
2711
2856
|
query_params[:limit] = opts[:limit] if opts[:limit]
|
2857
|
+
query_params[:accessLevel] = opts[:access_level] if opts[:access_level]
|
2858
|
+
query_params[:compartmentIdInSubtree] = opts[:compartment_id_in_subtree] if !opts[:compartment_id_in_subtree].nil?
|
2712
2859
|
|
2713
2860
|
# Header Params
|
2714
2861
|
header_params = {}
|
@@ -2737,6 +2884,66 @@ module OCI
|
|
2737
2884
|
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
2738
2885
|
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
2739
2886
|
|
2887
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
2888
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
2889
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
2890
|
+
|
2891
|
+
|
2892
|
+
# Lists all the tags enabled for cost-tracking in the specified tenancy. For information about
|
2893
|
+
# cost-tracking tags, see [Using Cost-tracking Tags](https://docs.us-phoenix-1.oraclecloud.com/Content/Identity/Concepts/taggingoverview.htm#costs).
|
2894
|
+
#
|
2895
|
+
# @param [String] compartment_id The OCID of the parent compartment (remember that the tenancy is simply the root compartment).
|
2896
|
+
#
|
2897
|
+
# @param [Hash] opts the optional parameters
|
2898
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
2899
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
2900
|
+
# @option opts [String] :page The value of the `opc-next-page` response header from the previous \"List\" call.
|
2901
|
+
#
|
2902
|
+
# @option opts [Integer] :limit The maximum number of items to return in a paginated \"List\" call.
|
2903
|
+
#
|
2904
|
+
# @return [Response] A Response object with data of type Array<{OCI::Identity::Models::Tag Tag}>
|
2905
|
+
def list_cost_tracking_tags(compartment_id, opts = {})
|
2906
|
+
logger.debug 'Calling operation IdentityClient#list_cost_tracking_tags.' if logger
|
2907
|
+
|
2908
|
+
raise "Missing the required parameter 'compartment_id' when calling list_cost_tracking_tags." if compartment_id.nil?
|
2909
|
+
|
2910
|
+
path = '/tagNamespaces/actions/listCostTrackingTags'
|
2911
|
+
operation_signing_strategy = :standard
|
2912
|
+
|
2913
|
+
# rubocop:disable Style/NegatedIf
|
2914
|
+
# Query Params
|
2915
|
+
query_params = {}
|
2916
|
+
query_params[:compartmentId] = compartment_id
|
2917
|
+
query_params[:page] = opts[:page] if opts[:page]
|
2918
|
+
query_params[:limit] = opts[:limit] if opts[:limit]
|
2919
|
+
|
2920
|
+
# Header Params
|
2921
|
+
header_params = {}
|
2922
|
+
header_params[:accept] = 'application/json'
|
2923
|
+
header_params[:'content-type'] = 'application/json'
|
2924
|
+
# rubocop:enable Style/NegatedIf
|
2925
|
+
|
2926
|
+
post_body = nil
|
2927
|
+
|
2928
|
+
# rubocop:disable Metrics/BlockLength
|
2929
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'IdentityClient#list_cost_tracking_tags') do
|
2930
|
+
@api_client.call_api(
|
2931
|
+
:GET,
|
2932
|
+
path,
|
2933
|
+
endpoint,
|
2934
|
+
header_params: header_params,
|
2935
|
+
query_params: query_params,
|
2936
|
+
operation_signing_strategy: operation_signing_strategy,
|
2937
|
+
body: post_body,
|
2938
|
+
return_type: 'Array<OCI::Identity::Models::Tag>'
|
2939
|
+
)
|
2940
|
+
end
|
2941
|
+
# rubocop:enable Metrics/BlockLength
|
2942
|
+
end
|
2943
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
2944
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
2945
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
2946
|
+
|
2740
2947
|
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
2741
2948
|
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
2742
2949
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
@@ -2801,7 +3008,7 @@ module OCI
|
|
2801
3008
|
# the compartment ID (remember that the tenancy is simply the root compartment).
|
2802
3009
|
# 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).
|
2803
3010
|
#
|
2804
|
-
# @param [String] compartment_id The OCID of the compartment (remember that the tenancy is simply the root compartment).
|
3011
|
+
# @param [String] compartment_id The OCID of the parent compartment (remember that the tenancy is simply the root compartment).
|
2805
3012
|
#
|
2806
3013
|
# @param [Hash] opts the optional parameters
|
2807
3014
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
@@ -2863,7 +3070,7 @@ module OCI
|
|
2863
3070
|
# of your compartments as the value for the compartment ID (remember that the tenancy is simply the root compartment).
|
2864
3071
|
# 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).
|
2865
3072
|
#
|
2866
|
-
# @param [String] compartment_id The OCID of the compartment (remember that the tenancy is simply the root compartment).
|
3073
|
+
# @param [String] compartment_id The OCID of the parent compartment (remember that the tenancy is simply the root compartment).
|
2867
3074
|
#
|
2868
3075
|
# @param [String] availability_domain The name of the availibilityDomain.
|
2869
3076
|
#
|
@@ -2923,7 +3130,7 @@ module OCI
|
|
2923
3130
|
# the compartment ID (remember that the tenancy is simply the root compartment).
|
2924
3131
|
# 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).
|
2925
3132
|
#
|
2926
|
-
# @param [String] compartment_id The OCID of the compartment (remember that the tenancy is simply the root compartment).
|
3133
|
+
# @param [String] compartment_id The OCID of the parent compartment (remember that the tenancy is simply the root compartment).
|
2927
3134
|
#
|
2928
3135
|
# @param [Hash] opts the optional parameters
|
2929
3136
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
@@ -2987,7 +3194,7 @@ module OCI
|
|
2987
3194
|
#
|
2988
3195
|
# @param [String] protocol The protocol used for federation.
|
2989
3196
|
# Allowed values are: SAML2
|
2990
|
-
# @param [String] compartment_id The OCID of the compartment (remember that the tenancy is simply the root compartment).
|
3197
|
+
# @param [String] compartment_id The OCID of the parent compartment (remember that the tenancy is simply the root compartment).
|
2991
3198
|
#
|
2992
3199
|
# @param [Hash] opts the optional parameters
|
2993
3200
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
@@ -3113,7 +3320,7 @@ module OCI
|
|
3113
3320
|
# To determine which policies apply to a particular group or compartment, you must view the individual
|
3114
3321
|
# statements inside all your policies. There isn't a way to automatically obtain that information via the API.
|
3115
3322
|
#
|
3116
|
-
# @param [String] compartment_id The OCID of the compartment (remember that the tenancy is simply the root compartment).
|
3323
|
+
# @param [String] compartment_id The OCID of the parent compartment (remember that the tenancy is simply the root compartment).
|
3117
3324
|
#
|
3118
3325
|
# @param [Hash] opts the optional parameters
|
3119
3326
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
@@ -3387,7 +3594,7 @@ module OCI
|
|
3387
3594
|
|
3388
3595
|
# Lists the tag namespaces in the specified compartment.
|
3389
3596
|
#
|
3390
|
-
# @param [String] compartment_id The OCID of the compartment (remember that the tenancy is simply the root compartment).
|
3597
|
+
# @param [String] compartment_id The OCID of the parent compartment (remember that the tenancy is simply the root compartment).
|
3391
3598
|
#
|
3392
3599
|
# @param [Hash] opts the optional parameters
|
3393
3600
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
@@ -3518,7 +3725,7 @@ module OCI
|
|
3518
3725
|
# If the answer is no, the response is an empty list.
|
3519
3726
|
# - Although`userId` and `groupId` are not indvidually required, you must set one of them.
|
3520
3727
|
#
|
3521
|
-
# @param [String] compartment_id The OCID of the compartment (remember that the tenancy is simply the root compartment).
|
3728
|
+
# @param [String] compartment_id The OCID of the parent compartment (remember that the tenancy is simply the root compartment).
|
3522
3729
|
#
|
3523
3730
|
# @param [Hash] opts the optional parameters
|
3524
3731
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
@@ -3583,7 +3790,7 @@ module OCI
|
|
3583
3790
|
# compartment ID (remember that the tenancy is simply the root compartment).
|
3584
3791
|
# 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).
|
3585
3792
|
#
|
3586
|
-
# @param [String] compartment_id The OCID of the compartment (remember that the tenancy is simply the root compartment).
|
3793
|
+
# @param [String] compartment_id The OCID of the parent compartment (remember that the tenancy is simply the root compartment).
|
3587
3794
|
#
|
3588
3795
|
# @param [Hash] opts the optional parameters
|
3589
3796
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
@@ -3640,6 +3847,67 @@ module OCI
|
|
3640
3847
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
3641
3848
|
|
3642
3849
|
|
3850
|
+
# Lists the work requests in compartment.
|
3851
|
+
#
|
3852
|
+
# @param [String] compartment_id The OCID of the parent compartment (remember that the tenancy is simply the root compartment).
|
3853
|
+
#
|
3854
|
+
# @param [Hash] opts the optional parameters
|
3855
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
3856
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
3857
|
+
# @option opts [String] :page The value of the `opc-next-page` response header from the previous \"List\" call.
|
3858
|
+
#
|
3859
|
+
# @option opts [Integer] :limit The maximum number of items to return in a paginated \"List\" call.
|
3860
|
+
#
|
3861
|
+
# @option opts [String] :resource_identifier The identifier of the resource the work request affects.
|
3862
|
+
# @return [Response] A Response object with data of type Array<{OCI::Identity::Models::WorkRequestSummary WorkRequestSummary}>
|
3863
|
+
def list_work_requests(compartment_id, opts = {})
|
3864
|
+
logger.debug 'Calling operation IdentityClient#list_work_requests.' if logger
|
3865
|
+
|
3866
|
+
raise "Missing the required parameter 'compartment_id' when calling list_work_requests." if compartment_id.nil?
|
3867
|
+
|
3868
|
+
path = '/workRequests/'
|
3869
|
+
operation_signing_strategy = :standard
|
3870
|
+
|
3871
|
+
# rubocop:disable Style/NegatedIf
|
3872
|
+
# Query Params
|
3873
|
+
query_params = {}
|
3874
|
+
query_params[:compartmentId] = compartment_id
|
3875
|
+
query_params[:page] = opts[:page] if opts[:page]
|
3876
|
+
query_params[:limit] = opts[:limit] if opts[:limit]
|
3877
|
+
query_params[:resourceIdentifier] = opts[:resource_identifier] if opts[:resource_identifier]
|
3878
|
+
|
3879
|
+
# Header Params
|
3880
|
+
header_params = {}
|
3881
|
+
header_params[:accept] = 'application/json'
|
3882
|
+
header_params[:'content-type'] = 'application/json'
|
3883
|
+
# rubocop:enable Style/NegatedIf
|
3884
|
+
|
3885
|
+
post_body = nil
|
3886
|
+
|
3887
|
+
# rubocop:disable Metrics/BlockLength
|
3888
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'IdentityClient#list_work_requests') do
|
3889
|
+
@api_client.call_api(
|
3890
|
+
:GET,
|
3891
|
+
path,
|
3892
|
+
endpoint,
|
3893
|
+
header_params: header_params,
|
3894
|
+
query_params: query_params,
|
3895
|
+
operation_signing_strategy: operation_signing_strategy,
|
3896
|
+
body: post_body,
|
3897
|
+
return_type: 'Array<OCI::Identity::Models::WorkRequestSummary>'
|
3898
|
+
)
|
3899
|
+
end
|
3900
|
+
# rubocop:enable Metrics/BlockLength
|
3901
|
+
end
|
3902
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
3903
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
3904
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
3905
|
+
|
3906
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
3907
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
3908
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
3909
|
+
|
3910
|
+
|
3643
3911
|
# Removes a user from a group by deleting the corresponding `UserGroupMembership`.
|
3644
3912
|
# @param [String] user_group_membership_id The OCID of the userGroupMembership.
|
3645
3913
|
# @param [Hash] opts the optional parameters
|
@@ -4617,6 +4885,7 @@ module OCI
|
|
4617
4885
|
|
4618
4886
|
def applicable_retry_config(opts = {})
|
4619
4887
|
return @retry_config unless opts.key?(:retry_config)
|
4888
|
+
|
4620
4889
|
opts[:retry_config]
|
4621
4890
|
end
|
4622
4891
|
end
|