oci-opsi 2.50.4 → 2.52.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 +196 -126
- package/lib/client.js +596 -126
- package/lib/client.js.map +1 -1
- package/lib/model/basic-configuration-item-metadata.d.ts +43 -0
- package/lib/model/basic-configuration-item-metadata.js +71 -0
- package/lib/model/basic-configuration-item-metadata.js.map +1 -0
- package/lib/model/basic-configuration-item-summary.d.ts +51 -0
- package/lib/model/basic-configuration-item-summary.js +65 -0
- package/lib/model/basic-configuration-item-summary.js.map +1 -0
- package/lib/model/change-opsi-configuration-compartment-details.d.ts +29 -0
- package/lib/model/change-opsi-configuration-compartment-details.js +32 -0
- package/lib/model/change-opsi-configuration-compartment-details.js.map +1 -0
- package/lib/model/configuration-item-allowed-value-details.d.ts +25 -0
- package/lib/model/configuration-item-allowed-value-details.js +79 -0
- package/lib/model/configuration-item-allowed-value-details.js.map +1 -0
- package/lib/model/configuration-item-allowed-value-type.d.ts +32 -0
- package/lib/model/configuration-item-allowed-value-type.js +43 -0
- package/lib/model/configuration-item-allowed-value-type.js.map +1 -0
- package/lib/model/configuration-item-free-text-allowed-value-details.d.ts +28 -0
- package/lib/model/configuration-item-free-text-allowed-value-details.js +57 -0
- package/lib/model/configuration-item-free-text-allowed-value-details.js.map +1 -0
- package/lib/model/configuration-item-limit-allowed-value-details.d.ts +35 -0
- package/lib/model/configuration-item-limit-allowed-value-details.js +57 -0
- package/lib/model/configuration-item-limit-allowed-value-details.js.map +1 -0
- package/lib/model/configuration-item-metadata.d.ts +25 -0
- package/lib/model/configuration-item-metadata.js +71 -0
- package/lib/model/configuration-item-metadata.js.map +1 -0
- package/lib/model/configuration-item-pick-allowed-value-details.d.ts +32 -0
- package/lib/model/configuration-item-pick-allowed-value-details.js +57 -0
- package/lib/model/configuration-item-pick-allowed-value-details.js.map +1 -0
- package/lib/model/configuration-item-summary.d.ts +26 -0
- package/lib/model/configuration-item-summary.js +71 -0
- package/lib/model/configuration-item-summary.js.map +1 -0
- package/lib/model/configuration-item-type.d.ts +30 -0
- package/lib/model/configuration-item-type.js +41 -0
- package/lib/model/configuration-item-type.js.map +1 -0
- package/lib/model/configuration-item-unit-details.d.ts +32 -0
- package/lib/model/configuration-item-unit-details.js +32 -0
- package/lib/model/configuration-item-unit-details.js.map +1 -0
- package/lib/model/configuration-item-value-source-configuration-type.d.ts +32 -0
- package/lib/model/configuration-item-value-source-configuration-type.js +43 -0
- package/lib/model/configuration-item-value-source-configuration-type.js.map +1 -0
- package/lib/model/configuration-items-collection.d.ts +30 -0
- package/lib/model/configuration-items-collection.js +83 -0
- package/lib/model/configuration-items-collection.js.map +1 -0
- package/lib/model/create-basic-configuration-item-details.d.ts +35 -0
- package/lib/model/create-basic-configuration-item-details.js +57 -0
- package/lib/model/create-basic-configuration-item-details.js.map +1 -0
- package/lib/model/create-configuration-item-details.d.ts +25 -0
- package/lib/model/create-configuration-item-details.js +71 -0
- package/lib/model/create-configuration-item-details.js.map +1 -0
- package/lib/model/create-opsi-configuration-details.d.ts +71 -0
- package/lib/model/create-opsi-configuration-details.js +83 -0
- package/lib/model/create-opsi-configuration-details.js.map +1 -0
- package/lib/model/create-opsi-ux-configuration-details.d.ts +27 -0
- package/lib/model/create-opsi-ux-configuration-details.js +57 -0
- package/lib/model/create-opsi-ux-configuration-details.js.map +1 -0
- package/lib/model/index.d.ts +64 -0
- package/lib/model/index.js +72 -8
- package/lib/model/index.js.map +1 -1
- package/lib/model/operation-type.d.ts +4 -0
- package/lib/model/operation-type.js +4 -0
- package/lib/model/operation-type.js.map +1 -1
- package/lib/model/opsi-configuration-basic-configuration-item-summary.d.ts +45 -0
- package/lib/model/opsi-configuration-basic-configuration-item-summary.js +65 -0
- package/lib/model/opsi-configuration-basic-configuration-item-summary.js.map +1 -0
- package/lib/model/opsi-configuration-configuration-item-summary.d.ts +25 -0
- package/lib/model/opsi-configuration-configuration-item-summary.js +71 -0
- package/lib/model/opsi-configuration-configuration-item-summary.js.map +1 -0
- package/lib/model/opsi-configuration-lifecycle-state.d.ts +35 -0
- package/lib/model/opsi-configuration-lifecycle-state.js +46 -0
- package/lib/model/opsi-configuration-lifecycle-state.js.map +1 -0
- package/lib/model/opsi-configuration-summary.d.ts +87 -0
- package/lib/model/opsi-configuration-summary.js +71 -0
- package/lib/model/opsi-configuration-summary.js.map +1 -0
- package/lib/model/opsi-configuration-type.d.ts +32 -0
- package/lib/model/opsi-configuration-type.js +43 -0
- package/lib/model/opsi-configuration-type.js.map +1 -0
- package/lib/model/opsi-configuration.d.ts +91 -0
- package/lib/model/opsi-configuration.js +83 -0
- package/lib/model/opsi-configuration.js.map +1 -0
- package/lib/model/opsi-configurations-collection.d.ts +29 -0
- package/lib/model/opsi-configurations-collection.js +64 -0
- package/lib/model/opsi-configurations-collection.js.map +1 -0
- package/lib/model/opsi-ux-configuration-summary.d.ts +27 -0
- package/lib/model/opsi-ux-configuration-summary.js +57 -0
- package/lib/model/opsi-ux-configuration-summary.js.map +1 -0
- package/lib/model/opsi-ux-configuration.d.ts +27 -0
- package/lib/model/opsi-ux-configuration.js +55 -0
- package/lib/model/opsi-ux-configuration.js.map +1 -0
- package/lib/model/update-basic-configuration-item-details.d.ts +35 -0
- package/lib/model/update-basic-configuration-item-details.js +57 -0
- package/lib/model/update-basic-configuration-item-details.js.map +1 -0
- package/lib/model/update-configuration-item-details.d.ts +25 -0
- package/lib/model/update-configuration-item-details.js +71 -0
- package/lib/model/update-configuration-item-details.js.map +1 -0
- package/lib/model/update-opsi-configuration-details.d.ts +68 -0
- package/lib/model/update-opsi-configuration-details.js +83 -0
- package/lib/model/update-opsi-configuration-details.js.map +1 -0
- package/lib/model/update-opsi-ux-configuration-details.d.ts +27 -0
- package/lib/model/update-opsi-ux-configuration-details.js +57 -0
- package/lib/model/update-opsi-ux-configuration-details.js.map +1 -0
- package/lib/model/ux-configuration-items-collection.d.ts +27 -0
- package/lib/model/ux-configuration-items-collection.js +57 -0
- package/lib/model/ux-configuration-items-collection.js.map +1 -0
- package/lib/operationsinsights-waiter.d.ts +8 -0
- package/lib/operationsinsights-waiter.js +12 -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/change-operations-insights-private-endpoint-compartment-request.d.ts +1 -1
- package/lib/request/change-opsi-configuration-compartment-request.d.ts +51 -0
- package/lib/request/change-opsi-configuration-compartment-request.js +15 -0
- package/lib/request/change-opsi-configuration-compartment-request.js.map +1 -0
- package/lib/request/change-pe-comanaged-database-insight-request.d.ts +1 -1
- package/lib/request/create-awr-hub-request.d.ts +1 -1
- 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-private-endpoint-request.d.ts +1 -1
- package/lib/request/create-operations-insights-warehouse-request.d.ts +1 -1
- package/lib/request/create-operations-insights-warehouse-user-request.d.ts +1 -1
- package/lib/request/create-opsi-configuration-request.d.ts +75 -0
- package/lib/request/create-opsi-configuration-request.js +36 -0
- package/lib/request/create-opsi-configuration-request.js.map +1 -0
- package/lib/request/delete-awr-hub-request.d.ts +1 -1
- 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-private-endpoint-request.d.ts +1 -1
- package/lib/request/delete-operations-insights-warehouse-request.d.ts +1 -1
- package/lib/request/delete-operations-insights-warehouse-user-request.d.ts +1 -1
- package/lib/request/delete-opsi-configuration-request.d.ts +36 -0
- package/lib/request/delete-opsi-configuration-request.js +15 -0
- package/lib/request/delete-opsi-configuration-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 +1 -1
- 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-database-report-request.d.ts +1 -1
- package/lib/request/get-awr-database-sql-report-request.d.ts +1 -1
- package/lib/request/get-awr-hub-request.d.ts +1 -1
- package/lib/request/get-awr-report-request.d.ts +1 -1
- 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-private-endpoint-request.d.ts +1 -1
- package/lib/request/get-operations-insights-warehouse-request.d.ts +1 -1
- package/lib/request/get-operations-insights-warehouse-user-request.d.ts +1 -1
- package/lib/request/get-opsi-configuration-request.d.ts +65 -0
- package/lib/request/get-opsi-configuration-request.js +36 -0
- package/lib/request/get-opsi-configuration-request.js.map +1 -0
- package/lib/request/get-opsi-data-object-request.d.ts +1 -1
- package/lib/request/get-work-request-request.d.ts +1 -1
- package/lib/request/index.d.ts +14 -0
- package/lib/request/index.js +10 -2
- 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 +1 -1
- package/lib/request/ingest-sql-text-request.d.ts +1 -1
- package/lib/request/list-awr-database-snapshots-request.d.ts +1 -1
- package/lib/request/list-awr-databases-request.d.ts +1 -1
- package/lib/request/list-awr-hubs-request.d.ts +1 -1
- package/lib/request/list-awr-snapshots-request.d.ts +1 -1
- 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-compute-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-private-endpoints-request.d.ts +1 -1
- package/lib/request/list-operations-insights-warehouse-users-request.d.ts +1 -1
- package/lib/request/list-operations-insights-warehouses-request.d.ts +1 -1
- package/lib/request/list-opsi-configurations-request.d.ts +72 -0
- package/lib/request/list-opsi-configurations-request.js +23 -0
- package/lib/request/list-opsi-configurations-request.js.map +1 -0
- package/lib/request/list-opsi-data-objects-request.d.ts +1 -1
- 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/query-opsi-data-object-data-request.d.ts +1 -1
- package/lib/request/rotate-operations-insights-warehouse-wallet-request.d.ts +1 -1
- package/lib/request/summarize-awr-database-cpu-usages-request.d.ts +1 -1
- package/lib/request/summarize-awr-database-metrics-request.d.ts +1 -1
- package/lib/request/summarize-awr-database-parameter-changes-request.d.ts +1 -1
- package/lib/request/summarize-awr-database-parameters-request.d.ts +1 -1
- package/lib/request/summarize-awr-database-snapshot-ranges-request.d.ts +1 -1
- package/lib/request/summarize-awr-database-sysstats-request.d.ts +1 -1
- package/lib/request/summarize-awr-database-top-wait-events-request.d.ts +1 -1
- package/lib/request/summarize-awr-database-wait-event-buckets-request.d.ts +1 -1
- package/lib/request/summarize-awr-database-wait-events-request.d.ts +1 -1
- package/lib/request/summarize-awr-sources-summaries-request.d.ts +1 -1
- package/lib/request/summarize-configuration-items-request.d.ts +73 -0
- package/lib/request/summarize-configuration-items-request.js +28 -0
- package/lib/request/summarize-configuration-items-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 -2
- package/lib/request/summarize-host-insight-resource-capacity-trend-request.js.map +1 -1
- package/lib/request/summarize-host-insight-resource-forecast-trend-request.d.ts +1 -2
- package/lib/request/summarize-host-insight-resource-forecast-trend-request.js.map +1 -1
- package/lib/request/summarize-host-insight-resource-statistics-request.d.ts +1 -2
- package/lib/request/summarize-host-insight-resource-statistics-request.js.map +1 -1
- package/lib/request/summarize-host-insight-resource-usage-request.d.ts +1 -2
- package/lib/request/summarize-host-insight-resource-usage-request.js.map +1 -1
- package/lib/request/summarize-host-insight-resource-usage-trend-request.d.ts +1 -2
- package/lib/request/summarize-host-insight-resource-usage-trend-request.js.map +1 -1
- package/lib/request/summarize-host-insight-resource-utilization-insight-request.d.ts +1 -2
- package/lib/request/summarize-host-insight-resource-utilization-insight-request.js.map +1 -1
- package/lib/request/summarize-host-insight-top-processes-usage-request.d.ts +1 -1
- package/lib/request/summarize-host-insight-top-processes-usage-trend-request.d.ts +1 -1
- package/lib/request/summarize-operations-insights-warehouse-resource-usage-request.d.ts +1 -1
- 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 +1 -1
- 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-private-endpoint-request.d.ts +1 -1
- package/lib/request/update-operations-insights-warehouse-request.d.ts +1 -1
- package/lib/request/update-operations-insights-warehouse-user-request.d.ts +1 -1
- package/lib/request/update-opsi-configuration-request.d.ts +41 -0
- package/lib/request/update-opsi-configuration-request.js +15 -0
- package/lib/request/update-opsi-configuration-request.js.map +1 -0
- package/lib/response/change-opsi-configuration-compartment-response.d.ts +25 -0
- package/lib/response/change-opsi-configuration-compartment-response.js +15 -0
- package/lib/response/change-opsi-configuration-compartment-response.js.map +1 -0
- package/lib/response/create-opsi-configuration-response.d.ts +35 -0
- package/lib/response/create-opsi-configuration-response.js +15 -0
- package/lib/response/create-opsi-configuration-response.js.map +1 -0
- package/lib/response/delete-opsi-configuration-response.d.ts +25 -0
- package/lib/response/delete-opsi-configuration-response.js +15 -0
- package/lib/response/delete-opsi-configuration-response.js.map +1 -0
- package/lib/response/get-opsi-configuration-response.d.ts +30 -0
- package/lib/response/get-opsi-configuration-response.js +15 -0
- package/lib/response/get-opsi-configuration-response.js.map +1 -0
- package/lib/response/index.d.ts +14 -0
- package/lib/response/list-opsi-configurations-response.d.ts +32 -0
- package/lib/response/list-opsi-configurations-response.js +15 -0
- package/lib/response/list-opsi-configurations-response.js.map +1 -0
- package/lib/response/summarize-configuration-items-response.d.ts +32 -0
- package/lib/response/summarize-configuration-items-response.js +15 -0
- package/lib/response/summarize-configuration-items-response.js.map +1 -0
- package/lib/response/update-opsi-configuration-response.d.ts +25 -0
- package/lib/response/update-opsi-configuration-response.js +15 -0
- package/lib/response/update-opsi-configuration-response.js.map +1 -0
- package/package.json +3 -3
package/lib/client.js
CHANGED
|
@@ -159,7 +159,7 @@ class OperationsInsightsClient {
|
|
|
159
159
|
* @param AddExadataInsightMembersRequest
|
|
160
160
|
* @return AddExadataInsightMembersResponse
|
|
161
161
|
* @throws OciError when an error occurs
|
|
162
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
162
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.52.0/opsi/AddExadataInsightMembers.ts.html |here} to see how to use AddExadataInsightMembers API.
|
|
163
163
|
*/
|
|
164
164
|
addExadataInsightMembers(addExadataInsightMembersRequest) {
|
|
165
165
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -221,7 +221,7 @@ class OperationsInsightsClient {
|
|
|
221
221
|
* @param ChangeDatabaseInsightCompartmentRequest
|
|
222
222
|
* @return ChangeDatabaseInsightCompartmentResponse
|
|
223
223
|
* @throws OciError when an error occurs
|
|
224
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
224
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.52.0/opsi/ChangeDatabaseInsightCompartment.ts.html |here} to see how to use ChangeDatabaseInsightCompartment API.
|
|
225
225
|
*/
|
|
226
226
|
changeDatabaseInsightCompartment(changeDatabaseInsightCompartmentRequest) {
|
|
227
227
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -283,7 +283,7 @@ class OperationsInsightsClient {
|
|
|
283
283
|
* @param ChangeEnterpriseManagerBridgeCompartmentRequest
|
|
284
284
|
* @return ChangeEnterpriseManagerBridgeCompartmentResponse
|
|
285
285
|
* @throws OciError when an error occurs
|
|
286
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
286
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.52.0/opsi/ChangeEnterpriseManagerBridgeCompartment.ts.html |here} to see how to use ChangeEnterpriseManagerBridgeCompartment API.
|
|
287
287
|
*/
|
|
288
288
|
changeEnterpriseManagerBridgeCompartment(changeEnterpriseManagerBridgeCompartmentRequest) {
|
|
289
289
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -344,7 +344,7 @@ class OperationsInsightsClient {
|
|
|
344
344
|
* @param ChangeExadataInsightCompartmentRequest
|
|
345
345
|
* @return ChangeExadataInsightCompartmentResponse
|
|
346
346
|
* @throws OciError when an error occurs
|
|
347
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
347
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.52.0/opsi/ChangeExadataInsightCompartment.ts.html |here} to see how to use ChangeExadataInsightCompartment API.
|
|
348
348
|
*/
|
|
349
349
|
changeExadataInsightCompartment(changeExadataInsightCompartmentRequest) {
|
|
350
350
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -406,7 +406,7 @@ class OperationsInsightsClient {
|
|
|
406
406
|
* @param ChangeHostInsightCompartmentRequest
|
|
407
407
|
* @return ChangeHostInsightCompartmentResponse
|
|
408
408
|
* @throws OciError when an error occurs
|
|
409
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
409
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.52.0/opsi/ChangeHostInsightCompartment.ts.html |here} to see how to use ChangeHostInsightCompartment API.
|
|
410
410
|
*/
|
|
411
411
|
changeHostInsightCompartment(changeHostInsightCompartmentRequest) {
|
|
412
412
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -468,7 +468,7 @@ class OperationsInsightsClient {
|
|
|
468
468
|
* @param ChangeOperationsInsightsPrivateEndpointCompartmentRequest
|
|
469
469
|
* @return ChangeOperationsInsightsPrivateEndpointCompartmentResponse
|
|
470
470
|
* @throws OciError when an error occurs
|
|
471
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
471
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.52.0/opsi/ChangeOperationsInsightsPrivateEndpointCompartment.ts.html |here} to see how to use ChangeOperationsInsightsPrivateEndpointCompartment API.
|
|
472
472
|
*/
|
|
473
473
|
changeOperationsInsightsPrivateEndpointCompartment(changeOperationsInsightsPrivateEndpointCompartmentRequest) {
|
|
474
474
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -524,13 +524,75 @@ class OperationsInsightsClient {
|
|
|
524
524
|
}
|
|
525
525
|
});
|
|
526
526
|
}
|
|
527
|
+
/**
|
|
528
|
+
* Moves an OpsiConfiguration resource from one compartment to another.
|
|
529
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
530
|
+
* @param ChangeOpsiConfigurationCompartmentRequest
|
|
531
|
+
* @return ChangeOpsiConfigurationCompartmentResponse
|
|
532
|
+
* @throws OciError when an error occurs
|
|
533
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.52.0/opsi/ChangeOpsiConfigurationCompartment.ts.html |here} to see how to use ChangeOpsiConfigurationCompartment API.
|
|
534
|
+
*/
|
|
535
|
+
changeOpsiConfigurationCompartment(changeOpsiConfigurationCompartmentRequest) {
|
|
536
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
537
|
+
if (this.logger)
|
|
538
|
+
this.logger.debug("Calling operation OperationsInsightsClient#changeOpsiConfigurationCompartment.");
|
|
539
|
+
const operationName = "changeOpsiConfigurationCompartment";
|
|
540
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/OpsiConfigurations/ChangeOpsiConfigurationCompartment";
|
|
541
|
+
const pathParams = {
|
|
542
|
+
"{opsiConfigurationId}": changeOpsiConfigurationCompartmentRequest.opsiConfigurationId
|
|
543
|
+
};
|
|
544
|
+
const queryParams = {};
|
|
545
|
+
let headerParams = {
|
|
546
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
547
|
+
"if-match": changeOpsiConfigurationCompartmentRequest.ifMatch,
|
|
548
|
+
"opc-request-id": changeOpsiConfigurationCompartmentRequest.opcRequestId,
|
|
549
|
+
"opc-retry-token": changeOpsiConfigurationCompartmentRequest.opcRetryToken
|
|
550
|
+
};
|
|
551
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
552
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeOpsiConfigurationCompartmentRequest.retryConfiguration, specRetryConfiguration);
|
|
553
|
+
if (this.logger)
|
|
554
|
+
retrier.logger = this.logger;
|
|
555
|
+
const request = yield oci_common_1.composeRequest({
|
|
556
|
+
baseEndpoint: this._endpoint,
|
|
557
|
+
defaultHeaders: this._defaultHeaders,
|
|
558
|
+
path: "/opsiConfigurations/{opsiConfigurationId}/actions/changeCompartment",
|
|
559
|
+
method: "POST",
|
|
560
|
+
bodyContent: common.ObjectSerializer.serialize(changeOpsiConfigurationCompartmentRequest.changeOpsiConfigurationCompartmentDetails, "ChangeOpsiConfigurationCompartmentDetails", model.ChangeOpsiConfigurationCompartmentDetails.getJsonObj),
|
|
561
|
+
pathParams: pathParams,
|
|
562
|
+
headerParams: headerParams,
|
|
563
|
+
queryParams: queryParams
|
|
564
|
+
});
|
|
565
|
+
try {
|
|
566
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
567
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
568
|
+
responseObject: {},
|
|
569
|
+
responseHeaders: [
|
|
570
|
+
{
|
|
571
|
+
value: response.headers.get("opc-work-request-id"),
|
|
572
|
+
key: "opcWorkRequestId",
|
|
573
|
+
dataType: "string"
|
|
574
|
+
},
|
|
575
|
+
{
|
|
576
|
+
value: response.headers.get("opc-request-id"),
|
|
577
|
+
key: "opcRequestId",
|
|
578
|
+
dataType: "string"
|
|
579
|
+
}
|
|
580
|
+
]
|
|
581
|
+
});
|
|
582
|
+
return sdkResponse;
|
|
583
|
+
}
|
|
584
|
+
catch (err) {
|
|
585
|
+
throw err;
|
|
586
|
+
}
|
|
587
|
+
});
|
|
588
|
+
}
|
|
527
589
|
/**
|
|
528
590
|
* Change the connection details of a co-managed database insight. When provided, If-Match is checked against ETag values of the resource.
|
|
529
591
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
530
592
|
* @param ChangePeComanagedDatabaseInsightRequest
|
|
531
593
|
* @return ChangePeComanagedDatabaseInsightResponse
|
|
532
594
|
* @throws OciError when an error occurs
|
|
533
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
595
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.52.0/opsi/ChangePeComanagedDatabaseInsight.ts.html |here} to see how to use ChangePeComanagedDatabaseInsight API.
|
|
534
596
|
*/
|
|
535
597
|
changePeComanagedDatabaseInsight(changePeComanagedDatabaseInsightRequest) {
|
|
536
598
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -594,7 +656,7 @@ class OperationsInsightsClient {
|
|
|
594
656
|
* @param CreateAwrHubRequest
|
|
595
657
|
* @return CreateAwrHubResponse
|
|
596
658
|
* @throws OciError when an error occurs
|
|
597
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
659
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.52.0/opsi/CreateAwrHub.ts.html |here} to see how to use CreateAwrHub API.
|
|
598
660
|
*/
|
|
599
661
|
createAwrHub(createAwrHubRequest) {
|
|
600
662
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -673,7 +735,7 @@ class OperationsInsightsClient {
|
|
|
673
735
|
* @param CreateDatabaseInsightRequest
|
|
674
736
|
* @return CreateDatabaseInsightResponse
|
|
675
737
|
* @throws OciError when an error occurs
|
|
676
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
738
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.52.0/opsi/CreateDatabaseInsight.ts.html |here} to see how to use CreateDatabaseInsight API.
|
|
677
739
|
*/
|
|
678
740
|
createDatabaseInsight(createDatabaseInsightRequest) {
|
|
679
741
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -752,7 +814,7 @@ class OperationsInsightsClient {
|
|
|
752
814
|
* @param CreateEnterpriseManagerBridgeRequest
|
|
753
815
|
* @return CreateEnterpriseManagerBridgeResponse
|
|
754
816
|
* @throws OciError when an error occurs
|
|
755
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
817
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.52.0/opsi/CreateEnterpriseManagerBridge.ts.html |here} to see how to use CreateEnterpriseManagerBridge API.
|
|
756
818
|
*/
|
|
757
819
|
createEnterpriseManagerBridge(createEnterpriseManagerBridgeRequest) {
|
|
758
820
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -831,7 +893,7 @@ class OperationsInsightsClient {
|
|
|
831
893
|
* @param CreateExadataInsightRequest
|
|
832
894
|
* @return CreateExadataInsightResponse
|
|
833
895
|
* @throws OciError when an error occurs
|
|
834
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
896
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.52.0/opsi/CreateExadataInsight.ts.html |here} to see how to use CreateExadataInsight API.
|
|
835
897
|
*/
|
|
836
898
|
createExadataInsight(createExadataInsightRequest) {
|
|
837
899
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -910,7 +972,7 @@ class OperationsInsightsClient {
|
|
|
910
972
|
* @param CreateHostInsightRequest
|
|
911
973
|
* @return CreateHostInsightResponse
|
|
912
974
|
* @throws OciError when an error occurs
|
|
913
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
975
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.52.0/opsi/CreateHostInsight.ts.html |here} to see how to use CreateHostInsight API.
|
|
914
976
|
*/
|
|
915
977
|
createHostInsight(createHostInsightRequest) {
|
|
916
978
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -990,7 +1052,7 @@ class OperationsInsightsClient {
|
|
|
990
1052
|
* @param CreateOperationsInsightsPrivateEndpointRequest
|
|
991
1053
|
* @return CreateOperationsInsightsPrivateEndpointResponse
|
|
992
1054
|
* @throws OciError when an error occurs
|
|
993
|
-
* @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.52.0/opsi/CreateOperationsInsightsPrivateEndpoint.ts.html |here} to see how to use CreateOperationsInsightsPrivateEndpoint API.
|
|
994
1056
|
*/
|
|
995
1057
|
createOperationsInsightsPrivateEndpoint(createOperationsInsightsPrivateEndpointRequest) {
|
|
996
1058
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1071,7 +1133,7 @@ class OperationsInsightsClient {
|
|
|
1071
1133
|
* @param CreateOperationsInsightsWarehouseRequest
|
|
1072
1134
|
* @return CreateOperationsInsightsWarehouseResponse
|
|
1073
1135
|
* @throws OciError when an error occurs
|
|
1074
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1136
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.52.0/opsi/CreateOperationsInsightsWarehouse.ts.html |here} to see how to use CreateOperationsInsightsWarehouse API.
|
|
1075
1137
|
*/
|
|
1076
1138
|
createOperationsInsightsWarehouse(createOperationsInsightsWarehouseRequest) {
|
|
1077
1139
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1151,7 +1213,7 @@ class OperationsInsightsClient {
|
|
|
1151
1213
|
* @param CreateOperationsInsightsWarehouseUserRequest
|
|
1152
1214
|
* @return CreateOperationsInsightsWarehouseUserResponse
|
|
1153
1215
|
* @throws OciError when an error occurs
|
|
1154
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1216
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.52.0/opsi/CreateOperationsInsightsWarehouseUser.ts.html |here} to see how to use CreateOperationsInsightsWarehouseUser API.
|
|
1155
1217
|
*/
|
|
1156
1218
|
createOperationsInsightsWarehouseUser(createOperationsInsightsWarehouseUserRequest) {
|
|
1157
1219
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1223,13 +1285,87 @@ class OperationsInsightsClient {
|
|
|
1223
1285
|
}
|
|
1224
1286
|
});
|
|
1225
1287
|
}
|
|
1288
|
+
/**
|
|
1289
|
+
* Create an OPSI configuration resource.
|
|
1290
|
+
*
|
|
1291
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1292
|
+
* @param CreateOpsiConfigurationRequest
|
|
1293
|
+
* @return CreateOpsiConfigurationResponse
|
|
1294
|
+
* @throws OciError when an error occurs
|
|
1295
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.52.0/opsi/CreateOpsiConfiguration.ts.html |here} to see how to use CreateOpsiConfiguration API.
|
|
1296
|
+
*/
|
|
1297
|
+
createOpsiConfiguration(createOpsiConfigurationRequest) {
|
|
1298
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1299
|
+
if (this.logger)
|
|
1300
|
+
this.logger.debug("Calling operation OperationsInsightsClient#createOpsiConfiguration.");
|
|
1301
|
+
const operationName = "createOpsiConfiguration";
|
|
1302
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/OpsiConfigurations/CreateOpsiConfiguration";
|
|
1303
|
+
const pathParams = {};
|
|
1304
|
+
const queryParams = {
|
|
1305
|
+
"opsiConfigField": createOpsiConfigurationRequest.opsiConfigField,
|
|
1306
|
+
"configItemCustomStatus": createOpsiConfigurationRequest.configItemCustomStatus,
|
|
1307
|
+
"configItemsApplicableContext": createOpsiConfigurationRequest.configItemsApplicableContext,
|
|
1308
|
+
"configItemField": createOpsiConfigurationRequest.configItemField
|
|
1309
|
+
};
|
|
1310
|
+
let headerParams = {
|
|
1311
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1312
|
+
"opc-retry-token": createOpsiConfigurationRequest.opcRetryToken,
|
|
1313
|
+
"opc-request-id": createOpsiConfigurationRequest.opcRequestId
|
|
1314
|
+
};
|
|
1315
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1316
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createOpsiConfigurationRequest.retryConfiguration, specRetryConfiguration);
|
|
1317
|
+
if (this.logger)
|
|
1318
|
+
retrier.logger = this.logger;
|
|
1319
|
+
const request = yield oci_common_1.composeRequest({
|
|
1320
|
+
baseEndpoint: this._endpoint,
|
|
1321
|
+
defaultHeaders: this._defaultHeaders,
|
|
1322
|
+
path: "/opsiConfigurations",
|
|
1323
|
+
method: "POST",
|
|
1324
|
+
bodyContent: common.ObjectSerializer.serialize(createOpsiConfigurationRequest.createOpsiConfigurationDetails, "CreateOpsiConfigurationDetails", model.CreateOpsiConfigurationDetails.getJsonObj),
|
|
1325
|
+
pathParams: pathParams,
|
|
1326
|
+
headerParams: headerParams,
|
|
1327
|
+
queryParams: queryParams
|
|
1328
|
+
});
|
|
1329
|
+
try {
|
|
1330
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1331
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
1332
|
+
responseObject: {},
|
|
1333
|
+
body: yield response.json(),
|
|
1334
|
+
bodyKey: "opsiConfiguration",
|
|
1335
|
+
bodyModel: model.OpsiConfiguration,
|
|
1336
|
+
type: "model.OpsiConfiguration",
|
|
1337
|
+
responseHeaders: [
|
|
1338
|
+
{
|
|
1339
|
+
value: response.headers.get("opc-work-request-id"),
|
|
1340
|
+
key: "opcWorkRequestId",
|
|
1341
|
+
dataType: "string"
|
|
1342
|
+
},
|
|
1343
|
+
{
|
|
1344
|
+
value: response.headers.get("opc-request-id"),
|
|
1345
|
+
key: "opcRequestId",
|
|
1346
|
+
dataType: "string"
|
|
1347
|
+
},
|
|
1348
|
+
{
|
|
1349
|
+
value: response.headers.get("etag"),
|
|
1350
|
+
key: "etag",
|
|
1351
|
+
dataType: "string"
|
|
1352
|
+
}
|
|
1353
|
+
]
|
|
1354
|
+
});
|
|
1355
|
+
return sdkResponse;
|
|
1356
|
+
}
|
|
1357
|
+
catch (err) {
|
|
1358
|
+
throw err;
|
|
1359
|
+
}
|
|
1360
|
+
});
|
|
1361
|
+
}
|
|
1226
1362
|
/**
|
|
1227
1363
|
* Deletes an AWR hub.
|
|
1228
1364
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1229
1365
|
* @param DeleteAwrHubRequest
|
|
1230
1366
|
* @return DeleteAwrHubResponse
|
|
1231
1367
|
* @throws OciError when an error occurs
|
|
1232
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1368
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.52.0/opsi/DeleteAwrHub.ts.html |here} to see how to use DeleteAwrHub API.
|
|
1233
1369
|
*/
|
|
1234
1370
|
deleteAwrHub(deleteAwrHubRequest) {
|
|
1235
1371
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1289,7 +1425,7 @@ class OperationsInsightsClient {
|
|
|
1289
1425
|
* @param DeleteDatabaseInsightRequest
|
|
1290
1426
|
* @return DeleteDatabaseInsightResponse
|
|
1291
1427
|
* @throws OciError when an error occurs
|
|
1292
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1428
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.52.0/opsi/DeleteDatabaseInsight.ts.html |here} to see how to use DeleteDatabaseInsight API.
|
|
1293
1429
|
*/
|
|
1294
1430
|
deleteDatabaseInsight(deleteDatabaseInsightRequest) {
|
|
1295
1431
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1349,7 +1485,7 @@ class OperationsInsightsClient {
|
|
|
1349
1485
|
* @param DeleteEnterpriseManagerBridgeRequest
|
|
1350
1486
|
* @return DeleteEnterpriseManagerBridgeResponse
|
|
1351
1487
|
* @throws OciError when an error occurs
|
|
1352
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1488
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.52.0/opsi/DeleteEnterpriseManagerBridge.ts.html |here} to see how to use DeleteEnterpriseManagerBridge API.
|
|
1353
1489
|
*/
|
|
1354
1490
|
deleteEnterpriseManagerBridge(deleteEnterpriseManagerBridgeRequest) {
|
|
1355
1491
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1409,7 +1545,7 @@ class OperationsInsightsClient {
|
|
|
1409
1545
|
* @param DeleteExadataInsightRequest
|
|
1410
1546
|
* @return DeleteExadataInsightResponse
|
|
1411
1547
|
* @throws OciError when an error occurs
|
|
1412
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1548
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.52.0/opsi/DeleteExadataInsight.ts.html |here} to see how to use DeleteExadataInsight API.
|
|
1413
1549
|
*/
|
|
1414
1550
|
deleteExadataInsight(deleteExadataInsightRequest) {
|
|
1415
1551
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1469,7 +1605,7 @@ class OperationsInsightsClient {
|
|
|
1469
1605
|
* @param DeleteHostInsightRequest
|
|
1470
1606
|
* @return DeleteHostInsightResponse
|
|
1471
1607
|
* @throws OciError when an error occurs
|
|
1472
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1608
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.52.0/opsi/DeleteHostInsight.ts.html |here} to see how to use DeleteHostInsight API.
|
|
1473
1609
|
*/
|
|
1474
1610
|
deleteHostInsight(deleteHostInsightRequest) {
|
|
1475
1611
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1529,7 +1665,7 @@ class OperationsInsightsClient {
|
|
|
1529
1665
|
* @param DeleteOperationsInsightsPrivateEndpointRequest
|
|
1530
1666
|
* @return DeleteOperationsInsightsPrivateEndpointResponse
|
|
1531
1667
|
* @throws OciError when an error occurs
|
|
1532
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1668
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.52.0/opsi/DeleteOperationsInsightsPrivateEndpoint.ts.html |here} to see how to use DeleteOperationsInsightsPrivateEndpoint API.
|
|
1533
1669
|
*/
|
|
1534
1670
|
deleteOperationsInsightsPrivateEndpoint(deleteOperationsInsightsPrivateEndpointRequest) {
|
|
1535
1671
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1593,7 +1729,7 @@ class OperationsInsightsClient {
|
|
|
1593
1729
|
* @param DeleteOperationsInsightsWarehouseRequest
|
|
1594
1730
|
* @return DeleteOperationsInsightsWarehouseResponse
|
|
1595
1731
|
* @throws OciError when an error occurs
|
|
1596
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1732
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.52.0/opsi/DeleteOperationsInsightsWarehouse.ts.html |here} to see how to use DeleteOperationsInsightsWarehouse API.
|
|
1597
1733
|
*/
|
|
1598
1734
|
deleteOperationsInsightsWarehouse(deleteOperationsInsightsWarehouseRequest) {
|
|
1599
1735
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1653,7 +1789,7 @@ class OperationsInsightsClient {
|
|
|
1653
1789
|
* @param DeleteOperationsInsightsWarehouseUserRequest
|
|
1654
1790
|
* @return DeleteOperationsInsightsWarehouseUserResponse
|
|
1655
1791
|
* @throws OciError when an error occurs
|
|
1656
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1792
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.52.0/opsi/DeleteOperationsInsightsWarehouseUser.ts.html |here} to see how to use DeleteOperationsInsightsWarehouseUser API.
|
|
1657
1793
|
*/
|
|
1658
1794
|
deleteOperationsInsightsWarehouseUser(deleteOperationsInsightsWarehouseUserRequest) {
|
|
1659
1795
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1707,13 +1843,73 @@ class OperationsInsightsClient {
|
|
|
1707
1843
|
}
|
|
1708
1844
|
});
|
|
1709
1845
|
}
|
|
1846
|
+
/**
|
|
1847
|
+
* Deletes an OPSI configuration resource.
|
|
1848
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1849
|
+
* @param DeleteOpsiConfigurationRequest
|
|
1850
|
+
* @return DeleteOpsiConfigurationResponse
|
|
1851
|
+
* @throws OciError when an error occurs
|
|
1852
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.52.0/opsi/DeleteOpsiConfiguration.ts.html |here} to see how to use DeleteOpsiConfiguration API.
|
|
1853
|
+
*/
|
|
1854
|
+
deleteOpsiConfiguration(deleteOpsiConfigurationRequest) {
|
|
1855
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1856
|
+
if (this.logger)
|
|
1857
|
+
this.logger.debug("Calling operation OperationsInsightsClient#deleteOpsiConfiguration.");
|
|
1858
|
+
const operationName = "deleteOpsiConfiguration";
|
|
1859
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/OpsiConfigurations/DeleteOpsiConfiguration";
|
|
1860
|
+
const pathParams = {
|
|
1861
|
+
"{opsiConfigurationId}": deleteOpsiConfigurationRequest.opsiConfigurationId
|
|
1862
|
+
};
|
|
1863
|
+
const queryParams = {};
|
|
1864
|
+
let headerParams = {
|
|
1865
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1866
|
+
"if-match": deleteOpsiConfigurationRequest.ifMatch,
|
|
1867
|
+
"opc-request-id": deleteOpsiConfigurationRequest.opcRequestId
|
|
1868
|
+
};
|
|
1869
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1870
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteOpsiConfigurationRequest.retryConfiguration, specRetryConfiguration);
|
|
1871
|
+
if (this.logger)
|
|
1872
|
+
retrier.logger = this.logger;
|
|
1873
|
+
const request = yield oci_common_1.composeRequest({
|
|
1874
|
+
baseEndpoint: this._endpoint,
|
|
1875
|
+
defaultHeaders: this._defaultHeaders,
|
|
1876
|
+
path: "/opsiConfigurations/{opsiConfigurationId}",
|
|
1877
|
+
method: "DELETE",
|
|
1878
|
+
pathParams: pathParams,
|
|
1879
|
+
headerParams: headerParams,
|
|
1880
|
+
queryParams: queryParams
|
|
1881
|
+
});
|
|
1882
|
+
try {
|
|
1883
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1884
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
1885
|
+
responseObject: {},
|
|
1886
|
+
responseHeaders: [
|
|
1887
|
+
{
|
|
1888
|
+
value: response.headers.get("opc-work-request-id"),
|
|
1889
|
+
key: "opcWorkRequestId",
|
|
1890
|
+
dataType: "string"
|
|
1891
|
+
},
|
|
1892
|
+
{
|
|
1893
|
+
value: response.headers.get("opc-request-id"),
|
|
1894
|
+
key: "opcRequestId",
|
|
1895
|
+
dataType: "string"
|
|
1896
|
+
}
|
|
1897
|
+
]
|
|
1898
|
+
});
|
|
1899
|
+
return sdkResponse;
|
|
1900
|
+
}
|
|
1901
|
+
catch (err) {
|
|
1902
|
+
throw err;
|
|
1903
|
+
}
|
|
1904
|
+
});
|
|
1905
|
+
}
|
|
1710
1906
|
/**
|
|
1711
1907
|
* Disables a database in Operations Insights. Database metric collection and analysis will be stopped.
|
|
1712
1908
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1713
1909
|
* @param DisableDatabaseInsightRequest
|
|
1714
1910
|
* @return DisableDatabaseInsightResponse
|
|
1715
1911
|
* @throws OciError when an error occurs
|
|
1716
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1912
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.52.0/opsi/DisableDatabaseInsight.ts.html |here} to see how to use DisableDatabaseInsight API.
|
|
1717
1913
|
*/
|
|
1718
1914
|
disableDatabaseInsight(disableDatabaseInsightRequest) {
|
|
1719
1915
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1774,7 +1970,7 @@ class OperationsInsightsClient {
|
|
|
1774
1970
|
* @param DisableExadataInsightRequest
|
|
1775
1971
|
* @return DisableExadataInsightResponse
|
|
1776
1972
|
* @throws OciError when an error occurs
|
|
1777
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1973
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.52.0/opsi/DisableExadataInsight.ts.html |here} to see how to use DisableExadataInsight API.
|
|
1778
1974
|
*/
|
|
1779
1975
|
disableExadataInsight(disableExadataInsightRequest) {
|
|
1780
1976
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1835,7 +2031,7 @@ class OperationsInsightsClient {
|
|
|
1835
2031
|
* @param DisableHostInsightRequest
|
|
1836
2032
|
* @return DisableHostInsightResponse
|
|
1837
2033
|
* @throws OciError when an error occurs
|
|
1838
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2034
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.52.0/opsi/DisableHostInsight.ts.html |here} to see how to use DisableHostInsight API.
|
|
1839
2035
|
*/
|
|
1840
2036
|
disableHostInsight(disableHostInsightRequest) {
|
|
1841
2037
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1896,7 +2092,7 @@ class OperationsInsightsClient {
|
|
|
1896
2092
|
* @param DownloadOperationsInsightsWarehouseWalletRequest
|
|
1897
2093
|
* @return DownloadOperationsInsightsWarehouseWalletResponse
|
|
1898
2094
|
* @throws OciError when an error occurs
|
|
1899
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2095
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.52.0/opsi/DownloadOperationsInsightsWarehouseWallet.ts.html |here} to see how to use DownloadOperationsInsightsWarehouseWallet API.
|
|
1900
2096
|
*/
|
|
1901
2097
|
downloadOperationsInsightsWarehouseWallet(downloadOperationsInsightsWarehouseWalletRequest) {
|
|
1902
2098
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1970,7 +2166,7 @@ class OperationsInsightsClient {
|
|
|
1970
2166
|
* @param EnableDatabaseInsightRequest
|
|
1971
2167
|
* @return EnableDatabaseInsightResponse
|
|
1972
2168
|
* @throws OciError when an error occurs
|
|
1973
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2169
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.52.0/opsi/EnableDatabaseInsight.ts.html |here} to see how to use EnableDatabaseInsight API.
|
|
1974
2170
|
*/
|
|
1975
2171
|
enableDatabaseInsight(enableDatabaseInsightRequest) {
|
|
1976
2172
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2032,7 +2228,7 @@ class OperationsInsightsClient {
|
|
|
2032
2228
|
* @param EnableExadataInsightRequest
|
|
2033
2229
|
* @return EnableExadataInsightResponse
|
|
2034
2230
|
* @throws OciError when an error occurs
|
|
2035
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2231
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.52.0/opsi/EnableExadataInsight.ts.html |here} to see how to use EnableExadataInsight API.
|
|
2036
2232
|
*/
|
|
2037
2233
|
enableExadataInsight(enableExadataInsightRequest) {
|
|
2038
2234
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2094,7 +2290,7 @@ class OperationsInsightsClient {
|
|
|
2094
2290
|
* @param EnableHostInsightRequest
|
|
2095
2291
|
* @return EnableHostInsightResponse
|
|
2096
2292
|
* @throws OciError when an error occurs
|
|
2097
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2293
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.52.0/opsi/EnableHostInsight.ts.html |here} to see how to use EnableHostInsight API.
|
|
2098
2294
|
*/
|
|
2099
2295
|
enableHostInsight(enableHostInsightRequest) {
|
|
2100
2296
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2157,7 +2353,7 @@ class OperationsInsightsClient {
|
|
|
2157
2353
|
* @param GetAwrDatabaseReportRequest
|
|
2158
2354
|
* @return GetAwrDatabaseReportResponse
|
|
2159
2355
|
* @throws OciError when an error occurs
|
|
2160
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2356
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.52.0/opsi/GetAwrDatabaseReport.ts.html |here} to see how to use GetAwrDatabaseReport API.
|
|
2161
2357
|
*/
|
|
2162
2358
|
getAwrDatabaseReport(getAwrDatabaseReportRequest) {
|
|
2163
2359
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2225,7 +2421,7 @@ class OperationsInsightsClient {
|
|
|
2225
2421
|
* @param GetAwrDatabaseSqlReportRequest
|
|
2226
2422
|
* @return GetAwrDatabaseSqlReportResponse
|
|
2227
2423
|
* @throws OciError when an error occurs
|
|
2228
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2424
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.52.0/opsi/GetAwrDatabaseSqlReport.ts.html |here} to see how to use GetAwrDatabaseSqlReport API.
|
|
2229
2425
|
*/
|
|
2230
2426
|
getAwrDatabaseSqlReport(getAwrDatabaseSqlReportRequest) {
|
|
2231
2427
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2292,7 +2488,7 @@ class OperationsInsightsClient {
|
|
|
2292
2488
|
* @param GetAwrHubRequest
|
|
2293
2489
|
* @return GetAwrHubResponse
|
|
2294
2490
|
* @throws OciError when an error occurs
|
|
2295
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2491
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.52.0/opsi/GetAwrHub.ts.html |here} to see how to use GetAwrHub API.
|
|
2296
2492
|
*/
|
|
2297
2493
|
getAwrHub(getAwrHubRequest) {
|
|
2298
2494
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2357,7 +2553,7 @@ class OperationsInsightsClient {
|
|
|
2357
2553
|
* @param GetAwrReportRequest
|
|
2358
2554
|
* @return GetAwrReportResponse
|
|
2359
2555
|
* @throws OciError when an error occurs
|
|
2360
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2556
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.52.0/opsi/GetAwrReport.ts.html |here} to see how to use GetAwrReport API.
|
|
2361
2557
|
*/
|
|
2362
2558
|
getAwrReport(getAwrReportRequest) {
|
|
2363
2559
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2423,7 +2619,7 @@ class OperationsInsightsClient {
|
|
|
2423
2619
|
* @param GetDatabaseInsightRequest
|
|
2424
2620
|
* @return GetDatabaseInsightResponse
|
|
2425
2621
|
* @throws OciError when an error occurs
|
|
2426
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2622
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.52.0/opsi/GetDatabaseInsight.ts.html |here} to see how to use GetDatabaseInsight API.
|
|
2427
2623
|
*/
|
|
2428
2624
|
getDatabaseInsight(getDatabaseInsightRequest) {
|
|
2429
2625
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2486,7 +2682,7 @@ class OperationsInsightsClient {
|
|
|
2486
2682
|
* @param GetEnterpriseManagerBridgeRequest
|
|
2487
2683
|
* @return GetEnterpriseManagerBridgeResponse
|
|
2488
2684
|
* @throws OciError when an error occurs
|
|
2489
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2685
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.52.0/opsi/GetEnterpriseManagerBridge.ts.html |here} to see how to use GetEnterpriseManagerBridge API.
|
|
2490
2686
|
*/
|
|
2491
2687
|
getEnterpriseManagerBridge(getEnterpriseManagerBridgeRequest) {
|
|
2492
2688
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2549,7 +2745,7 @@ class OperationsInsightsClient {
|
|
|
2549
2745
|
* @param GetExadataInsightRequest
|
|
2550
2746
|
* @return GetExadataInsightResponse
|
|
2551
2747
|
* @throws OciError when an error occurs
|
|
2552
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2748
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.52.0/opsi/GetExadataInsight.ts.html |here} to see how to use GetExadataInsight API.
|
|
2553
2749
|
*/
|
|
2554
2750
|
getExadataInsight(getExadataInsightRequest) {
|
|
2555
2751
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2612,7 +2808,7 @@ class OperationsInsightsClient {
|
|
|
2612
2808
|
* @param GetHostInsightRequest
|
|
2613
2809
|
* @return GetHostInsightResponse
|
|
2614
2810
|
* @throws OciError when an error occurs
|
|
2615
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2811
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.52.0/opsi/GetHostInsight.ts.html |here} to see how to use GetHostInsight API.
|
|
2616
2812
|
*/
|
|
2617
2813
|
getHostInsight(getHostInsightRequest) {
|
|
2618
2814
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2675,7 +2871,7 @@ class OperationsInsightsClient {
|
|
|
2675
2871
|
* @param GetOperationsInsightsPrivateEndpointRequest
|
|
2676
2872
|
* @return GetOperationsInsightsPrivateEndpointResponse
|
|
2677
2873
|
* @throws OciError when an error occurs
|
|
2678
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2874
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.52.0/opsi/GetOperationsInsightsPrivateEndpoint.ts.html |here} to see how to use GetOperationsInsightsPrivateEndpoint API.
|
|
2679
2875
|
*/
|
|
2680
2876
|
getOperationsInsightsPrivateEndpoint(getOperationsInsightsPrivateEndpointRequest) {
|
|
2681
2877
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2740,7 +2936,7 @@ class OperationsInsightsClient {
|
|
|
2740
2936
|
* @param GetOperationsInsightsWarehouseRequest
|
|
2741
2937
|
* @return GetOperationsInsightsWarehouseResponse
|
|
2742
2938
|
* @throws OciError when an error occurs
|
|
2743
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2939
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.52.0/opsi/GetOperationsInsightsWarehouse.ts.html |here} to see how to use GetOperationsInsightsWarehouse API.
|
|
2744
2940
|
*/
|
|
2745
2941
|
getOperationsInsightsWarehouse(getOperationsInsightsWarehouseRequest) {
|
|
2746
2942
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2803,7 +2999,7 @@ class OperationsInsightsClient {
|
|
|
2803
2999
|
* @param GetOperationsInsightsWarehouseUserRequest
|
|
2804
3000
|
* @return GetOperationsInsightsWarehouseUserResponse
|
|
2805
3001
|
* @throws OciError when an error occurs
|
|
2806
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3002
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.52.0/opsi/GetOperationsInsightsWarehouseUser.ts.html |here} to see how to use GetOperationsInsightsWarehouseUser API.
|
|
2807
3003
|
*/
|
|
2808
3004
|
getOperationsInsightsWarehouseUser(getOperationsInsightsWarehouseUserRequest) {
|
|
2809
3005
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2860,13 +3056,84 @@ class OperationsInsightsClient {
|
|
|
2860
3056
|
}
|
|
2861
3057
|
});
|
|
2862
3058
|
}
|
|
3059
|
+
/**
|
|
3060
|
+
* Gets details of an OPSI configuration resource.
|
|
3061
|
+
* Values specified in configItemField and configItemCustomStatus query params will be considered, only if configItems field is requested as part of opsiConfigField query param.
|
|
3062
|
+
* Values specified in configItemCustomStatus will determine whether only customized configuration items or only non-customized configuration items or both have to be returned.
|
|
3063
|
+
*
|
|
3064
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
3065
|
+
* @param GetOpsiConfigurationRequest
|
|
3066
|
+
* @return GetOpsiConfigurationResponse
|
|
3067
|
+
* @throws OciError when an error occurs
|
|
3068
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.52.0/opsi/GetOpsiConfiguration.ts.html |here} to see how to use GetOpsiConfiguration API.
|
|
3069
|
+
*/
|
|
3070
|
+
getOpsiConfiguration(getOpsiConfigurationRequest) {
|
|
3071
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
3072
|
+
if (this.logger)
|
|
3073
|
+
this.logger.debug("Calling operation OperationsInsightsClient#getOpsiConfiguration.");
|
|
3074
|
+
const operationName = "getOpsiConfiguration";
|
|
3075
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/OpsiConfigurations/GetOpsiConfiguration";
|
|
3076
|
+
const pathParams = {
|
|
3077
|
+
"{opsiConfigurationId}": getOpsiConfigurationRequest.opsiConfigurationId
|
|
3078
|
+
};
|
|
3079
|
+
const queryParams = {
|
|
3080
|
+
"opsiConfigField": getOpsiConfigurationRequest.opsiConfigField,
|
|
3081
|
+
"configItemCustomStatus": getOpsiConfigurationRequest.configItemCustomStatus,
|
|
3082
|
+
"configItemsApplicableContext": getOpsiConfigurationRequest.configItemsApplicableContext,
|
|
3083
|
+
"configItemField": getOpsiConfigurationRequest.configItemField
|
|
3084
|
+
};
|
|
3085
|
+
let headerParams = {
|
|
3086
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
3087
|
+
"opc-request-id": getOpsiConfigurationRequest.opcRequestId
|
|
3088
|
+
};
|
|
3089
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
3090
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getOpsiConfigurationRequest.retryConfiguration, specRetryConfiguration);
|
|
3091
|
+
if (this.logger)
|
|
3092
|
+
retrier.logger = this.logger;
|
|
3093
|
+
const request = yield oci_common_1.composeRequest({
|
|
3094
|
+
baseEndpoint: this._endpoint,
|
|
3095
|
+
defaultHeaders: this._defaultHeaders,
|
|
3096
|
+
path: "/opsiConfigurations/{opsiConfigurationId}",
|
|
3097
|
+
method: "GET",
|
|
3098
|
+
pathParams: pathParams,
|
|
3099
|
+
headerParams: headerParams,
|
|
3100
|
+
queryParams: queryParams
|
|
3101
|
+
});
|
|
3102
|
+
try {
|
|
3103
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
3104
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
3105
|
+
responseObject: {},
|
|
3106
|
+
body: yield response.json(),
|
|
3107
|
+
bodyKey: "opsiConfiguration",
|
|
3108
|
+
bodyModel: model.OpsiConfiguration,
|
|
3109
|
+
type: "model.OpsiConfiguration",
|
|
3110
|
+
responseHeaders: [
|
|
3111
|
+
{
|
|
3112
|
+
value: response.headers.get("etag"),
|
|
3113
|
+
key: "etag",
|
|
3114
|
+
dataType: "string"
|
|
3115
|
+
},
|
|
3116
|
+
{
|
|
3117
|
+
value: response.headers.get("opc-request-id"),
|
|
3118
|
+
key: "opcRequestId",
|
|
3119
|
+
dataType: "string"
|
|
3120
|
+
}
|
|
3121
|
+
]
|
|
3122
|
+
});
|
|
3123
|
+
return sdkResponse;
|
|
3124
|
+
}
|
|
3125
|
+
catch (err) {
|
|
3126
|
+
throw err;
|
|
3127
|
+
}
|
|
3128
|
+
});
|
|
3129
|
+
}
|
|
2863
3130
|
/**
|
|
2864
3131
|
* Gets details of an OPSI data object.
|
|
2865
3132
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
2866
3133
|
* @param GetOpsiDataObjectRequest
|
|
2867
3134
|
* @return GetOpsiDataObjectResponse
|
|
2868
3135
|
* @throws OciError when an error occurs
|
|
2869
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3136
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.52.0/opsi/GetOpsiDataObject.ts.html |here} to see how to use GetOpsiDataObject API.
|
|
2870
3137
|
*/
|
|
2871
3138
|
getOpsiDataObject(getOpsiDataObjectRequest) {
|
|
2872
3139
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2926,7 +3193,7 @@ class OperationsInsightsClient {
|
|
|
2926
3193
|
* @param GetWorkRequestRequest
|
|
2927
3194
|
* @return GetWorkRequestResponse
|
|
2928
3195
|
* @throws OciError when an error occurs
|
|
2929
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3196
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.52.0/opsi/GetWorkRequest.ts.html |here} to see how to use GetWorkRequest API.
|
|
2930
3197
|
*/
|
|
2931
3198
|
getWorkRequest(getWorkRequestRequest) {
|
|
2932
3199
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2994,7 +3261,7 @@ class OperationsInsightsClient {
|
|
|
2994
3261
|
* @param IngestDatabaseConfigurationRequest
|
|
2995
3262
|
* @return IngestDatabaseConfigurationResponse
|
|
2996
3263
|
* @throws OciError when an error occurs
|
|
2997
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3264
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.52.0/opsi/IngestDatabaseConfiguration.ts.html |here} to see how to use IngestDatabaseConfiguration API.
|
|
2998
3265
|
*/
|
|
2999
3266
|
ingestDatabaseConfiguration(ingestDatabaseConfigurationRequest) {
|
|
3000
3267
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3061,7 +3328,7 @@ class OperationsInsightsClient {
|
|
|
3061
3328
|
* @param IngestHostConfigurationRequest
|
|
3062
3329
|
* @return IngestHostConfigurationResponse
|
|
3063
3330
|
* @throws OciError when an error occurs
|
|
3064
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3331
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.52.0/opsi/IngestHostConfiguration.ts.html |here} to see how to use IngestHostConfiguration API.
|
|
3065
3332
|
*/
|
|
3066
3333
|
ingestHostConfiguration(ingestHostConfigurationRequest) {
|
|
3067
3334
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3127,7 +3394,7 @@ class OperationsInsightsClient {
|
|
|
3127
3394
|
* @param IngestHostMetricsRequest
|
|
3128
3395
|
* @return IngestHostMetricsResponse
|
|
3129
3396
|
* @throws OciError when an error occurs
|
|
3130
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3397
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.52.0/opsi/IngestHostMetrics.ts.html |here} to see how to use IngestHostMetrics API.
|
|
3131
3398
|
*/
|
|
3132
3399
|
ingestHostMetrics(ingestHostMetricsRequest) {
|
|
3133
3400
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3195,7 +3462,7 @@ class OperationsInsightsClient {
|
|
|
3195
3462
|
* @param IngestSqlBucketRequest
|
|
3196
3463
|
* @return IngestSqlBucketResponse
|
|
3197
3464
|
* @throws OciError when an error occurs
|
|
3198
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3465
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.52.0/opsi/IngestSqlBucket.ts.html |here} to see how to use IngestSqlBucket API.
|
|
3199
3466
|
*/
|
|
3200
3467
|
ingestSqlBucket(ingestSqlBucketRequest) {
|
|
3201
3468
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3265,7 +3532,7 @@ class OperationsInsightsClient {
|
|
|
3265
3532
|
* @param IngestSqlPlanLinesRequest
|
|
3266
3533
|
* @return IngestSqlPlanLinesResponse
|
|
3267
3534
|
* @throws OciError when an error occurs
|
|
3268
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3535
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.52.0/opsi/IngestSqlPlanLines.ts.html |here} to see how to use IngestSqlPlanLines API.
|
|
3269
3536
|
*/
|
|
3270
3537
|
ingestSqlPlanLines(ingestSqlPlanLinesRequest) {
|
|
3271
3538
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3335,7 +3602,7 @@ class OperationsInsightsClient {
|
|
|
3335
3602
|
* @param IngestSqlStatsRequest
|
|
3336
3603
|
* @return IngestSqlStatsResponse
|
|
3337
3604
|
* @throws OciError when an error occurs
|
|
3338
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3605
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.52.0/opsi/IngestSqlStats.ts.html |here} to see how to use IngestSqlStats API.
|
|
3339
3606
|
*/
|
|
3340
3607
|
ingestSqlStats(ingestSqlStatsRequest) {
|
|
3341
3608
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3405,7 +3672,7 @@ class OperationsInsightsClient {
|
|
|
3405
3672
|
* @param IngestSqlTextRequest
|
|
3406
3673
|
* @return IngestSqlTextResponse
|
|
3407
3674
|
* @throws OciError when an error occurs
|
|
3408
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3675
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.52.0/opsi/IngestSqlText.ts.html |here} to see how to use IngestSqlText API.
|
|
3409
3676
|
*/
|
|
3410
3677
|
ingestSqlText(ingestSqlTextRequest) {
|
|
3411
3678
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3474,7 +3741,7 @@ class OperationsInsightsClient {
|
|
|
3474
3741
|
* @param ListAwrDatabaseSnapshotsRequest
|
|
3475
3742
|
* @return ListAwrDatabaseSnapshotsResponse
|
|
3476
3743
|
* @throws OciError when an error occurs
|
|
3477
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3744
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.52.0/opsi/ListAwrDatabaseSnapshots.ts.html |here} to see how to use ListAwrDatabaseSnapshots API.
|
|
3478
3745
|
*/
|
|
3479
3746
|
listAwrDatabaseSnapshots(listAwrDatabaseSnapshotsRequest) {
|
|
3480
3747
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3549,7 +3816,7 @@ class OperationsInsightsClient {
|
|
|
3549
3816
|
* @param ListAwrDatabasesRequest
|
|
3550
3817
|
* @return ListAwrDatabasesResponse
|
|
3551
3818
|
* @throws OciError when an error occurs
|
|
3552
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3819
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.52.0/opsi/ListAwrDatabases.ts.html |here} to see how to use ListAwrDatabases API.
|
|
3553
3820
|
*/
|
|
3554
3821
|
listAwrDatabases(listAwrDatabasesRequest) {
|
|
3555
3822
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3621,7 +3888,7 @@ class OperationsInsightsClient {
|
|
|
3621
3888
|
* @param ListAwrHubsRequest
|
|
3622
3889
|
* @return ListAwrHubsResponse
|
|
3623
3890
|
* @throws OciError when an error occurs
|
|
3624
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3891
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.52.0/opsi/ListAwrHubs.ts.html |here} to see how to use ListAwrHubs API.
|
|
3625
3892
|
*/
|
|
3626
3893
|
listAwrHubs(listAwrHubsRequest) {
|
|
3627
3894
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3694,7 +3961,7 @@ class OperationsInsightsClient {
|
|
|
3694
3961
|
* @param ListAwrSnapshotsRequest
|
|
3695
3962
|
* @return ListAwrSnapshotsResponse
|
|
3696
3963
|
* @throws OciError when an error occurs
|
|
3697
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3964
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.52.0/opsi/ListAwrSnapshots.ts.html |here} to see how to use ListAwrSnapshots API.
|
|
3698
3965
|
*/
|
|
3699
3966
|
listAwrSnapshots(listAwrSnapshotsRequest) {
|
|
3700
3967
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3767,7 +4034,7 @@ class OperationsInsightsClient {
|
|
|
3767
4034
|
* @param ListDatabaseConfigurationsRequest
|
|
3768
4035
|
* @return ListDatabaseConfigurationsResponse
|
|
3769
4036
|
* @throws OciError when an error occurs
|
|
3770
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4037
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.52.0/opsi/ListDatabaseConfigurations.ts.html |here} to see how to use ListDatabaseConfigurations API.
|
|
3771
4038
|
*/
|
|
3772
4039
|
listDatabaseConfigurations(listDatabaseConfigurationsRequest) {
|
|
3773
4040
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3854,7 +4121,7 @@ class OperationsInsightsClient {
|
|
|
3854
4121
|
* @param ListDatabaseInsightsRequest
|
|
3855
4122
|
* @return ListDatabaseInsightsResponse
|
|
3856
4123
|
* @throws OciError when an error occurs
|
|
3857
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4124
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.52.0/opsi/ListDatabaseInsights.ts.html |here} to see how to use ListDatabaseInsights API.
|
|
3858
4125
|
*/
|
|
3859
4126
|
listDatabaseInsights(listDatabaseInsightsRequest) {
|
|
3860
4127
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3938,7 +4205,7 @@ class OperationsInsightsClient {
|
|
|
3938
4205
|
* @param ListEnterpriseManagerBridgesRequest
|
|
3939
4206
|
* @return ListEnterpriseManagerBridgesResponse
|
|
3940
4207
|
* @throws OciError when an error occurs
|
|
3941
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4208
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.52.0/opsi/ListEnterpriseManagerBridges.ts.html |here} to see how to use ListEnterpriseManagerBridges API.
|
|
3942
4209
|
*/
|
|
3943
4210
|
listEnterpriseManagerBridges(listEnterpriseManagerBridgesRequest) {
|
|
3944
4211
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4009,7 +4276,7 @@ class OperationsInsightsClient {
|
|
|
4009
4276
|
* @param ListExadataConfigurationsRequest
|
|
4010
4277
|
* @return ListExadataConfigurationsResponse
|
|
4011
4278
|
* @throws OciError when an error occurs
|
|
4012
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4279
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.52.0/opsi/ListExadataConfigurations.ts.html |here} to see how to use ListExadataConfigurations API.
|
|
4013
4280
|
*/
|
|
4014
4281
|
listExadataConfigurations(listExadataConfigurationsRequest) {
|
|
4015
4282
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4089,7 +4356,7 @@ class OperationsInsightsClient {
|
|
|
4089
4356
|
* @param ListExadataInsightsRequest
|
|
4090
4357
|
* @return ListExadataInsightsResponse
|
|
4091
4358
|
* @throws OciError when an error occurs
|
|
4092
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4359
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.52.0/opsi/ListExadataInsights.ts.html |here} to see how to use ListExadataInsights API.
|
|
4093
4360
|
*/
|
|
4094
4361
|
listExadataInsights(listExadataInsightsRequest) {
|
|
4095
4362
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4169,7 +4436,7 @@ class OperationsInsightsClient {
|
|
|
4169
4436
|
* @param ListHostConfigurationsRequest
|
|
4170
4437
|
* @return ListHostConfigurationsResponse
|
|
4171
4438
|
* @throws OciError when an error occurs
|
|
4172
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4439
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.52.0/opsi/ListHostConfigurations.ts.html |here} to see how to use ListHostConfigurations API.
|
|
4173
4440
|
*/
|
|
4174
4441
|
listHostConfigurations(listHostConfigurationsRequest) {
|
|
4175
4442
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4255,7 +4522,7 @@ class OperationsInsightsClient {
|
|
|
4255
4522
|
* @param ListHostInsightsRequest
|
|
4256
4523
|
* @return ListHostInsightsResponse
|
|
4257
4524
|
* @throws OciError when an error occurs
|
|
4258
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4525
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.52.0/opsi/ListHostInsights.ts.html |here} to see how to use ListHostInsights API.
|
|
4259
4526
|
*/
|
|
4260
4527
|
listHostInsights(listHostInsightsRequest) {
|
|
4261
4528
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4336,7 +4603,7 @@ class OperationsInsightsClient {
|
|
|
4336
4603
|
* @param ListHostedEntitiesRequest
|
|
4337
4604
|
* @return ListHostedEntitiesResponse
|
|
4338
4605
|
* @throws OciError when an error occurs
|
|
4339
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4606
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.52.0/opsi/ListHostedEntities.ts.html |here} to see how to use ListHostedEntities API.
|
|
4340
4607
|
*/
|
|
4341
4608
|
listHostedEntities(listHostedEntitiesRequest) {
|
|
4342
4609
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4416,7 +4683,7 @@ class OperationsInsightsClient {
|
|
|
4416
4683
|
* @param ListImportableAgentEntitiesRequest
|
|
4417
4684
|
* @return ListImportableAgentEntitiesResponse
|
|
4418
4685
|
* @throws OciError when an error occurs
|
|
4419
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4686
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.52.0/opsi/ListImportableAgentEntities.ts.html |here} to see how to use ListImportableAgentEntities API.
|
|
4420
4687
|
*/
|
|
4421
4688
|
listImportableAgentEntities(listImportableAgentEntitiesRequest) {
|
|
4422
4689
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4490,7 +4757,7 @@ class OperationsInsightsClient {
|
|
|
4490
4757
|
* @param ListImportableComputeEntitiesRequest
|
|
4491
4758
|
* @return ListImportableComputeEntitiesResponse
|
|
4492
4759
|
* @throws OciError when an error occurs
|
|
4493
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4760
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.52.0/opsi/ListImportableComputeEntities.ts.html |here} to see how to use ListImportableComputeEntities API.
|
|
4494
4761
|
*/
|
|
4495
4762
|
listImportableComputeEntities(listImportableComputeEntitiesRequest) {
|
|
4496
4763
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4558,7 +4825,7 @@ class OperationsInsightsClient {
|
|
|
4558
4825
|
* @param ListImportableEnterpriseManagerEntitiesRequest
|
|
4559
4826
|
* @return ListImportableEnterpriseManagerEntitiesResponse
|
|
4560
4827
|
* @throws OciError when an error occurs
|
|
4561
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4828
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.52.0/opsi/ListImportableEnterpriseManagerEntities.ts.html |here} to see how to use ListImportableEnterpriseManagerEntities API.
|
|
4562
4829
|
*/
|
|
4563
4830
|
listImportableEnterpriseManagerEntities(listImportableEnterpriseManagerEntitiesRequest) {
|
|
4564
4831
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4627,7 +4894,7 @@ class OperationsInsightsClient {
|
|
|
4627
4894
|
* @param ListOperationsInsightsPrivateEndpointsRequest
|
|
4628
4895
|
* @return ListOperationsInsightsPrivateEndpointsResponse
|
|
4629
4896
|
* @throws OciError when an error occurs
|
|
4630
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4897
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.52.0/opsi/ListOperationsInsightsPrivateEndpoints.ts.html |here} to see how to use ListOperationsInsightsPrivateEndpoints API.
|
|
4631
4898
|
*/
|
|
4632
4899
|
listOperationsInsightsPrivateEndpoints(listOperationsInsightsPrivateEndpointsRequest) {
|
|
4633
4900
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4701,7 +4968,7 @@ class OperationsInsightsClient {
|
|
|
4701
4968
|
* @param ListOperationsInsightsWarehouseUsersRequest
|
|
4702
4969
|
* @return ListOperationsInsightsWarehouseUsersResponse
|
|
4703
4970
|
* @throws OciError when an error occurs
|
|
4704
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4971
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.52.0/opsi/ListOperationsInsightsWarehouseUsers.ts.html |here} to see how to use ListOperationsInsightsWarehouseUsers API.
|
|
4705
4972
|
*/
|
|
4706
4973
|
listOperationsInsightsWarehouseUsers(listOperationsInsightsWarehouseUsersRequest) {
|
|
4707
4974
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4774,7 +5041,7 @@ class OperationsInsightsClient {
|
|
|
4774
5041
|
* @param ListOperationsInsightsWarehousesRequest
|
|
4775
5042
|
* @return ListOperationsInsightsWarehousesResponse
|
|
4776
5043
|
* @throws OciError when an error occurs
|
|
4777
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
5044
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.52.0/opsi/ListOperationsInsightsWarehouses.ts.html |here} to see how to use ListOperationsInsightsWarehouses API.
|
|
4778
5045
|
*/
|
|
4779
5046
|
listOperationsInsightsWarehouses(listOperationsInsightsWarehousesRequest) {
|
|
4780
5047
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4838,6 +5105,77 @@ class OperationsInsightsClient {
|
|
|
4838
5105
|
}
|
|
4839
5106
|
});
|
|
4840
5107
|
}
|
|
5108
|
+
/**
|
|
5109
|
+
* Gets a list of OPSI configuration resources based on the query parameters specified.
|
|
5110
|
+
*
|
|
5111
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
5112
|
+
* @param ListOpsiConfigurationsRequest
|
|
5113
|
+
* @return ListOpsiConfigurationsResponse
|
|
5114
|
+
* @throws OciError when an error occurs
|
|
5115
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.52.0/opsi/ListOpsiConfigurations.ts.html |here} to see how to use ListOpsiConfigurations API.
|
|
5116
|
+
*/
|
|
5117
|
+
listOpsiConfigurations(listOpsiConfigurationsRequest) {
|
|
5118
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
5119
|
+
if (this.logger)
|
|
5120
|
+
this.logger.debug("Calling operation OperationsInsightsClient#listOpsiConfigurations.");
|
|
5121
|
+
const operationName = "listOpsiConfigurations";
|
|
5122
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/OpsiConfigurations/ListOpsiConfigurations";
|
|
5123
|
+
const pathParams = {};
|
|
5124
|
+
const queryParams = {
|
|
5125
|
+
"compartmentId": listOpsiConfigurationsRequest.compartmentId,
|
|
5126
|
+
"displayName": listOpsiConfigurationsRequest.displayName,
|
|
5127
|
+
"lifecycleState": listOpsiConfigurationsRequest.lifecycleState,
|
|
5128
|
+
"opsiConfigType": listOpsiConfigurationsRequest.opsiConfigType,
|
|
5129
|
+
"limit": listOpsiConfigurationsRequest.limit,
|
|
5130
|
+
"page": listOpsiConfigurationsRequest.page,
|
|
5131
|
+
"sortOrder": listOpsiConfigurationsRequest.sortOrder,
|
|
5132
|
+
"sortBy": listOpsiConfigurationsRequest.sortBy
|
|
5133
|
+
};
|
|
5134
|
+
let headerParams = {
|
|
5135
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
5136
|
+
"opc-request-id": listOpsiConfigurationsRequest.opcRequestId
|
|
5137
|
+
};
|
|
5138
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
5139
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listOpsiConfigurationsRequest.retryConfiguration, specRetryConfiguration);
|
|
5140
|
+
if (this.logger)
|
|
5141
|
+
retrier.logger = this.logger;
|
|
5142
|
+
const request = yield oci_common_1.composeRequest({
|
|
5143
|
+
baseEndpoint: this._endpoint,
|
|
5144
|
+
defaultHeaders: this._defaultHeaders,
|
|
5145
|
+
path: "/opsiConfigurations",
|
|
5146
|
+
method: "GET",
|
|
5147
|
+
pathParams: pathParams,
|
|
5148
|
+
headerParams: headerParams,
|
|
5149
|
+
queryParams: queryParams
|
|
5150
|
+
});
|
|
5151
|
+
try {
|
|
5152
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
5153
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
5154
|
+
responseObject: {},
|
|
5155
|
+
body: yield response.json(),
|
|
5156
|
+
bodyKey: "opsiConfigurationsCollection",
|
|
5157
|
+
bodyModel: model.OpsiConfigurationsCollection,
|
|
5158
|
+
type: "model.OpsiConfigurationsCollection",
|
|
5159
|
+
responseHeaders: [
|
|
5160
|
+
{
|
|
5161
|
+
value: response.headers.get("opc-request-id"),
|
|
5162
|
+
key: "opcRequestId",
|
|
5163
|
+
dataType: "string"
|
|
5164
|
+
},
|
|
5165
|
+
{
|
|
5166
|
+
value: response.headers.get("opc-next-page"),
|
|
5167
|
+
key: "opcNextPage",
|
|
5168
|
+
dataType: "string"
|
|
5169
|
+
}
|
|
5170
|
+
]
|
|
5171
|
+
});
|
|
5172
|
+
return sdkResponse;
|
|
5173
|
+
}
|
|
5174
|
+
catch (err) {
|
|
5175
|
+
throw err;
|
|
5176
|
+
}
|
|
5177
|
+
});
|
|
5178
|
+
}
|
|
4841
5179
|
/**
|
|
4842
5180
|
* Gets a list of OPSI data objects based on the query parameters specified. CompartmentId id query parameter must be specified.
|
|
4843
5181
|
*
|
|
@@ -4845,7 +5183,7 @@ class OperationsInsightsClient {
|
|
|
4845
5183
|
* @param ListOpsiDataObjectsRequest
|
|
4846
5184
|
* @return ListOpsiDataObjectsResponse
|
|
4847
5185
|
* @throws OciError when an error occurs
|
|
4848
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
5186
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.52.0/opsi/ListOpsiDataObjects.ts.html |here} to see how to use ListOpsiDataObjects API.
|
|
4849
5187
|
*/
|
|
4850
5188
|
listOpsiDataObjects(listOpsiDataObjectsRequest) {
|
|
4851
5189
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4916,7 +5254,7 @@ class OperationsInsightsClient {
|
|
|
4916
5254
|
* @param ListSqlPlansRequest
|
|
4917
5255
|
* @return ListSqlPlansResponse
|
|
4918
5256
|
* @throws OciError when an error occurs
|
|
4919
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
5257
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.52.0/opsi/ListSqlPlans.ts.html |here} to see how to use ListSqlPlans API.
|
|
4920
5258
|
*/
|
|
4921
5259
|
listSqlPlans(listSqlPlansRequest) {
|
|
4922
5260
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4986,7 +5324,7 @@ class OperationsInsightsClient {
|
|
|
4986
5324
|
* @param ListSqlSearchesRequest
|
|
4987
5325
|
* @return ListSqlSearchesResponse
|
|
4988
5326
|
* @throws OciError when an error occurs
|
|
4989
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
5327
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.52.0/opsi/ListSqlSearches.ts.html |here} to see how to use ListSqlSearches API.
|
|
4990
5328
|
*/
|
|
4991
5329
|
listSqlSearches(listSqlSearchesRequest) {
|
|
4992
5330
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -5060,7 +5398,7 @@ class OperationsInsightsClient {
|
|
|
5060
5398
|
* @param ListSqlTextsRequest
|
|
5061
5399
|
* @return ListSqlTextsResponse
|
|
5062
5400
|
* @throws OciError when an error occurs
|
|
5063
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
5401
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.52.0/opsi/ListSqlTexts.ts.html |here} to see how to use ListSqlTexts API.
|
|
5064
5402
|
*/
|
|
5065
5403
|
listSqlTexts(listSqlTextsRequest) {
|
|
5066
5404
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -5133,7 +5471,7 @@ class OperationsInsightsClient {
|
|
|
5133
5471
|
* @param ListWorkRequestErrorsRequest
|
|
5134
5472
|
* @return ListWorkRequestErrorsResponse
|
|
5135
5473
|
* @throws OciError when an error occurs
|
|
5136
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
5474
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.52.0/opsi/ListWorkRequestErrors.ts.html |here} to see how to use ListWorkRequestErrors API.
|
|
5137
5475
|
*/
|
|
5138
5476
|
listWorkRequestErrors(listWorkRequestErrorsRequest) {
|
|
5139
5477
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -5202,7 +5540,7 @@ class OperationsInsightsClient {
|
|
|
5202
5540
|
* @param ListWorkRequestLogsRequest
|
|
5203
5541
|
* @return ListWorkRequestLogsResponse
|
|
5204
5542
|
* @throws OciError when an error occurs
|
|
5205
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
5543
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.52.0/opsi/ListWorkRequestLogs.ts.html |here} to see how to use ListWorkRequestLogs API.
|
|
5206
5544
|
*/
|
|
5207
5545
|
listWorkRequestLogs(listWorkRequestLogsRequest) {
|
|
5208
5546
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -5271,7 +5609,7 @@ class OperationsInsightsClient {
|
|
|
5271
5609
|
* @param ListWorkRequestsRequest
|
|
5272
5610
|
* @return ListWorkRequestsResponse
|
|
5273
5611
|
* @throws OciError when an error occurs
|
|
5274
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
5612
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.52.0/opsi/ListWorkRequests.ts.html |here} to see how to use ListWorkRequests API.
|
|
5275
5613
|
*/
|
|
5276
5614
|
listWorkRequests(listWorkRequestsRequest) {
|
|
5277
5615
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -5344,7 +5682,7 @@ class OperationsInsightsClient {
|
|
|
5344
5682
|
* @param QueryOpsiDataObjectDataRequest
|
|
5345
5683
|
* @return QueryOpsiDataObjectDataResponse
|
|
5346
5684
|
* @throws OciError when an error occurs
|
|
5347
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
5685
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.52.0/opsi/QueryOpsiDataObjectData.ts.html |here} to see how to use QueryOpsiDataObjectData API.
|
|
5348
5686
|
*/
|
|
5349
5687
|
queryOpsiDataObjectData(queryOpsiDataObjectDataRequest) {
|
|
5350
5688
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -5410,7 +5748,7 @@ class OperationsInsightsClient {
|
|
|
5410
5748
|
* @param RotateOperationsInsightsWarehouseWalletRequest
|
|
5411
5749
|
* @return RotateOperationsInsightsWarehouseWalletResponse
|
|
5412
5750
|
* @throws OciError when an error occurs
|
|
5413
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
5751
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.52.0/opsi/RotateOperationsInsightsWarehouseWallet.ts.html |here} to see how to use RotateOperationsInsightsWarehouseWallet API.
|
|
5414
5752
|
*/
|
|
5415
5753
|
rotateOperationsInsightsWarehouseWallet(rotateOperationsInsightsWarehouseWalletRequest) {
|
|
5416
5754
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -5475,7 +5813,7 @@ class OperationsInsightsClient {
|
|
|
5475
5813
|
* @param SummarizeAwrDatabaseCpuUsagesRequest
|
|
5476
5814
|
* @return SummarizeAwrDatabaseCpuUsagesResponse
|
|
5477
5815
|
* @throws OciError when an error occurs
|
|
5478
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
5816
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.52.0/opsi/SummarizeAwrDatabaseCpuUsages.ts.html |here} to see how to use SummarizeAwrDatabaseCpuUsages API.
|
|
5479
5817
|
*/
|
|
5480
5818
|
summarizeAwrDatabaseCpuUsages(summarizeAwrDatabaseCpuUsagesRequest) {
|
|
5481
5819
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -5551,7 +5889,7 @@ class OperationsInsightsClient {
|
|
|
5551
5889
|
* @param SummarizeAwrDatabaseMetricsRequest
|
|
5552
5890
|
* @return SummarizeAwrDatabaseMetricsResponse
|
|
5553
5891
|
* @throws OciError when an error occurs
|
|
5554
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
5892
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.52.0/opsi/SummarizeAwrDatabaseMetrics.ts.html |here} to see how to use SummarizeAwrDatabaseMetrics API.
|
|
5555
5893
|
*/
|
|
5556
5894
|
summarizeAwrDatabaseMetrics(summarizeAwrDatabaseMetricsRequest) {
|
|
5557
5895
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -5631,7 +5969,7 @@ class OperationsInsightsClient {
|
|
|
5631
5969
|
* @param SummarizeAwrDatabaseParameterChangesRequest
|
|
5632
5970
|
* @return SummarizeAwrDatabaseParameterChangesResponse
|
|
5633
5971
|
* @throws OciError when an error occurs
|
|
5634
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
5972
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.52.0/opsi/SummarizeAwrDatabaseParameterChanges.ts.html |here} to see how to use SummarizeAwrDatabaseParameterChanges API.
|
|
5635
5973
|
*/
|
|
5636
5974
|
summarizeAwrDatabaseParameterChanges(summarizeAwrDatabaseParameterChangesRequest) {
|
|
5637
5975
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -5717,7 +6055,7 @@ class OperationsInsightsClient {
|
|
|
5717
6055
|
* @param SummarizeAwrDatabaseParametersRequest
|
|
5718
6056
|
* @return SummarizeAwrDatabaseParametersResponse
|
|
5719
6057
|
* @throws OciError when an error occurs
|
|
5720
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
6058
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.52.0/opsi/SummarizeAwrDatabaseParameters.ts.html |here} to see how to use SummarizeAwrDatabaseParameters API.
|
|
5721
6059
|
*/
|
|
5722
6060
|
summarizeAwrDatabaseParameters(summarizeAwrDatabaseParametersRequest) {
|
|
5723
6061
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -5797,7 +6135,7 @@ class OperationsInsightsClient {
|
|
|
5797
6135
|
* @param SummarizeAwrDatabaseSnapshotRangesRequest
|
|
5798
6136
|
* @return SummarizeAwrDatabaseSnapshotRangesResponse
|
|
5799
6137
|
* @throws OciError when an error occurs
|
|
5800
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
6138
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.52.0/opsi/SummarizeAwrDatabaseSnapshotRanges.ts.html |here} to see how to use SummarizeAwrDatabaseSnapshotRanges API.
|
|
5801
6139
|
*/
|
|
5802
6140
|
summarizeAwrDatabaseSnapshotRanges(summarizeAwrDatabaseSnapshotRangesRequest) {
|
|
5803
6141
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -5869,7 +6207,7 @@ class OperationsInsightsClient {
|
|
|
5869
6207
|
* @param SummarizeAwrDatabaseSysstatsRequest
|
|
5870
6208
|
* @return SummarizeAwrDatabaseSysstatsResponse
|
|
5871
6209
|
* @throws OciError when an error occurs
|
|
5872
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
6210
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.52.0/opsi/SummarizeAwrDatabaseSysstats.ts.html |here} to see how to use SummarizeAwrDatabaseSysstats API.
|
|
5873
6211
|
*/
|
|
5874
6212
|
summarizeAwrDatabaseSysstats(summarizeAwrDatabaseSysstatsRequest) {
|
|
5875
6213
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -5945,7 +6283,7 @@ class OperationsInsightsClient {
|
|
|
5945
6283
|
* @param SummarizeAwrDatabaseTopWaitEventsRequest
|
|
5946
6284
|
* @return SummarizeAwrDatabaseTopWaitEventsResponse
|
|
5947
6285
|
* @throws OciError when an error occurs
|
|
5948
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
6286
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.52.0/opsi/SummarizeAwrDatabaseTopWaitEvents.ts.html |here} to see how to use SummarizeAwrDatabaseTopWaitEvents API.
|
|
5949
6287
|
*/
|
|
5950
6288
|
summarizeAwrDatabaseTopWaitEvents(summarizeAwrDatabaseTopWaitEventsRequest) {
|
|
5951
6289
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -6020,7 +6358,7 @@ class OperationsInsightsClient {
|
|
|
6020
6358
|
* @param SummarizeAwrDatabaseWaitEventBucketsRequest
|
|
6021
6359
|
* @return SummarizeAwrDatabaseWaitEventBucketsResponse
|
|
6022
6360
|
* @throws OciError when an error occurs
|
|
6023
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
6361
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.52.0/opsi/SummarizeAwrDatabaseWaitEventBuckets.ts.html |here} to see how to use SummarizeAwrDatabaseWaitEventBuckets API.
|
|
6024
6362
|
*/
|
|
6025
6363
|
summarizeAwrDatabaseWaitEventBuckets(summarizeAwrDatabaseWaitEventBucketsRequest) {
|
|
6026
6364
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -6099,7 +6437,7 @@ class OperationsInsightsClient {
|
|
|
6099
6437
|
* @param SummarizeAwrDatabaseWaitEventsRequest
|
|
6100
6438
|
* @return SummarizeAwrDatabaseWaitEventsResponse
|
|
6101
6439
|
* @throws OciError when an error occurs
|
|
6102
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
6440
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.52.0/opsi/SummarizeAwrDatabaseWaitEvents.ts.html |here} to see how to use SummarizeAwrDatabaseWaitEvents API.
|
|
6103
6441
|
*/
|
|
6104
6442
|
summarizeAwrDatabaseWaitEvents(summarizeAwrDatabaseWaitEventsRequest) {
|
|
6105
6443
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -6176,7 +6514,7 @@ class OperationsInsightsClient {
|
|
|
6176
6514
|
* @param SummarizeAwrSourcesSummariesRequest
|
|
6177
6515
|
* @return SummarizeAwrSourcesSummariesResponse
|
|
6178
6516
|
* @throws OciError when an error occurs
|
|
6179
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
6517
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.52.0/opsi/SummarizeAwrSourcesSummaries.ts.html |here} to see how to use SummarizeAwrSourcesSummaries API.
|
|
6180
6518
|
*/
|
|
6181
6519
|
summarizeAwrSourcesSummaries(summarizeAwrSourcesSummariesRequest) {
|
|
6182
6520
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -6240,6 +6578,77 @@ class OperationsInsightsClient {
|
|
|
6240
6578
|
}
|
|
6241
6579
|
});
|
|
6242
6580
|
}
|
|
6581
|
+
/**
|
|
6582
|
+
* Gets the applicable configuration items based on the query parameters specified. Configuration items for an opsiConfigType with respect to a compartmentId can be fetched.
|
|
6583
|
+
* Values specified in configItemField param will determine what fields for each configuration items have to be returned.
|
|
6584
|
+
*
|
|
6585
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
6586
|
+
* @param SummarizeConfigurationItemsRequest
|
|
6587
|
+
* @return SummarizeConfigurationItemsResponse
|
|
6588
|
+
* @throws OciError when an error occurs
|
|
6589
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.52.0/opsi/SummarizeConfigurationItems.ts.html |here} to see how to use SummarizeConfigurationItems API.
|
|
6590
|
+
*/
|
|
6591
|
+
summarizeConfigurationItems(summarizeConfigurationItemsRequest) {
|
|
6592
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
6593
|
+
if (this.logger)
|
|
6594
|
+
this.logger.debug("Calling operation OperationsInsightsClient#summarizeConfigurationItems.");
|
|
6595
|
+
const operationName = "summarizeConfigurationItems";
|
|
6596
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/OpsiConfigurations/SummarizeConfigurationItems";
|
|
6597
|
+
const pathParams = {};
|
|
6598
|
+
const queryParams = {
|
|
6599
|
+
"compartmentId": summarizeConfigurationItemsRequest.compartmentId,
|
|
6600
|
+
"opsiConfigType": summarizeConfigurationItemsRequest.opsiConfigType,
|
|
6601
|
+
"limit": summarizeConfigurationItemsRequest.limit,
|
|
6602
|
+
"page": summarizeConfigurationItemsRequest.page,
|
|
6603
|
+
"configItemsApplicableContext": summarizeConfigurationItemsRequest.configItemsApplicableContext,
|
|
6604
|
+
"configItemField": summarizeConfigurationItemsRequest.configItemField,
|
|
6605
|
+
"name": summarizeConfigurationItemsRequest.name
|
|
6606
|
+
};
|
|
6607
|
+
let headerParams = {
|
|
6608
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
6609
|
+
"opc-request-id": summarizeConfigurationItemsRequest.opcRequestId
|
|
6610
|
+
};
|
|
6611
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
6612
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, summarizeConfigurationItemsRequest.retryConfiguration, specRetryConfiguration);
|
|
6613
|
+
if (this.logger)
|
|
6614
|
+
retrier.logger = this.logger;
|
|
6615
|
+
const request = yield oci_common_1.composeRequest({
|
|
6616
|
+
baseEndpoint: this._endpoint,
|
|
6617
|
+
defaultHeaders: this._defaultHeaders,
|
|
6618
|
+
path: "/opsiConfigurations/configurationItems",
|
|
6619
|
+
method: "GET",
|
|
6620
|
+
pathParams: pathParams,
|
|
6621
|
+
headerParams: headerParams,
|
|
6622
|
+
queryParams: queryParams
|
|
6623
|
+
});
|
|
6624
|
+
try {
|
|
6625
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
6626
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
6627
|
+
responseObject: {},
|
|
6628
|
+
body: yield response.json(),
|
|
6629
|
+
bodyKey: "configurationItemsCollection",
|
|
6630
|
+
bodyModel: model.ConfigurationItemsCollection,
|
|
6631
|
+
type: "model.ConfigurationItemsCollection",
|
|
6632
|
+
responseHeaders: [
|
|
6633
|
+
{
|
|
6634
|
+
value: response.headers.get("opc-request-id"),
|
|
6635
|
+
key: "opcRequestId",
|
|
6636
|
+
dataType: "string"
|
|
6637
|
+
},
|
|
6638
|
+
{
|
|
6639
|
+
value: response.headers.get("opc-next-page"),
|
|
6640
|
+
key: "opcNextPage",
|
|
6641
|
+
dataType: "string"
|
|
6642
|
+
}
|
|
6643
|
+
]
|
|
6644
|
+
});
|
|
6645
|
+
return sdkResponse;
|
|
6646
|
+
}
|
|
6647
|
+
catch (err) {
|
|
6648
|
+
throw err;
|
|
6649
|
+
}
|
|
6650
|
+
});
|
|
6651
|
+
}
|
|
6243
6652
|
/**
|
|
6244
6653
|
* Returns response with time series data (endTimestamp, capacity, baseCapacity) for the time period specified.
|
|
6245
6654
|
* The maximum time range for analysis is 2 years, hence this is intentionally not paginated.
|
|
@@ -6249,7 +6658,7 @@ class OperationsInsightsClient {
|
|
|
6249
6658
|
* @param SummarizeDatabaseInsightResourceCapacityTrendRequest
|
|
6250
6659
|
* @return SummarizeDatabaseInsightResourceCapacityTrendResponse
|
|
6251
6660
|
* @throws OciError when an error occurs
|
|
6252
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
6661
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.52.0/opsi/SummarizeDatabaseInsightResourceCapacityTrend.ts.html |here} to see how to use SummarizeDatabaseInsightResourceCapacityTrend API.
|
|
6253
6662
|
*/
|
|
6254
6663
|
summarizeDatabaseInsightResourceCapacityTrend(summarizeDatabaseInsightResourceCapacityTrendRequest) {
|
|
6255
6664
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -6336,7 +6745,7 @@ class OperationsInsightsClient {
|
|
|
6336
6745
|
* @param SummarizeDatabaseInsightResourceForecastTrendRequest
|
|
6337
6746
|
* @return SummarizeDatabaseInsightResourceForecastTrendResponse
|
|
6338
6747
|
* @throws OciError when an error occurs
|
|
6339
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
6748
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.52.0/opsi/SummarizeDatabaseInsightResourceForecastTrend.ts.html |here} to see how to use SummarizeDatabaseInsightResourceForecastTrend API.
|
|
6340
6749
|
*/
|
|
6341
6750
|
summarizeDatabaseInsightResourceForecastTrend(summarizeDatabaseInsightResourceForecastTrendRequest) {
|
|
6342
6751
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -6425,7 +6834,7 @@ class OperationsInsightsClient {
|
|
|
6425
6834
|
* @param SummarizeDatabaseInsightResourceStatisticsRequest
|
|
6426
6835
|
* @return SummarizeDatabaseInsightResourceStatisticsResponse
|
|
6427
6836
|
* @throws OciError when an error occurs
|
|
6428
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
6837
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.52.0/opsi/SummarizeDatabaseInsightResourceStatistics.ts.html |here} to see how to use SummarizeDatabaseInsightResourceStatistics API.
|
|
6429
6838
|
*/
|
|
6430
6839
|
summarizeDatabaseInsightResourceStatistics(summarizeDatabaseInsightResourceStatisticsRequest) {
|
|
6431
6840
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -6516,7 +6925,7 @@ class OperationsInsightsClient {
|
|
|
6516
6925
|
* @param SummarizeDatabaseInsightResourceUsageRequest
|
|
6517
6926
|
* @return SummarizeDatabaseInsightResourceUsageResponse
|
|
6518
6927
|
* @throws OciError when an error occurs
|
|
6519
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
6928
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.52.0/opsi/SummarizeDatabaseInsightResourceUsage.ts.html |here} to see how to use SummarizeDatabaseInsightResourceUsage API.
|
|
6520
6929
|
*/
|
|
6521
6930
|
summarizeDatabaseInsightResourceUsage(summarizeDatabaseInsightResourceUsageRequest) {
|
|
6522
6931
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -6600,7 +7009,7 @@ class OperationsInsightsClient {
|
|
|
6600
7009
|
* @param SummarizeDatabaseInsightResourceUsageTrendRequest
|
|
6601
7010
|
* @return SummarizeDatabaseInsightResourceUsageTrendResponse
|
|
6602
7011
|
* @throws OciError when an error occurs
|
|
6603
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
7012
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.52.0/opsi/SummarizeDatabaseInsightResourceUsageTrend.ts.html |here} to see how to use SummarizeDatabaseInsightResourceUsageTrend API.
|
|
6604
7013
|
*/
|
|
6605
7014
|
summarizeDatabaseInsightResourceUsageTrend(summarizeDatabaseInsightResourceUsageTrendRequest) {
|
|
6606
7015
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -6684,7 +7093,7 @@ class OperationsInsightsClient {
|
|
|
6684
7093
|
* @param SummarizeDatabaseInsightResourceUtilizationInsightRequest
|
|
6685
7094
|
* @return SummarizeDatabaseInsightResourceUtilizationInsightResponse
|
|
6686
7095
|
* @throws OciError when an error occurs
|
|
6687
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
7096
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.52.0/opsi/SummarizeDatabaseInsightResourceUtilizationInsight.ts.html |here} to see how to use SummarizeDatabaseInsightResourceUtilizationInsight API.
|
|
6688
7097
|
*/
|
|
6689
7098
|
summarizeDatabaseInsightResourceUtilizationInsight(summarizeDatabaseInsightResourceUtilizationInsightRequest) {
|
|
6690
7099
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -6768,7 +7177,7 @@ class OperationsInsightsClient {
|
|
|
6768
7177
|
* @param SummarizeDatabaseInsightTablespaceUsageTrendRequest
|
|
6769
7178
|
* @return SummarizeDatabaseInsightTablespaceUsageTrendResponse
|
|
6770
7179
|
* @throws OciError when an error occurs
|
|
6771
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
7180
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.52.0/opsi/SummarizeDatabaseInsightTablespaceUsageTrend.ts.html |here} to see how to use SummarizeDatabaseInsightTablespaceUsageTrend API.
|
|
6772
7181
|
*/
|
|
6773
7182
|
summarizeDatabaseInsightTablespaceUsageTrend(summarizeDatabaseInsightTablespaceUsageTrendRequest) {
|
|
6774
7183
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -6846,7 +7255,7 @@ class OperationsInsightsClient {
|
|
|
6846
7255
|
* @param SummarizeExadataInsightResourceCapacityTrendRequest
|
|
6847
7256
|
* @return SummarizeExadataInsightResourceCapacityTrendResponse
|
|
6848
7257
|
* @throws OciError when an error occurs
|
|
6849
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
7258
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.52.0/opsi/SummarizeExadataInsightResourceCapacityTrend.ts.html |here} to see how to use SummarizeExadataInsightResourceCapacityTrend API.
|
|
6850
7259
|
*/
|
|
6851
7260
|
summarizeExadataInsightResourceCapacityTrend(summarizeExadataInsightResourceCapacityTrendRequest) {
|
|
6852
7261
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -6930,7 +7339,7 @@ class OperationsInsightsClient {
|
|
|
6930
7339
|
* @param SummarizeExadataInsightResourceCapacityTrendAggregatedRequest
|
|
6931
7340
|
* @return SummarizeExadataInsightResourceCapacityTrendAggregatedResponse
|
|
6932
7341
|
* @throws OciError when an error occurs
|
|
6933
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
7342
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.52.0/opsi/SummarizeExadataInsightResourceCapacityTrendAggregated.ts.html |here} to see how to use SummarizeExadataInsightResourceCapacityTrendAggregated API.
|
|
6934
7343
|
*/
|
|
6935
7344
|
summarizeExadataInsightResourceCapacityTrendAggregated(summarizeExadataInsightResourceCapacityTrendAggregatedRequest) {
|
|
6936
7345
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -7017,7 +7426,7 @@ class OperationsInsightsClient {
|
|
|
7017
7426
|
* @param SummarizeExadataInsightResourceForecastTrendRequest
|
|
7018
7427
|
* @return SummarizeExadataInsightResourceForecastTrendResponse
|
|
7019
7428
|
* @throws OciError when an error occurs
|
|
7020
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
7429
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.52.0/opsi/SummarizeExadataInsightResourceForecastTrend.ts.html |here} to see how to use SummarizeExadataInsightResourceForecastTrend API.
|
|
7021
7430
|
*/
|
|
7022
7431
|
summarizeExadataInsightResourceForecastTrend(summarizeExadataInsightResourceForecastTrendRequest) {
|
|
7023
7432
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -7104,7 +7513,7 @@ class OperationsInsightsClient {
|
|
|
7104
7513
|
* @param SummarizeExadataInsightResourceForecastTrendAggregatedRequest
|
|
7105
7514
|
* @return SummarizeExadataInsightResourceForecastTrendAggregatedResponse
|
|
7106
7515
|
* @throws OciError when an error occurs
|
|
7107
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
7516
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.52.0/opsi/SummarizeExadataInsightResourceForecastTrendAggregated.ts.html |here} to see how to use SummarizeExadataInsightResourceForecastTrendAggregated API.
|
|
7108
7517
|
*/
|
|
7109
7518
|
summarizeExadataInsightResourceForecastTrendAggregated(summarizeExadataInsightResourceForecastTrendAggregatedRequest) {
|
|
7110
7519
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -7191,7 +7600,7 @@ class OperationsInsightsClient {
|
|
|
7191
7600
|
* @param SummarizeExadataInsightResourceStatisticsRequest
|
|
7192
7601
|
* @return SummarizeExadataInsightResourceStatisticsResponse
|
|
7193
7602
|
* @throws OciError when an error occurs
|
|
7194
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
7603
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.52.0/opsi/SummarizeExadataInsightResourceStatistics.ts.html |here} to see how to use SummarizeExadataInsightResourceStatistics API.
|
|
7195
7604
|
*/
|
|
7196
7605
|
summarizeExadataInsightResourceStatistics(summarizeExadataInsightResourceStatisticsRequest) {
|
|
7197
7606
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -7278,7 +7687,7 @@ class OperationsInsightsClient {
|
|
|
7278
7687
|
* @param SummarizeExadataInsightResourceUsageRequest
|
|
7279
7688
|
* @return SummarizeExadataInsightResourceUsageResponse
|
|
7280
7689
|
* @throws OciError when an error occurs
|
|
7281
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
7690
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.52.0/opsi/SummarizeExadataInsightResourceUsage.ts.html |here} to see how to use SummarizeExadataInsightResourceUsage API.
|
|
7282
7691
|
*/
|
|
7283
7692
|
summarizeExadataInsightResourceUsage(summarizeExadataInsightResourceUsageRequest) {
|
|
7284
7693
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -7365,7 +7774,7 @@ class OperationsInsightsClient {
|
|
|
7365
7774
|
* @param SummarizeExadataInsightResourceUsageAggregatedRequest
|
|
7366
7775
|
* @return SummarizeExadataInsightResourceUsageAggregatedResponse
|
|
7367
7776
|
* @throws OciError when an error occurs
|
|
7368
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
7777
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.52.0/opsi/SummarizeExadataInsightResourceUsageAggregated.ts.html |here} to see how to use SummarizeExadataInsightResourceUsageAggregated API.
|
|
7369
7778
|
*/
|
|
7370
7779
|
summarizeExadataInsightResourceUsageAggregated(summarizeExadataInsightResourceUsageAggregatedRequest) {
|
|
7371
7780
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -7443,7 +7852,7 @@ class OperationsInsightsClient {
|
|
|
7443
7852
|
* @param SummarizeExadataInsightResourceUtilizationInsightRequest
|
|
7444
7853
|
* @return SummarizeExadataInsightResourceUtilizationInsightResponse
|
|
7445
7854
|
* @throws OciError when an error occurs
|
|
7446
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
7855
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.52.0/opsi/SummarizeExadataInsightResourceUtilizationInsight.ts.html |here} to see how to use SummarizeExadataInsightResourceUtilizationInsight API.
|
|
7447
7856
|
*/
|
|
7448
7857
|
summarizeExadataInsightResourceUtilizationInsight(summarizeExadataInsightResourceUtilizationInsightRequest) {
|
|
7449
7858
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -7528,7 +7937,7 @@ class OperationsInsightsClient {
|
|
|
7528
7937
|
* @param SummarizeExadataMembersRequest
|
|
7529
7938
|
* @return SummarizeExadataMembersResponse
|
|
7530
7939
|
* @throws OciError when an error occurs
|
|
7531
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
7940
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.52.0/opsi/SummarizeExadataMembers.ts.html |here} to see how to use SummarizeExadataMembers API.
|
|
7532
7941
|
*/
|
|
7533
7942
|
summarizeExadataMembers(summarizeExadataMembersRequest) {
|
|
7534
7943
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -7604,7 +8013,7 @@ class OperationsInsightsClient {
|
|
|
7604
8013
|
* @param SummarizeHostInsightResourceCapacityTrendRequest
|
|
7605
8014
|
* @return SummarizeHostInsightResourceCapacityTrendResponse
|
|
7606
8015
|
* @throws OciError when an error occurs
|
|
7607
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
8016
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.52.0/opsi/SummarizeHostInsightResourceCapacityTrend.ts.html |here} to see how to use SummarizeHostInsightResourceCapacityTrend API.
|
|
7608
8017
|
*/
|
|
7609
8018
|
summarizeHostInsightResourceCapacityTrend(summarizeHostInsightResourceCapacityTrendRequest) {
|
|
7610
8019
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -7688,7 +8097,7 @@ class OperationsInsightsClient {
|
|
|
7688
8097
|
* @param SummarizeHostInsightResourceForecastTrendRequest
|
|
7689
8098
|
* @return SummarizeHostInsightResourceForecastTrendResponse
|
|
7690
8099
|
* @throws OciError when an error occurs
|
|
7691
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
8100
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.52.0/opsi/SummarizeHostInsightResourceForecastTrend.ts.html |here} to see how to use SummarizeHostInsightResourceForecastTrend API.
|
|
7692
8101
|
*/
|
|
7693
8102
|
summarizeHostInsightResourceForecastTrend(summarizeHostInsightResourceForecastTrendRequest) {
|
|
7694
8103
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -7769,7 +8178,7 @@ class OperationsInsightsClient {
|
|
|
7769
8178
|
* @param SummarizeHostInsightResourceStatisticsRequest
|
|
7770
8179
|
* @return SummarizeHostInsightResourceStatisticsResponse
|
|
7771
8180
|
* @throws OciError when an error occurs
|
|
7772
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
8181
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.52.0/opsi/SummarizeHostInsightResourceStatistics.ts.html |here} to see how to use SummarizeHostInsightResourceStatistics API.
|
|
7773
8182
|
*/
|
|
7774
8183
|
summarizeHostInsightResourceStatistics(summarizeHostInsightResourceStatisticsRequest) {
|
|
7775
8184
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -7858,7 +8267,7 @@ class OperationsInsightsClient {
|
|
|
7858
8267
|
* @param SummarizeHostInsightResourceUsageRequest
|
|
7859
8268
|
* @return SummarizeHostInsightResourceUsageResponse
|
|
7860
8269
|
* @throws OciError when an error occurs
|
|
7861
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
8270
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.52.0/opsi/SummarizeHostInsightResourceUsage.ts.html |here} to see how to use SummarizeHostInsightResourceUsage API.
|
|
7862
8271
|
*/
|
|
7863
8272
|
summarizeHostInsightResourceUsage(summarizeHostInsightResourceUsageRequest) {
|
|
7864
8273
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -7936,7 +8345,7 @@ class OperationsInsightsClient {
|
|
|
7936
8345
|
* @param SummarizeHostInsightResourceUsageTrendRequest
|
|
7937
8346
|
* @return SummarizeHostInsightResourceUsageTrendResponse
|
|
7938
8347
|
* @throws OciError when an error occurs
|
|
7939
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
8348
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.52.0/opsi/SummarizeHostInsightResourceUsageTrend.ts.html |here} to see how to use SummarizeHostInsightResourceUsageTrend API.
|
|
7940
8349
|
*/
|
|
7941
8350
|
summarizeHostInsightResourceUsageTrend(summarizeHostInsightResourceUsageTrendRequest) {
|
|
7942
8351
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -8019,7 +8428,7 @@ class OperationsInsightsClient {
|
|
|
8019
8428
|
* @param SummarizeHostInsightResourceUtilizationInsightRequest
|
|
8020
8429
|
* @return SummarizeHostInsightResourceUtilizationInsightResponse
|
|
8021
8430
|
* @throws OciError when an error occurs
|
|
8022
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
8431
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.52.0/opsi/SummarizeHostInsightResourceUtilizationInsight.ts.html |here} to see how to use SummarizeHostInsightResourceUtilizationInsight API.
|
|
8023
8432
|
*/
|
|
8024
8433
|
summarizeHostInsightResourceUtilizationInsight(summarizeHostInsightResourceUtilizationInsightRequest) {
|
|
8025
8434
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -8097,7 +8506,7 @@ class OperationsInsightsClient {
|
|
|
8097
8506
|
* @param SummarizeHostInsightTopProcessesUsageRequest
|
|
8098
8507
|
* @return SummarizeHostInsightTopProcessesUsageResponse
|
|
8099
8508
|
* @throws OciError when an error occurs
|
|
8100
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
8509
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.52.0/opsi/SummarizeHostInsightTopProcessesUsage.ts.html |here} to see how to use SummarizeHostInsightTopProcessesUsage API.
|
|
8101
8510
|
*/
|
|
8102
8511
|
summarizeHostInsightTopProcessesUsage(summarizeHostInsightTopProcessesUsageRequest) {
|
|
8103
8512
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -8173,7 +8582,7 @@ class OperationsInsightsClient {
|
|
|
8173
8582
|
* @param SummarizeHostInsightTopProcessesUsageTrendRequest
|
|
8174
8583
|
* @return SummarizeHostInsightTopProcessesUsageTrendResponse
|
|
8175
8584
|
* @throws OciError when an error occurs
|
|
8176
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
8585
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.52.0/opsi/SummarizeHostInsightTopProcessesUsageTrend.ts.html |here} to see how to use SummarizeHostInsightTopProcessesUsageTrend API.
|
|
8177
8586
|
*/
|
|
8178
8587
|
summarizeHostInsightTopProcessesUsageTrend(summarizeHostInsightTopProcessesUsageTrendRequest) {
|
|
8179
8588
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -8248,7 +8657,7 @@ class OperationsInsightsClient {
|
|
|
8248
8657
|
* @param SummarizeOperationsInsightsWarehouseResourceUsageRequest
|
|
8249
8658
|
* @return SummarizeOperationsInsightsWarehouseResourceUsageResponse
|
|
8250
8659
|
* @throws OciError when an error occurs
|
|
8251
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
8660
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.52.0/opsi/SummarizeOperationsInsightsWarehouseResourceUsage.ts.html |here} to see how to use SummarizeOperationsInsightsWarehouseResourceUsage API.
|
|
8252
8661
|
*/
|
|
8253
8662
|
summarizeOperationsInsightsWarehouseResourceUsage(summarizeOperationsInsightsWarehouseResourceUsageRequest) {
|
|
8254
8663
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -8313,7 +8722,7 @@ class OperationsInsightsClient {
|
|
|
8313
8722
|
* @param SummarizeSqlInsightsRequest
|
|
8314
8723
|
* @return SummarizeSqlInsightsResponse
|
|
8315
8724
|
* @throws OciError when an error occurs
|
|
8316
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
8725
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.52.0/opsi/SummarizeSqlInsights.ts.html |here} to see how to use SummarizeSqlInsights API.
|
|
8317
8726
|
*/
|
|
8318
8727
|
summarizeSqlInsights(summarizeSqlInsightsRequest) {
|
|
8319
8728
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -8394,7 +8803,7 @@ class OperationsInsightsClient {
|
|
|
8394
8803
|
* @param SummarizeSqlPlanInsightsRequest
|
|
8395
8804
|
* @return SummarizeSqlPlanInsightsResponse
|
|
8396
8805
|
* @throws OciError when an error occurs
|
|
8397
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
8806
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.52.0/opsi/SummarizeSqlPlanInsights.ts.html |here} to see how to use SummarizeSqlPlanInsights API.
|
|
8398
8807
|
*/
|
|
8399
8808
|
summarizeSqlPlanInsights(summarizeSqlPlanInsightsRequest) {
|
|
8400
8809
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -8466,7 +8875,7 @@ class OperationsInsightsClient {
|
|
|
8466
8875
|
* @param SummarizeSqlResponseTimeDistributionsRequest
|
|
8467
8876
|
* @return SummarizeSqlResponseTimeDistributionsResponse
|
|
8468
8877
|
* @throws OciError when an error occurs
|
|
8469
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
8878
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.52.0/opsi/SummarizeSqlResponseTimeDistributions.ts.html |here} to see how to use SummarizeSqlResponseTimeDistributions API.
|
|
8470
8879
|
*/
|
|
8471
8880
|
summarizeSqlResponseTimeDistributions(summarizeSqlResponseTimeDistributionsRequest) {
|
|
8472
8881
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -8538,7 +8947,7 @@ class OperationsInsightsClient {
|
|
|
8538
8947
|
* @param SummarizeSqlStatisticsRequest
|
|
8539
8948
|
* @return SummarizeSqlStatisticsResponse
|
|
8540
8949
|
* @throws OciError when an error occurs
|
|
8541
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
8950
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.52.0/opsi/SummarizeSqlStatistics.ts.html |here} to see how to use SummarizeSqlStatistics API.
|
|
8542
8951
|
*/
|
|
8543
8952
|
summarizeSqlStatistics(summarizeSqlStatisticsRequest) {
|
|
8544
8953
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -8625,7 +9034,7 @@ class OperationsInsightsClient {
|
|
|
8625
9034
|
* @param SummarizeSqlStatisticsTimeSeriesRequest
|
|
8626
9035
|
* @return SummarizeSqlStatisticsTimeSeriesResponse
|
|
8627
9036
|
* @throws OciError when an error occurs
|
|
8628
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
9037
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.52.0/opsi/SummarizeSqlStatisticsTimeSeries.ts.html |here} to see how to use SummarizeSqlStatisticsTimeSeries API.
|
|
8629
9038
|
*/
|
|
8630
9039
|
summarizeSqlStatisticsTimeSeries(summarizeSqlStatisticsTimeSeriesRequest) {
|
|
8631
9040
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -8706,7 +9115,7 @@ class OperationsInsightsClient {
|
|
|
8706
9115
|
* @param SummarizeSqlStatisticsTimeSeriesByPlanRequest
|
|
8707
9116
|
* @return SummarizeSqlStatisticsTimeSeriesByPlanResponse
|
|
8708
9117
|
* @throws OciError when an error occurs
|
|
8709
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
9118
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.52.0/opsi/SummarizeSqlStatisticsTimeSeriesByPlan.ts.html |here} to see how to use SummarizeSqlStatisticsTimeSeriesByPlan API.
|
|
8710
9119
|
*/
|
|
8711
9120
|
summarizeSqlStatisticsTimeSeriesByPlan(summarizeSqlStatisticsTimeSeriesByPlanRequest) {
|
|
8712
9121
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -8776,7 +9185,7 @@ class OperationsInsightsClient {
|
|
|
8776
9185
|
* @param UpdateAwrHubRequest
|
|
8777
9186
|
* @return UpdateAwrHubResponse
|
|
8778
9187
|
* @throws OciError when an error occurs
|
|
8779
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
9188
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.52.0/opsi/UpdateAwrHub.ts.html |here} to see how to use UpdateAwrHub API.
|
|
8780
9189
|
*/
|
|
8781
9190
|
updateAwrHub(updateAwrHubRequest) {
|
|
8782
9191
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -8837,7 +9246,7 @@ class OperationsInsightsClient {
|
|
|
8837
9246
|
* @param UpdateDatabaseInsightRequest
|
|
8838
9247
|
* @return UpdateDatabaseInsightResponse
|
|
8839
9248
|
* @throws OciError when an error occurs
|
|
8840
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
9249
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.52.0/opsi/UpdateDatabaseInsight.ts.html |here} to see how to use UpdateDatabaseInsight API.
|
|
8841
9250
|
*/
|
|
8842
9251
|
updateDatabaseInsight(updateDatabaseInsightRequest) {
|
|
8843
9252
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -8898,7 +9307,7 @@ class OperationsInsightsClient {
|
|
|
8898
9307
|
* @param UpdateEnterpriseManagerBridgeRequest
|
|
8899
9308
|
* @return UpdateEnterpriseManagerBridgeResponse
|
|
8900
9309
|
* @throws OciError when an error occurs
|
|
8901
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
9310
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.52.0/opsi/UpdateEnterpriseManagerBridge.ts.html |here} to see how to use UpdateEnterpriseManagerBridge API.
|
|
8902
9311
|
*/
|
|
8903
9312
|
updateEnterpriseManagerBridge(updateEnterpriseManagerBridgeRequest) {
|
|
8904
9313
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -8959,7 +9368,7 @@ class OperationsInsightsClient {
|
|
|
8959
9368
|
* @param UpdateExadataInsightRequest
|
|
8960
9369
|
* @return UpdateExadataInsightResponse
|
|
8961
9370
|
* @throws OciError when an error occurs
|
|
8962
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
9371
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.52.0/opsi/UpdateExadataInsight.ts.html |here} to see how to use UpdateExadataInsight API.
|
|
8963
9372
|
*/
|
|
8964
9373
|
updateExadataInsight(updateExadataInsightRequest) {
|
|
8965
9374
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -9020,7 +9429,7 @@ class OperationsInsightsClient {
|
|
|
9020
9429
|
* @param UpdateHostInsightRequest
|
|
9021
9430
|
* @return UpdateHostInsightResponse
|
|
9022
9431
|
* @throws OciError when an error occurs
|
|
9023
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
9432
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.52.0/opsi/UpdateHostInsight.ts.html |here} to see how to use UpdateHostInsight API.
|
|
9024
9433
|
*/
|
|
9025
9434
|
updateHostInsight(updateHostInsightRequest) {
|
|
9026
9435
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -9081,7 +9490,7 @@ class OperationsInsightsClient {
|
|
|
9081
9490
|
* @param UpdateOperationsInsightsPrivateEndpointRequest
|
|
9082
9491
|
* @return UpdateOperationsInsightsPrivateEndpointResponse
|
|
9083
9492
|
* @throws OciError when an error occurs
|
|
9084
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
9493
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.52.0/opsi/UpdateOperationsInsightsPrivateEndpoint.ts.html |here} to see how to use UpdateOperationsInsightsPrivateEndpoint API.
|
|
9085
9494
|
*/
|
|
9086
9495
|
updateOperationsInsightsPrivateEndpoint(updateOperationsInsightsPrivateEndpointRequest) {
|
|
9087
9496
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -9144,7 +9553,7 @@ class OperationsInsightsClient {
|
|
|
9144
9553
|
* @param UpdateOperationsInsightsWarehouseRequest
|
|
9145
9554
|
* @return UpdateOperationsInsightsWarehouseResponse
|
|
9146
9555
|
* @throws OciError when an error occurs
|
|
9147
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
9556
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.52.0/opsi/UpdateOperationsInsightsWarehouse.ts.html |here} to see how to use UpdateOperationsInsightsWarehouse API.
|
|
9148
9557
|
*/
|
|
9149
9558
|
updateOperationsInsightsWarehouse(updateOperationsInsightsWarehouseRequest) {
|
|
9150
9559
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -9205,7 +9614,7 @@ class OperationsInsightsClient {
|
|
|
9205
9614
|
* @param UpdateOperationsInsightsWarehouseUserRequest
|
|
9206
9615
|
* @return UpdateOperationsInsightsWarehouseUserResponse
|
|
9207
9616
|
* @throws OciError when an error occurs
|
|
9208
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
9617
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.52.0/opsi/UpdateOperationsInsightsWarehouseUser.ts.html |here} to see how to use UpdateOperationsInsightsWarehouseUser API.
|
|
9209
9618
|
*/
|
|
9210
9619
|
updateOperationsInsightsWarehouseUser(updateOperationsInsightsWarehouseUserRequest) {
|
|
9211
9620
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -9260,6 +9669,67 @@ class OperationsInsightsClient {
|
|
|
9260
9669
|
}
|
|
9261
9670
|
});
|
|
9262
9671
|
}
|
|
9672
|
+
/**
|
|
9673
|
+
* Updates an OPSI configuration resource with the given ID.
|
|
9674
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
9675
|
+
* @param UpdateOpsiConfigurationRequest
|
|
9676
|
+
* @return UpdateOpsiConfigurationResponse
|
|
9677
|
+
* @throws OciError when an error occurs
|
|
9678
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.52.0/opsi/UpdateOpsiConfiguration.ts.html |here} to see how to use UpdateOpsiConfiguration API.
|
|
9679
|
+
*/
|
|
9680
|
+
updateOpsiConfiguration(updateOpsiConfigurationRequest) {
|
|
9681
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
9682
|
+
if (this.logger)
|
|
9683
|
+
this.logger.debug("Calling operation OperationsInsightsClient#updateOpsiConfiguration.");
|
|
9684
|
+
const operationName = "updateOpsiConfiguration";
|
|
9685
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/OpsiConfigurations/UpdateOpsiConfiguration";
|
|
9686
|
+
const pathParams = {
|
|
9687
|
+
"{opsiConfigurationId}": updateOpsiConfigurationRequest.opsiConfigurationId
|
|
9688
|
+
};
|
|
9689
|
+
const queryParams = {};
|
|
9690
|
+
let headerParams = {
|
|
9691
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
9692
|
+
"if-match": updateOpsiConfigurationRequest.ifMatch,
|
|
9693
|
+
"opc-request-id": updateOpsiConfigurationRequest.opcRequestId
|
|
9694
|
+
};
|
|
9695
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
9696
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateOpsiConfigurationRequest.retryConfiguration, specRetryConfiguration);
|
|
9697
|
+
if (this.logger)
|
|
9698
|
+
retrier.logger = this.logger;
|
|
9699
|
+
const request = yield oci_common_1.composeRequest({
|
|
9700
|
+
baseEndpoint: this._endpoint,
|
|
9701
|
+
defaultHeaders: this._defaultHeaders,
|
|
9702
|
+
path: "/opsiConfigurations/{opsiConfigurationId}",
|
|
9703
|
+
method: "PUT",
|
|
9704
|
+
bodyContent: common.ObjectSerializer.serialize(updateOpsiConfigurationRequest.updateOpsiConfigurationDetails, "UpdateOpsiConfigurationDetails", model.UpdateOpsiConfigurationDetails.getJsonObj),
|
|
9705
|
+
pathParams: pathParams,
|
|
9706
|
+
headerParams: headerParams,
|
|
9707
|
+
queryParams: queryParams
|
|
9708
|
+
});
|
|
9709
|
+
try {
|
|
9710
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
9711
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
9712
|
+
responseObject: {},
|
|
9713
|
+
responseHeaders: [
|
|
9714
|
+
{
|
|
9715
|
+
value: response.headers.get("opc-work-request-id"),
|
|
9716
|
+
key: "opcWorkRequestId",
|
|
9717
|
+
dataType: "string"
|
|
9718
|
+
},
|
|
9719
|
+
{
|
|
9720
|
+
value: response.headers.get("opc-request-id"),
|
|
9721
|
+
key: "opcRequestId",
|
|
9722
|
+
dataType: "string"
|
|
9723
|
+
}
|
|
9724
|
+
]
|
|
9725
|
+
});
|
|
9726
|
+
return sdkResponse;
|
|
9727
|
+
}
|
|
9728
|
+
catch (err) {
|
|
9729
|
+
throw err;
|
|
9730
|
+
}
|
|
9731
|
+
});
|
|
9732
|
+
}
|
|
9263
9733
|
}
|
|
9264
9734
|
exports.OperationsInsightsClient = OperationsInsightsClient;
|
|
9265
9735
|
OperationsInsightsClient.serviceEndpointTemplate = "https://operationsinsights.{region}.oci.{secondLevelDomain}";
|