oci-stackmonitoring 2.69.0 → 2.70.1

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.
Files changed (102) hide show
  1. package/lib/client.d.ts +95 -22
  2. package/lib/client.js +414 -22
  3. package/lib/client.js.map +1 -1
  4. package/lib/model/auto-promote-config-details.d.ts +44 -0
  5. package/lib/model/auto-promote-config-details.js +61 -0
  6. package/lib/model/auto-promote-config-details.js.map +1 -0
  7. package/lib/model/auto-promote-config-summary.d.ts +41 -0
  8. package/lib/model/auto-promote-config-summary.js +63 -0
  9. package/lib/model/auto-promote-config-summary.js.map +1 -0
  10. package/lib/model/change-config-compartment-details.d.ts +27 -0
  11. package/lib/model/change-config-compartment-details.js +29 -0
  12. package/lib/model/change-config-compartment-details.js.map +1 -0
  13. package/lib/model/config-collection.d.ts +26 -0
  14. package/lib/model/config-collection.js +61 -0
  15. package/lib/model/config-collection.js.map +1 -0
  16. package/lib/model/config-summary.d.ts +74 -0
  17. package/lib/model/config-summary.js +68 -0
  18. package/lib/model/config-summary.js.map +1 -0
  19. package/lib/model/config.d.ts +93 -0
  20. package/lib/model/config.js +82 -0
  21. package/lib/model/config.js.map +1 -0
  22. package/lib/model/create-auto-promote-config-details.d.ts +36 -0
  23. package/lib/model/create-auto-promote-config-details.js +58 -0
  24. package/lib/model/create-auto-promote-config-details.js.map +1 -0
  25. package/lib/model/create-config-details.d.ts +48 -0
  26. package/lib/model/create-config-details.js +68 -0
  27. package/lib/model/create-config-details.js.map +1 -0
  28. package/lib/model/index.d.ts +20 -0
  29. package/lib/model/index.js +22 -2
  30. package/lib/model/index.js.map +1 -1
  31. package/lib/model/update-auto-promote-config-details.d.ts +29 -0
  32. package/lib/model/update-auto-promote-config-details.js +54 -0
  33. package/lib/model/update-auto-promote-config-details.js.map +1 -0
  34. package/lib/model/update-config-details.d.ts +44 -0
  35. package/lib/model/update-config-details.js +68 -0
  36. package/lib/model/update-config-details.js.map +1 -0
  37. package/lib/request/associate-monitored-resources-request.d.ts +1 -1
  38. package/lib/request/change-config-compartment-request.d.ts +51 -0
  39. package/lib/request/change-config-compartment-request.js +15 -0
  40. package/lib/request/change-config-compartment-request.js.map +1 -0
  41. package/lib/request/change-monitored-resource-compartment-request.d.ts +1 -1
  42. package/lib/request/create-config-request.d.ts +38 -0
  43. package/lib/request/create-config-request.js +15 -0
  44. package/lib/request/create-config-request.js.map +1 -0
  45. package/lib/request/create-discovery-job-request.d.ts +1 -1
  46. package/lib/request/create-monitored-resource-request.d.ts +1 -1
  47. package/lib/request/delete-config-request.d.ts +37 -0
  48. package/lib/request/delete-config-request.js +15 -0
  49. package/lib/request/delete-config-request.js.map +1 -0
  50. package/lib/request/delete-discovery-job-request.d.ts +1 -1
  51. package/lib/request/delete-monitored-resource-request.d.ts +1 -1
  52. package/lib/request/disable-external-database-request.d.ts +1 -1
  53. package/lib/request/disassociate-monitored-resources-request.d.ts +1 -1
  54. package/lib/request/get-config-request.d.ts +28 -0
  55. package/lib/request/get-config-request.js +15 -0
  56. package/lib/request/get-config-request.js.map +1 -0
  57. package/lib/request/get-discovery-job-request.d.ts +1 -1
  58. package/lib/request/get-monitored-resource-request.d.ts +1 -1
  59. package/lib/request/get-work-request-request.d.ts +1 -1
  60. package/lib/request/index.d.ts +12 -0
  61. package/lib/request/index.js +3 -1
  62. package/lib/request/index.js.map +1 -1
  63. package/lib/request/list-configs-request.d.ts +74 -0
  64. package/lib/request/list-configs-request.js +25 -0
  65. package/lib/request/list-configs-request.js.map +1 -0
  66. package/lib/request/list-discovery-job-logs-request.d.ts +1 -1
  67. package/lib/request/list-discovery-jobs-request.d.ts +1 -1
  68. package/lib/request/list-work-request-errors-request.d.ts +1 -1
  69. package/lib/request/list-work-request-logs-request.d.ts +1 -1
  70. package/lib/request/list-work-requests-request.d.ts +1 -1
  71. package/lib/request/search-associated-resources-request.d.ts +1 -1
  72. package/lib/request/search-monitored-resource-associations-request.d.ts +1 -1
  73. package/lib/request/search-monitored-resource-members-request.d.ts +1 -1
  74. package/lib/request/search-monitored-resources-request.d.ts +1 -1
  75. package/lib/request/update-and-propagate-tags-request.d.ts +1 -1
  76. package/lib/request/update-config-request.d.ts +42 -0
  77. package/lib/request/update-config-request.js +15 -0
  78. package/lib/request/update-config-request.js.map +1 -0
  79. package/lib/request/update-monitored-resource-request.d.ts +1 -1
  80. package/lib/response/change-config-compartment-response.d.ts +20 -0
  81. package/lib/response/change-config-compartment-response.js +15 -0
  82. package/lib/response/change-config-compartment-response.js.map +1 -0
  83. package/lib/response/create-config-response.d.ts +30 -0
  84. package/lib/response/create-config-response.js +15 -0
  85. package/lib/response/create-config-response.js.map +1 -0
  86. package/lib/response/delete-config-response.d.ts +20 -0
  87. package/lib/response/delete-config-response.js +15 -0
  88. package/lib/response/delete-config-response.js.map +1 -0
  89. package/lib/response/get-config-response.d.ts +30 -0
  90. package/lib/response/get-config-response.js +15 -0
  91. package/lib/response/get-config-response.js.map +1 -0
  92. package/lib/response/index.d.ts +12 -0
  93. package/lib/response/list-configs-response.d.ts +32 -0
  94. package/lib/response/list-configs-response.js +15 -0
  95. package/lib/response/list-configs-response.js.map +1 -0
  96. package/lib/response/update-config-response.d.ts +30 -0
  97. package/lib/response/update-config-response.js +15 -0
  98. package/lib/response/update-config-response.js.map +1 -0
  99. package/lib/stackmonitoring-waiter.d.ts +8 -0
  100. package/lib/stackmonitoring-waiter.js +12 -0
  101. package/lib/stackmonitoring-waiter.js.map +1 -1
  102. package/package.json +3 -3
@@ -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, 2023, 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-configs-response.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-configs-response.js","sourceRoot":"","sources":["../../../../../lib/stackmonitoring/lib/response/list-configs-response.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG"}
@@ -0,0 +1,30 @@
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, 2023, 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 UpdateConfigResponse {
15
+ /**
16
+ * For optimistic concurrency control. See `if-match`.
17
+ *
18
+ */
19
+ "etag": string;
20
+ /**
21
+ * Unique Oracle-assigned identifier for the request. If you need to contact
22
+ * Oracle about a particular request, please provide the request ID.
23
+ *
24
+ */
25
+ "opcRequestId": string;
26
+ /**
27
+ * The returned model.Config instance.
28
+ */
29
+ "config": model.Config;
30
+ }
@@ -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, 2023, 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-config-response.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"update-config-response.js","sourceRoot":"","sources":["../../../../../lib/stackmonitoring/lib/response/update-config-response.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG"}
@@ -18,6 +18,14 @@ export declare class StackMonitoringWaiter {
18
18
  private client;
19
19
  private readonly config?;
20
20
  constructor(client: StackMonitoringClient, config?: Partial<import("oci-common/lib/waiter").WaiterConfigurationDetails> | undefined);
21
+ /**
22
+ * Waits forConfig 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 GetConfigResponse | null (null in case of 404 response)
27
+ */
28
+ forConfig(request: serviceRequests.GetConfigRequest, ...targetStates: models.Config.LifecycleState[]): Promise<serviceResponses.GetConfigResponse | null>;
21
29
  /**
22
30
  * Waits forDiscoveryJob till it reaches any of the provided states
23
31
  *
@@ -48,6 +48,18 @@ class StackMonitoringWaiter {
48
48
  this.client = client;
49
49
  this.config = config;
50
50
  }
51
+ /**
52
+ * Waits forConfig 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 GetConfigResponse | null (null in case of 404 response)
57
+ */
58
+ forConfig(request, ...targetStates) {
59
+ return __awaiter(this, void 0, void 0, function* () {
60
+ return oci_common_1.genericTerminalConditionWaiter(this.config, () => this.client.getConfig(request), response => targetStates.includes(response.config.lifecycleState), targetStates.includes(models.Config.LifecycleState.Deleted));
61
+ });
62
+ }
51
63
  /**
52
64
  * Waits forDiscoveryJob till it reaches any of the provided states
53
65
  *
@@ -1 +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,M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AO,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;AA9ED,sDA8EC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "oci-stackmonitoring",
3
- "version": "2.69.0",
3
+ "version": "2.70.1",
4
4
  "description": "OCI NodeJS client for Stack Monitoring Service",
5
5
  "repository": {
6
6
  "type": "git",
@@ -15,8 +15,8 @@
15
15
  },
16
16
  "license": "(UPL-1.0 OR Apache-2.0)",
17
17
  "dependencies": {
18
- "oci-common": "2.69.0",
19
- "oci-workrequests": "2.69.0"
18
+ "oci-common": "2.70.1",
19
+ "oci-workrequests": "2.70.1"
20
20
  },
21
21
  "publishConfig": {
22
22
  "registry": "https://registry.npmjs.org"