oci 2.6.0 → 2.7.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +6 -1
- data/lib/oci.rb +4 -0
- data/lib/oci/analytics/analytics.rb +42 -0
- data/lib/oci/analytics/analytics_client.rb +1134 -0
- data/lib/oci/analytics/analytics_client_composite_operations.rb +371 -0
- data/lib/oci/analytics/models/analytics_instance.rb +406 -0
- data/lib/oci/analytics/models/analytics_instance_lifecycle_state.rb +15 -0
- data/lib/oci/analytics/models/analytics_instance_summary.rb +370 -0
- data/lib/oci/analytics/models/capacity.rb +191 -0
- data/lib/oci/analytics/models/capacity_type.rb +10 -0
- data/lib/oci/analytics/models/change_compartment_details.rb +155 -0
- data/lib/oci/analytics/models/create_analytics_instance_details.rb +309 -0
- data/lib/oci/analytics/models/feature_set.rb +10 -0
- data/lib/oci/analytics/models/license_type.rb +10 -0
- data/lib/oci/analytics/models/scale_analytics_instance_details.rb +150 -0
- data/lib/oci/analytics/models/sort_by.rb +13 -0
- data/lib/oci/analytics/models/sort_order.rb +10 -0
- data/lib/oci/analytics/models/update_analytics_instance_details.rb +231 -0
- data/lib/oci/analytics/models/work_request.rb +316 -0
- data/lib/oci/analytics/models/work_request_action_result.rb +15 -0
- data/lib/oci/analytics/models/work_request_error.rb +176 -0
- data/lib/oci/analytics/models/work_request_log.rb +164 -0
- data/lib/oci/analytics/models/work_request_operation_type.rb +14 -0
- data/lib/oci/analytics/models/work_request_resource.rb +248 -0
- data/lib/oci/analytics/models/work_request_resource_type.rb +9 -0
- data/lib/oci/analytics/models/work_request_sort_by.rb +14 -0
- data/lib/oci/analytics/models/work_request_status.rb +14 -0
- data/lib/oci/analytics/models/work_request_summary.rb +300 -0
- data/lib/oci/analytics/util.rb +2 -0
- data/lib/oci/audit/audit.rb +5 -0
- data/lib/oci/audit/audit_client.rb +30 -14
- data/lib/oci/audit/models/audit_event.rb +81 -261
- data/lib/oci/audit/models/configuration.rb +7 -2
- data/lib/oci/audit/models/data.rb +464 -0
- data/lib/oci/audit/models/identity.rb +313 -0
- data/lib/oci/audit/models/request.rb +285 -0
- data/lib/oci/audit/models/response.rb +273 -0
- data/lib/oci/audit/models/state_change.rb +175 -0
- data/lib/oci/audit/models/update_configuration_details.rb +7 -2
- data/lib/oci/container_engine/container_engine.rb +4 -0
- data/lib/oci/container_engine/models/cluster.rb +15 -1
- data/lib/oci/container_engine/models/create_cluster_details.rb +17 -1
- data/lib/oci/container_engine/models/create_cluster_kubeconfig_content_details.rb +4 -1
- data/lib/oci/container_engine/models/create_node_pool_details.rb +29 -6
- data/lib/oci/container_engine/models/create_node_pool_node_config_details.rb +170 -0
- data/lib/oci/container_engine/models/node_pool.rb +18 -4
- data/lib/oci/container_engine/models/node_pool_node_config_details.rb +170 -0
- data/lib/oci/container_engine/models/node_pool_options.rb +1 -1
- data/lib/oci/container_engine/models/node_pool_placement_config_details.rb +169 -0
- data/lib/oci/container_engine/models/node_pool_summary.rb +18 -4
- data/lib/oci/container_engine/models/update_node_pool_details.rb +45 -19
- data/lib/oci/container_engine/models/update_node_pool_node_config_details.rb +170 -0
- data/lib/oci/core/blockstorage_client.rb +197 -0
- data/lib/oci/core/compute_client.rb +132 -17
- data/lib/oci/core/compute_client_composite_operations.rb +1 -1
- data/lib/oci/core/compute_management_client.rb +493 -0
- data/lib/oci/core/compute_management_client_composite_operations.rb +119 -0
- data/lib/oci/core/core.rb +11 -0
- data/lib/oci/core/models/boot_volume.rb +17 -1
- data/lib/oci/core/models/boot_volume_backup.rb +17 -1
- data/lib/oci/core/models/change_cluster_network_compartment_details.rb +155 -0
- data/lib/oci/core/models/change_dedicated_vm_host_compartment_details.rb +2 -2
- data/lib/oci/core/models/change_drg_compartment_details.rb +155 -0
- data/lib/oci/core/models/cluster_network.rb +313 -0
- data/lib/oci/core/models/cluster_network_placement_configuration_details.rb +183 -0
- data/lib/oci/core/models/cluster_network_summary.rb +299 -0
- data/lib/oci/core/models/create_cluster_network_details.rb +231 -0
- data/lib/oci/core/models/create_cluster_network_instance_pool_details.rb +213 -0
- data/lib/oci/core/models/create_dedicated_vm_host_details.rb +10 -8
- data/lib/oci/core/models/create_ip_sec_connection_details.rb +4 -0
- data/lib/oci/core/models/create_ip_sec_connection_tunnel_details.rb +29 -1
- data/lib/oci/core/models/create_volume_backup_policy_details.rb +215 -0
- data/lib/oci/core/models/dedicated_vm_host.rb +10 -8
- data/lib/oci/core/models/image_shape_compatibility_entry.rb +163 -0
- data/lib/oci/core/models/instance.rb +17 -1
- data/lib/oci/core/models/ip_sec_connection.rb +4 -0
- data/lib/oci/core/models/ip_sec_connection_tunnel.rb +35 -1
- data/lib/oci/core/models/launch_instance_details.rb +14 -1
- data/lib/oci/core/models/launch_options.rb +4 -4
- data/lib/oci/core/models/service_gateway.rb +0 -1
- data/lib/oci/core/models/update_cluster_network_details.rb +189 -0
- data/lib/oci/core/models/update_dedicated_vm_host_details.rb +1 -1
- data/lib/oci/core/models/update_ip_sec_connection_details.rb +4 -0
- data/lib/oci/core/models/update_ip_sec_connection_tunnel_details.rb +29 -1
- data/lib/oci/core/models/update_service_gateway_details.rb +0 -1
- data/lib/oci/core/models/update_volume_backup_policy_details.rb +201 -0
- data/lib/oci/core/models/volume.rb +17 -1
- data/lib/oci/core/models/volume_backup.rb +17 -1
- data/lib/oci/core/models/volume_backup_policy.rb +54 -4
- data/lib/oci/core/models/volume_backup_schedule.rb +177 -4
- data/lib/oci/core/virtual_network_client.rb +67 -0
- data/lib/oci/database/database.rb +35 -1
- data/lib/oci/database/database_client.rb +3351 -1159
- data/lib/oci/database/database_client_composite_operations.rb +522 -1
- data/lib/oci/database/models/activate_exadata_infrastructure_details.rb +153 -0
- data/lib/oci/database/models/associated_database_details.rb +163 -0
- data/lib/oci/database/models/autonomous_container_database.rb +0 -2
- data/lib/oci/database/models/autonomous_container_database_summary.rb +0 -2
- data/lib/oci/database/models/autonomous_data_warehouse.rb +0 -2
- data/lib/oci/database/models/autonomous_data_warehouse_summary.rb +0 -2
- data/lib/oci/database/models/autonomous_database.rb +65 -4
- data/lib/oci/database/models/autonomous_database_summary.rb +65 -4
- data/lib/oci/database/models/autonomous_database_wallet.rb +188 -0
- data/lib/oci/database/models/autonomous_exadata_infrastructure.rb +16 -3
- data/lib/oci/database/models/autonomous_exadata_infrastructure_summary.rb +16 -3
- data/lib/oci/database/models/backup_destination.rb +359 -0
- data/lib/oci/database/models/backup_destination_details.rb +243 -0
- data/lib/oci/database/models/backup_destination_summary.rb +362 -0
- data/lib/oci/database/models/change_exadata_infrastructure_compartment_details.rb +155 -0
- data/lib/oci/database/models/change_vm_cluster_compartment_details.rb +155 -0
- data/lib/oci/database/models/create_autonomous_container_database_details.rb +0 -2
- data/lib/oci/database/models/create_autonomous_data_warehouse_details.rb +0 -2
- data/lib/oci/database/models/create_autonomous_database_base.rb +19 -4
- data/lib/oci/database/models/create_autonomous_database_clone_details.rb +6 -2
- data/lib/oci/database/models/create_autonomous_database_details.rb +5 -1
- data/lib/oci/database/models/create_backup_destination_details.rb +241 -0
- data/lib/oci/database/models/create_database_details.rb +15 -3
- data/lib/oci/database/models/create_database_from_backup_details.rb +15 -1
- data/lib/oci/database/models/{create_db_home_with_db_system_id_base.rb → create_db_home_base.rb} +8 -18
- data/lib/oci/database/models/create_db_home_with_db_system_id_details.rb +18 -8
- data/lib/oci/database/models/create_db_home_with_db_system_id_from_backup_details.rb +18 -8
- data/lib/oci/database/models/create_db_home_with_vm_cluster_id_details.rb +190 -0
- data/lib/oci/database/models/create_db_home_with_vm_cluster_id_from_backup_details.rb +176 -0
- data/lib/oci/database/models/create_exadata_infrastructure_details.rb +348 -0
- data/lib/oci/database/models/create_nfs_backup_destination_details.rb +178 -0
- data/lib/oci/database/models/create_recovery_appliance_backup_destination_details.rb +191 -0
- data/lib/oci/database/models/create_vm_cluster_details.rb +344 -0
- data/lib/oci/database/models/database.rb +0 -2
- data/lib/oci/database/models/database_summary.rb +0 -2
- data/lib/oci/database/models/db_backup_config.rb +65 -4
- data/lib/oci/database/models/db_home.rb +15 -1
- data/lib/oci/database/models/db_home_summary.rb +15 -1
- data/lib/oci/database/models/db_system.rb +14 -3
- data/lib/oci/database/models/db_system_options.rb +173 -0
- data/lib/oci/database/models/db_system_shape_summary.rb +15 -1
- data/lib/oci/database/models/db_system_summary.rb +14 -3
- data/lib/oci/database/models/exadata_infrastructure.rb +450 -0
- data/lib/oci/database/models/exadata_infrastructure_summary.rb +453 -0
- data/lib/oci/database/models/generate_autonomous_database_wallet_details.rb +31 -1
- data/lib/oci/database/models/generate_recommended_network_details.rb +232 -0
- data/lib/oci/database/models/gi_version_summary.rb +152 -0
- data/lib/oci/database/models/info_for_network_gen_details.rb +231 -0
- data/lib/oci/database/models/launch_autonomous_exadata_infrastructure_details.rb +16 -3
- data/lib/oci/database/models/launch_db_system_base.rb +14 -3
- data/lib/oci/database/models/launch_db_system_details.rb +5 -1
- data/lib/oci/database/models/launch_db_system_from_backup_details.rb +5 -1
- data/lib/oci/database/models/node_details.rb +183 -0
- data/lib/oci/database/models/scan_details.rb +170 -0
- data/lib/oci/database/models/update_autonomous_container_database_details.rb +0 -2
- data/lib/oci/database/models/update_autonomous_data_warehouse_details.rb +0 -2
- data/lib/oci/database/models/update_autonomous_database_details.rb +19 -4
- data/lib/oci/database/models/update_autonomous_database_wallet_details.rb +156 -0
- data/lib/oci/database/models/update_autonomous_exadata_infrastructure_details.rb +16 -3
- data/lib/oci/database/models/update_backup_destination_details.rb +218 -0
- data/lib/oci/database/models/update_database_details.rb +0 -2
- data/lib/oci/database/models/update_db_system_details.rb +0 -2
- data/lib/oci/database/models/update_exadata_infrastructure_details.rb +307 -0
- data/lib/oci/database/models/update_vm_cluster_details.rb +229 -0
- data/lib/oci/database/models/update_vm_cluster_network_details.rb +218 -0
- data/lib/oci/database/models/vm_cluster.rb +449 -0
- data/lib/oci/database/models/vm_cluster_network.rb +350 -0
- data/lib/oci/database/models/vm_cluster_network_details.rb +246 -0
- data/lib/oci/database/models/vm_cluster_network_summary.rb +353 -0
- data/lib/oci/database/models/vm_cluster_summary.rb +452 -0
- data/lib/oci/database/models/vm_network_details.rb +231 -0
- data/lib/oci/dns/dns.rb +4 -0
- data/lib/oci/dns/dns_client.rb +103 -103
- data/lib/oci/dns/dns_client_composite_operations.rb +1 -1
- data/lib/oci/dns/models/create_migrated_dynect_zone_details.rb +179 -0
- data/lib/oci/dns/models/create_zone_base_details.rb +252 -0
- data/lib/oci/dns/models/create_zone_details.rb +18 -56
- data/lib/oci/dns/models/dynect_migration_details.rb +192 -0
- data/lib/oci/dns/models/migration_replacement.rb +187 -0
- data/lib/oci/dts/dts.rb +2 -0
- data/lib/oci/dts/models/create_transfer_appliance_entitlement_details.rb +49 -4
- data/lib/oci/dts/models/transfer_appliance.rb +2 -0
- data/lib/oci/dts/models/transfer_appliance_entitlement.rb +102 -33
- data/lib/oci/dts/models/transfer_appliance_entitlement_summary.rb +261 -0
- data/lib/oci/dts/models/transfer_appliance_summary.rb +2 -0
- data/lib/oci/dts/models/transfer_job.rb +0 -4
- data/lib/oci/dts/models/update_transfer_appliance_details.rb +1 -0
- data/lib/oci/dts/shipping_vendors_client.rb +1 -1
- data/lib/oci/dts/transfer_appliance_client.rb +4 -4
- data/lib/oci/dts/transfer_appliance_entitlement_client.rb +86 -10
- data/lib/oci/dts/transfer_appliance_entitlement_client_composite_operations.rb +39 -0
- data/lib/oci/dts/transfer_device_client.rb +1 -1
- data/lib/oci/dts/transfer_job_client.rb +1 -1
- data/lib/oci/dts/transfer_package_client.rb +1 -1
- data/lib/oci/functions/functions_invoke_client.rb +1 -1
- data/lib/oci/functions/functions_management_client.rb +1 -1
- data/lib/oci/healthchecks/health_checks_client.rb +18 -14
- data/lib/oci/healthchecks/models/http_monitor.rb +31 -1
- data/lib/oci/healthchecks/models/http_monitor_summary.rb +31 -1
- data/lib/oci/healthchecks/models/http_probe.rb +31 -1
- data/lib/oci/healthchecks/models/ping_monitor.rb +31 -1
- data/lib/oci/healthchecks/models/ping_monitor_summary.rb +31 -1
- data/lib/oci/healthchecks/models/ping_probe.rb +31 -1
- data/lib/oci/identity/identity.rb +7 -0
- data/lib/oci/identity/identity_client.rb +348 -9
- data/lib/oci/identity/models/base_tag_definition_validator.rb +200 -0
- data/lib/oci/identity/models/compartment.rb +3 -0
- data/lib/oci/identity/models/create_region_subscription_details.rb +3 -0
- data/lib/oci/identity/models/create_tag_default_details.rb +26 -4
- data/lib/oci/identity/models/create_tag_details.rb +21 -5
- data/lib/oci/identity/models/default_tag_definition_validator.rb +146 -0
- data/lib/oci/identity/models/dynamic_group.rb +3 -0
- data/lib/oci/identity/models/enum_tag_definition_validator.rb +161 -0
- data/lib/oci/identity/models/group.rb +3 -0
- data/lib/oci/identity/models/identity_provider.rb +3 -0
- data/lib/oci/identity/models/move_compartment_details.rb +2 -2
- data/lib/oci/identity/models/policy.rb +3 -0
- data/lib/oci/identity/models/region.rb +9 -3
- data/lib/oci/identity/models/region_subscription.rb +8 -2
- data/lib/oci/identity/models/tag.rb +25 -6
- data/lib/oci/identity/models/tag_default.rb +26 -4
- data/lib/oci/identity/models/tag_default_summary.rb +26 -4
- data/lib/oci/identity/models/tag_namespace.rb +5 -2
- data/lib/oci/identity/models/tag_summary.rb +3 -2
- data/lib/oci/identity/models/tagging_work_request.rb +305 -0
- data/lib/oci/identity/models/tagging_work_request_error_summary.rb +172 -0
- data/lib/oci/identity/models/tagging_work_request_log_summary.rb +162 -0
- data/lib/oci/identity/models/tagging_work_request_summary.rb +304 -0
- data/lib/oci/identity/models/tenancy.rb +3 -0
- data/lib/oci/identity/models/update_tag_default_details.rb +26 -4
- data/lib/oci/identity/models/update_tag_details.rb +19 -4
- data/lib/oci/identity/models/user.rb +3 -0
- data/lib/oci/integration/integration.rb +29 -0
- data/lib/oci/integration/integration_instance_client.rb +731 -0
- data/lib/oci/integration/integration_instance_client_composite_operations.rb +222 -0
- data/lib/oci/integration/models/change_integration_instance_compartment_details.rb +153 -0
- data/lib/oci/integration/models/create_integration_instance_details.rb +270 -0
- data/lib/oci/integration/models/integration_instance.rb +366 -0
- data/lib/oci/integration/models/integration_instance_summary.rb +332 -0
- data/lib/oci/integration/models/update_integration_instance_details.rb +242 -0
- data/lib/oci/integration/models/work_request.rb +310 -0
- data/lib/oci/integration/models/work_request_error.rb +170 -0
- data/lib/oci/integration/models/work_request_log_entry.rb +159 -0
- data/lib/oci/integration/models/work_request_resource.rb +218 -0
- data/lib/oci/integration/models/work_request_summary.rb +310 -0
- data/lib/oci/integration/util.rb +2 -0
- data/lib/oci/load_balancer/load_balancer_client.rb +3 -3
- data/lib/oci/load_balancer/load_balancer_client_composite_operations.rb +2 -2
- data/lib/oci/load_balancer/models/backend.rb +2 -0
- data/lib/oci/load_balancer/models/backend_details.rb +2 -0
- data/lib/oci/load_balancer/models/create_backend_details.rb +2 -0
- data/lib/oci/load_balancer/models/create_load_balancer_details.rb +12 -1
- data/lib/oci/load_balancer/models/health_checker.rb +2 -1
- data/lib/oci/load_balancer/models/health_checker_details.rb +2 -1
- data/lib/oci/load_balancer/models/lb_cookie_session_persistence_configuration_details.rb +2 -2
- data/lib/oci/load_balancer/models/load_balancer.rb +33 -2
- data/lib/oci/load_balancer/models/update_backend_details.rb +2 -0
- data/lib/oci/load_balancer/models/update_health_checker_details.rb +2 -1
- data/lib/oci/load_balancer/models/update_network_security_groups_details.rb +15 -2
- data/lib/oci/monitoring/models/alarm.rb +6 -5
- data/lib/oci/monitoring/models/create_alarm_details.rb +6 -5
- data/lib/oci/monitoring/models/update_alarm_details.rb +6 -5
- data/lib/oci/monitoring/monitoring_client.rb +25 -9
- data/lib/oci/object_storage/models/bucket.rb +17 -1
- data/lib/oci/object_storage/models/create_bucket_details.rb +17 -1
- data/lib/oci/object_storage/models/update_bucket_details.rb +18 -2
- data/lib/oci/object_storage/models/update_namespace_metadata_details.rb +1 -1
- data/lib/oci/object_storage/models/work_request.rb +7 -4
- data/lib/oci/object_storage/models/work_request_summary.rb +7 -4
- data/lib/oci/object_storage/object_storage_client.rb +75 -4
- data/lib/oci/object_storage/object_storage_client_composite_operations.rb +52 -0
- data/lib/oci/oce/models/change_oce_instance_compartment_details.rb +155 -0
- data/lib/oci/oce/models/create_oce_instance_details.rb +275 -0
- data/lib/oci/oce/models/delete_oce_instance_details.rb +153 -0
- data/lib/oci/oce/models/oce_instance.rb +387 -0
- data/lib/oci/oce/models/oce_instance_summary.rb +387 -0
- data/lib/oci/oce/models/update_oce_instance_details.rb +181 -0
- data/lib/oci/oce/models/work_request.rb +319 -0
- data/lib/oci/oce/models/work_request_error.rb +172 -0
- data/lib/oci/oce/models/work_request_log_entry.rb +159 -0
- data/lib/oci/oce/models/work_request_resource.rb +217 -0
- data/lib/oci/oce/models/workflow_monitor.rb +181 -0
- data/lib/oci/oce/models/workflow_step.rb +163 -0
- data/lib/oci/oce/oce.rb +31 -0
- data/lib/oci/oce/oce_instance_client.rb +733 -0
- data/lib/oci/oce/oce_instance_client_composite_operations.rb +223 -0
- data/lib/oci/oce/util.rb +2 -0
- data/lib/oci/oda/models/change_oda_instance_compartment_details.rb +153 -0
- data/lib/oci/oda/models/create_oda_instance_details.rb +237 -0
- data/lib/oci/oda/models/error_body.rb +159 -0
- data/lib/oci/oda/models/oda_instance.rb +399 -0
- data/lib/oci/oda/models/oda_instance_summary.rb +369 -0
- data/lib/oci/oda/models/update_oda_instance_details.rb +196 -0
- data/lib/oci/oda/models/work_request.rb +340 -0
- data/lib/oci/oda/models/work_request_error.rb +176 -0
- data/lib/oci/oda/models/work_request_log_entry.rb +163 -0
- data/lib/oci/oda/models/work_request_resource.rb +272 -0
- data/lib/oci/oda/models/work_request_summary.rb +262 -0
- data/lib/oci/oda/oda.rb +30 -0
- data/lib/oci/oda/oda_client.rb +842 -0
- data/lib/oci/oda/oda_client_composite_operations.rb +212 -0
- data/lib/oci/oda/util.rb +2 -0
- data/lib/oci/ons/models/backoff_retry_policy.rb +2 -1
- data/lib/oci/ons/models/confirmation_result.rb +5 -3
- data/lib/oci/ons/models/create_subscription_details.rb +19 -4
- data/lib/oci/ons/models/notification_topic.rb +2 -1
- data/lib/oci/ons/models/subscription.rb +8 -3
- data/lib/oci/ons/models/subscription_summary.rb +5 -3
- data/lib/oci/ons/notification_control_plane_client.rb +4 -3
- data/lib/oci/ons/notification_data_plane_client.rb +28 -4
- data/lib/oci/regions.rb +3 -0
- data/lib/oci/resource_manager/models/apply_job_operation_details.rb +201 -0
- data/lib/oci/resource_manager/models/apply_job_operation_details_summary.rb +180 -0
- data/lib/oci/resource_manager/models/apply_job_plan_resolution.rb +4 -5
- data/lib/oci/resource_manager/models/config_source.rb +3 -2
- data/lib/oci/resource_manager/models/create_apply_job_operation_details.rb +179 -0
- data/lib/oci/resource_manager/models/create_config_source_details.rb +2 -1
- data/lib/oci/resource_manager/models/create_destroy_job_operation_details.rb +165 -0
- data/lib/oci/resource_manager/models/create_import_tf_state_job_operation_details.rb +163 -0
- data/lib/oci/resource_manager/models/create_job_details.rb +16 -3
- data/lib/oci/resource_manager/models/create_job_operation_details.rb +169 -0
- data/lib/oci/resource_manager/models/create_plan_job_operation_details.rb +145 -0
- data/lib/oci/resource_manager/models/create_stack_details.rb +17 -2
- data/lib/oci/resource_manager/models/destroy_job_operation_details.rb +184 -0
- data/lib/oci/resource_manager/models/destroy_job_operation_details_summary.rb +165 -0
- data/lib/oci/resource_manager/models/import_tf_state_job_operation_details.rb +145 -0
- data/lib/oci/resource_manager/models/import_tf_state_job_operation_details_summary.rb +145 -0
- data/lib/oci/resource_manager/models/job.rb +23 -5
- data/lib/oci/resource_manager/models/job_operation_details.rb +169 -0
- data/lib/oci/resource_manager/models/job_operation_details_summary.rb +169 -0
- data/lib/oci/resource_manager/models/job_summary.rb +20 -5
- data/lib/oci/resource_manager/models/plan_job_operation_details.rb +145 -0
- data/lib/oci/resource_manager/models/plan_job_operation_details_summary.rb +145 -0
- data/lib/oci/resource_manager/models/stack.rb +18 -6
- data/lib/oci/resource_manager/models/stack_summary.rb +16 -1
- data/lib/oci/resource_manager/models/terraform_version_collection.rb +150 -0
- data/lib/oci/resource_manager/models/terraform_version_summary.rb +151 -0
- data/lib/oci/resource_manager/models/update_config_source_details.rb +3 -1
- data/lib/oci/resource_manager/models/update_stack_details.rb +16 -1
- data/lib/oci/resource_manager/models/work_request.rb +2 -2
- data/lib/oci/resource_manager/models/work_request_resource.rb +1 -1
- data/lib/oci/resource_manager/models/work_request_summary.rb +2 -2
- data/lib/oci/resource_manager/resource_manager.rb +17 -0
- data/lib/oci/resource_manager/resource_manager_client.rb +187 -29
- data/lib/oci/resource_manager/resource_manager_client_composite_operations.rb +6 -6
- data/lib/oci/version.rb +1 -1
- data/lib/oci/waas/models/access_rule.rb +2 -2
- data/lib/oci/waas/models/access_rule_criteria.rb +1 -1
- data/lib/oci/waas/models/address_list.rb +1 -0
- data/lib/oci/waas/models/address_rate_limiting.rb +1 -1
- data/lib/oci/waas/models/block_challenge_settings.rb +1 -1
- data/lib/oci/waas/models/caching_rule.rb +9 -8
- data/lib/oci/waas/models/caching_rule_criteria.rb +1 -5
- data/lib/oci/waas/models/caching_rule_summary.rb +9 -8
- data/lib/oci/waas/models/change_address_list_compartment_details.rb +1 -1
- data/lib/oci/waas/models/change_certificate_compartment_details.rb +1 -0
- data/lib/oci/waas/models/change_custom_protection_rule_compartment_details.rb +1 -1
- data/lib/oci/waas/models/change_http_redirect_compartment_details.rb +154 -0
- data/lib/oci/waas/models/change_waas_policy_compartment_details.rb +1 -0
- data/lib/oci/waas/models/create_address_list_details.rb +1 -1
- data/lib/oci/waas/models/create_custom_protection_rule_details.rb +17 -12
- data/lib/oci/waas/models/create_http_redirect_details.rb +238 -0
- data/lib/oci/waas/models/create_waas_policy_details.rb +2 -1
- data/lib/oci/waas/models/custom_protection_rule.rb +20 -16
- data/lib/oci/waas/models/custom_protection_rule_setting.rb +4 -3
- data/lib/oci/waas/models/custom_protection_rule_summary.rb +6 -6
- data/lib/oci/waas/models/http_redirect.rb +301 -0
- data/lib/oci/waas/models/http_redirect_summary.rb +301 -0
- data/lib/oci/waas/models/http_redirect_target.rb +209 -0
- data/lib/oci/waas/models/origin_group_origins.rb +2 -2
- data/lib/oci/waas/models/policy_config.rb +14 -7
- data/lib/oci/waas/models/protection_settings.rb +1 -1
- data/lib/oci/waas/models/purge_cache.rb +2 -2
- data/lib/oci/waas/models/update_address_list_details.rb +1 -1
- data/lib/oci/waas/models/update_custom_protection_rule_details.rb +16 -12
- data/lib/oci/waas/models/update_http_redirect_details.rb +215 -0
- data/lib/oci/waas/models/update_waas_policy_details.rb +2 -1
- data/lib/oci/waas/models/waas_policy.rb +1 -1
- data/lib/oci/waas/models/waas_policy_custom_protection_rule_summary.rb +5 -4
- data/lib/oci/waas/models/waf_config.rb +2 -1
- data/lib/oci/waas/models/waf_config_details.rb +2 -1
- data/lib/oci/waas/models/work_request.rb +3 -0
- data/lib/oci/waas/models/work_request_operation_types.rb +3 -0
- data/lib/oci/waas/models/work_request_summary.rb +3 -0
- data/lib/oci/waas/redirect_client.rb +493 -0
- data/lib/oci/waas/redirect_client_composite_operations.rb +172 -0
- data/lib/oci/waas/waas.rb +8 -0
- data/lib/oci/waas/waas_client.rb +35 -23
- data/lib/oci/waas/waas_client_composite_operations.rb +4 -4
- metadata +166 -3
@@ -22,6 +22,16 @@ module OCI
|
|
22
22
|
# @return [String]
|
23
23
|
attr_accessor :results_url
|
24
24
|
|
25
|
+
# The region where updates must be made and where results must be fetched from.
|
26
|
+
#
|
27
|
+
# @return [String]
|
28
|
+
attr_accessor :home_region
|
29
|
+
|
30
|
+
# The RFC 3339-formatted creation date and time of the probe.
|
31
|
+
#
|
32
|
+
# @return [DateTime]
|
33
|
+
attr_accessor :time_created
|
34
|
+
|
25
35
|
# The OCID of the compartment.
|
26
36
|
# @return [String]
|
27
37
|
attr_accessor :compartment_id
|
@@ -64,6 +74,8 @@ module OCI
|
|
64
74
|
# rubocop:disable Style/SymbolLiteral
|
65
75
|
'id': :'id',
|
66
76
|
'results_url': :'resultsUrl',
|
77
|
+
'home_region': :'homeRegion',
|
78
|
+
'time_created': :'timeCreated',
|
67
79
|
'compartment_id': :'compartmentId',
|
68
80
|
'display_name': :'displayName',
|
69
81
|
'interval_in_seconds': :'intervalInSeconds',
|
@@ -81,6 +93,8 @@ module OCI
|
|
81
93
|
# rubocop:disable Style/SymbolLiteral
|
82
94
|
'id': :'String',
|
83
95
|
'results_url': :'String',
|
96
|
+
'home_region': :'String',
|
97
|
+
'time_created': :'DateTime',
|
84
98
|
'compartment_id': :'String',
|
85
99
|
'display_name': :'String',
|
86
100
|
'interval_in_seconds': :'Integer',
|
@@ -100,6 +114,8 @@ module OCI
|
|
100
114
|
# @param [Hash] attributes Model attributes in the form of hash
|
101
115
|
# @option attributes [String] :id The value to assign to the {#id} property
|
102
116
|
# @option attributes [String] :results_url The value to assign to the {#results_url} property
|
117
|
+
# @option attributes [String] :home_region The value to assign to the {#home_region} property
|
118
|
+
# @option attributes [DateTime] :time_created The value to assign to the {#time_created} property
|
103
119
|
# @option attributes [String] :compartment_id The value to assign to the {#compartment_id} property
|
104
120
|
# @option attributes [String] :display_name The value to assign to the {#display_name} property
|
105
121
|
# @option attributes [Integer] :interval_in_seconds The value to assign to the {#interval_in_seconds} property
|
@@ -121,6 +137,18 @@ module OCI
|
|
121
137
|
|
122
138
|
self.results_url = attributes[:'results_url'] if attributes[:'results_url']
|
123
139
|
|
140
|
+
self.home_region = attributes[:'homeRegion'] if attributes[:'homeRegion']
|
141
|
+
|
142
|
+
raise 'You cannot provide both :homeRegion and :home_region' if attributes.key?(:'homeRegion') && attributes.key?(:'home_region')
|
143
|
+
|
144
|
+
self.home_region = attributes[:'home_region'] if attributes[:'home_region']
|
145
|
+
|
146
|
+
self.time_created = attributes[:'timeCreated'] if attributes[:'timeCreated']
|
147
|
+
|
148
|
+
raise 'You cannot provide both :timeCreated and :time_created' if attributes.key?(:'timeCreated') && attributes.key?(:'time_created')
|
149
|
+
|
150
|
+
self.time_created = attributes[:'time_created'] if attributes[:'time_created']
|
151
|
+
|
124
152
|
self.compartment_id = attributes[:'compartmentId'] if attributes[:'compartmentId']
|
125
153
|
|
126
154
|
raise 'You cannot provide both :compartmentId and :compartment_id' if attributes.key?(:'compartmentId') && attributes.key?(:'compartment_id')
|
@@ -188,6 +216,8 @@ module OCI
|
|
188
216
|
self.class == other.class &&
|
189
217
|
id == other.id &&
|
190
218
|
results_url == other.results_url &&
|
219
|
+
home_region == other.home_region &&
|
220
|
+
time_created == other.time_created &&
|
191
221
|
compartment_id == other.compartment_id &&
|
192
222
|
display_name == other.display_name &&
|
193
223
|
interval_in_seconds == other.interval_in_seconds &&
|
@@ -210,7 +240,7 @@ module OCI
|
|
210
240
|
# Calculates hash code according to all attributes.
|
211
241
|
# @return [Fixnum] Hash code
|
212
242
|
def hash
|
213
|
-
[id, results_url, compartment_id, display_name, interval_in_seconds, is_enabled, freeform_tags, defined_tags, protocol].hash
|
243
|
+
[id, results_url, home_region, time_created, compartment_id, display_name, interval_in_seconds, is_enabled, freeform_tags, defined_tags, protocol].hash
|
214
244
|
end
|
215
245
|
# rubocop:enable Metrics/AbcSize, Layout/EmptyLines
|
216
246
|
|
@@ -28,6 +28,16 @@ module OCI
|
|
28
28
|
# @return [String]
|
29
29
|
attr_accessor :results_url
|
30
30
|
|
31
|
+
# The region where updates must be made and where results must be fetched from.
|
32
|
+
#
|
33
|
+
# @return [String]
|
34
|
+
attr_accessor :home_region
|
35
|
+
|
36
|
+
# The RFC 3339-formatted creation date and time of the probe.
|
37
|
+
#
|
38
|
+
# @return [DateTime]
|
39
|
+
attr_accessor :time_created
|
40
|
+
|
31
41
|
# The OCID of the compartment.
|
32
42
|
# @return [String]
|
33
43
|
attr_accessor :compartment_id
|
@@ -75,6 +85,8 @@ module OCI
|
|
75
85
|
# rubocop:disable Style/SymbolLiteral
|
76
86
|
'id': :'id',
|
77
87
|
'results_url': :'resultsUrl',
|
88
|
+
'home_region': :'homeRegion',
|
89
|
+
'time_created': :'timeCreated',
|
78
90
|
'compartment_id': :'compartmentId',
|
79
91
|
'targets': :'targets',
|
80
92
|
'vantage_point_names': :'vantagePointNames',
|
@@ -94,6 +106,8 @@ module OCI
|
|
94
106
|
# rubocop:disable Style/SymbolLiteral
|
95
107
|
'id': :'String',
|
96
108
|
'results_url': :'String',
|
109
|
+
'home_region': :'String',
|
110
|
+
'time_created': :'DateTime',
|
97
111
|
'compartment_id': :'String',
|
98
112
|
'targets': :'Array<String>',
|
99
113
|
'vantage_point_names': :'Array<String>',
|
@@ -115,6 +129,8 @@ module OCI
|
|
115
129
|
# @param [Hash] attributes Model attributes in the form of hash
|
116
130
|
# @option attributes [String] :id The value to assign to the {#id} property
|
117
131
|
# @option attributes [String] :results_url The value to assign to the {#results_url} property
|
132
|
+
# @option attributes [String] :home_region The value to assign to the {#home_region} property
|
133
|
+
# @option attributes [DateTime] :time_created The value to assign to the {#time_created} property
|
118
134
|
# @option attributes [String] :compartment_id The value to assign to the {#compartment_id} property
|
119
135
|
# @option attributes [Array<String>] :targets The value to assign to the {#targets} property
|
120
136
|
# @option attributes [Array<String>] :vantage_point_names The value to assign to the {#vantage_point_names} property
|
@@ -138,6 +154,18 @@ module OCI
|
|
138
154
|
|
139
155
|
self.results_url = attributes[:'results_url'] if attributes[:'results_url']
|
140
156
|
|
157
|
+
self.home_region = attributes[:'homeRegion'] if attributes[:'homeRegion']
|
158
|
+
|
159
|
+
raise 'You cannot provide both :homeRegion and :home_region' if attributes.key?(:'homeRegion') && attributes.key?(:'home_region')
|
160
|
+
|
161
|
+
self.home_region = attributes[:'home_region'] if attributes[:'home_region']
|
162
|
+
|
163
|
+
self.time_created = attributes[:'timeCreated'] if attributes[:'timeCreated']
|
164
|
+
|
165
|
+
raise 'You cannot provide both :timeCreated and :time_created' if attributes.key?(:'timeCreated') && attributes.key?(:'time_created')
|
166
|
+
|
167
|
+
self.time_created = attributes[:'time_created'] if attributes[:'time_created']
|
168
|
+
|
141
169
|
self.compartment_id = attributes[:'compartmentId'] if attributes[:'compartmentId']
|
142
170
|
|
143
171
|
raise 'You cannot provide both :compartmentId and :compartment_id' if attributes.key?(:'compartmentId') && attributes.key?(:'compartment_id')
|
@@ -210,6 +238,8 @@ module OCI
|
|
210
238
|
self.class == other.class &&
|
211
239
|
id == other.id &&
|
212
240
|
results_url == other.results_url &&
|
241
|
+
home_region == other.home_region &&
|
242
|
+
time_created == other.time_created &&
|
213
243
|
compartment_id == other.compartment_id &&
|
214
244
|
targets == other.targets &&
|
215
245
|
vantage_point_names == other.vantage_point_names &&
|
@@ -234,7 +264,7 @@ module OCI
|
|
234
264
|
# Calculates hash code according to all attributes.
|
235
265
|
# @return [Fixnum] Hash code
|
236
266
|
def hash
|
237
|
-
[id, results_url, compartment_id, targets, vantage_point_names, port, timeout_in_seconds, protocol, method, path, headers].hash
|
267
|
+
[id, results_url, home_region, time_created, compartment_id, targets, vantage_point_names, port, timeout_in_seconds, protocol, method, path, headers].hash
|
238
268
|
end
|
239
269
|
# rubocop:enable Metrics/AbcSize, Layout/EmptyLines
|
240
270
|
|
@@ -22,6 +22,16 @@ module OCI
|
|
22
22
|
# @return [String]
|
23
23
|
attr_accessor :results_url
|
24
24
|
|
25
|
+
# The region where updates must be made and where results must be fetched from.
|
26
|
+
#
|
27
|
+
# @return [String]
|
28
|
+
attr_accessor :home_region
|
29
|
+
|
30
|
+
# The RFC 3339-formatted creation date and time of the probe.
|
31
|
+
#
|
32
|
+
# @return [DateTime]
|
33
|
+
attr_accessor :time_created
|
34
|
+
|
25
35
|
# The OCID of the compartment.
|
26
36
|
# @return [String]
|
27
37
|
attr_accessor :compartment_id
|
@@ -84,6 +94,8 @@ module OCI
|
|
84
94
|
# rubocop:disable Style/SymbolLiteral
|
85
95
|
'id': :'id',
|
86
96
|
'results_url': :'resultsUrl',
|
97
|
+
'home_region': :'homeRegion',
|
98
|
+
'time_created': :'timeCreated',
|
87
99
|
'compartment_id': :'compartmentId',
|
88
100
|
'targets': :'targets',
|
89
101
|
'vantage_point_names': :'vantagePointNames',
|
@@ -105,6 +117,8 @@ module OCI
|
|
105
117
|
# rubocop:disable Style/SymbolLiteral
|
106
118
|
'id': :'String',
|
107
119
|
'results_url': :'String',
|
120
|
+
'home_region': :'String',
|
121
|
+
'time_created': :'DateTime',
|
108
122
|
'compartment_id': :'String',
|
109
123
|
'targets': :'Array<String>',
|
110
124
|
'vantage_point_names': :'Array<String>',
|
@@ -128,6 +142,8 @@ module OCI
|
|
128
142
|
# @param [Hash] attributes Model attributes in the form of hash
|
129
143
|
# @option attributes [String] :id The value to assign to the {#id} property
|
130
144
|
# @option attributes [String] :results_url The value to assign to the {#results_url} property
|
145
|
+
# @option attributes [String] :home_region The value to assign to the {#home_region} property
|
146
|
+
# @option attributes [DateTime] :time_created The value to assign to the {#time_created} property
|
131
147
|
# @option attributes [String] :compartment_id The value to assign to the {#compartment_id} property
|
132
148
|
# @option attributes [Array<String>] :targets The value to assign to the {#targets} property
|
133
149
|
# @option attributes [Array<String>] :vantage_point_names The value to assign to the {#vantage_point_names} property
|
@@ -153,6 +169,18 @@ module OCI
|
|
153
169
|
|
154
170
|
self.results_url = attributes[:'results_url'] if attributes[:'results_url']
|
155
171
|
|
172
|
+
self.home_region = attributes[:'homeRegion'] if attributes[:'homeRegion']
|
173
|
+
|
174
|
+
raise 'You cannot provide both :homeRegion and :home_region' if attributes.key?(:'homeRegion') && attributes.key?(:'home_region')
|
175
|
+
|
176
|
+
self.home_region = attributes[:'home_region'] if attributes[:'home_region']
|
177
|
+
|
178
|
+
self.time_created = attributes[:'timeCreated'] if attributes[:'timeCreated']
|
179
|
+
|
180
|
+
raise 'You cannot provide both :timeCreated and :time_created' if attributes.key?(:'timeCreated') && attributes.key?(:'time_created')
|
181
|
+
|
182
|
+
self.time_created = attributes[:'time_created'] if attributes[:'time_created']
|
183
|
+
|
156
184
|
self.compartment_id = attributes[:'compartmentId'] if attributes[:'compartmentId']
|
157
185
|
|
158
186
|
raise 'You cannot provide both :compartmentId and :compartment_id' if attributes.key?(:'compartmentId') && attributes.key?(:'compartment_id')
|
@@ -236,6 +264,8 @@ module OCI
|
|
236
264
|
self.class == other.class &&
|
237
265
|
id == other.id &&
|
238
266
|
results_url == other.results_url &&
|
267
|
+
home_region == other.home_region &&
|
268
|
+
time_created == other.time_created &&
|
239
269
|
compartment_id == other.compartment_id &&
|
240
270
|
targets == other.targets &&
|
241
271
|
vantage_point_names == other.vantage_point_names &&
|
@@ -262,7 +292,7 @@ module OCI
|
|
262
292
|
# Calculates hash code according to all attributes.
|
263
293
|
# @return [Fixnum] Hash code
|
264
294
|
def hash
|
265
|
-
[id, results_url, compartment_id, targets, vantage_point_names, port, timeout_in_seconds, protocol, display_name, interval_in_seconds, is_enabled, freeform_tags, defined_tags].hash
|
295
|
+
[id, results_url, home_region, time_created, compartment_id, targets, vantage_point_names, port, timeout_in_seconds, protocol, display_name, interval_in_seconds, is_enabled, freeform_tags, defined_tags].hash
|
266
296
|
end
|
267
297
|
# rubocop:enable Metrics/AbcSize, Layout/EmptyLines
|
268
298
|
|
@@ -22,6 +22,16 @@ module OCI
|
|
22
22
|
# @return [String]
|
23
23
|
attr_accessor :results_url
|
24
24
|
|
25
|
+
# The region where updates must be made and where results must be fetched from.
|
26
|
+
#
|
27
|
+
# @return [String]
|
28
|
+
attr_accessor :home_region
|
29
|
+
|
30
|
+
# The RFC 3339-formatted creation date and time of the probe.
|
31
|
+
#
|
32
|
+
# @return [DateTime]
|
33
|
+
attr_accessor :time_created
|
34
|
+
|
25
35
|
# The OCID of the compartment.
|
26
36
|
# @return [String]
|
27
37
|
attr_accessor :compartment_id
|
@@ -64,6 +74,8 @@ module OCI
|
|
64
74
|
# rubocop:disable Style/SymbolLiteral
|
65
75
|
'id': :'id',
|
66
76
|
'results_url': :'resultsUrl',
|
77
|
+
'home_region': :'homeRegion',
|
78
|
+
'time_created': :'timeCreated',
|
67
79
|
'compartment_id': :'compartmentId',
|
68
80
|
'display_name': :'displayName',
|
69
81
|
'interval_in_seconds': :'intervalInSeconds',
|
@@ -81,6 +93,8 @@ module OCI
|
|
81
93
|
# rubocop:disable Style/SymbolLiteral
|
82
94
|
'id': :'String',
|
83
95
|
'results_url': :'String',
|
96
|
+
'home_region': :'String',
|
97
|
+
'time_created': :'DateTime',
|
84
98
|
'compartment_id': :'String',
|
85
99
|
'display_name': :'String',
|
86
100
|
'interval_in_seconds': :'Integer',
|
@@ -100,6 +114,8 @@ module OCI
|
|
100
114
|
# @param [Hash] attributes Model attributes in the form of hash
|
101
115
|
# @option attributes [String] :id The value to assign to the {#id} property
|
102
116
|
# @option attributes [String] :results_url The value to assign to the {#results_url} property
|
117
|
+
# @option attributes [String] :home_region The value to assign to the {#home_region} property
|
118
|
+
# @option attributes [DateTime] :time_created The value to assign to the {#time_created} property
|
103
119
|
# @option attributes [String] :compartment_id The value to assign to the {#compartment_id} property
|
104
120
|
# @option attributes [String] :display_name The value to assign to the {#display_name} property
|
105
121
|
# @option attributes [Integer] :interval_in_seconds The value to assign to the {#interval_in_seconds} property
|
@@ -121,6 +137,18 @@ module OCI
|
|
121
137
|
|
122
138
|
self.results_url = attributes[:'results_url'] if attributes[:'results_url']
|
123
139
|
|
140
|
+
self.home_region = attributes[:'homeRegion'] if attributes[:'homeRegion']
|
141
|
+
|
142
|
+
raise 'You cannot provide both :homeRegion and :home_region' if attributes.key?(:'homeRegion') && attributes.key?(:'home_region')
|
143
|
+
|
144
|
+
self.home_region = attributes[:'home_region'] if attributes[:'home_region']
|
145
|
+
|
146
|
+
self.time_created = attributes[:'timeCreated'] if attributes[:'timeCreated']
|
147
|
+
|
148
|
+
raise 'You cannot provide both :timeCreated and :time_created' if attributes.key?(:'timeCreated') && attributes.key?(:'time_created')
|
149
|
+
|
150
|
+
self.time_created = attributes[:'time_created'] if attributes[:'time_created']
|
151
|
+
|
124
152
|
self.compartment_id = attributes[:'compartmentId'] if attributes[:'compartmentId']
|
125
153
|
|
126
154
|
raise 'You cannot provide both :compartmentId and :compartment_id' if attributes.key?(:'compartmentId') && attributes.key?(:'compartment_id')
|
@@ -188,6 +216,8 @@ module OCI
|
|
188
216
|
self.class == other.class &&
|
189
217
|
id == other.id &&
|
190
218
|
results_url == other.results_url &&
|
219
|
+
home_region == other.home_region &&
|
220
|
+
time_created == other.time_created &&
|
191
221
|
compartment_id == other.compartment_id &&
|
192
222
|
display_name == other.display_name &&
|
193
223
|
interval_in_seconds == other.interval_in_seconds &&
|
@@ -210,7 +240,7 @@ module OCI
|
|
210
240
|
# Calculates hash code according to all attributes.
|
211
241
|
# @return [Fixnum] Hash code
|
212
242
|
def hash
|
213
|
-
[id, results_url, compartment_id, display_name, interval_in_seconds, is_enabled, freeform_tags, defined_tags, protocol].hash
|
243
|
+
[id, results_url, home_region, time_created, compartment_id, display_name, interval_in_seconds, is_enabled, freeform_tags, defined_tags, protocol].hash
|
214
244
|
end
|
215
245
|
# rubocop:enable Metrics/AbcSize, Layout/EmptyLines
|
216
246
|
|
@@ -22,6 +22,16 @@ module OCI
|
|
22
22
|
# @return [String]
|
23
23
|
attr_accessor :results_url
|
24
24
|
|
25
|
+
# The region where updates must be made and where results must be fetched from.
|
26
|
+
#
|
27
|
+
# @return [String]
|
28
|
+
attr_accessor :home_region
|
29
|
+
|
30
|
+
# The RFC 3339-formatted creation date and time of the probe.
|
31
|
+
#
|
32
|
+
# @return [DateTime]
|
33
|
+
attr_accessor :time_created
|
34
|
+
|
25
35
|
# The OCID of the compartment.
|
26
36
|
# @return [String]
|
27
37
|
attr_accessor :compartment_id
|
@@ -55,6 +65,8 @@ module OCI
|
|
55
65
|
# rubocop:disable Style/SymbolLiteral
|
56
66
|
'id': :'id',
|
57
67
|
'results_url': :'resultsUrl',
|
68
|
+
'home_region': :'homeRegion',
|
69
|
+
'time_created': :'timeCreated',
|
58
70
|
'compartment_id': :'compartmentId',
|
59
71
|
'targets': :'targets',
|
60
72
|
'vantage_point_names': :'vantagePointNames',
|
@@ -71,6 +83,8 @@ module OCI
|
|
71
83
|
# rubocop:disable Style/SymbolLiteral
|
72
84
|
'id': :'String',
|
73
85
|
'results_url': :'String',
|
86
|
+
'home_region': :'String',
|
87
|
+
'time_created': :'DateTime',
|
74
88
|
'compartment_id': :'String',
|
75
89
|
'targets': :'Array<String>',
|
76
90
|
'vantage_point_names': :'Array<String>',
|
@@ -89,6 +103,8 @@ module OCI
|
|
89
103
|
# @param [Hash] attributes Model attributes in the form of hash
|
90
104
|
# @option attributes [String] :id The value to assign to the {#id} property
|
91
105
|
# @option attributes [String] :results_url The value to assign to the {#results_url} property
|
106
|
+
# @option attributes [String] :home_region The value to assign to the {#home_region} property
|
107
|
+
# @option attributes [DateTime] :time_created The value to assign to the {#time_created} property
|
92
108
|
# @option attributes [String] :compartment_id The value to assign to the {#compartment_id} property
|
93
109
|
# @option attributes [Array<String>] :targets The value to assign to the {#targets} property
|
94
110
|
# @option attributes [Array<String>] :vantage_point_names The value to assign to the {#vantage_point_names} property
|
@@ -109,6 +125,18 @@ module OCI
|
|
109
125
|
|
110
126
|
self.results_url = attributes[:'results_url'] if attributes[:'results_url']
|
111
127
|
|
128
|
+
self.home_region = attributes[:'homeRegion'] if attributes[:'homeRegion']
|
129
|
+
|
130
|
+
raise 'You cannot provide both :homeRegion and :home_region' if attributes.key?(:'homeRegion') && attributes.key?(:'home_region')
|
131
|
+
|
132
|
+
self.home_region = attributes[:'home_region'] if attributes[:'home_region']
|
133
|
+
|
134
|
+
self.time_created = attributes[:'timeCreated'] if attributes[:'timeCreated']
|
135
|
+
|
136
|
+
raise 'You cannot provide both :timeCreated and :time_created' if attributes.key?(:'timeCreated') && attributes.key?(:'time_created')
|
137
|
+
|
138
|
+
self.time_created = attributes[:'time_created'] if attributes[:'time_created']
|
139
|
+
|
112
140
|
self.compartment_id = attributes[:'compartmentId'] if attributes[:'compartmentId']
|
113
141
|
|
114
142
|
raise 'You cannot provide both :compartmentId and :compartment_id' if attributes.key?(:'compartmentId') && attributes.key?(:'compartment_id')
|
@@ -160,6 +188,8 @@ module OCI
|
|
160
188
|
self.class == other.class &&
|
161
189
|
id == other.id &&
|
162
190
|
results_url == other.results_url &&
|
191
|
+
home_region == other.home_region &&
|
192
|
+
time_created == other.time_created &&
|
163
193
|
compartment_id == other.compartment_id &&
|
164
194
|
targets == other.targets &&
|
165
195
|
vantage_point_names == other.vantage_point_names &&
|
@@ -181,7 +211,7 @@ module OCI
|
|
181
211
|
# Calculates hash code according to all attributes.
|
182
212
|
# @return [Fixnum] Hash code
|
183
213
|
def hash
|
184
|
-
[id, results_url, compartment_id, targets, vantage_point_names, port, timeout_in_seconds, protocol].hash
|
214
|
+
[id, results_url, home_region, time_created, compartment_id, targets, vantage_point_names, port, timeout_in_seconds, protocol].hash
|
185
215
|
end
|
186
216
|
# rubocop:enable Metrics/AbcSize, Layout/EmptyLines
|
187
217
|
|
@@ -15,6 +15,7 @@ require 'oci/identity/models/api_key'
|
|
15
15
|
require 'oci/identity/models/auth_token'
|
16
16
|
require 'oci/identity/models/authentication_policy'
|
17
17
|
require 'oci/identity/models/availability_domain'
|
18
|
+
require 'oci/identity/models/base_tag_definition_validator'
|
18
19
|
require 'oci/identity/models/change_tag_namespace_compartment_detail'
|
19
20
|
require 'oci/identity/models/compartment'
|
20
21
|
require 'oci/identity/models/create_api_key_details'
|
@@ -36,7 +37,9 @@ require 'oci/identity/models/create_tag_namespace_details'
|
|
36
37
|
require 'oci/identity/models/create_user_details'
|
37
38
|
require 'oci/identity/models/customer_secret_key'
|
38
39
|
require 'oci/identity/models/customer_secret_key_summary'
|
40
|
+
require 'oci/identity/models/default_tag_definition_validator'
|
39
41
|
require 'oci/identity/models/dynamic_group'
|
42
|
+
require 'oci/identity/models/enum_tag_definition_validator'
|
40
43
|
require 'oci/identity/models/fault_domain'
|
41
44
|
require 'oci/identity/models/group'
|
42
45
|
require 'oci/identity/models/identity_provider'
|
@@ -61,6 +64,10 @@ require 'oci/identity/models/tag_default_summary'
|
|
61
64
|
require 'oci/identity/models/tag_namespace'
|
62
65
|
require 'oci/identity/models/tag_namespace_summary'
|
63
66
|
require 'oci/identity/models/tag_summary'
|
67
|
+
require 'oci/identity/models/tagging_work_request'
|
68
|
+
require 'oci/identity/models/tagging_work_request_error_summary'
|
69
|
+
require 'oci/identity/models/tagging_work_request_log_summary'
|
70
|
+
require 'oci/identity/models/tagging_work_request_summary'
|
64
71
|
require 'oci/identity/models/tenancy'
|
65
72
|
require 'oci/identity/models/ui_password'
|
66
73
|
require 'oci/identity/models/ui_password_information'
|
@@ -240,6 +240,69 @@ module OCI
|
|
240
240
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
241
241
|
|
242
242
|
|
243
|
+
# Assembles tag defaults in the specified compartment and any parent compartments to determine
|
244
|
+
# the tags to apply. Tag defaults from parent compartments do not override tag defaults
|
245
|
+
# referencing the same tag in a compartment lower down the hierarchy. This set of tag defaults
|
246
|
+
# includes all tag defaults from the current compartment back to the root compartment.
|
247
|
+
#
|
248
|
+
# @param [String] compartment_id The OCID of the compartment (remember that the tenancy is simply the root compartment).
|
249
|
+
#
|
250
|
+
# @param [Hash] opts the optional parameters
|
251
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
252
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
253
|
+
# @option opts [String] :lifecycle_state A filter to only return resources that match the given lifecycle state. The state value is case-insensitive.
|
254
|
+
#
|
255
|
+
# @return [Response] A Response object with data of type Array<{OCI::Identity::Models::TagDefaultSummary TagDefaultSummary}>
|
256
|
+
def assemble_effective_tag_set(compartment_id, opts = {})
|
257
|
+
logger.debug 'Calling operation IdentityClient#assemble_effective_tag_set.' if logger
|
258
|
+
|
259
|
+
raise "Missing the required parameter 'compartment_id' when calling assemble_effective_tag_set." if compartment_id.nil?
|
260
|
+
|
261
|
+
if opts[:lifecycle_state] && !OCI::Identity::Models::TagDefaultSummary::LIFECYCLE_STATE_ENUM.include?(opts[:lifecycle_state])
|
262
|
+
raise 'Invalid value for "lifecycle_state", must be one of the values in OCI::Identity::Models::TagDefaultSummary::LIFECYCLE_STATE_ENUM.'
|
263
|
+
end
|
264
|
+
|
265
|
+
path = '/tagDefaults/actions/assembleEffectiveTagSet'
|
266
|
+
operation_signing_strategy = :standard
|
267
|
+
|
268
|
+
# rubocop:disable Style/NegatedIf
|
269
|
+
# Query Params
|
270
|
+
query_params = {}
|
271
|
+
query_params[:compartmentId] = compartment_id
|
272
|
+
query_params[:lifecycleState] = opts[:lifecycle_state] if opts[:lifecycle_state]
|
273
|
+
|
274
|
+
# Header Params
|
275
|
+
header_params = {}
|
276
|
+
header_params[:accept] = 'application/json'
|
277
|
+
header_params[:'content-type'] = 'application/json'
|
278
|
+
# rubocop:enable Style/NegatedIf
|
279
|
+
|
280
|
+
post_body = nil
|
281
|
+
|
282
|
+
# rubocop:disable Metrics/BlockLength
|
283
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'IdentityClient#assemble_effective_tag_set') do
|
284
|
+
@api_client.call_api(
|
285
|
+
:GET,
|
286
|
+
path,
|
287
|
+
endpoint,
|
288
|
+
header_params: header_params,
|
289
|
+
query_params: query_params,
|
290
|
+
operation_signing_strategy: operation_signing_strategy,
|
291
|
+
body: post_body,
|
292
|
+
return_type: 'Array<OCI::Identity::Models::TagDefaultSummary>'
|
293
|
+
)
|
294
|
+
end
|
295
|
+
# rubocop:enable Metrics/BlockLength
|
296
|
+
end
|
297
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
298
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
299
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
300
|
+
|
301
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
302
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
303
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
304
|
+
|
305
|
+
|
243
306
|
# Moves the specified tag namespace to the specified compartment within the same tenancy.
|
244
307
|
#
|
245
308
|
# To move the tag namespace, you must have the manage tag-namespaces permission on both compartments.
|
@@ -1239,6 +1302,11 @@ module OCI
|
|
1239
1302
|
# It does not have to be unique, and you can change it with
|
1240
1303
|
# {#update_tag update_tag}.
|
1241
1304
|
#
|
1305
|
+
# If no 'validator' is set on this tag definition, then any (valid) value can be set for this definedTag.
|
1306
|
+
#
|
1307
|
+
# If a 'validator' is set on this tag definition, then the only valid values that can be set for this
|
1308
|
+
# definedTag those that pass the additional validation imposed by the set 'validator'.
|
1309
|
+
#
|
1242
1310
|
# @param [String] tag_namespace_id The OCID of the tag namespace.
|
1243
1311
|
#
|
1244
1312
|
# @param [OCI::Identity::Models::CreateTagDetails] create_tag_details Request object for creating a new tag in the specified tag namespace.
|
@@ -1302,6 +1370,13 @@ module OCI
|
|
1302
1370
|
|
1303
1371
|
# Creates a new tag default in the specified compartment for the specified tag definition.
|
1304
1372
|
#
|
1373
|
+
# If you specify that a value is required, a value is set during resource creation (either by
|
1374
|
+
# the user creating the resource or another tag defualt). If no value is set, resource creation
|
1375
|
+
# is blocked.
|
1376
|
+
#
|
1377
|
+
# * If the `isRequired` flag is set to \"true\", the value is set during resource creation.
|
1378
|
+
# * If the `isRequired` flag is set to \"false\", the value you enter is set during resource creation.
|
1379
|
+
#
|
1305
1380
|
# @param [OCI::Identity::Models::CreateTagDefaultDetails] create_tag_default_details Request object for creating a new tag default.
|
1306
1381
|
# @param [Hash] opts the optional parameters
|
1307
1382
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
@@ -1378,9 +1453,6 @@ module OCI
|
|
1378
1453
|
# It does not have to be unique, and you can change it with
|
1379
1454
|
# {#update_tag_namespace update_tag_namespace}.
|
1380
1455
|
#
|
1381
|
-
# Tag namespaces cannot be deleted, but they can be retired.
|
1382
|
-
# See [Retiring Key Definitions and Namespace Definitions](https://docs.cloud.oracle.com/Content/Identity/Concepts/taggingoverview.htm#Retiring) for more information.
|
1383
|
-
#
|
1384
1456
|
# @param [OCI::Identity::Models::CreateTagNamespaceDetails] create_tag_namespace_details Request object for creating a new tag namespace.
|
1385
1457
|
# @param [Hash] opts the optional parameters
|
1386
1458
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
@@ -2230,7 +2302,24 @@ module OCI
|
|
2230
2302
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
2231
2303
|
|
2232
2304
|
|
2233
|
-
# Deletes the
|
2305
|
+
# Deletes the specified tag definition. This operation triggers a process that removes the
|
2306
|
+
# tag from all resources in your tenancy.
|
2307
|
+
#
|
2308
|
+
# These things happen immediately:
|
2309
|
+
# \u00A0
|
2310
|
+
# * If the tag was a cost-tracking tag, it no longer counts against your 10 cost-tracking
|
2311
|
+
# tags limit, whether you first disabled it or not.
|
2312
|
+
# * If the tag was used with dynamic groups, none of the rules that contain the tag will
|
2313
|
+
# be evaluated against the tag.
|
2314
|
+
#
|
2315
|
+
# Once you start the delete operation, the state of the tag changes to DELETING and tag removal
|
2316
|
+
# from resources begins. This can take up to 48 hours depending on the number of resources that
|
2317
|
+
# were tagged as well as the regions in which those resources reside. When all tags have been
|
2318
|
+
# removed, the state changes to DELETED. You cannot restore a deleted tag. Once the deleted tag
|
2319
|
+
# changes its state to DELETED, you can use the same tag name again.
|
2320
|
+
#
|
2321
|
+
# To delete a tag, you must first retire it. Use {#update_tag update_tag}
|
2322
|
+
# to retire a tag.
|
2234
2323
|
#
|
2235
2324
|
# @param [String] tag_namespace_id The OCID of the tag namespace.
|
2236
2325
|
#
|
@@ -2351,8 +2440,10 @@ module OCI
|
|
2351
2440
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
2352
2441
|
|
2353
2442
|
|
2354
|
-
#
|
2355
|
-
#
|
2443
|
+
# Deletes the specified tag namespace. Only an empty tag namespace can be deleted. To delete
|
2444
|
+
# a tag namespace, first delete all its tag definitions.
|
2445
|
+
#
|
2446
|
+
# Use {#delete_tag delete_tag} to delete a tag definition.
|
2356
2447
|
#
|
2357
2448
|
# @param [String] tag_namespace_id The OCID of the tag namespace.
|
2358
2449
|
#
|
@@ -3143,6 +3234,61 @@ module OCI
|
|
3143
3234
|
# rubocop:disable Lint/UnusedMethodArgument
|
3144
3235
|
|
3145
3236
|
|
3237
|
+
# Gets details on a specified work request. The workRequestID is returned in the opc-workrequest-id header
|
3238
|
+
# for any asynchronous operation in the Identity and Access Management service.
|
3239
|
+
#
|
3240
|
+
# @param [String] work_request_id The OCID of the work request.
|
3241
|
+
# @param [Hash] opts the optional parameters
|
3242
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
3243
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
3244
|
+
# @return [Response] A Response object with data of type {OCI::Identity::Models::TaggingWorkRequest TaggingWorkRequest}
|
3245
|
+
def get_tagging_work_request(work_request_id, opts = {})
|
3246
|
+
logger.debug 'Calling operation IdentityClient#get_tagging_work_request.' if logger
|
3247
|
+
|
3248
|
+
raise "Missing the required parameter 'work_request_id' when calling get_tagging_work_request." if work_request_id.nil?
|
3249
|
+
raise "Parameter value for 'work_request_id' must not be blank" if OCI::Internal::Util.blank_string?(work_request_id)
|
3250
|
+
|
3251
|
+
path = '/taggingWorkRequests/{workRequestId}'.sub('{workRequestId}', work_request_id.to_s)
|
3252
|
+
operation_signing_strategy = :standard
|
3253
|
+
|
3254
|
+
# rubocop:disable Style/NegatedIf
|
3255
|
+
# Query Params
|
3256
|
+
query_params = {}
|
3257
|
+
|
3258
|
+
# Header Params
|
3259
|
+
header_params = {}
|
3260
|
+
header_params[:accept] = 'application/json'
|
3261
|
+
header_params[:'content-type'] = 'application/json'
|
3262
|
+
# rubocop:enable Style/NegatedIf
|
3263
|
+
|
3264
|
+
post_body = nil
|
3265
|
+
|
3266
|
+
# rubocop:disable Metrics/BlockLength
|
3267
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'IdentityClient#get_tagging_work_request') do
|
3268
|
+
@api_client.call_api(
|
3269
|
+
:GET,
|
3270
|
+
path,
|
3271
|
+
endpoint,
|
3272
|
+
header_params: header_params,
|
3273
|
+
query_params: query_params,
|
3274
|
+
operation_signing_strategy: operation_signing_strategy,
|
3275
|
+
body: post_body,
|
3276
|
+
return_type: 'OCI::Identity::Models::TaggingWorkRequest'
|
3277
|
+
)
|
3278
|
+
end
|
3279
|
+
# rubocop:enable Metrics/BlockLength
|
3280
|
+
end
|
3281
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
3282
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
3283
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
3284
|
+
# rubocop:enable Lint/UnusedMethodArgument
|
3285
|
+
|
3286
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
3287
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
3288
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
3289
|
+
# rubocop:disable Lint/UnusedMethodArgument
|
3290
|
+
|
3291
|
+
|
3146
3292
|
# Get the specified tenancy's information.
|
3147
3293
|
# @param [String] tenancy_id The OCID of the tenancy.
|
3148
3294
|
# @param [Hash] opts the optional parameters
|
@@ -4663,6 +4809,183 @@ module OCI
|
|
4663
4809
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
4664
4810
|
|
4665
4811
|
|
4812
|
+
# Gets the errors for a work request.
|
4813
|
+
#
|
4814
|
+
# @param [String] work_request_id The OCID of the work request.
|
4815
|
+
# @param [Hash] opts the optional parameters
|
4816
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
4817
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
4818
|
+
# @option opts [String] :page The value of the `opc-next-page` response header from the previous \"List\" call.
|
4819
|
+
#
|
4820
|
+
# @option opts [Integer] :limit The maximum number of items to return in a paginated \"List\" call.
|
4821
|
+
#
|
4822
|
+
# @return [Response] A Response object with data of type Array<{OCI::Identity::Models::TaggingWorkRequestErrorSummary TaggingWorkRequestErrorSummary}>
|
4823
|
+
def list_tagging_work_request_errors(work_request_id, opts = {})
|
4824
|
+
logger.debug 'Calling operation IdentityClient#list_tagging_work_request_errors.' if logger
|
4825
|
+
|
4826
|
+
raise "Missing the required parameter 'work_request_id' when calling list_tagging_work_request_errors." if work_request_id.nil?
|
4827
|
+
raise "Parameter value for 'work_request_id' must not be blank" if OCI::Internal::Util.blank_string?(work_request_id)
|
4828
|
+
|
4829
|
+
path = '/taggingWorkRequests/{workRequestId}/errors'.sub('{workRequestId}', work_request_id.to_s)
|
4830
|
+
operation_signing_strategy = :standard
|
4831
|
+
|
4832
|
+
# rubocop:disable Style/NegatedIf
|
4833
|
+
# Query Params
|
4834
|
+
query_params = {}
|
4835
|
+
query_params[:page] = opts[:page] if opts[:page]
|
4836
|
+
query_params[:limit] = opts[:limit] if opts[:limit]
|
4837
|
+
|
4838
|
+
# Header Params
|
4839
|
+
header_params = {}
|
4840
|
+
header_params[:accept] = 'application/json'
|
4841
|
+
header_params[:'content-type'] = 'application/json'
|
4842
|
+
# rubocop:enable Style/NegatedIf
|
4843
|
+
|
4844
|
+
post_body = nil
|
4845
|
+
|
4846
|
+
# rubocop:disable Metrics/BlockLength
|
4847
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'IdentityClient#list_tagging_work_request_errors') do
|
4848
|
+
@api_client.call_api(
|
4849
|
+
:GET,
|
4850
|
+
path,
|
4851
|
+
endpoint,
|
4852
|
+
header_params: header_params,
|
4853
|
+
query_params: query_params,
|
4854
|
+
operation_signing_strategy: operation_signing_strategy,
|
4855
|
+
body: post_body,
|
4856
|
+
return_type: 'Array<OCI::Identity::Models::TaggingWorkRequestErrorSummary>'
|
4857
|
+
)
|
4858
|
+
end
|
4859
|
+
# rubocop:enable Metrics/BlockLength
|
4860
|
+
end
|
4861
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
4862
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
4863
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
4864
|
+
|
4865
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
4866
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
4867
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
4868
|
+
|
4869
|
+
|
4870
|
+
# Gets the logs for a work request.
|
4871
|
+
#
|
4872
|
+
# @param [String] work_request_id The OCID of the work request.
|
4873
|
+
# @param [Hash] opts the optional parameters
|
4874
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
4875
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
4876
|
+
# @option opts [String] :page The value of the `opc-next-page` response header from the previous \"List\" call.
|
4877
|
+
#
|
4878
|
+
# @option opts [Integer] :limit The maximum number of items to return in a paginated \"List\" call.
|
4879
|
+
#
|
4880
|
+
# @return [Response] A Response object with data of type Array<{OCI::Identity::Models::TaggingWorkRequestLogSummary TaggingWorkRequestLogSummary}>
|
4881
|
+
def list_tagging_work_request_logs(work_request_id, opts = {})
|
4882
|
+
logger.debug 'Calling operation IdentityClient#list_tagging_work_request_logs.' if logger
|
4883
|
+
|
4884
|
+
raise "Missing the required parameter 'work_request_id' when calling list_tagging_work_request_logs." if work_request_id.nil?
|
4885
|
+
raise "Parameter value for 'work_request_id' must not be blank" if OCI::Internal::Util.blank_string?(work_request_id)
|
4886
|
+
|
4887
|
+
path = '/taggingWorkRequests/{workRequestId}/logs'.sub('{workRequestId}', work_request_id.to_s)
|
4888
|
+
operation_signing_strategy = :standard
|
4889
|
+
|
4890
|
+
# rubocop:disable Style/NegatedIf
|
4891
|
+
# Query Params
|
4892
|
+
query_params = {}
|
4893
|
+
query_params[:page] = opts[:page] if opts[:page]
|
4894
|
+
query_params[:limit] = opts[:limit] if opts[:limit]
|
4895
|
+
|
4896
|
+
# Header Params
|
4897
|
+
header_params = {}
|
4898
|
+
header_params[:accept] = 'application/json'
|
4899
|
+
header_params[:'content-type'] = 'application/json'
|
4900
|
+
# rubocop:enable Style/NegatedIf
|
4901
|
+
|
4902
|
+
post_body = nil
|
4903
|
+
|
4904
|
+
# rubocop:disable Metrics/BlockLength
|
4905
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'IdentityClient#list_tagging_work_request_logs') do
|
4906
|
+
@api_client.call_api(
|
4907
|
+
:GET,
|
4908
|
+
path,
|
4909
|
+
endpoint,
|
4910
|
+
header_params: header_params,
|
4911
|
+
query_params: query_params,
|
4912
|
+
operation_signing_strategy: operation_signing_strategy,
|
4913
|
+
body: post_body,
|
4914
|
+
return_type: 'Array<OCI::Identity::Models::TaggingWorkRequestLogSummary>'
|
4915
|
+
)
|
4916
|
+
end
|
4917
|
+
# rubocop:enable Metrics/BlockLength
|
4918
|
+
end
|
4919
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
4920
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
4921
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
4922
|
+
|
4923
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
4924
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
4925
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
4926
|
+
|
4927
|
+
|
4928
|
+
# Lists the tagging work requests in compartment.
|
4929
|
+
#
|
4930
|
+
# @param [String] compartment_id The OCID of the compartment (remember that the tenancy is simply the root compartment).
|
4931
|
+
#
|
4932
|
+
# @param [Hash] opts the optional parameters
|
4933
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
4934
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
4935
|
+
# @option opts [String] :page The value of the `opc-next-page` response header from the previous \"List\" call.
|
4936
|
+
#
|
4937
|
+
# @option opts [Integer] :limit The maximum number of items to return in a paginated \"List\" call.
|
4938
|
+
#
|
4939
|
+
# @option opts [String] :resource_identifier The identifier of the resource the work request affects.
|
4940
|
+
# @return [Response] A Response object with data of type Array<{OCI::Identity::Models::TaggingWorkRequestSummary TaggingWorkRequestSummary}>
|
4941
|
+
def list_tagging_work_requests(compartment_id, opts = {})
|
4942
|
+
logger.debug 'Calling operation IdentityClient#list_tagging_work_requests.' if logger
|
4943
|
+
|
4944
|
+
raise "Missing the required parameter 'compartment_id' when calling list_tagging_work_requests." if compartment_id.nil?
|
4945
|
+
|
4946
|
+
path = '/taggingWorkRequests/'
|
4947
|
+
operation_signing_strategy = :standard
|
4948
|
+
|
4949
|
+
# rubocop:disable Style/NegatedIf
|
4950
|
+
# Query Params
|
4951
|
+
query_params = {}
|
4952
|
+
query_params[:compartmentId] = compartment_id
|
4953
|
+
query_params[:page] = opts[:page] if opts[:page]
|
4954
|
+
query_params[:limit] = opts[:limit] if opts[:limit]
|
4955
|
+
query_params[:resourceIdentifier] = opts[:resource_identifier] if opts[:resource_identifier]
|
4956
|
+
|
4957
|
+
# Header Params
|
4958
|
+
header_params = {}
|
4959
|
+
header_params[:accept] = 'application/json'
|
4960
|
+
header_params[:'content-type'] = 'application/json'
|
4961
|
+
# rubocop:enable Style/NegatedIf
|
4962
|
+
|
4963
|
+
post_body = nil
|
4964
|
+
|
4965
|
+
# rubocop:disable Metrics/BlockLength
|
4966
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'IdentityClient#list_tagging_work_requests') do
|
4967
|
+
@api_client.call_api(
|
4968
|
+
:GET,
|
4969
|
+
path,
|
4970
|
+
endpoint,
|
4971
|
+
header_params: header_params,
|
4972
|
+
query_params: query_params,
|
4973
|
+
operation_signing_strategy: operation_signing_strategy,
|
4974
|
+
body: post_body,
|
4975
|
+
return_type: 'Array<OCI::Identity::Models::TaggingWorkRequestSummary>'
|
4976
|
+
)
|
4977
|
+
end
|
4978
|
+
# rubocop:enable Metrics/BlockLength
|
4979
|
+
end
|
4980
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
4981
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
4982
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
4983
|
+
|
4984
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
4985
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
4986
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
4987
|
+
|
4988
|
+
|
4666
4989
|
# Lists the tag definitions in the specified tag namespace.
|
4667
4990
|
#
|
4668
4991
|
# @param [String] tag_namespace_id The OCID of the tag namespace.
|
@@ -4929,7 +5252,14 @@ module OCI
|
|
4929
5252
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
4930
5253
|
|
4931
5254
|
|
4932
|
-
# Move the compartment
|
5255
|
+
# Move the compartment to a different parent compartment in the same tenancy. When you move a
|
5256
|
+
# compartment, all its contents (subcompartments and resources) are moved with it. Note that
|
5257
|
+
# the `CompartmentId` that you specify in the path is the compartment that you want to move.
|
5258
|
+
#
|
5259
|
+
# **IMPORTANT**: After you move a compartment to a new parent compartment, the access policies of
|
5260
|
+
# the new parent take effect and the policies of the previous parent no longer apply. Ensure that you
|
5261
|
+
# are aware of the implications for the compartment contents before you move it. For more
|
5262
|
+
# information, see [Moving a Compartment](https://docs.cloud.oracle.com/Content/Identity/Tasks/managingcompartments.htm#MoveCompartment).
|
4933
5263
|
#
|
4934
5264
|
# @param [String] compartment_id The OCID of the compartment.
|
4935
5265
|
# @param [OCI::Identity::Models::MoveCompartmentDetails] move_compartment_details Request object for moving a compartment.
|
@@ -5771,7 +6101,11 @@ module OCI
|
|
5771
6101
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
5772
6102
|
|
5773
6103
|
|
5774
|
-
# Updates the
|
6104
|
+
# Updates the specified tag definition.
|
6105
|
+
#
|
6106
|
+
# Setting a 'validator' will enable enforcement of additional validation on values contained in the specified for
|
6107
|
+
# this definedTag. Any values that were previously set will not be changed, but any new value set for the
|
6108
|
+
# definedTag must pass validation.
|
5775
6109
|
#
|
5776
6110
|
# @param [String] tag_namespace_id The OCID of the tag namespace.
|
5777
6111
|
#
|
@@ -5835,7 +6169,12 @@ module OCI
|
|
5835
6169
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
5836
6170
|
|
5837
6171
|
|
5838
|
-
# Updates the specified tag default.
|
6172
|
+
# Updates the specified tag default. If you specify that a value is required, a value is set
|
6173
|
+
# during resource creation (either by the user creating the resource or another tag defualt).
|
6174
|
+
# If no value is set, resource creation is blocked.
|
6175
|
+
#
|
6176
|
+
# * If the `isRequired` flag is set to \"true\", the value is set during resource creation.
|
6177
|
+
# * If the `isRequired` flag is set to \"false\", the value you enter is set during resource creation.
|
5839
6178
|
#
|
5840
6179
|
# @param [String] tag_default_id The OCID of the tag default.
|
5841
6180
|
# @param [OCI::Identity::Models::UpdateTagDefaultDetails] update_tag_default_details Request object for updating a tag default.
|