oci-usageapi 2.20.0 → 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/index.d.ts +2 -0
- package/index.js +3 -1
- package/index.js.map +1 -1
- package/lib/client.d.ts +98 -12
- package/lib/client.js +477 -13
- package/lib/client.js.map +1 -1
- package/lib/model/create-schedule-details.d.ts +59 -0
- package/lib/model/create-schedule-details.js +63 -0
- package/lib/model/create-schedule-details.js.map +1 -0
- package/lib/model/date-range.d.ts +24 -0
- package/lib/model/date-range.js +69 -0
- package/lib/model/date-range.js.map +1 -0
- package/lib/model/dynamic-date-range.d.ts +39 -0
- package/lib/model/dynamic-date-range.js +67 -0
- package/lib/model/dynamic-date-range.js.map +1 -0
- package/lib/model/index.d.ts +28 -0
- package/lib/model/index.js +29 -1
- package/lib/model/index.js.map +1 -1
- package/lib/model/object-storage-location.d.ts +36 -0
- package/lib/model/object-storage-location.js +52 -0
- package/lib/model/object-storage-location.js.map +1 -0
- package/lib/model/query-properties.d.ts +78 -0
- package/lib/model/query-properties.js +88 -0
- package/lib/model/query-properties.js.map +1 -0
- package/lib/model/result-location.d.ts +24 -0
- package/lib/model/result-location.js +65 -0
- package/lib/model/result-location.js.map +1 -0
- package/lib/model/schedule-collection.d.ts +26 -0
- package/lib/model/schedule-collection.js +61 -0
- package/lib/model/schedule-collection.js.map +1 -0
- package/lib/model/schedule-summary.d.ts +69 -0
- package/lib/model/schedule-summary.js +29 -0
- package/lib/model/schedule-summary.js.map +1 -0
- package/lib/model/schedule.d.ts +89 -0
- package/lib/model/schedule.js +73 -0
- package/lib/model/schedule.js.map +1 -0
- package/lib/model/scheduled-run-collection.d.ts +26 -0
- package/lib/model/scheduled-run-collection.js +61 -0
- package/lib/model/scheduled-run-collection.js.map +1 -0
- package/lib/model/scheduled-run-summary.d.ts +45 -0
- package/lib/model/scheduled-run-summary.js +29 -0
- package/lib/model/scheduled-run-summary.js.map +1 -0
- package/lib/model/scheduled-run.d.ts +54 -0
- package/lib/model/scheduled-run.js +39 -0
- package/lib/model/scheduled-run.js.map +1 -0
- package/lib/model/static-date-range.d.ts +32 -0
- package/lib/model/static-date-range.js +50 -0
- package/lib/model/static-date-range.js.map +1 -0
- package/lib/model/update-schedule-details.d.ts +39 -0
- package/lib/model/update-schedule-details.js +29 -0
- package/lib/model/update-schedule-details.js.map +1 -0
- package/lib/request/create-custom-table-request.d.ts +1 -1
- package/lib/request/create-query-request.d.ts +1 -1
- package/lib/request/create-schedule-request.d.ts +38 -0
- package/lib/request/create-schedule-request.js +15 -0
- package/lib/request/create-schedule-request.js.map +1 -0
- package/lib/request/delete-custom-table-request.d.ts +1 -1
- package/lib/request/delete-query-request.d.ts +1 -1
- package/lib/request/delete-schedule-request.d.ts +37 -0
- package/lib/request/delete-schedule-request.js +15 -0
- package/lib/request/delete-schedule-request.js.map +1 -0
- package/lib/request/get-custom-table-request.d.ts +1 -1
- package/lib/request/get-query-request.d.ts +1 -1
- package/lib/request/get-schedule-request.d.ts +28 -0
- package/lib/request/get-schedule-request.js +15 -0
- package/lib/request/get-schedule-request.js.map +1 -0
- package/lib/request/get-scheduled-run-request.d.ts +28 -0
- package/lib/request/get-scheduled-run-request.js +15 -0
- package/lib/request/get-scheduled-run-request.js.map +1 -0
- package/lib/request/index.d.ts +14 -0
- package/lib/request/index.js +5 -1
- package/lib/request/index.js.map +1 -1
- package/lib/request/list-custom-tables-request.d.ts +1 -1
- package/lib/request/list-queries-request.d.ts +1 -1
- package/lib/request/list-scheduled-runs-request.d.ts +56 -0
- package/lib/request/list-scheduled-runs-request.js +28 -0
- package/lib/request/list-scheduled-runs-request.js.map +1 -0
- package/lib/request/list-schedules-request.d.ts +62 -0
- package/lib/request/list-schedules-request.js +29 -0
- package/lib/request/list-schedules-request.js.map +1 -0
- package/lib/request/request-summarized-configurations-request.d.ts +1 -1
- package/lib/request/request-summarized-usages-request.d.ts +1 -1
- package/lib/request/update-custom-table-request.d.ts +1 -1
- package/lib/request/update-query-request.d.ts +1 -1
- package/lib/request/update-schedule-request.d.ts +42 -0
- package/lib/request/update-schedule-request.js +15 -0
- package/lib/request/update-schedule-request.js.map +1 -0
- package/lib/response/create-schedule-response.d.ts +29 -0
- package/lib/response/create-schedule-response.js +15 -0
- package/lib/response/create-schedule-response.js.map +1 -0
- package/lib/response/delete-schedule-response.d.ts +20 -0
- package/lib/response/delete-schedule-response.js +15 -0
- package/lib/response/delete-schedule-response.js.map +1 -0
- package/lib/response/get-schedule-response.d.ts +29 -0
- package/lib/response/get-schedule-response.js +15 -0
- package/lib/response/get-schedule-response.js.map +1 -0
- package/lib/response/get-scheduled-run-response.d.ts +29 -0
- package/lib/response/get-scheduled-run-response.js +15 -0
- package/lib/response/get-scheduled-run-response.js.map +1 -0
- package/lib/response/index.d.ts +14 -0
- package/lib/response/list-scheduled-runs-response.d.ts +32 -0
- package/lib/response/list-scheduled-runs-response.js +15 -0
- package/lib/response/list-scheduled-runs-response.js.map +1 -0
- package/lib/response/list-schedules-response.d.ts +32 -0
- package/lib/response/list-schedules-response.js +15 -0
- package/lib/response/list-schedules-response.js.map +1 -0
- package/lib/response/update-schedule-response.d.ts +29 -0
- package/lib/response/update-schedule-response.js +15 -0
- package/lib/response/update-schedule-response.js.map +1 -0
- package/lib/usageapi-waiter.d.ts +37 -0
- package/lib/usageapi-waiter.js +57 -0
- package/lib/usageapi-waiter.js.map +1 -0
- package/package.json +3 -3
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/**
|
|
2
|
+
*
|
|
3
|
+
*
|
|
4
|
+
* OpenAPI spec version: 20200107
|
|
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 GetScheduleResponse {
|
|
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 optimistic concurrency control. See `if-match`.
|
|
23
|
+
*/
|
|
24
|
+
"etag": string;
|
|
25
|
+
/**
|
|
26
|
+
* The returned model.Schedule instance.
|
|
27
|
+
*/
|
|
28
|
+
"schedule": model.Schedule;
|
|
29
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
*
|
|
4
|
+
*
|
|
5
|
+
* OpenAPI spec version: 20200107
|
|
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=get-schedule-response.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-schedule-response.js","sourceRoot":"","sources":["../../../../../lib/usageapi/lib/response/get-schedule-response.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/**
|
|
2
|
+
*
|
|
3
|
+
*
|
|
4
|
+
* OpenAPI spec version: 20200107
|
|
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 GetScheduledRunResponse {
|
|
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 optimistic concurrency control. See `if-match`.
|
|
23
|
+
*/
|
|
24
|
+
"etag": string;
|
|
25
|
+
/**
|
|
26
|
+
* The returned model.ScheduledRun instance.
|
|
27
|
+
*/
|
|
28
|
+
"scheduledRun": model.ScheduledRun;
|
|
29
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
*
|
|
4
|
+
*
|
|
5
|
+
* OpenAPI spec version: 20200107
|
|
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=get-scheduled-run-response.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-scheduled-run-response.js","sourceRoot":"","sources":["../../../../../lib/usageapi/lib/response/get-scheduled-run-response.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG"}
|
package/lib/response/index.d.ts
CHANGED
|
@@ -14,18 +14,30 @@ import * as CreateCustomTableResponse from "./create-custom-table-response";
|
|
|
14
14
|
export import CreateCustomTableResponse = CreateCustomTableResponse.CreateCustomTableResponse;
|
|
15
15
|
import * as CreateQueryResponse from "./create-query-response";
|
|
16
16
|
export import CreateQueryResponse = CreateQueryResponse.CreateQueryResponse;
|
|
17
|
+
import * as CreateScheduleResponse from "./create-schedule-response";
|
|
18
|
+
export import CreateScheduleResponse = CreateScheduleResponse.CreateScheduleResponse;
|
|
17
19
|
import * as DeleteCustomTableResponse from "./delete-custom-table-response";
|
|
18
20
|
export import DeleteCustomTableResponse = DeleteCustomTableResponse.DeleteCustomTableResponse;
|
|
19
21
|
import * as DeleteQueryResponse from "./delete-query-response";
|
|
20
22
|
export import DeleteQueryResponse = DeleteQueryResponse.DeleteQueryResponse;
|
|
23
|
+
import * as DeleteScheduleResponse from "./delete-schedule-response";
|
|
24
|
+
export import DeleteScheduleResponse = DeleteScheduleResponse.DeleteScheduleResponse;
|
|
21
25
|
import * as GetCustomTableResponse from "./get-custom-table-response";
|
|
22
26
|
export import GetCustomTableResponse = GetCustomTableResponse.GetCustomTableResponse;
|
|
23
27
|
import * as GetQueryResponse from "./get-query-response";
|
|
24
28
|
export import GetQueryResponse = GetQueryResponse.GetQueryResponse;
|
|
29
|
+
import * as GetScheduleResponse from "./get-schedule-response";
|
|
30
|
+
export import GetScheduleResponse = GetScheduleResponse.GetScheduleResponse;
|
|
31
|
+
import * as GetScheduledRunResponse from "./get-scheduled-run-response";
|
|
32
|
+
export import GetScheduledRunResponse = GetScheduledRunResponse.GetScheduledRunResponse;
|
|
25
33
|
import * as ListCustomTablesResponse from "./list-custom-tables-response";
|
|
26
34
|
export import ListCustomTablesResponse = ListCustomTablesResponse.ListCustomTablesResponse;
|
|
27
35
|
import * as ListQueriesResponse from "./list-queries-response";
|
|
28
36
|
export import ListQueriesResponse = ListQueriesResponse.ListQueriesResponse;
|
|
37
|
+
import * as ListScheduledRunsResponse from "./list-scheduled-runs-response";
|
|
38
|
+
export import ListScheduledRunsResponse = ListScheduledRunsResponse.ListScheduledRunsResponse;
|
|
39
|
+
import * as ListSchedulesResponse from "./list-schedules-response";
|
|
40
|
+
export import ListSchedulesResponse = ListSchedulesResponse.ListSchedulesResponse;
|
|
29
41
|
import * as RequestSummarizedConfigurationsResponse from "./request-summarized-configurations-response";
|
|
30
42
|
export import RequestSummarizedConfigurationsResponse = RequestSummarizedConfigurationsResponse.RequestSummarizedConfigurationsResponse;
|
|
31
43
|
import * as RequestSummarizedUsagesResponse from "./request-summarized-usages-response";
|
|
@@ -34,3 +46,5 @@ import * as UpdateCustomTableResponse from "./update-custom-table-response";
|
|
|
34
46
|
export import UpdateCustomTableResponse = UpdateCustomTableResponse.UpdateCustomTableResponse;
|
|
35
47
|
import * as UpdateQueryResponse from "./update-query-response";
|
|
36
48
|
export import UpdateQueryResponse = UpdateQueryResponse.UpdateQueryResponse;
|
|
49
|
+
import * as UpdateScheduleResponse from "./update-schedule-response";
|
|
50
|
+
export import UpdateScheduleResponse = UpdateScheduleResponse.UpdateScheduleResponse;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/**
|
|
2
|
+
*
|
|
3
|
+
*
|
|
4
|
+
* OpenAPI spec version: 20200107
|
|
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 ListScheduledRunsResponse {
|
|
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.ScheduledRunCollection instance.
|
|
30
|
+
*/
|
|
31
|
+
"scheduledRunCollection": model.ScheduledRunCollection;
|
|
32
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
*
|
|
4
|
+
*
|
|
5
|
+
* OpenAPI spec version: 20200107
|
|
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-scheduled-runs-response.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-scheduled-runs-response.js","sourceRoot":"","sources":["../../../../../lib/usageapi/lib/response/list-scheduled-runs-response.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/**
|
|
2
|
+
*
|
|
3
|
+
*
|
|
4
|
+
* OpenAPI spec version: 20200107
|
|
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 ListSchedulesResponse {
|
|
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.ScheduleCollection instance.
|
|
30
|
+
*/
|
|
31
|
+
"scheduleCollection": model.ScheduleCollection;
|
|
32
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
*
|
|
4
|
+
*
|
|
5
|
+
* OpenAPI spec version: 20200107
|
|
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-schedules-response.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-schedules-response.js","sourceRoot":"","sources":["../../../../../lib/usageapi/lib/response/list-schedules-response.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/**
|
|
2
|
+
*
|
|
3
|
+
*
|
|
4
|
+
* OpenAPI spec version: 20200107
|
|
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 UpdateScheduleResponse {
|
|
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 optimistic concurrency control. See `if-match`.
|
|
23
|
+
*/
|
|
24
|
+
"etag": string;
|
|
25
|
+
/**
|
|
26
|
+
* The returned model.Schedule instance.
|
|
27
|
+
*/
|
|
28
|
+
"schedule": model.Schedule;
|
|
29
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
*
|
|
4
|
+
*
|
|
5
|
+
* OpenAPI spec version: 20200107
|
|
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-schedule-response.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-schedule-response.js","sourceRoot":"","sources":["../../../../../lib/usageapi/lib/response/update-schedule-response.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Usage API
|
|
3
|
+
* Use the Usage API to view your Oracle Cloud usage and costs. The API allows you to request data that meets the specified filter criteria, and to group that data by the dimension of your choosing. The Usage API is used by the Cost Analysis tool in the Console. Also see [Using the Usage API](/Content/Billing/Concepts/costanalysisoverview.htm#cost_analysis_using_the_api) for more information.
|
|
4
|
+
* OpenAPI spec version: 20200107
|
|
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 { UsageapiClient } from "./client";
|
|
17
|
+
export declare class UsageapiWaiter {
|
|
18
|
+
private client;
|
|
19
|
+
private readonly config?;
|
|
20
|
+
constructor(client: UsageapiClient, config?: Partial<import("oci-common/lib/waiter").WaiterConfigurationDetails> | undefined);
|
|
21
|
+
/**
|
|
22
|
+
* Waits forSchedule 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 GetScheduleResponse
|
|
27
|
+
*/
|
|
28
|
+
forSchedule(request: serviceRequests.GetScheduleRequest, ...targetStates: models.Schedule.LifecycleState[]): Promise<serviceResponses.GetScheduleResponse>;
|
|
29
|
+
/**
|
|
30
|
+
* Waits forScheduledRun 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 GetScheduledRunResponse
|
|
35
|
+
*/
|
|
36
|
+
forScheduledRun(request: serviceRequests.GetScheduledRunRequest, ...targetStates: models.ScheduledRun.LifecycleState[]): Promise<serviceResponses.GetScheduledRunResponse>;
|
|
37
|
+
}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Usage API
|
|
4
|
+
* Use the Usage API to view your Oracle Cloud usage and costs. The API allows you to request data that meets the specified filter criteria, and to group that data by the dimension of your choosing. The Usage API is used by the Cost Analysis tool in the Console. Also see [Using the Usage API](/Content/Billing/Concepts/costanalysisoverview.htm#cost_analysis_using_the_api) for more information.
|
|
5
|
+
* OpenAPI spec version: 20200107
|
|
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 __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
15
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
16
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
17
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
18
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
19
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
20
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
21
|
+
});
|
|
22
|
+
};
|
|
23
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
24
|
+
exports.UsageapiWaiter = void 0;
|
|
25
|
+
const oci_common_1 = require("oci-common");
|
|
26
|
+
class UsageapiWaiter {
|
|
27
|
+
constructor(client, config) {
|
|
28
|
+
this.client = client;
|
|
29
|
+
this.config = config;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Waits forSchedule till it reaches any of the provided states
|
|
33
|
+
*
|
|
34
|
+
* @param request the request to send
|
|
35
|
+
* @param targetStates the desired states to wait for. The waiter will return once the resource reaches any of the provided states
|
|
36
|
+
* @return response returns GetScheduleResponse
|
|
37
|
+
*/
|
|
38
|
+
forSchedule(request, ...targetStates) {
|
|
39
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
40
|
+
return oci_common_1.genericWaiter(this.config, () => this.client.getSchedule(request), response => targetStates.includes(response.schedule.lifecycleState));
|
|
41
|
+
});
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* Waits forScheduledRun till it reaches any of the provided states
|
|
45
|
+
*
|
|
46
|
+
* @param request the request to send
|
|
47
|
+
* @param targetStates the desired states to wait for. The waiter will return once the resource reaches any of the provided states
|
|
48
|
+
* @return response returns GetScheduledRunResponse
|
|
49
|
+
*/
|
|
50
|
+
forScheduledRun(request, ...targetStates) {
|
|
51
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
52
|
+
return oci_common_1.genericWaiter(this.config, () => this.client.getScheduledRun(request), response => targetStates.includes(response.scheduledRun.lifecycleState));
|
|
53
|
+
});
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
exports.UsageapiWaiter = UsageapiWaiter;
|
|
57
|
+
//# sourceMappingURL=usageapi-waiter.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"usageapi-waiter.js","sourceRoot":"","sources":["../../../../lib/usageapi/lib/usageapi-waiter.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;AAMH,2CAAgG;AAEhG,MAAa,cAAc;IACzB,YACU,MAAsB,EACb,MAA4B;QADrC,WAAM,GAAN,MAAM,CAAgB;QACb,WAAM,GAAN,MAAM,CAAsB;IAC5C,CAAC;IAEJ;;;;;;OAMG;IACU,WAAW,CACtB,OAA2C,EAC3C,GAAG,YAA8C;;YAEjD,OAAO,0BAAa,CAClB,IAAI,CAAC,MAAM,EACX,GAAG,EAAE,CAAC,IAAI,CAAC,MAAM,CAAC,WAAW,CAAC,OAAO,CAAC,EACtC,QAAQ,CAAC,EAAE,CAAC,YAAY,CAAC,QAAQ,CAAC,QAAQ,CAAC,QAAQ,CAAC,cAAe,CAAC,CACrE,CAAC;QACJ,CAAC;KAAA;IAED;;;;;;OAMG;IACU,eAAe,CAC1B,OAA+C,EAC/C,GAAG,YAAkD;;YAErD,OAAO,0BAAa,CAClB,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,CACzE,CAAC;QACJ,CAAC;KAAA;CACF;AAzCD,wCAyCC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "oci-usageapi",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.24.0",
|
|
4
4
|
"description": "OCI NodeJS client for Usage Api 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.
|
|
19
|
-
"oci-workrequests": "2.
|
|
18
|
+
"oci-common": "2.24.0",
|
|
19
|
+
"oci-workrequests": "2.24.0"
|
|
20
20
|
},
|
|
21
21
|
"publishConfig": {
|
|
22
22
|
"registry": "https://registry.npmjs.org"
|