oci 2.11.0 → 2.12.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +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
@@ -39,7 +39,7 @@ module OCI
|
|
39
39
|
# @return [String]
|
40
40
|
attr_accessor :platform_role
|
41
41
|
|
42
|
-
# **[Required]**
|
42
|
+
# **[Required]** Compute shape - STANDARD or ENTERPRISE_SMALL or ENTERPRISE_MEDIUM or ENTERPRISE_LARGE or ENTERPRISE_EXTRA_LARGE or ENTERPRISE_CUSTOM
|
43
43
|
# @return [String]
|
44
44
|
attr_accessor :compute_shape
|
45
45
|
|
@@ -35,7 +35,7 @@ module OCI
|
|
35
35
|
# @return [String]
|
36
36
|
attr_accessor :platform_role
|
37
37
|
|
38
|
-
# **[Required]**
|
38
|
+
# **[Required]** Compute shape - STANDARD or ENTERPRISE_SMALL or ENTERPRISE_MEDIUM or ENTERPRISE_LARGE or ENTERPRISE_EXTRA_LARGE or ENTERPRISE_CUSTOM
|
39
39
|
# @return [String]
|
40
40
|
attr_accessor :compute_shape
|
41
41
|
|
@@ -23,7 +23,7 @@ module OCI
|
|
23
23
|
# @return [String]
|
24
24
|
attr_accessor :platform_role
|
25
25
|
|
26
|
-
# **[Required]**
|
26
|
+
# **[Required]** Compute shape - STANDARD or ENTERPRISE_SMALL or ENTERPRISE_MEDIUM or ENTERPRISE_LARGE or ENTERPRISE_EXTRA_LARGE
|
27
27
|
# @return [String]
|
28
28
|
attr_accessor :compute_shape
|
29
29
|
|
@@ -31,7 +31,7 @@ module OCI
|
|
31
31
|
# @return [BOOLEAN]
|
32
32
|
attr_accessor :is_byol
|
33
33
|
|
34
|
-
# IDCS access token
|
34
|
+
# IDCS access token with Identity Domain Administrator role
|
35
35
|
# @return [String]
|
36
36
|
attr_accessor :idcs_access_token
|
37
37
|
|
@@ -23,7 +23,7 @@ module OCI
|
|
23
23
|
# @return [String]
|
24
24
|
attr_accessor :description
|
25
25
|
|
26
|
-
# **[Required]**
|
26
|
+
# **[Required]** Compute shape - STANDARD or ENTERPRISE_SMALL or ENTERPRISE_MEDIUM or ENTERPRISE_LARGE or ENTERPRISE_EXTRA_LARGE or ENTERPRISE_CUSTOM
|
27
27
|
# @return [String]
|
28
28
|
attr_accessor :compute_shape
|
29
29
|
|
@@ -16,6 +16,7 @@ module OCI
|
|
16
16
|
OPERATION_TYPE_START_PLATFORM = 'START_PLATFORM'.freeze,
|
17
17
|
OPERATION_TYPE_STOP_PLATFORM = 'STOP_PLATFORM'.freeze,
|
18
18
|
OPERATION_TYPE_CUSTOMIZE_PLATFORM = 'CUSTOMIZE_PLATFORM'.freeze,
|
19
|
+
OPERATION_TYPE_SCALE_STORAGE = 'SCALE_STORAGE'.freeze,
|
19
20
|
OPERATION_TYPE_UNKNOWN_ENUM_VALUE = 'UNKNOWN_ENUM_VALUE'.freeze
|
20
21
|
].freeze
|
21
22
|
|
@@ -37,6 +37,10 @@ module OCI
|
|
37
37
|
# @return [String]
|
38
38
|
attr_accessor :entity_uri
|
39
39
|
|
40
|
+
# Collection of SubType information for a work request resource\u00A9
|
41
|
+
# @return [Array<OCI::Blockchain::Models::WorkRequestResourceSubTypeDetail>]
|
42
|
+
attr_accessor :sub_type_details
|
43
|
+
|
40
44
|
# Attribute mapping from ruby-style variable name to JSON key.
|
41
45
|
def self.attribute_map
|
42
46
|
{
|
@@ -44,7 +48,8 @@ module OCI
|
|
44
48
|
'entity_type': :'entityType',
|
45
49
|
'action_type': :'actionType',
|
46
50
|
'identifier': :'identifier',
|
47
|
-
'entity_uri': :'entityUri'
|
51
|
+
'entity_uri': :'entityUri',
|
52
|
+
'sub_type_details': :'subTypeDetails'
|
48
53
|
# rubocop:enable Style/SymbolLiteral
|
49
54
|
}
|
50
55
|
end
|
@@ -56,7 +61,8 @@ module OCI
|
|
56
61
|
'entity_type': :'String',
|
57
62
|
'action_type': :'String',
|
58
63
|
'identifier': :'String',
|
59
|
-
'entity_uri': :'String'
|
64
|
+
'entity_uri': :'String',
|
65
|
+
'sub_type_details': :'Array<OCI::Blockchain::Models::WorkRequestResourceSubTypeDetail>'
|
60
66
|
# rubocop:enable Style/SymbolLiteral
|
61
67
|
}
|
62
68
|
end
|
@@ -71,6 +77,7 @@ module OCI
|
|
71
77
|
# @option attributes [String] :action_type The value to assign to the {#action_type} property
|
72
78
|
# @option attributes [String] :identifier The value to assign to the {#identifier} property
|
73
79
|
# @option attributes [String] :entity_uri The value to assign to the {#entity_uri} property
|
80
|
+
# @option attributes [Array<OCI::Blockchain::Models::WorkRequestResourceSubTypeDetail>] :sub_type_details The value to assign to the {#sub_type_details} property
|
74
81
|
def initialize(attributes = {})
|
75
82
|
return unless attributes.is_a?(Hash)
|
76
83
|
|
@@ -96,6 +103,12 @@ module OCI
|
|
96
103
|
raise 'You cannot provide both :entityUri and :entity_uri' if attributes.key?(:'entityUri') && attributes.key?(:'entity_uri')
|
97
104
|
|
98
105
|
self.entity_uri = attributes[:'entity_uri'] if attributes[:'entity_uri']
|
106
|
+
|
107
|
+
self.sub_type_details = attributes[:'subTypeDetails'] if attributes[:'subTypeDetails']
|
108
|
+
|
109
|
+
raise 'You cannot provide both :subTypeDetails and :sub_type_details' if attributes.key?(:'subTypeDetails') && attributes.key?(:'sub_type_details')
|
110
|
+
|
111
|
+
self.sub_type_details = attributes[:'sub_type_details'] if attributes[:'sub_type_details']
|
99
112
|
end
|
100
113
|
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
101
114
|
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines, Style/SymbolLiteral
|
@@ -125,7 +138,8 @@ module OCI
|
|
125
138
|
entity_type == other.entity_type &&
|
126
139
|
action_type == other.action_type &&
|
127
140
|
identifier == other.identifier &&
|
128
|
-
entity_uri == other.entity_uri
|
141
|
+
entity_uri == other.entity_uri &&
|
142
|
+
sub_type_details == other.sub_type_details
|
129
143
|
end
|
130
144
|
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity, Layout/EmptyLines
|
131
145
|
|
@@ -141,7 +155,7 @@ module OCI
|
|
141
155
|
# Calculates hash code according to all attributes.
|
142
156
|
# @return [Fixnum] Hash code
|
143
157
|
def hash
|
144
|
-
[entity_type, action_type, identifier, entity_uri].hash
|
158
|
+
[entity_type, action_type, identifier, entity_uri, sub_type_details].hash
|
145
159
|
end
|
146
160
|
# rubocop:enable Metrics/AbcSize, Layout/EmptyLines
|
147
161
|
|
@@ -0,0 +1,206 @@
|
|
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
|
+
require 'logger'
|
6
|
+
|
7
|
+
# rubocop:disable Lint/UnneededCopDisableDirective, Metrics/LineLength
|
8
|
+
module OCI
|
9
|
+
# SubType information for a work request resource.
|
10
|
+
class Blockchain::Models::WorkRequestResourceSubTypeDetail
|
11
|
+
SUB_TYPE_STATUS_ENUM = [
|
12
|
+
SUB_TYPE_STATUS_CREATED = 'CREATED'.freeze,
|
13
|
+
SUB_TYPE_STATUS_UPDATED = 'UPDATED'.freeze,
|
14
|
+
SUB_TYPE_STATUS_DELETED = 'DELETED'.freeze,
|
15
|
+
SUB_TYPE_STATUS_UNKNOWN_ENUM_VALUE = 'UNKNOWN_ENUM_VALUE'.freeze
|
16
|
+
].freeze
|
17
|
+
|
18
|
+
# **[Required]** Subtype of the work request resource like osn or peer.
|
19
|
+
#
|
20
|
+
# @return [String]
|
21
|
+
attr_accessor :sub_type
|
22
|
+
|
23
|
+
# **[Required]** The identifier of the resource subType.
|
24
|
+
# @return [String]
|
25
|
+
attr_accessor :sub_type_key
|
26
|
+
|
27
|
+
# **[Required]** Status of the resource subType, as a result of the work tracked in this work request.
|
28
|
+
# A resource subType would be CREATED, UPDATED or DELETED, after the work request is completed.
|
29
|
+
#
|
30
|
+
# @return [String]
|
31
|
+
attr_reader :sub_type_status
|
32
|
+
|
33
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
34
|
+
def self.attribute_map
|
35
|
+
{
|
36
|
+
# rubocop:disable Style/SymbolLiteral
|
37
|
+
'sub_type': :'subType',
|
38
|
+
'sub_type_key': :'subTypeKey',
|
39
|
+
'sub_type_status': :'subTypeStatus'
|
40
|
+
# rubocop:enable Style/SymbolLiteral
|
41
|
+
}
|
42
|
+
end
|
43
|
+
|
44
|
+
# Attribute type mapping.
|
45
|
+
def self.swagger_types
|
46
|
+
{
|
47
|
+
# rubocop:disable Style/SymbolLiteral
|
48
|
+
'sub_type': :'String',
|
49
|
+
'sub_type_key': :'String',
|
50
|
+
'sub_type_status': :'String'
|
51
|
+
# rubocop:enable Style/SymbolLiteral
|
52
|
+
}
|
53
|
+
end
|
54
|
+
|
55
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
56
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines, Style/SymbolLiteral
|
57
|
+
|
58
|
+
|
59
|
+
# Initializes the object
|
60
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
61
|
+
# @option attributes [String] :sub_type The value to assign to the {#sub_type} property
|
62
|
+
# @option attributes [String] :sub_type_key The value to assign to the {#sub_type_key} property
|
63
|
+
# @option attributes [String] :sub_type_status The value to assign to the {#sub_type_status} property
|
64
|
+
def initialize(attributes = {})
|
65
|
+
return unless attributes.is_a?(Hash)
|
66
|
+
|
67
|
+
# convert string to symbol for hash key
|
68
|
+
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
69
|
+
|
70
|
+
self.sub_type = attributes[:'subType'] if attributes[:'subType']
|
71
|
+
|
72
|
+
raise 'You cannot provide both :subType and :sub_type' if attributes.key?(:'subType') && attributes.key?(:'sub_type')
|
73
|
+
|
74
|
+
self.sub_type = attributes[:'sub_type'] if attributes[:'sub_type']
|
75
|
+
|
76
|
+
self.sub_type_key = attributes[:'subTypeKey'] if attributes[:'subTypeKey']
|
77
|
+
|
78
|
+
raise 'You cannot provide both :subTypeKey and :sub_type_key' if attributes.key?(:'subTypeKey') && attributes.key?(:'sub_type_key')
|
79
|
+
|
80
|
+
self.sub_type_key = attributes[:'sub_type_key'] if attributes[:'sub_type_key']
|
81
|
+
|
82
|
+
self.sub_type_status = attributes[:'subTypeStatus'] if attributes[:'subTypeStatus']
|
83
|
+
|
84
|
+
raise 'You cannot provide both :subTypeStatus and :sub_type_status' if attributes.key?(:'subTypeStatus') && attributes.key?(:'sub_type_status')
|
85
|
+
|
86
|
+
self.sub_type_status = attributes[:'sub_type_status'] if attributes[:'sub_type_status']
|
87
|
+
end
|
88
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
89
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines, Style/SymbolLiteral
|
90
|
+
|
91
|
+
# Custom attribute writer method checking allowed values (enum).
|
92
|
+
# @param [Object] sub_type_status Object to be assigned
|
93
|
+
def sub_type_status=(sub_type_status)
|
94
|
+
# rubocop:disable Style/ConditionalAssignment
|
95
|
+
if sub_type_status && !SUB_TYPE_STATUS_ENUM.include?(sub_type_status)
|
96
|
+
OCI.logger.debug("Unknown value for 'sub_type_status' [" + sub_type_status + "]. Mapping to 'SUB_TYPE_STATUS_UNKNOWN_ENUM_VALUE'") if OCI.logger
|
97
|
+
@sub_type_status = SUB_TYPE_STATUS_UNKNOWN_ENUM_VALUE
|
98
|
+
else
|
99
|
+
@sub_type_status = sub_type_status
|
100
|
+
end
|
101
|
+
# rubocop:enable Style/ConditionalAssignment
|
102
|
+
end
|
103
|
+
|
104
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity, Layout/EmptyLines
|
105
|
+
|
106
|
+
|
107
|
+
# Checks equality by comparing each attribute.
|
108
|
+
# @param [Object] other the other object to be compared
|
109
|
+
def ==(other)
|
110
|
+
return true if equal?(other)
|
111
|
+
|
112
|
+
self.class == other.class &&
|
113
|
+
sub_type == other.sub_type &&
|
114
|
+
sub_type_key == other.sub_type_key &&
|
115
|
+
sub_type_status == other.sub_type_status
|
116
|
+
end
|
117
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity, Layout/EmptyLines
|
118
|
+
|
119
|
+
# @see the `==` method
|
120
|
+
# @param [Object] other the other object to be compared
|
121
|
+
def eql?(other)
|
122
|
+
self == other
|
123
|
+
end
|
124
|
+
|
125
|
+
# rubocop:disable Metrics/AbcSize, Layout/EmptyLines
|
126
|
+
|
127
|
+
|
128
|
+
# Calculates hash code according to all attributes.
|
129
|
+
# @return [Fixnum] Hash code
|
130
|
+
def hash
|
131
|
+
[sub_type, sub_type_key, sub_type_status].hash
|
132
|
+
end
|
133
|
+
# rubocop:enable Metrics/AbcSize, Layout/EmptyLines
|
134
|
+
|
135
|
+
# rubocop:disable Metrics/AbcSize, Layout/EmptyLines
|
136
|
+
|
137
|
+
|
138
|
+
# Builds the object from hash
|
139
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
140
|
+
# @return [Object] Returns the model itself
|
141
|
+
def build_from_hash(attributes)
|
142
|
+
return nil unless attributes.is_a?(Hash)
|
143
|
+
|
144
|
+
self.class.swagger_types.each_pair do |key, type|
|
145
|
+
if type =~ /^Array<(.*)>/i
|
146
|
+
# check to ensure the input is an array given that the the attribute
|
147
|
+
# is documented as an array but the input is not
|
148
|
+
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
149
|
+
public_method("#{key}=").call(
|
150
|
+
attributes[self.class.attribute_map[key]]
|
151
|
+
.map { |v| OCI::Internal::Util.convert_to_type(Regexp.last_match(1), v) }
|
152
|
+
)
|
153
|
+
end
|
154
|
+
elsif !attributes[self.class.attribute_map[key]].nil?
|
155
|
+
public_method("#{key}=").call(
|
156
|
+
OCI::Internal::Util.convert_to_type(type, attributes[self.class.attribute_map[key]])
|
157
|
+
)
|
158
|
+
end
|
159
|
+
# or else data not found in attributes(hash), not an issue as the data can be optional
|
160
|
+
end
|
161
|
+
|
162
|
+
self
|
163
|
+
end
|
164
|
+
# rubocop:enable Metrics/AbcSize, Layout/EmptyLines
|
165
|
+
|
166
|
+
# Returns the string representation of the object
|
167
|
+
# @return [String] String presentation of the object
|
168
|
+
def to_s
|
169
|
+
to_hash.to_s
|
170
|
+
end
|
171
|
+
|
172
|
+
# Returns the object in the form of hash
|
173
|
+
# @return [Hash] Returns the object in the form of hash
|
174
|
+
def to_hash
|
175
|
+
hash = {}
|
176
|
+
self.class.attribute_map.each_pair do |attr, param|
|
177
|
+
value = public_method(attr).call
|
178
|
+
next if value.nil? && !instance_variable_defined?("@#{attr}")
|
179
|
+
|
180
|
+
hash[param] = _to_hash(value)
|
181
|
+
end
|
182
|
+
hash
|
183
|
+
end
|
184
|
+
|
185
|
+
private
|
186
|
+
|
187
|
+
# Outputs non-array value in the form of hash
|
188
|
+
# For object, use to_hash. Otherwise, just return the value
|
189
|
+
# @param [Object] value Any valid value
|
190
|
+
# @return [Hash] Returns the value in the form of hash
|
191
|
+
def _to_hash(value)
|
192
|
+
if value.is_a?(Array)
|
193
|
+
value.compact.map { |v| _to_hash(v) }
|
194
|
+
elsif value.is_a?(Hash)
|
195
|
+
{}.tap do |hash|
|
196
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
197
|
+
end
|
198
|
+
elsif value.respond_to? :to_hash
|
199
|
+
value.to_hash
|
200
|
+
else
|
201
|
+
value
|
202
|
+
end
|
203
|
+
end
|
204
|
+
end
|
205
|
+
end
|
206
|
+
# rubocop:enable Lint/UnneededCopDisableDirective, Metrics/LineLength
|
@@ -16,6 +16,7 @@ module OCI
|
|
16
16
|
OPERATION_TYPE_START_PLATFORM = 'START_PLATFORM'.freeze,
|
17
17
|
OPERATION_TYPE_STOP_PLATFORM = 'STOP_PLATFORM'.freeze,
|
18
18
|
OPERATION_TYPE_CUSTOMIZE_PLATFORM = 'CUSTOMIZE_PLATFORM'.freeze,
|
19
|
+
OPERATION_TYPE_SCALE_STORAGE = 'SCALE_STORAGE'.freeze,
|
19
20
|
OPERATION_TYPE_UNKNOWN_ENUM_VALUE = 'UNKNOWN_ENUM_VALUE'.freeze
|
20
21
|
].freeze
|
21
22
|
|
@@ -113,6 +113,7 @@ module OCI
|
|
113
113
|
#
|
114
114
|
# @option opts [String] :opc_request_id The client request ID for tracing.
|
115
115
|
# @return [Response] A Response object with data of type {OCI::Budget::Models::AlertRule AlertRule}
|
116
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/budget/create_alert_rule.rb.html) to see an example of how to use create_alert_rule API.
|
116
117
|
def create_alert_rule(budget_id, create_alert_rule_details, opts = {})
|
117
118
|
logger.debug 'Calling operation BudgetClient#create_alert_rule.' if logger
|
118
119
|
|
@@ -176,6 +177,7 @@ module OCI
|
|
176
177
|
#
|
177
178
|
# @option opts [String] :opc_request_id The client request ID for tracing.
|
178
179
|
# @return [Response] A Response object with data of type {OCI::Budget::Models::Budget Budget}
|
180
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/budget/create_budget.rb.html) to see an example of how to use create_budget API.
|
179
181
|
def create_budget(create_budget_details, opts = {})
|
180
182
|
logger.debug 'Calling operation BudgetClient#create_budget.' if logger
|
181
183
|
|
@@ -237,6 +239,7 @@ module OCI
|
|
237
239
|
#
|
238
240
|
# @option opts [String] :opc_request_id The client request ID for tracing.
|
239
241
|
# @return [Response] A Response object with data of type nil
|
242
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/budget/delete_alert_rule.rb.html) to see an example of how to use delete_alert_rule API.
|
240
243
|
def delete_alert_rule(budget_id, alert_rule_id, opts = {})
|
241
244
|
logger.debug 'Calling operation BudgetClient#delete_alert_rule.' if logger
|
242
245
|
|
@@ -298,6 +301,7 @@ module OCI
|
|
298
301
|
#
|
299
302
|
# @option opts [String] :opc_request_id The client request ID for tracing.
|
300
303
|
# @return [Response] A Response object with data of type nil
|
304
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/budget/delete_budget.rb.html) to see an example of how to use delete_budget API.
|
301
305
|
def delete_budget(budget_id, opts = {})
|
302
306
|
logger.debug 'Calling operation BudgetClient#delete_budget.' if logger
|
303
307
|
|
@@ -352,6 +356,7 @@ module OCI
|
|
352
356
|
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
353
357
|
# @option opts [String] :opc_request_id The client request ID for tracing.
|
354
358
|
# @return [Response] A Response object with data of type {OCI::Budget::Models::AlertRule AlertRule}
|
359
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/budget/get_alert_rule.rb.html) to see an example of how to use get_alert_rule API.
|
355
360
|
def get_alert_rule(budget_id, alert_rule_id, opts = {})
|
356
361
|
logger.debug 'Calling operation BudgetClient#get_alert_rule.' if logger
|
357
362
|
|
@@ -407,6 +412,7 @@ module OCI
|
|
407
412
|
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
408
413
|
# @option opts [String] :opc_request_id The client request ID for tracing.
|
409
414
|
# @return [Response] A Response object with data of type {OCI::Budget::Models::Budget Budget}
|
415
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/budget/get_budget.rb.html) to see an example of how to use get_budget API.
|
410
416
|
def get_budget(budget_id, opts = {})
|
411
417
|
logger.debug 'Calling operation BudgetClient#get_budget.' if logger
|
412
418
|
|
@@ -473,6 +479,7 @@ module OCI
|
|
473
479
|
#
|
474
480
|
# @option opts [String] :opc_request_id The client request ID for tracing.
|
475
481
|
# @return [Response] A Response object with data of type Array<{OCI::Budget::Models::AlertRuleSummary AlertRuleSummary}>
|
482
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/budget/list_alert_rules.rb.html) to see an example of how to use list_alert_rules API.
|
476
483
|
def list_alert_rules(budget_id, opts = {})
|
477
484
|
logger.debug 'Calling operation BudgetClient#list_alert_rules.' if logger
|
478
485
|
|
@@ -572,6 +579,7 @@ module OCI
|
|
572
579
|
# Allowed values are: ALL, COMPARTMENT, TAG
|
573
580
|
# @option opts [String] :opc_request_id The client request ID for tracing.
|
574
581
|
# @return [Response] A Response object with data of type Array<{OCI::Budget::Models::BudgetSummary BudgetSummary}>
|
582
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/budget/list_budgets.rb.html) to see an example of how to use list_budgets API.
|
575
583
|
def list_budgets(compartment_id, opts = {})
|
576
584
|
logger.debug 'Calling operation BudgetClient#list_budgets.' if logger
|
577
585
|
|
@@ -656,6 +664,7 @@ module OCI
|
|
656
664
|
#
|
657
665
|
# @option opts [String] :opc_request_id The client request ID for tracing.
|
658
666
|
# @return [Response] A Response object with data of type {OCI::Budget::Models::AlertRule AlertRule}
|
667
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/budget/update_alert_rule.rb.html) to see an example of how to use update_alert_rule API.
|
659
668
|
def update_alert_rule(budget_id, alert_rule_id, update_alert_rule_details, opts = {})
|
660
669
|
logger.debug 'Calling operation BudgetClient#update_alert_rule.' if logger
|
661
670
|
|
@@ -720,6 +729,7 @@ module OCI
|
|
720
729
|
#
|
721
730
|
# @option opts [String] :opc_request_id The client request ID for tracing.
|
722
731
|
# @return [Response] A Response object with data of type {OCI::Budget::Models::Budget Budget}
|
732
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/budget/update_budget.rb.html) to see an example of how to use update_budget API.
|
723
733
|
def update_budget(budget_id, update_budget_details, opts = {})
|
724
734
|
logger.debug 'Calling operation BudgetClient#update_budget.' if logger
|
725
735
|
|
@@ -107,6 +107,7 @@ module OCI
|
|
107
107
|
# @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
|
108
108
|
# @option opts [String] :homeregion The region of the tenancy.
|
109
109
|
# @return [Response] A Response object with data of type {OCI::Cims::Models::Incident Incident}
|
110
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/cims/create_incident.rb.html) to see an example of how to use create_incident API.
|
110
111
|
def create_incident(create_incident_details, ocid, opts = {})
|
111
112
|
logger.debug 'Calling operation IncidentClient#create_incident.' if logger
|
112
113
|
|
@@ -166,6 +167,7 @@ module OCI
|
|
166
167
|
# @option opts [String] :homeregion The region of the tenancy.
|
167
168
|
# @option opts [String] :problem_type The kind of support request.
|
168
169
|
# @return [Response] A Response object with data of type {OCI::Cims::Models::Incident Incident}
|
170
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/cims/get_incident.rb.html) to see an example of how to use get_incident API.
|
169
171
|
def get_incident(incident_key, csi, ocid, opts = {})
|
170
172
|
logger.debug 'Calling operation IncidentClient#get_incident.' if logger
|
171
173
|
|
@@ -227,6 +229,7 @@ module OCI
|
|
227
229
|
# @option opts [String] :opc_request_id Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
|
228
230
|
# @option opts [String] :homeregion The region of the tenancy.
|
229
231
|
# @return [Response] A Response object with data of type {OCI::Cims::Models::Status Status}
|
232
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/cims/get_status.rb.html) to see an example of how to use get_status API.
|
230
233
|
def get_status(source, ocid, opts = {})
|
231
234
|
logger.debug 'Calling operation IncidentClient#get_status.' if logger
|
232
235
|
|
@@ -294,6 +297,7 @@ module OCI
|
|
294
297
|
# @option opts [String] :name The user-friendly name of the incident type. (default to limit)
|
295
298
|
# @option opts [String] :homeregion The region of the tenancy.
|
296
299
|
# @return [Response] A Response object with data of type Array<{OCI::Cims::Models::IncidentResourceType IncidentResourceType}>
|
300
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/cims/list_incident_resource_types.rb.html) to see an example of how to use list_incident_resource_types API.
|
297
301
|
def list_incident_resource_types(problem_type, compartment_id, csi, ocid, opts = {})
|
298
302
|
logger.debug 'Calling operation IncidentClient#list_incident_resource_types.' if logger
|
299
303
|
|
@@ -378,6 +382,7 @@ module OCI
|
|
378
382
|
# @option opts [String] :homeregion The region of the tenancy.
|
379
383
|
# @option opts [String] :problem_type The kind of support request.
|
380
384
|
# @return [Response] A Response object with data of type Array<{OCI::Cims::Models::IncidentSummary IncidentSummary}>
|
385
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/cims/list_incidents.rb.html) to see an example of how to use list_incidents API.
|
381
386
|
def list_incidents(csi, compartment_id, ocid, opts = {})
|
382
387
|
logger.debug 'Calling operation IncidentClient#list_incidents.' if logger
|
383
388
|
|
@@ -459,6 +464,7 @@ module OCI
|
|
459
464
|
# @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value.
|
460
465
|
# @option opts [String] :homeregion The region of the tenancy.
|
461
466
|
# @return [Response] A Response object with data of type {OCI::Cims::Models::Incident Incident}
|
467
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/cims/update_incident.rb.html) to see an example of how to use update_incident API.
|
462
468
|
def update_incident(incident_key, csi, update_incident_details, ocid, opts = {})
|
463
469
|
logger.debug 'Calling operation IncidentClient#update_incident.' if logger
|
464
470
|
|
@@ -522,6 +528,7 @@ module OCI
|
|
522
528
|
# @option opts [String] :problem_type The kind of support request.
|
523
529
|
# @option opts [String] :homeregion The region of the tenancy.
|
524
530
|
# @return [Response] A Response object with data of type {OCI::Cims::Models::ValidationResponse ValidationResponse}
|
531
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/cims/validate_user.rb.html) to see an example of how to use validate_user API.
|
525
532
|
def validate_user(csi, ocid, opts = {})
|
526
533
|
logger.debug 'Calling operation IncidentClient#validate_user.' if logger
|
527
534
|
|