oci-opsi 2.9.1 → 2.10.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.
- package/lib/client.d.ts +303 -78
- package/lib/client.js +1766 -314
- package/lib/client.js.map +1 -1
- package/lib/model/awr-hub-lifecycle-state.d.ts +35 -0
- package/lib/model/awr-hub-lifecycle-state.js +46 -0
- package/lib/model/awr-hub-lifecycle-state.js.map +1 -0
- package/lib/model/awr-hub-summary-collection.d.ts +29 -0
- package/lib/model/awr-hub-summary-collection.js +64 -0
- package/lib/model/awr-hub-summary-collection.js.map +1 -0
- package/lib/model/awr-hub-summary.d.ts +93 -0
- package/lib/model/awr-hub-summary.js +32 -0
- package/lib/model/awr-hub-summary.js.map +1 -0
- package/lib/model/awr-hub.d.ts +93 -0
- package/lib/model/awr-hub.js +32 -0
- package/lib/model/awr-hub.js.map +1 -0
- package/lib/model/awr-hubs.d.ts +28 -0
- package/lib/model/awr-hubs.js +32 -0
- package/lib/model/awr-hubs.js.map +1 -0
- package/lib/model/awr-report-format-type.d.ts +31 -0
- package/lib/model/awr-report-format-type.js +42 -0
- package/lib/model/awr-report-format-type.js.map +1 -0
- package/lib/model/awr-report.d.ts +33 -0
- package/lib/model/awr-report.js +32 -0
- package/lib/model/awr-report.js.map +1 -0
- package/lib/model/awr-snapshot-collection.d.ts +29 -0
- package/lib/model/awr-snapshot-collection.js +64 -0
- package/lib/model/awr-snapshot-collection.js.map +1 -0
- package/lib/model/awr-snapshot-summary.d.ts +52 -0
- package/lib/model/awr-snapshot-summary.js +32 -0
- package/lib/model/awr-snapshot-summary.js.map +1 -0
- package/lib/model/awr-source-summary.d.ts +60 -0
- package/lib/model/awr-source-summary.js +32 -0
- package/lib/model/awr-source-summary.js.map +1 -0
- package/lib/model/create-awr-hub-details.d.ts +58 -0
- package/lib/model/create-awr-hub-details.js +32 -0
- package/lib/model/create-awr-hub-details.js.map +1 -0
- package/lib/model/create-operations-insights-warehouse-details.d.ts +60 -0
- package/lib/model/create-operations-insights-warehouse-details.js +32 -0
- package/lib/model/create-operations-insights-warehouse-details.js.map +1 -0
- package/lib/model/create-operations-insights-warehouse-user-details.d.ts +70 -0
- package/lib/model/create-operations-insights-warehouse-user-details.js +32 -0
- package/lib/model/create-operations-insights-warehouse-user-details.js.map +1 -0
- package/lib/model/download-operations-insights-warehouse-wallet-details.d.ts +28 -0
- package/lib/model/download-operations-insights-warehouse-wallet-details.js +32 -0
- package/lib/model/download-operations-insights-warehouse-wallet-details.js.map +1 -0
- package/lib/model/em-managed-external-host-insight-summary.d.ts +1 -0
- package/lib/model/em-managed-external-host-insight-summary.js.map +1 -1
- package/lib/model/em-managed-external-host-insight.d.ts +1 -0
- package/lib/model/em-managed-external-host-insight.js.map +1 -1
- package/lib/model/host-configuration-summary.d.ts +1 -0
- package/lib/model/host-configuration-summary.js.map +1 -1
- package/lib/model/host-details.d.ts +1 -0
- package/lib/model/host-details.js.map +1 -1
- package/lib/model/host-importable-agent-entity-summary.d.ts +1 -0
- package/lib/model/host-importable-agent-entity-summary.js.map +1 -1
- package/lib/model/index.d.ts +64 -0
- package/lib/model/index.js +70 -5
- package/lib/model/index.js.map +1 -1
- package/lib/model/ingest-sql-stats-details.d.ts +30 -0
- package/lib/model/ingest-sql-stats-details.js +64 -0
- package/lib/model/ingest-sql-stats-details.js.map +1 -0
- package/lib/model/ingest-sql-stats-response-details.d.ts +30 -0
- package/lib/model/ingest-sql-stats-response-details.js +32 -0
- package/lib/model/ingest-sql-stats-response-details.js.map +1 -0
- package/lib/model/macs-managed-external-host-insight-summary.d.ts +1 -0
- package/lib/model/macs-managed-external-host-insight-summary.js.map +1 -1
- package/lib/model/macs-managed-external-host-insight.d.ts +1 -0
- package/lib/model/macs-managed-external-host-insight.js.map +1 -1
- package/lib/model/operation-type.d.ts +13 -0
- package/lib/model/operation-type.js +13 -0
- package/lib/model/operation-type.js.map +1 -1
- package/lib/model/operations-insights-warehouse-lifecycle-state.d.ts +35 -0
- package/lib/model/operations-insights-warehouse-lifecycle-state.js +46 -0
- package/lib/model/operations-insights-warehouse-lifecycle-state.js.map +1 -0
- package/lib/model/operations-insights-warehouse-summary-collection.d.ts +29 -0
- package/lib/model/operations-insights-warehouse-summary-collection.js +64 -0
- package/lib/model/operations-insights-warehouse-summary-collection.js.map +1 -0
- package/lib/model/operations-insights-warehouse-summary.d.ts +113 -0
- package/lib/model/operations-insights-warehouse-summary.js +32 -0
- package/lib/model/operations-insights-warehouse-summary.js.map +1 -0
- package/lib/model/operations-insights-warehouse-user-lifecycle-state.d.ts +35 -0
- package/lib/model/operations-insights-warehouse-user-lifecycle-state.js +46 -0
- package/lib/model/operations-insights-warehouse-user-lifecycle-state.js.map +1 -0
- package/lib/model/operations-insights-warehouse-user-summary-collection.d.ts +29 -0
- package/lib/model/operations-insights-warehouse-user-summary-collection.js +64 -0
- package/lib/model/operations-insights-warehouse-user-summary-collection.js.map +1 -0
- package/lib/model/operations-insights-warehouse-user-summary.d.ts +101 -0
- package/lib/model/operations-insights-warehouse-user-summary.js +32 -0
- package/lib/model/operations-insights-warehouse-user-summary.js.map +1 -0
- package/lib/model/operations-insights-warehouse-user.d.ts +101 -0
- package/lib/model/operations-insights-warehouse-user.js +32 -0
- package/lib/model/operations-insights-warehouse-user.js.map +1 -0
- package/lib/model/operations-insights-warehouse-users.d.ts +28 -0
- package/lib/model/operations-insights-warehouse-users.js +32 -0
- package/lib/model/operations-insights-warehouse-users.js.map +1 -0
- package/lib/model/operations-insights-warehouse.d.ts +113 -0
- package/lib/model/operations-insights-warehouse.js +32 -0
- package/lib/model/operations-insights-warehouse.js.map +1 -0
- package/lib/model/operations-insights-warehouses.d.ts +28 -0
- package/lib/model/operations-insights-warehouses.js +32 -0
- package/lib/model/operations-insights-warehouses.js.map +1 -0
- package/lib/model/sql-stats.d.ts +301 -0
- package/lib/model/sql-stats.js +32 -0
- package/lib/model/sql-stats.js.map +1 -0
- package/lib/model/summarize-awr-sources-summaries-collection.d.ts +29 -0
- package/lib/model/summarize-awr-sources-summaries-collection.js +64 -0
- package/lib/model/summarize-awr-sources-summaries-collection.js.map +1 -0
- package/lib/model/summarize-operations-insights-warehouse-resource-usage-aggregation.d.ts +43 -0
- package/lib/model/summarize-operations-insights-warehouse-resource-usage-aggregation.js +32 -0
- package/lib/model/summarize-operations-insights-warehouse-resource-usage-aggregation.js.map +1 -0
- package/lib/model/update-awr-hub-details.d.ts +46 -0
- package/lib/model/update-awr-hub-details.js +32 -0
- package/lib/model/update-awr-hub-details.js.map +1 -0
- package/lib/model/update-operations-insights-warehouse-details.d.ts +56 -0
- package/lib/model/update-operations-insights-warehouse-details.js +32 -0
- package/lib/model/update-operations-insights-warehouse-details.js.map +1 -0
- package/lib/model/update-operations-insights-warehouse-user-details.d.ts +58 -0
- package/lib/model/update-operations-insights-warehouse-user-details.js +32 -0
- package/lib/model/update-operations-insights-warehouse-user-details.js.map +1 -0
- package/lib/operationsinsights-waiter.d.ts +24 -0
- package/lib/operationsinsights-waiter.js +36 -0
- package/lib/operationsinsights-waiter.js.map +1 -1
- package/lib/request/add-exadata-insight-members-request.d.ts +1 -1
- package/lib/request/change-database-insight-compartment-request.d.ts +1 -1
- package/lib/request/change-enterprise-manager-bridge-compartment-request.d.ts +1 -1
- package/lib/request/change-exadata-insight-compartment-request.d.ts +1 -1
- package/lib/request/change-host-insight-compartment-request.d.ts +1 -1
- package/lib/request/create-awr-hub-request.d.ts +39 -0
- package/lib/request/create-awr-hub-request.js +15 -0
- package/lib/request/create-awr-hub-request.js.map +1 -0
- package/lib/request/create-database-insight-request.d.ts +1 -1
- package/lib/request/create-enterprise-manager-bridge-request.d.ts +1 -1
- package/lib/request/create-exadata-insight-request.d.ts +1 -1
- package/lib/request/create-host-insight-request.d.ts +1 -1
- package/lib/request/create-operations-insights-warehouse-request.d.ts +39 -0
- package/lib/request/create-operations-insights-warehouse-request.js +15 -0
- package/lib/request/create-operations-insights-warehouse-request.js.map +1 -0
- package/lib/request/create-operations-insights-warehouse-user-request.d.ts +39 -0
- package/lib/request/create-operations-insights-warehouse-user-request.js +15 -0
- package/lib/request/create-operations-insights-warehouse-user-request.js.map +1 -0
- package/lib/request/delete-awr-hub-request.d.ts +35 -0
- package/lib/request/delete-awr-hub-request.js +15 -0
- package/lib/request/delete-awr-hub-request.js.map +1 -0
- package/lib/request/delete-database-insight-request.d.ts +1 -1
- package/lib/request/delete-enterprise-manager-bridge-request.d.ts +1 -1
- package/lib/request/delete-exadata-insight-request.d.ts +1 -1
- package/lib/request/delete-host-insight-request.d.ts +1 -1
- package/lib/request/delete-operations-insights-warehouse-request.d.ts +35 -0
- package/lib/request/delete-operations-insights-warehouse-request.js +15 -0
- package/lib/request/delete-operations-insights-warehouse-request.js.map +1 -0
- package/lib/request/delete-operations-insights-warehouse-user-request.d.ts +35 -0
- package/lib/request/delete-operations-insights-warehouse-user-request.js +15 -0
- package/lib/request/delete-operations-insights-warehouse-user-request.js.map +1 -0
- package/lib/request/disable-database-insight-request.d.ts +1 -1
- package/lib/request/disable-exadata-insight-request.d.ts +1 -1
- package/lib/request/disable-host-insight-request.d.ts +1 -1
- package/lib/request/download-operations-insights-warehouse-wallet-request.d.ts +43 -0
- package/lib/request/download-operations-insights-warehouse-wallet-request.js +15 -0
- package/lib/request/download-operations-insights-warehouse-wallet-request.js.map +1 -0
- package/lib/request/enable-database-insight-request.d.ts +1 -1
- package/lib/request/enable-exadata-insight-request.d.ts +1 -1
- package/lib/request/enable-host-insight-request.d.ts +1 -1
- package/lib/request/get-awr-hub-request.d.ts +28 -0
- package/lib/request/get-awr-hub-request.js +15 -0
- package/lib/request/get-awr-hub-request.js.map +1 -0
- package/lib/request/get-awr-report-request.d.ts +61 -0
- package/lib/request/get-awr-report-request.js +15 -0
- package/lib/request/get-awr-report-request.js.map +1 -0
- package/lib/request/get-database-insight-request.d.ts +1 -1
- package/lib/request/get-enterprise-manager-bridge-request.d.ts +1 -1
- package/lib/request/get-exadata-insight-request.d.ts +1 -1
- package/lib/request/get-host-insight-request.d.ts +1 -1
- package/lib/request/get-operations-insights-warehouse-request.d.ts +28 -0
- package/lib/request/get-operations-insights-warehouse-request.js +15 -0
- package/lib/request/get-operations-insights-warehouse-request.js.map +1 -0
- package/lib/request/get-operations-insights-warehouse-user-request.d.ts +28 -0
- package/lib/request/get-operations-insights-warehouse-user-request.js +15 -0
- package/lib/request/get-operations-insights-warehouse-user-request.js.map +1 -0
- package/lib/request/get-work-request-request.d.ts +1 -1
- package/lib/request/index.d.ts +44 -0
- package/lib/request/index.js +11 -1
- package/lib/request/index.js.map +1 -1
- package/lib/request/ingest-database-configuration-request.d.ts +1 -1
- package/lib/request/ingest-host-configuration-request.d.ts +1 -1
- package/lib/request/ingest-host-metrics-request.d.ts +1 -1
- package/lib/request/ingest-sql-bucket-request.d.ts +1 -1
- package/lib/request/ingest-sql-plan-lines-request.d.ts +1 -1
- package/lib/request/ingest-sql-stats-request.d.ts +56 -0
- package/lib/request/ingest-sql-stats-request.js +15 -0
- package/lib/request/ingest-sql-stats-request.js.map +1 -0
- package/lib/request/ingest-sql-text-request.d.ts +1 -1
- package/lib/request/list-awr-hubs-request.d.ts +77 -0
- package/lib/request/list-awr-hubs-request.js +24 -0
- package/lib/request/list-awr-hubs-request.js.map +1 -0
- package/lib/request/list-awr-snapshots-request.d.ts +74 -0
- package/lib/request/list-awr-snapshots-request.js +24 -0
- package/lib/request/list-awr-snapshots-request.js.map +1 -0
- package/lib/request/list-database-configurations-request.d.ts +1 -1
- package/lib/request/list-database-insights-request.d.ts +1 -1
- package/lib/request/list-enterprise-manager-bridges-request.d.ts +1 -1
- package/lib/request/list-exadata-configurations-request.d.ts +1 -1
- package/lib/request/list-exadata-insights-request.d.ts +1 -1
- package/lib/request/list-host-configurations-request.d.ts +1 -1
- package/lib/request/list-host-insights-request.d.ts +1 -1
- package/lib/request/list-hosted-entities-request.d.ts +1 -1
- package/lib/request/list-importable-agent-entities-request.d.ts +1 -1
- package/lib/request/list-importable-enterprise-manager-entities-request.d.ts +1 -1
- package/lib/request/list-operations-insights-warehouse-users-request.d.ts +77 -0
- package/lib/request/list-operations-insights-warehouse-users-request.js +24 -0
- package/lib/request/list-operations-insights-warehouse-users-request.js.map +1 -0
- package/lib/request/list-operations-insights-warehouses-request.d.ts +73 -0
- package/lib/request/list-operations-insights-warehouses-request.js +24 -0
- package/lib/request/list-operations-insights-warehouses-request.js.map +1 -0
- package/lib/request/list-sql-plans-request.d.ts +1 -1
- package/lib/request/list-sql-searches-request.d.ts +1 -1
- package/lib/request/list-sql-texts-request.d.ts +1 -1
- package/lib/request/list-work-request-errors-request.d.ts +1 -1
- package/lib/request/list-work-request-logs-request.d.ts +1 -1
- package/lib/request/list-work-requests-request.d.ts +1 -1
- package/lib/request/rotate-operations-insights-warehouse-wallet-request.d.ts +35 -0
- package/lib/request/rotate-operations-insights-warehouse-wallet-request.js +15 -0
- package/lib/request/rotate-operations-insights-warehouse-wallet-request.js.map +1 -0
- package/lib/request/summarize-awr-sources-summaries-request.d.ts +70 -0
- package/lib/request/summarize-awr-sources-summaries-request.js +24 -0
- package/lib/request/summarize-awr-sources-summaries-request.js.map +1 -0
- package/lib/request/summarize-database-insight-resource-capacity-trend-request.d.ts +1 -1
- package/lib/request/summarize-database-insight-resource-forecast-trend-request.d.ts +1 -1
- package/lib/request/summarize-database-insight-resource-statistics-request.d.ts +1 -1
- package/lib/request/summarize-database-insight-resource-usage-request.d.ts +1 -1
- package/lib/request/summarize-database-insight-resource-usage-trend-request.d.ts +1 -1
- package/lib/request/summarize-database-insight-resource-utilization-insight-request.d.ts +1 -1
- package/lib/request/summarize-database-insight-tablespace-usage-trend-request.d.ts +1 -1
- package/lib/request/summarize-exadata-insight-resource-capacity-trend-aggregated-request.d.ts +1 -1
- package/lib/request/summarize-exadata-insight-resource-capacity-trend-request.d.ts +1 -1
- package/lib/request/summarize-exadata-insight-resource-forecast-trend-aggregated-request.d.ts +1 -1
- package/lib/request/summarize-exadata-insight-resource-forecast-trend-request.d.ts +1 -1
- package/lib/request/summarize-exadata-insight-resource-statistics-request.d.ts +1 -1
- package/lib/request/summarize-exadata-insight-resource-usage-aggregated-request.d.ts +1 -1
- package/lib/request/summarize-exadata-insight-resource-usage-request.d.ts +1 -1
- package/lib/request/summarize-exadata-insight-resource-utilization-insight-request.d.ts +1 -1
- package/lib/request/summarize-exadata-members-request.d.ts +1 -1
- package/lib/request/summarize-host-insight-resource-capacity-trend-request.d.ts +1 -1
- package/lib/request/summarize-host-insight-resource-forecast-trend-request.d.ts +1 -1
- package/lib/request/summarize-host-insight-resource-statistics-request.d.ts +1 -1
- package/lib/request/summarize-host-insight-resource-usage-request.d.ts +1 -1
- package/lib/request/summarize-host-insight-resource-usage-trend-request.d.ts +1 -1
- package/lib/request/summarize-host-insight-resource-utilization-insight-request.d.ts +1 -1
- package/lib/request/summarize-operations-insights-warehouse-resource-usage-request.d.ts +28 -0
- package/lib/request/summarize-operations-insights-warehouse-resource-usage-request.js +15 -0
- package/lib/request/summarize-operations-insights-warehouse-resource-usage-request.js.map +1 -0
- package/lib/request/summarize-sql-insights-request.d.ts +1 -1
- package/lib/request/summarize-sql-plan-insights-request.d.ts +1 -1
- package/lib/request/summarize-sql-response-time-distributions-request.d.ts +1 -1
- package/lib/request/summarize-sql-statistics-request.d.ts +1 -1
- package/lib/request/summarize-sql-statistics-time-series-by-plan-request.d.ts +1 -1
- package/lib/request/summarize-sql-statistics-time-series-request.d.ts +1 -1
- package/lib/request/update-awr-hub-request.d.ts +40 -0
- package/lib/request/update-awr-hub-request.js +15 -0
- package/lib/request/update-awr-hub-request.js.map +1 -0
- package/lib/request/update-database-insight-request.d.ts +1 -1
- package/lib/request/update-enterprise-manager-bridge-request.d.ts +1 -1
- package/lib/request/update-exadata-insight-request.d.ts +1 -1
- package/lib/request/update-host-insight-request.d.ts +1 -1
- package/lib/request/update-operations-insights-warehouse-request.d.ts +40 -0
- package/lib/request/update-operations-insights-warehouse-request.js +15 -0
- package/lib/request/update-operations-insights-warehouse-request.js.map +1 -0
- package/lib/request/update-operations-insights-warehouse-user-request.d.ts +40 -0
- package/lib/request/update-operations-insights-warehouse-user-request.js +15 -0
- package/lib/request/update-operations-insights-warehouse-user-request.js.map +1 -0
- package/lib/response/create-awr-hub-response.d.ts +43 -0
- package/lib/response/create-awr-hub-response.js +15 -0
- package/lib/response/create-awr-hub-response.js.map +1 -0
- package/lib/response/create-operations-insights-warehouse-response.d.ts +43 -0
- package/lib/response/create-operations-insights-warehouse-response.js +15 -0
- package/lib/response/create-operations-insights-warehouse-response.js.map +1 -0
- package/lib/response/create-operations-insights-warehouse-user-response.d.ts +43 -0
- package/lib/response/create-operations-insights-warehouse-user-response.js +15 -0
- package/lib/response/create-operations-insights-warehouse-user-response.js.map +1 -0
- package/lib/response/delete-awr-hub-response.d.ts +25 -0
- package/lib/response/delete-awr-hub-response.js +15 -0
- package/lib/response/delete-awr-hub-response.js.map +1 -0
- package/lib/response/delete-operations-insights-warehouse-response.d.ts +25 -0
- package/lib/response/delete-operations-insights-warehouse-response.js +15 -0
- package/lib/response/delete-operations-insights-warehouse-response.js.map +1 -0
- package/lib/response/delete-operations-insights-warehouse-user-response.d.ts +25 -0
- package/lib/response/delete-operations-insights-warehouse-user-response.js +15 -0
- package/lib/response/delete-operations-insights-warehouse-user-response.js.map +1 -0
- package/lib/response/download-operations-insights-warehouse-wallet-response.d.ts +38 -0
- package/lib/response/download-operations-insights-warehouse-wallet-response.js +15 -0
- package/lib/response/download-operations-insights-warehouse-wallet-response.js.map +1 -0
- package/lib/response/get-awr-hub-response.d.ts +30 -0
- package/lib/response/get-awr-hub-response.js +15 -0
- package/lib/response/get-awr-hub-response.js.map +1 -0
- package/lib/response/get-awr-report-response.d.ts +25 -0
- package/lib/response/get-awr-report-response.js +15 -0
- package/lib/response/get-awr-report-response.js.map +1 -0
- package/lib/response/get-operations-insights-warehouse-response.d.ts +30 -0
- package/lib/response/get-operations-insights-warehouse-response.js +15 -0
- package/lib/response/get-operations-insights-warehouse-response.js.map +1 -0
- package/lib/response/get-operations-insights-warehouse-user-response.d.ts +30 -0
- package/lib/response/get-operations-insights-warehouse-user-response.js +15 -0
- package/lib/response/get-operations-insights-warehouse-user-response.js.map +1 -0
- package/lib/response/index.d.ts +44 -0
- package/lib/response/ingest-sql-stats-response.d.ts +30 -0
- package/lib/response/ingest-sql-stats-response.js +15 -0
- package/lib/response/ingest-sql-stats-response.js.map +1 -0
- package/lib/response/list-awr-hubs-response.d.ts +32 -0
- package/lib/response/list-awr-hubs-response.js +15 -0
- package/lib/response/list-awr-hubs-response.js.map +1 -0
- package/lib/response/list-awr-snapshots-response.d.ts +32 -0
- package/lib/response/list-awr-snapshots-response.js +15 -0
- package/lib/response/list-awr-snapshots-response.js.map +1 -0
- package/lib/response/list-operations-insights-warehouse-users-response.d.ts +32 -0
- package/lib/response/list-operations-insights-warehouse-users-response.js +15 -0
- package/lib/response/list-operations-insights-warehouse-users-response.js.map +1 -0
- package/lib/response/list-operations-insights-warehouses-response.d.ts +32 -0
- package/lib/response/list-operations-insights-warehouses-response.js +15 -0
- package/lib/response/list-operations-insights-warehouses-response.js.map +1 -0
- package/lib/response/rotate-operations-insights-warehouse-wallet-response.d.ts +25 -0
- package/lib/response/rotate-operations-insights-warehouse-wallet-response.js +15 -0
- package/lib/response/rotate-operations-insights-warehouse-wallet-response.js.map +1 -0
- package/lib/response/summarize-awr-sources-summaries-response.d.ts +32 -0
- package/lib/response/summarize-awr-sources-summaries-response.js +15 -0
- package/lib/response/summarize-awr-sources-summaries-response.js.map +1 -0
- package/lib/response/summarize-operations-insights-warehouse-resource-usage-response.d.ts +30 -0
- package/lib/response/summarize-operations-insights-warehouse-resource-usage-response.js +15 -0
- package/lib/response/summarize-operations-insights-warehouse-resource-usage-response.js.map +1 -0
- package/lib/response/update-awr-hub-response.d.ts +25 -0
- package/lib/response/update-awr-hub-response.js +15 -0
- package/lib/response/update-awr-hub-response.js.map +1 -0
- package/lib/response/update-operations-insights-warehouse-response.d.ts +25 -0
- package/lib/response/update-operations-insights-warehouse-response.js +15 -0
- package/lib/response/update-operations-insights-warehouse-response.js.map +1 -0
- package/lib/response/update-operations-insights-warehouse-user-response.d.ts +25 -0
- package/lib/response/update-operations-insights-warehouse-user-response.js +15 -0
- package/lib/response/update-operations-insights-warehouse-user-response.js.map +1 -0
- package/package.json +3 -3
package/lib/client.js
CHANGED
|
@@ -153,7 +153,7 @@ class OperationsInsightsClient {
|
|
|
153
153
|
* @param AddExadataInsightMembersRequest
|
|
154
154
|
* @return AddExadataInsightMembersResponse
|
|
155
155
|
* @throws OciError when an error occurs
|
|
156
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
156
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.10.0/opsi/AddExadataInsightMembers.ts.html |here} to see how to use AddExadataInsightMembers API.
|
|
157
157
|
*/
|
|
158
158
|
addExadataInsightMembers(addExadataInsightMembersRequest) {
|
|
159
159
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -213,7 +213,7 @@ class OperationsInsightsClient {
|
|
|
213
213
|
* @param ChangeDatabaseInsightCompartmentRequest
|
|
214
214
|
* @return ChangeDatabaseInsightCompartmentResponse
|
|
215
215
|
* @throws OciError when an error occurs
|
|
216
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
216
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.10.0/opsi/ChangeDatabaseInsightCompartment.ts.html |here} to see how to use ChangeDatabaseInsightCompartment API.
|
|
217
217
|
*/
|
|
218
218
|
changeDatabaseInsightCompartment(changeDatabaseInsightCompartmentRequest) {
|
|
219
219
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -273,7 +273,7 @@ class OperationsInsightsClient {
|
|
|
273
273
|
* @param ChangeEnterpriseManagerBridgeCompartmentRequest
|
|
274
274
|
* @return ChangeEnterpriseManagerBridgeCompartmentResponse
|
|
275
275
|
* @throws OciError when an error occurs
|
|
276
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
276
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.10.0/opsi/ChangeEnterpriseManagerBridgeCompartment.ts.html |here} to see how to use ChangeEnterpriseManagerBridgeCompartment API.
|
|
277
277
|
*/
|
|
278
278
|
changeEnterpriseManagerBridgeCompartment(changeEnterpriseManagerBridgeCompartmentRequest) {
|
|
279
279
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -332,7 +332,7 @@ class OperationsInsightsClient {
|
|
|
332
332
|
* @param ChangeExadataInsightCompartmentRequest
|
|
333
333
|
* @return ChangeExadataInsightCompartmentResponse
|
|
334
334
|
* @throws OciError when an error occurs
|
|
335
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
335
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.10.0/opsi/ChangeExadataInsightCompartment.ts.html |here} to see how to use ChangeExadataInsightCompartment API.
|
|
336
336
|
*/
|
|
337
337
|
changeExadataInsightCompartment(changeExadataInsightCompartmentRequest) {
|
|
338
338
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -392,7 +392,7 @@ class OperationsInsightsClient {
|
|
|
392
392
|
* @param ChangeHostInsightCompartmentRequest
|
|
393
393
|
* @return ChangeHostInsightCompartmentResponse
|
|
394
394
|
* @throws OciError when an error occurs
|
|
395
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
395
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.10.0/opsi/ChangeHostInsightCompartment.ts.html |here} to see how to use ChangeHostInsightCompartment API.
|
|
396
396
|
*/
|
|
397
397
|
changeHostInsightCompartment(changeHostInsightCompartmentRequest) {
|
|
398
398
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -446,6 +446,84 @@ class OperationsInsightsClient {
|
|
|
446
446
|
}
|
|
447
447
|
});
|
|
448
448
|
}
|
|
449
|
+
/**
|
|
450
|
+
* Create a AWR hub resource for the tenant in Operations Insights.
|
|
451
|
+
* This resource will be created in root compartment.
|
|
452
|
+
*
|
|
453
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
454
|
+
* @param CreateAwrHubRequest
|
|
455
|
+
* @return CreateAwrHubResponse
|
|
456
|
+
* @throws OciError when an error occurs
|
|
457
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.10.0/opsi/CreateAwrHub.ts.html |here} to see how to use CreateAwrHub API.
|
|
458
|
+
*/
|
|
459
|
+
createAwrHub(createAwrHubRequest) {
|
|
460
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
461
|
+
if (this.logger)
|
|
462
|
+
this.logger.debug("Calling operation OperationsInsightsClient#createAwrHub.");
|
|
463
|
+
const pathParams = {};
|
|
464
|
+
const queryParams = {};
|
|
465
|
+
let headerParams = {
|
|
466
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
467
|
+
"opc-retry-token": createAwrHubRequest.opcRetryToken,
|
|
468
|
+
"opc-request-id": createAwrHubRequest.opcRequestId
|
|
469
|
+
};
|
|
470
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
471
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createAwrHubRequest.retryConfiguration, specRetryConfiguration);
|
|
472
|
+
if (this.logger)
|
|
473
|
+
retrier.logger = this.logger;
|
|
474
|
+
const request = yield oci_common_1.composeRequest({
|
|
475
|
+
baseEndpoint: this._endpoint,
|
|
476
|
+
defaultHeaders: this._defaultHeaders,
|
|
477
|
+
path: "/awrHubs",
|
|
478
|
+
method: "POST",
|
|
479
|
+
bodyContent: common.ObjectSerializer.serialize(createAwrHubRequest.createAwrHubDetails, "CreateAwrHubDetails", model.CreateAwrHubDetails.getJsonObj),
|
|
480
|
+
pathParams: pathParams,
|
|
481
|
+
headerParams: headerParams,
|
|
482
|
+
queryParams: queryParams
|
|
483
|
+
});
|
|
484
|
+
try {
|
|
485
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
486
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
487
|
+
responseObject: {},
|
|
488
|
+
body: yield response.json(),
|
|
489
|
+
bodyKey: "awrHub",
|
|
490
|
+
bodyModel: model.AwrHub,
|
|
491
|
+
type: "model.AwrHub",
|
|
492
|
+
responseHeaders: [
|
|
493
|
+
{
|
|
494
|
+
value: response.headers.get("opc-work-request-id"),
|
|
495
|
+
key: "opcWorkRequestId",
|
|
496
|
+
dataType: "string"
|
|
497
|
+
},
|
|
498
|
+
{
|
|
499
|
+
value: response.headers.get("opc-request-id"),
|
|
500
|
+
key: "opcRequestId",
|
|
501
|
+
dataType: "string"
|
|
502
|
+
},
|
|
503
|
+
{
|
|
504
|
+
value: response.headers.get("location"),
|
|
505
|
+
key: "location",
|
|
506
|
+
dataType: "string"
|
|
507
|
+
},
|
|
508
|
+
{
|
|
509
|
+
value: response.headers.get("content-location"),
|
|
510
|
+
key: "contentLocation",
|
|
511
|
+
dataType: "string"
|
|
512
|
+
},
|
|
513
|
+
{
|
|
514
|
+
value: response.headers.get("etag"),
|
|
515
|
+
key: "etag",
|
|
516
|
+
dataType: "string"
|
|
517
|
+
}
|
|
518
|
+
]
|
|
519
|
+
});
|
|
520
|
+
return sdkResponse;
|
|
521
|
+
}
|
|
522
|
+
catch (err) {
|
|
523
|
+
throw err;
|
|
524
|
+
}
|
|
525
|
+
});
|
|
526
|
+
}
|
|
449
527
|
/**
|
|
450
528
|
* Create a Database Insight resource for a database in Operations Insights. The database will be enabled in Operations Insights. Database metric collection and analysis will be started.
|
|
451
529
|
*
|
|
@@ -453,7 +531,7 @@ class OperationsInsightsClient {
|
|
|
453
531
|
* @param CreateDatabaseInsightRequest
|
|
454
532
|
* @return CreateDatabaseInsightResponse
|
|
455
533
|
* @throws OciError when an error occurs
|
|
456
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
534
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.10.0/opsi/CreateDatabaseInsight.ts.html |here} to see how to use CreateDatabaseInsight API.
|
|
457
535
|
*/
|
|
458
536
|
createDatabaseInsight(createDatabaseInsightRequest) {
|
|
459
537
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -530,7 +608,7 @@ class OperationsInsightsClient {
|
|
|
530
608
|
* @param CreateEnterpriseManagerBridgeRequest
|
|
531
609
|
* @return CreateEnterpriseManagerBridgeResponse
|
|
532
610
|
* @throws OciError when an error occurs
|
|
533
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
611
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.10.0/opsi/CreateEnterpriseManagerBridge.ts.html |here} to see how to use CreateEnterpriseManagerBridge API.
|
|
534
612
|
*/
|
|
535
613
|
createEnterpriseManagerBridge(createEnterpriseManagerBridgeRequest) {
|
|
536
614
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -607,7 +685,7 @@ class OperationsInsightsClient {
|
|
|
607
685
|
* @param CreateExadataInsightRequest
|
|
608
686
|
* @return CreateExadataInsightResponse
|
|
609
687
|
* @throws OciError when an error occurs
|
|
610
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
688
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.10.0/opsi/CreateExadataInsight.ts.html |here} to see how to use CreateExadataInsight API.
|
|
611
689
|
*/
|
|
612
690
|
createExadataInsight(createExadataInsightRequest) {
|
|
613
691
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -684,7 +762,7 @@ class OperationsInsightsClient {
|
|
|
684
762
|
* @param CreateHostInsightRequest
|
|
685
763
|
* @return CreateHostInsightResponse
|
|
686
764
|
* @throws OciError when an error occurs
|
|
687
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
765
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.10.0/opsi/CreateHostInsight.ts.html |here} to see how to use CreateHostInsight API.
|
|
688
766
|
*/
|
|
689
767
|
createHostInsight(createHostInsightRequest) {
|
|
690
768
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -755,35 +833,36 @@ class OperationsInsightsClient {
|
|
|
755
833
|
});
|
|
756
834
|
}
|
|
757
835
|
/**
|
|
758
|
-
*
|
|
836
|
+
* Create a Operations Insights Warehouse resource for the tenant in Operations Insights. New ADW will be provisioned for this tenant.
|
|
837
|
+
* There is only expected to be 1 warehouse per tenant. The warehouse is expected to be in the root compartment.
|
|
838
|
+
*
|
|
759
839
|
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
760
|
-
* @param
|
|
761
|
-
* @return
|
|
840
|
+
* @param CreateOperationsInsightsWarehouseRequest
|
|
841
|
+
* @return CreateOperationsInsightsWarehouseResponse
|
|
762
842
|
* @throws OciError when an error occurs
|
|
763
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
843
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.10.0/opsi/CreateOperationsInsightsWarehouse.ts.html |here} to see how to use CreateOperationsInsightsWarehouse API.
|
|
764
844
|
*/
|
|
765
|
-
|
|
845
|
+
createOperationsInsightsWarehouse(createOperationsInsightsWarehouseRequest) {
|
|
766
846
|
return __awaiter(this, void 0, void 0, function* () {
|
|
767
847
|
if (this.logger)
|
|
768
|
-
this.logger.debug("Calling operation OperationsInsightsClient#
|
|
769
|
-
const pathParams = {
|
|
770
|
-
"{databaseInsightId}": deleteDatabaseInsightRequest.databaseInsightId
|
|
771
|
-
};
|
|
848
|
+
this.logger.debug("Calling operation OperationsInsightsClient#createOperationsInsightsWarehouse.");
|
|
849
|
+
const pathParams = {};
|
|
772
850
|
const queryParams = {};
|
|
773
851
|
let headerParams = {
|
|
774
852
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
775
|
-
"
|
|
776
|
-
"opc-request-id":
|
|
853
|
+
"opc-retry-token": createOperationsInsightsWarehouseRequest.opcRetryToken,
|
|
854
|
+
"opc-request-id": createOperationsInsightsWarehouseRequest.opcRequestId
|
|
777
855
|
};
|
|
778
856
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
779
|
-
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
|
|
857
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createOperationsInsightsWarehouseRequest.retryConfiguration, specRetryConfiguration);
|
|
780
858
|
if (this.logger)
|
|
781
859
|
retrier.logger = this.logger;
|
|
782
860
|
const request = yield oci_common_1.composeRequest({
|
|
783
861
|
baseEndpoint: this._endpoint,
|
|
784
862
|
defaultHeaders: this._defaultHeaders,
|
|
785
|
-
path: "/
|
|
786
|
-
method: "
|
|
863
|
+
path: "/operationsInsightsWarehouses",
|
|
864
|
+
method: "POST",
|
|
865
|
+
bodyContent: common.ObjectSerializer.serialize(createOperationsInsightsWarehouseRequest.createOperationsInsightsWarehouseDetails, "CreateOperationsInsightsWarehouseDetails", model.CreateOperationsInsightsWarehouseDetails.getJsonObj),
|
|
787
866
|
pathParams: pathParams,
|
|
788
867
|
headerParams: headerParams,
|
|
789
868
|
queryParams: queryParams
|
|
@@ -792,6 +871,10 @@ class OperationsInsightsClient {
|
|
|
792
871
|
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
793
872
|
const sdkResponse = oci_common_1.composeResponse({
|
|
794
873
|
responseObject: {},
|
|
874
|
+
body: yield response.json(),
|
|
875
|
+
bodyKey: "operationsInsightsWarehouse",
|
|
876
|
+
bodyModel: model.OperationsInsightsWarehouse,
|
|
877
|
+
type: "model.OperationsInsightsWarehouse",
|
|
795
878
|
responseHeaders: [
|
|
796
879
|
{
|
|
797
880
|
value: response.headers.get("opc-work-request-id"),
|
|
@@ -802,6 +885,21 @@ class OperationsInsightsClient {
|
|
|
802
885
|
value: response.headers.get("opc-request-id"),
|
|
803
886
|
key: "opcRequestId",
|
|
804
887
|
dataType: "string"
|
|
888
|
+
},
|
|
889
|
+
{
|
|
890
|
+
value: response.headers.get("location"),
|
|
891
|
+
key: "location",
|
|
892
|
+
dataType: "string"
|
|
893
|
+
},
|
|
894
|
+
{
|
|
895
|
+
value: response.headers.get("content-location"),
|
|
896
|
+
key: "contentLocation",
|
|
897
|
+
dataType: "string"
|
|
898
|
+
},
|
|
899
|
+
{
|
|
900
|
+
value: response.headers.get("etag"),
|
|
901
|
+
key: "etag",
|
|
902
|
+
dataType: "string"
|
|
805
903
|
}
|
|
806
904
|
]
|
|
807
905
|
});
|
|
@@ -813,35 +911,36 @@ class OperationsInsightsClient {
|
|
|
813
911
|
});
|
|
814
912
|
}
|
|
815
913
|
/**
|
|
816
|
-
*
|
|
914
|
+
* Create a Operations Insights Warehouse user resource for the tenant in Operations Insights.
|
|
915
|
+
* This resource will be created in root compartment.
|
|
916
|
+
*
|
|
817
917
|
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
818
|
-
* @param
|
|
819
|
-
* @return
|
|
918
|
+
* @param CreateOperationsInsightsWarehouseUserRequest
|
|
919
|
+
* @return CreateOperationsInsightsWarehouseUserResponse
|
|
820
920
|
* @throws OciError when an error occurs
|
|
821
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
921
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.10.0/opsi/CreateOperationsInsightsWarehouseUser.ts.html |here} to see how to use CreateOperationsInsightsWarehouseUser API.
|
|
822
922
|
*/
|
|
823
|
-
|
|
923
|
+
createOperationsInsightsWarehouseUser(createOperationsInsightsWarehouseUserRequest) {
|
|
824
924
|
return __awaiter(this, void 0, void 0, function* () {
|
|
825
925
|
if (this.logger)
|
|
826
|
-
this.logger.debug("Calling operation OperationsInsightsClient#
|
|
827
|
-
const pathParams = {
|
|
828
|
-
"{enterpriseManagerBridgeId}": deleteEnterpriseManagerBridgeRequest.enterpriseManagerBridgeId
|
|
829
|
-
};
|
|
926
|
+
this.logger.debug("Calling operation OperationsInsightsClient#createOperationsInsightsWarehouseUser.");
|
|
927
|
+
const pathParams = {};
|
|
830
928
|
const queryParams = {};
|
|
831
929
|
let headerParams = {
|
|
832
930
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
833
|
-
"
|
|
834
|
-
"opc-request-id":
|
|
931
|
+
"opc-retry-token": createOperationsInsightsWarehouseUserRequest.opcRetryToken,
|
|
932
|
+
"opc-request-id": createOperationsInsightsWarehouseUserRequest.opcRequestId
|
|
835
933
|
};
|
|
836
934
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
837
|
-
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
|
|
935
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createOperationsInsightsWarehouseUserRequest.retryConfiguration, specRetryConfiguration);
|
|
838
936
|
if (this.logger)
|
|
839
937
|
retrier.logger = this.logger;
|
|
840
938
|
const request = yield oci_common_1.composeRequest({
|
|
841
939
|
baseEndpoint: this._endpoint,
|
|
842
940
|
defaultHeaders: this._defaultHeaders,
|
|
843
|
-
path: "/
|
|
844
|
-
method: "
|
|
941
|
+
path: "/operationsInsightsWarehouseUsers",
|
|
942
|
+
method: "POST",
|
|
943
|
+
bodyContent: common.ObjectSerializer.serialize(createOperationsInsightsWarehouseUserRequest.createOperationsInsightsWarehouseUserDetails, "CreateOperationsInsightsWarehouseUserDetails", model.CreateOperationsInsightsWarehouseUserDetails.getJsonObj),
|
|
845
944
|
pathParams: pathParams,
|
|
846
945
|
headerParams: headerParams,
|
|
847
946
|
queryParams: queryParams
|
|
@@ -850,6 +949,10 @@ class OperationsInsightsClient {
|
|
|
850
949
|
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
851
950
|
const sdkResponse = oci_common_1.composeResponse({
|
|
852
951
|
responseObject: {},
|
|
952
|
+
body: yield response.json(),
|
|
953
|
+
bodyKey: "operationsInsightsWarehouseUser",
|
|
954
|
+
bodyModel: model.OperationsInsightsWarehouseUser,
|
|
955
|
+
type: "model.OperationsInsightsWarehouseUser",
|
|
853
956
|
responseHeaders: [
|
|
854
957
|
{
|
|
855
958
|
value: response.headers.get("opc-work-request-id"),
|
|
@@ -860,6 +963,21 @@ class OperationsInsightsClient {
|
|
|
860
963
|
value: response.headers.get("opc-request-id"),
|
|
861
964
|
key: "opcRequestId",
|
|
862
965
|
dataType: "string"
|
|
966
|
+
},
|
|
967
|
+
{
|
|
968
|
+
value: response.headers.get("location"),
|
|
969
|
+
key: "location",
|
|
970
|
+
dataType: "string"
|
|
971
|
+
},
|
|
972
|
+
{
|
|
973
|
+
value: response.headers.get("content-location"),
|
|
974
|
+
key: "contentLocation",
|
|
975
|
+
dataType: "string"
|
|
976
|
+
},
|
|
977
|
+
{
|
|
978
|
+
value: response.headers.get("etag"),
|
|
979
|
+
key: "etag",
|
|
980
|
+
dataType: "string"
|
|
863
981
|
}
|
|
864
982
|
]
|
|
865
983
|
});
|
|
@@ -871,34 +989,34 @@ class OperationsInsightsClient {
|
|
|
871
989
|
});
|
|
872
990
|
}
|
|
873
991
|
/**
|
|
874
|
-
* Deletes an
|
|
992
|
+
* Deletes an AWR hub.
|
|
875
993
|
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
876
|
-
* @param
|
|
877
|
-
* @return
|
|
994
|
+
* @param DeleteAwrHubRequest
|
|
995
|
+
* @return DeleteAwrHubResponse
|
|
878
996
|
* @throws OciError when an error occurs
|
|
879
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
997
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.10.0/opsi/DeleteAwrHub.ts.html |here} to see how to use DeleteAwrHub API.
|
|
880
998
|
*/
|
|
881
|
-
|
|
999
|
+
deleteAwrHub(deleteAwrHubRequest) {
|
|
882
1000
|
return __awaiter(this, void 0, void 0, function* () {
|
|
883
1001
|
if (this.logger)
|
|
884
|
-
this.logger.debug("Calling operation OperationsInsightsClient#
|
|
1002
|
+
this.logger.debug("Calling operation OperationsInsightsClient#deleteAwrHub.");
|
|
885
1003
|
const pathParams = {
|
|
886
|
-
"{
|
|
1004
|
+
"{awrHubId}": deleteAwrHubRequest.awrHubId
|
|
887
1005
|
};
|
|
888
1006
|
const queryParams = {};
|
|
889
1007
|
let headerParams = {
|
|
890
1008
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
891
|
-
"if-match":
|
|
892
|
-
"opc-request-id":
|
|
1009
|
+
"if-match": deleteAwrHubRequest.ifMatch,
|
|
1010
|
+
"opc-request-id": deleteAwrHubRequest.opcRequestId
|
|
893
1011
|
};
|
|
894
1012
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
895
|
-
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
|
|
1013
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteAwrHubRequest.retryConfiguration, specRetryConfiguration);
|
|
896
1014
|
if (this.logger)
|
|
897
1015
|
retrier.logger = this.logger;
|
|
898
1016
|
const request = yield oci_common_1.composeRequest({
|
|
899
1017
|
baseEndpoint: this._endpoint,
|
|
900
1018
|
defaultHeaders: this._defaultHeaders,
|
|
901
|
-
path: "/
|
|
1019
|
+
path: "/awrHubs/{awrHubId}",
|
|
902
1020
|
method: "DELETE",
|
|
903
1021
|
pathParams: pathParams,
|
|
904
1022
|
headerParams: headerParams,
|
|
@@ -929,34 +1047,34 @@ class OperationsInsightsClient {
|
|
|
929
1047
|
});
|
|
930
1048
|
}
|
|
931
1049
|
/**
|
|
932
|
-
* Deletes a
|
|
1050
|
+
* Deletes a database insight. The database insight will be deleted and cannot be enabled again.
|
|
933
1051
|
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
934
|
-
* @param
|
|
935
|
-
* @return
|
|
1052
|
+
* @param DeleteDatabaseInsightRequest
|
|
1053
|
+
* @return DeleteDatabaseInsightResponse
|
|
936
1054
|
* @throws OciError when an error occurs
|
|
937
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1055
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.10.0/opsi/DeleteDatabaseInsight.ts.html |here} to see how to use DeleteDatabaseInsight API.
|
|
938
1056
|
*/
|
|
939
|
-
|
|
1057
|
+
deleteDatabaseInsight(deleteDatabaseInsightRequest) {
|
|
940
1058
|
return __awaiter(this, void 0, void 0, function* () {
|
|
941
1059
|
if (this.logger)
|
|
942
|
-
this.logger.debug("Calling operation OperationsInsightsClient#
|
|
1060
|
+
this.logger.debug("Calling operation OperationsInsightsClient#deleteDatabaseInsight.");
|
|
943
1061
|
const pathParams = {
|
|
944
|
-
"{
|
|
1062
|
+
"{databaseInsightId}": deleteDatabaseInsightRequest.databaseInsightId
|
|
945
1063
|
};
|
|
946
1064
|
const queryParams = {};
|
|
947
1065
|
let headerParams = {
|
|
948
1066
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
949
|
-
"if-match":
|
|
950
|
-
"opc-request-id":
|
|
1067
|
+
"if-match": deleteDatabaseInsightRequest.ifMatch,
|
|
1068
|
+
"opc-request-id": deleteDatabaseInsightRequest.opcRequestId
|
|
951
1069
|
};
|
|
952
1070
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
953
|
-
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
|
|
1071
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteDatabaseInsightRequest.retryConfiguration, specRetryConfiguration);
|
|
954
1072
|
if (this.logger)
|
|
955
1073
|
retrier.logger = this.logger;
|
|
956
1074
|
const request = yield oci_common_1.composeRequest({
|
|
957
1075
|
baseEndpoint: this._endpoint,
|
|
958
1076
|
defaultHeaders: this._defaultHeaders,
|
|
959
|
-
path: "/
|
|
1077
|
+
path: "/databaseInsights/{databaseInsightId}",
|
|
960
1078
|
method: "DELETE",
|
|
961
1079
|
pathParams: pathParams,
|
|
962
1080
|
headerParams: headerParams,
|
|
@@ -987,36 +1105,35 @@ class OperationsInsightsClient {
|
|
|
987
1105
|
});
|
|
988
1106
|
}
|
|
989
1107
|
/**
|
|
990
|
-
*
|
|
1108
|
+
* Deletes an Operations Insights Enterprise Manager bridge. If any database insight is still referencing this bridge, the operation will fail.
|
|
991
1109
|
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
992
|
-
* @param
|
|
993
|
-
* @return
|
|
1110
|
+
* @param DeleteEnterpriseManagerBridgeRequest
|
|
1111
|
+
* @return DeleteEnterpriseManagerBridgeResponse
|
|
994
1112
|
* @throws OciError when an error occurs
|
|
995
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1113
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.10.0/opsi/DeleteEnterpriseManagerBridge.ts.html |here} to see how to use DeleteEnterpriseManagerBridge API.
|
|
996
1114
|
*/
|
|
997
|
-
|
|
1115
|
+
deleteEnterpriseManagerBridge(deleteEnterpriseManagerBridgeRequest) {
|
|
998
1116
|
return __awaiter(this, void 0, void 0, function* () {
|
|
999
1117
|
if (this.logger)
|
|
1000
|
-
this.logger.debug("Calling operation OperationsInsightsClient#
|
|
1118
|
+
this.logger.debug("Calling operation OperationsInsightsClient#deleteEnterpriseManagerBridge.");
|
|
1001
1119
|
const pathParams = {
|
|
1002
|
-
"{
|
|
1120
|
+
"{enterpriseManagerBridgeId}": deleteEnterpriseManagerBridgeRequest.enterpriseManagerBridgeId
|
|
1003
1121
|
};
|
|
1004
1122
|
const queryParams = {};
|
|
1005
1123
|
let headerParams = {
|
|
1006
1124
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1007
|
-
"if-match":
|
|
1008
|
-
"opc-request-id":
|
|
1009
|
-
"opc-retry-token": disableDatabaseInsightRequest.opcRetryToken
|
|
1125
|
+
"if-match": deleteEnterpriseManagerBridgeRequest.ifMatch,
|
|
1126
|
+
"opc-request-id": deleteEnterpriseManagerBridgeRequest.opcRequestId
|
|
1010
1127
|
};
|
|
1011
1128
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1012
|
-
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
|
|
1129
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteEnterpriseManagerBridgeRequest.retryConfiguration, specRetryConfiguration);
|
|
1013
1130
|
if (this.logger)
|
|
1014
1131
|
retrier.logger = this.logger;
|
|
1015
1132
|
const request = yield oci_common_1.composeRequest({
|
|
1016
1133
|
baseEndpoint: this._endpoint,
|
|
1017
1134
|
defaultHeaders: this._defaultHeaders,
|
|
1018
|
-
path: "/
|
|
1019
|
-
method: "
|
|
1135
|
+
path: "/enterpriseManagerBridges/{enterpriseManagerBridgeId}",
|
|
1136
|
+
method: "DELETE",
|
|
1020
1137
|
pathParams: pathParams,
|
|
1021
1138
|
headerParams: headerParams,
|
|
1022
1139
|
queryParams: queryParams
|
|
@@ -1046,36 +1163,35 @@ class OperationsInsightsClient {
|
|
|
1046
1163
|
});
|
|
1047
1164
|
}
|
|
1048
1165
|
/**
|
|
1049
|
-
*
|
|
1166
|
+
* Deletes an Exadata insight. The Exadata insight will be deleted and cannot be enabled again.
|
|
1050
1167
|
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1051
|
-
* @param
|
|
1052
|
-
* @return
|
|
1168
|
+
* @param DeleteExadataInsightRequest
|
|
1169
|
+
* @return DeleteExadataInsightResponse
|
|
1053
1170
|
* @throws OciError when an error occurs
|
|
1054
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1171
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.10.0/opsi/DeleteExadataInsight.ts.html |here} to see how to use DeleteExadataInsight API.
|
|
1055
1172
|
*/
|
|
1056
|
-
|
|
1173
|
+
deleteExadataInsight(deleteExadataInsightRequest) {
|
|
1057
1174
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1058
1175
|
if (this.logger)
|
|
1059
|
-
this.logger.debug("Calling operation OperationsInsightsClient#
|
|
1176
|
+
this.logger.debug("Calling operation OperationsInsightsClient#deleteExadataInsight.");
|
|
1060
1177
|
const pathParams = {
|
|
1061
|
-
"{exadataInsightId}":
|
|
1178
|
+
"{exadataInsightId}": deleteExadataInsightRequest.exadataInsightId
|
|
1062
1179
|
};
|
|
1063
1180
|
const queryParams = {};
|
|
1064
1181
|
let headerParams = {
|
|
1065
1182
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1066
|
-
"if-match":
|
|
1067
|
-
"opc-request-id":
|
|
1068
|
-
"opc-retry-token": disableExadataInsightRequest.opcRetryToken
|
|
1183
|
+
"if-match": deleteExadataInsightRequest.ifMatch,
|
|
1184
|
+
"opc-request-id": deleteExadataInsightRequest.opcRequestId
|
|
1069
1185
|
};
|
|
1070
1186
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1071
|
-
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
|
|
1187
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteExadataInsightRequest.retryConfiguration, specRetryConfiguration);
|
|
1072
1188
|
if (this.logger)
|
|
1073
1189
|
retrier.logger = this.logger;
|
|
1074
1190
|
const request = yield oci_common_1.composeRequest({
|
|
1075
1191
|
baseEndpoint: this._endpoint,
|
|
1076
1192
|
defaultHeaders: this._defaultHeaders,
|
|
1077
|
-
path: "/exadataInsights/{exadataInsightId}
|
|
1078
|
-
method: "
|
|
1193
|
+
path: "/exadataInsights/{exadataInsightId}",
|
|
1194
|
+
method: "DELETE",
|
|
1079
1195
|
pathParams: pathParams,
|
|
1080
1196
|
headerParams: headerParams,
|
|
1081
1197
|
queryParams: queryParams
|
|
@@ -1105,36 +1221,35 @@ class OperationsInsightsClient {
|
|
|
1105
1221
|
});
|
|
1106
1222
|
}
|
|
1107
1223
|
/**
|
|
1108
|
-
*
|
|
1224
|
+
* Deletes a host insight. The host insight will be deleted and cannot be enabled again.
|
|
1109
1225
|
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1110
|
-
* @param
|
|
1111
|
-
* @return
|
|
1226
|
+
* @param DeleteHostInsightRequest
|
|
1227
|
+
* @return DeleteHostInsightResponse
|
|
1112
1228
|
* @throws OciError when an error occurs
|
|
1113
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1229
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.10.0/opsi/DeleteHostInsight.ts.html |here} to see how to use DeleteHostInsight API.
|
|
1114
1230
|
*/
|
|
1115
|
-
|
|
1231
|
+
deleteHostInsight(deleteHostInsightRequest) {
|
|
1116
1232
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1117
1233
|
if (this.logger)
|
|
1118
|
-
this.logger.debug("Calling operation OperationsInsightsClient#
|
|
1234
|
+
this.logger.debug("Calling operation OperationsInsightsClient#deleteHostInsight.");
|
|
1119
1235
|
const pathParams = {
|
|
1120
|
-
"{hostInsightId}":
|
|
1236
|
+
"{hostInsightId}": deleteHostInsightRequest.hostInsightId
|
|
1121
1237
|
};
|
|
1122
1238
|
const queryParams = {};
|
|
1123
1239
|
let headerParams = {
|
|
1124
1240
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1125
|
-
"if-match":
|
|
1126
|
-
"opc-request-id":
|
|
1127
|
-
"opc-retry-token": disableHostInsightRequest.opcRetryToken
|
|
1241
|
+
"if-match": deleteHostInsightRequest.ifMatch,
|
|
1242
|
+
"opc-request-id": deleteHostInsightRequest.opcRequestId
|
|
1128
1243
|
};
|
|
1129
1244
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1130
|
-
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
|
|
1245
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteHostInsightRequest.retryConfiguration, specRetryConfiguration);
|
|
1131
1246
|
if (this.logger)
|
|
1132
1247
|
retrier.logger = this.logger;
|
|
1133
1248
|
const request = yield oci_common_1.composeRequest({
|
|
1134
1249
|
baseEndpoint: this._endpoint,
|
|
1135
1250
|
defaultHeaders: this._defaultHeaders,
|
|
1136
|
-
path: "/hostInsights/{hostInsightId}
|
|
1137
|
-
method: "
|
|
1251
|
+
path: "/hostInsights/{hostInsightId}",
|
|
1252
|
+
method: "DELETE",
|
|
1138
1253
|
pathParams: pathParams,
|
|
1139
1254
|
headerParams: headerParams,
|
|
1140
1255
|
queryParams: queryParams
|
|
@@ -1164,37 +1279,39 @@ class OperationsInsightsClient {
|
|
|
1164
1279
|
});
|
|
1165
1280
|
}
|
|
1166
1281
|
/**
|
|
1167
|
-
*
|
|
1282
|
+
* Deletes an Operations Insights Warehouse. There is only expected to be 1 warehouse per tenant.
|
|
1283
|
+
* The warehouse is expected to be in the root compartment.
|
|
1284
|
+
* User must delete AWR Hub resource for this warehouse before calling this operation.
|
|
1285
|
+
* User must delete the warehouse users before calling this operation.
|
|
1286
|
+
*
|
|
1168
1287
|
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1169
|
-
* @param
|
|
1170
|
-
* @return
|
|
1288
|
+
* @param DeleteOperationsInsightsWarehouseRequest
|
|
1289
|
+
* @return DeleteOperationsInsightsWarehouseResponse
|
|
1171
1290
|
* @throws OciError when an error occurs
|
|
1172
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1291
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.10.0/opsi/DeleteOperationsInsightsWarehouse.ts.html |here} to see how to use DeleteOperationsInsightsWarehouse API.
|
|
1173
1292
|
*/
|
|
1174
|
-
|
|
1293
|
+
deleteOperationsInsightsWarehouse(deleteOperationsInsightsWarehouseRequest) {
|
|
1175
1294
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1176
1295
|
if (this.logger)
|
|
1177
|
-
this.logger.debug("Calling operation OperationsInsightsClient#
|
|
1296
|
+
this.logger.debug("Calling operation OperationsInsightsClient#deleteOperationsInsightsWarehouse.");
|
|
1178
1297
|
const pathParams = {
|
|
1179
|
-
"{
|
|
1298
|
+
"{operationsInsightsWarehouseId}": deleteOperationsInsightsWarehouseRequest.operationsInsightsWarehouseId
|
|
1180
1299
|
};
|
|
1181
1300
|
const queryParams = {};
|
|
1182
1301
|
let headerParams = {
|
|
1183
1302
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1184
|
-
"if-match":
|
|
1185
|
-
"opc-request-id":
|
|
1186
|
-
"opc-retry-token": enableDatabaseInsightRequest.opcRetryToken
|
|
1303
|
+
"if-match": deleteOperationsInsightsWarehouseRequest.ifMatch,
|
|
1304
|
+
"opc-request-id": deleteOperationsInsightsWarehouseRequest.opcRequestId
|
|
1187
1305
|
};
|
|
1188
1306
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1189
|
-
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
|
|
1307
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteOperationsInsightsWarehouseRequest.retryConfiguration, specRetryConfiguration);
|
|
1190
1308
|
if (this.logger)
|
|
1191
1309
|
retrier.logger = this.logger;
|
|
1192
1310
|
const request = yield oci_common_1.composeRequest({
|
|
1193
1311
|
baseEndpoint: this._endpoint,
|
|
1194
1312
|
defaultHeaders: this._defaultHeaders,
|
|
1195
|
-
path: "/
|
|
1196
|
-
method: "
|
|
1197
|
-
bodyContent: common.ObjectSerializer.serialize(enableDatabaseInsightRequest.enableDatabaseInsightDetails, "EnableDatabaseInsightDetails", model.EnableDatabaseInsightDetails.getJsonObj),
|
|
1313
|
+
path: "/operationsInsightsWarehouses/{operationsInsightsWarehouseId}",
|
|
1314
|
+
method: "DELETE",
|
|
1198
1315
|
pathParams: pathParams,
|
|
1199
1316
|
headerParams: headerParams,
|
|
1200
1317
|
queryParams: queryParams
|
|
@@ -1224,37 +1341,35 @@ class OperationsInsightsClient {
|
|
|
1224
1341
|
});
|
|
1225
1342
|
}
|
|
1226
1343
|
/**
|
|
1227
|
-
*
|
|
1344
|
+
* Deletes an Operations Insights Warehouse User.
|
|
1228
1345
|
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1229
|
-
* @param
|
|
1230
|
-
* @return
|
|
1346
|
+
* @param DeleteOperationsInsightsWarehouseUserRequest
|
|
1347
|
+
* @return DeleteOperationsInsightsWarehouseUserResponse
|
|
1231
1348
|
* @throws OciError when an error occurs
|
|
1232
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1349
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.10.0/opsi/DeleteOperationsInsightsWarehouseUser.ts.html |here} to see how to use DeleteOperationsInsightsWarehouseUser API.
|
|
1233
1350
|
*/
|
|
1234
|
-
|
|
1351
|
+
deleteOperationsInsightsWarehouseUser(deleteOperationsInsightsWarehouseUserRequest) {
|
|
1235
1352
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1236
1353
|
if (this.logger)
|
|
1237
|
-
this.logger.debug("Calling operation OperationsInsightsClient#
|
|
1354
|
+
this.logger.debug("Calling operation OperationsInsightsClient#deleteOperationsInsightsWarehouseUser.");
|
|
1238
1355
|
const pathParams = {
|
|
1239
|
-
"{
|
|
1356
|
+
"{operationsInsightsWarehouseUserId}": deleteOperationsInsightsWarehouseUserRequest.operationsInsightsWarehouseUserId
|
|
1240
1357
|
};
|
|
1241
1358
|
const queryParams = {};
|
|
1242
1359
|
let headerParams = {
|
|
1243
1360
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1244
|
-
"if-match":
|
|
1245
|
-
"opc-request-id":
|
|
1246
|
-
"opc-retry-token": enableExadataInsightRequest.opcRetryToken
|
|
1361
|
+
"if-match": deleteOperationsInsightsWarehouseUserRequest.ifMatch,
|
|
1362
|
+
"opc-request-id": deleteOperationsInsightsWarehouseUserRequest.opcRequestId
|
|
1247
1363
|
};
|
|
1248
1364
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1249
|
-
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
|
|
1365
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteOperationsInsightsWarehouseUserRequest.retryConfiguration, specRetryConfiguration);
|
|
1250
1366
|
if (this.logger)
|
|
1251
1367
|
retrier.logger = this.logger;
|
|
1252
1368
|
const request = yield oci_common_1.composeRequest({
|
|
1253
1369
|
baseEndpoint: this._endpoint,
|
|
1254
1370
|
defaultHeaders: this._defaultHeaders,
|
|
1255
|
-
path: "/
|
|
1256
|
-
method: "
|
|
1257
|
-
bodyContent: common.ObjectSerializer.serialize(enableExadataInsightRequest.enableExadataInsightDetails, "EnableExadataInsightDetails", model.EnableExadataInsightDetails.getJsonObj),
|
|
1371
|
+
path: "/operationsInsightsWarehouseUsers/{operationsInsightsWarehouseUserId}",
|
|
1372
|
+
method: "DELETE",
|
|
1258
1373
|
pathParams: pathParams,
|
|
1259
1374
|
headerParams: headerParams,
|
|
1260
1375
|
queryParams: queryParams
|
|
@@ -1284,37 +1399,651 @@ class OperationsInsightsClient {
|
|
|
1284
1399
|
});
|
|
1285
1400
|
}
|
|
1286
1401
|
/**
|
|
1287
|
-
*
|
|
1402
|
+
* Disables a database in Operations Insights. Database metric collection and analysis will be stopped.
|
|
1403
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1404
|
+
* @param DisableDatabaseInsightRequest
|
|
1405
|
+
* @return DisableDatabaseInsightResponse
|
|
1406
|
+
* @throws OciError when an error occurs
|
|
1407
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.10.0/opsi/DisableDatabaseInsight.ts.html |here} to see how to use DisableDatabaseInsight API.
|
|
1408
|
+
*/
|
|
1409
|
+
disableDatabaseInsight(disableDatabaseInsightRequest) {
|
|
1410
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1411
|
+
if (this.logger)
|
|
1412
|
+
this.logger.debug("Calling operation OperationsInsightsClient#disableDatabaseInsight.");
|
|
1413
|
+
const pathParams = {
|
|
1414
|
+
"{databaseInsightId}": disableDatabaseInsightRequest.databaseInsightId
|
|
1415
|
+
};
|
|
1416
|
+
const queryParams = {};
|
|
1417
|
+
let headerParams = {
|
|
1418
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1419
|
+
"if-match": disableDatabaseInsightRequest.ifMatch,
|
|
1420
|
+
"opc-request-id": disableDatabaseInsightRequest.opcRequestId,
|
|
1421
|
+
"opc-retry-token": disableDatabaseInsightRequest.opcRetryToken
|
|
1422
|
+
};
|
|
1423
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1424
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, disableDatabaseInsightRequest.retryConfiguration, specRetryConfiguration);
|
|
1425
|
+
if (this.logger)
|
|
1426
|
+
retrier.logger = this.logger;
|
|
1427
|
+
const request = yield oci_common_1.composeRequest({
|
|
1428
|
+
baseEndpoint: this._endpoint,
|
|
1429
|
+
defaultHeaders: this._defaultHeaders,
|
|
1430
|
+
path: "/databaseInsights/{databaseInsightId}/actions/disable",
|
|
1431
|
+
method: "POST",
|
|
1432
|
+
pathParams: pathParams,
|
|
1433
|
+
headerParams: headerParams,
|
|
1434
|
+
queryParams: queryParams
|
|
1435
|
+
});
|
|
1436
|
+
try {
|
|
1437
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
1438
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
1439
|
+
responseObject: {},
|
|
1440
|
+
responseHeaders: [
|
|
1441
|
+
{
|
|
1442
|
+
value: response.headers.get("opc-work-request-id"),
|
|
1443
|
+
key: "opcWorkRequestId",
|
|
1444
|
+
dataType: "string"
|
|
1445
|
+
},
|
|
1446
|
+
{
|
|
1447
|
+
value: response.headers.get("opc-request-id"),
|
|
1448
|
+
key: "opcRequestId",
|
|
1449
|
+
dataType: "string"
|
|
1450
|
+
}
|
|
1451
|
+
]
|
|
1452
|
+
});
|
|
1453
|
+
return sdkResponse;
|
|
1454
|
+
}
|
|
1455
|
+
catch (err) {
|
|
1456
|
+
throw err;
|
|
1457
|
+
}
|
|
1458
|
+
});
|
|
1459
|
+
}
|
|
1460
|
+
/**
|
|
1461
|
+
* Disables an Exadata system in Operations Insights. Exadata-related metric collection and analysis will be stopped.
|
|
1462
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1463
|
+
* @param DisableExadataInsightRequest
|
|
1464
|
+
* @return DisableExadataInsightResponse
|
|
1465
|
+
* @throws OciError when an error occurs
|
|
1466
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.10.0/opsi/DisableExadataInsight.ts.html |here} to see how to use DisableExadataInsight API.
|
|
1467
|
+
*/
|
|
1468
|
+
disableExadataInsight(disableExadataInsightRequest) {
|
|
1469
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1470
|
+
if (this.logger)
|
|
1471
|
+
this.logger.debug("Calling operation OperationsInsightsClient#disableExadataInsight.");
|
|
1472
|
+
const pathParams = {
|
|
1473
|
+
"{exadataInsightId}": disableExadataInsightRequest.exadataInsightId
|
|
1474
|
+
};
|
|
1475
|
+
const queryParams = {};
|
|
1476
|
+
let headerParams = {
|
|
1477
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1478
|
+
"if-match": disableExadataInsightRequest.ifMatch,
|
|
1479
|
+
"opc-request-id": disableExadataInsightRequest.opcRequestId,
|
|
1480
|
+
"opc-retry-token": disableExadataInsightRequest.opcRetryToken
|
|
1481
|
+
};
|
|
1482
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1483
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, disableExadataInsightRequest.retryConfiguration, specRetryConfiguration);
|
|
1484
|
+
if (this.logger)
|
|
1485
|
+
retrier.logger = this.logger;
|
|
1486
|
+
const request = yield oci_common_1.composeRequest({
|
|
1487
|
+
baseEndpoint: this._endpoint,
|
|
1488
|
+
defaultHeaders: this._defaultHeaders,
|
|
1489
|
+
path: "/exadataInsights/{exadataInsightId}/actions/disable",
|
|
1490
|
+
method: "POST",
|
|
1491
|
+
pathParams: pathParams,
|
|
1492
|
+
headerParams: headerParams,
|
|
1493
|
+
queryParams: queryParams
|
|
1494
|
+
});
|
|
1495
|
+
try {
|
|
1496
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
1497
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
1498
|
+
responseObject: {},
|
|
1499
|
+
responseHeaders: [
|
|
1500
|
+
{
|
|
1501
|
+
value: response.headers.get("opc-work-request-id"),
|
|
1502
|
+
key: "opcWorkRequestId",
|
|
1503
|
+
dataType: "string"
|
|
1504
|
+
},
|
|
1505
|
+
{
|
|
1506
|
+
value: response.headers.get("opc-request-id"),
|
|
1507
|
+
key: "opcRequestId",
|
|
1508
|
+
dataType: "string"
|
|
1509
|
+
}
|
|
1510
|
+
]
|
|
1511
|
+
});
|
|
1512
|
+
return sdkResponse;
|
|
1513
|
+
}
|
|
1514
|
+
catch (err) {
|
|
1515
|
+
throw err;
|
|
1516
|
+
}
|
|
1517
|
+
});
|
|
1518
|
+
}
|
|
1519
|
+
/**
|
|
1520
|
+
* Disables a host in Operations Insights. Host metric collection and analysis will be stopped.
|
|
1521
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1522
|
+
* @param DisableHostInsightRequest
|
|
1523
|
+
* @return DisableHostInsightResponse
|
|
1524
|
+
* @throws OciError when an error occurs
|
|
1525
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.10.0/opsi/DisableHostInsight.ts.html |here} to see how to use DisableHostInsight API.
|
|
1526
|
+
*/
|
|
1527
|
+
disableHostInsight(disableHostInsightRequest) {
|
|
1528
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1529
|
+
if (this.logger)
|
|
1530
|
+
this.logger.debug("Calling operation OperationsInsightsClient#disableHostInsight.");
|
|
1531
|
+
const pathParams = {
|
|
1532
|
+
"{hostInsightId}": disableHostInsightRequest.hostInsightId
|
|
1533
|
+
};
|
|
1534
|
+
const queryParams = {};
|
|
1535
|
+
let headerParams = {
|
|
1536
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1537
|
+
"if-match": disableHostInsightRequest.ifMatch,
|
|
1538
|
+
"opc-request-id": disableHostInsightRequest.opcRequestId,
|
|
1539
|
+
"opc-retry-token": disableHostInsightRequest.opcRetryToken
|
|
1540
|
+
};
|
|
1541
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1542
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, disableHostInsightRequest.retryConfiguration, specRetryConfiguration);
|
|
1543
|
+
if (this.logger)
|
|
1544
|
+
retrier.logger = this.logger;
|
|
1545
|
+
const request = yield oci_common_1.composeRequest({
|
|
1546
|
+
baseEndpoint: this._endpoint,
|
|
1547
|
+
defaultHeaders: this._defaultHeaders,
|
|
1548
|
+
path: "/hostInsights/{hostInsightId}/actions/disable",
|
|
1549
|
+
method: "POST",
|
|
1550
|
+
pathParams: pathParams,
|
|
1551
|
+
headerParams: headerParams,
|
|
1552
|
+
queryParams: queryParams
|
|
1553
|
+
});
|
|
1554
|
+
try {
|
|
1555
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
1556
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
1557
|
+
responseObject: {},
|
|
1558
|
+
responseHeaders: [
|
|
1559
|
+
{
|
|
1560
|
+
value: response.headers.get("opc-work-request-id"),
|
|
1561
|
+
key: "opcWorkRequestId",
|
|
1562
|
+
dataType: "string"
|
|
1563
|
+
},
|
|
1564
|
+
{
|
|
1565
|
+
value: response.headers.get("opc-request-id"),
|
|
1566
|
+
key: "opcRequestId",
|
|
1567
|
+
dataType: "string"
|
|
1568
|
+
}
|
|
1569
|
+
]
|
|
1570
|
+
});
|
|
1571
|
+
return sdkResponse;
|
|
1572
|
+
}
|
|
1573
|
+
catch (err) {
|
|
1574
|
+
throw err;
|
|
1575
|
+
}
|
|
1576
|
+
});
|
|
1577
|
+
}
|
|
1578
|
+
/**
|
|
1579
|
+
* Download the ADW wallet for Operations Insights Warehouse using which the Hub data is exposed.
|
|
1580
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1581
|
+
* @param DownloadOperationsInsightsWarehouseWalletRequest
|
|
1582
|
+
* @return DownloadOperationsInsightsWarehouseWalletResponse
|
|
1583
|
+
* @throws OciError when an error occurs
|
|
1584
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.10.0/opsi/DownloadOperationsInsightsWarehouseWallet.ts.html |here} to see how to use DownloadOperationsInsightsWarehouseWallet API.
|
|
1585
|
+
*/
|
|
1586
|
+
downloadOperationsInsightsWarehouseWallet(downloadOperationsInsightsWarehouseWalletRequest) {
|
|
1587
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1588
|
+
if (this.logger)
|
|
1589
|
+
this.logger.debug("Calling operation OperationsInsightsClient#downloadOperationsInsightsWarehouseWallet.");
|
|
1590
|
+
const pathParams = {
|
|
1591
|
+
"{operationsInsightsWarehouseId}": downloadOperationsInsightsWarehouseWalletRequest.operationsInsightsWarehouseId
|
|
1592
|
+
};
|
|
1593
|
+
const queryParams = {};
|
|
1594
|
+
let headerParams = {
|
|
1595
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1596
|
+
"opc-request-id": downloadOperationsInsightsWarehouseWalletRequest.opcRequestId,
|
|
1597
|
+
"opc-retry-token": downloadOperationsInsightsWarehouseWalletRequest.opcRetryToken
|
|
1598
|
+
};
|
|
1599
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1600
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, downloadOperationsInsightsWarehouseWalletRequest.retryConfiguration, specRetryConfiguration);
|
|
1601
|
+
if (this.logger)
|
|
1602
|
+
retrier.logger = this.logger;
|
|
1603
|
+
const request = yield oci_common_1.composeRequest({
|
|
1604
|
+
baseEndpoint: this._endpoint,
|
|
1605
|
+
defaultHeaders: this._defaultHeaders,
|
|
1606
|
+
path: "/operationsInsightsWarehouses/{operationsInsightsWarehouseId}/actions/downloadWarehouseWallet",
|
|
1607
|
+
method: "POST",
|
|
1608
|
+
bodyContent: common.ObjectSerializer.serialize(downloadOperationsInsightsWarehouseWalletRequest.downloadOperationsInsightsWarehouseWalletDetails, "DownloadOperationsInsightsWarehouseWalletDetails", model.DownloadOperationsInsightsWarehouseWalletDetails.getJsonObj),
|
|
1609
|
+
pathParams: pathParams,
|
|
1610
|
+
headerParams: headerParams,
|
|
1611
|
+
queryParams: queryParams
|
|
1612
|
+
});
|
|
1613
|
+
try {
|
|
1614
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
1615
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
1616
|
+
responseObject: {},
|
|
1617
|
+
body: response.body,
|
|
1618
|
+
bodyKey: "value",
|
|
1619
|
+
bodyModel: "string",
|
|
1620
|
+
responseHeaders: [
|
|
1621
|
+
{
|
|
1622
|
+
value: response.headers.get("etag"),
|
|
1623
|
+
key: "etag",
|
|
1624
|
+
dataType: "string"
|
|
1625
|
+
},
|
|
1626
|
+
{
|
|
1627
|
+
value: response.headers.get("opc-request-id"),
|
|
1628
|
+
key: "opcRequestId",
|
|
1629
|
+
dataType: "string"
|
|
1630
|
+
},
|
|
1631
|
+
{
|
|
1632
|
+
value: response.headers.get("content-length"),
|
|
1633
|
+
key: "contentLength",
|
|
1634
|
+
dataType: "number"
|
|
1635
|
+
},
|
|
1636
|
+
{
|
|
1637
|
+
value: response.headers.get("last-modified"),
|
|
1638
|
+
key: "lastModified",
|
|
1639
|
+
dataType: "Date"
|
|
1640
|
+
}
|
|
1641
|
+
]
|
|
1642
|
+
});
|
|
1643
|
+
return sdkResponse;
|
|
1644
|
+
}
|
|
1645
|
+
catch (err) {
|
|
1646
|
+
throw err;
|
|
1647
|
+
}
|
|
1648
|
+
});
|
|
1649
|
+
}
|
|
1650
|
+
/**
|
|
1651
|
+
* Enables a database in Operations Insights. Database metric collection and analysis will be started.
|
|
1652
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1653
|
+
* @param EnableDatabaseInsightRequest
|
|
1654
|
+
* @return EnableDatabaseInsightResponse
|
|
1655
|
+
* @throws OciError when an error occurs
|
|
1656
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.10.0/opsi/EnableDatabaseInsight.ts.html |here} to see how to use EnableDatabaseInsight API.
|
|
1657
|
+
*/
|
|
1658
|
+
enableDatabaseInsight(enableDatabaseInsightRequest) {
|
|
1659
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1660
|
+
if (this.logger)
|
|
1661
|
+
this.logger.debug("Calling operation OperationsInsightsClient#enableDatabaseInsight.");
|
|
1662
|
+
const pathParams = {
|
|
1663
|
+
"{databaseInsightId}": enableDatabaseInsightRequest.databaseInsightId
|
|
1664
|
+
};
|
|
1665
|
+
const queryParams = {};
|
|
1666
|
+
let headerParams = {
|
|
1667
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1668
|
+
"if-match": enableDatabaseInsightRequest.ifMatch,
|
|
1669
|
+
"opc-request-id": enableDatabaseInsightRequest.opcRequestId,
|
|
1670
|
+
"opc-retry-token": enableDatabaseInsightRequest.opcRetryToken
|
|
1671
|
+
};
|
|
1672
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1673
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, enableDatabaseInsightRequest.retryConfiguration, specRetryConfiguration);
|
|
1674
|
+
if (this.logger)
|
|
1675
|
+
retrier.logger = this.logger;
|
|
1676
|
+
const request = yield oci_common_1.composeRequest({
|
|
1677
|
+
baseEndpoint: this._endpoint,
|
|
1678
|
+
defaultHeaders: this._defaultHeaders,
|
|
1679
|
+
path: "/databaseInsights/{databaseInsightId}/actions/enable",
|
|
1680
|
+
method: "POST",
|
|
1681
|
+
bodyContent: common.ObjectSerializer.serialize(enableDatabaseInsightRequest.enableDatabaseInsightDetails, "EnableDatabaseInsightDetails", model.EnableDatabaseInsightDetails.getJsonObj),
|
|
1682
|
+
pathParams: pathParams,
|
|
1683
|
+
headerParams: headerParams,
|
|
1684
|
+
queryParams: queryParams
|
|
1685
|
+
});
|
|
1686
|
+
try {
|
|
1687
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
1688
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
1689
|
+
responseObject: {},
|
|
1690
|
+
responseHeaders: [
|
|
1691
|
+
{
|
|
1692
|
+
value: response.headers.get("opc-work-request-id"),
|
|
1693
|
+
key: "opcWorkRequestId",
|
|
1694
|
+
dataType: "string"
|
|
1695
|
+
},
|
|
1696
|
+
{
|
|
1697
|
+
value: response.headers.get("opc-request-id"),
|
|
1698
|
+
key: "opcRequestId",
|
|
1699
|
+
dataType: "string"
|
|
1700
|
+
}
|
|
1701
|
+
]
|
|
1702
|
+
});
|
|
1703
|
+
return sdkResponse;
|
|
1704
|
+
}
|
|
1705
|
+
catch (err) {
|
|
1706
|
+
throw err;
|
|
1707
|
+
}
|
|
1708
|
+
});
|
|
1709
|
+
}
|
|
1710
|
+
/**
|
|
1711
|
+
* Enables an Exadata system in Operations Insights. Exadata-related metric collection and analysis will be started.
|
|
1712
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1713
|
+
* @param EnableExadataInsightRequest
|
|
1714
|
+
* @return EnableExadataInsightResponse
|
|
1715
|
+
* @throws OciError when an error occurs
|
|
1716
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.10.0/opsi/EnableExadataInsight.ts.html |here} to see how to use EnableExadataInsight API.
|
|
1717
|
+
*/
|
|
1718
|
+
enableExadataInsight(enableExadataInsightRequest) {
|
|
1719
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1720
|
+
if (this.logger)
|
|
1721
|
+
this.logger.debug("Calling operation OperationsInsightsClient#enableExadataInsight.");
|
|
1722
|
+
const pathParams = {
|
|
1723
|
+
"{exadataInsightId}": enableExadataInsightRequest.exadataInsightId
|
|
1724
|
+
};
|
|
1725
|
+
const queryParams = {};
|
|
1726
|
+
let headerParams = {
|
|
1727
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1728
|
+
"if-match": enableExadataInsightRequest.ifMatch,
|
|
1729
|
+
"opc-request-id": enableExadataInsightRequest.opcRequestId,
|
|
1730
|
+
"opc-retry-token": enableExadataInsightRequest.opcRetryToken
|
|
1731
|
+
};
|
|
1732
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1733
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, enableExadataInsightRequest.retryConfiguration, specRetryConfiguration);
|
|
1734
|
+
if (this.logger)
|
|
1735
|
+
retrier.logger = this.logger;
|
|
1736
|
+
const request = yield oci_common_1.composeRequest({
|
|
1737
|
+
baseEndpoint: this._endpoint,
|
|
1738
|
+
defaultHeaders: this._defaultHeaders,
|
|
1739
|
+
path: "/exadataInsights/{exadataInsightId}/actions/enable",
|
|
1740
|
+
method: "POST",
|
|
1741
|
+
bodyContent: common.ObjectSerializer.serialize(enableExadataInsightRequest.enableExadataInsightDetails, "EnableExadataInsightDetails", model.EnableExadataInsightDetails.getJsonObj),
|
|
1742
|
+
pathParams: pathParams,
|
|
1743
|
+
headerParams: headerParams,
|
|
1744
|
+
queryParams: queryParams
|
|
1745
|
+
});
|
|
1746
|
+
try {
|
|
1747
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
1748
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
1749
|
+
responseObject: {},
|
|
1750
|
+
responseHeaders: [
|
|
1751
|
+
{
|
|
1752
|
+
value: response.headers.get("opc-work-request-id"),
|
|
1753
|
+
key: "opcWorkRequestId",
|
|
1754
|
+
dataType: "string"
|
|
1755
|
+
},
|
|
1756
|
+
{
|
|
1757
|
+
value: response.headers.get("opc-request-id"),
|
|
1758
|
+
key: "opcRequestId",
|
|
1759
|
+
dataType: "string"
|
|
1760
|
+
}
|
|
1761
|
+
]
|
|
1762
|
+
});
|
|
1763
|
+
return sdkResponse;
|
|
1764
|
+
}
|
|
1765
|
+
catch (err) {
|
|
1766
|
+
throw err;
|
|
1767
|
+
}
|
|
1768
|
+
});
|
|
1769
|
+
}
|
|
1770
|
+
/**
|
|
1771
|
+
* Enables a host in Operations Insights. Host metric collection and analysis will be started.
|
|
1288
1772
|
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1289
1773
|
* @param EnableHostInsightRequest
|
|
1290
1774
|
* @return EnableHostInsightResponse
|
|
1291
1775
|
* @throws OciError when an error occurs
|
|
1292
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1776
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.10.0/opsi/EnableHostInsight.ts.html |here} to see how to use EnableHostInsight API.
|
|
1293
1777
|
*/
|
|
1294
1778
|
enableHostInsight(enableHostInsightRequest) {
|
|
1295
1779
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1296
1780
|
if (this.logger)
|
|
1297
1781
|
this.logger.debug("Calling operation OperationsInsightsClient#enableHostInsight.");
|
|
1298
1782
|
const pathParams = {
|
|
1299
|
-
"{hostInsightId}": enableHostInsightRequest.hostInsightId
|
|
1783
|
+
"{hostInsightId}": enableHostInsightRequest.hostInsightId
|
|
1784
|
+
};
|
|
1785
|
+
const queryParams = {};
|
|
1786
|
+
let headerParams = {
|
|
1787
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1788
|
+
"if-match": enableHostInsightRequest.ifMatch,
|
|
1789
|
+
"opc-request-id": enableHostInsightRequest.opcRequestId,
|
|
1790
|
+
"opc-retry-token": enableHostInsightRequest.opcRetryToken
|
|
1791
|
+
};
|
|
1792
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1793
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, enableHostInsightRequest.retryConfiguration, specRetryConfiguration);
|
|
1794
|
+
if (this.logger)
|
|
1795
|
+
retrier.logger = this.logger;
|
|
1796
|
+
const request = yield oci_common_1.composeRequest({
|
|
1797
|
+
baseEndpoint: this._endpoint,
|
|
1798
|
+
defaultHeaders: this._defaultHeaders,
|
|
1799
|
+
path: "/hostInsights/{hostInsightId}/actions/enable",
|
|
1800
|
+
method: "POST",
|
|
1801
|
+
bodyContent: common.ObjectSerializer.serialize(enableHostInsightRequest.enableHostInsightDetails, "EnableHostInsightDetails", model.EnableHostInsightDetails.getJsonObj),
|
|
1802
|
+
pathParams: pathParams,
|
|
1803
|
+
headerParams: headerParams,
|
|
1804
|
+
queryParams: queryParams
|
|
1805
|
+
});
|
|
1806
|
+
try {
|
|
1807
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
1808
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
1809
|
+
responseObject: {},
|
|
1810
|
+
responseHeaders: [
|
|
1811
|
+
{
|
|
1812
|
+
value: response.headers.get("opc-work-request-id"),
|
|
1813
|
+
key: "opcWorkRequestId",
|
|
1814
|
+
dataType: "string"
|
|
1815
|
+
},
|
|
1816
|
+
{
|
|
1817
|
+
value: response.headers.get("opc-request-id"),
|
|
1818
|
+
key: "opcRequestId",
|
|
1819
|
+
dataType: "string"
|
|
1820
|
+
}
|
|
1821
|
+
]
|
|
1822
|
+
});
|
|
1823
|
+
return sdkResponse;
|
|
1824
|
+
}
|
|
1825
|
+
catch (err) {
|
|
1826
|
+
throw err;
|
|
1827
|
+
}
|
|
1828
|
+
});
|
|
1829
|
+
}
|
|
1830
|
+
/**
|
|
1831
|
+
* Gets details of an AWR hub.
|
|
1832
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1833
|
+
* @param GetAwrHubRequest
|
|
1834
|
+
* @return GetAwrHubResponse
|
|
1835
|
+
* @throws OciError when an error occurs
|
|
1836
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.10.0/opsi/GetAwrHub.ts.html |here} to see how to use GetAwrHub API.
|
|
1837
|
+
*/
|
|
1838
|
+
getAwrHub(getAwrHubRequest) {
|
|
1839
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1840
|
+
if (this.logger)
|
|
1841
|
+
this.logger.debug("Calling operation OperationsInsightsClient#getAwrHub.");
|
|
1842
|
+
const pathParams = {
|
|
1843
|
+
"{awrHubId}": getAwrHubRequest.awrHubId
|
|
1844
|
+
};
|
|
1845
|
+
const queryParams = {};
|
|
1846
|
+
let headerParams = {
|
|
1847
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1848
|
+
"opc-request-id": getAwrHubRequest.opcRequestId
|
|
1849
|
+
};
|
|
1850
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1851
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getAwrHubRequest.retryConfiguration, specRetryConfiguration);
|
|
1852
|
+
if (this.logger)
|
|
1853
|
+
retrier.logger = this.logger;
|
|
1854
|
+
const request = yield oci_common_1.composeRequest({
|
|
1855
|
+
baseEndpoint: this._endpoint,
|
|
1856
|
+
defaultHeaders: this._defaultHeaders,
|
|
1857
|
+
path: "/awrHubs/{awrHubId}",
|
|
1858
|
+
method: "GET",
|
|
1859
|
+
pathParams: pathParams,
|
|
1860
|
+
headerParams: headerParams,
|
|
1861
|
+
queryParams: queryParams
|
|
1862
|
+
});
|
|
1863
|
+
try {
|
|
1864
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
1865
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
1866
|
+
responseObject: {},
|
|
1867
|
+
body: yield response.json(),
|
|
1868
|
+
bodyKey: "awrHub",
|
|
1869
|
+
bodyModel: model.AwrHub,
|
|
1870
|
+
type: "model.AwrHub",
|
|
1871
|
+
responseHeaders: [
|
|
1872
|
+
{
|
|
1873
|
+
value: response.headers.get("etag"),
|
|
1874
|
+
key: "etag",
|
|
1875
|
+
dataType: "string"
|
|
1876
|
+
},
|
|
1877
|
+
{
|
|
1878
|
+
value: response.headers.get("opc-request-id"),
|
|
1879
|
+
key: "opcRequestId",
|
|
1880
|
+
dataType: "string"
|
|
1881
|
+
}
|
|
1882
|
+
]
|
|
1883
|
+
});
|
|
1884
|
+
return sdkResponse;
|
|
1885
|
+
}
|
|
1886
|
+
catch (err) {
|
|
1887
|
+
throw err;
|
|
1888
|
+
}
|
|
1889
|
+
});
|
|
1890
|
+
}
|
|
1891
|
+
/**
|
|
1892
|
+
* Gets the AWR report for the specified source database in the AWR hub. The difference between the timeGreaterThanOrEqualTo and timeLessThanOrEqualTo should not be greater than 7 days.
|
|
1893
|
+
* Either beginSnapshotIdentifierGreaterThanOrEqualTo & endSnapshotIdentifierLessThanOrEqualTo params Or timeGreaterThanOrEqualTo & timeLessThanOrEqualTo params are required.
|
|
1894
|
+
*
|
|
1895
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1896
|
+
* @param GetAwrReportRequest
|
|
1897
|
+
* @return GetAwrReportResponse
|
|
1898
|
+
* @throws OciError when an error occurs
|
|
1899
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.10.0/opsi/GetAwrReport.ts.html |here} to see how to use GetAwrReport API.
|
|
1900
|
+
*/
|
|
1901
|
+
getAwrReport(getAwrReportRequest) {
|
|
1902
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1903
|
+
if (this.logger)
|
|
1904
|
+
this.logger.debug("Calling operation OperationsInsightsClient#getAwrReport.");
|
|
1905
|
+
const pathParams = {
|
|
1906
|
+
"{awrHubId}": getAwrReportRequest.awrHubId
|
|
1907
|
+
};
|
|
1908
|
+
const queryParams = {
|
|
1909
|
+
"awrSourceDatabaseIdentifier": getAwrReportRequest.awrSourceDatabaseIdentifier,
|
|
1910
|
+
"reportFormat": getAwrReportRequest.reportFormat,
|
|
1911
|
+
"instanceNumber": getAwrReportRequest.instanceNumber,
|
|
1912
|
+
"beginSnapshotIdentifierGreaterThanOrEqualTo": getAwrReportRequest.beginSnapshotIdentifierGreaterThanOrEqualTo,
|
|
1913
|
+
"endSnapshotIdentifierLessThanOrEqualTo": getAwrReportRequest.endSnapshotIdentifierLessThanOrEqualTo,
|
|
1914
|
+
"timeGreaterThanOrEqualTo": getAwrReportRequest.timeGreaterThanOrEqualTo,
|
|
1915
|
+
"timeLessThanOrEqualTo": getAwrReportRequest.timeLessThanOrEqualTo
|
|
1916
|
+
};
|
|
1917
|
+
let headerParams = {
|
|
1918
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1919
|
+
"opc-request-id": getAwrReportRequest.opcRequestId
|
|
1920
|
+
};
|
|
1921
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1922
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getAwrReportRequest.retryConfiguration, specRetryConfiguration);
|
|
1923
|
+
if (this.logger)
|
|
1924
|
+
retrier.logger = this.logger;
|
|
1925
|
+
const request = yield oci_common_1.composeRequest({
|
|
1926
|
+
baseEndpoint: this._endpoint,
|
|
1927
|
+
defaultHeaders: this._defaultHeaders,
|
|
1928
|
+
path: "/awrHubs/{awrHubId}/awrReport",
|
|
1929
|
+
method: "GET",
|
|
1930
|
+
pathParams: pathParams,
|
|
1931
|
+
headerParams: headerParams,
|
|
1932
|
+
queryParams: queryParams
|
|
1933
|
+
});
|
|
1934
|
+
try {
|
|
1935
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
1936
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
1937
|
+
responseObject: {},
|
|
1938
|
+
body: yield response.json(),
|
|
1939
|
+
bodyKey: "awrReport",
|
|
1940
|
+
bodyModel: model.AwrReport,
|
|
1941
|
+
type: "model.AwrReport",
|
|
1942
|
+
responseHeaders: [
|
|
1943
|
+
{
|
|
1944
|
+
value: response.headers.get("opc-request-id"),
|
|
1945
|
+
key: "opcRequestId",
|
|
1946
|
+
dataType: "string"
|
|
1947
|
+
}
|
|
1948
|
+
]
|
|
1949
|
+
});
|
|
1950
|
+
return sdkResponse;
|
|
1951
|
+
}
|
|
1952
|
+
catch (err) {
|
|
1953
|
+
throw err;
|
|
1954
|
+
}
|
|
1955
|
+
});
|
|
1956
|
+
}
|
|
1957
|
+
/**
|
|
1958
|
+
* Gets details of a database insight.
|
|
1959
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1960
|
+
* @param GetDatabaseInsightRequest
|
|
1961
|
+
* @return GetDatabaseInsightResponse
|
|
1962
|
+
* @throws OciError when an error occurs
|
|
1963
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.10.0/opsi/GetDatabaseInsight.ts.html |here} to see how to use GetDatabaseInsight API.
|
|
1964
|
+
*/
|
|
1965
|
+
getDatabaseInsight(getDatabaseInsightRequest) {
|
|
1966
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1967
|
+
if (this.logger)
|
|
1968
|
+
this.logger.debug("Calling operation OperationsInsightsClient#getDatabaseInsight.");
|
|
1969
|
+
const pathParams = {
|
|
1970
|
+
"{databaseInsightId}": getDatabaseInsightRequest.databaseInsightId
|
|
1971
|
+
};
|
|
1972
|
+
const queryParams = {};
|
|
1973
|
+
let headerParams = {
|
|
1974
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1975
|
+
"opc-request-id": getDatabaseInsightRequest.opcRequestId
|
|
1976
|
+
};
|
|
1977
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1978
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getDatabaseInsightRequest.retryConfiguration, specRetryConfiguration);
|
|
1979
|
+
if (this.logger)
|
|
1980
|
+
retrier.logger = this.logger;
|
|
1981
|
+
const request = yield oci_common_1.composeRequest({
|
|
1982
|
+
baseEndpoint: this._endpoint,
|
|
1983
|
+
defaultHeaders: this._defaultHeaders,
|
|
1984
|
+
path: "/databaseInsights/{databaseInsightId}",
|
|
1985
|
+
method: "GET",
|
|
1986
|
+
pathParams: pathParams,
|
|
1987
|
+
headerParams: headerParams,
|
|
1988
|
+
queryParams: queryParams
|
|
1989
|
+
});
|
|
1990
|
+
try {
|
|
1991
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
1992
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
1993
|
+
responseObject: {},
|
|
1994
|
+
body: yield response.json(),
|
|
1995
|
+
bodyKey: "databaseInsight",
|
|
1996
|
+
bodyModel: model.DatabaseInsight,
|
|
1997
|
+
type: "model.DatabaseInsight",
|
|
1998
|
+
responseHeaders: [
|
|
1999
|
+
{
|
|
2000
|
+
value: response.headers.get("etag"),
|
|
2001
|
+
key: "etag",
|
|
2002
|
+
dataType: "string"
|
|
2003
|
+
},
|
|
2004
|
+
{
|
|
2005
|
+
value: response.headers.get("opc-request-id"),
|
|
2006
|
+
key: "opcRequestId",
|
|
2007
|
+
dataType: "string"
|
|
2008
|
+
}
|
|
2009
|
+
]
|
|
2010
|
+
});
|
|
2011
|
+
return sdkResponse;
|
|
2012
|
+
}
|
|
2013
|
+
catch (err) {
|
|
2014
|
+
throw err;
|
|
2015
|
+
}
|
|
2016
|
+
});
|
|
2017
|
+
}
|
|
2018
|
+
/**
|
|
2019
|
+
* Gets details of an Operations Insights Enterprise Manager bridge.
|
|
2020
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
2021
|
+
* @param GetEnterpriseManagerBridgeRequest
|
|
2022
|
+
* @return GetEnterpriseManagerBridgeResponse
|
|
2023
|
+
* @throws OciError when an error occurs
|
|
2024
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.10.0/opsi/GetEnterpriseManagerBridge.ts.html |here} to see how to use GetEnterpriseManagerBridge API.
|
|
2025
|
+
*/
|
|
2026
|
+
getEnterpriseManagerBridge(getEnterpriseManagerBridgeRequest) {
|
|
2027
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2028
|
+
if (this.logger)
|
|
2029
|
+
this.logger.debug("Calling operation OperationsInsightsClient#getEnterpriseManagerBridge.");
|
|
2030
|
+
const pathParams = {
|
|
2031
|
+
"{enterpriseManagerBridgeId}": getEnterpriseManagerBridgeRequest.enterpriseManagerBridgeId
|
|
1300
2032
|
};
|
|
1301
2033
|
const queryParams = {};
|
|
1302
2034
|
let headerParams = {
|
|
1303
2035
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1304
|
-
"
|
|
1305
|
-
"opc-request-id": enableHostInsightRequest.opcRequestId,
|
|
1306
|
-
"opc-retry-token": enableHostInsightRequest.opcRetryToken
|
|
2036
|
+
"opc-request-id": getEnterpriseManagerBridgeRequest.opcRequestId
|
|
1307
2037
|
};
|
|
1308
2038
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1309
|
-
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
|
|
2039
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getEnterpriseManagerBridgeRequest.retryConfiguration, specRetryConfiguration);
|
|
1310
2040
|
if (this.logger)
|
|
1311
2041
|
retrier.logger = this.logger;
|
|
1312
2042
|
const request = yield oci_common_1.composeRequest({
|
|
1313
2043
|
baseEndpoint: this._endpoint,
|
|
1314
2044
|
defaultHeaders: this._defaultHeaders,
|
|
1315
|
-
path: "/
|
|
1316
|
-
method: "
|
|
1317
|
-
bodyContent: common.ObjectSerializer.serialize(enableHostInsightRequest.enableHostInsightDetails, "EnableHostInsightDetails", model.EnableHostInsightDetails.getJsonObj),
|
|
2045
|
+
path: "/enterpriseManagerBridges/{enterpriseManagerBridgeId}",
|
|
2046
|
+
method: "GET",
|
|
1318
2047
|
pathParams: pathParams,
|
|
1319
2048
|
headerParams: headerParams,
|
|
1320
2049
|
queryParams: queryParams
|
|
@@ -1323,10 +2052,14 @@ class OperationsInsightsClient {
|
|
|
1323
2052
|
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
1324
2053
|
const sdkResponse = oci_common_1.composeResponse({
|
|
1325
2054
|
responseObject: {},
|
|
2055
|
+
body: yield response.json(),
|
|
2056
|
+
bodyKey: "enterpriseManagerBridge",
|
|
2057
|
+
bodyModel: model.EnterpriseManagerBridge,
|
|
2058
|
+
type: "model.EnterpriseManagerBridge",
|
|
1326
2059
|
responseHeaders: [
|
|
1327
2060
|
{
|
|
1328
|
-
value: response.headers.get("
|
|
1329
|
-
key: "
|
|
2061
|
+
value: response.headers.get("etag"),
|
|
2062
|
+
key: "etag",
|
|
1330
2063
|
dataType: "string"
|
|
1331
2064
|
},
|
|
1332
2065
|
{
|
|
@@ -1344,33 +2077,33 @@ class OperationsInsightsClient {
|
|
|
1344
2077
|
});
|
|
1345
2078
|
}
|
|
1346
2079
|
/**
|
|
1347
|
-
* Gets details of
|
|
2080
|
+
* Gets details of an Exadata insight.
|
|
1348
2081
|
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1349
|
-
* @param
|
|
1350
|
-
* @return
|
|
2082
|
+
* @param GetExadataInsightRequest
|
|
2083
|
+
* @return GetExadataInsightResponse
|
|
1351
2084
|
* @throws OciError when an error occurs
|
|
1352
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2085
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.10.0/opsi/GetExadataInsight.ts.html |here} to see how to use GetExadataInsight API.
|
|
1353
2086
|
*/
|
|
1354
|
-
|
|
2087
|
+
getExadataInsight(getExadataInsightRequest) {
|
|
1355
2088
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1356
2089
|
if (this.logger)
|
|
1357
|
-
this.logger.debug("Calling operation OperationsInsightsClient#
|
|
2090
|
+
this.logger.debug("Calling operation OperationsInsightsClient#getExadataInsight.");
|
|
1358
2091
|
const pathParams = {
|
|
1359
|
-
"{
|
|
2092
|
+
"{exadataInsightId}": getExadataInsightRequest.exadataInsightId
|
|
1360
2093
|
};
|
|
1361
2094
|
const queryParams = {};
|
|
1362
2095
|
let headerParams = {
|
|
1363
2096
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1364
|
-
"opc-request-id":
|
|
2097
|
+
"opc-request-id": getExadataInsightRequest.opcRequestId
|
|
1365
2098
|
};
|
|
1366
2099
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1367
|
-
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
|
|
2100
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getExadataInsightRequest.retryConfiguration, specRetryConfiguration);
|
|
1368
2101
|
if (this.logger)
|
|
1369
2102
|
retrier.logger = this.logger;
|
|
1370
2103
|
const request = yield oci_common_1.composeRequest({
|
|
1371
2104
|
baseEndpoint: this._endpoint,
|
|
1372
2105
|
defaultHeaders: this._defaultHeaders,
|
|
1373
|
-
path: "/
|
|
2106
|
+
path: "/exadataInsights/{exadataInsightId}",
|
|
1374
2107
|
method: "GET",
|
|
1375
2108
|
pathParams: pathParams,
|
|
1376
2109
|
headerParams: headerParams,
|
|
@@ -1381,9 +2114,9 @@ class OperationsInsightsClient {
|
|
|
1381
2114
|
const sdkResponse = oci_common_1.composeResponse({
|
|
1382
2115
|
responseObject: {},
|
|
1383
2116
|
body: yield response.json(),
|
|
1384
|
-
bodyKey: "
|
|
1385
|
-
bodyModel: model.
|
|
1386
|
-
type: "model.
|
|
2117
|
+
bodyKey: "exadataInsight",
|
|
2118
|
+
bodyModel: model.ExadataInsight,
|
|
2119
|
+
type: "model.ExadataInsight",
|
|
1387
2120
|
responseHeaders: [
|
|
1388
2121
|
{
|
|
1389
2122
|
value: response.headers.get("etag"),
|
|
@@ -1405,33 +2138,33 @@ class OperationsInsightsClient {
|
|
|
1405
2138
|
});
|
|
1406
2139
|
}
|
|
1407
2140
|
/**
|
|
1408
|
-
* Gets details of
|
|
2141
|
+
* Gets details of a host insight.
|
|
1409
2142
|
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1410
|
-
* @param
|
|
1411
|
-
* @return
|
|
2143
|
+
* @param GetHostInsightRequest
|
|
2144
|
+
* @return GetHostInsightResponse
|
|
1412
2145
|
* @throws OciError when an error occurs
|
|
1413
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2146
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.10.0/opsi/GetHostInsight.ts.html |here} to see how to use GetHostInsight API.
|
|
1414
2147
|
*/
|
|
1415
|
-
|
|
2148
|
+
getHostInsight(getHostInsightRequest) {
|
|
1416
2149
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1417
2150
|
if (this.logger)
|
|
1418
|
-
this.logger.debug("Calling operation OperationsInsightsClient#
|
|
2151
|
+
this.logger.debug("Calling operation OperationsInsightsClient#getHostInsight.");
|
|
1419
2152
|
const pathParams = {
|
|
1420
|
-
"{
|
|
2153
|
+
"{hostInsightId}": getHostInsightRequest.hostInsightId
|
|
1421
2154
|
};
|
|
1422
2155
|
const queryParams = {};
|
|
1423
2156
|
let headerParams = {
|
|
1424
2157
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1425
|
-
"opc-request-id":
|
|
2158
|
+
"opc-request-id": getHostInsightRequest.opcRequestId
|
|
1426
2159
|
};
|
|
1427
2160
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1428
|
-
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
|
|
2161
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getHostInsightRequest.retryConfiguration, specRetryConfiguration);
|
|
1429
2162
|
if (this.logger)
|
|
1430
2163
|
retrier.logger = this.logger;
|
|
1431
2164
|
const request = yield oci_common_1.composeRequest({
|
|
1432
2165
|
baseEndpoint: this._endpoint,
|
|
1433
2166
|
defaultHeaders: this._defaultHeaders,
|
|
1434
|
-
path: "/
|
|
2167
|
+
path: "/hostInsights/{hostInsightId}",
|
|
1435
2168
|
method: "GET",
|
|
1436
2169
|
pathParams: pathParams,
|
|
1437
2170
|
headerParams: headerParams,
|
|
@@ -1442,9 +2175,9 @@ class OperationsInsightsClient {
|
|
|
1442
2175
|
const sdkResponse = oci_common_1.composeResponse({
|
|
1443
2176
|
responseObject: {},
|
|
1444
2177
|
body: yield response.json(),
|
|
1445
|
-
bodyKey: "
|
|
1446
|
-
bodyModel: model.
|
|
1447
|
-
type: "model.
|
|
2178
|
+
bodyKey: "hostInsight",
|
|
2179
|
+
bodyModel: model.HostInsight,
|
|
2180
|
+
type: "model.HostInsight",
|
|
1448
2181
|
responseHeaders: [
|
|
1449
2182
|
{
|
|
1450
2183
|
value: response.headers.get("etag"),
|
|
@@ -1466,33 +2199,35 @@ class OperationsInsightsClient {
|
|
|
1466
2199
|
});
|
|
1467
2200
|
}
|
|
1468
2201
|
/**
|
|
1469
|
-
* Gets details of an
|
|
2202
|
+
* Gets details of an Operations Insights Warehouse.
|
|
2203
|
+
* There is only expected to be 1 warehouse per tenant. The warehouse is expected to be in the root compartment.
|
|
2204
|
+
*
|
|
1470
2205
|
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1471
|
-
* @param
|
|
1472
|
-
* @return
|
|
2206
|
+
* @param GetOperationsInsightsWarehouseRequest
|
|
2207
|
+
* @return GetOperationsInsightsWarehouseResponse
|
|
1473
2208
|
* @throws OciError when an error occurs
|
|
1474
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2209
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.10.0/opsi/GetOperationsInsightsWarehouse.ts.html |here} to see how to use GetOperationsInsightsWarehouse API.
|
|
1475
2210
|
*/
|
|
1476
|
-
|
|
2211
|
+
getOperationsInsightsWarehouse(getOperationsInsightsWarehouseRequest) {
|
|
1477
2212
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1478
2213
|
if (this.logger)
|
|
1479
|
-
this.logger.debug("Calling operation OperationsInsightsClient#
|
|
2214
|
+
this.logger.debug("Calling operation OperationsInsightsClient#getOperationsInsightsWarehouse.");
|
|
1480
2215
|
const pathParams = {
|
|
1481
|
-
"{
|
|
2216
|
+
"{operationsInsightsWarehouseId}": getOperationsInsightsWarehouseRequest.operationsInsightsWarehouseId
|
|
1482
2217
|
};
|
|
1483
2218
|
const queryParams = {};
|
|
1484
2219
|
let headerParams = {
|
|
1485
2220
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1486
|
-
"opc-request-id":
|
|
2221
|
+
"opc-request-id": getOperationsInsightsWarehouseRequest.opcRequestId
|
|
1487
2222
|
};
|
|
1488
2223
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1489
|
-
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
|
|
2224
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getOperationsInsightsWarehouseRequest.retryConfiguration, specRetryConfiguration);
|
|
1490
2225
|
if (this.logger)
|
|
1491
2226
|
retrier.logger = this.logger;
|
|
1492
2227
|
const request = yield oci_common_1.composeRequest({
|
|
1493
2228
|
baseEndpoint: this._endpoint,
|
|
1494
2229
|
defaultHeaders: this._defaultHeaders,
|
|
1495
|
-
path: "/
|
|
2230
|
+
path: "/operationsInsightsWarehouses/{operationsInsightsWarehouseId}",
|
|
1496
2231
|
method: "GET",
|
|
1497
2232
|
pathParams: pathParams,
|
|
1498
2233
|
headerParams: headerParams,
|
|
@@ -1503,9 +2238,9 @@ class OperationsInsightsClient {
|
|
|
1503
2238
|
const sdkResponse = oci_common_1.composeResponse({
|
|
1504
2239
|
responseObject: {},
|
|
1505
2240
|
body: yield response.json(),
|
|
1506
|
-
bodyKey: "
|
|
1507
|
-
bodyModel: model.
|
|
1508
|
-
type: "model.
|
|
2241
|
+
bodyKey: "operationsInsightsWarehouse",
|
|
2242
|
+
bodyModel: model.OperationsInsightsWarehouse,
|
|
2243
|
+
type: "model.OperationsInsightsWarehouse",
|
|
1509
2244
|
responseHeaders: [
|
|
1510
2245
|
{
|
|
1511
2246
|
value: response.headers.get("etag"),
|
|
@@ -1527,33 +2262,33 @@ class OperationsInsightsClient {
|
|
|
1527
2262
|
});
|
|
1528
2263
|
}
|
|
1529
2264
|
/**
|
|
1530
|
-
* Gets details of
|
|
2265
|
+
* Gets details of an Operations Insights Warehouse User.
|
|
1531
2266
|
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1532
|
-
* @param
|
|
1533
|
-
* @return
|
|
2267
|
+
* @param GetOperationsInsightsWarehouseUserRequest
|
|
2268
|
+
* @return GetOperationsInsightsWarehouseUserResponse
|
|
1534
2269
|
* @throws OciError when an error occurs
|
|
1535
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2270
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.10.0/opsi/GetOperationsInsightsWarehouseUser.ts.html |here} to see how to use GetOperationsInsightsWarehouseUser API.
|
|
1536
2271
|
*/
|
|
1537
|
-
|
|
2272
|
+
getOperationsInsightsWarehouseUser(getOperationsInsightsWarehouseUserRequest) {
|
|
1538
2273
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1539
2274
|
if (this.logger)
|
|
1540
|
-
this.logger.debug("Calling operation OperationsInsightsClient#
|
|
2275
|
+
this.logger.debug("Calling operation OperationsInsightsClient#getOperationsInsightsWarehouseUser.");
|
|
1541
2276
|
const pathParams = {
|
|
1542
|
-
"{
|
|
2277
|
+
"{operationsInsightsWarehouseUserId}": getOperationsInsightsWarehouseUserRequest.operationsInsightsWarehouseUserId
|
|
1543
2278
|
};
|
|
1544
2279
|
const queryParams = {};
|
|
1545
2280
|
let headerParams = {
|
|
1546
2281
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1547
|
-
"opc-request-id":
|
|
2282
|
+
"opc-request-id": getOperationsInsightsWarehouseUserRequest.opcRequestId
|
|
1548
2283
|
};
|
|
1549
2284
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1550
|
-
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
|
|
2285
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getOperationsInsightsWarehouseUserRequest.retryConfiguration, specRetryConfiguration);
|
|
1551
2286
|
if (this.logger)
|
|
1552
2287
|
retrier.logger = this.logger;
|
|
1553
2288
|
const request = yield oci_common_1.composeRequest({
|
|
1554
2289
|
baseEndpoint: this._endpoint,
|
|
1555
2290
|
defaultHeaders: this._defaultHeaders,
|
|
1556
|
-
path: "/
|
|
2291
|
+
path: "/operationsInsightsWarehouseUsers/{operationsInsightsWarehouseUserId}",
|
|
1557
2292
|
method: "GET",
|
|
1558
2293
|
pathParams: pathParams,
|
|
1559
2294
|
headerParams: headerParams,
|
|
@@ -1564,9 +2299,9 @@ class OperationsInsightsClient {
|
|
|
1564
2299
|
const sdkResponse = oci_common_1.composeResponse({
|
|
1565
2300
|
responseObject: {},
|
|
1566
2301
|
body: yield response.json(),
|
|
1567
|
-
bodyKey: "
|
|
1568
|
-
bodyModel: model.
|
|
1569
|
-
type: "model.
|
|
2302
|
+
bodyKey: "operationsInsightsWarehouseUser",
|
|
2303
|
+
bodyModel: model.OperationsInsightsWarehouseUser,
|
|
2304
|
+
type: "model.OperationsInsightsWarehouseUser",
|
|
1570
2305
|
responseHeaders: [
|
|
1571
2306
|
{
|
|
1572
2307
|
value: response.headers.get("etag"),
|
|
@@ -1593,7 +2328,7 @@ class OperationsInsightsClient {
|
|
|
1593
2328
|
* @param GetWorkRequestRequest
|
|
1594
2329
|
* @return GetWorkRequestResponse
|
|
1595
2330
|
* @throws OciError when an error occurs
|
|
1596
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2331
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.10.0/opsi/GetWorkRequest.ts.html |here} to see how to use GetWorkRequest API.
|
|
1597
2332
|
*/
|
|
1598
2333
|
getWorkRequest(getWorkRequestRequest) {
|
|
1599
2334
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1659,7 +2394,7 @@ class OperationsInsightsClient {
|
|
|
1659
2394
|
* @param IngestDatabaseConfigurationRequest
|
|
1660
2395
|
* @return IngestDatabaseConfigurationResponse
|
|
1661
2396
|
* @throws OciError when an error occurs
|
|
1662
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2397
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.10.0/opsi/IngestDatabaseConfiguration.ts.html |here} to see how to use IngestDatabaseConfiguration API.
|
|
1663
2398
|
*/
|
|
1664
2399
|
ingestDatabaseConfiguration(ingestDatabaseConfigurationRequest) {
|
|
1665
2400
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1724,7 +2459,7 @@ class OperationsInsightsClient {
|
|
|
1724
2459
|
* @param IngestHostConfigurationRequest
|
|
1725
2460
|
* @return IngestHostConfigurationResponse
|
|
1726
2461
|
* @throws OciError when an error occurs
|
|
1727
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2462
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.10.0/opsi/IngestHostConfiguration.ts.html |here} to see how to use IngestHostConfiguration API.
|
|
1728
2463
|
*/
|
|
1729
2464
|
ingestHostConfiguration(ingestHostConfigurationRequest) {
|
|
1730
2465
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1788,7 +2523,7 @@ class OperationsInsightsClient {
|
|
|
1788
2523
|
* @param IngestHostMetricsRequest
|
|
1789
2524
|
* @return IngestHostMetricsResponse
|
|
1790
2525
|
* @throws OciError when an error occurs
|
|
1791
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2526
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.10.0/opsi/IngestHostMetrics.ts.html |here} to see how to use IngestHostMetrics API.
|
|
1792
2527
|
*/
|
|
1793
2528
|
ingestHostMetrics(ingestHostMetricsRequest) {
|
|
1794
2529
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1854,7 +2589,7 @@ class OperationsInsightsClient {
|
|
|
1854
2589
|
* @param IngestSqlBucketRequest
|
|
1855
2590
|
* @return IngestSqlBucketResponse
|
|
1856
2591
|
* @throws OciError when an error occurs
|
|
1857
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2592
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.10.0/opsi/IngestSqlBucket.ts.html |here} to see how to use IngestSqlBucket API.
|
|
1858
2593
|
*/
|
|
1859
2594
|
ingestSqlBucket(ingestSqlBucketRequest) {
|
|
1860
2595
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1922,7 +2657,7 @@ class OperationsInsightsClient {
|
|
|
1922
2657
|
* @param IngestSqlPlanLinesRequest
|
|
1923
2658
|
* @return IngestSqlPlanLinesResponse
|
|
1924
2659
|
* @throws OciError when an error occurs
|
|
1925
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2660
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.10.0/opsi/IngestSqlPlanLines.ts.html |here} to see how to use IngestSqlPlanLines API.
|
|
1926
2661
|
*/
|
|
1927
2662
|
ingestSqlPlanLines(ingestSqlPlanLinesRequest) {
|
|
1928
2663
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1982,6 +2717,73 @@ class OperationsInsightsClient {
|
|
|
1982
2717
|
}
|
|
1983
2718
|
});
|
|
1984
2719
|
}
|
|
2720
|
+
/**
|
|
2721
|
+
* The SQL Stats endpoint takes in a JSON payload, persists it in Operations Insights ingest pipeline.
|
|
2722
|
+
* Either databaseId or id must be specified.
|
|
2723
|
+
*
|
|
2724
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
2725
|
+
* @param IngestSqlStatsRequest
|
|
2726
|
+
* @return IngestSqlStatsResponse
|
|
2727
|
+
* @throws OciError when an error occurs
|
|
2728
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.10.0/opsi/IngestSqlStats.ts.html |here} to see how to use IngestSqlStats API.
|
|
2729
|
+
*/
|
|
2730
|
+
ingestSqlStats(ingestSqlStatsRequest) {
|
|
2731
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2732
|
+
if (this.logger)
|
|
2733
|
+
this.logger.debug("Calling operation OperationsInsightsClient#ingestSqlStats.");
|
|
2734
|
+
const pathParams = {};
|
|
2735
|
+
const queryParams = {
|
|
2736
|
+
"databaseId": ingestSqlStatsRequest.databaseId,
|
|
2737
|
+
"id": ingestSqlStatsRequest.id
|
|
2738
|
+
};
|
|
2739
|
+
let headerParams = {
|
|
2740
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2741
|
+
"opc-request-id": ingestSqlStatsRequest.opcRequestId,
|
|
2742
|
+
"if-match": ingestSqlStatsRequest.ifMatch,
|
|
2743
|
+
"opc-retry-token": ingestSqlStatsRequest.opcRetryToken
|
|
2744
|
+
};
|
|
2745
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2746
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, ingestSqlStatsRequest.retryConfiguration, specRetryConfiguration);
|
|
2747
|
+
if (this.logger)
|
|
2748
|
+
retrier.logger = this.logger;
|
|
2749
|
+
const request = yield oci_common_1.composeRequest({
|
|
2750
|
+
baseEndpoint: this._endpoint,
|
|
2751
|
+
defaultHeaders: this._defaultHeaders,
|
|
2752
|
+
path: "/databaseInsights/actions/ingestSqlStatsMetric",
|
|
2753
|
+
method: "POST",
|
|
2754
|
+
bodyContent: common.ObjectSerializer.serialize(ingestSqlStatsRequest.ingestSqlStatsDetails, "IngestSqlStatsDetails", model.IngestSqlStatsDetails.getJsonObj),
|
|
2755
|
+
pathParams: pathParams,
|
|
2756
|
+
headerParams: headerParams,
|
|
2757
|
+
queryParams: queryParams
|
|
2758
|
+
});
|
|
2759
|
+
try {
|
|
2760
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
2761
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
2762
|
+
responseObject: {},
|
|
2763
|
+
body: yield response.json(),
|
|
2764
|
+
bodyKey: "ingestSqlStatsResponseDetails",
|
|
2765
|
+
bodyModel: model.IngestSqlStatsResponseDetails,
|
|
2766
|
+
type: "model.IngestSqlStatsResponseDetails",
|
|
2767
|
+
responseHeaders: [
|
|
2768
|
+
{
|
|
2769
|
+
value: response.headers.get("opc-request-id"),
|
|
2770
|
+
key: "opcRequestId",
|
|
2771
|
+
dataType: "string"
|
|
2772
|
+
},
|
|
2773
|
+
{
|
|
2774
|
+
value: response.headers.get("etag"),
|
|
2775
|
+
key: "etag",
|
|
2776
|
+
dataType: "string"
|
|
2777
|
+
}
|
|
2778
|
+
]
|
|
2779
|
+
});
|
|
2780
|
+
return sdkResponse;
|
|
2781
|
+
}
|
|
2782
|
+
catch (err) {
|
|
2783
|
+
throw err;
|
|
2784
|
+
}
|
|
2785
|
+
});
|
|
2786
|
+
}
|
|
1985
2787
|
/**
|
|
1986
2788
|
* The SqlText endpoint takes in a JSON payload, persists it in Operation Insights ingest pipeline.
|
|
1987
2789
|
* Either databaseId or id must be specified.
|
|
@@ -1991,34 +2793,175 @@ class OperationsInsightsClient {
|
|
|
1991
2793
|
* @param IngestSqlTextRequest
|
|
1992
2794
|
* @return IngestSqlTextResponse
|
|
1993
2795
|
* @throws OciError when an error occurs
|
|
1994
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2796
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.10.0/opsi/IngestSqlText.ts.html |here} to see how to use IngestSqlText API.
|
|
2797
|
+
*/
|
|
2798
|
+
ingestSqlText(ingestSqlTextRequest) {
|
|
2799
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2800
|
+
if (this.logger)
|
|
2801
|
+
this.logger.debug("Calling operation OperationsInsightsClient#ingestSqlText.");
|
|
2802
|
+
const pathParams = {};
|
|
2803
|
+
const queryParams = {
|
|
2804
|
+
"compartmentId": ingestSqlTextRequest.compartmentId,
|
|
2805
|
+
"databaseId": ingestSqlTextRequest.databaseId,
|
|
2806
|
+
"id": ingestSqlTextRequest.id
|
|
2807
|
+
};
|
|
2808
|
+
let headerParams = {
|
|
2809
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2810
|
+
"opc-request-id": ingestSqlTextRequest.opcRequestId,
|
|
2811
|
+
"if-match": ingestSqlTextRequest.ifMatch,
|
|
2812
|
+
"opc-retry-token": ingestSqlTextRequest.opcRetryToken
|
|
2813
|
+
};
|
|
2814
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2815
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, ingestSqlTextRequest.retryConfiguration, specRetryConfiguration);
|
|
2816
|
+
if (this.logger)
|
|
2817
|
+
retrier.logger = this.logger;
|
|
2818
|
+
const request = yield oci_common_1.composeRequest({
|
|
2819
|
+
baseEndpoint: this._endpoint,
|
|
2820
|
+
defaultHeaders: this._defaultHeaders,
|
|
2821
|
+
path: "/databaseInsights/actions/ingestSqlText",
|
|
2822
|
+
method: "POST",
|
|
2823
|
+
bodyContent: common.ObjectSerializer.serialize(ingestSqlTextRequest.ingestSqlTextDetails, "IngestSqlTextDetails", model.IngestSqlTextDetails.getJsonObj),
|
|
2824
|
+
pathParams: pathParams,
|
|
2825
|
+
headerParams: headerParams,
|
|
2826
|
+
queryParams: queryParams
|
|
2827
|
+
});
|
|
2828
|
+
try {
|
|
2829
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
2830
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
2831
|
+
responseObject: {},
|
|
2832
|
+
body: yield response.json(),
|
|
2833
|
+
bodyKey: "ingestSqlTextResponseDetails",
|
|
2834
|
+
bodyModel: model.IngestSqlTextResponseDetails,
|
|
2835
|
+
type: "model.IngestSqlTextResponseDetails",
|
|
2836
|
+
responseHeaders: [
|
|
2837
|
+
{
|
|
2838
|
+
value: response.headers.get("opc-request-id"),
|
|
2839
|
+
key: "opcRequestId",
|
|
2840
|
+
dataType: "string"
|
|
2841
|
+
},
|
|
2842
|
+
{
|
|
2843
|
+
value: response.headers.get("etag"),
|
|
2844
|
+
key: "etag",
|
|
2845
|
+
dataType: "string"
|
|
2846
|
+
}
|
|
2847
|
+
]
|
|
2848
|
+
});
|
|
2849
|
+
return sdkResponse;
|
|
2850
|
+
}
|
|
2851
|
+
catch (err) {
|
|
2852
|
+
throw err;
|
|
2853
|
+
}
|
|
2854
|
+
});
|
|
2855
|
+
}
|
|
2856
|
+
/**
|
|
2857
|
+
* Gets a list of AWR hubs. Either compartmentId or id must be specified. All these resources are expected to be in root compartment.
|
|
2858
|
+
*
|
|
2859
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
2860
|
+
* @param ListAwrHubsRequest
|
|
2861
|
+
* @return ListAwrHubsResponse
|
|
2862
|
+
* @throws OciError when an error occurs
|
|
2863
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.10.0/opsi/ListAwrHubs.ts.html |here} to see how to use ListAwrHubs API.
|
|
2864
|
+
*/
|
|
2865
|
+
listAwrHubs(listAwrHubsRequest) {
|
|
2866
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2867
|
+
if (this.logger)
|
|
2868
|
+
this.logger.debug("Calling operation OperationsInsightsClient#listAwrHubs.");
|
|
2869
|
+
const pathParams = {};
|
|
2870
|
+
const queryParams = {
|
|
2871
|
+
"compartmentId": listAwrHubsRequest.compartmentId,
|
|
2872
|
+
"displayName": listAwrHubsRequest.displayName,
|
|
2873
|
+
"id": listAwrHubsRequest.id,
|
|
2874
|
+
"operationsInsightsWarehouseId": listAwrHubsRequest.operationsInsightsWarehouseId,
|
|
2875
|
+
"lifecycleState": listAwrHubsRequest.lifecycleState,
|
|
2876
|
+
"limit": listAwrHubsRequest.limit,
|
|
2877
|
+
"page": listAwrHubsRequest.page,
|
|
2878
|
+
"sortOrder": listAwrHubsRequest.sortOrder,
|
|
2879
|
+
"sortBy": listAwrHubsRequest.sortBy
|
|
2880
|
+
};
|
|
2881
|
+
let headerParams = {
|
|
2882
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2883
|
+
"opc-request-id": listAwrHubsRequest.opcRequestId
|
|
2884
|
+
};
|
|
2885
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2886
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listAwrHubsRequest.retryConfiguration, specRetryConfiguration);
|
|
2887
|
+
if (this.logger)
|
|
2888
|
+
retrier.logger = this.logger;
|
|
2889
|
+
const request = yield oci_common_1.composeRequest({
|
|
2890
|
+
baseEndpoint: this._endpoint,
|
|
2891
|
+
defaultHeaders: this._defaultHeaders,
|
|
2892
|
+
path: "/awrHubs",
|
|
2893
|
+
method: "GET",
|
|
2894
|
+
pathParams: pathParams,
|
|
2895
|
+
headerParams: headerParams,
|
|
2896
|
+
queryParams: queryParams
|
|
2897
|
+
});
|
|
2898
|
+
try {
|
|
2899
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
2900
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
2901
|
+
responseObject: {},
|
|
2902
|
+
body: yield response.json(),
|
|
2903
|
+
bodyKey: "awrHubSummaryCollection",
|
|
2904
|
+
bodyModel: model.AwrHubSummaryCollection,
|
|
2905
|
+
type: "model.AwrHubSummaryCollection",
|
|
2906
|
+
responseHeaders: [
|
|
2907
|
+
{
|
|
2908
|
+
value: response.headers.get("opc-request-id"),
|
|
2909
|
+
key: "opcRequestId",
|
|
2910
|
+
dataType: "string"
|
|
2911
|
+
},
|
|
2912
|
+
{
|
|
2913
|
+
value: response.headers.get("opc-next-page"),
|
|
2914
|
+
key: "opcNextPage",
|
|
2915
|
+
dataType: "string"
|
|
2916
|
+
}
|
|
2917
|
+
]
|
|
2918
|
+
});
|
|
2919
|
+
return sdkResponse;
|
|
2920
|
+
}
|
|
2921
|
+
catch (err) {
|
|
2922
|
+
throw err;
|
|
2923
|
+
}
|
|
2924
|
+
});
|
|
2925
|
+
}
|
|
2926
|
+
/**
|
|
2927
|
+
* Lists AWR snapshots for the specified source database in the AWR hub. The difference between the timeGreaterThanOrEqualTo and timeLessThanOrEqualTo should not exceed an elapsed range of 1 day.
|
|
2928
|
+
* The timeGreaterThanOrEqualTo & timeLessThanOrEqualTo params are optional. If these params are not provided, by default last 1 day snapshots will be returned.
|
|
2929
|
+
*
|
|
2930
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
2931
|
+
* @param ListAwrSnapshotsRequest
|
|
2932
|
+
* @return ListAwrSnapshotsResponse
|
|
2933
|
+
* @throws OciError when an error occurs
|
|
2934
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.10.0/opsi/ListAwrSnapshots.ts.html |here} to see how to use ListAwrSnapshots API.
|
|
1995
2935
|
*/
|
|
1996
|
-
|
|
2936
|
+
listAwrSnapshots(listAwrSnapshotsRequest) {
|
|
1997
2937
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1998
2938
|
if (this.logger)
|
|
1999
|
-
this.logger.debug("Calling operation OperationsInsightsClient#
|
|
2000
|
-
const pathParams = {
|
|
2939
|
+
this.logger.debug("Calling operation OperationsInsightsClient#listAwrSnapshots.");
|
|
2940
|
+
const pathParams = {
|
|
2941
|
+
"{awrHubId}": listAwrSnapshotsRequest.awrHubId
|
|
2942
|
+
};
|
|
2001
2943
|
const queryParams = {
|
|
2002
|
-
"
|
|
2003
|
-
"
|
|
2004
|
-
"
|
|
2944
|
+
"awrSourceDatabaseIdentifier": listAwrSnapshotsRequest.awrSourceDatabaseIdentifier,
|
|
2945
|
+
"timeGreaterThanOrEqualTo": listAwrSnapshotsRequest.timeGreaterThanOrEqualTo,
|
|
2946
|
+
"timeLessThanOrEqualTo": listAwrSnapshotsRequest.timeLessThanOrEqualTo,
|
|
2947
|
+
"limit": listAwrSnapshotsRequest.limit,
|
|
2948
|
+
"page": listAwrSnapshotsRequest.page,
|
|
2949
|
+
"sortOrder": listAwrSnapshotsRequest.sortOrder,
|
|
2950
|
+
"sortBy": listAwrSnapshotsRequest.sortBy
|
|
2005
2951
|
};
|
|
2006
2952
|
let headerParams = {
|
|
2007
2953
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2008
|
-
"opc-request-id":
|
|
2009
|
-
"if-match": ingestSqlTextRequest.ifMatch,
|
|
2010
|
-
"opc-retry-token": ingestSqlTextRequest.opcRetryToken
|
|
2954
|
+
"opc-request-id": listAwrSnapshotsRequest.opcRequestId
|
|
2011
2955
|
};
|
|
2012
2956
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2013
|
-
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
|
|
2957
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listAwrSnapshotsRequest.retryConfiguration, specRetryConfiguration);
|
|
2014
2958
|
if (this.logger)
|
|
2015
2959
|
retrier.logger = this.logger;
|
|
2016
2960
|
const request = yield oci_common_1.composeRequest({
|
|
2017
2961
|
baseEndpoint: this._endpoint,
|
|
2018
2962
|
defaultHeaders: this._defaultHeaders,
|
|
2019
|
-
path: "/
|
|
2020
|
-
method: "
|
|
2021
|
-
bodyContent: common.ObjectSerializer.serialize(ingestSqlTextRequest.ingestSqlTextDetails, "IngestSqlTextDetails", model.IngestSqlTextDetails.getJsonObj),
|
|
2963
|
+
path: "/awrHubs/{awrHubId}/awrSnapshots",
|
|
2964
|
+
method: "GET",
|
|
2022
2965
|
pathParams: pathParams,
|
|
2023
2966
|
headerParams: headerParams,
|
|
2024
2967
|
queryParams: queryParams
|
|
@@ -2028,9 +2971,9 @@ class OperationsInsightsClient {
|
|
|
2028
2971
|
const sdkResponse = oci_common_1.composeResponse({
|
|
2029
2972
|
responseObject: {},
|
|
2030
2973
|
body: yield response.json(),
|
|
2031
|
-
bodyKey: "
|
|
2032
|
-
bodyModel: model.
|
|
2033
|
-
type: "model.
|
|
2974
|
+
bodyKey: "awrSnapshotCollection",
|
|
2975
|
+
bodyModel: model.AwrSnapshotCollection,
|
|
2976
|
+
type: "model.AwrSnapshotCollection",
|
|
2034
2977
|
responseHeaders: [
|
|
2035
2978
|
{
|
|
2036
2979
|
value: response.headers.get("opc-request-id"),
|
|
@@ -2038,8 +2981,8 @@ class OperationsInsightsClient {
|
|
|
2038
2981
|
dataType: "string"
|
|
2039
2982
|
},
|
|
2040
2983
|
{
|
|
2041
|
-
value: response.headers.get("
|
|
2042
|
-
key: "
|
|
2984
|
+
value: response.headers.get("opc-next-page"),
|
|
2985
|
+
key: "opcNextPage",
|
|
2043
2986
|
dataType: "string"
|
|
2044
2987
|
}
|
|
2045
2988
|
]
|
|
@@ -2059,7 +3002,7 @@ class OperationsInsightsClient {
|
|
|
2059
3002
|
* @param ListDatabaseConfigurationsRequest
|
|
2060
3003
|
* @return ListDatabaseConfigurationsResponse
|
|
2061
3004
|
* @throws OciError when an error occurs
|
|
2062
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3005
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.10.0/opsi/ListDatabaseConfigurations.ts.html |here} to see how to use ListDatabaseConfigurations API.
|
|
2063
3006
|
*/
|
|
2064
3007
|
listDatabaseConfigurations(listDatabaseConfigurationsRequest) {
|
|
2065
3008
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2143,7 +3086,7 @@ class OperationsInsightsClient {
|
|
|
2143
3086
|
* @param ListDatabaseInsightsRequest
|
|
2144
3087
|
* @return ListDatabaseInsightsResponse
|
|
2145
3088
|
* @throws OciError when an error occurs
|
|
2146
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3089
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.10.0/opsi/ListDatabaseInsights.ts.html |here} to see how to use ListDatabaseInsights API.
|
|
2147
3090
|
*/
|
|
2148
3091
|
listDatabaseInsights(listDatabaseInsightsRequest) {
|
|
2149
3092
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2224,7 +3167,7 @@ class OperationsInsightsClient {
|
|
|
2224
3167
|
* @param ListEnterpriseManagerBridgesRequest
|
|
2225
3168
|
* @return ListEnterpriseManagerBridgesResponse
|
|
2226
3169
|
* @throws OciError when an error occurs
|
|
2227
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3170
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.10.0/opsi/ListEnterpriseManagerBridges.ts.html |here} to see how to use ListEnterpriseManagerBridges API.
|
|
2228
3171
|
*/
|
|
2229
3172
|
listEnterpriseManagerBridges(listEnterpriseManagerBridgesRequest) {
|
|
2230
3173
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2293,7 +3236,7 @@ class OperationsInsightsClient {
|
|
|
2293
3236
|
* @param ListExadataConfigurationsRequest
|
|
2294
3237
|
* @return ListExadataConfigurationsResponse
|
|
2295
3238
|
* @throws OciError when an error occurs
|
|
2296
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3239
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.10.0/opsi/ListExadataConfigurations.ts.html |here} to see how to use ListExadataConfigurations API.
|
|
2297
3240
|
*/
|
|
2298
3241
|
listExadataConfigurations(listExadataConfigurationsRequest) {
|
|
2299
3242
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2371,7 +3314,7 @@ class OperationsInsightsClient {
|
|
|
2371
3314
|
* @param ListExadataInsightsRequest
|
|
2372
3315
|
* @return ListExadataInsightsResponse
|
|
2373
3316
|
* @throws OciError when an error occurs
|
|
2374
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3317
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.10.0/opsi/ListExadataInsights.ts.html |here} to see how to use ListExadataInsights API.
|
|
2375
3318
|
*/
|
|
2376
3319
|
listExadataInsights(listExadataInsightsRequest) {
|
|
2377
3320
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2449,7 +3392,7 @@ class OperationsInsightsClient {
|
|
|
2449
3392
|
* @param ListHostConfigurationsRequest
|
|
2450
3393
|
* @return ListHostConfigurationsResponse
|
|
2451
3394
|
* @throws OciError when an error occurs
|
|
2452
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3395
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.10.0/opsi/ListHostConfigurations.ts.html |here} to see how to use ListHostConfigurations API.
|
|
2453
3396
|
*/
|
|
2454
3397
|
listHostConfigurations(listHostConfigurationsRequest) {
|
|
2455
3398
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2530,7 +3473,7 @@ class OperationsInsightsClient {
|
|
|
2530
3473
|
* @param ListHostInsightsRequest
|
|
2531
3474
|
* @return ListHostInsightsResponse
|
|
2532
3475
|
* @throws OciError when an error occurs
|
|
2533
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3476
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.10.0/opsi/ListHostInsights.ts.html |here} to see how to use ListHostInsights API.
|
|
2534
3477
|
*/
|
|
2535
3478
|
listHostInsights(listHostInsightsRequest) {
|
|
2536
3479
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2609,7 +3552,7 @@ class OperationsInsightsClient {
|
|
|
2609
3552
|
* @param ListHostedEntitiesRequest
|
|
2610
3553
|
* @return ListHostedEntitiesResponse
|
|
2611
3554
|
* @throws OciError when an error occurs
|
|
2612
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3555
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.10.0/opsi/ListHostedEntities.ts.html |here} to see how to use ListHostedEntities API.
|
|
2613
3556
|
*/
|
|
2614
3557
|
listHostedEntities(listHostedEntitiesRequest) {
|
|
2615
3558
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2685,7 +3628,7 @@ class OperationsInsightsClient {
|
|
|
2685
3628
|
* @param ListImportableAgentEntitiesRequest
|
|
2686
3629
|
* @return ListImportableAgentEntitiesResponse
|
|
2687
3630
|
* @throws OciError when an error occurs
|
|
2688
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3631
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.10.0/opsi/ListImportableAgentEntities.ts.html |here} to see how to use ListImportableAgentEntities API.
|
|
2689
3632
|
*/
|
|
2690
3633
|
listImportableAgentEntities(listImportableAgentEntitiesRequest) {
|
|
2691
3634
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2751,7 +3694,7 @@ class OperationsInsightsClient {
|
|
|
2751
3694
|
* @param ListImportableEnterpriseManagerEntitiesRequest
|
|
2752
3695
|
* @return ListImportableEnterpriseManagerEntitiesResponse
|
|
2753
3696
|
* @throws OciError when an error occurs
|
|
2754
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3697
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.10.0/opsi/ListImportableEnterpriseManagerEntities.ts.html |here} to see how to use ListImportableEnterpriseManagerEntities API.
|
|
2755
3698
|
*/
|
|
2756
3699
|
listImportableEnterpriseManagerEntities(listImportableEnterpriseManagerEntitiesRequest) {
|
|
2757
3700
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2812,6 +3755,146 @@ class OperationsInsightsClient {
|
|
|
2812
3755
|
}
|
|
2813
3756
|
});
|
|
2814
3757
|
}
|
|
3758
|
+
/**
|
|
3759
|
+
* Gets a list of Operations Insights Warehouse users. Either compartmentId or id must be specified. All these resources are expected to be in root compartment.
|
|
3760
|
+
*
|
|
3761
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
3762
|
+
* @param ListOperationsInsightsWarehouseUsersRequest
|
|
3763
|
+
* @return ListOperationsInsightsWarehouseUsersResponse
|
|
3764
|
+
* @throws OciError when an error occurs
|
|
3765
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.10.0/opsi/ListOperationsInsightsWarehouseUsers.ts.html |here} to see how to use ListOperationsInsightsWarehouseUsers API.
|
|
3766
|
+
*/
|
|
3767
|
+
listOperationsInsightsWarehouseUsers(listOperationsInsightsWarehouseUsersRequest) {
|
|
3768
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
3769
|
+
if (this.logger)
|
|
3770
|
+
this.logger.debug("Calling operation OperationsInsightsClient#listOperationsInsightsWarehouseUsers.");
|
|
3771
|
+
const pathParams = {};
|
|
3772
|
+
const queryParams = {
|
|
3773
|
+
"compartmentId": listOperationsInsightsWarehouseUsersRequest.compartmentId,
|
|
3774
|
+
"displayName": listOperationsInsightsWarehouseUsersRequest.displayName,
|
|
3775
|
+
"id": listOperationsInsightsWarehouseUsersRequest.id,
|
|
3776
|
+
"operationsInsightsWarehouseId": listOperationsInsightsWarehouseUsersRequest.operationsInsightsWarehouseId,
|
|
3777
|
+
"lifecycleState": listOperationsInsightsWarehouseUsersRequest.lifecycleState,
|
|
3778
|
+
"limit": listOperationsInsightsWarehouseUsersRequest.limit,
|
|
3779
|
+
"page": listOperationsInsightsWarehouseUsersRequest.page,
|
|
3780
|
+
"sortOrder": listOperationsInsightsWarehouseUsersRequest.sortOrder,
|
|
3781
|
+
"sortBy": listOperationsInsightsWarehouseUsersRequest.sortBy
|
|
3782
|
+
};
|
|
3783
|
+
let headerParams = {
|
|
3784
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
3785
|
+
"opc-request-id": listOperationsInsightsWarehouseUsersRequest.opcRequestId
|
|
3786
|
+
};
|
|
3787
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
3788
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listOperationsInsightsWarehouseUsersRequest.retryConfiguration, specRetryConfiguration);
|
|
3789
|
+
if (this.logger)
|
|
3790
|
+
retrier.logger = this.logger;
|
|
3791
|
+
const request = yield oci_common_1.composeRequest({
|
|
3792
|
+
baseEndpoint: this._endpoint,
|
|
3793
|
+
defaultHeaders: this._defaultHeaders,
|
|
3794
|
+
path: "/operationsInsightsWarehouseUsers",
|
|
3795
|
+
method: "GET",
|
|
3796
|
+
pathParams: pathParams,
|
|
3797
|
+
headerParams: headerParams,
|
|
3798
|
+
queryParams: queryParams
|
|
3799
|
+
});
|
|
3800
|
+
try {
|
|
3801
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
3802
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
3803
|
+
responseObject: {},
|
|
3804
|
+
body: yield response.json(),
|
|
3805
|
+
bodyKey: "operationsInsightsWarehouseUserSummaryCollection",
|
|
3806
|
+
bodyModel: model.OperationsInsightsWarehouseUserSummaryCollection,
|
|
3807
|
+
type: "model.OperationsInsightsWarehouseUserSummaryCollection",
|
|
3808
|
+
responseHeaders: [
|
|
3809
|
+
{
|
|
3810
|
+
value: response.headers.get("opc-request-id"),
|
|
3811
|
+
key: "opcRequestId",
|
|
3812
|
+
dataType: "string"
|
|
3813
|
+
},
|
|
3814
|
+
{
|
|
3815
|
+
value: response.headers.get("opc-next-page"),
|
|
3816
|
+
key: "opcNextPage",
|
|
3817
|
+
dataType: "string"
|
|
3818
|
+
}
|
|
3819
|
+
]
|
|
3820
|
+
});
|
|
3821
|
+
return sdkResponse;
|
|
3822
|
+
}
|
|
3823
|
+
catch (err) {
|
|
3824
|
+
throw err;
|
|
3825
|
+
}
|
|
3826
|
+
});
|
|
3827
|
+
}
|
|
3828
|
+
/**
|
|
3829
|
+
* Gets a list of Operations Insights warehouses. Either compartmentId or id must be specified.
|
|
3830
|
+
* There is only expected to be 1 warehouse per tenant. The warehouse is expected to be in the root compartment.
|
|
3831
|
+
*
|
|
3832
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
3833
|
+
* @param ListOperationsInsightsWarehousesRequest
|
|
3834
|
+
* @return ListOperationsInsightsWarehousesResponse
|
|
3835
|
+
* @throws OciError when an error occurs
|
|
3836
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.10.0/opsi/ListOperationsInsightsWarehouses.ts.html |here} to see how to use ListOperationsInsightsWarehouses API.
|
|
3837
|
+
*/
|
|
3838
|
+
listOperationsInsightsWarehouses(listOperationsInsightsWarehousesRequest) {
|
|
3839
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
3840
|
+
if (this.logger)
|
|
3841
|
+
this.logger.debug("Calling operation OperationsInsightsClient#listOperationsInsightsWarehouses.");
|
|
3842
|
+
const pathParams = {};
|
|
3843
|
+
const queryParams = {
|
|
3844
|
+
"compartmentId": listOperationsInsightsWarehousesRequest.compartmentId,
|
|
3845
|
+
"displayName": listOperationsInsightsWarehousesRequest.displayName,
|
|
3846
|
+
"id": listOperationsInsightsWarehousesRequest.id,
|
|
3847
|
+
"lifecycleState": listOperationsInsightsWarehousesRequest.lifecycleState,
|
|
3848
|
+
"limit": listOperationsInsightsWarehousesRequest.limit,
|
|
3849
|
+
"page": listOperationsInsightsWarehousesRequest.page,
|
|
3850
|
+
"sortOrder": listOperationsInsightsWarehousesRequest.sortOrder,
|
|
3851
|
+
"sortBy": listOperationsInsightsWarehousesRequest.sortBy
|
|
3852
|
+
};
|
|
3853
|
+
let headerParams = {
|
|
3854
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
3855
|
+
"opc-request-id": listOperationsInsightsWarehousesRequest.opcRequestId
|
|
3856
|
+
};
|
|
3857
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
3858
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listOperationsInsightsWarehousesRequest.retryConfiguration, specRetryConfiguration);
|
|
3859
|
+
if (this.logger)
|
|
3860
|
+
retrier.logger = this.logger;
|
|
3861
|
+
const request = yield oci_common_1.composeRequest({
|
|
3862
|
+
baseEndpoint: this._endpoint,
|
|
3863
|
+
defaultHeaders: this._defaultHeaders,
|
|
3864
|
+
path: "/operationsInsightsWarehouses",
|
|
3865
|
+
method: "GET",
|
|
3866
|
+
pathParams: pathParams,
|
|
3867
|
+
headerParams: headerParams,
|
|
3868
|
+
queryParams: queryParams
|
|
3869
|
+
});
|
|
3870
|
+
try {
|
|
3871
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
3872
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
3873
|
+
responseObject: {},
|
|
3874
|
+
body: yield response.json(),
|
|
3875
|
+
bodyKey: "operationsInsightsWarehouseSummaryCollection",
|
|
3876
|
+
bodyModel: model.OperationsInsightsWarehouseSummaryCollection,
|
|
3877
|
+
type: "model.OperationsInsightsWarehouseSummaryCollection",
|
|
3878
|
+
responseHeaders: [
|
|
3879
|
+
{
|
|
3880
|
+
value: response.headers.get("opc-request-id"),
|
|
3881
|
+
key: "opcRequestId",
|
|
3882
|
+
dataType: "string"
|
|
3883
|
+
},
|
|
3884
|
+
{
|
|
3885
|
+
value: response.headers.get("opc-next-page"),
|
|
3886
|
+
key: "opcNextPage",
|
|
3887
|
+
dataType: "string"
|
|
3888
|
+
}
|
|
3889
|
+
]
|
|
3890
|
+
});
|
|
3891
|
+
return sdkResponse;
|
|
3892
|
+
}
|
|
3893
|
+
catch (err) {
|
|
3894
|
+
throw err;
|
|
3895
|
+
}
|
|
3896
|
+
});
|
|
3897
|
+
}
|
|
2815
3898
|
/**
|
|
2816
3899
|
* Query SQL Warehouse to list the plan xml for a given SQL execution plan. This returns a SqlPlanCollection object, but is currently limited to a single plan.
|
|
2817
3900
|
* Either databaseId or id must be specified.
|
|
@@ -2820,7 +3903,7 @@ class OperationsInsightsClient {
|
|
|
2820
3903
|
* @param ListSqlPlansRequest
|
|
2821
3904
|
* @return ListSqlPlansResponse
|
|
2822
3905
|
* @throws OciError when an error occurs
|
|
2823
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3906
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.10.0/opsi/ListSqlPlans.ts.html |here} to see how to use ListSqlPlans API.
|
|
2824
3907
|
*/
|
|
2825
3908
|
listSqlPlans(listSqlPlansRequest) {
|
|
2826
3909
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2888,7 +3971,7 @@ class OperationsInsightsClient {
|
|
|
2888
3971
|
* @param ListSqlSearchesRequest
|
|
2889
3972
|
* @return ListSqlSearchesResponse
|
|
2890
3973
|
* @throws OciError when an error occurs
|
|
2891
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3974
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.10.0/opsi/ListSqlSearches.ts.html |here} to see how to use ListSqlSearches API.
|
|
2892
3975
|
*/
|
|
2893
3976
|
listSqlSearches(listSqlSearchesRequest) {
|
|
2894
3977
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2960,7 +4043,7 @@ class OperationsInsightsClient {
|
|
|
2960
4043
|
* @param ListSqlTextsRequest
|
|
2961
4044
|
* @return ListSqlTextsResponse
|
|
2962
4045
|
* @throws OciError when an error occurs
|
|
2963
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4046
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.10.0/opsi/ListSqlTexts.ts.html |here} to see how to use ListSqlTexts API.
|
|
2964
4047
|
*/
|
|
2965
4048
|
listSqlTexts(listSqlTextsRequest) {
|
|
2966
4049
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3031,7 +4114,7 @@ class OperationsInsightsClient {
|
|
|
3031
4114
|
* @param ListWorkRequestErrorsRequest
|
|
3032
4115
|
* @return ListWorkRequestErrorsResponse
|
|
3033
4116
|
* @throws OciError when an error occurs
|
|
3034
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4117
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.10.0/opsi/ListWorkRequestErrors.ts.html |here} to see how to use ListWorkRequestErrors API.
|
|
3035
4118
|
*/
|
|
3036
4119
|
listWorkRequestErrors(listWorkRequestErrorsRequest) {
|
|
3037
4120
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3068,18 +4151,155 @@ class OperationsInsightsClient {
|
|
|
3068
4151
|
const sdkResponse = oci_common_1.composeResponse({
|
|
3069
4152
|
responseObject: {},
|
|
3070
4153
|
body: yield response.json(),
|
|
3071
|
-
bodyKey: "workRequestErrorCollection",
|
|
3072
|
-
bodyModel: model.WorkRequestErrorCollection,
|
|
3073
|
-
type: "model.WorkRequestErrorCollection",
|
|
4154
|
+
bodyKey: "workRequestErrorCollection",
|
|
4155
|
+
bodyModel: model.WorkRequestErrorCollection,
|
|
4156
|
+
type: "model.WorkRequestErrorCollection",
|
|
4157
|
+
responseHeaders: [
|
|
4158
|
+
{
|
|
4159
|
+
value: response.headers.get("opc-next-page"),
|
|
4160
|
+
key: "opcNextPage",
|
|
4161
|
+
dataType: "string"
|
|
4162
|
+
},
|
|
4163
|
+
{
|
|
4164
|
+
value: response.headers.get("opc-request-id"),
|
|
4165
|
+
key: "opcRequestId",
|
|
4166
|
+
dataType: "string"
|
|
4167
|
+
}
|
|
4168
|
+
]
|
|
4169
|
+
});
|
|
4170
|
+
return sdkResponse;
|
|
4171
|
+
}
|
|
4172
|
+
catch (err) {
|
|
4173
|
+
throw err;
|
|
4174
|
+
}
|
|
4175
|
+
});
|
|
4176
|
+
}
|
|
4177
|
+
/**
|
|
4178
|
+
* Return a (paginated) list of logs for a given work request.
|
|
4179
|
+
*
|
|
4180
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
4181
|
+
* @param ListWorkRequestLogsRequest
|
|
4182
|
+
* @return ListWorkRequestLogsResponse
|
|
4183
|
+
* @throws OciError when an error occurs
|
|
4184
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.10.0/opsi/ListWorkRequestLogs.ts.html |here} to see how to use ListWorkRequestLogs API.
|
|
4185
|
+
*/
|
|
4186
|
+
listWorkRequestLogs(listWorkRequestLogsRequest) {
|
|
4187
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
4188
|
+
if (this.logger)
|
|
4189
|
+
this.logger.debug("Calling operation OperationsInsightsClient#listWorkRequestLogs.");
|
|
4190
|
+
const pathParams = {
|
|
4191
|
+
"{workRequestId}": listWorkRequestLogsRequest.workRequestId
|
|
4192
|
+
};
|
|
4193
|
+
const queryParams = {
|
|
4194
|
+
"page": listWorkRequestLogsRequest.page,
|
|
4195
|
+
"limit": listWorkRequestLogsRequest.limit,
|
|
4196
|
+
"sortBy": listWorkRequestLogsRequest.sortBy,
|
|
4197
|
+
"sortOrder": listWorkRequestLogsRequest.sortOrder
|
|
4198
|
+
};
|
|
4199
|
+
let headerParams = {
|
|
4200
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
4201
|
+
"opc-request-id": listWorkRequestLogsRequest.opcRequestId
|
|
4202
|
+
};
|
|
4203
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
4204
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestLogsRequest.retryConfiguration, specRetryConfiguration);
|
|
4205
|
+
if (this.logger)
|
|
4206
|
+
retrier.logger = this.logger;
|
|
4207
|
+
const request = yield oci_common_1.composeRequest({
|
|
4208
|
+
baseEndpoint: this._endpoint,
|
|
4209
|
+
defaultHeaders: this._defaultHeaders,
|
|
4210
|
+
path: "/workRequests/{workRequestId}/logs",
|
|
4211
|
+
method: "GET",
|
|
4212
|
+
pathParams: pathParams,
|
|
4213
|
+
headerParams: headerParams,
|
|
4214
|
+
queryParams: queryParams
|
|
4215
|
+
});
|
|
4216
|
+
try {
|
|
4217
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
4218
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
4219
|
+
responseObject: {},
|
|
4220
|
+
body: yield response.json(),
|
|
4221
|
+
bodyKey: "workRequestLogEntryCollection",
|
|
4222
|
+
bodyModel: model.WorkRequestLogEntryCollection,
|
|
4223
|
+
type: "model.WorkRequestLogEntryCollection",
|
|
4224
|
+
responseHeaders: [
|
|
4225
|
+
{
|
|
4226
|
+
value: response.headers.get("opc-next-page"),
|
|
4227
|
+
key: "opcNextPage",
|
|
4228
|
+
dataType: "string"
|
|
4229
|
+
},
|
|
4230
|
+
{
|
|
4231
|
+
value: response.headers.get("opc-request-id"),
|
|
4232
|
+
key: "opcRequestId",
|
|
4233
|
+
dataType: "string"
|
|
4234
|
+
}
|
|
4235
|
+
]
|
|
4236
|
+
});
|
|
4237
|
+
return sdkResponse;
|
|
4238
|
+
}
|
|
4239
|
+
catch (err) {
|
|
4240
|
+
throw err;
|
|
4241
|
+
}
|
|
4242
|
+
});
|
|
4243
|
+
}
|
|
4244
|
+
/**
|
|
4245
|
+
* Lists the work requests in a compartment. Either compartmentId or id must be specified. Only one of id, resourceId or relatedResourceId can be specified optionally.
|
|
4246
|
+
*
|
|
4247
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
4248
|
+
* @param ListWorkRequestsRequest
|
|
4249
|
+
* @return ListWorkRequestsResponse
|
|
4250
|
+
* @throws OciError when an error occurs
|
|
4251
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.10.0/opsi/ListWorkRequests.ts.html |here} to see how to use ListWorkRequests API.
|
|
4252
|
+
*/
|
|
4253
|
+
listWorkRequests(listWorkRequestsRequest) {
|
|
4254
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
4255
|
+
if (this.logger)
|
|
4256
|
+
this.logger.debug("Calling operation OperationsInsightsClient#listWorkRequests.");
|
|
4257
|
+
const pathParams = {};
|
|
4258
|
+
const queryParams = {
|
|
4259
|
+
"page": listWorkRequestsRequest.page,
|
|
4260
|
+
"limit": listWorkRequestsRequest.limit,
|
|
4261
|
+
"compartmentId": listWorkRequestsRequest.compartmentId,
|
|
4262
|
+
"id": listWorkRequestsRequest.id,
|
|
4263
|
+
"status": listWorkRequestsRequest.status,
|
|
4264
|
+
"resourceId": listWorkRequestsRequest.resourceId,
|
|
4265
|
+
"relatedResourceId": listWorkRequestsRequest.relatedResourceId,
|
|
4266
|
+
"sortOrder": listWorkRequestsRequest.sortOrder,
|
|
4267
|
+
"sortBy": listWorkRequestsRequest.sortBy
|
|
4268
|
+
};
|
|
4269
|
+
let headerParams = {
|
|
4270
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
4271
|
+
"opc-request-id": listWorkRequestsRequest.opcRequestId
|
|
4272
|
+
};
|
|
4273
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
4274
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestsRequest.retryConfiguration, specRetryConfiguration);
|
|
4275
|
+
if (this.logger)
|
|
4276
|
+
retrier.logger = this.logger;
|
|
4277
|
+
const request = yield oci_common_1.composeRequest({
|
|
4278
|
+
baseEndpoint: this._endpoint,
|
|
4279
|
+
defaultHeaders: this._defaultHeaders,
|
|
4280
|
+
path: "/workRequests",
|
|
4281
|
+
method: "GET",
|
|
4282
|
+
pathParams: pathParams,
|
|
4283
|
+
headerParams: headerParams,
|
|
4284
|
+
queryParams: queryParams
|
|
4285
|
+
});
|
|
4286
|
+
try {
|
|
4287
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
4288
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
4289
|
+
responseObject: {},
|
|
4290
|
+
body: yield response.json(),
|
|
4291
|
+
bodyKey: "workRequestCollection",
|
|
4292
|
+
bodyModel: model.WorkRequestCollection,
|
|
4293
|
+
type: "model.WorkRequestCollection",
|
|
3074
4294
|
responseHeaders: [
|
|
3075
4295
|
{
|
|
3076
|
-
value: response.headers.get("opc-
|
|
3077
|
-
key: "
|
|
4296
|
+
value: response.headers.get("opc-request-id"),
|
|
4297
|
+
key: "opcRequestId",
|
|
3078
4298
|
dataType: "string"
|
|
3079
4299
|
},
|
|
3080
4300
|
{
|
|
3081
|
-
value: response.headers.get("opc-
|
|
3082
|
-
key: "
|
|
4301
|
+
value: response.headers.get("opc-next-page"),
|
|
4302
|
+
key: "opcNextPage",
|
|
3083
4303
|
dataType: "string"
|
|
3084
4304
|
}
|
|
3085
4305
|
]
|
|
@@ -3092,40 +4312,35 @@ class OperationsInsightsClient {
|
|
|
3092
4312
|
});
|
|
3093
4313
|
}
|
|
3094
4314
|
/**
|
|
3095
|
-
*
|
|
3096
|
-
*
|
|
4315
|
+
* Rotate the ADW wallet for Operations Insights Warehouse using which the Hub data is exposed.
|
|
3097
4316
|
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
3098
|
-
* @param
|
|
3099
|
-
* @return
|
|
4317
|
+
* @param RotateOperationsInsightsWarehouseWalletRequest
|
|
4318
|
+
* @return RotateOperationsInsightsWarehouseWalletResponse
|
|
3100
4319
|
* @throws OciError when an error occurs
|
|
3101
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4320
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.10.0/opsi/RotateOperationsInsightsWarehouseWallet.ts.html |here} to see how to use RotateOperationsInsightsWarehouseWallet API.
|
|
3102
4321
|
*/
|
|
3103
|
-
|
|
4322
|
+
rotateOperationsInsightsWarehouseWallet(rotateOperationsInsightsWarehouseWalletRequest) {
|
|
3104
4323
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3105
4324
|
if (this.logger)
|
|
3106
|
-
this.logger.debug("Calling operation OperationsInsightsClient#
|
|
4325
|
+
this.logger.debug("Calling operation OperationsInsightsClient#rotateOperationsInsightsWarehouseWallet.");
|
|
3107
4326
|
const pathParams = {
|
|
3108
|
-
"{
|
|
3109
|
-
};
|
|
3110
|
-
const queryParams = {
|
|
3111
|
-
"page": listWorkRequestLogsRequest.page,
|
|
3112
|
-
"limit": listWorkRequestLogsRequest.limit,
|
|
3113
|
-
"sortBy": listWorkRequestLogsRequest.sortBy,
|
|
3114
|
-
"sortOrder": listWorkRequestLogsRequest.sortOrder
|
|
4327
|
+
"{operationsInsightsWarehouseId}": rotateOperationsInsightsWarehouseWalletRequest.operationsInsightsWarehouseId
|
|
3115
4328
|
};
|
|
4329
|
+
const queryParams = {};
|
|
3116
4330
|
let headerParams = {
|
|
3117
4331
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
3118
|
-
"opc-request-id":
|
|
4332
|
+
"opc-request-id": rotateOperationsInsightsWarehouseWalletRequest.opcRequestId,
|
|
4333
|
+
"if-match": rotateOperationsInsightsWarehouseWalletRequest.ifMatch
|
|
3119
4334
|
};
|
|
3120
4335
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
3121
|
-
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
|
|
4336
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, rotateOperationsInsightsWarehouseWalletRequest.retryConfiguration, specRetryConfiguration);
|
|
3122
4337
|
if (this.logger)
|
|
3123
4338
|
retrier.logger = this.logger;
|
|
3124
4339
|
const request = yield oci_common_1.composeRequest({
|
|
3125
4340
|
baseEndpoint: this._endpoint,
|
|
3126
4341
|
defaultHeaders: this._defaultHeaders,
|
|
3127
|
-
path: "/
|
|
3128
|
-
method: "
|
|
4342
|
+
path: "/operationsInsightsWarehouses/{operationsInsightsWarehouseId}/actions/rotateWarehouseWallet",
|
|
4343
|
+
method: "POST",
|
|
3129
4344
|
pathParams: pathParams,
|
|
3130
4345
|
headerParams: headerParams,
|
|
3131
4346
|
queryParams: queryParams
|
|
@@ -3134,14 +4349,10 @@ class OperationsInsightsClient {
|
|
|
3134
4349
|
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
3135
4350
|
const sdkResponse = oci_common_1.composeResponse({
|
|
3136
4351
|
responseObject: {},
|
|
3137
|
-
body: yield response.json(),
|
|
3138
|
-
bodyKey: "workRequestLogEntryCollection",
|
|
3139
|
-
bodyModel: model.WorkRequestLogEntryCollection,
|
|
3140
|
-
type: "model.WorkRequestLogEntryCollection",
|
|
3141
4352
|
responseHeaders: [
|
|
3142
4353
|
{
|
|
3143
|
-
value: response.headers.get("opc-
|
|
3144
|
-
key: "
|
|
4354
|
+
value: response.headers.get("opc-work-request-id"),
|
|
4355
|
+
key: "opcWorkRequestId",
|
|
3145
4356
|
dataType: "string"
|
|
3146
4357
|
},
|
|
3147
4358
|
{
|
|
@@ -3159,42 +4370,41 @@ class OperationsInsightsClient {
|
|
|
3159
4370
|
});
|
|
3160
4371
|
}
|
|
3161
4372
|
/**
|
|
3162
|
-
*
|
|
4373
|
+
* Gets a list of summary of AWR Sources.
|
|
3163
4374
|
*
|
|
3164
4375
|
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
3165
|
-
* @param
|
|
3166
|
-
* @return
|
|
4376
|
+
* @param SummarizeAwrSourcesSummariesRequest
|
|
4377
|
+
* @return SummarizeAwrSourcesSummariesResponse
|
|
3167
4378
|
* @throws OciError when an error occurs
|
|
3168
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4379
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.10.0/opsi/SummarizeAwrSourcesSummaries.ts.html |here} to see how to use SummarizeAwrSourcesSummaries API.
|
|
3169
4380
|
*/
|
|
3170
|
-
|
|
4381
|
+
summarizeAwrSourcesSummaries(summarizeAwrSourcesSummariesRequest) {
|
|
3171
4382
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3172
4383
|
if (this.logger)
|
|
3173
|
-
this.logger.debug("Calling operation OperationsInsightsClient#
|
|
3174
|
-
const pathParams = {
|
|
4384
|
+
this.logger.debug("Calling operation OperationsInsightsClient#summarizeAwrSourcesSummaries.");
|
|
4385
|
+
const pathParams = {
|
|
4386
|
+
"{awrHubId}": summarizeAwrSourcesSummariesRequest.awrHubId
|
|
4387
|
+
};
|
|
3175
4388
|
const queryParams = {
|
|
3176
|
-
"
|
|
3177
|
-
"
|
|
3178
|
-
"
|
|
3179
|
-
"
|
|
3180
|
-
"
|
|
3181
|
-
"
|
|
3182
|
-
"relatedResourceId": listWorkRequestsRequest.relatedResourceId,
|
|
3183
|
-
"sortOrder": listWorkRequestsRequest.sortOrder,
|
|
3184
|
-
"sortBy": listWorkRequestsRequest.sortBy
|
|
4389
|
+
"compartmentId": summarizeAwrSourcesSummariesRequest.compartmentId,
|
|
4390
|
+
"name": summarizeAwrSourcesSummariesRequest.name,
|
|
4391
|
+
"limit": summarizeAwrSourcesSummariesRequest.limit,
|
|
4392
|
+
"page": summarizeAwrSourcesSummariesRequest.page,
|
|
4393
|
+
"sortBy": summarizeAwrSourcesSummariesRequest.sortBy,
|
|
4394
|
+
"sortOrder": summarizeAwrSourcesSummariesRequest.sortOrder
|
|
3185
4395
|
};
|
|
3186
4396
|
let headerParams = {
|
|
3187
4397
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
3188
|
-
"opc-request-id":
|
|
4398
|
+
"opc-request-id": summarizeAwrSourcesSummariesRequest.opcRequestId
|
|
3189
4399
|
};
|
|
3190
4400
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
3191
|
-
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
|
|
4401
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, summarizeAwrSourcesSummariesRequest.retryConfiguration, specRetryConfiguration);
|
|
3192
4402
|
if (this.logger)
|
|
3193
4403
|
retrier.logger = this.logger;
|
|
3194
4404
|
const request = yield oci_common_1.composeRequest({
|
|
3195
4405
|
baseEndpoint: this._endpoint,
|
|
3196
4406
|
defaultHeaders: this._defaultHeaders,
|
|
3197
|
-
path: "/
|
|
4407
|
+
path: "/awrHubs/{awrHubId}/awrSourcesSummary",
|
|
3198
4408
|
method: "GET",
|
|
3199
4409
|
pathParams: pathParams,
|
|
3200
4410
|
headerParams: headerParams,
|
|
@@ -3205,9 +4415,9 @@ class OperationsInsightsClient {
|
|
|
3205
4415
|
const sdkResponse = oci_common_1.composeResponse({
|
|
3206
4416
|
responseObject: {},
|
|
3207
4417
|
body: yield response.json(),
|
|
3208
|
-
bodyKey: "
|
|
3209
|
-
bodyModel: model.
|
|
3210
|
-
type: "model.
|
|
4418
|
+
bodyKey: "summarizeAwrSourcesSummariesCollection",
|
|
4419
|
+
bodyModel: model.SummarizeAwrSourcesSummariesCollection,
|
|
4420
|
+
type: "model.SummarizeAwrSourcesSummariesCollection",
|
|
3211
4421
|
responseHeaders: [
|
|
3212
4422
|
{
|
|
3213
4423
|
value: response.headers.get("opc-request-id"),
|
|
@@ -3237,7 +4447,7 @@ class OperationsInsightsClient {
|
|
|
3237
4447
|
* @param SummarizeDatabaseInsightResourceCapacityTrendRequest
|
|
3238
4448
|
* @return SummarizeDatabaseInsightResourceCapacityTrendResponse
|
|
3239
4449
|
* @throws OciError when an error occurs
|
|
3240
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4450
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.10.0/opsi/SummarizeDatabaseInsightResourceCapacityTrend.ts.html |here} to see how to use SummarizeDatabaseInsightResourceCapacityTrend API.
|
|
3241
4451
|
*/
|
|
3242
4452
|
summarizeDatabaseInsightResourceCapacityTrend(summarizeDatabaseInsightResourceCapacityTrendRequest) {
|
|
3243
4453
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3321,7 +4531,7 @@ class OperationsInsightsClient {
|
|
|
3321
4531
|
* @param SummarizeDatabaseInsightResourceForecastTrendRequest
|
|
3322
4532
|
* @return SummarizeDatabaseInsightResourceForecastTrendResponse
|
|
3323
4533
|
* @throws OciError when an error occurs
|
|
3324
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4534
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.10.0/opsi/SummarizeDatabaseInsightResourceForecastTrend.ts.html |here} to see how to use SummarizeDatabaseInsightResourceForecastTrend API.
|
|
3325
4535
|
*/
|
|
3326
4536
|
summarizeDatabaseInsightResourceForecastTrend(summarizeDatabaseInsightResourceForecastTrendRequest) {
|
|
3327
4537
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3407,7 +4617,7 @@ class OperationsInsightsClient {
|
|
|
3407
4617
|
* @param SummarizeDatabaseInsightResourceStatisticsRequest
|
|
3408
4618
|
* @return SummarizeDatabaseInsightResourceStatisticsResponse
|
|
3409
4619
|
* @throws OciError when an error occurs
|
|
3410
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4620
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.10.0/opsi/SummarizeDatabaseInsightResourceStatistics.ts.html |here} to see how to use SummarizeDatabaseInsightResourceStatistics API.
|
|
3411
4621
|
*/
|
|
3412
4622
|
summarizeDatabaseInsightResourceStatistics(summarizeDatabaseInsightResourceStatisticsRequest) {
|
|
3413
4623
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3495,7 +4705,7 @@ class OperationsInsightsClient {
|
|
|
3495
4705
|
* @param SummarizeDatabaseInsightResourceUsageRequest
|
|
3496
4706
|
* @return SummarizeDatabaseInsightResourceUsageResponse
|
|
3497
4707
|
* @throws OciError when an error occurs
|
|
3498
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4708
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.10.0/opsi/SummarizeDatabaseInsightResourceUsage.ts.html |here} to see how to use SummarizeDatabaseInsightResourceUsage API.
|
|
3499
4709
|
*/
|
|
3500
4710
|
summarizeDatabaseInsightResourceUsage(summarizeDatabaseInsightResourceUsageRequest) {
|
|
3501
4711
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3576,7 +4786,7 @@ class OperationsInsightsClient {
|
|
|
3576
4786
|
* @param SummarizeDatabaseInsightResourceUsageTrendRequest
|
|
3577
4787
|
* @return SummarizeDatabaseInsightResourceUsageTrendResponse
|
|
3578
4788
|
* @throws OciError when an error occurs
|
|
3579
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4789
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.10.0/opsi/SummarizeDatabaseInsightResourceUsageTrend.ts.html |here} to see how to use SummarizeDatabaseInsightResourceUsageTrend API.
|
|
3580
4790
|
*/
|
|
3581
4791
|
summarizeDatabaseInsightResourceUsageTrend(summarizeDatabaseInsightResourceUsageTrendRequest) {
|
|
3582
4792
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3657,7 +4867,7 @@ class OperationsInsightsClient {
|
|
|
3657
4867
|
* @param SummarizeDatabaseInsightResourceUtilizationInsightRequest
|
|
3658
4868
|
* @return SummarizeDatabaseInsightResourceUtilizationInsightResponse
|
|
3659
4869
|
* @throws OciError when an error occurs
|
|
3660
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4870
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.10.0/opsi/SummarizeDatabaseInsightResourceUtilizationInsight.ts.html |here} to see how to use SummarizeDatabaseInsightResourceUtilizationInsight API.
|
|
3661
4871
|
*/
|
|
3662
4872
|
summarizeDatabaseInsightResourceUtilizationInsight(summarizeDatabaseInsightResourceUtilizationInsightRequest) {
|
|
3663
4873
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3738,7 +4948,7 @@ class OperationsInsightsClient {
|
|
|
3738
4948
|
* @param SummarizeDatabaseInsightTablespaceUsageTrendRequest
|
|
3739
4949
|
* @return SummarizeDatabaseInsightTablespaceUsageTrendResponse
|
|
3740
4950
|
* @throws OciError when an error occurs
|
|
3741
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4951
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.10.0/opsi/SummarizeDatabaseInsightTablespaceUsageTrend.ts.html |here} to see how to use SummarizeDatabaseInsightTablespaceUsageTrend API.
|
|
3742
4952
|
*/
|
|
3743
4953
|
summarizeDatabaseInsightTablespaceUsageTrend(summarizeDatabaseInsightTablespaceUsageTrendRequest) {
|
|
3744
4954
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3814,7 +5024,7 @@ class OperationsInsightsClient {
|
|
|
3814
5024
|
* @param SummarizeExadataInsightResourceCapacityTrendRequest
|
|
3815
5025
|
* @return SummarizeExadataInsightResourceCapacityTrendResponse
|
|
3816
5026
|
* @throws OciError when an error occurs
|
|
3817
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
5027
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.10.0/opsi/SummarizeExadataInsightResourceCapacityTrend.ts.html |here} to see how to use SummarizeExadataInsightResourceCapacityTrend API.
|
|
3818
5028
|
*/
|
|
3819
5029
|
summarizeExadataInsightResourceCapacityTrend(summarizeExadataInsightResourceCapacityTrendRequest) {
|
|
3820
5030
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3896,7 +5106,7 @@ class OperationsInsightsClient {
|
|
|
3896
5106
|
* @param SummarizeExadataInsightResourceCapacityTrendAggregatedRequest
|
|
3897
5107
|
* @return SummarizeExadataInsightResourceCapacityTrendAggregatedResponse
|
|
3898
5108
|
* @throws OciError when an error occurs
|
|
3899
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
5109
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.10.0/opsi/SummarizeExadataInsightResourceCapacityTrendAggregated.ts.html |here} to see how to use SummarizeExadataInsightResourceCapacityTrendAggregated API.
|
|
3900
5110
|
*/
|
|
3901
5111
|
summarizeExadataInsightResourceCapacityTrendAggregated(summarizeExadataInsightResourceCapacityTrendAggregatedRequest) {
|
|
3902
5112
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3981,7 +5191,7 @@ class OperationsInsightsClient {
|
|
|
3981
5191
|
* @param SummarizeExadataInsightResourceForecastTrendRequest
|
|
3982
5192
|
* @return SummarizeExadataInsightResourceForecastTrendResponse
|
|
3983
5193
|
* @throws OciError when an error occurs
|
|
3984
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
5194
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.10.0/opsi/SummarizeExadataInsightResourceForecastTrend.ts.html |here} to see how to use SummarizeExadataInsightResourceForecastTrend API.
|
|
3985
5195
|
*/
|
|
3986
5196
|
summarizeExadataInsightResourceForecastTrend(summarizeExadataInsightResourceForecastTrendRequest) {
|
|
3987
5197
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4066,7 +5276,7 @@ class OperationsInsightsClient {
|
|
|
4066
5276
|
* @param SummarizeExadataInsightResourceForecastTrendAggregatedRequest
|
|
4067
5277
|
* @return SummarizeExadataInsightResourceForecastTrendAggregatedResponse
|
|
4068
5278
|
* @throws OciError when an error occurs
|
|
4069
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
5279
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.10.0/opsi/SummarizeExadataInsightResourceForecastTrendAggregated.ts.html |here} to see how to use SummarizeExadataInsightResourceForecastTrendAggregated API.
|
|
4070
5280
|
*/
|
|
4071
5281
|
summarizeExadataInsightResourceForecastTrendAggregated(summarizeExadataInsightResourceForecastTrendAggregatedRequest) {
|
|
4072
5282
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4151,7 +5361,7 @@ class OperationsInsightsClient {
|
|
|
4151
5361
|
* @param SummarizeExadataInsightResourceStatisticsRequest
|
|
4152
5362
|
* @return SummarizeExadataInsightResourceStatisticsResponse
|
|
4153
5363
|
* @throws OciError when an error occurs
|
|
4154
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
5364
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.10.0/opsi/SummarizeExadataInsightResourceStatistics.ts.html |here} to see how to use SummarizeExadataInsightResourceStatistics API.
|
|
4155
5365
|
*/
|
|
4156
5366
|
summarizeExadataInsightResourceStatistics(summarizeExadataInsightResourceStatisticsRequest) {
|
|
4157
5367
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4236,7 +5446,7 @@ class OperationsInsightsClient {
|
|
|
4236
5446
|
* @param SummarizeExadataInsightResourceUsageRequest
|
|
4237
5447
|
* @return SummarizeExadataInsightResourceUsageResponse
|
|
4238
5448
|
* @throws OciError when an error occurs
|
|
4239
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
5449
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.10.0/opsi/SummarizeExadataInsightResourceUsage.ts.html |here} to see how to use SummarizeExadataInsightResourceUsage API.
|
|
4240
5450
|
*/
|
|
4241
5451
|
summarizeExadataInsightResourceUsage(summarizeExadataInsightResourceUsageRequest) {
|
|
4242
5452
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4321,7 +5531,7 @@ class OperationsInsightsClient {
|
|
|
4321
5531
|
* @param SummarizeExadataInsightResourceUsageAggregatedRequest
|
|
4322
5532
|
* @return SummarizeExadataInsightResourceUsageAggregatedResponse
|
|
4323
5533
|
* @throws OciError when an error occurs
|
|
4324
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
5534
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.10.0/opsi/SummarizeExadataInsightResourceUsageAggregated.ts.html |here} to see how to use SummarizeExadataInsightResourceUsageAggregated API.
|
|
4325
5535
|
*/
|
|
4326
5536
|
summarizeExadataInsightResourceUsageAggregated(summarizeExadataInsightResourceUsageAggregatedRequest) {
|
|
4327
5537
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4397,7 +5607,7 @@ class OperationsInsightsClient {
|
|
|
4397
5607
|
* @param SummarizeExadataInsightResourceUtilizationInsightRequest
|
|
4398
5608
|
* @return SummarizeExadataInsightResourceUtilizationInsightResponse
|
|
4399
5609
|
* @throws OciError when an error occurs
|
|
4400
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
5610
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.10.0/opsi/SummarizeExadataInsightResourceUtilizationInsight.ts.html |here} to see how to use SummarizeExadataInsightResourceUtilizationInsight API.
|
|
4401
5611
|
*/
|
|
4402
5612
|
summarizeExadataInsightResourceUtilizationInsight(summarizeExadataInsightResourceUtilizationInsightRequest) {
|
|
4403
5613
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4480,7 +5690,7 @@ class OperationsInsightsClient {
|
|
|
4480
5690
|
* @param SummarizeExadataMembersRequest
|
|
4481
5691
|
* @return SummarizeExadataMembersResponse
|
|
4482
5692
|
* @throws OciError when an error occurs
|
|
4483
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
5693
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.10.0/opsi/SummarizeExadataMembers.ts.html |here} to see how to use SummarizeExadataMembers API.
|
|
4484
5694
|
*/
|
|
4485
5695
|
summarizeExadataMembers(summarizeExadataMembersRequest) {
|
|
4486
5696
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4554,7 +5764,7 @@ class OperationsInsightsClient {
|
|
|
4554
5764
|
* @param SummarizeHostInsightResourceCapacityTrendRequest
|
|
4555
5765
|
* @return SummarizeHostInsightResourceCapacityTrendResponse
|
|
4556
5766
|
* @throws OciError when an error occurs
|
|
4557
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
5767
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.10.0/opsi/SummarizeHostInsightResourceCapacityTrend.ts.html |here} to see how to use SummarizeHostInsightResourceCapacityTrend API.
|
|
4558
5768
|
*/
|
|
4559
5769
|
summarizeHostInsightResourceCapacityTrend(summarizeHostInsightResourceCapacityTrendRequest) {
|
|
4560
5770
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4633,7 +5843,7 @@ class OperationsInsightsClient {
|
|
|
4633
5843
|
* @param SummarizeHostInsightResourceForecastTrendRequest
|
|
4634
5844
|
* @return SummarizeHostInsightResourceForecastTrendResponse
|
|
4635
5845
|
* @throws OciError when an error occurs
|
|
4636
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
5846
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.10.0/opsi/SummarizeHostInsightResourceForecastTrend.ts.html |here} to see how to use SummarizeHostInsightResourceForecastTrend API.
|
|
4637
5847
|
*/
|
|
4638
5848
|
summarizeHostInsightResourceForecastTrend(summarizeHostInsightResourceForecastTrendRequest) {
|
|
4639
5849
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4709,7 +5919,7 @@ class OperationsInsightsClient {
|
|
|
4709
5919
|
* @param SummarizeHostInsightResourceStatisticsRequest
|
|
4710
5920
|
* @return SummarizeHostInsightResourceStatisticsResponse
|
|
4711
5921
|
* @throws OciError when an error occurs
|
|
4712
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
5922
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.10.0/opsi/SummarizeHostInsightResourceStatistics.ts.html |here} to see how to use SummarizeHostInsightResourceStatistics API.
|
|
4713
5923
|
*/
|
|
4714
5924
|
summarizeHostInsightResourceStatistics(summarizeHostInsightResourceStatisticsRequest) {
|
|
4715
5925
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4793,7 +6003,7 @@ class OperationsInsightsClient {
|
|
|
4793
6003
|
* @param SummarizeHostInsightResourceUsageRequest
|
|
4794
6004
|
* @return SummarizeHostInsightResourceUsageResponse
|
|
4795
6005
|
* @throws OciError when an error occurs
|
|
4796
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
6006
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.10.0/opsi/SummarizeHostInsightResourceUsage.ts.html |here} to see how to use SummarizeHostInsightResourceUsage API.
|
|
4797
6007
|
*/
|
|
4798
6008
|
summarizeHostInsightResourceUsage(summarizeHostInsightResourceUsageRequest) {
|
|
4799
6009
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4866,7 +6076,7 @@ class OperationsInsightsClient {
|
|
|
4866
6076
|
* @param SummarizeHostInsightResourceUsageTrendRequest
|
|
4867
6077
|
* @return SummarizeHostInsightResourceUsageTrendResponse
|
|
4868
6078
|
* @throws OciError when an error occurs
|
|
4869
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
6079
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.10.0/opsi/SummarizeHostInsightResourceUsageTrend.ts.html |here} to see how to use SummarizeHostInsightResourceUsageTrend API.
|
|
4870
6080
|
*/
|
|
4871
6081
|
summarizeHostInsightResourceUsageTrend(summarizeHostInsightResourceUsageTrendRequest) {
|
|
4872
6082
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4944,7 +6154,7 @@ class OperationsInsightsClient {
|
|
|
4944
6154
|
* @param SummarizeHostInsightResourceUtilizationInsightRequest
|
|
4945
6155
|
* @return SummarizeHostInsightResourceUtilizationInsightResponse
|
|
4946
6156
|
* @throws OciError when an error occurs
|
|
4947
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
6157
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.10.0/opsi/SummarizeHostInsightResourceUtilizationInsight.ts.html |here} to see how to use SummarizeHostInsightResourceUtilizationInsight API.
|
|
4948
6158
|
*/
|
|
4949
6159
|
summarizeHostInsightResourceUtilizationInsight(summarizeHostInsightResourceUtilizationInsightRequest) {
|
|
4950
6160
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -5008,6 +6218,69 @@ class OperationsInsightsClient {
|
|
|
5008
6218
|
}
|
|
5009
6219
|
});
|
|
5010
6220
|
}
|
|
6221
|
+
/**
|
|
6222
|
+
* Gets the details of resources used by an Operations Insights Warehouse.
|
|
6223
|
+
* There is only expected to be 1 warehouse per tenant. The warehouse is expected to be in the root compartment.
|
|
6224
|
+
*
|
|
6225
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
6226
|
+
* @param SummarizeOperationsInsightsWarehouseResourceUsageRequest
|
|
6227
|
+
* @return SummarizeOperationsInsightsWarehouseResourceUsageResponse
|
|
6228
|
+
* @throws OciError when an error occurs
|
|
6229
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.10.0/opsi/SummarizeOperationsInsightsWarehouseResourceUsage.ts.html |here} to see how to use SummarizeOperationsInsightsWarehouseResourceUsage API.
|
|
6230
|
+
*/
|
|
6231
|
+
summarizeOperationsInsightsWarehouseResourceUsage(summarizeOperationsInsightsWarehouseResourceUsageRequest) {
|
|
6232
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
6233
|
+
if (this.logger)
|
|
6234
|
+
this.logger.debug("Calling operation OperationsInsightsClient#summarizeOperationsInsightsWarehouseResourceUsage.");
|
|
6235
|
+
const pathParams = {
|
|
6236
|
+
"{operationsInsightsWarehouseId}": summarizeOperationsInsightsWarehouseResourceUsageRequest.operationsInsightsWarehouseId
|
|
6237
|
+
};
|
|
6238
|
+
const queryParams = {};
|
|
6239
|
+
let headerParams = {
|
|
6240
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
6241
|
+
"opc-request-id": summarizeOperationsInsightsWarehouseResourceUsageRequest.opcRequestId
|
|
6242
|
+
};
|
|
6243
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
6244
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, summarizeOperationsInsightsWarehouseResourceUsageRequest.retryConfiguration, specRetryConfiguration);
|
|
6245
|
+
if (this.logger)
|
|
6246
|
+
retrier.logger = this.logger;
|
|
6247
|
+
const request = yield oci_common_1.composeRequest({
|
|
6248
|
+
baseEndpoint: this._endpoint,
|
|
6249
|
+
defaultHeaders: this._defaultHeaders,
|
|
6250
|
+
path: "/operationsInsightsWarehouses/{operationsInsightsWarehouseId}/resourceUsageSummary",
|
|
6251
|
+
method: "GET",
|
|
6252
|
+
pathParams: pathParams,
|
|
6253
|
+
headerParams: headerParams,
|
|
6254
|
+
queryParams: queryParams
|
|
6255
|
+
});
|
|
6256
|
+
try {
|
|
6257
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
6258
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
6259
|
+
responseObject: {},
|
|
6260
|
+
body: yield response.json(),
|
|
6261
|
+
bodyKey: "summarizeOperationsInsightsWarehouseResourceUsageAggregation",
|
|
6262
|
+
bodyModel: model.SummarizeOperationsInsightsWarehouseResourceUsageAggregation,
|
|
6263
|
+
type: "model.SummarizeOperationsInsightsWarehouseResourceUsageAggregation",
|
|
6264
|
+
responseHeaders: [
|
|
6265
|
+
{
|
|
6266
|
+
value: response.headers.get("etag"),
|
|
6267
|
+
key: "etag",
|
|
6268
|
+
dataType: "string"
|
|
6269
|
+
},
|
|
6270
|
+
{
|
|
6271
|
+
value: response.headers.get("opc-request-id"),
|
|
6272
|
+
key: "opcRequestId",
|
|
6273
|
+
dataType: "string"
|
|
6274
|
+
}
|
|
6275
|
+
]
|
|
6276
|
+
});
|
|
6277
|
+
return sdkResponse;
|
|
6278
|
+
}
|
|
6279
|
+
catch (err) {
|
|
6280
|
+
throw err;
|
|
6281
|
+
}
|
|
6282
|
+
});
|
|
6283
|
+
}
|
|
5011
6284
|
/**
|
|
5012
6285
|
* Query SQL Warehouse to get the performance insights for SQLs taking greater than X% database time for a given
|
|
5013
6286
|
* time period across the given databases or database types in a compartment and in all sub-compartments if specified.
|
|
@@ -5016,7 +6289,7 @@ class OperationsInsightsClient {
|
|
|
5016
6289
|
* @param SummarizeSqlInsightsRequest
|
|
5017
6290
|
* @return SummarizeSqlInsightsResponse
|
|
5018
6291
|
* @throws OciError when an error occurs
|
|
5019
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
6292
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.10.0/opsi/SummarizeSqlInsights.ts.html |here} to see how to use SummarizeSqlInsights API.
|
|
5020
6293
|
*/
|
|
5021
6294
|
summarizeSqlInsights(summarizeSqlInsightsRequest) {
|
|
5022
6295
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -5095,7 +6368,7 @@ class OperationsInsightsClient {
|
|
|
5095
6368
|
* @param SummarizeSqlPlanInsightsRequest
|
|
5096
6369
|
* @return SummarizeSqlPlanInsightsResponse
|
|
5097
6370
|
* @throws OciError when an error occurs
|
|
5098
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
6371
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.10.0/opsi/SummarizeSqlPlanInsights.ts.html |here} to see how to use SummarizeSqlPlanInsights API.
|
|
5099
6372
|
*/
|
|
5100
6373
|
summarizeSqlPlanInsights(summarizeSqlPlanInsightsRequest) {
|
|
5101
6374
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -5165,7 +6438,7 @@ class OperationsInsightsClient {
|
|
|
5165
6438
|
* @param SummarizeSqlResponseTimeDistributionsRequest
|
|
5166
6439
|
* @return SummarizeSqlResponseTimeDistributionsResponse
|
|
5167
6440
|
* @throws OciError when an error occurs
|
|
5168
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
6441
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.10.0/opsi/SummarizeSqlResponseTimeDistributions.ts.html |here} to see how to use SummarizeSqlResponseTimeDistributions API.
|
|
5169
6442
|
*/
|
|
5170
6443
|
summarizeSqlResponseTimeDistributions(summarizeSqlResponseTimeDistributionsRequest) {
|
|
5171
6444
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -5235,7 +6508,7 @@ class OperationsInsightsClient {
|
|
|
5235
6508
|
* @param SummarizeSqlStatisticsRequest
|
|
5236
6509
|
* @return SummarizeSqlStatisticsResponse
|
|
5237
6510
|
* @throws OciError when an error occurs
|
|
5238
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
6511
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.10.0/opsi/SummarizeSqlStatistics.ts.html |here} to see how to use SummarizeSqlStatistics API.
|
|
5239
6512
|
*/
|
|
5240
6513
|
summarizeSqlStatistics(summarizeSqlStatisticsRequest) {
|
|
5241
6514
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -5319,7 +6592,7 @@ class OperationsInsightsClient {
|
|
|
5319
6592
|
* @param SummarizeSqlStatisticsTimeSeriesRequest
|
|
5320
6593
|
* @return SummarizeSqlStatisticsTimeSeriesResponse
|
|
5321
6594
|
* @throws OciError when an error occurs
|
|
5322
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
6595
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.10.0/opsi/SummarizeSqlStatisticsTimeSeries.ts.html |here} to see how to use SummarizeSqlStatisticsTimeSeries API.
|
|
5323
6596
|
*/
|
|
5324
6597
|
summarizeSqlStatisticsTimeSeries(summarizeSqlStatisticsTimeSeriesRequest) {
|
|
5325
6598
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -5397,7 +6670,7 @@ class OperationsInsightsClient {
|
|
|
5397
6670
|
* @param SummarizeSqlStatisticsTimeSeriesByPlanRequest
|
|
5398
6671
|
* @return SummarizeSqlStatisticsTimeSeriesByPlanResponse
|
|
5399
6672
|
* @throws OciError when an error occurs
|
|
5400
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
6673
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.10.0/opsi/SummarizeSqlStatisticsTimeSeriesByPlan.ts.html |here} to see how to use SummarizeSqlStatisticsTimeSeriesByPlan API.
|
|
5401
6674
|
*/
|
|
5402
6675
|
summarizeSqlStatisticsTimeSeriesByPlan(summarizeSqlStatisticsTimeSeriesByPlanRequest) {
|
|
5403
6676
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -5459,13 +6732,72 @@ class OperationsInsightsClient {
|
|
|
5459
6732
|
}
|
|
5460
6733
|
});
|
|
5461
6734
|
}
|
|
6735
|
+
/**
|
|
6736
|
+
* Updates the configuration of a hub .
|
|
6737
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
6738
|
+
* @param UpdateAwrHubRequest
|
|
6739
|
+
* @return UpdateAwrHubResponse
|
|
6740
|
+
* @throws OciError when an error occurs
|
|
6741
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.10.0/opsi/UpdateAwrHub.ts.html |here} to see how to use UpdateAwrHub API.
|
|
6742
|
+
*/
|
|
6743
|
+
updateAwrHub(updateAwrHubRequest) {
|
|
6744
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
6745
|
+
if (this.logger)
|
|
6746
|
+
this.logger.debug("Calling operation OperationsInsightsClient#updateAwrHub.");
|
|
6747
|
+
const pathParams = {
|
|
6748
|
+
"{awrHubId}": updateAwrHubRequest.awrHubId
|
|
6749
|
+
};
|
|
6750
|
+
const queryParams = {};
|
|
6751
|
+
let headerParams = {
|
|
6752
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
6753
|
+
"if-match": updateAwrHubRequest.ifMatch,
|
|
6754
|
+
"opc-request-id": updateAwrHubRequest.opcRequestId
|
|
6755
|
+
};
|
|
6756
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
6757
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateAwrHubRequest.retryConfiguration, specRetryConfiguration);
|
|
6758
|
+
if (this.logger)
|
|
6759
|
+
retrier.logger = this.logger;
|
|
6760
|
+
const request = yield oci_common_1.composeRequest({
|
|
6761
|
+
baseEndpoint: this._endpoint,
|
|
6762
|
+
defaultHeaders: this._defaultHeaders,
|
|
6763
|
+
path: "/awrHubs/{awrHubId}",
|
|
6764
|
+
method: "PUT",
|
|
6765
|
+
bodyContent: common.ObjectSerializer.serialize(updateAwrHubRequest.updateAwrHubDetails, "UpdateAwrHubDetails", model.UpdateAwrHubDetails.getJsonObj),
|
|
6766
|
+
pathParams: pathParams,
|
|
6767
|
+
headerParams: headerParams,
|
|
6768
|
+
queryParams: queryParams
|
|
6769
|
+
});
|
|
6770
|
+
try {
|
|
6771
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
6772
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
6773
|
+
responseObject: {},
|
|
6774
|
+
responseHeaders: [
|
|
6775
|
+
{
|
|
6776
|
+
value: response.headers.get("opc-work-request-id"),
|
|
6777
|
+
key: "opcWorkRequestId",
|
|
6778
|
+
dataType: "string"
|
|
6779
|
+
},
|
|
6780
|
+
{
|
|
6781
|
+
value: response.headers.get("opc-request-id"),
|
|
6782
|
+
key: "opcRequestId",
|
|
6783
|
+
dataType: "string"
|
|
6784
|
+
}
|
|
6785
|
+
]
|
|
6786
|
+
});
|
|
6787
|
+
return sdkResponse;
|
|
6788
|
+
}
|
|
6789
|
+
catch (err) {
|
|
6790
|
+
throw err;
|
|
6791
|
+
}
|
|
6792
|
+
});
|
|
6793
|
+
}
|
|
5462
6794
|
/**
|
|
5463
6795
|
* Updates configuration of a database insight.
|
|
5464
6796
|
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
5465
6797
|
* @param UpdateDatabaseInsightRequest
|
|
5466
6798
|
* @return UpdateDatabaseInsightResponse
|
|
5467
6799
|
* @throws OciError when an error occurs
|
|
5468
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
6800
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.10.0/opsi/UpdateDatabaseInsight.ts.html |here} to see how to use UpdateDatabaseInsight API.
|
|
5469
6801
|
*/
|
|
5470
6802
|
updateDatabaseInsight(updateDatabaseInsightRequest) {
|
|
5471
6803
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -5524,7 +6856,7 @@ class OperationsInsightsClient {
|
|
|
5524
6856
|
* @param UpdateEnterpriseManagerBridgeRequest
|
|
5525
6857
|
* @return UpdateEnterpriseManagerBridgeResponse
|
|
5526
6858
|
* @throws OciError when an error occurs
|
|
5527
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
6859
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.10.0/opsi/UpdateEnterpriseManagerBridge.ts.html |here} to see how to use UpdateEnterpriseManagerBridge API.
|
|
5528
6860
|
*/
|
|
5529
6861
|
updateEnterpriseManagerBridge(updateEnterpriseManagerBridgeRequest) {
|
|
5530
6862
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -5583,7 +6915,7 @@ class OperationsInsightsClient {
|
|
|
5583
6915
|
* @param UpdateExadataInsightRequest
|
|
5584
6916
|
* @return UpdateExadataInsightResponse
|
|
5585
6917
|
* @throws OciError when an error occurs
|
|
5586
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
6918
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.10.0/opsi/UpdateExadataInsight.ts.html |here} to see how to use UpdateExadataInsight API.
|
|
5587
6919
|
*/
|
|
5588
6920
|
updateExadataInsight(updateExadataInsightRequest) {
|
|
5589
6921
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -5642,7 +6974,7 @@ class OperationsInsightsClient {
|
|
|
5642
6974
|
* @param UpdateHostInsightRequest
|
|
5643
6975
|
* @return UpdateHostInsightResponse
|
|
5644
6976
|
* @throws OciError when an error occurs
|
|
5645
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
6977
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.10.0/opsi/UpdateHostInsight.ts.html |here} to see how to use UpdateHostInsight API.
|
|
5646
6978
|
*/
|
|
5647
6979
|
updateHostInsight(updateHostInsightRequest) {
|
|
5648
6980
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -5695,6 +7027,126 @@ class OperationsInsightsClient {
|
|
|
5695
7027
|
}
|
|
5696
7028
|
});
|
|
5697
7029
|
}
|
|
7030
|
+
/**
|
|
7031
|
+
* Updates the configuration of an Operations Insights Warehouse.
|
|
7032
|
+
* There is only expected to be 1 warehouse per tenant. The warehouse is expected to be in the root compartment.
|
|
7033
|
+
*
|
|
7034
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
7035
|
+
* @param UpdateOperationsInsightsWarehouseRequest
|
|
7036
|
+
* @return UpdateOperationsInsightsWarehouseResponse
|
|
7037
|
+
* @throws OciError when an error occurs
|
|
7038
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.10.0/opsi/UpdateOperationsInsightsWarehouse.ts.html |here} to see how to use UpdateOperationsInsightsWarehouse API.
|
|
7039
|
+
*/
|
|
7040
|
+
updateOperationsInsightsWarehouse(updateOperationsInsightsWarehouseRequest) {
|
|
7041
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
7042
|
+
if (this.logger)
|
|
7043
|
+
this.logger.debug("Calling operation OperationsInsightsClient#updateOperationsInsightsWarehouse.");
|
|
7044
|
+
const pathParams = {
|
|
7045
|
+
"{operationsInsightsWarehouseId}": updateOperationsInsightsWarehouseRequest.operationsInsightsWarehouseId
|
|
7046
|
+
};
|
|
7047
|
+
const queryParams = {};
|
|
7048
|
+
let headerParams = {
|
|
7049
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
7050
|
+
"if-match": updateOperationsInsightsWarehouseRequest.ifMatch,
|
|
7051
|
+
"opc-request-id": updateOperationsInsightsWarehouseRequest.opcRequestId
|
|
7052
|
+
};
|
|
7053
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
7054
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateOperationsInsightsWarehouseRequest.retryConfiguration, specRetryConfiguration);
|
|
7055
|
+
if (this.logger)
|
|
7056
|
+
retrier.logger = this.logger;
|
|
7057
|
+
const request = yield oci_common_1.composeRequest({
|
|
7058
|
+
baseEndpoint: this._endpoint,
|
|
7059
|
+
defaultHeaders: this._defaultHeaders,
|
|
7060
|
+
path: "/operationsInsightsWarehouses/{operationsInsightsWarehouseId}",
|
|
7061
|
+
method: "PUT",
|
|
7062
|
+
bodyContent: common.ObjectSerializer.serialize(updateOperationsInsightsWarehouseRequest.updateOperationsInsightsWarehouseDetails, "UpdateOperationsInsightsWarehouseDetails", model.UpdateOperationsInsightsWarehouseDetails.getJsonObj),
|
|
7063
|
+
pathParams: pathParams,
|
|
7064
|
+
headerParams: headerParams,
|
|
7065
|
+
queryParams: queryParams
|
|
7066
|
+
});
|
|
7067
|
+
try {
|
|
7068
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
7069
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
7070
|
+
responseObject: {},
|
|
7071
|
+
responseHeaders: [
|
|
7072
|
+
{
|
|
7073
|
+
value: response.headers.get("opc-work-request-id"),
|
|
7074
|
+
key: "opcWorkRequestId",
|
|
7075
|
+
dataType: "string"
|
|
7076
|
+
},
|
|
7077
|
+
{
|
|
7078
|
+
value: response.headers.get("opc-request-id"),
|
|
7079
|
+
key: "opcRequestId",
|
|
7080
|
+
dataType: "string"
|
|
7081
|
+
}
|
|
7082
|
+
]
|
|
7083
|
+
});
|
|
7084
|
+
return sdkResponse;
|
|
7085
|
+
}
|
|
7086
|
+
catch (err) {
|
|
7087
|
+
throw err;
|
|
7088
|
+
}
|
|
7089
|
+
});
|
|
7090
|
+
}
|
|
7091
|
+
/**
|
|
7092
|
+
* Updates the configuration of an Operations Insights Warehouse User.
|
|
7093
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
7094
|
+
* @param UpdateOperationsInsightsWarehouseUserRequest
|
|
7095
|
+
* @return UpdateOperationsInsightsWarehouseUserResponse
|
|
7096
|
+
* @throws OciError when an error occurs
|
|
7097
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.10.0/opsi/UpdateOperationsInsightsWarehouseUser.ts.html |here} to see how to use UpdateOperationsInsightsWarehouseUser API.
|
|
7098
|
+
*/
|
|
7099
|
+
updateOperationsInsightsWarehouseUser(updateOperationsInsightsWarehouseUserRequest) {
|
|
7100
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
7101
|
+
if (this.logger)
|
|
7102
|
+
this.logger.debug("Calling operation OperationsInsightsClient#updateOperationsInsightsWarehouseUser.");
|
|
7103
|
+
const pathParams = {
|
|
7104
|
+
"{operationsInsightsWarehouseUserId}": updateOperationsInsightsWarehouseUserRequest.operationsInsightsWarehouseUserId
|
|
7105
|
+
};
|
|
7106
|
+
const queryParams = {};
|
|
7107
|
+
let headerParams = {
|
|
7108
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
7109
|
+
"if-match": updateOperationsInsightsWarehouseUserRequest.ifMatch,
|
|
7110
|
+
"opc-request-id": updateOperationsInsightsWarehouseUserRequest.opcRequestId
|
|
7111
|
+
};
|
|
7112
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
7113
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateOperationsInsightsWarehouseUserRequest.retryConfiguration, specRetryConfiguration);
|
|
7114
|
+
if (this.logger)
|
|
7115
|
+
retrier.logger = this.logger;
|
|
7116
|
+
const request = yield oci_common_1.composeRequest({
|
|
7117
|
+
baseEndpoint: this._endpoint,
|
|
7118
|
+
defaultHeaders: this._defaultHeaders,
|
|
7119
|
+
path: "/operationsInsightsWarehouseUsers/{operationsInsightsWarehouseUserId}",
|
|
7120
|
+
method: "PUT",
|
|
7121
|
+
bodyContent: common.ObjectSerializer.serialize(updateOperationsInsightsWarehouseUserRequest.updateOperationsInsightsWarehouseUserDetails, "UpdateOperationsInsightsWarehouseUserDetails", model.UpdateOperationsInsightsWarehouseUserDetails.getJsonObj),
|
|
7122
|
+
pathParams: pathParams,
|
|
7123
|
+
headerParams: headerParams,
|
|
7124
|
+
queryParams: queryParams
|
|
7125
|
+
});
|
|
7126
|
+
try {
|
|
7127
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
7128
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
7129
|
+
responseObject: {},
|
|
7130
|
+
responseHeaders: [
|
|
7131
|
+
{
|
|
7132
|
+
value: response.headers.get("opc-work-request-id"),
|
|
7133
|
+
key: "opcWorkRequestId",
|
|
7134
|
+
dataType: "string"
|
|
7135
|
+
},
|
|
7136
|
+
{
|
|
7137
|
+
value: response.headers.get("opc-request-id"),
|
|
7138
|
+
key: "opcRequestId",
|
|
7139
|
+
dataType: "string"
|
|
7140
|
+
}
|
|
7141
|
+
]
|
|
7142
|
+
});
|
|
7143
|
+
return sdkResponse;
|
|
7144
|
+
}
|
|
7145
|
+
catch (err) {
|
|
7146
|
+
throw err;
|
|
7147
|
+
}
|
|
7148
|
+
});
|
|
7149
|
+
}
|
|
5698
7150
|
}
|
|
5699
7151
|
exports.OperationsInsightsClient = OperationsInsightsClient;
|
|
5700
7152
|
OperationsInsightsClient.serviceEndpointTemplate = "https://operationsinsights.{region}.oci.{secondLevelDomain}";
|