oci 2.6.0 → 2.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +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
|
@@ -8,7 +8,9 @@ module OCI
|
|
|
8
8
|
#
|
|
9
9
|
# This class has direct subclasses. If you are using this class as input to a service operations then you should favor using a subclass over the base class
|
|
10
10
|
class ResourceManager::Models::UpdateConfigSourceDetails
|
|
11
|
-
# **[Required]** Terraform configuration
|
|
11
|
+
# **[Required]** Specifies the `configSourceType` for uploading the Terraform configuration.
|
|
12
|
+
# Presently, the .zip file type (`ZIP_UPLOAD`) is the only supported `configSourceType`.
|
|
13
|
+
#
|
|
12
14
|
# @return [String]
|
|
13
15
|
attr_accessor :config_source_type
|
|
14
16
|
|
|
@@ -26,6 +26,11 @@ module OCI
|
|
|
26
26
|
# @return [Hash<String, String>]
|
|
27
27
|
attr_accessor :variables
|
|
28
28
|
|
|
29
|
+
# The version of Terraform to use with the stack. Example: `0.12.x`
|
|
30
|
+
#
|
|
31
|
+
# @return [String]
|
|
32
|
+
attr_accessor :terraform_version
|
|
33
|
+
|
|
29
34
|
# Free-form tags associated with this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
|
|
30
35
|
# For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
|
|
31
36
|
# Example: `{\"Department\": \"Finance\"}`
|
|
@@ -48,6 +53,7 @@ module OCI
|
|
|
48
53
|
'description': :'description',
|
|
49
54
|
'config_source': :'configSource',
|
|
50
55
|
'variables': :'variables',
|
|
56
|
+
'terraform_version': :'terraformVersion',
|
|
51
57
|
'freeform_tags': :'freeformTags',
|
|
52
58
|
'defined_tags': :'definedTags'
|
|
53
59
|
# rubocop:enable Style/SymbolLiteral
|
|
@@ -62,6 +68,7 @@ module OCI
|
|
|
62
68
|
'description': :'String',
|
|
63
69
|
'config_source': :'OCI::ResourceManager::Models::UpdateConfigSourceDetails',
|
|
64
70
|
'variables': :'Hash<String, String>',
|
|
71
|
+
'terraform_version': :'String',
|
|
65
72
|
'freeform_tags': :'Hash<String, String>',
|
|
66
73
|
'defined_tags': :'Hash<String, Hash<String, Object>>'
|
|
67
74
|
# rubocop:enable Style/SymbolLiteral
|
|
@@ -78,6 +85,7 @@ module OCI
|
|
|
78
85
|
# @option attributes [String] :description The value to assign to the {#description} property
|
|
79
86
|
# @option attributes [OCI::ResourceManager::Models::UpdateConfigSourceDetails] :config_source The value to assign to the {#config_source} property
|
|
80
87
|
# @option attributes [Hash<String, String>] :variables The value to assign to the {#variables} property
|
|
88
|
+
# @option attributes [String] :terraform_version The value to assign to the {#terraform_version} property
|
|
81
89
|
# @option attributes [Hash<String, String>] :freeform_tags The value to assign to the {#freeform_tags} property
|
|
82
90
|
# @option attributes [Hash<String, Hash<String, Object>>] :defined_tags The value to assign to the {#defined_tags} property
|
|
83
91
|
def initialize(attributes = {})
|
|
@@ -102,6 +110,12 @@ module OCI
|
|
|
102
110
|
|
|
103
111
|
self.variables = attributes[:'variables'] if attributes[:'variables']
|
|
104
112
|
|
|
113
|
+
self.terraform_version = attributes[:'terraformVersion'] if attributes[:'terraformVersion']
|
|
114
|
+
|
|
115
|
+
raise 'You cannot provide both :terraformVersion and :terraform_version' if attributes.key?(:'terraformVersion') && attributes.key?(:'terraform_version')
|
|
116
|
+
|
|
117
|
+
self.terraform_version = attributes[:'terraform_version'] if attributes[:'terraform_version']
|
|
118
|
+
|
|
105
119
|
self.freeform_tags = attributes[:'freeformTags'] if attributes[:'freeformTags']
|
|
106
120
|
|
|
107
121
|
raise 'You cannot provide both :freeformTags and :freeform_tags' if attributes.key?(:'freeformTags') && attributes.key?(:'freeform_tags')
|
|
@@ -130,6 +144,7 @@ module OCI
|
|
|
130
144
|
description == other.description &&
|
|
131
145
|
config_source == other.config_source &&
|
|
132
146
|
variables == other.variables &&
|
|
147
|
+
terraform_version == other.terraform_version &&
|
|
133
148
|
freeform_tags == other.freeform_tags &&
|
|
134
149
|
defined_tags == other.defined_tags
|
|
135
150
|
end
|
|
@@ -147,7 +162,7 @@ module OCI
|
|
|
147
162
|
# Calculates hash code according to all attributes.
|
|
148
163
|
# @return [Fixnum] Hash code
|
|
149
164
|
def hash
|
|
150
|
-
[display_name, description, config_source, variables, freeform_tags, defined_tags].hash
|
|
165
|
+
[display_name, description, config_source, variables, terraform_version, freeform_tags, defined_tags].hash
|
|
151
166
|
end
|
|
152
167
|
# rubocop:enable Metrics/AbcSize, Layout/EmptyLines
|
|
153
168
|
|
|
@@ -28,11 +28,11 @@ module OCI
|
|
|
28
28
|
# @return [String]
|
|
29
29
|
attr_reader :status
|
|
30
30
|
|
|
31
|
-
# **[Required]** OCID identifying this work request.
|
|
31
|
+
# **[Required]** The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) identifying this work request.
|
|
32
32
|
# @return [String]
|
|
33
33
|
attr_accessor :id
|
|
34
34
|
|
|
35
|
-
# **[Required]** The OCID of the compartment containing this work request.
|
|
35
|
+
# **[Required]** The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing this work request.
|
|
36
36
|
# @return [String]
|
|
37
37
|
attr_accessor :compartment_id
|
|
38
38
|
|
|
@@ -27,7 +27,7 @@ module OCI
|
|
|
27
27
|
# @return [String]
|
|
28
28
|
attr_accessor :entity_type
|
|
29
29
|
|
|
30
|
-
# **[Required]** An OCID or other unique identifier for the resource.
|
|
30
|
+
# **[Required]** An [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) or other unique identifier for the resource.
|
|
31
31
|
# @return [String]
|
|
32
32
|
attr_accessor :identifier
|
|
33
33
|
|
|
@@ -15,11 +15,11 @@ module OCI
|
|
|
15
15
|
# @return [String]
|
|
16
16
|
attr_accessor :status
|
|
17
17
|
|
|
18
|
-
# **[Required]** OCID identifying this work request.
|
|
18
|
+
# **[Required]** The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) identifying this work request.
|
|
19
19
|
# @return [String]
|
|
20
20
|
attr_accessor :id
|
|
21
21
|
|
|
22
|
-
# **[Required]** Unique identifier (OCID) of the compartment that contains the work request.
|
|
22
|
+
# **[Required]** Unique identifier ([OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)) of the compartment that contains the work request.
|
|
23
23
|
# @return [String]
|
|
24
24
|
attr_accessor :compartment_id
|
|
25
25
|
|
|
@@ -10,19 +10,36 @@ module OCI
|
|
|
10
10
|
end
|
|
11
11
|
|
|
12
12
|
# Require models
|
|
13
|
+
require 'oci/resource_manager/models/apply_job_operation_details'
|
|
14
|
+
require 'oci/resource_manager/models/apply_job_operation_details_summary'
|
|
13
15
|
require 'oci/resource_manager/models/apply_job_plan_resolution'
|
|
14
16
|
require 'oci/resource_manager/models/change_stack_compartment_details'
|
|
15
17
|
require 'oci/resource_manager/models/config_source'
|
|
18
|
+
require 'oci/resource_manager/models/create_apply_job_operation_details'
|
|
16
19
|
require 'oci/resource_manager/models/create_config_source_details'
|
|
20
|
+
require 'oci/resource_manager/models/create_destroy_job_operation_details'
|
|
21
|
+
require 'oci/resource_manager/models/create_import_tf_state_job_operation_details'
|
|
17
22
|
require 'oci/resource_manager/models/create_job_details'
|
|
23
|
+
require 'oci/resource_manager/models/create_job_operation_details'
|
|
24
|
+
require 'oci/resource_manager/models/create_plan_job_operation_details'
|
|
18
25
|
require 'oci/resource_manager/models/create_stack_details'
|
|
19
26
|
require 'oci/resource_manager/models/create_zip_upload_config_source_details'
|
|
27
|
+
require 'oci/resource_manager/models/destroy_job_operation_details'
|
|
28
|
+
require 'oci/resource_manager/models/destroy_job_operation_details_summary'
|
|
20
29
|
require 'oci/resource_manager/models/failure_details'
|
|
30
|
+
require 'oci/resource_manager/models/import_tf_state_job_operation_details'
|
|
31
|
+
require 'oci/resource_manager/models/import_tf_state_job_operation_details_summary'
|
|
21
32
|
require 'oci/resource_manager/models/job'
|
|
33
|
+
require 'oci/resource_manager/models/job_operation_details'
|
|
34
|
+
require 'oci/resource_manager/models/job_operation_details_summary'
|
|
22
35
|
require 'oci/resource_manager/models/job_summary'
|
|
23
36
|
require 'oci/resource_manager/models/log_entry'
|
|
37
|
+
require 'oci/resource_manager/models/plan_job_operation_details'
|
|
38
|
+
require 'oci/resource_manager/models/plan_job_operation_details_summary'
|
|
24
39
|
require 'oci/resource_manager/models/stack'
|
|
25
40
|
require 'oci/resource_manager/models/stack_summary'
|
|
41
|
+
require 'oci/resource_manager/models/terraform_version_collection'
|
|
42
|
+
require 'oci/resource_manager/models/terraform_version_summary'
|
|
26
43
|
require 'oci/resource_manager/models/update_config_source_details'
|
|
27
44
|
require 'oci/resource_manager/models/update_job_details'
|
|
28
45
|
require 'oci/resource_manager/models/update_stack_details'
|
|
@@ -112,7 +112,7 @@ module OCI
|
|
|
112
112
|
# Cancellation of the job is not immediate, and may be delayed,
|
|
113
113
|
# or may not happen at all.
|
|
114
114
|
#
|
|
115
|
-
# @param [String] job_id The
|
|
115
|
+
# @param [String] job_id The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the job.
|
|
116
116
|
# @param [Hash] opts the optional parameters
|
|
117
117
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
118
118
|
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
@@ -171,8 +171,8 @@ module OCI
|
|
|
171
171
|
|
|
172
172
|
|
|
173
173
|
# Moves a Stack and it's associated Jobs into a different compartment.
|
|
174
|
-
# @param [String] stack_id The
|
|
175
|
-
# @param [OCI::ResourceManager::Models::ChangeStackCompartmentDetails] change_stack_compartment_details
|
|
174
|
+
# @param [String] stack_id The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the stack.
|
|
175
|
+
# @param [OCI::ResourceManager::Models::ChangeStackCompartmentDetails] change_stack_compartment_details Defines the properties of changeStackCompartment operation.
|
|
176
176
|
# @param [Hash] opts the optional parameters
|
|
177
177
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
178
178
|
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
@@ -303,6 +303,7 @@ module OCI
|
|
|
303
303
|
|
|
304
304
|
# Creates a stack in the specified comparment.
|
|
305
305
|
# Specify the compartment using the compartment ID.
|
|
306
|
+
# For more information, see [Create a Stack](https://docs.cloud.oracle.com/iaas/Content/ResourceManager/Tasks/usingconsole.htm#CreateStack).
|
|
306
307
|
#
|
|
307
308
|
# @param [OCI::ResourceManager::Models::CreateStackDetails] create_stack_details The properties for creating a stack.
|
|
308
309
|
# @param [Hash] opts the optional parameters
|
|
@@ -366,7 +367,7 @@ module OCI
|
|
|
366
367
|
|
|
367
368
|
|
|
368
369
|
# Deletes the specified stack object.
|
|
369
|
-
# @param [String] stack_id The
|
|
370
|
+
# @param [String] stack_id The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the stack.
|
|
370
371
|
# @param [Hash] opts the optional parameters
|
|
371
372
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
372
373
|
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
@@ -425,7 +426,7 @@ module OCI
|
|
|
425
426
|
|
|
426
427
|
|
|
427
428
|
# Returns the specified job along with the job details.
|
|
428
|
-
# @param [String] job_id The
|
|
429
|
+
# @param [String] job_id The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the job.
|
|
429
430
|
# @param [Hash] opts the optional parameters
|
|
430
431
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
431
432
|
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
@@ -481,7 +482,7 @@ module OCI
|
|
|
481
482
|
|
|
482
483
|
# Returns log entries for the specified job in JSON format.
|
|
483
484
|
#
|
|
484
|
-
# @param [String] job_id The
|
|
485
|
+
# @param [String] job_id The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the job.
|
|
485
486
|
# @param [Hash] opts the optional parameters
|
|
486
487
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
487
488
|
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
@@ -570,7 +571,7 @@ module OCI
|
|
|
570
571
|
# Returns raw log file for the specified job in text format.
|
|
571
572
|
# Returns a maximum of 100,000 log entries.
|
|
572
573
|
#
|
|
573
|
-
# @param [String] job_id The
|
|
574
|
+
# @param [String] job_id The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the job.
|
|
574
575
|
# @param [Hash] opts the optional parameters
|
|
575
576
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
576
577
|
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
@@ -627,7 +628,7 @@ module OCI
|
|
|
627
628
|
# Returns the Terraform configuration file for the specified job in .zip format.
|
|
628
629
|
# Returns an error if no zip file is found.
|
|
629
630
|
#
|
|
630
|
-
# @param [String] job_id The
|
|
631
|
+
# @param [String] job_id The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the job.
|
|
631
632
|
# @param [Hash] opts the optional parameters
|
|
632
633
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
633
634
|
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
@@ -728,7 +729,7 @@ module OCI
|
|
|
728
729
|
|
|
729
730
|
|
|
730
731
|
# Returns the Terraform state for the specified job.
|
|
731
|
-
# @param [String] job_id The
|
|
732
|
+
# @param [String] job_id The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the job.
|
|
732
733
|
# @param [Hash] opts the optional parameters
|
|
733
734
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
734
735
|
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
@@ -829,7 +830,7 @@ module OCI
|
|
|
829
830
|
|
|
830
831
|
|
|
831
832
|
# Gets a stack using the stack ID.
|
|
832
|
-
# @param [String] stack_id The
|
|
833
|
+
# @param [String] stack_id The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the stack.
|
|
833
834
|
# @param [Hash] opts the optional parameters
|
|
834
835
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
835
836
|
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
@@ -886,7 +887,7 @@ module OCI
|
|
|
886
887
|
# Returns the Terraform configuration file in .zip format for the specified stack.
|
|
887
888
|
# Returns an error if no zip file is found.
|
|
888
889
|
#
|
|
889
|
-
# @param [String] stack_id The
|
|
890
|
+
# @param [String] stack_id The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the stack.
|
|
890
891
|
# @param [Hash] opts the optional parameters
|
|
891
892
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
892
893
|
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
@@ -986,8 +987,109 @@ module OCI
|
|
|
986
987
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
987
988
|
|
|
988
989
|
|
|
990
|
+
# Returns the Terraform state for the specified stack.
|
|
991
|
+
# @param [String] stack_id The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the stack.
|
|
992
|
+
# @param [Hash] opts the optional parameters
|
|
993
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
994
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
995
|
+
# @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
|
|
996
|
+
# particular request, please provide the request ID.
|
|
997
|
+
#
|
|
998
|
+
# @option opts [String, IO] :response_target Streaming http body into a file (specified by file name or File object) or IO object if the block is not given
|
|
999
|
+
# @option [Block] &block Streaming http body to the block
|
|
1000
|
+
# @return [Response] A Response object with data of type String if response_target and block are not given, otherwise with nil data
|
|
1001
|
+
def get_stack_tf_state(stack_id, opts = {}, &block)
|
|
1002
|
+
logger.debug 'Calling operation ResourceManagerClient#get_stack_tf_state.' if logger
|
|
1003
|
+
|
|
1004
|
+
raise "Missing the required parameter 'stack_id' when calling get_stack_tf_state." if stack_id.nil?
|
|
1005
|
+
raise "Parameter value for 'stack_id' must not be blank" if OCI::Internal::Util.blank_string?(stack_id)
|
|
1006
|
+
|
|
1007
|
+
path = '/stacks/{stackId}/tfState'.sub('{stackId}', stack_id.to_s)
|
|
1008
|
+
operation_signing_strategy = :standard
|
|
1009
|
+
|
|
1010
|
+
# rubocop:disable Style/NegatedIf
|
|
1011
|
+
# Query Params
|
|
1012
|
+
query_params = {}
|
|
1013
|
+
|
|
1014
|
+
# Header Params
|
|
1015
|
+
header_params = {}
|
|
1016
|
+
header_params[:accept] = opts[:accept] if opts[:accept]
|
|
1017
|
+
header_params[:accept] ||= 'application/octet-stream'
|
|
1018
|
+
header_params[:'accept-encoding'] = opts[:accept_encoding] if opts[:accept_encoding]
|
|
1019
|
+
header_params[:'content-type'] = 'application/json'
|
|
1020
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
|
1021
|
+
# rubocop:enable Style/NegatedIf
|
|
1022
|
+
|
|
1023
|
+
post_body = nil
|
|
1024
|
+
|
|
1025
|
+
# rubocop:disable Metrics/BlockLength
|
|
1026
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'ResourceManagerClient#get_stack_tf_state') do
|
|
1027
|
+
if !block.nil?
|
|
1028
|
+
@api_client.call_api(
|
|
1029
|
+
:GET,
|
|
1030
|
+
path,
|
|
1031
|
+
endpoint,
|
|
1032
|
+
header_params: header_params,
|
|
1033
|
+
query_params: query_params,
|
|
1034
|
+
operation_signing_strategy: operation_signing_strategy,
|
|
1035
|
+
body: post_body,
|
|
1036
|
+
return_type: 'Stream',
|
|
1037
|
+
&block
|
|
1038
|
+
)
|
|
1039
|
+
elsif opts[:response_target]
|
|
1040
|
+
if opts[:response_target].respond_to? :write
|
|
1041
|
+
@api_client.call_api(
|
|
1042
|
+
:GET,
|
|
1043
|
+
path,
|
|
1044
|
+
endpoint,
|
|
1045
|
+
header_params: header_params,
|
|
1046
|
+
query_params: query_params,
|
|
1047
|
+
operation_signing_strategy: operation_signing_strategy,
|
|
1048
|
+
body: post_body,
|
|
1049
|
+
return_type: 'Stream',
|
|
1050
|
+
&proc { |chunk, _response| opts[:response_target].write(chunk) }
|
|
1051
|
+
)
|
|
1052
|
+
elsif opts[:response_target].is_a?(String)
|
|
1053
|
+
File.open(opts[:response_target], 'wb') do |output|
|
|
1054
|
+
return @api_client.call_api(
|
|
1055
|
+
:GET,
|
|
1056
|
+
path,
|
|
1057
|
+
endpoint,
|
|
1058
|
+
header_params: header_params,
|
|
1059
|
+
query_params: query_params,
|
|
1060
|
+
operation_signing_strategy: operation_signing_strategy,
|
|
1061
|
+
body: post_body,
|
|
1062
|
+
return_type: 'Stream',
|
|
1063
|
+
&proc { |chunk, _response| output.write(chunk) }
|
|
1064
|
+
)
|
|
1065
|
+
end
|
|
1066
|
+
end
|
|
1067
|
+
else
|
|
1068
|
+
@api_client.call_api(
|
|
1069
|
+
:GET,
|
|
1070
|
+
path,
|
|
1071
|
+
endpoint,
|
|
1072
|
+
header_params: header_params,
|
|
1073
|
+
query_params: query_params,
|
|
1074
|
+
operation_signing_strategy: operation_signing_strategy,
|
|
1075
|
+
body: post_body,
|
|
1076
|
+
return_type: 'String'
|
|
1077
|
+
)
|
|
1078
|
+
end
|
|
1079
|
+
end
|
|
1080
|
+
# rubocop:enable Metrics/BlockLength
|
|
1081
|
+
end
|
|
1082
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
1083
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
1084
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
|
1085
|
+
|
|
1086
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
1087
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
1088
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
1089
|
+
|
|
1090
|
+
|
|
989
1091
|
# Return the given work request.
|
|
990
|
-
# @param [String] work_request_id The OCID of the work request.
|
|
1092
|
+
# @param [String] work_request_id The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request.
|
|
991
1093
|
# @param [Hash] opts the optional parameters
|
|
992
1094
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
993
1095
|
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
@@ -1043,9 +1145,9 @@ module OCI
|
|
|
1043
1145
|
|
|
1044
1146
|
# Returns a list of jobs in a stack or compartment, ordered by time created.
|
|
1045
1147
|
#
|
|
1046
|
-
# - To list all jobs in a stack, provide the stack OCID.
|
|
1047
|
-
# - To list all jobs in a compartment, provide the compartment OCID.
|
|
1048
|
-
# - To return a specific job, provide the job OCID.
|
|
1148
|
+
# - To list all jobs in a stack, provide the stack [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
|
|
1149
|
+
# - To list all jobs in a compartment, provide the compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
|
|
1150
|
+
# - To return a specific job, provide the job [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
|
|
1049
1151
|
#
|
|
1050
1152
|
# @param [Hash] opts the optional parameters
|
|
1051
1153
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
@@ -1053,10 +1155,10 @@ module OCI
|
|
|
1053
1155
|
# @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
|
|
1054
1156
|
# particular request, please provide the request ID.
|
|
1055
1157
|
#
|
|
1056
|
-
# @option opts [String] :compartment_id The compartment OCID on which to filter.
|
|
1057
|
-
# @option opts [String] :stack_id The stack OCID on which to filter.
|
|
1158
|
+
# @option opts [String] :compartment_id The compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) on which to filter.
|
|
1159
|
+
# @option opts [String] :stack_id The stack [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) on which to filter.
|
|
1058
1160
|
#
|
|
1059
|
-
# @option opts [String] :id The OCID on which to query for jobs.
|
|
1161
|
+
# @option opts [String] :id The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) on which to query for jobs.
|
|
1060
1162
|
#
|
|
1061
1163
|
# @option opts [String] :lifecycle_state A filter that returns all resources that match the specified lifecycle state.
|
|
1062
1164
|
# The state value is case-insensitive.
|
|
@@ -1160,8 +1262,8 @@ module OCI
|
|
|
1160
1262
|
# @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
|
|
1161
1263
|
# particular request, please provide the request ID.
|
|
1162
1264
|
#
|
|
1163
|
-
# @option opts [String] :compartment_id The compartment OCID on which to filter.
|
|
1164
|
-
# @option opts [String] :id The OCID on which to query for a stack.
|
|
1265
|
+
# @option opts [String] :compartment_id The compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) on which to filter.
|
|
1266
|
+
# @option opts [String] :id The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) on which to query for a stack.
|
|
1165
1267
|
#
|
|
1166
1268
|
# @option opts [String] :lifecycle_state A filter that returns only those resources that match the specified
|
|
1167
1269
|
# lifecycle state. The state value is case-insensitive.
|
|
@@ -1172,7 +1274,6 @@ module OCI
|
|
|
1172
1274
|
# - DELETING
|
|
1173
1275
|
# - DELETED
|
|
1174
1276
|
#
|
|
1175
|
-
#
|
|
1176
1277
|
# @option opts [String] :display_name Display name on which to query.
|
|
1177
1278
|
# @option opts [String] :sort_by Specifies the field on which to sort.
|
|
1178
1279
|
# By default, `TIMECREATED` is ordered descending.
|
|
@@ -1253,13 +1354,68 @@ module OCI
|
|
|
1253
1354
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
1254
1355
|
|
|
1255
1356
|
|
|
1357
|
+
# Returns a list of supported Terraform versions for use with stacks.
|
|
1358
|
+
#
|
|
1359
|
+
# @param [Hash] opts the optional parameters
|
|
1360
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
1361
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
1362
|
+
# @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
|
|
1363
|
+
# particular request, please provide the request ID.
|
|
1364
|
+
#
|
|
1365
|
+
# @option opts [String] :compartment_id The compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) on which to filter.
|
|
1366
|
+
# @return [Response] A Response object with data of type {OCI::ResourceManager::Models::TerraformVersionCollection TerraformVersionCollection}
|
|
1367
|
+
def list_terraform_versions(opts = {})
|
|
1368
|
+
logger.debug 'Calling operation ResourceManagerClient#list_terraform_versions.' if logger
|
|
1369
|
+
|
|
1370
|
+
|
|
1371
|
+
path = '/terraformVersions'
|
|
1372
|
+
operation_signing_strategy = :standard
|
|
1373
|
+
|
|
1374
|
+
# rubocop:disable Style/NegatedIf
|
|
1375
|
+
# Query Params
|
|
1376
|
+
query_params = {}
|
|
1377
|
+
query_params[:compartmentId] = opts[:compartment_id] if opts[:compartment_id]
|
|
1378
|
+
|
|
1379
|
+
# Header Params
|
|
1380
|
+
header_params = {}
|
|
1381
|
+
header_params[:accept] = 'application/json'
|
|
1382
|
+
header_params[:'content-type'] = 'application/json'
|
|
1383
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
|
1384
|
+
# rubocop:enable Style/NegatedIf
|
|
1385
|
+
|
|
1386
|
+
post_body = nil
|
|
1387
|
+
|
|
1388
|
+
# rubocop:disable Metrics/BlockLength
|
|
1389
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'ResourceManagerClient#list_terraform_versions') do
|
|
1390
|
+
@api_client.call_api(
|
|
1391
|
+
:GET,
|
|
1392
|
+
path,
|
|
1393
|
+
endpoint,
|
|
1394
|
+
header_params: header_params,
|
|
1395
|
+
query_params: query_params,
|
|
1396
|
+
operation_signing_strategy: operation_signing_strategy,
|
|
1397
|
+
body: post_body,
|
|
1398
|
+
return_type: 'OCI::ResourceManager::Models::TerraformVersionCollection'
|
|
1399
|
+
)
|
|
1400
|
+
end
|
|
1401
|
+
# rubocop:enable Metrics/BlockLength
|
|
1402
|
+
end
|
|
1403
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
1404
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
1405
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
|
1406
|
+
|
|
1407
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
1408
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
1409
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
1410
|
+
|
|
1411
|
+
|
|
1256
1412
|
# Return a (paginated) list of errors for a given work request.
|
|
1257
1413
|
#
|
|
1258
|
-
# @param [String] work_request_id The OCID of the work request.
|
|
1414
|
+
# @param [String] work_request_id The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request.
|
|
1259
1415
|
# @param [Hash] opts the optional parameters
|
|
1260
1416
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
1261
1417
|
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
1262
|
-
# @option opts [String] :compartment_id The compartment OCID on which to filter.
|
|
1418
|
+
# @option opts [String] :compartment_id The compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) on which to filter.
|
|
1263
1419
|
# @option opts [Integer] :limit The number of items returned in a paginated `List` call. For information about pagination, see
|
|
1264
1420
|
# [List Pagination](https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
|
|
1265
1421
|
#
|
|
@@ -1329,11 +1485,11 @@ module OCI
|
|
|
1329
1485
|
|
|
1330
1486
|
# Return a (paginated) list of logs for a given work request.
|
|
1331
1487
|
#
|
|
1332
|
-
# @param [String] work_request_id The OCID of the work request.
|
|
1488
|
+
# @param [String] work_request_id The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request.
|
|
1333
1489
|
# @param [Hash] opts the optional parameters
|
|
1334
1490
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
1335
1491
|
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
1336
|
-
# @option opts [String] :compartment_id The compartment OCID on which to filter.
|
|
1492
|
+
# @option opts [String] :compartment_id The compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) on which to filter.
|
|
1337
1493
|
# @option opts [Integer] :limit The number of items returned in a paginated `List` call. For information about pagination, see
|
|
1338
1494
|
# [List Pagination](https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
|
|
1339
1495
|
#
|
|
@@ -1403,11 +1559,11 @@ module OCI
|
|
|
1403
1559
|
|
|
1404
1560
|
# Lists the work requests in a given compartment or for a given resource.
|
|
1405
1561
|
#
|
|
1406
|
-
# @param [String] compartment_id The compartment OCID on which to filter.
|
|
1562
|
+
# @param [String] compartment_id The compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) on which to filter.
|
|
1407
1563
|
# @param [Hash] opts the optional parameters
|
|
1408
1564
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
1409
1565
|
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
1410
|
-
# @option opts [String] :resource_id The OCID of the resource.
|
|
1566
|
+
# @option opts [String] :resource_id The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the resource.
|
|
1411
1567
|
# @option opts [Integer] :limit The number of items returned in a paginated `List` call. For information about pagination, see
|
|
1412
1568
|
# [List Pagination](https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
|
|
1413
1569
|
#
|
|
@@ -1468,7 +1624,7 @@ module OCI
|
|
|
1468
1624
|
|
|
1469
1625
|
|
|
1470
1626
|
# Updates the specified job.
|
|
1471
|
-
# @param [String] job_id The
|
|
1627
|
+
# @param [String] job_id The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the job.
|
|
1472
1628
|
# @param [OCI::ResourceManager::Models::UpdateJobDetails] update_job_details Updates properties for the specified job.
|
|
1473
1629
|
# @param [Hash] opts the optional parameters
|
|
1474
1630
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
@@ -1532,8 +1688,10 @@ module OCI
|
|
|
1532
1688
|
# Updates the specified stack object.
|
|
1533
1689
|
# Use `UpdateStack` when you update your Terraform configuration
|
|
1534
1690
|
# and want your changes to be reflected in the execution plan.
|
|
1691
|
+
# For more information, see [Update a Stack](https://docs.cloud.oracle.com/iaas/Content/ResourceManager/Tasks/usingconsole.htm#UpdateStack) and
|
|
1692
|
+
# [Edit or Delete a Stack](https://docs.cloud.oracle.com/iaas/Content/ResourceManager/Tasks/usingconsole.htm#EditStack).
|
|
1535
1693
|
#
|
|
1536
|
-
# @param [String] stack_id The
|
|
1694
|
+
# @param [String] stack_id The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the stack.
|
|
1537
1695
|
# @param [OCI::ResourceManager::Models::UpdateStackDetails] update_stack_details Updated information provided for the stack.
|
|
1538
1696
|
#
|
|
1539
1697
|
# @param [Hash] opts the optional parameters
|