oci-stackmonitoring 2.24.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/LICENSE.txt +89 -0
- package/NOTICE.txt +1 -0
- package/README.md +22 -0
- package/THIRD_PARTY_LICENSES.txt +576 -0
- package/index.d.ts +22 -0
- package/index.js +45 -0
- package/index.js.map +1 -0
- package/lib/client.d.ts +260 -0
- package/lib/client.js +1442 -0
- package/lib/client.js.map +1 -0
- package/lib/model/action-type.d.ts +32 -0
- package/lib/model/action-type.js +43 -0
- package/lib/model/action-type.js.map +1 -0
- package/lib/model/associate-monitored-resources-details.d.ts +37 -0
- package/lib/model/associate-monitored-resources-details.js +29 -0
- package/lib/model/associate-monitored-resources-details.js.map +1 -0
- package/lib/model/association-resource-details.d.ts +29 -0
- package/lib/model/association-resource-details.js +29 -0
- package/lib/model/association-resource-details.js.map +1 -0
- package/lib/model/change-monitored-resource-compartment-details.d.ts +27 -0
- package/lib/model/change-monitored-resource-compartment-details.js +29 -0
- package/lib/model/change-monitored-resource-compartment-details.js.map +1 -0
- package/lib/model/connection-details.d.ts +54 -0
- package/lib/model/connection-details.js +39 -0
- package/lib/model/connection-details.js.map +1 -0
- package/lib/model/create-discovery-job-details.d.ts +59 -0
- package/lib/model/create-discovery-job-details.js +63 -0
- package/lib/model/create-discovery-job-details.js.map +1 -0
- package/lib/model/create-monitored-resource-details.d.ts +57 -0
- package/lib/model/create-monitored-resource-details.js +79 -0
- package/lib/model/create-monitored-resource-details.js.map +1 -0
- package/lib/model/credential-collection.d.ts +26 -0
- package/lib/model/credential-collection.js +61 -0
- package/lib/model/credential-collection.js.map +1 -0
- package/lib/model/credential-details.d.ts +31 -0
- package/lib/model/credential-details.js +55 -0
- package/lib/model/credential-details.js.map +1 -0
- package/lib/model/credential-property.d.ts +29 -0
- package/lib/model/credential-property.js +29 -0
- package/lib/model/credential-property.js.map +1 -0
- package/lib/model/disassociate-monitored-resources-details.d.ts +37 -0
- package/lib/model/disassociate-monitored-resources-details.js +29 -0
- package/lib/model/disassociate-monitored-resources-details.js.map +1 -0
- package/lib/model/discovery-details.d.ts +47 -0
- package/lib/model/discovery-details.js +74 -0
- package/lib/model/discovery-details.js.map +1 -0
- package/lib/model/discovery-job-collection.d.ts +26 -0
- package/lib/model/discovery-job-collection.js +61 -0
- package/lib/model/discovery-job-collection.js.map +1 -0
- package/lib/model/discovery-job-log-collection.d.ts +26 -0
- package/lib/model/discovery-job-log-collection.js +61 -0
- package/lib/model/discovery-job-log-collection.js.map +1 -0
- package/lib/model/discovery-job-log-summary.d.ts +48 -0
- package/lib/model/discovery-job-log-summary.js +41 -0
- package/lib/model/discovery-job-log-summary.js.map +1 -0
- package/lib/model/discovery-job-summary.d.ts +128 -0
- package/lib/model/discovery-job-summary.js +65 -0
- package/lib/model/discovery-job-summary.js.map +1 -0
- package/lib/model/discovery-job.d.ts +115 -0
- package/lib/model/discovery-job.js +82 -0
- package/lib/model/discovery-job.js.map +1 -0
- package/lib/model/encrypted-credentials.d.ts +33 -0
- package/lib/model/encrypted-credentials.js +66 -0
- package/lib/model/encrypted-credentials.js.map +1 -0
- package/lib/model/index.d.ts +112 -0
- package/lib/model/index.js +135 -0
- package/lib/model/index.js.map +1 -0
- package/lib/model/lifecycle-state.d.ts +32 -0
- package/lib/model/lifecycle-state.js +43 -0
- package/lib/model/lifecycle-state.js.map +1 -0
- package/lib/model/monitored-resource-alias-credential.d.ts +31 -0
- package/lib/model/monitored-resource-alias-credential.js +57 -0
- package/lib/model/monitored-resource-alias-credential.js.map +1 -0
- package/lib/model/monitored-resource-alias-source-credential.d.ts +33 -0
- package/lib/model/monitored-resource-alias-source-credential.js +29 -0
- package/lib/model/monitored-resource-alias-source-credential.js.map +1 -0
- package/lib/model/monitored-resource-association-summary.d.ts +68 -0
- package/lib/model/monitored-resource-association-summary.js +63 -0
- package/lib/model/monitored-resource-association-summary.js.map +1 -0
- package/lib/model/monitored-resource-association.d.ts +76 -0
- package/lib/model/monitored-resource-association.js +63 -0
- package/lib/model/monitored-resource-association.js.map +1 -0
- package/lib/model/monitored-resource-associations-collection.d.ts +26 -0
- package/lib/model/monitored-resource-associations-collection.js +61 -0
- package/lib/model/monitored-resource-associations-collection.js.map +1 -0
- package/lib/model/monitored-resource-collection.d.ts +26 -0
- package/lib/model/monitored-resource-collection.js +61 -0
- package/lib/model/monitored-resource-collection.js.map +1 -0
- package/lib/model/monitored-resource-credential.d.ts +38 -0
- package/lib/model/monitored-resource-credential.js +73 -0
- package/lib/model/monitored-resource-credential.js.map +1 -0
- package/lib/model/monitored-resource-member-summary.d.ts +78 -0
- package/lib/model/monitored-resource-member-summary.js +29 -0
- package/lib/model/monitored-resource-member-summary.js.map +1 -0
- package/lib/model/monitored-resource-members-collection.d.ts +26 -0
- package/lib/model/monitored-resource-members-collection.js +61 -0
- package/lib/model/monitored-resource-members-collection.js.map +1 -0
- package/lib/model/monitored-resource-property.d.ts +29 -0
- package/lib/model/monitored-resource-property.js +29 -0
- package/lib/model/monitored-resource-property.js.map +1 -0
- package/lib/model/monitored-resource-summary.d.ts +86 -0
- package/lib/model/monitored-resource-summary.js +29 -0
- package/lib/model/monitored-resource-summary.js.map +1 -0
- package/lib/model/monitored-resource.d.ts +105 -0
- package/lib/model/monitored-resource.js +79 -0
- package/lib/model/monitored-resource.js.map +1 -0
- package/lib/model/operation-status.d.ts +33 -0
- package/lib/model/operation-status.js +44 -0
- package/lib/model/operation-status.js.map +1 -0
- package/lib/model/operation-type.d.ts +33 -0
- package/lib/model/operation-type.js +44 -0
- package/lib/model/operation-type.js.map +1 -0
- package/lib/model/plain-text-credentials.d.ts +29 -0
- package/lib/model/plain-text-credentials.js +66 -0
- package/lib/model/plain-text-credentials.js.map +1 -0
- package/lib/model/pre-existing-credentials.d.ts +25 -0
- package/lib/model/pre-existing-credentials.js +54 -0
- package/lib/model/pre-existing-credentials.js.map +1 -0
- package/lib/model/property-details.d.ts +27 -0
- package/lib/model/property-details.js +29 -0
- package/lib/model/property-details.js.map +1 -0
- package/lib/model/resource-lifecycle-state.d.ts +32 -0
- package/lib/model/resource-lifecycle-state.js +43 -0
- package/lib/model/resource-lifecycle-state.js.map +1 -0
- package/lib/model/search-monitored-resource-associations-details.d.ts +68 -0
- package/lib/model/search-monitored-resource-associations-details.js +34 -0
- package/lib/model/search-monitored-resource-associations-details.js.map +1 -0
- package/lib/model/search-monitored-resource-members-details.d.ts +29 -0
- package/lib/model/search-monitored-resource-members-details.js +29 -0
- package/lib/model/search-monitored-resource-members-details.js.map +1 -0
- package/lib/model/search-monitored-resources-details.d.ts +126 -0
- package/lib/model/search-monitored-resources-details.js +34 -0
- package/lib/model/search-monitored-resources-details.js.map +1 -0
- package/lib/model/sort-order.d.ts +23 -0
- package/lib/model/sort-order.js +34 -0
- package/lib/model/sort-order.js.map +1 -0
- package/lib/model/update-monitored-resource-details.d.ts +41 -0
- package/lib/model/update-monitored-resource-details.js +79 -0
- package/lib/model/update-monitored-resource-details.js.map +1 -0
- package/lib/model/work-request-error-collection.d.ts +26 -0
- package/lib/model/work-request-error-collection.js +61 -0
- package/lib/model/work-request-error-collection.js.map +1 -0
- package/lib/model/work-request-error.d.ts +35 -0
- package/lib/model/work-request-error.js +29 -0
- package/lib/model/work-request-error.js.map +1 -0
- package/lib/model/work-request-log-entry-collection.d.ts +26 -0
- package/lib/model/work-request-log-entry-collection.js +61 -0
- package/lib/model/work-request-log-entry-collection.js.map +1 -0
- package/lib/model/work-request-log-entry.d.ts +29 -0
- package/lib/model/work-request-log-entry.js +29 -0
- package/lib/model/work-request-log-entry.js.map +1 -0
- package/lib/model/work-request-resource.d.ts +42 -0
- package/lib/model/work-request-resource.js +29 -0
- package/lib/model/work-request-resource.js.map +1 -0
- package/lib/model/work-request-summary-collection.d.ts +26 -0
- package/lib/model/work-request-summary-collection.js +61 -0
- package/lib/model/work-request-summary-collection.js.map +1 -0
- package/lib/model/work-request-summary.d.ts +67 -0
- package/lib/model/work-request-summary.js +61 -0
- package/lib/model/work-request-summary.js.map +1 -0
- package/lib/model/work-request.d.ts +67 -0
- package/lib/model/work-request.js +61 -0
- package/lib/model/work-request.js.map +1 -0
- package/lib/request/associate-monitored-resources-request.d.ts +47 -0
- package/lib/request/associate-monitored-resources-request.js +15 -0
- package/lib/request/associate-monitored-resources-request.js.map +1 -0
- package/lib/request/change-monitored-resource-compartment-request.d.ts +51 -0
- package/lib/request/change-monitored-resource-compartment-request.js +15 -0
- package/lib/request/change-monitored-resource-compartment-request.js.map +1 -0
- package/lib/request/create-discovery-job-request.d.ts +38 -0
- package/lib/request/create-discovery-job-request.js +15 -0
- package/lib/request/create-discovery-job-request.js.map +1 -0
- package/lib/request/create-monitored-resource-request.d.ts +46 -0
- package/lib/request/create-monitored-resource-request.js +15 -0
- package/lib/request/create-monitored-resource-request.js.map +1 -0
- package/lib/request/delete-discovery-job-request.d.ts +37 -0
- package/lib/request/delete-discovery-job-request.js +15 -0
- package/lib/request/delete-discovery-job-request.js.map +1 -0
- package/lib/request/delete-monitored-resource-request.d.ts +37 -0
- package/lib/request/delete-monitored-resource-request.js +15 -0
- package/lib/request/delete-monitored-resource-request.js.map +1 -0
- package/lib/request/disable-external-database-request.d.ts +46 -0
- package/lib/request/disable-external-database-request.js +15 -0
- package/lib/request/disable-external-database-request.js.map +1 -0
- package/lib/request/disassociate-monitored-resources-request.d.ts +47 -0
- package/lib/request/disassociate-monitored-resources-request.js +15 -0
- package/lib/request/disassociate-monitored-resources-request.js.map +1 -0
- package/lib/request/get-discovery-job-request.d.ts +28 -0
- package/lib/request/get-discovery-job-request.js +15 -0
- package/lib/request/get-discovery-job-request.js.map +1 -0
- package/lib/request/get-monitored-resource-request.d.ts +28 -0
- package/lib/request/get-monitored-resource-request.js +15 -0
- package/lib/request/get-monitored-resource-request.js.map +1 -0
- package/lib/request/get-work-request-request.d.ts +28 -0
- package/lib/request/get-work-request-request.js +15 -0
- package/lib/request/get-work-request-request.js.map +1 -0
- package/lib/request/index.d.ts +52 -0
- package/lib/request/index.js +47 -0
- package/lib/request/index.js.map +1 -0
- package/lib/request/list-discovery-job-logs-request.d.ts +69 -0
- package/lib/request/list-discovery-job-logs-request.js +31 -0
- package/lib/request/list-discovery-job-logs-request.js.map +1 -0
- package/lib/request/list-discovery-jobs-request.d.ts +63 -0
- package/lib/request/list-discovery-jobs-request.js +24 -0
- package/lib/request/list-discovery-jobs-request.js.map +1 -0
- package/lib/request/list-work-request-errors-request.d.ts +58 -0
- package/lib/request/list-work-request-errors-request.js +23 -0
- package/lib/request/list-work-request-errors-request.js.map +1 -0
- package/lib/request/list-work-request-logs-request.d.ts +58 -0
- package/lib/request/list-work-request-logs-request.js +23 -0
- package/lib/request/list-work-request-logs-request.js.map +1 -0
- package/lib/request/list-work-requests-request.d.ts +70 -0
- package/lib/request/list-work-requests-request.js +23 -0
- package/lib/request/list-work-requests-request.js.map +1 -0
- package/lib/request/search-monitored-resource-associations-request.d.ts +61 -0
- package/lib/request/search-monitored-resource-associations-request.js +15 -0
- package/lib/request/search-monitored-resource-associations-request.js.map +1 -0
- package/lib/request/search-monitored-resource-members-request.d.ts +82 -0
- package/lib/request/search-monitored-resource-members-request.js +25 -0
- package/lib/request/search-monitored-resource-members-request.js.map +1 -0
- package/lib/request/search-monitored-resources-request.d.ts +61 -0
- package/lib/request/search-monitored-resources-request.js +15 -0
- package/lib/request/search-monitored-resources-request.js.map +1 -0
- package/lib/request/update-monitored-resource-request.d.ts +42 -0
- package/lib/request/update-monitored-resource-request.js +15 -0
- package/lib/request/update-monitored-resource-request.js.map +1 -0
- package/lib/response/associate-monitored-resources-response.d.ts +30 -0
- package/lib/response/associate-monitored-resources-response.js +15 -0
- package/lib/response/associate-monitored-resources-response.js.map +1 -0
- package/lib/response/change-monitored-resource-compartment-response.d.ts +25 -0
- package/lib/response/change-monitored-resource-compartment-response.js +15 -0
- package/lib/response/change-monitored-resource-compartment-response.js.map +1 -0
- package/lib/response/create-discovery-job-response.d.ts +30 -0
- package/lib/response/create-discovery-job-response.js +15 -0
- package/lib/response/create-discovery-job-response.js.map +1 -0
- package/lib/response/create-monitored-resource-response.d.ts +48 -0
- package/lib/response/create-monitored-resource-response.js +15 -0
- package/lib/response/create-monitored-resource-response.js.map +1 -0
- package/lib/response/delete-discovery-job-response.d.ts +20 -0
- package/lib/response/delete-discovery-job-response.js +15 -0
- package/lib/response/delete-discovery-job-response.js.map +1 -0
- package/lib/response/delete-monitored-resource-response.d.ts +25 -0
- package/lib/response/delete-monitored-resource-response.js +15 -0
- package/lib/response/delete-monitored-resource-response.js.map +1 -0
- package/lib/response/disable-external-database-response.d.ts +25 -0
- package/lib/response/disable-external-database-response.js +15 -0
- package/lib/response/disable-external-database-response.js.map +1 -0
- package/lib/response/disassociate-monitored-resources-response.d.ts +20 -0
- package/lib/response/disassociate-monitored-resources-response.js +15 -0
- package/lib/response/disassociate-monitored-resources-response.js.map +1 -0
- package/lib/response/get-discovery-job-response.d.ts +30 -0
- package/lib/response/get-discovery-job-response.js +15 -0
- package/lib/response/get-discovery-job-response.js.map +1 -0
- package/lib/response/get-monitored-resource-response.d.ts +30 -0
- package/lib/response/get-monitored-resource-response.js +15 -0
- package/lib/response/get-monitored-resource-response.js.map +1 -0
- package/lib/response/get-work-request-response.d.ts +29 -0
- package/lib/response/get-work-request-response.js +15 -0
- package/lib/response/get-work-request-response.js.map +1 -0
- package/lib/response/index.d.ts +52 -0
- package/lib/response/index.js +15 -0
- package/lib/response/index.js.map +1 -0
- package/lib/response/list-discovery-job-logs-response.d.ts +32 -0
- package/lib/response/list-discovery-job-logs-response.js +15 -0
- package/lib/response/list-discovery-job-logs-response.js.map +1 -0
- package/lib/response/list-discovery-jobs-response.d.ts +32 -0
- package/lib/response/list-discovery-jobs-response.js +15 -0
- package/lib/response/list-discovery-jobs-response.js.map +1 -0
- package/lib/response/list-work-request-errors-response.d.ts +32 -0
- package/lib/response/list-work-request-errors-response.js +15 -0
- package/lib/response/list-work-request-errors-response.js.map +1 -0
- package/lib/response/list-work-request-logs-response.d.ts +32 -0
- package/lib/response/list-work-request-logs-response.js +15 -0
- package/lib/response/list-work-request-logs-response.js.map +1 -0
- package/lib/response/list-work-requests-response.d.ts +32 -0
- package/lib/response/list-work-requests-response.js +15 -0
- package/lib/response/list-work-requests-response.js.map +1 -0
- package/lib/response/search-monitored-resource-associations-response.d.ts +37 -0
- package/lib/response/search-monitored-resource-associations-response.js +15 -0
- package/lib/response/search-monitored-resource-associations-response.js.map +1 -0
- package/lib/response/search-monitored-resource-members-response.d.ts +37 -0
- package/lib/response/search-monitored-resource-members-response.js +15 -0
- package/lib/response/search-monitored-resource-members-response.js.map +1 -0
- package/lib/response/search-monitored-resources-response.d.ts +37 -0
- package/lib/response/search-monitored-resources-response.js +15 -0
- package/lib/response/search-monitored-resources-response.js.map +1 -0
- package/lib/response/update-monitored-resource-response.d.ts +25 -0
- package/lib/response/update-monitored-resource-response.js +15 -0
- package/lib/response/update-monitored-resource-response.js.map +1 -0
- package/lib/stackmonitoring-waiter.d.ts +44 -0
- package/lib/stackmonitoring-waiter.js +88 -0
- package/lib/stackmonitoring-waiter.js.map +1 -0
- package/package.json +29 -0
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/**
|
|
2
|
+
*
|
|
3
|
+
*
|
|
4
|
+
* OpenAPI spec version: 20210330
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
8
|
+
* Do not edit the class manually.
|
|
9
|
+
*
|
|
10
|
+
* Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
|
|
11
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
12
|
+
*/
|
|
13
|
+
import * as model from "../model";
|
|
14
|
+
export interface ListWorkRequestErrorsResponse {
|
|
15
|
+
/**
|
|
16
|
+
* For pagination of a list of items. When paging through a list, if this header appears in the response,
|
|
17
|
+
* then a partial list might have been returned. Include this value as the `page` parameter for the
|
|
18
|
+
* subsequent GET request to get the next batch of items.
|
|
19
|
+
*
|
|
20
|
+
*/
|
|
21
|
+
"opcNextPage": string;
|
|
22
|
+
/**
|
|
23
|
+
* Unique Oracle-assigned identifier for the request. If you need to contact
|
|
24
|
+
* Oracle about a particular request, please provide the request ID.
|
|
25
|
+
*
|
|
26
|
+
*/
|
|
27
|
+
"opcRequestId": string;
|
|
28
|
+
/**
|
|
29
|
+
* The returned model.WorkRequestErrorCollection instance.
|
|
30
|
+
*/
|
|
31
|
+
"workRequestErrorCollection": model.WorkRequestErrorCollection;
|
|
32
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
*
|
|
4
|
+
*
|
|
5
|
+
* OpenAPI spec version: 20210330
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*
|
|
11
|
+
* Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
|
|
12
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
13
|
+
*/
|
|
14
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
//# sourceMappingURL=list-work-request-errors-response.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-work-request-errors-response.js","sourceRoot":"","sources":["../../../../../lib/stackmonitoring/lib/response/list-work-request-errors-response.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/**
|
|
2
|
+
*
|
|
3
|
+
*
|
|
4
|
+
* OpenAPI spec version: 20210330
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
8
|
+
* Do not edit the class manually.
|
|
9
|
+
*
|
|
10
|
+
* Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
|
|
11
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
12
|
+
*/
|
|
13
|
+
import * as model from "../model";
|
|
14
|
+
export interface ListWorkRequestLogsResponse {
|
|
15
|
+
/**
|
|
16
|
+
* For pagination of a list of items. When paging through a list, if this header appears in the response,
|
|
17
|
+
* then a partial list might have been returned. Include this value as the `page` parameter for the
|
|
18
|
+
* subsequent GET request to get the next batch of items.
|
|
19
|
+
*
|
|
20
|
+
*/
|
|
21
|
+
"opcNextPage": string;
|
|
22
|
+
/**
|
|
23
|
+
* Unique Oracle-assigned identifier for the request. If you need to contact
|
|
24
|
+
* Oracle about a particular request, please provide the request ID.
|
|
25
|
+
*
|
|
26
|
+
*/
|
|
27
|
+
"opcRequestId": string;
|
|
28
|
+
/**
|
|
29
|
+
* The returned model.WorkRequestLogEntryCollection instance.
|
|
30
|
+
*/
|
|
31
|
+
"workRequestLogEntryCollection": model.WorkRequestLogEntryCollection;
|
|
32
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
*
|
|
4
|
+
*
|
|
5
|
+
* OpenAPI spec version: 20210330
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*
|
|
11
|
+
* Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
|
|
12
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
13
|
+
*/
|
|
14
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
//# sourceMappingURL=list-work-request-logs-response.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-work-request-logs-response.js","sourceRoot":"","sources":["../../../../../lib/stackmonitoring/lib/response/list-work-request-logs-response.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/**
|
|
2
|
+
*
|
|
3
|
+
*
|
|
4
|
+
* OpenAPI spec version: 20210330
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
8
|
+
* Do not edit the class manually.
|
|
9
|
+
*
|
|
10
|
+
* Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
|
|
11
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
12
|
+
*/
|
|
13
|
+
import * as model from "../model";
|
|
14
|
+
export interface ListWorkRequestsResponse {
|
|
15
|
+
/**
|
|
16
|
+
* Unique Oracle-assigned identifier for the request. If you need to contact
|
|
17
|
+
* Oracle about a particular request, please provide the request ID.
|
|
18
|
+
*
|
|
19
|
+
*/
|
|
20
|
+
"opcRequestId": string;
|
|
21
|
+
/**
|
|
22
|
+
* For pagination of a list of items. When paging through a list, if this header appears in the response,
|
|
23
|
+
* then a partial list might have been returned. Include this value as the `page` parameter for the
|
|
24
|
+
* subsequent GET request to get the next batch of items.
|
|
25
|
+
*
|
|
26
|
+
*/
|
|
27
|
+
"opcNextPage": string;
|
|
28
|
+
/**
|
|
29
|
+
* The returned model.WorkRequestSummaryCollection instance.
|
|
30
|
+
*/
|
|
31
|
+
"workRequestSummaryCollection": model.WorkRequestSummaryCollection;
|
|
32
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
*
|
|
4
|
+
*
|
|
5
|
+
* OpenAPI spec version: 20210330
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*
|
|
11
|
+
* Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
|
|
12
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
13
|
+
*/
|
|
14
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
//# sourceMappingURL=list-work-requests-response.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-work-requests-response.js","sourceRoot":"","sources":["../../../../../lib/stackmonitoring/lib/response/list-work-requests-response.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/**
|
|
2
|
+
*
|
|
3
|
+
*
|
|
4
|
+
* OpenAPI spec version: 20210330
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
8
|
+
* Do not edit the class manually.
|
|
9
|
+
*
|
|
10
|
+
* Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
|
|
11
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
12
|
+
*/
|
|
13
|
+
import * as model from "../model";
|
|
14
|
+
export interface SearchMonitoredResourceAssociationsResponse {
|
|
15
|
+
/**
|
|
16
|
+
* Unique Oracle-assigned identifier for the request. If you need to contact
|
|
17
|
+
* Oracle about a particular request, please provide the request ID.
|
|
18
|
+
*
|
|
19
|
+
*/
|
|
20
|
+
"opcRequestId": string;
|
|
21
|
+
/**
|
|
22
|
+
* For pagination of a list of items. When paging through a list, if this header appears in the response,
|
|
23
|
+
* then a partial list might have been returned. Include this value as the `page` parameter for the
|
|
24
|
+
* subsequent GET request to get the next batch of items.
|
|
25
|
+
*
|
|
26
|
+
*/
|
|
27
|
+
"opcNextPage": string;
|
|
28
|
+
/**
|
|
29
|
+
* For pagination of a list of items. The total number of items in the result.
|
|
30
|
+
*
|
|
31
|
+
*/
|
|
32
|
+
"opcTotalItems": number;
|
|
33
|
+
/**
|
|
34
|
+
* The returned model.MonitoredResourceAssociationsCollection instance.
|
|
35
|
+
*/
|
|
36
|
+
"monitoredResourceAssociationsCollection": model.MonitoredResourceAssociationsCollection;
|
|
37
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
*
|
|
4
|
+
*
|
|
5
|
+
* OpenAPI spec version: 20210330
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*
|
|
11
|
+
* Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
|
|
12
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
13
|
+
*/
|
|
14
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
//# sourceMappingURL=search-monitored-resource-associations-response.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"search-monitored-resource-associations-response.js","sourceRoot":"","sources":["../../../../../lib/stackmonitoring/lib/response/search-monitored-resource-associations-response.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/**
|
|
2
|
+
*
|
|
3
|
+
*
|
|
4
|
+
* OpenAPI spec version: 20210330
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
8
|
+
* Do not edit the class manually.
|
|
9
|
+
*
|
|
10
|
+
* Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
|
|
11
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
12
|
+
*/
|
|
13
|
+
import * as model from "../model";
|
|
14
|
+
export interface SearchMonitoredResourceMembersResponse {
|
|
15
|
+
/**
|
|
16
|
+
* Unique Oracle-assigned identifier for the request. If you need to contact
|
|
17
|
+
* Oracle about a particular request, please provide the request ID.
|
|
18
|
+
*
|
|
19
|
+
*/
|
|
20
|
+
"opcRequestId": string;
|
|
21
|
+
/**
|
|
22
|
+
* For pagination of a list of items. When paging through a list, if this header appears in the response,
|
|
23
|
+
* then a partial list might have been returned. Include this value as the `page` parameter for the
|
|
24
|
+
* subsequent GET request to get the next batch of items.
|
|
25
|
+
*
|
|
26
|
+
*/
|
|
27
|
+
"opcNextPage": string;
|
|
28
|
+
/**
|
|
29
|
+
* For pagination of a list of items. The total number of items in the result.
|
|
30
|
+
*
|
|
31
|
+
*/
|
|
32
|
+
"opcTotalItems": number;
|
|
33
|
+
/**
|
|
34
|
+
* The returned model.MonitoredResourceMembersCollection instance.
|
|
35
|
+
*/
|
|
36
|
+
"monitoredResourceMembersCollection": model.MonitoredResourceMembersCollection;
|
|
37
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
*
|
|
4
|
+
*
|
|
5
|
+
* OpenAPI spec version: 20210330
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*
|
|
11
|
+
* Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
|
|
12
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
13
|
+
*/
|
|
14
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
//# sourceMappingURL=search-monitored-resource-members-response.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"search-monitored-resource-members-response.js","sourceRoot":"","sources":["../../../../../lib/stackmonitoring/lib/response/search-monitored-resource-members-response.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/**
|
|
2
|
+
*
|
|
3
|
+
*
|
|
4
|
+
* OpenAPI spec version: 20210330
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
8
|
+
* Do not edit the class manually.
|
|
9
|
+
*
|
|
10
|
+
* Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
|
|
11
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
12
|
+
*/
|
|
13
|
+
import * as model from "../model";
|
|
14
|
+
export interface SearchMonitoredResourcesResponse {
|
|
15
|
+
/**
|
|
16
|
+
* Unique Oracle-assigned identifier for the request. If you need to contact
|
|
17
|
+
* Oracle about a particular request, please provide the request ID.
|
|
18
|
+
*
|
|
19
|
+
*/
|
|
20
|
+
"opcRequestId": string;
|
|
21
|
+
/**
|
|
22
|
+
* For pagination of a list of items. When paging through a list, if this header appears in the response,
|
|
23
|
+
* then a partial list might have been returned. Include this value as the `page` parameter for the
|
|
24
|
+
* subsequent GET request to get the next batch of items.
|
|
25
|
+
*
|
|
26
|
+
*/
|
|
27
|
+
"opcNextPage": string;
|
|
28
|
+
/**
|
|
29
|
+
* For pagination of a list of items. The total number of items in the result.
|
|
30
|
+
*
|
|
31
|
+
*/
|
|
32
|
+
"opcTotalItems": number;
|
|
33
|
+
/**
|
|
34
|
+
* The returned model.MonitoredResourceCollection instance.
|
|
35
|
+
*/
|
|
36
|
+
"monitoredResourceCollection": model.MonitoredResourceCollection;
|
|
37
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
*
|
|
4
|
+
*
|
|
5
|
+
* OpenAPI spec version: 20210330
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*
|
|
11
|
+
* Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
|
|
12
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
13
|
+
*/
|
|
14
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
//# sourceMappingURL=search-monitored-resources-response.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"search-monitored-resources-response.js","sourceRoot":"","sources":["../../../../../lib/stackmonitoring/lib/response/search-monitored-resources-response.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
*
|
|
3
|
+
*
|
|
4
|
+
* OpenAPI spec version: 20210330
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
8
|
+
* Do not edit the class manually.
|
|
9
|
+
*
|
|
10
|
+
* Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
|
|
11
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
12
|
+
*/
|
|
13
|
+
export interface UpdateMonitoredResourceResponse {
|
|
14
|
+
/**
|
|
15
|
+
* Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation.
|
|
16
|
+
*
|
|
17
|
+
*/
|
|
18
|
+
"opcWorkRequestId": string;
|
|
19
|
+
/**
|
|
20
|
+
* Unique Oracle-assigned identifier for the request. If you need to contact
|
|
21
|
+
* Oracle about a particular request, please provide the request ID.
|
|
22
|
+
*
|
|
23
|
+
*/
|
|
24
|
+
"opcRequestId": string;
|
|
25
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
*
|
|
4
|
+
*
|
|
5
|
+
* OpenAPI spec version: 20210330
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*
|
|
11
|
+
* Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
|
|
12
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
13
|
+
*/
|
|
14
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
//# sourceMappingURL=update-monitored-resource-response.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-monitored-resource-response.js","sourceRoot":"","sources":["../../../../../lib/stackmonitoring/lib/response/update-monitored-resource-response.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG"}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Stack Monitoring API
|
|
3
|
+
* Stack Monitoring API.
|
|
4
|
+
* OpenAPI spec version: 20210330
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
8
|
+
* Do not edit the class manually.
|
|
9
|
+
*
|
|
10
|
+
* Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
|
|
11
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
12
|
+
*/
|
|
13
|
+
import * as serviceRequests from "./request";
|
|
14
|
+
import * as serviceResponses from "./response";
|
|
15
|
+
import * as models from "./model";
|
|
16
|
+
import { StackMonitoringClient } from "./client";
|
|
17
|
+
export declare class StackMonitoringWaiter {
|
|
18
|
+
private client;
|
|
19
|
+
private readonly config?;
|
|
20
|
+
constructor(client: StackMonitoringClient, config?: Partial<import("oci-common/lib/waiter").WaiterConfigurationDetails> | undefined);
|
|
21
|
+
/**
|
|
22
|
+
* Waits forDiscoveryJob till it reaches any of the provided states
|
|
23
|
+
*
|
|
24
|
+
* @param request the request to send
|
|
25
|
+
* @param targetStates the desired states to wait for. The waiter will return once the resource reaches any of the provided states
|
|
26
|
+
* @return response returns GetDiscoveryJobResponse | null (null in case of 404 response)
|
|
27
|
+
*/
|
|
28
|
+
forDiscoveryJob(request: serviceRequests.GetDiscoveryJobRequest, ...targetStates: models.LifecycleState[]): Promise<serviceResponses.GetDiscoveryJobResponse | null>;
|
|
29
|
+
/**
|
|
30
|
+
* Waits forMonitoredResource till it reaches any of the provided states
|
|
31
|
+
*
|
|
32
|
+
* @param request the request to send
|
|
33
|
+
* @param targetStates the desired states to wait for. The waiter will return once the resource reaches any of the provided states
|
|
34
|
+
* @return response returns GetMonitoredResourceResponse | null (null in case of 404 response)
|
|
35
|
+
*/
|
|
36
|
+
forMonitoredResource(request: serviceRequests.GetMonitoredResourceRequest, ...targetStates: models.ResourceLifecycleState[]): Promise<serviceResponses.GetMonitoredResourceResponse | null>;
|
|
37
|
+
/**
|
|
38
|
+
* Waits forWorkRequest
|
|
39
|
+
*
|
|
40
|
+
* @param request the request to send
|
|
41
|
+
* @return response returns GetWorkRequestResponse
|
|
42
|
+
*/
|
|
43
|
+
forWorkRequest(request: serviceRequests.GetWorkRequestRequest): Promise<serviceResponses.GetWorkRequestResponse>;
|
|
44
|
+
}
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Stack Monitoring API
|
|
4
|
+
* Stack Monitoring API.
|
|
5
|
+
* OpenAPI spec version: 20210330
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*
|
|
11
|
+
* Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
|
|
12
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
13
|
+
*/
|
|
14
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
15
|
+
if (k2 === undefined) k2 = k;
|
|
16
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
17
|
+
}) : (function(o, m, k, k2) {
|
|
18
|
+
if (k2 === undefined) k2 = k;
|
|
19
|
+
o[k2] = m[k];
|
|
20
|
+
}));
|
|
21
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
22
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
23
|
+
}) : function(o, v) {
|
|
24
|
+
o["default"] = v;
|
|
25
|
+
});
|
|
26
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
27
|
+
if (mod && mod.__esModule) return mod;
|
|
28
|
+
var result = {};
|
|
29
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
30
|
+
__setModuleDefault(result, mod);
|
|
31
|
+
return result;
|
|
32
|
+
};
|
|
33
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
34
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
35
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
36
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
37
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
38
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
39
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
40
|
+
});
|
|
41
|
+
};
|
|
42
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
43
|
+
exports.StackMonitoringWaiter = void 0;
|
|
44
|
+
const models = __importStar(require("./model"));
|
|
45
|
+
const oci_common_1 = require("oci-common");
|
|
46
|
+
class StackMonitoringWaiter {
|
|
47
|
+
constructor(client, config) {
|
|
48
|
+
this.client = client;
|
|
49
|
+
this.config = config;
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
* Waits forDiscoveryJob till it reaches any of the provided states
|
|
53
|
+
*
|
|
54
|
+
* @param request the request to send
|
|
55
|
+
* @param targetStates the desired states to wait for. The waiter will return once the resource reaches any of the provided states
|
|
56
|
+
* @return response returns GetDiscoveryJobResponse | null (null in case of 404 response)
|
|
57
|
+
*/
|
|
58
|
+
forDiscoveryJob(request, ...targetStates) {
|
|
59
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
60
|
+
return oci_common_1.genericTerminalConditionWaiter(this.config, () => this.client.getDiscoveryJob(request), response => targetStates.includes(response.discoveryJob.lifecycleState), targetStates.includes(models.LifecycleState.Deleted));
|
|
61
|
+
});
|
|
62
|
+
}
|
|
63
|
+
/**
|
|
64
|
+
* Waits forMonitoredResource till it reaches any of the provided states
|
|
65
|
+
*
|
|
66
|
+
* @param request the request to send
|
|
67
|
+
* @param targetStates the desired states to wait for. The waiter will return once the resource reaches any of the provided states
|
|
68
|
+
* @return response returns GetMonitoredResourceResponse | null (null in case of 404 response)
|
|
69
|
+
*/
|
|
70
|
+
forMonitoredResource(request, ...targetStates) {
|
|
71
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
72
|
+
return oci_common_1.genericTerminalConditionWaiter(this.config, () => this.client.getMonitoredResource(request), response => targetStates.includes(response.monitoredResource.lifecycleState), targetStates.includes(models.ResourceLifecycleState.Deleted));
|
|
73
|
+
});
|
|
74
|
+
}
|
|
75
|
+
/**
|
|
76
|
+
* Waits forWorkRequest
|
|
77
|
+
*
|
|
78
|
+
* @param request the request to send
|
|
79
|
+
* @return response returns GetWorkRequestResponse
|
|
80
|
+
*/
|
|
81
|
+
forWorkRequest(request) {
|
|
82
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
83
|
+
return oci_common_1.genericWaiter(this.config, () => this.client.getWorkRequest(request), response => (response.workRequest.timeFinished ? true : false));
|
|
84
|
+
});
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
exports.StackMonitoringWaiter = StackMonitoringWaiter;
|
|
88
|
+
//# sourceMappingURL=stackmonitoring-waiter.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"stackmonitoring-waiter.js","sourceRoot":"","sources":["../../../../lib/stackmonitoring/lib/stackmonitoring-waiter.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAIH,gDAAkC;AAElC,2CAAgG;AAEhG,MAAa,qBAAqB;IAChC,YACU,MAA6B,EACpB,MAA4B;QADrC,WAAM,GAAN,MAAM,CAAuB;QACpB,WAAM,GAAN,MAAM,CAAsB;IAC5C,CAAC;IAEJ;;;;;;OAMG;IACU,eAAe,CAC1B,OAA+C,EAC/C,GAAG,YAAqC;;YAExC,OAAO,2CAA8B,CACnC,IAAI,CAAC,MAAM,EACX,GAAG,EAAE,CAAC,IAAI,CAAC,MAAM,CAAC,eAAe,CAAC,OAAO,CAAC,EAC1C,QAAQ,CAAC,EAAE,CAAC,YAAY,CAAC,QAAQ,CAAC,QAAQ,CAAC,YAAY,CAAC,cAAe,CAAC,EACxE,YAAY,CAAC,QAAQ,CAAC,MAAM,CAAC,cAAc,CAAC,OAAO,CAAC,CACrD,CAAC;QACJ,CAAC;KAAA;IAED;;;;;;OAMG;IACU,oBAAoB,CAC/B,OAAoD,EACpD,GAAG,YAA6C;;YAEhD,OAAO,2CAA8B,CACnC,IAAI,CAAC,MAAM,EACX,GAAG,EAAE,CAAC,IAAI,CAAC,MAAM,CAAC,oBAAoB,CAAC,OAAO,CAAC,EAC/C,QAAQ,CAAC,EAAE,CAAC,YAAY,CAAC,QAAQ,CAAC,QAAQ,CAAC,iBAAiB,CAAC,cAAe,CAAC,EAC7E,YAAY,CAAC,QAAQ,CAAC,MAAM,CAAC,sBAAsB,CAAC,OAAO,CAAC,CAC7D,CAAC;QACJ,CAAC;KAAA;IAED;;;;;OAKG;IACU,cAAc,CACzB,OAA8C;;YAE9C,OAAO,0BAAa,CAClB,IAAI,CAAC,MAAM,EACX,GAAG,EAAE,CAAC,IAAI,CAAC,MAAM,CAAC,cAAc,CAAC,OAAO,CAAC,EACzC,QAAQ,CAAC,EAAE,CAAC,CAAC,QAAQ,CAAC,WAAW,CAAC,YAAY,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC,CAC/D,CAAC;QACJ,CAAC;KAAA;CACF;AA3DD,sDA2DC"}
|
package/package.json
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "oci-stackmonitoring",
|
|
3
|
+
"version": "2.24.0",
|
|
4
|
+
"description": "OCI NodeJS client for Stack Monitoring Service",
|
|
5
|
+
"repository": {
|
|
6
|
+
"type": "git",
|
|
7
|
+
"url": "https://github.com/oracle/oci-typescript-sdk"
|
|
8
|
+
},
|
|
9
|
+
"main": "./index.js",
|
|
10
|
+
"typings": "./index",
|
|
11
|
+
"scripts": {},
|
|
12
|
+
"author": {
|
|
13
|
+
"name": "Oracle Cloud Infrastructure",
|
|
14
|
+
"email": ""
|
|
15
|
+
},
|
|
16
|
+
"license": "(UPL-1.0 OR Apache-2.0)",
|
|
17
|
+
"dependencies": {
|
|
18
|
+
"oci-common": "2.24.0",
|
|
19
|
+
"oci-workrequests": "2.24.0"
|
|
20
|
+
},
|
|
21
|
+
"publishConfig": {
|
|
22
|
+
"registry": "https://registry.npmjs.org"
|
|
23
|
+
},
|
|
24
|
+
"contributors": [
|
|
25
|
+
"Jyoti Saini <jyoti.s.saini@oracle.com>",
|
|
26
|
+
"Joe Levy <joe.levy@oracle.com>",
|
|
27
|
+
"Walt Tran <walt.tran@oracle.com>"
|
|
28
|
+
]
|
|
29
|
+
}
|