oci 2.11.0 → 2.12.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 +1 -0
- data/lib/oci.rb +1 -0
- data/lib/oci/analytics/analytics_client.rb +15 -0
- data/lib/oci/announcements_service/announcement_client.rb +4 -0
- data/lib/oci/apigateway/api_gateway_client.rb +15 -0
- data/lib/oci/apigateway/deployment_client.rb +6 -0
- data/lib/oci/apigateway/gateway_client.rb +6 -0
- data/lib/oci/apigateway/work_requests_client.rb +5 -0
- data/lib/oci/application_migration/application_migration_client.rb +19 -0
- data/lib/oci/audit/audit_client.rb +4 -1
- data/lib/oci/audit/models/audit_event.rb +8 -7
- data/lib/oci/audit/models/data.rb +0 -107
- data/lib/oci/audit/models/identity.rb +0 -17
- data/lib/oci/audit/models/request.rb +0 -46
- data/lib/oci/audit/models/response.rb +0 -34
- data/lib/oci/audit/models/state_change.rb +0 -9
- data/lib/oci/auth/signers/ephemeral_resource_principals_signer.rb +0 -1
- data/lib/oci/auth/signers/resource_principals_signer.rb +1 -1
- data/lib/oci/autoscaling/auto_scaling_client.rb +11 -0
- data/lib/oci/bds/bds_client.rb +16 -0
- data/lib/oci/blockchain/blockchain.rb +1 -0
- data/lib/oci/blockchain/blockchain_platform_client.rb +57 -0
- data/lib/oci/blockchain/models/blockchain_platform.rb +36 -3
- data/lib/oci/blockchain/models/blockchain_platform_by_hostname.rb +1 -1
- data/lib/oci/blockchain/models/blockchain_platform_summary.rb +1 -1
- data/lib/oci/blockchain/models/create_blockchain_platform_details.rb +2 -2
- data/lib/oci/blockchain/models/scaled_blockchain_platform_preview.rb +1 -1
- data/lib/oci/blockchain/models/work_request.rb +1 -0
- data/lib/oci/blockchain/models/work_request_resource.rb +18 -4
- data/lib/oci/blockchain/models/work_request_resource_sub_type_detail.rb +206 -0
- data/lib/oci/blockchain/models/work_request_summary.rb +1 -0
- data/lib/oci/budget/budget_client.rb +10 -0
- data/lib/oci/cims/incident_client.rb +7 -0
- data/lib/oci/cims/user_client.rb +1 -0
- data/lib/oci/cloud_guard/cloud_guard_client.rb +82 -0
- data/lib/oci/cloud_guard/models/rule_summary.rb +1 -0
- data/lib/oci/compute_instance_agent/compute_instance_agent_client.rb +6 -0
- data/lib/oci/container_engine/container_engine_client.rb +18 -0
- data/lib/oci/core/blockstorage_client.rb +53 -0
- data/lib/oci/core/compute_client.rb +71 -0
- data/lib/oci/core/compute_management_client.rb +28 -0
- data/lib/oci/core/virtual_network_client.rb +194 -0
- data/lib/oci/data_catalog/data_catalog.rb +5 -0
- data/lib/oci/data_catalog/data_catalog_client.rb +307 -4
- data/lib/oci/data_catalog/models/attribute.rb +45 -4
- data/lib/oci/data_catalog/models/attribute_summary.rb +45 -4
- data/lib/oci/data_catalog/models/faceted_search_aggregation.rb +55 -4
- data/lib/oci/{database/models/create_autonomous_data_warehouse_backup_details.rb → data_catalog/models/rule_attribute.rb} +25 -18
- data/lib/oci/data_catalog/models/rule_collection.rb +161 -0
- data/lib/oci/data_catalog/models/rule_origin_type.rb +12 -0
- data/lib/oci/data_catalog/models/rule_summary.rb +439 -0
- data/lib/oci/data_catalog/models/rule_type.rb +12 -0
- data/lib/oci/data_catalog/models/search_result_collection.rb +18 -4
- data/lib/oci/data_flow/data_flow_client.rb +24 -0
- data/lib/oci/data_integration/data_integration_client.rb +92 -0
- data/lib/oci/data_safe/data_safe.rb +8 -0
- data/lib/oci/data_safe/data_safe_client.rb +606 -13
- data/lib/oci/data_safe/data_safe_client_composite_operations.rb +198 -0
- data/lib/oci/data_safe/models/change_on_prem_connector_compartment_details.rb +154 -0
- data/lib/oci/data_safe/models/create_data_safe_private_endpoint_details.rb +1 -1
- data/lib/oci/{database/models/update_autonomous_data_warehouse_details.rb → data_safe/models/create_on_prem_connector_details.rb} +27 -49
- data/lib/oci/data_safe/models/data_safe_configuration.rb +5 -5
- data/lib/oci/data_safe/models/data_safe_private_endpoint.rb +2 -2
- data/lib/oci/data_safe/models/data_safe_private_endpoint_summary.rb +1 -1
- data/lib/oci/data_safe/models/enable_data_safe_configuration_details.rb +6 -40
- data/lib/oci/{database/models/generate_autonomous_data_warehouse_wallet_details.rb → data_safe/models/generate_on_prem_connector_configuration_details.rb} +3 -4
- data/lib/oci/{database/models/autonomous_data_warehouse_backup_summary.rb → data_safe/models/on_prem_connector.rb} +98 -98
- data/lib/oci/data_safe/models/on_prem_connector_lifecycle_state.rb +16 -0
- data/lib/oci/{database/models/autonomous_data_warehouse_backup.rb → data_safe/models/on_prem_connector_summary.rb} +90 -99
- data/lib/oci/data_safe/models/service_list.rb +1 -0
- data/lib/oci/data_safe/models/update_data_safe_private_endpoint_details.rb +1 -1
- data/lib/oci/data_safe/models/update_on_prem_connector_details.rb +198 -0
- data/lib/oci/data_safe/models/update_on_prem_connector_wallet_details.rb +156 -0
- data/lib/oci/data_safe/models/work_request.rb +11 -6
- data/lib/oci/data_safe/models/work_request_error.rb +3 -4
- data/lib/oci/data_safe/models/work_request_log_entry.rb +3 -3
- data/lib/oci/data_safe/models/work_request_summary.rb +13 -8
- data/lib/oci/data_science/data_science_client.rb +34 -0
- data/lib/oci/database/database.rb +4 -8
- data/lib/oci/database/database_client.rb +523 -766
- data/lib/oci/database/database_client_composite_operations.rb +1299 -330
- data/lib/oci/database/models/activate_exadata_infrastructure_details.rb +2 -1
- data/lib/oci/database/models/autonomous_container_database.rb +3 -3
- data/lib/oci/database/models/autonomous_container_database_dataguard_association.rb +2 -2
- data/lib/oci/database/models/autonomous_container_database_summary.rb +3 -3
- data/lib/oci/database/models/autonomous_data_warehouse.rb +8 -21
- data/lib/oci/database/models/autonomous_data_warehouse_summary.rb +8 -21
- data/lib/oci/database/models/autonomous_database.rb +35 -3
- data/lib/oci/database/models/autonomous_database_apex.rb +169 -0
- data/lib/oci/database/models/autonomous_database_dataguard_association.rb +2 -2
- data/lib/oci/database/models/autonomous_database_summary.rb +35 -3
- data/lib/oci/database/models/autonomous_db_preview_version_summary.rb +2 -0
- data/lib/oci/database/models/autonomous_db_version_summary.rb +2 -0
- data/lib/oci/database/models/backup.rb +19 -5
- data/lib/oci/database/models/backup_summary.rb +19 -5
- data/lib/oci/database/models/change_cloud_exadata_infrastructure_compartment_details.rb +1 -1
- data/lib/oci/database/models/change_cloud_vm_cluster_compartment_details.rb +1 -1
- data/lib/oci/database/models/cloud_exadata_infrastructure.rb +2 -1
- data/lib/oci/database/models/cloud_exadata_infrastructure_summary.rb +2 -1
- data/lib/oci/database/models/cloud_vm_cluster.rb +1 -1
- data/lib/oci/database/models/cloud_vm_cluster_summary.rb +1 -1
- data/lib/oci/database/models/create_autonomous_container_database_details.rb +1 -1
- data/lib/oci/database/models/create_autonomous_database_base.rb +7 -3
- data/lib/oci/database/models/create_cloud_exadata_infrastructure_details.rb +1 -1
- data/lib/oci/database/models/create_cloud_vm_cluster_details.rb +2 -1
- data/lib/oci/database/models/create_database_base.rb +33 -4
- data/lib/oci/database/models/create_database_from_backup.rb +9 -1
- data/lib/oci/database/models/create_db_home_base.rb +30 -1
- data/lib/oci/database/models/create_db_home_with_db_system_id_details.rb +9 -1
- data/lib/oci/database/models/create_db_home_with_db_system_id_from_backup_details.rb +9 -1
- data/lib/oci/database/models/create_db_home_with_db_system_id_from_database_details.rb +9 -1
- data/lib/oci/database/models/create_db_home_with_vm_cluster_id_details.rb +9 -1
- data/lib/oci/database/models/create_db_home_with_vm_cluster_id_from_backup_details.rb +9 -1
- data/lib/oci/database/models/create_exadata_infrastructure_details.rb +16 -2
- data/lib/oci/database/models/create_new_database_details.rb +9 -1
- data/lib/oci/database/models/create_vm_cluster_details.rb +2 -1
- data/lib/oci/database/models/database.rb +16 -2
- data/lib/oci/database/models/database_summary.rb +16 -2
- data/lib/oci/database/models/db_home.rb +16 -2
- data/lib/oci/database/models/db_home_summary.rb +16 -2
- data/lib/oci/database/models/db_system.rb +16 -2
- data/lib/oci/database/models/db_system_summary.rb +16 -2
- data/lib/oci/database/models/exadata_db_system_migration.rb +1 -1
- data/lib/oci/database/models/exadata_db_system_migration_summary.rb +1 -1
- data/lib/oci/database/models/exadata_infrastructure.rb +15 -1
- data/lib/oci/database/models/exadata_infrastructure_summary.rb +18 -2
- data/lib/oci/database/models/flex_component_collection.rb +150 -0
- data/lib/oci/database/models/flex_component_summary.rb +197 -0
- data/lib/oci/database/models/generate_recommended_network_details.rb +1 -1
- data/lib/oci/database/models/launch_db_system_base.rb +30 -1
- data/lib/oci/database/models/launch_db_system_details.rb +9 -1
- data/lib/oci/database/models/launch_db_system_from_backup_details.rb +9 -1
- data/lib/oci/database/models/launch_db_system_from_database_details.rb +9 -1
- data/lib/oci/database/models/launch_db_system_from_db_system_details.rb +9 -1
- data/lib/oci/database/models/maintenance_run.rb +2 -1
- data/lib/oci/database/models/maintenance_run_summary.rb +2 -1
- data/lib/oci/database/models/migrate_vault_key_details.rb +170 -0
- data/lib/oci/database/models/update_autonomous_container_database_details.rb +1 -1
- data/lib/oci/database/models/update_autonomous_database_details.rb +6 -2
- data/lib/oci/database/models/update_cloud_exadata_infrastructure_details.rb +1 -1
- data/lib/oci/database/models/update_cloud_vm_cluster_details.rb +3 -2
- data/lib/oci/database/models/update_database_details.rb +1 -1
- data/lib/oci/database/models/update_details.rb +1 -1
- data/lib/oci/database/models/update_exadata_infrastructure_details.rb +16 -2
- data/lib/oci/database/models/update_history_entry_summary.rb +2 -1
- data/lib/oci/database/models/update_summary.rb +1 -1
- data/lib/oci/database/models/update_vm_cluster_details.rb +3 -1
- data/lib/oci/database/models/update_vm_cluster_network_details.rb +1 -1
- data/lib/oci/database/models/vm_cluster.rb +2 -1
- data/lib/oci/database/models/vm_cluster_network_details.rb +1 -1
- data/lib/oci/database/models/vm_cluster_network_summary.rb +2 -1
- data/lib/oci/database/models/vm_cluster_summary.rb +1 -0
- data/lib/oci/database/models/vm_network_details.rb +2 -1
- data/lib/oci/dns/dns_client.rb +49 -0
- data/lib/oci/dts/appliance_export_job_client.rb +6 -0
- data/lib/oci/dts/shipping_vendors_client.rb +1 -0
- data/lib/oci/dts/transfer_appliance_client.rb +8 -0
- data/lib/oci/dts/transfer_appliance_entitlement_client.rb +3 -0
- data/lib/oci/dts/transfer_device_client.rb +5 -0
- data/lib/oci/dts/transfer_job_client.rb +6 -0
- data/lib/oci/dts/transfer_package_client.rb +7 -0
- data/lib/oci/email/email_client.rb +10 -0
- data/lib/oci/events/events_client.rb +6 -0
- data/lib/oci/file_storage/file_storage_client.rb +25 -0
- data/lib/oci/functions/functions_invoke_client.rb +1 -0
- data/lib/oci/functions/functions_management_client.rb +11 -0
- data/lib/oci/healthchecks/health_checks_client.rb +17 -0
- data/lib/oci/identity/identity_client.rb +120 -0
- data/lib/oci/identity/models/saml2_identity_provider.rb +12 -1
- data/lib/oci/integration/integration.rb +3 -0
- data/lib/oci/integration/integration_instance_client.rb +12 -0
- data/lib/oci/integration/models/create_custom_endpoint_details.rb +167 -0
- data/lib/oci/integration/models/create_integration_instance_details.rb +44 -1
- data/lib/oci/integration/models/custom_endpoint_details.rb +180 -0
- data/lib/oci/integration/models/integration_instance.rb +43 -1
- data/lib/oci/integration/models/integration_instance_summary.rb +43 -1
- data/lib/oci/integration/models/update_custom_endpoint_details.rb +167 -0
- data/lib/oci/integration/models/update_integration_instance_details.rb +47 -4
- data/lib/oci/key_management/kms_crypto_client.rb +4 -0
- data/lib/oci/key_management/kms_management_client.rb +31 -0
- data/lib/oci/key_management/kms_vault_client.rb +11 -0
- data/lib/oci/limits/limits_client.rb +4 -0
- data/lib/oci/limits/quotas_client.rb +5 -0
- data/lib/oci/load_balancer/load_balancer.rb +1 -0
- data/lib/oci/load_balancer/load_balancer_client.rb +56 -0
- data/lib/oci/load_balancer/models/create_load_balancer_details.rb +16 -1
- data/lib/oci/load_balancer/models/load_balancer.rb +14 -1
- data/lib/oci/load_balancer/models/shape_details.rb +180 -0
- data/lib/oci/load_balancer/models/ssl_configuration.rb +1 -1
- data/lib/oci/load_balancer/models/ssl_configuration_details.rb +1 -1
- data/lib/oci/load_balancer/models/update_load_balancer_shape_details.rb +22 -4
- data/lib/oci/log_analytics/log_analytics_client.rb +126 -0
- data/lib/oci/logging/logging_management_client.rb +32 -0
- data/lib/oci/loggingingestion/logging_client.rb +1 -0
- data/lib/oci/loggingsearch/log_search_client.rb +1 -0
- data/lib/oci/management_agent/management_agent.rb +2 -0
- data/lib/oci/management_agent/management_agent_client.rb +101 -0
- data/lib/oci/management_agent/models/availability_history_summary.rb +217 -0
- data/lib/oci/management_agent/models/availability_status.rb +12 -0
- data/lib/oci/management_agent/models/management_agent.rb +35 -1
- data/lib/oci/management_agent/models/management_agent_summary.rb +49 -1
- data/lib/oci/management_dashboard/dashx_apis_client.rb +14 -0
- data/lib/oci/marketplace/marketplace_client.rb +16 -0
- data/lib/oci/monitoring/monitoring_client.rb +12 -0
- data/lib/oci/mysql/channels_client.rb +625 -0
- data/lib/oci/mysql/channels_client_composite_operations.rb +271 -0
- data/lib/oci/mysql/db_backups_client.rb +11 -0
- data/lib/oci/mysql/db_system_client.rb +17 -0
- data/lib/oci/mysql/models/backup.rb +16 -3
- data/lib/oci/mysql/models/backup_summary.rb +17 -3
- data/lib/oci/mysql/models/ca_certificate.rb +189 -0
- data/lib/oci/mysql/models/channel.rb +340 -0
- data/lib/oci/mysql/models/channel_source.rb +189 -0
- data/lib/oci/mysql/models/channel_source_mysql.rb +230 -0
- data/lib/oci/mysql/models/channel_summary.rb +304 -0
- data/lib/oci/mysql/models/channel_target.rb +189 -0
- data/lib/oci/mysql/models/channel_target_db_system.rb +193 -0
- data/lib/oci/mysql/models/configuration.rb +2 -2
- data/lib/oci/mysql/models/configuration_summary.rb +2 -2
- data/lib/oci/mysql/models/configuration_variables.rb +30 -15
- data/lib/oci/mysql/models/create_backup_details.rb +2 -2
- data/lib/oci/mysql/models/create_backup_policy_details.rb +3 -0
- data/lib/oci/mysql/models/create_channel_details.rb +248 -0
- data/lib/oci/mysql/models/create_channel_source_details.rb +170 -0
- data/lib/oci/mysql/models/create_channel_source_from_mysql_details.rb +224 -0
- data/lib/oci/mysql/models/create_channel_target_details.rb +170 -0
- data/lib/oci/mysql/models/create_channel_target_from_db_system_details.rb +193 -0
- data/lib/oci/mysql/models/create_configuration_details.rb +2 -3
- data/lib/oci/mysql/models/create_db_system_details.rb +1 -1
- data/lib/oci/mysql/models/create_db_system_source_details.rb +1 -0
- data/lib/oci/mysql/models/create_db_system_source_from_none_details.rb +146 -0
- data/lib/oci/mysql/models/db_system.rb +15 -3
- data/lib/oci/mysql/models/db_system_snapshot.rb +437 -0
- data/lib/oci/mysql/models/db_system_source.rb +1 -0
- data/lib/oci/mysql/models/db_system_source_from_none.rb +146 -0
- data/lib/oci/mysql/models/db_system_summary.rb +2 -2
- data/lib/oci/mysql/models/pem_ca_certificate.rb +158 -0
- data/lib/oci/mysql/models/update_backup_details.rb +2 -2
- data/lib/oci/mysql/models/update_backup_policy_details.rb +3 -0
- data/lib/oci/mysql/models/update_channel_details.rb +234 -0
- data/lib/oci/mysql/models/update_channel_source_details.rb +171 -0
- data/lib/oci/mysql/models/update_channel_source_from_mysql_details.rb +224 -0
- data/lib/oci/mysql/models/update_channel_target_details.rb +170 -0
- data/lib/oci/mysql/models/update_channel_target_from_db_system_details.rb +179 -0
- data/lib/oci/mysql/models/update_configuration_details.rb +2 -2
- data/lib/oci/mysql/mysql.rb +23 -0
- data/lib/oci/mysql/mysqlaas_client.rb +7 -0
- data/lib/oci/mysql/work_requests_client.rb +4 -0
- data/lib/oci/nosql/nosql_client.rb +22 -0
- data/lib/oci/object_storage/models/object_lifecycle_rule.rb +11 -9
- data/lib/oci/object_storage/object_storage_client.rb +55 -6
- data/lib/oci/oce/oce_instance_client.rb +10 -0
- data/lib/oci/ocvp/esxi_host_client.rb +5 -0
- data/lib/oci/ocvp/sddc_client.rb +7 -0
- data/lib/oci/ocvp/work_request_client.rb +4 -0
- data/lib/oci/oda/oda_client.rb +12 -0
- data/lib/oci/ons/notification_control_plane_client.rb +6 -0
- data/lib/oci/ons/notification_data_plane_client.rb +10 -0
- data/lib/oci/opsi/models/sql_insight_aggregation.rb +2 -1
- data/lib/oci/opsi/models/sql_insight_thresholds.rb +21 -4
- data/lib/oci/opsi/operations_insights_client.rb +22 -3
- data/lib/oci/optimizer/optimizer_client.rb +22 -0
- data/lib/oci/os_management/os_management_client.rb +53 -0
- data/lib/oci/regions.rb +3 -0
- data/lib/oci/resource_manager/models/configuration_source_provider.rb +5 -1
- data/lib/oci/resource_manager/models/configuration_source_provider_summary.rb +3 -1
- data/lib/oci/resource_manager/models/create_configuration_source_provider_details.rb +4 -1
- data/lib/oci/resource_manager/models/create_github_access_token_configuration_source_provider_details.rb +200 -0
- data/lib/oci/resource_manager/models/create_gitlab_access_token_configuration_source_provider_details.rb +3 -3
- data/lib/oci/resource_manager/models/github_access_token_configuration_source_provider.rb +198 -0
- data/lib/oci/resource_manager/models/github_access_token_configuration_source_provider_summary.rb +198 -0
- data/lib/oci/resource_manager/models/gitlab_access_token_configuration_source_provider.rb +2 -2
- data/lib/oci/resource_manager/models/gitlab_access_token_configuration_source_provider_summary.rb +2 -2
- data/lib/oci/resource_manager/models/update_configuration_source_provider_details.rb +4 -1
- data/lib/oci/resource_manager/models/update_github_access_token_configuration_source_provider_details.rb +196 -0
- data/lib/oci/resource_manager/models/update_gitlab_access_token_configuration_source_provider_details.rb +3 -3
- data/lib/oci/resource_manager/resource_manager.rb +4 -0
- data/lib/oci/resource_manager/resource_manager_client.rb +36 -2
- data/lib/oci/resource_search/resource_search_client.rb +3 -0
- data/lib/oci/rover/models/change_rover_cluster_compartment_details.rb +155 -0
- data/lib/oci/{database/models/autonomous_data_warehouse_console_token_details.rb → rover/models/change_rover_entitlement_compartment_details.rb} +13 -23
- data/lib/oci/rover/models/change_rover_node_compartment_details.rb +155 -0
- data/lib/oci/rover/models/create_rover_cluster_details.rb +459 -0
- data/lib/oci/rover/models/create_rover_entitlement_details.rb +320 -0
- data/lib/oci/rover/models/create_rover_node_details.rb +501 -0
- data/lib/oci/rover/models/enclosure_type.rb +11 -0
- data/lib/oci/rover/models/lifecycle_state.rb +15 -0
- data/lib/oci/rover/models/node_type.rb +11 -0
- data/lib/oci/rover/models/rover_cluster.rb +610 -0
- data/lib/oci/rover/models/rover_cluster_certificate.rb +150 -0
- data/lib/oci/{database/models/restore_autonomous_data_warehouse_details.rb → rover/models/rover_cluster_collection.rb} +11 -12
- data/lib/oci/{database/models/create_autonomous_data_warehouse_details.rb → rover/models/rover_cluster_summary.rb} +99 -84
- data/lib/oci/rover/models/rover_entitlement.rb +363 -0
- data/lib/oci/rover/models/rover_entitlement_collection.rb +150 -0
- data/lib/oci/rover/models/rover_entitlement_summary.rb +285 -0
- data/lib/oci/rover/models/rover_node.rb +661 -0
- data/lib/oci/rover/models/rover_node_action_set_key_details.rb +154 -0
- data/lib/oci/rover/models/rover_node_certificate.rb +150 -0
- data/lib/oci/rover/models/rover_node_collection.rb +150 -0
- data/lib/oci/rover/models/rover_node_encryption_key.rb +154 -0
- data/lib/oci/rover/models/rover_node_get_rpt.rb +168 -0
- data/lib/oci/rover/models/rover_node_set_key.rb +154 -0
- data/lib/oci/rover/models/rover_node_summary.rb +323 -0
- data/lib/oci/rover/models/rover_workload.rb +264 -0
- data/lib/oci/rover/models/shipping_address.rb +276 -0
- data/lib/oci/rover/models/sort_orders.rb +11 -0
- data/lib/oci/rover/models/update_rover_cluster_details.rb +445 -0
- data/lib/oci/rover/models/update_rover_entitlement_details.rb +306 -0
- data/lib/oci/rover/models/update_rover_node_details.rb +487 -0
- data/lib/oci/rover/rover.rb +54 -0
- data/lib/oci/rover/rover_cluster_client.rb +549 -0
- data/lib/oci/rover/rover_cluster_client_composite_operations.rb +144 -0
- data/lib/oci/rover/rover_entitlement_client.rb +514 -0
- data/lib/oci/rover/rover_entitlement_client_composite_operations.rb +144 -0
- data/lib/oci/rover/rover_node_client.rb +738 -0
- data/lib/oci/rover/rover_node_client_composite_operations.rb +144 -0
- data/lib/oci/rover/util.rb +3 -0
- data/lib/oci/sch/service_connector_client.rb +12 -0
- data/lib/oci/secrets/secrets_client.rb +2 -0
- data/lib/oci/streaming/stream_admin_client.rb +18 -0
- data/lib/oci/streaming/stream_client.rb +8 -0
- data/lib/oci/tenant_manager_control_plane/link_client.rb +3 -0
- data/lib/oci/tenant_manager_control_plane/recipient_invitation_client.rb +5 -0
- data/lib/oci/tenant_manager_control_plane/sender_invitation_client.rb +5 -0
- data/lib/oci/tenant_manager_control_plane/work_request_client.rb +4 -0
- data/lib/oci/usage_api/usageapi_client.rb +2 -0
- data/lib/oci/vault/vaults_client.rb +11 -0
- data/lib/oci/version.rb +1 -1
- data/lib/oci/waas/redirect_client.rb +6 -0
- data/lib/oci/waas/waas_client.rb +66 -0
- data/lib/oci/work_requests/work_request_client.rb +4 -0
- metadata +91 -10
|
@@ -28,6 +28,7 @@ require 'oci/resource_manager/models/create_config_source_details'
|
|
|
28
28
|
require 'oci/resource_manager/models/create_configuration_source_provider_details'
|
|
29
29
|
require 'oci/resource_manager/models/create_destroy_job_operation_details'
|
|
30
30
|
require 'oci/resource_manager/models/create_git_config_source_details'
|
|
31
|
+
require 'oci/resource_manager/models/create_github_access_token_configuration_source_provider_details'
|
|
31
32
|
require 'oci/resource_manager/models/create_gitlab_access_token_configuration_source_provider_details'
|
|
32
33
|
require 'oci/resource_manager/models/create_import_tf_state_job_operation_details'
|
|
33
34
|
require 'oci/resource_manager/models/create_job_details'
|
|
@@ -40,6 +41,8 @@ require 'oci/resource_manager/models/destroy_job_operation_details_summary'
|
|
|
40
41
|
require 'oci/resource_manager/models/failure_details'
|
|
41
42
|
require 'oci/resource_manager/models/git_config_source'
|
|
42
43
|
require 'oci/resource_manager/models/git_config_source_record'
|
|
44
|
+
require 'oci/resource_manager/models/github_access_token_configuration_source_provider'
|
|
45
|
+
require 'oci/resource_manager/models/github_access_token_configuration_source_provider_summary'
|
|
43
46
|
require 'oci/resource_manager/models/gitlab_access_token_configuration_source_provider'
|
|
44
47
|
require 'oci/resource_manager/models/gitlab_access_token_configuration_source_provider_summary'
|
|
45
48
|
require 'oci/resource_manager/models/import_tf_state_job_operation_details'
|
|
@@ -62,6 +65,7 @@ require 'oci/resource_manager/models/terraform_version_summary'
|
|
|
62
65
|
require 'oci/resource_manager/models/update_config_source_details'
|
|
63
66
|
require 'oci/resource_manager/models/update_configuration_source_provider_details'
|
|
64
67
|
require 'oci/resource_manager/models/update_git_config_source_details'
|
|
68
|
+
require 'oci/resource_manager/models/update_github_access_token_configuration_source_provider_details'
|
|
65
69
|
require 'oci/resource_manager/models/update_gitlab_access_token_configuration_source_provider_details'
|
|
66
70
|
require 'oci/resource_manager/models/update_job_details'
|
|
67
71
|
require 'oci/resource_manager/models/update_stack_details'
|
|
@@ -117,6 +117,7 @@ module OCI
|
|
|
117
117
|
# will be updated or deleted only if the etag you provide matches the resource's current etag value.
|
|
118
118
|
#
|
|
119
119
|
# @return [Response] A Response object with data of type nil
|
|
120
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/resourcemanager/cancel_job.rb.html) to see an example of how to use cancel_job API.
|
|
120
121
|
def cancel_job(job_id, opts = {})
|
|
121
122
|
logger.debug 'Calling operation ResourceManagerClient#cancel_job.' if logger
|
|
122
123
|
|
|
@@ -187,6 +188,7 @@ module OCI
|
|
|
187
188
|
# creation request may be rejected.
|
|
188
189
|
#
|
|
189
190
|
# @return [Response] A Response object with data of type nil
|
|
191
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/resourcemanager/change_configuration_source_provider_compartment.rb.html) to see an example of how to use change_configuration_source_provider_compartment API.
|
|
190
192
|
def change_configuration_source_provider_compartment(configuration_source_provider_id, change_configuration_source_provider_compartment_details, opts = {})
|
|
191
193
|
logger.debug 'Calling operation ResourceManagerClient#change_configuration_source_provider_compartment.' if logger
|
|
192
194
|
|
|
@@ -256,6 +258,7 @@ module OCI
|
|
|
256
258
|
# creation request may be rejected.
|
|
257
259
|
#
|
|
258
260
|
# @return [Response] A Response object with data of type nil
|
|
261
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/resourcemanager/change_stack_compartment.rb.html) to see an example of how to use change_stack_compartment API.
|
|
259
262
|
def change_stack_compartment(stack_id, change_stack_compartment_details, opts = {})
|
|
260
263
|
logger.debug 'Calling operation ResourceManagerClient#change_stack_compartment.' if logger
|
|
261
264
|
|
|
@@ -323,6 +326,7 @@ module OCI
|
|
|
323
326
|
# creation request may be rejected.
|
|
324
327
|
#
|
|
325
328
|
# @return [Response] A Response object with data of type {OCI::ResourceManager::Models::ConfigurationSourceProvider ConfigurationSourceProvider}
|
|
329
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/resourcemanager/create_configuration_source_provider.rb.html) to see an example of how to use create_configuration_source_provider API.
|
|
326
330
|
def create_configuration_source_provider(create_configuration_source_provider_details, opts = {})
|
|
327
331
|
logger.debug 'Calling operation ResourceManagerClient#create_configuration_source_provider.' if logger
|
|
328
332
|
|
|
@@ -385,6 +389,7 @@ module OCI
|
|
|
385
389
|
# creation request may be rejected.
|
|
386
390
|
#
|
|
387
391
|
# @return [Response] A Response object with data of type {OCI::ResourceManager::Models::Job Job}
|
|
392
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/resourcemanager/create_job.rb.html) to see an example of how to use create_job API.
|
|
388
393
|
def create_job(create_job_details, opts = {})
|
|
389
394
|
logger.debug 'Calling operation ResourceManagerClient#create_job.' if logger
|
|
390
395
|
|
|
@@ -433,8 +438,8 @@ module OCI
|
|
|
433
438
|
|
|
434
439
|
|
|
435
440
|
# Creates a stack in the specified compartment.
|
|
436
|
-
# You can create a stack from a Terraform configuration
|
|
437
|
-
# The Terraform configuration
|
|
441
|
+
# You can create a stack from a Terraform configuration.
|
|
442
|
+
# The Terraform configuration can be directly uploaded or referenced from a source code control system.
|
|
438
443
|
# You can also create a stack from an existing compartment.
|
|
439
444
|
# For more information, see
|
|
440
445
|
# [To create a stack](https://docs.cloud.oracle.com/iaas/Content/ResourceManager/Tasks/managingstacksandjobs.htm#CreateStack).
|
|
@@ -453,6 +458,7 @@ module OCI
|
|
|
453
458
|
# creation request may be rejected.
|
|
454
459
|
#
|
|
455
460
|
# @return [Response] A Response object with data of type {OCI::ResourceManager::Models::Stack Stack}
|
|
461
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/resourcemanager/create_stack.rb.html) to see an example of how to use create_stack API.
|
|
456
462
|
def create_stack(create_stack_details, opts = {})
|
|
457
463
|
logger.debug 'Calling operation ResourceManagerClient#create_stack.' if logger
|
|
458
464
|
|
|
@@ -514,6 +520,7 @@ module OCI
|
|
|
514
520
|
# will be updated or deleted only if the etag you provide matches the resource's current etag value.
|
|
515
521
|
#
|
|
516
522
|
# @return [Response] A Response object with data of type nil
|
|
523
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/resourcemanager/delete_configuration_source_provider.rb.html) to see an example of how to use delete_configuration_source_provider API.
|
|
517
524
|
def delete_configuration_source_provider(configuration_source_provider_id, opts = {})
|
|
518
525
|
logger.debug 'Calling operation ResourceManagerClient#delete_configuration_source_provider.' if logger
|
|
519
526
|
|
|
@@ -573,6 +580,7 @@ module OCI
|
|
|
573
580
|
# will be updated or deleted only if the etag you provide matches the resource's current etag value.
|
|
574
581
|
#
|
|
575
582
|
# @return [Response] A Response object with data of type nil
|
|
583
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/resourcemanager/delete_stack.rb.html) to see an example of how to use delete_stack API.
|
|
576
584
|
def delete_stack(stack_id, opts = {})
|
|
577
585
|
logger.debug 'Calling operation ResourceManagerClient#delete_stack.' if logger
|
|
578
586
|
|
|
@@ -638,6 +646,7 @@ module OCI
|
|
|
638
646
|
# creation request may be rejected.
|
|
639
647
|
#
|
|
640
648
|
# @return [Response] A Response object with data of type nil
|
|
649
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/resourcemanager/detect_stack_drift.rb.html) to see an example of how to use detect_stack_drift API.
|
|
641
650
|
def detect_stack_drift(stack_id, opts = {})
|
|
642
651
|
logger.debug 'Calling operation ResourceManagerClient#detect_stack_drift.' if logger
|
|
643
652
|
|
|
@@ -696,6 +705,7 @@ module OCI
|
|
|
696
705
|
# particular request, please provide the request ID.
|
|
697
706
|
#
|
|
698
707
|
# @return [Response] A Response object with data of type {OCI::ResourceManager::Models::ConfigurationSourceProvider ConfigurationSourceProvider}
|
|
708
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/resourcemanager/get_configuration_source_provider.rb.html) to see an example of how to use get_configuration_source_provider API.
|
|
699
709
|
def get_configuration_source_provider(configuration_source_provider_id, opts = {})
|
|
700
710
|
logger.debug 'Calling operation ResourceManagerClient#get_configuration_source_provider.' if logger
|
|
701
711
|
|
|
@@ -751,6 +761,7 @@ module OCI
|
|
|
751
761
|
# particular request, please provide the request ID.
|
|
752
762
|
#
|
|
753
763
|
# @return [Response] A Response object with data of type {OCI::ResourceManager::Models::Job Job}
|
|
764
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/resourcemanager/get_job.rb.html) to see an example of how to use get_job API.
|
|
754
765
|
def get_job(job_id, opts = {})
|
|
755
766
|
logger.debug 'Calling operation ResourceManagerClient#get_job.' if logger
|
|
756
767
|
|
|
@@ -828,6 +839,7 @@ module OCI
|
|
|
828
839
|
# Example: `2020-02-01T12:00:00.000Z`
|
|
829
840
|
#
|
|
830
841
|
# @return [Response] A Response object with data of type Array<{OCI::ResourceManager::Models::LogEntry LogEntry}>
|
|
842
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/resourcemanager/get_job_logs.rb.html) to see an example of how to use get_job_logs API.
|
|
831
843
|
def get_job_logs(job_id, opts = {})
|
|
832
844
|
logger.debug 'Calling operation ResourceManagerClient#get_job_logs.' if logger
|
|
833
845
|
|
|
@@ -900,6 +912,7 @@ module OCI
|
|
|
900
912
|
# particular request, please provide the request ID.
|
|
901
913
|
#
|
|
902
914
|
# @return [Response] A Response object with data of type String
|
|
915
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/resourcemanager/get_job_logs_content.rb.html) to see an example of how to use get_job_logs_content API.
|
|
903
916
|
def get_job_logs_content(job_id, opts = {})
|
|
904
917
|
logger.debug 'Calling operation ResourceManagerClient#get_job_logs_content.' if logger
|
|
905
918
|
|
|
@@ -959,6 +972,7 @@ module OCI
|
|
|
959
972
|
# @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
|
|
960
973
|
# @option [Block] &block Streaming http body to the block
|
|
961
974
|
# @return [Response] A Response object with data of type String if response_target and block are not given, otherwise with nil data
|
|
975
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/resourcemanager/get_job_tf_config.rb.html) to see an example of how to use get_job_tf_config API.
|
|
962
976
|
def get_job_tf_config(job_id, opts = {}, &block)
|
|
963
977
|
logger.debug 'Calling operation ResourceManagerClient#get_job_tf_config.' if logger
|
|
964
978
|
|
|
@@ -1060,6 +1074,7 @@ module OCI
|
|
|
1060
1074
|
# @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
|
|
1061
1075
|
# @option [Block] &block Streaming http body to the block
|
|
1062
1076
|
# @return [Response] A Response object with data of type String if response_target and block are not given, otherwise with nil data
|
|
1077
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/resourcemanager/get_job_tf_state.rb.html) to see an example of how to use get_job_tf_state API.
|
|
1063
1078
|
def get_job_tf_state(job_id, opts = {}, &block)
|
|
1064
1079
|
logger.debug 'Calling operation ResourceManagerClient#get_job_tf_state.' if logger
|
|
1065
1080
|
|
|
@@ -1159,6 +1174,7 @@ module OCI
|
|
|
1159
1174
|
# particular request, please provide the request ID.
|
|
1160
1175
|
#
|
|
1161
1176
|
# @return [Response] A Response object with data of type {OCI::ResourceManager::Models::Stack Stack}
|
|
1177
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/resourcemanager/get_stack.rb.html) to see an example of how to use get_stack API.
|
|
1162
1178
|
def get_stack(stack_id, opts = {})
|
|
1163
1179
|
logger.debug 'Calling operation ResourceManagerClient#get_stack.' if logger
|
|
1164
1180
|
|
|
@@ -1218,6 +1234,7 @@ module OCI
|
|
|
1218
1234
|
# @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
|
|
1219
1235
|
# @option [Block] &block Streaming http body to the block
|
|
1220
1236
|
# @return [Response] A Response object with data of type String if response_target and block are not given, otherwise with nil data
|
|
1237
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/resourcemanager/get_stack_tf_config.rb.html) to see an example of how to use get_stack_tf_config API.
|
|
1221
1238
|
def get_stack_tf_config(stack_id, opts = {}, &block)
|
|
1222
1239
|
logger.debug 'Calling operation ResourceManagerClient#get_stack_tf_config.' if logger
|
|
1223
1240
|
|
|
@@ -1319,6 +1336,7 @@ module OCI
|
|
|
1319
1336
|
# @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
|
|
1320
1337
|
# @option [Block] &block Streaming http body to the block
|
|
1321
1338
|
# @return [Response] A Response object with data of type String if response_target and block are not given, otherwise with nil data
|
|
1339
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/resourcemanager/get_stack_tf_state.rb.html) to see an example of how to use get_stack_tf_state API.
|
|
1322
1340
|
def get_stack_tf_state(stack_id, opts = {}, &block)
|
|
1323
1341
|
logger.debug 'Calling operation ResourceManagerClient#get_stack_tf_state.' if logger
|
|
1324
1342
|
|
|
@@ -1418,6 +1436,7 @@ module OCI
|
|
|
1418
1436
|
# particular request, please provide the request ID.
|
|
1419
1437
|
#
|
|
1420
1438
|
# @return [Response] A Response object with data of type {OCI::ResourceManager::Models::WorkRequest WorkRequest}
|
|
1439
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/resourcemanager/get_work_request.rb.html) to see an example of how to use get_work_request API.
|
|
1421
1440
|
def get_work_request(work_request_id, opts = {})
|
|
1422
1441
|
logger.debug 'Calling operation ResourceManagerClient#get_work_request.' if logger
|
|
1423
1442
|
|
|
@@ -1494,7 +1513,10 @@ module OCI
|
|
|
1494
1513
|
# @option opts [String] :page The value of the `opc-next-page` response header from the preceding `List` call.
|
|
1495
1514
|
# For information about pagination, see [List Pagination](https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
|
|
1496
1515
|
#
|
|
1516
|
+
# @option opts [String] :config_source_provider_type A filter to return only configuration source providers of the specified type (GitHub or GitLab).
|
|
1517
|
+
#
|
|
1497
1518
|
# @return [Response] A Response object with data of type {OCI::ResourceManager::Models::ConfigurationSourceProviderCollection ConfigurationSourceProviderCollection}
|
|
1519
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/resourcemanager/list_configuration_source_providers.rb.html) to see an example of how to use list_configuration_source_providers API.
|
|
1498
1520
|
def list_configuration_source_providers(opts = {})
|
|
1499
1521
|
logger.debug 'Calling operation ResourceManagerClient#list_configuration_source_providers.' if logger
|
|
1500
1522
|
|
|
@@ -1520,6 +1542,7 @@ module OCI
|
|
|
1520
1542
|
query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order]
|
|
1521
1543
|
query_params[:limit] = opts[:limit] if opts[:limit]
|
|
1522
1544
|
query_params[:page] = opts[:page] if opts[:page]
|
|
1545
|
+
query_params[:configSourceProviderType] = opts[:config_source_provider_type] if opts[:config_source_provider_type]
|
|
1523
1546
|
|
|
1524
1547
|
# Header Params
|
|
1525
1548
|
header_params = {}
|
|
@@ -1600,6 +1623,7 @@ module OCI
|
|
|
1600
1623
|
# For information about pagination, see [List Pagination](https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
|
|
1601
1624
|
#
|
|
1602
1625
|
# @return [Response] A Response object with data of type Array<{OCI::ResourceManager::Models::JobSummary JobSummary}>
|
|
1626
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/resourcemanager/list_jobs.rb.html) to see an example of how to use list_jobs API.
|
|
1603
1627
|
def list_jobs(opts = {})
|
|
1604
1628
|
logger.debug 'Calling operation ResourceManagerClient#list_jobs.' if logger
|
|
1605
1629
|
|
|
@@ -1676,6 +1700,7 @@ module OCI
|
|
|
1676
1700
|
# @option opts [String] :compartment_id A filter to return only resources that exist in the compartment, identified by [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
|
|
1677
1701
|
#
|
|
1678
1702
|
# @return [Response] A Response object with data of type {OCI::ResourceManager::Models::ResourceDiscoveryServiceCollection ResourceDiscoveryServiceCollection}
|
|
1703
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/resourcemanager/list_resource_discovery_services.rb.html) to see an example of how to use list_resource_discovery_services API.
|
|
1679
1704
|
def list_resource_discovery_services(opts = {})
|
|
1680
1705
|
logger.debug 'Calling operation ResourceManagerClient#list_resource_discovery_services.' if logger
|
|
1681
1706
|
|
|
@@ -1746,6 +1771,7 @@ module OCI
|
|
|
1746
1771
|
# For information about pagination, see [List Pagination](https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
|
|
1747
1772
|
#
|
|
1748
1773
|
# @return [Response] A Response object with data of type {OCI::ResourceManager::Models::StackResourceDriftCollection StackResourceDriftCollection}
|
|
1774
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/resourcemanager/list_stack_resource_drift_details.rb.html) to see an example of how to use list_stack_resource_drift_details API.
|
|
1749
1775
|
def list_stack_resource_drift_details(stack_id, opts = {})
|
|
1750
1776
|
logger.debug 'Calling operation ResourceManagerClient#list_stack_resource_drift_details.' if logger
|
|
1751
1777
|
|
|
@@ -1838,6 +1864,7 @@ module OCI
|
|
|
1838
1864
|
# For information about pagination, see [List Pagination](https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
|
|
1839
1865
|
#
|
|
1840
1866
|
# @return [Response] A Response object with data of type Array<{OCI::ResourceManager::Models::StackSummary StackSummary}>
|
|
1867
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/resourcemanager/list_stacks.rb.html) to see an example of how to use list_stacks API.
|
|
1841
1868
|
def list_stacks(opts = {})
|
|
1842
1869
|
logger.debug 'Calling operation ResourceManagerClient#list_stacks.' if logger
|
|
1843
1870
|
|
|
@@ -1913,6 +1940,7 @@ module OCI
|
|
|
1913
1940
|
# @option opts [String] :compartment_id A filter to return only resources that exist in the compartment, identified by [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
|
|
1914
1941
|
#
|
|
1915
1942
|
# @return [Response] A Response object with data of type {OCI::ResourceManager::Models::TerraformVersionCollection TerraformVersionCollection}
|
|
1943
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/resourcemanager/list_terraform_versions.rb.html) to see an example of how to use list_terraform_versions API.
|
|
1916
1944
|
def list_terraform_versions(opts = {})
|
|
1917
1945
|
logger.debug 'Calling operation ResourceManagerClient#list_terraform_versions.' if logger
|
|
1918
1946
|
|
|
@@ -1979,6 +2007,7 @@ module OCI
|
|
|
1979
2007
|
# particular request, please provide the request ID.
|
|
1980
2008
|
#
|
|
1981
2009
|
# @return [Response] A Response object with data of type Array<{OCI::ResourceManager::Models::WorkRequestError WorkRequestError}>
|
|
2010
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/resourcemanager/list_work_request_errors.rb.html) to see an example of how to use list_work_request_errors API.
|
|
1982
2011
|
def list_work_request_errors(work_request_id, opts = {})
|
|
1983
2012
|
logger.debug 'Calling operation ResourceManagerClient#list_work_request_errors.' if logger
|
|
1984
2013
|
|
|
@@ -2054,6 +2083,7 @@ module OCI
|
|
|
2054
2083
|
# particular request, please provide the request ID.
|
|
2055
2084
|
#
|
|
2056
2085
|
# @return [Response] A Response object with data of type Array<{OCI::ResourceManager::Models::WorkRequestLogEntry WorkRequestLogEntry}>
|
|
2086
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/resourcemanager/list_work_request_logs.rb.html) to see an example of how to use list_work_request_logs API.
|
|
2057
2087
|
def list_work_request_logs(work_request_id, opts = {})
|
|
2058
2088
|
logger.debug 'Calling operation ResourceManagerClient#list_work_request_logs.' if logger
|
|
2059
2089
|
|
|
@@ -2126,6 +2156,7 @@ module OCI
|
|
|
2126
2156
|
# particular request, please provide the request ID.
|
|
2127
2157
|
#
|
|
2128
2158
|
# @return [Response] A Response object with data of type Array<{OCI::ResourceManager::Models::WorkRequestSummary WorkRequestSummary}>
|
|
2159
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/resourcemanager/list_work_requests.rb.html) to see an example of how to use list_work_requests API.
|
|
2129
2160
|
def list_work_requests(compartment_id, opts = {})
|
|
2130
2161
|
logger.debug 'Calling operation ResourceManagerClient#list_work_requests.' if logger
|
|
2131
2162
|
|
|
@@ -2194,6 +2225,7 @@ module OCI
|
|
|
2194
2225
|
# will be updated or deleted only if the etag you provide matches the resource's current etag value.
|
|
2195
2226
|
#
|
|
2196
2227
|
# @return [Response] A Response object with data of type {OCI::ResourceManager::Models::ConfigurationSourceProvider ConfigurationSourceProvider}
|
|
2228
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/resourcemanager/update_configuration_source_provider.rb.html) to see an example of how to use update_configuration_source_provider API.
|
|
2197
2229
|
def update_configuration_source_provider(configuration_source_provider_id, update_configuration_source_provider_details, opts = {})
|
|
2198
2230
|
logger.debug 'Calling operation ResourceManagerClient#update_configuration_source_provider.' if logger
|
|
2199
2231
|
|
|
@@ -2256,6 +2288,7 @@ module OCI
|
|
|
2256
2288
|
# will be updated or deleted only if the etag you provide matches the resource's current etag value.
|
|
2257
2289
|
#
|
|
2258
2290
|
# @return [Response] A Response object with data of type {OCI::ResourceManager::Models::Job Job}
|
|
2291
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/resourcemanager/update_job.rb.html) to see an example of how to use update_job API.
|
|
2259
2292
|
def update_job(job_id, update_job_details, opts = {})
|
|
2260
2293
|
logger.debug 'Calling operation ResourceManagerClient#update_job.' if logger
|
|
2261
2294
|
|
|
@@ -2325,6 +2358,7 @@ module OCI
|
|
|
2325
2358
|
# will be updated or deleted only if the etag you provide matches the resource's current etag value.
|
|
2326
2359
|
#
|
|
2327
2360
|
# @return [Response] A Response object with data of type {OCI::ResourceManager::Models::Stack Stack}
|
|
2361
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/resourcemanager/update_stack.rb.html) to see an example of how to use update_stack API.
|
|
2328
2362
|
def update_stack(stack_id, update_stack_details, opts = {})
|
|
2329
2363
|
logger.debug 'Calling operation ResourceManagerClient#update_stack.' if logger
|
|
2330
2364
|
|
|
@@ -108,6 +108,7 @@ module OCI
|
|
|
108
108
|
# request, please provide the complete request ID.
|
|
109
109
|
#
|
|
110
110
|
# @return [Response] A Response object with data of type {OCI::ResourceSearch::Models::ResourceType ResourceType}
|
|
111
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/resourcesearch/get_resource_type.rb.html) to see an example of how to use get_resource_type API.
|
|
111
112
|
def get_resource_type(name, opts = {})
|
|
112
113
|
logger.debug 'Calling operation ResourceSearchClient#get_resource_type.' if logger
|
|
113
114
|
|
|
@@ -165,6 +166,7 @@ module OCI
|
|
|
165
166
|
# request, please provide the complete request ID.
|
|
166
167
|
#
|
|
167
168
|
# @return [Response] A Response object with data of type Array<{OCI::ResourceSearch::Models::ResourceType ResourceType}>
|
|
169
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/resourcesearch/list_resource_types.rb.html) to see an example of how to use list_resource_types API.
|
|
168
170
|
def list_resource_types(opts = {})
|
|
169
171
|
logger.debug 'Calling operation ResourceSearchClient#list_resource_types.' if logger
|
|
170
172
|
|
|
@@ -227,6 +229,7 @@ module OCI
|
|
|
227
229
|
# request, please provide the complete request ID.
|
|
228
230
|
#
|
|
229
231
|
# @return [Response] A Response object with data of type {OCI::ResourceSearch::Models::ResourceSummaryCollection ResourceSummaryCollection}
|
|
232
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/resourcesearch/search_resources.rb.html) to see an example of how to use search_resources API.
|
|
230
233
|
def search_resources(search_details, opts = {})
|
|
231
234
|
logger.debug 'Calling operation ResourceSearchClient#search_resources.' if logger
|
|
232
235
|
|
|
@@ -0,0 +1,155 @@
|
|
|
1
|
+
# Copyright (c) 2016, 2020, Oracle and/or its affiliates. All rights reserved.
|
|
2
|
+
# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
3
|
+
|
|
4
|
+
require 'date'
|
|
5
|
+
|
|
6
|
+
# rubocop:disable Lint/UnneededCopDisableDirective, Metrics/LineLength
|
|
7
|
+
module OCI
|
|
8
|
+
# Object for moving a cluster to a different compartment.
|
|
9
|
+
class Rover::Models::ChangeRoverClusterCompartmentDetails
|
|
10
|
+
# **[Required]** The [OCID] (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment into which the resources should be moved.
|
|
11
|
+
#
|
|
12
|
+
# @return [String]
|
|
13
|
+
attr_accessor :compartment_id
|
|
14
|
+
|
|
15
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
|
16
|
+
def self.attribute_map
|
|
17
|
+
{
|
|
18
|
+
# rubocop:disable Style/SymbolLiteral
|
|
19
|
+
'compartment_id': :'compartmentId'
|
|
20
|
+
# rubocop:enable Style/SymbolLiteral
|
|
21
|
+
}
|
|
22
|
+
end
|
|
23
|
+
|
|
24
|
+
# Attribute type mapping.
|
|
25
|
+
def self.swagger_types
|
|
26
|
+
{
|
|
27
|
+
# rubocop:disable Style/SymbolLiteral
|
|
28
|
+
'compartment_id': :'String'
|
|
29
|
+
# rubocop:enable Style/SymbolLiteral
|
|
30
|
+
}
|
|
31
|
+
end
|
|
32
|
+
|
|
33
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
34
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines, Style/SymbolLiteral
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
# Initializes the object
|
|
38
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
39
|
+
# @option attributes [String] :compartment_id The value to assign to the {#compartment_id} property
|
|
40
|
+
def initialize(attributes = {})
|
|
41
|
+
return unless attributes.is_a?(Hash)
|
|
42
|
+
|
|
43
|
+
# convert string to symbol for hash key
|
|
44
|
+
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
|
45
|
+
|
|
46
|
+
self.compartment_id = attributes[:'compartmentId'] if attributes[:'compartmentId']
|
|
47
|
+
|
|
48
|
+
raise 'You cannot provide both :compartmentId and :compartment_id' if attributes.key?(:'compartmentId') && attributes.key?(:'compartment_id')
|
|
49
|
+
|
|
50
|
+
self.compartment_id = attributes[:'compartment_id'] if attributes[:'compartment_id']
|
|
51
|
+
end
|
|
52
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
53
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines, Style/SymbolLiteral
|
|
54
|
+
|
|
55
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity, Layout/EmptyLines
|
|
56
|
+
|
|
57
|
+
|
|
58
|
+
# Checks equality by comparing each attribute.
|
|
59
|
+
# @param [Object] other the other object to be compared
|
|
60
|
+
def ==(other)
|
|
61
|
+
return true if equal?(other)
|
|
62
|
+
|
|
63
|
+
self.class == other.class &&
|
|
64
|
+
compartment_id == other.compartment_id
|
|
65
|
+
end
|
|
66
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity, Layout/EmptyLines
|
|
67
|
+
|
|
68
|
+
# @see the `==` method
|
|
69
|
+
# @param [Object] other the other object to be compared
|
|
70
|
+
def eql?(other)
|
|
71
|
+
self == other
|
|
72
|
+
end
|
|
73
|
+
|
|
74
|
+
# rubocop:disable Metrics/AbcSize, Layout/EmptyLines
|
|
75
|
+
|
|
76
|
+
|
|
77
|
+
# Calculates hash code according to all attributes.
|
|
78
|
+
# @return [Fixnum] Hash code
|
|
79
|
+
def hash
|
|
80
|
+
[compartment_id].hash
|
|
81
|
+
end
|
|
82
|
+
# rubocop:enable Metrics/AbcSize, Layout/EmptyLines
|
|
83
|
+
|
|
84
|
+
# rubocop:disable Metrics/AbcSize, Layout/EmptyLines
|
|
85
|
+
|
|
86
|
+
|
|
87
|
+
# Builds the object from hash
|
|
88
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
89
|
+
# @return [Object] Returns the model itself
|
|
90
|
+
def build_from_hash(attributes)
|
|
91
|
+
return nil unless attributes.is_a?(Hash)
|
|
92
|
+
|
|
93
|
+
self.class.swagger_types.each_pair do |key, type|
|
|
94
|
+
if type =~ /^Array<(.*)>/i
|
|
95
|
+
# check to ensure the input is an array given that the the attribute
|
|
96
|
+
# is documented as an array but the input is not
|
|
97
|
+
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
|
98
|
+
public_method("#{key}=").call(
|
|
99
|
+
attributes[self.class.attribute_map[key]]
|
|
100
|
+
.map { |v| OCI::Internal::Util.convert_to_type(Regexp.last_match(1), v) }
|
|
101
|
+
)
|
|
102
|
+
end
|
|
103
|
+
elsif !attributes[self.class.attribute_map[key]].nil?
|
|
104
|
+
public_method("#{key}=").call(
|
|
105
|
+
OCI::Internal::Util.convert_to_type(type, attributes[self.class.attribute_map[key]])
|
|
106
|
+
)
|
|
107
|
+
end
|
|
108
|
+
# or else data not found in attributes(hash), not an issue as the data can be optional
|
|
109
|
+
end
|
|
110
|
+
|
|
111
|
+
self
|
|
112
|
+
end
|
|
113
|
+
# rubocop:enable Metrics/AbcSize, Layout/EmptyLines
|
|
114
|
+
|
|
115
|
+
# Returns the string representation of the object
|
|
116
|
+
# @return [String] String presentation of the object
|
|
117
|
+
def to_s
|
|
118
|
+
to_hash.to_s
|
|
119
|
+
end
|
|
120
|
+
|
|
121
|
+
# Returns the object in the form of hash
|
|
122
|
+
# @return [Hash] Returns the object in the form of hash
|
|
123
|
+
def to_hash
|
|
124
|
+
hash = {}
|
|
125
|
+
self.class.attribute_map.each_pair do |attr, param|
|
|
126
|
+
value = public_method(attr).call
|
|
127
|
+
next if value.nil? && !instance_variable_defined?("@#{attr}")
|
|
128
|
+
|
|
129
|
+
hash[param] = _to_hash(value)
|
|
130
|
+
end
|
|
131
|
+
hash
|
|
132
|
+
end
|
|
133
|
+
|
|
134
|
+
private
|
|
135
|
+
|
|
136
|
+
# Outputs non-array value in the form of hash
|
|
137
|
+
# For object, use to_hash. Otherwise, just return the value
|
|
138
|
+
# @param [Object] value Any valid value
|
|
139
|
+
# @return [Hash] Returns the value in the form of hash
|
|
140
|
+
def _to_hash(value)
|
|
141
|
+
if value.is_a?(Array)
|
|
142
|
+
value.compact.map { |v| _to_hash(v) }
|
|
143
|
+
elsif value.is_a?(Hash)
|
|
144
|
+
{}.tap do |hash|
|
|
145
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
|
146
|
+
end
|
|
147
|
+
elsif value.respond_to? :to_hash
|
|
148
|
+
value.to_hash
|
|
149
|
+
else
|
|
150
|
+
value
|
|
151
|
+
end
|
|
152
|
+
end
|
|
153
|
+
end
|
|
154
|
+
end
|
|
155
|
+
# rubocop:enable Lint/UnneededCopDisableDirective, Metrics/LineLength
|