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,29 @@
|
|
|
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
|
+
/**
|
|
14
|
+
* Property of monitored resource
|
|
15
|
+
*/
|
|
16
|
+
export interface MonitoredResourceProperty {
|
|
17
|
+
/**
|
|
18
|
+
* property name
|
|
19
|
+
*/
|
|
20
|
+
"name"?: string;
|
|
21
|
+
/**
|
|
22
|
+
* property value
|
|
23
|
+
*/
|
|
24
|
+
"value"?: string;
|
|
25
|
+
}
|
|
26
|
+
export declare namespace MonitoredResourceProperty {
|
|
27
|
+
function getJsonObj(obj: MonitoredResourceProperty): object;
|
|
28
|
+
function getDeserializedJsonObj(obj: MonitoredResourceProperty): object;
|
|
29
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
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
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
exports.MonitoredResourceProperty = void 0;
|
|
16
|
+
var MonitoredResourceProperty;
|
|
17
|
+
(function (MonitoredResourceProperty) {
|
|
18
|
+
function getJsonObj(obj) {
|
|
19
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
20
|
+
return jsonObj;
|
|
21
|
+
}
|
|
22
|
+
MonitoredResourceProperty.getJsonObj = getJsonObj;
|
|
23
|
+
function getDeserializedJsonObj(obj) {
|
|
24
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
25
|
+
return jsonObj;
|
|
26
|
+
}
|
|
27
|
+
MonitoredResourceProperty.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
28
|
+
})(MonitoredResourceProperty = exports.MonitoredResourceProperty || (exports.MonitoredResourceProperty = {}));
|
|
29
|
+
//# sourceMappingURL=monitored-resource-property.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"monitored-resource-property.js","sourceRoot":"","sources":["../../../../../lib/stackmonitoring/lib/model/monitored-resource-property.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;AAmBH,IAAiB,yBAAyB,CAWzC;AAXD,WAAiB,yBAAyB;IACxC,SAAgB,UAAU,CAAC,GAA8B;QACvD,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,oCAAU,aAIzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAA8B;QACnE,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,gDAAsB,yBAIrC,CAAA;AACH,CAAC,EAXgB,yBAAyB,GAAzB,iCAAyB,KAAzB,iCAAyB,QAWzC"}
|
|
@@ -0,0 +1,86 @@
|
|
|
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 model from "../model";
|
|
14
|
+
/**
|
|
15
|
+
* The information about monitored resource.
|
|
16
|
+
*/
|
|
17
|
+
export interface MonitoredResourceSummary {
|
|
18
|
+
/**
|
|
19
|
+
* The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of monitored resource.
|
|
20
|
+
*/
|
|
21
|
+
"id": string;
|
|
22
|
+
/**
|
|
23
|
+
* Name of the monitored resource
|
|
24
|
+
*/
|
|
25
|
+
"name": string;
|
|
26
|
+
/**
|
|
27
|
+
* Monitored resource display name.
|
|
28
|
+
*/
|
|
29
|
+
"displayName"?: string;
|
|
30
|
+
/**
|
|
31
|
+
* Type of the monitored resource
|
|
32
|
+
*/
|
|
33
|
+
"type": string;
|
|
34
|
+
/**
|
|
35
|
+
* Resource Host Name
|
|
36
|
+
*/
|
|
37
|
+
"hostName"?: string;
|
|
38
|
+
/**
|
|
39
|
+
* Management Agent Identifier [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
|
|
40
|
+
*/
|
|
41
|
+
"managementAgentId"?: string;
|
|
42
|
+
/**
|
|
43
|
+
* Monitored resource creation time. An RFC3339 formatted datetime string
|
|
44
|
+
*/
|
|
45
|
+
"timeCreated"?: Date;
|
|
46
|
+
/**
|
|
47
|
+
* Monitored resource updation time. An RFC3339 formatted datetime string
|
|
48
|
+
*/
|
|
49
|
+
"timeUpdated"?: Date;
|
|
50
|
+
/**
|
|
51
|
+
* The current state of the monitored resource.
|
|
52
|
+
*/
|
|
53
|
+
"lifecycleState"?: model.ResourceLifecycleState;
|
|
54
|
+
/**
|
|
55
|
+
* Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
|
|
56
|
+
* Example: `{\"bar-key\": \"value\"}`
|
|
57
|
+
*
|
|
58
|
+
*/
|
|
59
|
+
"freeformTags"?: {
|
|
60
|
+
[key: string]: string;
|
|
61
|
+
};
|
|
62
|
+
/**
|
|
63
|
+
* Defined tags for this resource. Each key is predefined and scoped to a namespace.
|
|
64
|
+
* Example: `{\"foo-namespace\": {\"bar-key\": \"value\"}}`
|
|
65
|
+
*
|
|
66
|
+
*/
|
|
67
|
+
"definedTags"?: {
|
|
68
|
+
[key: string]: {
|
|
69
|
+
[key: string]: any;
|
|
70
|
+
};
|
|
71
|
+
};
|
|
72
|
+
/**
|
|
73
|
+
* Usage of system tag keys. These predefined keys are scoped to namespaces.
|
|
74
|
+
* Example: `{\"orcl-cloud\": {\"free-tier-retained\": \"true\"}}`
|
|
75
|
+
*
|
|
76
|
+
*/
|
|
77
|
+
"systemTags"?: {
|
|
78
|
+
[key: string]: {
|
|
79
|
+
[key: string]: any;
|
|
80
|
+
};
|
|
81
|
+
};
|
|
82
|
+
}
|
|
83
|
+
export declare namespace MonitoredResourceSummary {
|
|
84
|
+
function getJsonObj(obj: MonitoredResourceSummary): object;
|
|
85
|
+
function getDeserializedJsonObj(obj: MonitoredResourceSummary): object;
|
|
86
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
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
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
exports.MonitoredResourceSummary = void 0;
|
|
16
|
+
var MonitoredResourceSummary;
|
|
17
|
+
(function (MonitoredResourceSummary) {
|
|
18
|
+
function getJsonObj(obj) {
|
|
19
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
20
|
+
return jsonObj;
|
|
21
|
+
}
|
|
22
|
+
MonitoredResourceSummary.getJsonObj = getJsonObj;
|
|
23
|
+
function getDeserializedJsonObj(obj) {
|
|
24
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
25
|
+
return jsonObj;
|
|
26
|
+
}
|
|
27
|
+
MonitoredResourceSummary.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
28
|
+
})(MonitoredResourceSummary = exports.MonitoredResourceSummary || (exports.MonitoredResourceSummary = {}));
|
|
29
|
+
//# sourceMappingURL=monitored-resource-summary.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"monitored-resource-summary.js","sourceRoot":"","sources":["../../../../../lib/stackmonitoring/lib/model/monitored-resource-summary.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;AAiEH,IAAiB,wBAAwB,CAWxC;AAXD,WAAiB,wBAAwB;IACvC,SAAgB,UAAU,CAAC,GAA6B;QACtD,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,mCAAU,aAIzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAA6B;QAClE,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,+CAAsB,yBAIrC,CAAA;AACH,CAAC,EAXgB,wBAAwB,GAAxB,gCAAwB,KAAxB,gCAAwB,QAWxC"}
|
|
@@ -0,0 +1,105 @@
|
|
|
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 model from "../model";
|
|
14
|
+
/**
|
|
15
|
+
* The information about monitored resource.
|
|
16
|
+
*/
|
|
17
|
+
export interface MonitoredResource {
|
|
18
|
+
/**
|
|
19
|
+
* The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of monitored resource.
|
|
20
|
+
*/
|
|
21
|
+
"id": string;
|
|
22
|
+
/**
|
|
23
|
+
* Monitored resource name.
|
|
24
|
+
*/
|
|
25
|
+
"name": string;
|
|
26
|
+
/**
|
|
27
|
+
* Monitored resource display name.
|
|
28
|
+
*/
|
|
29
|
+
"displayName"?: string;
|
|
30
|
+
/**
|
|
31
|
+
* Monitored resource type
|
|
32
|
+
*/
|
|
33
|
+
"type": string;
|
|
34
|
+
/**
|
|
35
|
+
* Compartment Identifier [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm)
|
|
36
|
+
*/
|
|
37
|
+
"compartmentId": string;
|
|
38
|
+
/**
|
|
39
|
+
* Tenancy Identifier [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm)
|
|
40
|
+
*/
|
|
41
|
+
"tenantId": string;
|
|
42
|
+
/**
|
|
43
|
+
* Monitored resource host name.
|
|
44
|
+
*/
|
|
45
|
+
"hostName"?: string;
|
|
46
|
+
/**
|
|
47
|
+
* Management Agent Identifier [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
|
|
48
|
+
*/
|
|
49
|
+
"managementAgentId"?: string;
|
|
50
|
+
/**
|
|
51
|
+
* Time zone in the form of tz database canonical zone ID.
|
|
52
|
+
*/
|
|
53
|
+
"resourceTimeZone"?: string;
|
|
54
|
+
/**
|
|
55
|
+
* The time the the resource was created. An RFC3339 formatted datetime string
|
|
56
|
+
*/
|
|
57
|
+
"timeCreated"?: Date;
|
|
58
|
+
/**
|
|
59
|
+
* The time the the resource was updated. An RFC3339 formatted datetime string
|
|
60
|
+
*/
|
|
61
|
+
"timeUpdated"?: Date;
|
|
62
|
+
/**
|
|
63
|
+
* Lifecycle state of the monitored resource.
|
|
64
|
+
*/
|
|
65
|
+
"lifecycleState"?: model.ResourceLifecycleState;
|
|
66
|
+
/**
|
|
67
|
+
* List of monitored resource properties
|
|
68
|
+
*/
|
|
69
|
+
"properties"?: Array<model.MonitoredResourceProperty>;
|
|
70
|
+
"databaseConnectionDetails"?: model.ConnectionDetails;
|
|
71
|
+
"credentials"?: model.PreExistingCredentials | model.EncryptedCredentials | model.PlainTextCredentials;
|
|
72
|
+
"aliases"?: model.MonitoredResourceAliasCredential;
|
|
73
|
+
/**
|
|
74
|
+
* Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
|
|
75
|
+
* Example: `{\"bar-key\": \"value\"}`
|
|
76
|
+
*
|
|
77
|
+
*/
|
|
78
|
+
"freeformTags"?: {
|
|
79
|
+
[key: string]: string;
|
|
80
|
+
};
|
|
81
|
+
/**
|
|
82
|
+
* Defined tags for this resource. Each key is predefined and scoped to a namespace.
|
|
83
|
+
* Example: `{\"foo-namespace\": {\"bar-key\": \"value\"}}`
|
|
84
|
+
*
|
|
85
|
+
*/
|
|
86
|
+
"definedTags"?: {
|
|
87
|
+
[key: string]: {
|
|
88
|
+
[key: string]: any;
|
|
89
|
+
};
|
|
90
|
+
};
|
|
91
|
+
/**
|
|
92
|
+
* Usage of system tag keys. These predefined keys are scoped to namespaces.
|
|
93
|
+
* Example: `{\"orcl-cloud\": {\"free-tier-retained\": \"true\"}}`
|
|
94
|
+
*
|
|
95
|
+
*/
|
|
96
|
+
"systemTags"?: {
|
|
97
|
+
[key: string]: {
|
|
98
|
+
[key: string]: any;
|
|
99
|
+
};
|
|
100
|
+
};
|
|
101
|
+
}
|
|
102
|
+
export declare namespace MonitoredResource {
|
|
103
|
+
function getJsonObj(obj: MonitoredResource): object;
|
|
104
|
+
function getDeserializedJsonObj(obj: MonitoredResource): object;
|
|
105
|
+
}
|
|
@@ -0,0 +1,79 @@
|
|
|
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
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
34
|
+
exports.MonitoredResource = void 0;
|
|
35
|
+
const model = __importStar(require("../model"));
|
|
36
|
+
var MonitoredResource;
|
|
37
|
+
(function (MonitoredResource) {
|
|
38
|
+
function getJsonObj(obj) {
|
|
39
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
40
|
+
"properties": obj.properties
|
|
41
|
+
? obj.properties.map(item => {
|
|
42
|
+
return model.MonitoredResourceProperty.getJsonObj(item);
|
|
43
|
+
})
|
|
44
|
+
: undefined,
|
|
45
|
+
"databaseConnectionDetails": obj.databaseConnectionDetails
|
|
46
|
+
? model.ConnectionDetails.getJsonObj(obj.databaseConnectionDetails)
|
|
47
|
+
: undefined,
|
|
48
|
+
"credentials": obj.credentials
|
|
49
|
+
? model.MonitoredResourceCredential.getJsonObj(obj.credentials)
|
|
50
|
+
: undefined,
|
|
51
|
+
"aliases": obj.aliases
|
|
52
|
+
? model.MonitoredResourceAliasCredential.getJsonObj(obj.aliases)
|
|
53
|
+
: undefined
|
|
54
|
+
});
|
|
55
|
+
return jsonObj;
|
|
56
|
+
}
|
|
57
|
+
MonitoredResource.getJsonObj = getJsonObj;
|
|
58
|
+
function getDeserializedJsonObj(obj) {
|
|
59
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
60
|
+
"properties": obj.properties
|
|
61
|
+
? obj.properties.map(item => {
|
|
62
|
+
return model.MonitoredResourceProperty.getDeserializedJsonObj(item);
|
|
63
|
+
})
|
|
64
|
+
: undefined,
|
|
65
|
+
"databaseConnectionDetails": obj.databaseConnectionDetails
|
|
66
|
+
? model.ConnectionDetails.getDeserializedJsonObj(obj.databaseConnectionDetails)
|
|
67
|
+
: undefined,
|
|
68
|
+
"credentials": obj.credentials
|
|
69
|
+
? model.MonitoredResourceCredential.getDeserializedJsonObj(obj.credentials)
|
|
70
|
+
: undefined,
|
|
71
|
+
"aliases": obj.aliases
|
|
72
|
+
? model.MonitoredResourceAliasCredential.getDeserializedJsonObj(obj.aliases)
|
|
73
|
+
: undefined
|
|
74
|
+
});
|
|
75
|
+
return jsonObj;
|
|
76
|
+
}
|
|
77
|
+
MonitoredResource.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
78
|
+
})(MonitoredResource = exports.MonitoredResource || (exports.MonitoredResource = {}));
|
|
79
|
+
//# sourceMappingURL=monitored-resource.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"monitored-resource.js","sourceRoot":"","sources":["../../../../../lib/stackmonitoring/lib/model/monitored-resource.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAqFlC,IAAiB,iBAAiB,CA+CjC;AA/CD,WAAiB,iBAAiB;IAChC,SAAgB,UAAU,CAAC,GAAsB;QAC/C,MAAM,OAAO,mCACR,GAAG,GACH;YACD,YAAY,EAAE,GAAG,CAAC,UAAU;gBAC1B,CAAC,CAAC,GAAG,CAAC,UAAU,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACxB,OAAO,KAAK,CAAC,yBAAyB,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;gBAC1D,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;YACb,2BAA2B,EAAE,GAAG,CAAC,yBAAyB;gBACxD,CAAC,CAAC,KAAK,CAAC,iBAAiB,CAAC,UAAU,CAAC,GAAG,CAAC,yBAAyB,CAAC;gBACnE,CAAC,CAAC,SAAS;YACb,aAAa,EAAE,GAAG,CAAC,WAAW;gBAC5B,CAAC,CAAC,KAAK,CAAC,2BAA2B,CAAC,UAAU,CAAC,GAAG,CAAC,WAAW,CAAC;gBAC/D,CAAC,CAAC,SAAS;YACb,SAAS,EAAE,GAAG,CAAC,OAAO;gBACpB,CAAC,CAAC,KAAK,CAAC,gCAAgC,CAAC,UAAU,CAAC,GAAG,CAAC,OAAO,CAAC;gBAChE,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAtBe,4BAAU,aAsBzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAsB;QAC3D,MAAM,OAAO,mCACR,GAAG,GACH;YACD,YAAY,EAAE,GAAG,CAAC,UAAU;gBAC1B,CAAC,CAAC,GAAG,CAAC,UAAU,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACxB,OAAO,KAAK,CAAC,yBAAyB,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBACtE,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;YACb,2BAA2B,EAAE,GAAG,CAAC,yBAAyB;gBACxD,CAAC,CAAC,KAAK,CAAC,iBAAiB,CAAC,sBAAsB,CAAC,GAAG,CAAC,yBAAyB,CAAC;gBAC/E,CAAC,CAAC,SAAS;YACb,aAAa,EAAE,GAAG,CAAC,WAAW;gBAC5B,CAAC,CAAC,KAAK,CAAC,2BAA2B,CAAC,sBAAsB,CAAC,GAAG,CAAC,WAAW,CAAC;gBAC3E,CAAC,CAAC,SAAS;YACb,SAAS,EAAE,GAAG,CAAC,OAAO;gBACpB,CAAC,CAAC,KAAK,CAAC,gCAAgC,CAAC,sBAAsB,CAAC,GAAG,CAAC,OAAO,CAAC;gBAC5E,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAtBe,wCAAsB,yBAsBrC,CAAA;AACH,CAAC,EA/CgB,iBAAiB,GAAjB,yBAAiB,KAAjB,yBAAiB,QA+CjC"}
|
|
@@ -0,0 +1,33 @@
|
|
|
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
|
+
/**
|
|
14
|
+
* Possible operation status.
|
|
15
|
+
**/
|
|
16
|
+
export declare enum OperationStatus {
|
|
17
|
+
Accepted = "ACCEPTED",
|
|
18
|
+
InProgress = "IN_PROGRESS",
|
|
19
|
+
Waiting = "WAITING",
|
|
20
|
+
Failed = "FAILED",
|
|
21
|
+
Succeeded = "SUCCEEDED",
|
|
22
|
+
Canceling = "CANCELING",
|
|
23
|
+
Canceled = "CANCELED",
|
|
24
|
+
/**
|
|
25
|
+
* This value is used if a service returns a value for this enum that is not recognized by this
|
|
26
|
+
* version of the SDK.
|
|
27
|
+
*/
|
|
28
|
+
UnknownValue = "UNKNOWN_VALUE"
|
|
29
|
+
}
|
|
30
|
+
export declare namespace OperationStatus {
|
|
31
|
+
function getJsonObj(obj: OperationStatus): OperationStatus;
|
|
32
|
+
function getDeserializedJsonObj(obj: OperationStatus): OperationStatus;
|
|
33
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
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
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
exports.OperationStatus = void 0;
|
|
16
|
+
/**
|
|
17
|
+
* Possible operation status.
|
|
18
|
+
**/
|
|
19
|
+
var OperationStatus;
|
|
20
|
+
(function (OperationStatus) {
|
|
21
|
+
OperationStatus["Accepted"] = "ACCEPTED";
|
|
22
|
+
OperationStatus["InProgress"] = "IN_PROGRESS";
|
|
23
|
+
OperationStatus["Waiting"] = "WAITING";
|
|
24
|
+
OperationStatus["Failed"] = "FAILED";
|
|
25
|
+
OperationStatus["Succeeded"] = "SUCCEEDED";
|
|
26
|
+
OperationStatus["Canceling"] = "CANCELING";
|
|
27
|
+
OperationStatus["Canceled"] = "CANCELED";
|
|
28
|
+
/**
|
|
29
|
+
* This value is used if a service returns a value for this enum that is not recognized by this
|
|
30
|
+
* version of the SDK.
|
|
31
|
+
*/
|
|
32
|
+
OperationStatus["UnknownValue"] = "UNKNOWN_VALUE";
|
|
33
|
+
})(OperationStatus = exports.OperationStatus || (exports.OperationStatus = {}));
|
|
34
|
+
(function (OperationStatus) {
|
|
35
|
+
function getJsonObj(obj) {
|
|
36
|
+
return obj;
|
|
37
|
+
}
|
|
38
|
+
OperationStatus.getJsonObj = getJsonObj;
|
|
39
|
+
function getDeserializedJsonObj(obj) {
|
|
40
|
+
return obj;
|
|
41
|
+
}
|
|
42
|
+
OperationStatus.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
43
|
+
})(OperationStatus = exports.OperationStatus || (exports.OperationStatus = {}));
|
|
44
|
+
//# sourceMappingURL=operation-status.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"operation-status.js","sourceRoot":"","sources":["../../../../../lib/stackmonitoring/lib/model/operation-status.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;AAKH;;IAEI;AACJ,IAAY,eAcX;AAdD,WAAY,eAAe;IACzB,wCAAqB,CAAA;IACrB,6CAA0B,CAAA;IAC1B,sCAAmB,CAAA;IACnB,oCAAiB,CAAA;IACjB,0CAAuB,CAAA;IACvB,0CAAuB,CAAA;IACvB,wCAAqB,CAAA;IAErB;;;OAGG;IACH,iDAA8B,CAAA;AAChC,CAAC,EAdW,eAAe,GAAf,uBAAe,KAAf,uBAAe,QAc1B;AAED,WAAiB,eAAe;IAC9B,SAAgB,UAAU,CAAC,GAAoB;QAC7C,OAAO,GAAG,CAAC;IACb,CAAC;IAFe,0BAAU,aAEzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAoB;QACzD,OAAO,GAAG,CAAC;IACb,CAAC;IAFe,sCAAsB,yBAErC,CAAA;AACH,CAAC,EAPgB,eAAe,GAAf,uBAAe,KAAf,uBAAe,QAO/B"}
|
|
@@ -0,0 +1,33 @@
|
|
|
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
|
+
/**
|
|
14
|
+
* Possible operation types.
|
|
15
|
+
**/
|
|
16
|
+
export declare enum OperationType {
|
|
17
|
+
CreateResources = "CREATE_RESOURCES",
|
|
18
|
+
UpdateResources = "UPDATE_RESOURCES",
|
|
19
|
+
DeleteResources = "DELETE_RESOURCES",
|
|
20
|
+
MoveResources = "MOVE_RESOURCES",
|
|
21
|
+
EnableExternalDatabase = "ENABLE_EXTERNAL_DATABASE",
|
|
22
|
+
DisableExternalDatabase = "DISABLE_EXTERNAL_DATABASE",
|
|
23
|
+
AddSourcesToAgent = "ADD_SOURCES_TO_AGENT",
|
|
24
|
+
/**
|
|
25
|
+
* This value is used if a service returns a value for this enum that is not recognized by this
|
|
26
|
+
* version of the SDK.
|
|
27
|
+
*/
|
|
28
|
+
UnknownValue = "UNKNOWN_VALUE"
|
|
29
|
+
}
|
|
30
|
+
export declare namespace OperationType {
|
|
31
|
+
function getJsonObj(obj: OperationType): OperationType;
|
|
32
|
+
function getDeserializedJsonObj(obj: OperationType): OperationType;
|
|
33
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
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
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
exports.OperationType = void 0;
|
|
16
|
+
/**
|
|
17
|
+
* Possible operation types.
|
|
18
|
+
**/
|
|
19
|
+
var OperationType;
|
|
20
|
+
(function (OperationType) {
|
|
21
|
+
OperationType["CreateResources"] = "CREATE_RESOURCES";
|
|
22
|
+
OperationType["UpdateResources"] = "UPDATE_RESOURCES";
|
|
23
|
+
OperationType["DeleteResources"] = "DELETE_RESOURCES";
|
|
24
|
+
OperationType["MoveResources"] = "MOVE_RESOURCES";
|
|
25
|
+
OperationType["EnableExternalDatabase"] = "ENABLE_EXTERNAL_DATABASE";
|
|
26
|
+
OperationType["DisableExternalDatabase"] = "DISABLE_EXTERNAL_DATABASE";
|
|
27
|
+
OperationType["AddSourcesToAgent"] = "ADD_SOURCES_TO_AGENT";
|
|
28
|
+
/**
|
|
29
|
+
* This value is used if a service returns a value for this enum that is not recognized by this
|
|
30
|
+
* version of the SDK.
|
|
31
|
+
*/
|
|
32
|
+
OperationType["UnknownValue"] = "UNKNOWN_VALUE";
|
|
33
|
+
})(OperationType = exports.OperationType || (exports.OperationType = {}));
|
|
34
|
+
(function (OperationType) {
|
|
35
|
+
function getJsonObj(obj) {
|
|
36
|
+
return obj;
|
|
37
|
+
}
|
|
38
|
+
OperationType.getJsonObj = getJsonObj;
|
|
39
|
+
function getDeserializedJsonObj(obj) {
|
|
40
|
+
return obj;
|
|
41
|
+
}
|
|
42
|
+
OperationType.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
43
|
+
})(OperationType = exports.OperationType || (exports.OperationType = {}));
|
|
44
|
+
//# sourceMappingURL=operation-type.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"operation-type.js","sourceRoot":"","sources":["../../../../../lib/stackmonitoring/lib/model/operation-type.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;AAKH;;IAEI;AACJ,IAAY,aAcX;AAdD,WAAY,aAAa;IACvB,qDAAoC,CAAA;IACpC,qDAAoC,CAAA;IACpC,qDAAoC,CAAA;IACpC,iDAAgC,CAAA;IAChC,oEAAmD,CAAA;IACnD,sEAAqD,CAAA;IACrD,2DAA0C,CAAA;IAE1C;;;OAGG;IACH,+CAA8B,CAAA;AAChC,CAAC,EAdW,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAcxB;AAED,WAAiB,aAAa;IAC5B,SAAgB,UAAU,CAAC,GAAkB;QAC3C,OAAO,GAAG,CAAC;IACb,CAAC;IAFe,wBAAU,aAEzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAkB;QACvD,OAAO,GAAG,CAAC;IACb,CAAC;IAFe,oCAAsB,yBAErC,CAAA;AACH,CAAC,EAPgB,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAO7B"}
|
|
@@ -0,0 +1,29 @@
|
|
|
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 model from "../model";
|
|
14
|
+
/**
|
|
15
|
+
* Plain text credentials [indicated by the type property in CredentialStore].
|
|
16
|
+
*
|
|
17
|
+
*/
|
|
18
|
+
export interface PlainTextCredentials extends model.MonitoredResourceCredential {
|
|
19
|
+
/**
|
|
20
|
+
* The credential properties list. Credential property values will be either in plain text format.
|
|
21
|
+
*/
|
|
22
|
+
"properties": Array<model.CredentialProperty>;
|
|
23
|
+
"credentialType": string;
|
|
24
|
+
}
|
|
25
|
+
export declare namespace PlainTextCredentials {
|
|
26
|
+
function getJsonObj(obj: PlainTextCredentials, isParentJsonObj?: boolean): object;
|
|
27
|
+
const credentialType = "PLAINTEXT";
|
|
28
|
+
function getDeserializedJsonObj(obj: PlainTextCredentials, isParentJsonObj?: boolean): object;
|
|
29
|
+
}
|
|
@@ -0,0 +1,66 @@
|
|
|
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
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
34
|
+
exports.PlainTextCredentials = void 0;
|
|
35
|
+
const model = __importStar(require("../model"));
|
|
36
|
+
var PlainTextCredentials;
|
|
37
|
+
(function (PlainTextCredentials) {
|
|
38
|
+
function getJsonObj(obj, isParentJsonObj) {
|
|
39
|
+
const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
|
|
40
|
+
? obj
|
|
41
|
+
: model.MonitoredResourceCredential.getJsonObj(obj))), {
|
|
42
|
+
"properties": obj.properties
|
|
43
|
+
? obj.properties.map(item => {
|
|
44
|
+
return model.CredentialProperty.getJsonObj(item);
|
|
45
|
+
})
|
|
46
|
+
: undefined
|
|
47
|
+
});
|
|
48
|
+
return jsonObj;
|
|
49
|
+
}
|
|
50
|
+
PlainTextCredentials.getJsonObj = getJsonObj;
|
|
51
|
+
PlainTextCredentials.credentialType = "PLAINTEXT";
|
|
52
|
+
function getDeserializedJsonObj(obj, isParentJsonObj) {
|
|
53
|
+
const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
|
|
54
|
+
? obj
|
|
55
|
+
: model.MonitoredResourceCredential.getDeserializedJsonObj(obj))), {
|
|
56
|
+
"properties": obj.properties
|
|
57
|
+
? obj.properties.map(item => {
|
|
58
|
+
return model.CredentialProperty.getDeserializedJsonObj(item);
|
|
59
|
+
})
|
|
60
|
+
: undefined
|
|
61
|
+
});
|
|
62
|
+
return jsonObj;
|
|
63
|
+
}
|
|
64
|
+
PlainTextCredentials.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
65
|
+
})(PlainTextCredentials = exports.PlainTextCredentials || (exports.PlainTextCredentials = {}));
|
|
66
|
+
//# sourceMappingURL=plain-text-credentials.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"plain-text-credentials.js","sourceRoot":"","sources":["../../../../../lib/stackmonitoring/lib/model/plain-text-credentials.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAgBlC,IAAiB,oBAAoB,CAqCpC;AArCD,WAAiB,oBAAoB;IACnC,SAAgB,UAAU,CAAC,GAAyB,EAAE,eAAyB;QAC7E,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,2BAA2B,CAAC,UAAU,CAAC,GAAG,CAA0B,CAAC,GAC7E;YACD,YAAY,EAAE,GAAG,CAAC,UAAU;gBAC1B,CAAC,CAAC,GAAG,CAAC,UAAU,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACxB,OAAO,KAAK,CAAC,kBAAkB,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;gBACnD,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAfe,+BAAU,aAezB,CAAA;IACY,mCAAc,GAAG,WAAW,CAAC;IAC1C,SAAgB,sBAAsB,CACpC,GAAyB,EACzB,eAAyB;QAEzB,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,2BAA2B,CAAC,sBAAsB,CAAC,GAAG,CAA0B,CAAC,GACzF;YACD,YAAY,EAAE,GAAG,CAAC,UAAU;gBAC1B,CAAC,CAAC,GAAG,CAAC,UAAU,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACxB,OAAO,KAAK,CAAC,kBAAkB,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBAC/D,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAlBe,2CAAsB,yBAkBrC,CAAA;AACH,CAAC,EArCgB,oBAAoB,GAApB,4BAAoB,KAApB,4BAAoB,QAqCpC"}
|