oci-zpr 2.95.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.
- 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 +240 -0
- package/lib/client.js +1247 -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/configuration.d.ts +113 -0
- package/lib/model/configuration.js +53 -0
- package/lib/model/configuration.js.map +1 -0
- package/lib/model/create-configuration-details.d.ts +52 -0
- package/lib/model/create-configuration-details.js +29 -0
- package/lib/model/create-configuration-details.js.map +1 -0
- package/lib/model/create-zpr-policy-details.d.ts +60 -0
- package/lib/model/create-zpr-policy-details.js +29 -0
- package/lib/model/create-zpr-policy-details.js.map +1 -0
- package/lib/model/index.d.ts +52 -0
- package/lib/model/index.js +75 -0
- package/lib/model/index.js.map +1 -0
- package/lib/model/operation-type.d.ts +32 -0
- package/lib/model/operation-type.js +43 -0
- package/lib/model/operation-type.js.map +1 -0
- package/lib/model/sort-order.d.ts +30 -0
- package/lib/model/sort-order.js +41 -0
- package/lib/model/sort-order.js.map +1 -0
- package/lib/model/update-zpr-policy-details.d.ts +51 -0
- package/lib/model/update-zpr-policy-details.js +29 -0
- package/lib/model/update-zpr-policy-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 +37 -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 +31 -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-metadata-key.d.ts +27 -0
- package/lib/model/work-request-resource-metadata-key.js +38 -0
- package/lib/model/work-request-resource-metadata-key.js.map +1 -0
- package/lib/model/work-request-resource.d.ts +48 -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-status.d.ts +34 -0
- package/lib/model/work-request-status.js +45 -0
- package/lib/model/work-request-status.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 +73 -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 +76 -0
- package/lib/model/work-request.js +61 -0
- package/lib/model/work-request.js.map +1 -0
- package/lib/model/zpr-policy-collection.d.ts +26 -0
- package/lib/model/zpr-policy-collection.js +61 -0
- package/lib/model/zpr-policy-collection.js.map +1 -0
- package/lib/model/zpr-policy-summary.d.ts +98 -0
- package/lib/model/zpr-policy-summary.js +29 -0
- package/lib/model/zpr-policy-summary.js.map +1 -0
- package/lib/model/zpr-policy.d.ts +117 -0
- package/lib/model/zpr-policy.js +44 -0
- package/lib/model/zpr-policy.js.map +1 -0
- package/lib/request/create-configuration-request.d.ts +46 -0
- package/lib/request/create-configuration-request.js +15 -0
- package/lib/request/create-configuration-request.js.map +1 -0
- package/lib/request/create-zpr-policy-request.d.ts +46 -0
- package/lib/request/create-zpr-policy-request.js +15 -0
- package/lib/request/create-zpr-policy-request.js.map +1 -0
- package/lib/request/delete-zpr-policy-request.d.ts +44 -0
- package/lib/request/delete-zpr-policy-request.js +15 -0
- package/lib/request/delete-zpr-policy-request.js.map +1 -0
- package/lib/request/get-configuration-request.d.ts +30 -0
- package/lib/request/get-configuration-request.js +15 -0
- package/lib/request/get-configuration-request.js.map +1 -0
- package/lib/request/get-zpr-configuration-work-request-request.d.ts +30 -0
- package/lib/request/get-zpr-configuration-work-request-request.js +15 -0
- package/lib/request/get-zpr-configuration-work-request-request.js.map +1 -0
- package/lib/request/get-zpr-policy-request.d.ts +30 -0
- package/lib/request/get-zpr-policy-request.js +15 -0
- package/lib/request/get-zpr-policy-request.js.map +1 -0
- package/lib/request/get-zpr-policy-work-request-request.d.ts +30 -0
- package/lib/request/get-zpr-policy-work-request-request.js +15 -0
- package/lib/request/get-zpr-policy-work-request-request.js.map +1 -0
- package/lib/request/index.d.ts +42 -0
- package/lib/request/index.js +49 -0
- package/lib/request/index.js.map +1 -0
- package/lib/request/list-zpr-configuration-work-request-errors-request.d.ts +59 -0
- package/lib/request/list-zpr-configuration-work-request-errors-request.js +23 -0
- package/lib/request/list-zpr-configuration-work-request-errors-request.js.map +1 -0
- package/lib/request/list-zpr-configuration-work-request-logs-request.d.ts +59 -0
- package/lib/request/list-zpr-configuration-work-request-logs-request.js +23 -0
- package/lib/request/list-zpr-configuration-work-request-logs-request.js.map +1 -0
- package/lib/request/list-zpr-configuration-work-requests-request.d.ts +71 -0
- package/lib/request/list-zpr-configuration-work-requests-request.js +23 -0
- package/lib/request/list-zpr-configuration-work-requests-request.js.map +1 -0
- package/lib/request/list-zpr-policies-request.d.ts +75 -0
- package/lib/request/list-zpr-policies-request.js +24 -0
- package/lib/request/list-zpr-policies-request.js.map +1 -0
- package/lib/request/list-zpr-policy-work-request-errors-request.d.ts +59 -0
- package/lib/request/list-zpr-policy-work-request-errors-request.js +23 -0
- package/lib/request/list-zpr-policy-work-request-errors-request.js.map +1 -0
- package/lib/request/list-zpr-policy-work-request-logs-request.d.ts +59 -0
- package/lib/request/list-zpr-policy-work-request-logs-request.js +23 -0
- package/lib/request/list-zpr-policy-work-request-logs-request.js.map +1 -0
- package/lib/request/list-zpr-policy-work-requests-request.d.ts +71 -0
- package/lib/request/list-zpr-policy-work-requests-request.js +23 -0
- package/lib/request/list-zpr-policy-work-requests-request.js.map +1 -0
- package/lib/request/update-zpr-policy-request.d.ts +58 -0
- package/lib/request/update-zpr-policy-request.js +15 -0
- package/lib/request/update-zpr-policy-request.js.map +1 -0
- package/lib/response/create-configuration-response.d.ts +25 -0
- package/lib/response/create-configuration-response.js +15 -0
- package/lib/response/create-configuration-response.js.map +1 -0
- package/lib/response/create-zpr-policy-response.d.ts +38 -0
- package/lib/response/create-zpr-policy-response.js +15 -0
- package/lib/response/create-zpr-policy-response.js.map +1 -0
- package/lib/response/delete-zpr-policy-response.d.ts +25 -0
- package/lib/response/delete-zpr-policy-response.js +15 -0
- package/lib/response/delete-zpr-policy-response.js.map +1 -0
- package/lib/response/get-configuration-response.d.ts +30 -0
- package/lib/response/get-configuration-response.js +15 -0
- package/lib/response/get-configuration-response.js.map +1 -0
- package/lib/response/get-zpr-configuration-work-request-response.d.ts +34 -0
- package/lib/response/get-zpr-configuration-work-request-response.js +15 -0
- package/lib/response/get-zpr-configuration-work-request-response.js.map +1 -0
- package/lib/response/get-zpr-policy-response.d.ts +30 -0
- package/lib/response/get-zpr-policy-response.js +15 -0
- package/lib/response/get-zpr-policy-response.js.map +1 -0
- package/lib/response/get-zpr-policy-work-request-response.d.ts +34 -0
- package/lib/response/get-zpr-policy-work-request-response.js +15 -0
- package/lib/response/get-zpr-policy-work-request-response.js.map +1 -0
- package/lib/response/index.d.ts +42 -0
- package/lib/response/index.js +15 -0
- package/lib/response/index.js.map +1 -0
- package/lib/response/list-zpr-configuration-work-request-errors-response.d.ts +31 -0
- package/lib/response/list-zpr-configuration-work-request-errors-response.js +15 -0
- package/lib/response/list-zpr-configuration-work-request-errors-response.js.map +1 -0
- package/lib/response/list-zpr-configuration-work-request-logs-response.d.ts +31 -0
- package/lib/response/list-zpr-configuration-work-request-logs-response.js +15 -0
- package/lib/response/list-zpr-configuration-work-request-logs-response.js.map +1 -0
- package/lib/response/list-zpr-configuration-work-requests-response.d.ts +31 -0
- package/lib/response/list-zpr-configuration-work-requests-response.js +15 -0
- package/lib/response/list-zpr-configuration-work-requests-response.js.map +1 -0
- package/lib/response/list-zpr-policies-response.d.ts +31 -0
- package/lib/response/list-zpr-policies-response.js +15 -0
- package/lib/response/list-zpr-policies-response.js.map +1 -0
- package/lib/response/list-zpr-policy-work-request-errors-response.d.ts +31 -0
- package/lib/response/list-zpr-policy-work-request-errors-response.js +15 -0
- package/lib/response/list-zpr-policy-work-request-errors-response.js.map +1 -0
- package/lib/response/list-zpr-policy-work-request-logs-response.d.ts +31 -0
- package/lib/response/list-zpr-policy-work-request-logs-response.js +15 -0
- package/lib/response/list-zpr-policy-work-request-logs-response.js.map +1 -0
- package/lib/response/list-zpr-policy-work-requests-response.d.ts +31 -0
- package/lib/response/list-zpr-policy-work-requests-response.js +15 -0
- package/lib/response/list-zpr-policy-work-requests-response.js.map +1 -0
- package/lib/response/update-zpr-policy-response.d.ts +25 -0
- package/lib/response/update-zpr-policy-response.js +15 -0
- package/lib/response/update-zpr-policy-response.js.map +1 -0
- package/lib/zpr-waiter.d.ts +37 -0
- package/lib/zpr-waiter.js +77 -0
- package/lib/zpr-waiter.js.map +1 -0
- package/package.json +29 -0
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Zero Trust Packet Routing Control Plane API
|
|
3
|
+
* Use the Zero Trust Packet Routing Control Plane API to manage ZPR configuration and policy. See the [Zero Trust Packet Routing](/iaas/Content/zero-trust-packet-routing/home.htm) documentation for more information.
|
|
4
|
+
* OpenAPI spec version: 20240301
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
8
|
+
* Do not edit the class manually.
|
|
9
|
+
*
|
|
10
|
+
* Copyright (c) 2020, 2024, 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 CreateConfigurationResponse from "./create-configuration-response";
|
|
14
|
+
export import CreateConfigurationResponse = CreateConfigurationResponse.CreateConfigurationResponse;
|
|
15
|
+
import * as CreateZprPolicyResponse from "./create-zpr-policy-response";
|
|
16
|
+
export import CreateZprPolicyResponse = CreateZprPolicyResponse.CreateZprPolicyResponse;
|
|
17
|
+
import * as DeleteZprPolicyResponse from "./delete-zpr-policy-response";
|
|
18
|
+
export import DeleteZprPolicyResponse = DeleteZprPolicyResponse.DeleteZprPolicyResponse;
|
|
19
|
+
import * as GetConfigurationResponse from "./get-configuration-response";
|
|
20
|
+
export import GetConfigurationResponse = GetConfigurationResponse.GetConfigurationResponse;
|
|
21
|
+
import * as GetZprConfigurationWorkRequestResponse from "./get-zpr-configuration-work-request-response";
|
|
22
|
+
export import GetZprConfigurationWorkRequestResponse = GetZprConfigurationWorkRequestResponse.GetZprConfigurationWorkRequestResponse;
|
|
23
|
+
import * as GetZprPolicyResponse from "./get-zpr-policy-response";
|
|
24
|
+
export import GetZprPolicyResponse = GetZprPolicyResponse.GetZprPolicyResponse;
|
|
25
|
+
import * as GetZprPolicyWorkRequestResponse from "./get-zpr-policy-work-request-response";
|
|
26
|
+
export import GetZprPolicyWorkRequestResponse = GetZprPolicyWorkRequestResponse.GetZprPolicyWorkRequestResponse;
|
|
27
|
+
import * as ListZprConfigurationWorkRequestErrorsResponse from "./list-zpr-configuration-work-request-errors-response";
|
|
28
|
+
export import ListZprConfigurationWorkRequestErrorsResponse = ListZprConfigurationWorkRequestErrorsResponse.ListZprConfigurationWorkRequestErrorsResponse;
|
|
29
|
+
import * as ListZprConfigurationWorkRequestLogsResponse from "./list-zpr-configuration-work-request-logs-response";
|
|
30
|
+
export import ListZprConfigurationWorkRequestLogsResponse = ListZprConfigurationWorkRequestLogsResponse.ListZprConfigurationWorkRequestLogsResponse;
|
|
31
|
+
import * as ListZprConfigurationWorkRequestsResponse from "./list-zpr-configuration-work-requests-response";
|
|
32
|
+
export import ListZprConfigurationWorkRequestsResponse = ListZprConfigurationWorkRequestsResponse.ListZprConfigurationWorkRequestsResponse;
|
|
33
|
+
import * as ListZprPoliciesResponse from "./list-zpr-policies-response";
|
|
34
|
+
export import ListZprPoliciesResponse = ListZprPoliciesResponse.ListZprPoliciesResponse;
|
|
35
|
+
import * as ListZprPolicyWorkRequestErrorsResponse from "./list-zpr-policy-work-request-errors-response";
|
|
36
|
+
export import ListZprPolicyWorkRequestErrorsResponse = ListZprPolicyWorkRequestErrorsResponse.ListZprPolicyWorkRequestErrorsResponse;
|
|
37
|
+
import * as ListZprPolicyWorkRequestLogsResponse from "./list-zpr-policy-work-request-logs-response";
|
|
38
|
+
export import ListZprPolicyWorkRequestLogsResponse = ListZprPolicyWorkRequestLogsResponse.ListZprPolicyWorkRequestLogsResponse;
|
|
39
|
+
import * as ListZprPolicyWorkRequestsResponse from "./list-zpr-policy-work-requests-response";
|
|
40
|
+
export import ListZprPolicyWorkRequestsResponse = ListZprPolicyWorkRequestsResponse.ListZprPolicyWorkRequestsResponse;
|
|
41
|
+
import * as UpdateZprPolicyResponse from "./update-zpr-policy-response";
|
|
42
|
+
export import UpdateZprPolicyResponse = UpdateZprPolicyResponse.UpdateZprPolicyResponse;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Zero Trust Packet Routing Control Plane API
|
|
4
|
+
* Use the Zero Trust Packet Routing Control Plane API to manage ZPR configuration and policy. See the [Zero Trust Packet Routing](/iaas/Content/zero-trust-packet-routing/home.htm) documentation for more information.
|
|
5
|
+
* OpenAPI spec version: 20240301
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*
|
|
11
|
+
* Copyright (c) 2020, 2024, 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=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../lib/zpr/lib/response/index.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/**
|
|
2
|
+
*
|
|
3
|
+
*
|
|
4
|
+
* OpenAPI spec version: 20240301
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
8
|
+
* Do not edit the class manually.
|
|
9
|
+
*
|
|
10
|
+
* Copyright (c) 2020, 2024, 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 ListZprConfigurationWorkRequestErrorsResponse {
|
|
15
|
+
/**
|
|
16
|
+
* For list pagination. When this header appears in the response, additional pages of results remain. For
|
|
17
|
+
* important details about how pagination works, see [List Pagination](https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
|
|
18
|
+
*
|
|
19
|
+
*/
|
|
20
|
+
"opcNextPage": string;
|
|
21
|
+
/**
|
|
22
|
+
* Unique Oracle-assigned identifier for the request. If you need to contact
|
|
23
|
+
* Oracle about a particular request, please provide the request ID.
|
|
24
|
+
*
|
|
25
|
+
*/
|
|
26
|
+
"opcRequestId": string;
|
|
27
|
+
/**
|
|
28
|
+
* The returned model.WorkRequestErrorCollection instance.
|
|
29
|
+
*/
|
|
30
|
+
"workRequestErrorCollection": model.WorkRequestErrorCollection;
|
|
31
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
*
|
|
4
|
+
*
|
|
5
|
+
* OpenAPI spec version: 20240301
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*
|
|
11
|
+
* Copyright (c) 2020, 2024, 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-zpr-configuration-work-request-errors-response.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-zpr-configuration-work-request-errors-response.js","sourceRoot":"","sources":["../../../../../lib/zpr/lib/response/list-zpr-configuration-work-request-errors-response.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/**
|
|
2
|
+
*
|
|
3
|
+
*
|
|
4
|
+
* OpenAPI spec version: 20240301
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
8
|
+
* Do not edit the class manually.
|
|
9
|
+
*
|
|
10
|
+
* Copyright (c) 2020, 2024, 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 ListZprConfigurationWorkRequestLogsResponse {
|
|
15
|
+
/**
|
|
16
|
+
* For list pagination. When this header appears in the response, additional pages of results remain. For
|
|
17
|
+
* important details about how pagination works, see [List Pagination](https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
|
|
18
|
+
*
|
|
19
|
+
*/
|
|
20
|
+
"opcNextPage": string;
|
|
21
|
+
/**
|
|
22
|
+
* Unique Oracle-assigned identifier for the request. If you need to contact
|
|
23
|
+
* Oracle about a particular request, please provide the request ID.
|
|
24
|
+
*
|
|
25
|
+
*/
|
|
26
|
+
"opcRequestId": string;
|
|
27
|
+
/**
|
|
28
|
+
* The returned model.WorkRequestLogEntryCollection instance.
|
|
29
|
+
*/
|
|
30
|
+
"workRequestLogEntryCollection": model.WorkRequestLogEntryCollection;
|
|
31
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
*
|
|
4
|
+
*
|
|
5
|
+
* OpenAPI spec version: 20240301
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*
|
|
11
|
+
* Copyright (c) 2020, 2024, 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-zpr-configuration-work-request-logs-response.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-zpr-configuration-work-request-logs-response.js","sourceRoot":"","sources":["../../../../../lib/zpr/lib/response/list-zpr-configuration-work-request-logs-response.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/**
|
|
2
|
+
*
|
|
3
|
+
*
|
|
4
|
+
* OpenAPI spec version: 20240301
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
8
|
+
* Do not edit the class manually.
|
|
9
|
+
*
|
|
10
|
+
* Copyright (c) 2020, 2024, 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 ListZprConfigurationWorkRequestsResponse {
|
|
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 list pagination. When this header appears in the response, additional pages of results remain. For
|
|
23
|
+
* important details about how pagination works, see [List Pagination](https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
|
|
24
|
+
*
|
|
25
|
+
*/
|
|
26
|
+
"opcNextPage": string;
|
|
27
|
+
/**
|
|
28
|
+
* The returned model.WorkRequestSummaryCollection instance.
|
|
29
|
+
*/
|
|
30
|
+
"workRequestSummaryCollection": model.WorkRequestSummaryCollection;
|
|
31
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
*
|
|
4
|
+
*
|
|
5
|
+
* OpenAPI spec version: 20240301
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*
|
|
11
|
+
* Copyright (c) 2020, 2024, 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-zpr-configuration-work-requests-response.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-zpr-configuration-work-requests-response.js","sourceRoot":"","sources":["../../../../../lib/zpr/lib/response/list-zpr-configuration-work-requests-response.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/**
|
|
2
|
+
*
|
|
3
|
+
*
|
|
4
|
+
* OpenAPI spec version: 20240301
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
8
|
+
* Do not edit the class manually.
|
|
9
|
+
*
|
|
10
|
+
* Copyright (c) 2020, 2024, 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 ListZprPoliciesResponse {
|
|
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 list pagination. When this header appears in the response, additional pages of results remain. For
|
|
23
|
+
* important details about how pagination works, see [List Pagination](https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
|
|
24
|
+
*
|
|
25
|
+
*/
|
|
26
|
+
"opcNextPage": string;
|
|
27
|
+
/**
|
|
28
|
+
* The returned model.ZprPolicyCollection instance.
|
|
29
|
+
*/
|
|
30
|
+
"zprPolicyCollection": model.ZprPolicyCollection;
|
|
31
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
*
|
|
4
|
+
*
|
|
5
|
+
* OpenAPI spec version: 20240301
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*
|
|
11
|
+
* Copyright (c) 2020, 2024, 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-zpr-policies-response.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-zpr-policies-response.js","sourceRoot":"","sources":["../../../../../lib/zpr/lib/response/list-zpr-policies-response.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/**
|
|
2
|
+
*
|
|
3
|
+
*
|
|
4
|
+
* OpenAPI spec version: 20240301
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
8
|
+
* Do not edit the class manually.
|
|
9
|
+
*
|
|
10
|
+
* Copyright (c) 2020, 2024, 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 ListZprPolicyWorkRequestErrorsResponse {
|
|
15
|
+
/**
|
|
16
|
+
* For list pagination. When this header appears in the response, additional pages of results remain. For
|
|
17
|
+
* important details about how pagination works, see [List Pagination](https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
|
|
18
|
+
*
|
|
19
|
+
*/
|
|
20
|
+
"opcNextPage": string;
|
|
21
|
+
/**
|
|
22
|
+
* Unique Oracle-assigned identifier for the request. If you need to contact
|
|
23
|
+
* Oracle about a particular request, please provide the request ID.
|
|
24
|
+
*
|
|
25
|
+
*/
|
|
26
|
+
"opcRequestId": string;
|
|
27
|
+
/**
|
|
28
|
+
* The returned model.WorkRequestErrorCollection instance.
|
|
29
|
+
*/
|
|
30
|
+
"workRequestErrorCollection": model.WorkRequestErrorCollection;
|
|
31
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
*
|
|
4
|
+
*
|
|
5
|
+
* OpenAPI spec version: 20240301
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*
|
|
11
|
+
* Copyright (c) 2020, 2024, 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-zpr-policy-work-request-errors-response.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-zpr-policy-work-request-errors-response.js","sourceRoot":"","sources":["../../../../../lib/zpr/lib/response/list-zpr-policy-work-request-errors-response.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/**
|
|
2
|
+
*
|
|
3
|
+
*
|
|
4
|
+
* OpenAPI spec version: 20240301
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
8
|
+
* Do not edit the class manually.
|
|
9
|
+
*
|
|
10
|
+
* Copyright (c) 2020, 2024, 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 ListZprPolicyWorkRequestLogsResponse {
|
|
15
|
+
/**
|
|
16
|
+
* For list pagination. When this header appears in the response, additional pages of results remain. For
|
|
17
|
+
* important details about how pagination works, see [List Pagination](https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
|
|
18
|
+
*
|
|
19
|
+
*/
|
|
20
|
+
"opcNextPage": string;
|
|
21
|
+
/**
|
|
22
|
+
* Unique Oracle-assigned identifier for the request. If you need to contact
|
|
23
|
+
* Oracle about a particular request, please provide the request ID.
|
|
24
|
+
*
|
|
25
|
+
*/
|
|
26
|
+
"opcRequestId": string;
|
|
27
|
+
/**
|
|
28
|
+
* The returned model.WorkRequestLogEntryCollection instance.
|
|
29
|
+
*/
|
|
30
|
+
"workRequestLogEntryCollection": model.WorkRequestLogEntryCollection;
|
|
31
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
*
|
|
4
|
+
*
|
|
5
|
+
* OpenAPI spec version: 20240301
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*
|
|
11
|
+
* Copyright (c) 2020, 2024, 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-zpr-policy-work-request-logs-response.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-zpr-policy-work-request-logs-response.js","sourceRoot":"","sources":["../../../../../lib/zpr/lib/response/list-zpr-policy-work-request-logs-response.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/**
|
|
2
|
+
*
|
|
3
|
+
*
|
|
4
|
+
* OpenAPI spec version: 20240301
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
8
|
+
* Do not edit the class manually.
|
|
9
|
+
*
|
|
10
|
+
* Copyright (c) 2020, 2024, 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 ListZprPolicyWorkRequestsResponse {
|
|
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 list pagination. When this header appears in the response, additional pages of results remain. For
|
|
23
|
+
* important details about how pagination works, see [List Pagination](https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
|
|
24
|
+
*
|
|
25
|
+
*/
|
|
26
|
+
"opcNextPage": string;
|
|
27
|
+
/**
|
|
28
|
+
* The returned model.WorkRequestSummaryCollection instance.
|
|
29
|
+
*/
|
|
30
|
+
"workRequestSummaryCollection": model.WorkRequestSummaryCollection;
|
|
31
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
*
|
|
4
|
+
*
|
|
5
|
+
* OpenAPI spec version: 20240301
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*
|
|
11
|
+
* Copyright (c) 2020, 2024, 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-zpr-policy-work-requests-response.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-zpr-policy-work-requests-response.js","sourceRoot":"","sources":["../../../../../lib/zpr/lib/response/list-zpr-policy-work-requests-response.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
*
|
|
3
|
+
*
|
|
4
|
+
* OpenAPI spec version: 20240301
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
8
|
+
* Do not edit the class manually.
|
|
9
|
+
*
|
|
10
|
+
* Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
|
|
11
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
12
|
+
*/
|
|
13
|
+
export interface UpdateZprPolicyResponse {
|
|
14
|
+
/**
|
|
15
|
+
* Unique Oracle-assigned identifier for the request. If you need to contact
|
|
16
|
+
* Oracle about a particular request, please provide the request ID.
|
|
17
|
+
*
|
|
18
|
+
*/
|
|
19
|
+
"opcRequestId": string;
|
|
20
|
+
/**
|
|
21
|
+
* Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation.
|
|
22
|
+
*
|
|
23
|
+
*/
|
|
24
|
+
"opcWorkRequestId": string;
|
|
25
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
*
|
|
4
|
+
*
|
|
5
|
+
* OpenAPI spec version: 20240301
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*
|
|
11
|
+
* Copyright (c) 2020, 2024, 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-zpr-policy-response.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-zpr-policy-response.js","sourceRoot":"","sources":["../../../../../lib/zpr/lib/response/update-zpr-policy-response.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Zero Trust Packet Routing Control Plane API
|
|
3
|
+
* Use the Zero Trust Packet Routing Control Plane API to manage ZPR configuration and policy. See the [Zero Trust Packet Routing](/iaas/Content/zero-trust-packet-routing/home.htm) documentation for more information.
|
|
4
|
+
* OpenAPI spec version: 20240301
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
8
|
+
* Do not edit the class manually.
|
|
9
|
+
*
|
|
10
|
+
* Copyright (c) 2020, 2024, 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 { ZprClient } from "./client";
|
|
17
|
+
export declare class ZprWaiter {
|
|
18
|
+
private client;
|
|
19
|
+
private readonly config?;
|
|
20
|
+
constructor(client: ZprClient, config?: Partial<import("oci-common/lib/waiter").WaiterConfigurationDetails> | undefined);
|
|
21
|
+
/**
|
|
22
|
+
* Waits forConfiguration 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 GetConfigurationResponse | null (null in case of 404 response)
|
|
27
|
+
*/
|
|
28
|
+
forConfiguration(request: serviceRequests.GetConfigurationRequest, ...targetStates: models.Configuration.LifecycleState[]): Promise<serviceResponses.GetConfigurationResponse | null>;
|
|
29
|
+
/**
|
|
30
|
+
* Waits forZprPolicy 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 GetZprPolicyResponse | null (null in case of 404 response)
|
|
35
|
+
*/
|
|
36
|
+
forZprPolicy(request: serviceRequests.GetZprPolicyRequest, ...targetStates: models.ZprPolicy.LifecycleState[]): Promise<serviceResponses.GetZprPolicyResponse | null>;
|
|
37
|
+
}
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Zero Trust Packet Routing Control Plane API
|
|
4
|
+
* Use the Zero Trust Packet Routing Control Plane API to manage ZPR configuration and policy. See the [Zero Trust Packet Routing](/iaas/Content/zero-trust-packet-routing/home.htm) documentation for more information.
|
|
5
|
+
* OpenAPI spec version: 20240301
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*
|
|
11
|
+
* Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
|
|
12
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
13
|
+
*/
|
|
14
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
15
|
+
if (k2 === undefined) k2 = k;
|
|
16
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
17
|
+
}) : (function(o, m, k, k2) {
|
|
18
|
+
if (k2 === undefined) k2 = k;
|
|
19
|
+
o[k2] = m[k];
|
|
20
|
+
}));
|
|
21
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
22
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
23
|
+
}) : function(o, v) {
|
|
24
|
+
o["default"] = v;
|
|
25
|
+
});
|
|
26
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
27
|
+
if (mod && mod.__esModule) return mod;
|
|
28
|
+
var result = {};
|
|
29
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
30
|
+
__setModuleDefault(result, mod);
|
|
31
|
+
return result;
|
|
32
|
+
};
|
|
33
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
34
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
35
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
36
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
37
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
38
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
39
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
40
|
+
});
|
|
41
|
+
};
|
|
42
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
43
|
+
exports.ZprWaiter = void 0;
|
|
44
|
+
const models = __importStar(require("./model"));
|
|
45
|
+
const oci_common_1 = require("oci-common");
|
|
46
|
+
class ZprWaiter {
|
|
47
|
+
constructor(client, config) {
|
|
48
|
+
this.client = client;
|
|
49
|
+
this.config = config;
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
* Waits forConfiguration 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 GetConfigurationResponse | null (null in case of 404 response)
|
|
57
|
+
*/
|
|
58
|
+
forConfiguration(request, ...targetStates) {
|
|
59
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
60
|
+
return oci_common_1.genericTerminalConditionWaiter(this.config, () => this.client.getConfiguration(request), response => targetStates.includes(response.configuration.lifecycleState), targetStates.includes(models.Configuration.LifecycleState.Deleted));
|
|
61
|
+
});
|
|
62
|
+
}
|
|
63
|
+
/**
|
|
64
|
+
* Waits forZprPolicy till it reaches any of the provided states
|
|
65
|
+
*
|
|
66
|
+
* @param request the request to send
|
|
67
|
+
* @param targetStates the desired states to wait for. The waiter will return once the resource reaches any of the provided states
|
|
68
|
+
* @return response returns GetZprPolicyResponse | null (null in case of 404 response)
|
|
69
|
+
*/
|
|
70
|
+
forZprPolicy(request, ...targetStates) {
|
|
71
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
72
|
+
return oci_common_1.genericTerminalConditionWaiter(this.config, () => this.client.getZprPolicy(request), response => targetStates.includes(response.zprPolicy.lifecycleState), targetStates.includes(models.ZprPolicy.LifecycleState.Deleted));
|
|
73
|
+
});
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
exports.ZprWaiter = ZprWaiter;
|
|
77
|
+
//# sourceMappingURL=zpr-waiter.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"zpr-waiter.js","sourceRoot":"","sources":["../../../../lib/zpr/lib/zpr-waiter.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAIH,gDAAkC;AAElC,2CAAgG;AAEhG,MAAa,SAAS;IACpB,YAA2B,MAAiB,EAAmB,MAA4B;QAAhE,WAAM,GAAN,MAAM,CAAW;QAAmB,WAAM,GAAN,MAAM,CAAsB;IAAG,CAAC;IAE/F;;;;;;OAMG;IACU,gBAAgB,CAC3B,OAAgD,EAChD,GAAG,YAAmD;;YAEtD,OAAO,2CAA8B,CACnC,IAAI,CAAC,MAAM,EACX,GAAG,EAAE,CAAC,IAAI,CAAC,MAAM,CAAC,gBAAgB,CAAC,OAAO,CAAC,EAC3C,QAAQ,CAAC,EAAE,CAAC,YAAY,CAAC,QAAQ,CAAC,QAAQ,CAAC,aAAa,CAAC,cAAe,CAAC,EACzE,YAAY,CAAC,QAAQ,CAAC,MAAM,CAAC,aAAa,CAAC,cAAc,CAAC,OAAO,CAAC,CACnE,CAAC;QACJ,CAAC;KAAA;IAED;;;;;;OAMG;IACU,YAAY,CACvB,OAA4C,EAC5C,GAAG,YAA+C;;YAElD,OAAO,2CAA8B,CACnC,IAAI,CAAC,MAAM,EACX,GAAG,EAAE,CAAC,IAAI,CAAC,MAAM,CAAC,YAAY,CAAC,OAAO,CAAC,EACvC,QAAQ,CAAC,EAAE,CAAC,YAAY,CAAC,QAAQ,CAAC,QAAQ,CAAC,SAAS,CAAC,cAAe,CAAC,EACrE,YAAY,CAAC,QAAQ,CAAC,MAAM,CAAC,SAAS,CAAC,cAAc,CAAC,OAAO,CAAC,CAC/D,CAAC;QACJ,CAAC;KAAA;CACF;AAxCD,8BAwCC"}
|
package/package.json
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "oci-zpr",
|
|
3
|
+
"version": "2.95.1",
|
|
4
|
+
"description": "OCI NodeJS client for Zpr Service",
|
|
5
|
+
"repository": {
|
|
6
|
+
"type": "git",
|
|
7
|
+
"url": "https://github.com/oracle/oci-typescript-sdk"
|
|
8
|
+
},
|
|
9
|
+
"main": "./index.js",
|
|
10
|
+
"typings": "./index",
|
|
11
|
+
"scripts": {},
|
|
12
|
+
"author": {
|
|
13
|
+
"name": "Oracle Cloud Infrastructure",
|
|
14
|
+
"email": ""
|
|
15
|
+
},
|
|
16
|
+
"license": "(UPL-1.0 OR Apache-2.0)",
|
|
17
|
+
"dependencies": {
|
|
18
|
+
"oci-common": "2.95.1",
|
|
19
|
+
"oci-workrequests": "2.95.1"
|
|
20
|
+
},
|
|
21
|
+
"publishConfig": {
|
|
22
|
+
"registry": "https://registry.npmjs.org"
|
|
23
|
+
},
|
|
24
|
+
"contributors": [
|
|
25
|
+
"Jyoti Saini <jyoti.s.saini@oracle.com>",
|
|
26
|
+
"Joe Levy <joe.levy@oracle.com>",
|
|
27
|
+
"Walt Tran <walt.tran@oracle.com>"
|
|
28
|
+
]
|
|
29
|
+
}
|