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
|
@@ -87,7 +87,7 @@ module OCI
|
|
|
87
87
|
|
|
88
88
|
raise 'A region must be specified.' unless @region
|
|
89
89
|
|
|
90
|
-
@endpoint = OCI::Regions.get_service_endpoint_for_template(@region, 'https://audit.{region}.
|
|
90
|
+
@endpoint = OCI::Regions.get_service_endpoint_for_template(@region, 'https://audit.{region}.{secondLevelDomain}') + '/20190901'
|
|
91
91
|
logger.info "AuditClient endpoint set to '#{@endpoint} from region #{@region}'." if logger
|
|
92
92
|
end
|
|
93
93
|
|
|
@@ -108,6 +108,7 @@ module OCI
|
|
|
108
108
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
109
109
|
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
110
110
|
# @return [Response] A Response object with data of type {OCI::Audit::Models::Configuration Configuration}
|
|
111
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/audit/get_configuration.rb.html) to see an example of how to use get_configuration API.
|
|
111
112
|
def get_configuration(compartment_id, opts = {})
|
|
112
113
|
logger.debug 'Calling operation AuditClient#get_configuration.' if logger
|
|
113
114
|
|
|
@@ -185,6 +186,7 @@ module OCI
|
|
|
185
186
|
# particular request, please provide the request ID.
|
|
186
187
|
#
|
|
187
188
|
# @return [Response] A Response object with data of type Array<{OCI::Audit::Models::AuditEvent AuditEvent}>
|
|
189
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/audit/list_events.rb.html) to see an example of how to use list_events API.
|
|
188
190
|
def list_events(compartment_id, start_time, end_time, opts = {})
|
|
189
191
|
logger.debug 'Calling operation AuditClient#list_events.' if logger
|
|
190
192
|
|
|
@@ -244,6 +246,7 @@ module OCI
|
|
|
244
246
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
245
247
|
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
246
248
|
# @return [Response] A Response object with data of type nil
|
|
249
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/audit/update_configuration.rb.html) to see an example of how to use update_configuration API.
|
|
247
250
|
def update_configuration(compartment_id, update_configuration_details, opts = {})
|
|
248
251
|
logger.debug 'Calling operation AuditClient#update_configuration.' if logger
|
|
249
252
|
|
|
@@ -8,7 +8,7 @@ module OCI
|
|
|
8
8
|
# All the attributes of an audit event. For more information, see [Viewing Audit Log Events](https://docs.cloud.oracle.com/iaas/Content/Audit/Tasks/viewinglogevents.htm).
|
|
9
9
|
#
|
|
10
10
|
class Audit::Models::AuditEvent
|
|
11
|
-
# The type of event that happened.
|
|
11
|
+
# **[Required]** The type of event that happened.
|
|
12
12
|
#
|
|
13
13
|
# The service that produces the event can also add, remove, or change the meaning of a field.
|
|
14
14
|
# A service implementing these type changes would publish a new version of an `eventType` and
|
|
@@ -19,7 +19,7 @@ module OCI
|
|
|
19
19
|
# @return [String]
|
|
20
20
|
attr_accessor :event_type
|
|
21
21
|
|
|
22
|
-
# The version of the CloudEvents specification. The structure of the envelope follows the
|
|
22
|
+
# **[Required]** The version of the CloudEvents specification. The structure of the envelope follows the
|
|
23
23
|
# [CloudEvents](https://github.com/cloudevents/spec) industry standard format hosted by the
|
|
24
24
|
# [Cloud Native Computing Foundation ( CNCF)](https://www.cncf.io/).
|
|
25
25
|
#
|
|
@@ -30,7 +30,7 @@ module OCI
|
|
|
30
30
|
# @return [String]
|
|
31
31
|
attr_accessor :cloud_events_version
|
|
32
32
|
|
|
33
|
-
# The version of the event type. This version applies to the payload of the event, not the envelope.
|
|
33
|
+
# **[Required]** The version of the event type. This version applies to the payload of the event, not the envelope.
|
|
34
34
|
# Use `cloudEventsVersion` to determine the version of the envelope.
|
|
35
35
|
#
|
|
36
36
|
# Example: `2.0`
|
|
@@ -38,32 +38,33 @@ module OCI
|
|
|
38
38
|
# @return [String]
|
|
39
39
|
attr_accessor :event_type_version
|
|
40
40
|
|
|
41
|
-
# The source of the event.
|
|
41
|
+
# **[Required]** The source of the event.
|
|
42
42
|
#
|
|
43
43
|
# Example: `ComputeApi`
|
|
44
44
|
#
|
|
45
45
|
# @return [String]
|
|
46
46
|
attr_accessor :source
|
|
47
47
|
|
|
48
|
-
# The GUID of the event.
|
|
48
|
+
# **[Required]** The GUID of the event.
|
|
49
49
|
#
|
|
50
50
|
# @return [String]
|
|
51
51
|
attr_accessor :event_id
|
|
52
52
|
|
|
53
|
-
# The time the event occurred, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format.
|
|
53
|
+
# **[Required]** The time the event occurred, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format.
|
|
54
54
|
#
|
|
55
55
|
# Example: `2019-09-18T00:10:59.252Z`
|
|
56
56
|
#
|
|
57
57
|
# @return [DateTime]
|
|
58
58
|
attr_accessor :event_time
|
|
59
59
|
|
|
60
|
-
# The content type of the data contained in `data`.
|
|
60
|
+
# **[Required]** The content type of the data contained in `data`.
|
|
61
61
|
#
|
|
62
62
|
# Example: `application/json`
|
|
63
63
|
#
|
|
64
64
|
# @return [String]
|
|
65
65
|
attr_accessor :content_type
|
|
66
66
|
|
|
67
|
+
# This attribute is required.
|
|
67
68
|
# @return [OCI::Audit::Models::Data]
|
|
68
69
|
attr_accessor :data
|
|
69
70
|
|
|
@@ -7,113 +7,6 @@ require 'date'
|
|
|
7
7
|
module OCI
|
|
8
8
|
# The payload of the event. Information within `data` comes from the resource emitting the event.
|
|
9
9
|
#
|
|
10
|
-
# Example:
|
|
11
|
-
#
|
|
12
|
-
# -----
|
|
13
|
-
# {
|
|
14
|
-
# \"eventGroupingId\": null,
|
|
15
|
-
# \"eventName\": \"GetInstance\",
|
|
16
|
-
# \"compartmentId\": \"ocid1.tenancy.oc1..<unique_ID>\",
|
|
17
|
-
# \"compartmentName\": \"compartmentA\",
|
|
18
|
-
# \"resourceName\": \"my_instance\",
|
|
19
|
-
# \"resourceId\": \"ocid1.instance.oc1.phx.<unique_ID>\",
|
|
20
|
-
# \"availabilityDomain\": \"<availability_domain>\",
|
|
21
|
-
# \"freeformTags\": null,
|
|
22
|
-
# \"definedTags\": null,
|
|
23
|
-
# \"identity\": {
|
|
24
|
-
# \"principalName\": \"ExampleName\",
|
|
25
|
-
# \"principalId\": \"ocid1.user.oc1..<unique_ID>\",
|
|
26
|
-
# \"authType\": \"natv\",
|
|
27
|
-
# \"callerName\": null,
|
|
28
|
-
# \"callerId\": null,
|
|
29
|
-
# \"tenantId\": \"ocid1.tenancy.oc1..<unique_ID>\",
|
|
30
|
-
# \"ipAddress\": \"172.24.80.88\",
|
|
31
|
-
# \"credentials\": null,
|
|
32
|
-
# \"userAgent\": \"Jersey/2.23 (HttpUrlConnection 1.8.0_212)\",
|
|
33
|
-
# \"consoleSessionId\": null
|
|
34
|
-
# },
|
|
35
|
-
# \"request\": {
|
|
36
|
-
# \"id\": \"<unique_ID>\",
|
|
37
|
-
# \"path\": \"/20160918/instances/ocid1.instance.oc1.phx.<unique_ID>\",
|
|
38
|
-
# \"action\": \"GET\",
|
|
39
|
-
# \"parameters\": {},
|
|
40
|
-
# \"headers\": {
|
|
41
|
-
# \"opc-principal\": [
|
|
42
|
-
# \"{\\\"tenantId\\\":\\\"ocid1.tenancy.oc1..<unique_ID>\\\",\\\"subjectId\\\":\\\"ocid1.user.oc1..<unique_ID>\\\",\\\"claims\\\":[{\\\"key\\\":\\\"pstype\\\",\\\"value\\\":\\\"natv\\\",\\\"issuer\\\":\\\"authService.oracle.com\\\"},{\\\"key\\\":\\\"h_host\\\",\\\"value\\\":\\\"iaas.r2.oracleiaas.com\\\",\\\"issuer\\\":\\\"h\\\"},{\\\"key\\\":\\\"h_opc-request-id\\\",\\\"value\\\":\\\"<unique_ID>\\\",\\\"issuer\\\":\\\"h\\\"},{\\\"key\\\":\\\"ptype\\\",\\\"value\\\":\\\"user\\\",\\\"issuer\\\":\\\"authService.oracle.com\\\"},{\\\"key\\\":\\\"h_date\\\",\\\"value\\\":\\\"Wed, 18 Sep 2019 00:10:58 UTC\\\",\\\"issuer\\\":\\\"h\\\"},{\\\"key\\\":\\\"h_accept\\\",\\\"value\\\":\\\"application/json\\\",\\\"issuer\\\":\\\"h\\\"},{\\\"key\\\":\\\"authorization\\\",\\\"value\\\":\\\"Signature headers=\\\\\\\"date (request-target) host accept opc-request-id\\\\\\\",keyId=\\\\\\\"ocid1.tenancy.oc1..<unique_ID>/ocid1.user.oc1..<unique_ID>/8c:b4:5f:18:e7:ec:db:08:b8:fa:d2:2a:7d:11:76:ac\\\\\\\",algorithm=\\\\\\\"rsa-pss-sha256\\\\\\\",signature=\\\\\\\"<unique_ID>\\\\\\\",version=\\\\\\\"1\\\\\\\"\\\",\\\"issuer\\\":\\\"h\\\"},{\\\"key\\\":\\\"h_(request-target)\\\",\\\"value\\\":\\\"get /20160918/instances/ocid1.instance.oc1.phx.<unique_ID>\\\",\\\"issuer\\\":\\\"h\\\"}]}\"
|
|
43
|
-
# ],
|
|
44
|
-
# \"Accept\": [
|
|
45
|
-
# \"application/json\"
|
|
46
|
-
# ],
|
|
47
|
-
# \"X-Oracle-Auth-Client-CN\": [
|
|
48
|
-
# \"splat-proxy-se-02302.node.ad2.r2\"
|
|
49
|
-
# ],
|
|
50
|
-
# \"X-Forwarded-Host\": [
|
|
51
|
-
# \"compute-api.svc.ad1.r2\"
|
|
52
|
-
# ],
|
|
53
|
-
# \"Connection\": [
|
|
54
|
-
# \"close\"
|
|
55
|
-
# ],
|
|
56
|
-
# \"User-Agent\": [
|
|
57
|
-
# \"Jersey/2.23 (HttpUrlConnection 1.8.0_212)\"
|
|
58
|
-
# ],
|
|
59
|
-
# \"X-Forwarded-For\": [
|
|
60
|
-
# \"172.24.80.88\"
|
|
61
|
-
# ],
|
|
62
|
-
# \"X-Real-IP\": [
|
|
63
|
-
# \"172.24.80.88\"
|
|
64
|
-
# ],
|
|
65
|
-
# \"oci-original-url\": [
|
|
66
|
-
# \"https://iaas.r2.oracleiaas.com/20160918/instances/ocid1.instance.oc1.phx.<unique_ID>\"
|
|
67
|
-
# ],
|
|
68
|
-
# \"opc-request-id\": [
|
|
69
|
-
# \"<unique_ID>\"
|
|
70
|
-
# ],
|
|
71
|
-
# \"Date\": [
|
|
72
|
-
# \"Wed, 18 Sep 2019 00:10:58 UTC\"
|
|
73
|
-
# ]
|
|
74
|
-
# }
|
|
75
|
-
# },
|
|
76
|
-
# \"response\": {
|
|
77
|
-
# \"status\": \"200\",
|
|
78
|
-
# \"responseTime\": \"2019-09-18T00:10:59.278Z\",
|
|
79
|
-
# \"headers\": {
|
|
80
|
-
# \"ETag\": [
|
|
81
|
-
# \"<unique_ID>\"
|
|
82
|
-
# ],
|
|
83
|
-
# \"Connection\": [
|
|
84
|
-
# \"close\"
|
|
85
|
-
# ],
|
|
86
|
-
# \"Content-Length\": [
|
|
87
|
-
# \"1828\"
|
|
88
|
-
# ],
|
|
89
|
-
# \"opc-request-id\": [
|
|
90
|
-
# \"<unique_ID>\"
|
|
91
|
-
# ],
|
|
92
|
-
# \"Date\": [
|
|
93
|
-
# \"Wed, 18 Sep 2019 00:10:59 GMT\"
|
|
94
|
-
# ],
|
|
95
|
-
# \"Content-Type\": [
|
|
96
|
-
# \"application/json\"
|
|
97
|
-
# ]
|
|
98
|
-
# },
|
|
99
|
-
# \"payload\": {
|
|
100
|
-
# \"resourceName\": \"my_instance\",
|
|
101
|
-
# \"id\": \"ocid1.instance.oc1.phx.<unique_ID>\"
|
|
102
|
-
# },
|
|
103
|
-
# \"message\": null
|
|
104
|
-
# },
|
|
105
|
-
# \"stateChange\": {
|
|
106
|
-
# \"previous\": null,
|
|
107
|
-
# \"current\": null
|
|
108
|
-
# },
|
|
109
|
-
# \"additionalDetails\": {
|
|
110
|
-
# \"imageId\": \"ocid1.image.oc1.phx.<unique_ID>\",
|
|
111
|
-
# \"shape\": \"VM.Standard1.1\",
|
|
112
|
-
# \"type\": \"CustomerVmi\"
|
|
113
|
-
# }
|
|
114
|
-
# }
|
|
115
|
-
# -----
|
|
116
|
-
#
|
|
117
10
|
class Audit::Models::Data
|
|
118
11
|
# This value links multiple audit events that are part of the same API operation. For example,
|
|
119
12
|
# a long running API operations that emit an event at the start and the end of an operation
|
|
@@ -7,23 +7,6 @@ require 'date'
|
|
|
7
7
|
module OCI
|
|
8
8
|
# A container object for identity attributes.
|
|
9
9
|
#
|
|
10
|
-
# Example:
|
|
11
|
-
#
|
|
12
|
-
# -----
|
|
13
|
-
# {
|
|
14
|
-
# \"principalName\": \"ExampleName\",
|
|
15
|
-
# \"principalId\": \"ocid1.user.oc1..<unique_ID>\",
|
|
16
|
-
# \"authType\": \"natv\",
|
|
17
|
-
# \"callerName\": null,
|
|
18
|
-
# \"callerId\": null,
|
|
19
|
-
# \"tenantId\": \"ocid1.tenancy.oc1..<unique_ID>\",
|
|
20
|
-
# \"ipAddress\": \"172.24.80.88\",
|
|
21
|
-
# \"credentials\": null,
|
|
22
|
-
# \"userAgent\": \"Jersey/2.23 (HttpUrlConnection 1.8.0_212)\",
|
|
23
|
-
# \"consoleSessionId\": null
|
|
24
|
-
# }
|
|
25
|
-
# -----
|
|
26
|
-
#
|
|
27
10
|
class Audit::Models::Identity
|
|
28
11
|
# The name of the user or service. This value is the friendly name associated with `principalId`.
|
|
29
12
|
#
|
|
@@ -7,52 +7,6 @@ require 'date'
|
|
|
7
7
|
module OCI
|
|
8
8
|
# A container object for request attributes.
|
|
9
9
|
#
|
|
10
|
-
# Example:
|
|
11
|
-
#
|
|
12
|
-
# -----
|
|
13
|
-
# {
|
|
14
|
-
# \"id\": \"<unique_ID>\",
|
|
15
|
-
# \"path\": \"/20160918/instances/ocid1.instance.oc1.phx.<unique_ID>\",
|
|
16
|
-
# \"action\": \"GET\",
|
|
17
|
-
# \"parameters\": {},
|
|
18
|
-
# \"headers\": {
|
|
19
|
-
# \"opc-principal\": [
|
|
20
|
-
# \"{\\\"tenantId\\\":\\\"ocid1.tenancy.oc1..<unique_ID>\\\",\\\"subjectId\\\":\\\"ocid1.user.oc1..<unique_ID>\\\",\\\"claims\\\":[{\\\"key\\\":\\\"pstype\\\",\\\"value\\\":\\\"natv\\\",\\\"issuer\\\":\\\"authService.oracle.com\\\"},{\\\"key\\\":\\\"h_host\\\",\\\"value\\\":\\\"iaas.r2.oracleiaas.com\\\",\\\"issuer\\\":\\\"h\\\"},{\\\"key\\\":\\\"h_opc-request-id\\\",\\\"value\\\":\\\"<unique_ID>\\\",\\\"issuer\\\":\\\"h\\\"},{\\\"key\\\":\\\"ptype\\\",\\\"value\\\":\\\"user\\\",\\\"issuer\\\":\\\"authService.oracle.com\\\"},{\\\"key\\\":\\\"h_date\\\",\\\"value\\\":\\\"Wed, 18 Sep 2019 00:10:58 UTC\\\",\\\"issuer\\\":\\\"h\\\"},{\\\"key\\\":\\\"h_accept\\\",\\\"value\\\":\\\"application/json\\\",\\\"issuer\\\":\\\"h\\\"},{\\\"key\\\":\\\"authorization\\\",\\\"value\\\":\\\"Signature headers=\\\\\\\"date (request-target) host accept opc-request-id\\\\\\\",keyId=\\\\\\\"ocid1.tenancy.oc1..<unique_ID>/ocid1.user.oc1..<unique_ID>/8c:b4:5f:18:e7:ec:db:08:b8:fa:d2:2a:7d:11:76:ac\\\\\\\",algorithm=\\\\\\\"rsa-pss-sha256\\\\\\\",signature=\\\\\\\"<unique_ID>\\\\\\\",version=\\\\\\\"1\\\\\\\"\\\",\\\"issuer\\\":\\\"h\\\"},{\\\"key\\\":\\\"h_(request-target)\\\",\\\"value\\\":\\\"get /20160918/instances/ocid1.instance.oc1.phx.<unique_ID>\\\",\\\"issuer\\\":\\\"h\\\"}]}\"
|
|
21
|
-
# ],
|
|
22
|
-
# \"Accept\": [
|
|
23
|
-
# \"application/json\"
|
|
24
|
-
# ],
|
|
25
|
-
# \"X-Oracle-Auth-Client-CN\": [
|
|
26
|
-
# \"splat-proxy-se-02302.node.ad2.r2\"
|
|
27
|
-
# ],
|
|
28
|
-
# \"X-Forwarded-Host\": [
|
|
29
|
-
# \"compute-api.svc.ad1.r2\"
|
|
30
|
-
# ],
|
|
31
|
-
# \"Connection\": [
|
|
32
|
-
# \"close\"
|
|
33
|
-
# ],
|
|
34
|
-
# \"User-Agent\": [
|
|
35
|
-
# \"Jersey/2.23 (HttpUrlConnection 1.8.0_212)\"
|
|
36
|
-
# ],
|
|
37
|
-
# \"X-Forwarded-For\": [
|
|
38
|
-
# \"172.24.80.88\"
|
|
39
|
-
# ],
|
|
40
|
-
# \"X-Real-IP\": [
|
|
41
|
-
# \"172.24.80.88\"
|
|
42
|
-
# ],
|
|
43
|
-
# \"oci-original-url\": [
|
|
44
|
-
# \"https://iaas.r2.oracleiaas.com/20160918/instances/ocid1.instance.oc1.phx.<unique_ID>\"
|
|
45
|
-
# ],
|
|
46
|
-
# \"opc-request-id\": [
|
|
47
|
-
# \"<unique_ID>\"
|
|
48
|
-
# ],
|
|
49
|
-
# \"Date\": [
|
|
50
|
-
# \"Wed, 18 Sep 2019 00:10:58 UTC\"
|
|
51
|
-
# ]
|
|
52
|
-
# }
|
|
53
|
-
# }
|
|
54
|
-
# -----
|
|
55
|
-
#
|
|
56
10
|
class Audit::Models::Request
|
|
57
11
|
# The opc-request-id of the request.
|
|
58
12
|
#
|
|
@@ -7,40 +7,6 @@ require 'date'
|
|
|
7
7
|
module OCI
|
|
8
8
|
# A container object for response attributes.
|
|
9
9
|
#
|
|
10
|
-
# Example:
|
|
11
|
-
#
|
|
12
|
-
# -----
|
|
13
|
-
# {
|
|
14
|
-
# \"status\": \"200\",
|
|
15
|
-
# \"responseTime\": \"2019-09-18T00:10:59.278Z\",
|
|
16
|
-
# \"headers\": {
|
|
17
|
-
# \"ETag\": [
|
|
18
|
-
# \"<unique_ID>\"
|
|
19
|
-
# ],
|
|
20
|
-
# \"Connection\": [
|
|
21
|
-
# \"close\"
|
|
22
|
-
# ],
|
|
23
|
-
# \"Content-Length\": [
|
|
24
|
-
# \"1828\"
|
|
25
|
-
# ],
|
|
26
|
-
# \"opc-request-id\": [
|
|
27
|
-
# \"<unique_ID>\"
|
|
28
|
-
# ],
|
|
29
|
-
# \"Date\": [
|
|
30
|
-
# \"Wed, 18 Sep 2019 00:10:59 GMT\"
|
|
31
|
-
# ],
|
|
32
|
-
# \"Content-Type\": [
|
|
33
|
-
# \"application/json\"
|
|
34
|
-
# ]
|
|
35
|
-
# },
|
|
36
|
-
# \"payload\": {
|
|
37
|
-
# \"resourceName\": \"my_instance\",
|
|
38
|
-
# \"id\": \"ocid1.instance.oc1.phx.<unique_ID>\"
|
|
39
|
-
# },
|
|
40
|
-
# \"message\": null
|
|
41
|
-
# }
|
|
42
|
-
# -----
|
|
43
|
-
#
|
|
44
10
|
class Audit::Models::Response
|
|
45
11
|
# The status code of the response.
|
|
46
12
|
#
|
|
@@ -7,15 +7,6 @@ require 'date'
|
|
|
7
7
|
module OCI
|
|
8
8
|
# A container object for state change attributes.
|
|
9
9
|
#
|
|
10
|
-
# Example:
|
|
11
|
-
#
|
|
12
|
-
# -----
|
|
13
|
-
# {
|
|
14
|
-
# \"previous\": null,
|
|
15
|
-
# \"current\": null
|
|
16
|
-
# }
|
|
17
|
-
# -----
|
|
18
|
-
#
|
|
19
10
|
class Audit::Models::StateChange
|
|
20
11
|
# Provides the previous state of fields that may have changed during an operation. To determine
|
|
21
12
|
# how the current operation changed a resource, compare the information in this attribute to
|
|
@@ -81,7 +81,6 @@ module OCI
|
|
|
81
81
|
|
|
82
82
|
def refresh_security_token
|
|
83
83
|
@refresh_lock.lock
|
|
84
|
-
@session_key_supplier.refresh
|
|
85
84
|
@security_token = OCI::Auth::SecurityTokenContainer.new(resource_principal_session_token, key_pair: @session_key_supplier)
|
|
86
85
|
|
|
87
86
|
# Resources may be moved between compartments. Update any coordinates on refresh.
|
|
@@ -11,7 +11,7 @@ module OCI
|
|
|
11
11
|
OCI_RESOURCE_PRINCIPAL_VERSION = 'OCI_RESOURCE_PRINCIPAL_VERSION'.freeze
|
|
12
12
|
OCI_RESOURCE_PRINCIPAL_RPT_ENDPOINT = 'OCI_RESOURCE_PRINCIPAL_RPT_ENDPOINT'.freeze
|
|
13
13
|
OCI_RESOURCE_PRINCIPAL_RPST_ENDPOINT = 'OCI_RESOURCE_PRINCIPAL_RPST_ENDPOINT'.freeze
|
|
14
|
-
OCI_RESOURCE_PRINCIPAL_RPST = '
|
|
14
|
+
OCI_RESOURCE_PRINCIPAL_RPST = 'OCI_RESOURCE_PRINCIPAL_RPST'.freeze
|
|
15
15
|
OCI_RESOURCE_PRINCIPAL_PRIVATE_PEM = 'OCI_RESOURCE_PRINCIPAL_PRIVATE_PEM'.freeze
|
|
16
16
|
OCI_RESOURCE_PRINCIPAL_PRIVATE_PEM_PASSPHRASE = 'OCI_RESOURCE_PRINCIPAL_PRIVATE_PEM_PASSPHRASE'.freeze
|
|
17
17
|
OCI_RESOURCE_PRINCIPAL_REGION = 'OCI_RESOURCE_PRINCIPAL_REGION'.freeze
|
|
@@ -127,6 +127,7 @@ module OCI
|
|
|
127
127
|
# may be rejected).
|
|
128
128
|
#
|
|
129
129
|
# @return [Response] A Response object with data of type nil
|
|
130
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/autoscaling/change_auto_scaling_configuration_compartment.rb.html) to see an example of how to use change_auto_scaling_configuration_compartment API.
|
|
130
131
|
def change_auto_scaling_configuration_compartment(auto_scaling_configuration_id, change_compartment_details, opts = {})
|
|
131
132
|
logger.debug 'Calling operation AutoScalingClient#change_auto_scaling_configuration_compartment.' if logger
|
|
132
133
|
|
|
@@ -189,6 +190,7 @@ module OCI
|
|
|
189
190
|
# may be rejected).
|
|
190
191
|
#
|
|
191
192
|
# @return [Response] A Response object with data of type {OCI::Autoscaling::Models::AutoScalingConfiguration AutoScalingConfiguration}
|
|
193
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/autoscaling/create_auto_scaling_configuration.rb.html) to see an example of how to use create_auto_scaling_configuration API.
|
|
192
194
|
def create_auto_scaling_configuration(create_auto_scaling_configuration_details, opts = {})
|
|
193
195
|
logger.debug 'Calling operation AutoScalingClient#create_auto_scaling_configuration.' if logger
|
|
194
196
|
|
|
@@ -251,6 +253,7 @@ module OCI
|
|
|
251
253
|
# may be rejected).
|
|
252
254
|
#
|
|
253
255
|
# @return [Response] A Response object with data of type {OCI::Autoscaling::Models::AutoScalingPolicy AutoScalingPolicy}
|
|
256
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/autoscaling/create_auto_scaling_policy.rb.html) to see an example of how to use create_auto_scaling_policy API.
|
|
254
257
|
def create_auto_scaling_policy(auto_scaling_configuration_id, create_auto_scaling_policy_details, opts = {})
|
|
255
258
|
logger.debug 'Calling operation AutoScalingClient#create_auto_scaling_policy.' if logger
|
|
256
259
|
|
|
@@ -311,6 +314,7 @@ module OCI
|
|
|
311
314
|
#
|
|
312
315
|
# @option opts [String] :opc_request_id
|
|
313
316
|
# @return [Response] A Response object with data of type nil
|
|
317
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/autoscaling/delete_auto_scaling_configuration.rb.html) to see an example of how to use delete_auto_scaling_configuration API.
|
|
314
318
|
def delete_auto_scaling_configuration(auto_scaling_configuration_id, opts = {})
|
|
315
319
|
logger.debug 'Calling operation AutoScalingClient#delete_auto_scaling_configuration.' if logger
|
|
316
320
|
|
|
@@ -369,6 +373,7 @@ module OCI
|
|
|
369
373
|
#
|
|
370
374
|
# @option opts [String] :opc_request_id
|
|
371
375
|
# @return [Response] A Response object with data of type nil
|
|
376
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/autoscaling/delete_auto_scaling_policy.rb.html) to see an example of how to use delete_auto_scaling_policy API.
|
|
372
377
|
def delete_auto_scaling_policy(auto_scaling_configuration_id, auto_scaling_policy_id, opts = {})
|
|
373
378
|
logger.debug 'Calling operation AutoScalingClient#delete_auto_scaling_policy.' if logger
|
|
374
379
|
|
|
@@ -424,6 +429,7 @@ module OCI
|
|
|
424
429
|
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
425
430
|
# @option opts [String] :opc_request_id
|
|
426
431
|
# @return [Response] A Response object with data of type {OCI::Autoscaling::Models::AutoScalingConfiguration AutoScalingConfiguration}
|
|
432
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/autoscaling/get_auto_scaling_configuration.rb.html) to see an example of how to use get_auto_scaling_configuration API.
|
|
427
433
|
def get_auto_scaling_configuration(auto_scaling_configuration_id, opts = {})
|
|
428
434
|
logger.debug 'Calling operation AutoScalingClient#get_auto_scaling_configuration.' if logger
|
|
429
435
|
|
|
@@ -478,6 +484,7 @@ module OCI
|
|
|
478
484
|
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
479
485
|
# @option opts [String] :opc_request_id
|
|
480
486
|
# @return [Response] A Response object with data of type {OCI::Autoscaling::Models::AutoScalingPolicy AutoScalingPolicy}
|
|
487
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/autoscaling/get_auto_scaling_policy.rb.html) to see an example of how to use get_auto_scaling_policy API.
|
|
481
488
|
def get_auto_scaling_policy(auto_scaling_configuration_id, auto_scaling_policy_id, opts = {})
|
|
482
489
|
logger.debug 'Calling operation AutoScalingClient#get_auto_scaling_policy.' if logger
|
|
483
490
|
|
|
@@ -554,6 +561,7 @@ module OCI
|
|
|
554
561
|
# (default to [ASC])
|
|
555
562
|
# Allowed values are: ASC, DESC
|
|
556
563
|
# @return [Response] A Response object with data of type Array<{OCI::Autoscaling::Models::AutoScalingConfigurationSummary AutoScalingConfigurationSummary}>
|
|
564
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/autoscaling/list_auto_scaling_configurations.rb.html) to see an example of how to use list_auto_scaling_configurations API.
|
|
557
565
|
def list_auto_scaling_configurations(compartment_id, opts = {})
|
|
558
566
|
logger.debug 'Calling operation AutoScalingClient#list_auto_scaling_configurations.' if logger
|
|
559
567
|
|
|
@@ -638,6 +646,7 @@ module OCI
|
|
|
638
646
|
# (default to [ASC])
|
|
639
647
|
# Allowed values are: ASC, DESC
|
|
640
648
|
# @return [Response] A Response object with data of type Array<{OCI::Autoscaling::Models::AutoScalingPolicySummary AutoScalingPolicySummary}>
|
|
649
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/autoscaling/list_auto_scaling_policies.rb.html) to see an example of how to use list_auto_scaling_policies API.
|
|
641
650
|
def list_auto_scaling_policies(auto_scaling_configuration_id, opts = {})
|
|
642
651
|
logger.debug 'Calling operation AutoScalingClient#list_auto_scaling_policies.' if logger
|
|
643
652
|
|
|
@@ -717,6 +726,7 @@ module OCI
|
|
|
717
726
|
# may be rejected).
|
|
718
727
|
#
|
|
719
728
|
# @return [Response] A Response object with data of type {OCI::Autoscaling::Models::AutoScalingConfiguration AutoScalingConfiguration}
|
|
729
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/autoscaling/update_auto_scaling_configuration.rb.html) to see an example of how to use update_auto_scaling_configuration API.
|
|
720
730
|
def update_auto_scaling_configuration(auto_scaling_configuration_id, update_auto_scaling_configuration_details, opts = {})
|
|
721
731
|
logger.debug 'Calling operation AutoScalingClient#update_auto_scaling_configuration.' if logger
|
|
722
732
|
|
|
@@ -786,6 +796,7 @@ module OCI
|
|
|
786
796
|
# may be rejected).
|
|
787
797
|
#
|
|
788
798
|
# @return [Response] A Response object with data of type {OCI::Autoscaling::Models::AutoScalingPolicy AutoScalingPolicy}
|
|
799
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/autoscaling/update_auto_scaling_policy.rb.html) to see an example of how to use update_auto_scaling_policy API.
|
|
789
800
|
def update_auto_scaling_policy(auto_scaling_configuration_id, auto_scaling_policy_id, update_auto_scaling_policy_details, opts = {})
|
|
790
801
|
logger.debug 'Calling operation AutoScalingClient#update_auto_scaling_policy.' if logger
|
|
791
802
|
|