oci-apiaccesscontrol 2.111.2
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 +37 -0
- package/index.js +60 -0
- package/index.js.map +1 -0
- package/lib/apimetadata-waiter.d.ts +35 -0
- package/lib/apimetadata-waiter.js +71 -0
- package/lib/apimetadata-waiter.js.map +1 -0
- package/lib/client.d.ts +551 -0
- package/lib/client.js +2115 -0
- package/lib/client.js.map +1 -0
- package/lib/model/action-type.d.ts +38 -0
- package/lib/model/action-type.js +49 -0
- package/lib/model/action-type.js.map +1 -0
- package/lib/model/api-metadata-by-entity-type-collection.d.ts +32 -0
- package/lib/model/api-metadata-by-entity-type-collection.js +67 -0
- package/lib/model/api-metadata-by-entity-type-collection.js.map +1 -0
- package/lib/model/api-metadata-by-entity-type-summary.d.ts +69 -0
- package/lib/model/api-metadata-by-entity-type-summary.js +67 -0
- package/lib/model/api-metadata-by-entity-type-summary.js.map +1 -0
- package/lib/model/api-metadata-collection.d.ts +32 -0
- package/lib/model/api-metadata-collection.js +67 -0
- package/lib/model/api-metadata-collection.js.map +1 -0
- package/lib/model/api-metadata-summary.d.ts +107 -0
- package/lib/model/api-metadata-summary.js +35 -0
- package/lib/model/api-metadata-summary.js.map +1 -0
- package/lib/model/api-metadata.d.ts +137 -0
- package/lib/model/api-metadata.js +49 -0
- package/lib/model/api-metadata.js.map +1 -0
- package/lib/model/approve-privileged-api-request-details.d.ts +36 -0
- package/lib/model/approve-privileged-api-request-details.js +35 -0
- package/lib/model/approve-privileged-api-request-details.js.map +1 -0
- package/lib/model/approver-detail.d.ts +49 -0
- package/lib/model/approver-detail.js +35 -0
- package/lib/model/approver-detail.js.map +1 -0
- package/lib/model/change-privileged-api-control-compartment-details.d.ts +32 -0
- package/lib/model/change-privileged-api-control-compartment-details.js +35 -0
- package/lib/model/change-privileged-api-control-compartment-details.js.map +1 -0
- package/lib/model/close-privileged-api-request-details.d.ts +31 -0
- package/lib/model/close-privileged-api-request-details.js +35 -0
- package/lib/model/close-privileged-api-request-details.js.map +1 -0
- package/lib/model/create-privileged-api-control-details.d.ts +88 -0
- package/lib/model/create-privileged-api-control-details.js +67 -0
- package/lib/model/create-privileged-api-control-details.js.map +1 -0
- package/lib/model/create-privileged-api-request-details.d.ts +107 -0
- package/lib/model/create-privileged-api-request-details.js +67 -0
- package/lib/model/create-privileged-api-request-details.js.map +1 -0
- package/lib/model/index.d.ts +90 -0
- package/lib/model/index.js +113 -0
- package/lib/model/index.js.map +1 -0
- package/lib/model/operation-status.d.ts +40 -0
- package/lib/model/operation-status.js +51 -0
- package/lib/model/operation-status.js.map +1 -0
- package/lib/model/operation-type.d.ts +55 -0
- package/lib/model/operation-type.js +66 -0
- package/lib/model/operation-type.js.map +1 -0
- package/lib/model/privileged-api-control-collection.d.ts +32 -0
- package/lib/model/privileged-api-control-collection.js +67 -0
- package/lib/model/privileged-api-control-collection.js.map +1 -0
- package/lib/model/privileged-api-control-summary.d.ts +108 -0
- package/lib/model/privileged-api-control-summary.js +35 -0
- package/lib/model/privileged-api-control-summary.js.map +1 -0
- package/lib/model/privileged-api-control.d.ts +162 -0
- package/lib/model/privileged-api-control.js +82 -0
- package/lib/model/privileged-api-control.js.map +1 -0
- package/lib/model/privileged-api-details.d.ts +39 -0
- package/lib/model/privileged-api-details.js +35 -0
- package/lib/model/privileged-api-details.js.map +1 -0
- package/lib/model/privileged-api-request-collection.d.ts +32 -0
- package/lib/model/privileged-api-request-collection.js +67 -0
- package/lib/model/privileged-api-request-collection.js.map +1 -0
- package/lib/model/privileged-api-request-operation-details.d.ts +35 -0
- package/lib/model/privileged-api-request-operation-details.js +35 -0
- package/lib/model/privileged-api-request-operation-details.js.map +1 -0
- package/lib/model/privileged-api-request-severity.d.ts +36 -0
- package/lib/model/privileged-api-request-severity.js +47 -0
- package/lib/model/privileged-api-request-severity.js.map +1 -0
- package/lib/model/privileged-api-request-summary.d.ts +139 -0
- package/lib/model/privileged-api-request-summary.js +67 -0
- package/lib/model/privileged-api-request-summary.js.map +1 -0
- package/lib/model/privileged-api-request.d.ts +232 -0
- package/lib/model/privileged-api-request.js +116 -0
- package/lib/model/privileged-api-request.js.map +1 -0
- package/lib/model/reject-privileged-api-request-details.d.ts +31 -0
- package/lib/model/reject-privileged-api-request-details.js +35 -0
- package/lib/model/reject-privileged-api-request-details.js.map +1 -0
- package/lib/model/revoke-privileged-api-request-details.d.ts +31 -0
- package/lib/model/revoke-privileged-api-request-details.js +35 -0
- package/lib/model/revoke-privileged-api-request-details.js.map +1 -0
- package/lib/model/sort-order.d.ts +36 -0
- package/lib/model/sort-order.js +47 -0
- package/lib/model/sort-order.js.map +1 -0
- package/lib/model/update-privileged-api-control-details.d.ts +83 -0
- package/lib/model/update-privileged-api-control-details.js +67 -0
- package/lib/model/update-privileged-api-control-details.js.map +1 -0
- package/lib/model/work-request-error-collection.d.ts +32 -0
- package/lib/model/work-request-error-collection.js +67 -0
- package/lib/model/work-request-error-collection.js.map +1 -0
- package/lib/model/work-request-error.d.ts +43 -0
- package/lib/model/work-request-error.js +35 -0
- package/lib/model/work-request-error.js.map +1 -0
- package/lib/model/work-request-log-entry-collection.d.ts +32 -0
- package/lib/model/work-request-log-entry-collection.js +67 -0
- package/lib/model/work-request-log-entry-collection.js.map +1 -0
- package/lib/model/work-request-log-entry.d.ts +37 -0
- package/lib/model/work-request-log-entry.js +35 -0
- package/lib/model/work-request-log-entry.js.map +1 -0
- package/lib/model/work-request-resource-metadata-key.d.ts +33 -0
- package/lib/model/work-request-resource-metadata-key.js +44 -0
- package/lib/model/work-request-resource-metadata-key.js.map +1 -0
- package/lib/model/work-request-resource.d.ts +54 -0
- package/lib/model/work-request-resource.js +35 -0
- package/lib/model/work-request-resource.js.map +1 -0
- package/lib/model/work-request-summary-collection.d.ts +32 -0
- package/lib/model/work-request-summary-collection.js +67 -0
- package/lib/model/work-request-summary-collection.js.map +1 -0
- package/lib/model/work-request-summary.d.ts +79 -0
- package/lib/model/work-request-summary.js +67 -0
- package/lib/model/work-request-summary.js.map +1 -0
- package/lib/model/work-request.d.ts +82 -0
- package/lib/model/work-request.js +67 -0
- package/lib/model/work-request.js.map +1 -0
- package/lib/privilegedapicontrol-waiter.d.ts +35 -0
- package/lib/privilegedapicontrol-waiter.js +71 -0
- package/lib/privilegedapicontrol-waiter.js.map +1 -0
- package/lib/privilegedapirequests-waiter.d.ts +35 -0
- package/lib/privilegedapirequests-waiter.js +51 -0
- package/lib/privilegedapirequests-waiter.js.map +1 -0
- package/lib/privilegedapiworkrequest-waiter.d.ts +33 -0
- package/lib/privilegedapiworkrequest-waiter.js +50 -0
- package/lib/privilegedapiworkrequest-waiter.js.map +1 -0
- package/lib/request/approve-privileged-api-request-request.d.ts +52 -0
- package/lib/request/approve-privileged-api-request-request.js +15 -0
- package/lib/request/approve-privileged-api-request-request.js.map +1 -0
- package/lib/request/cancel-work-request-request.d.ts +38 -0
- package/lib/request/cancel-work-request-request.js +15 -0
- package/lib/request/cancel-work-request-request.js.map +1 -0
- package/lib/request/change-privileged-api-control-compartment-request.d.ts +52 -0
- package/lib/request/change-privileged-api-control-compartment-request.js +15 -0
- package/lib/request/change-privileged-api-control-compartment-request.js.map +1 -0
- package/lib/request/close-privileged-api-request-request.d.ts +52 -0
- package/lib/request/close-privileged-api-request-request.js +15 -0
- package/lib/request/close-privileged-api-request-request.js.map +1 -0
- package/lib/request/create-privileged-api-control-request.d.ts +40 -0
- package/lib/request/create-privileged-api-control-request.js +15 -0
- package/lib/request/create-privileged-api-control-request.js.map +1 -0
- package/lib/request/create-privileged-api-request-request.d.ts +40 -0
- package/lib/request/create-privileged-api-request-request.js +15 -0
- package/lib/request/create-privileged-api-request-request.js.map +1 -0
- package/lib/request/delete-privileged-api-control-request.d.ts +42 -0
- package/lib/request/delete-privileged-api-control-request.js +15 -0
- package/lib/request/delete-privileged-api-control-request.js.map +1 -0
- package/lib/request/get-api-metadata-request.d.ts +30 -0
- package/lib/request/get-api-metadata-request.js +15 -0
- package/lib/request/get-api-metadata-request.js.map +1 -0
- package/lib/request/get-privileged-api-control-request.d.ts +30 -0
- package/lib/request/get-privileged-api-control-request.js +15 -0
- package/lib/request/get-privileged-api-control-request.js.map +1 -0
- package/lib/request/get-privileged-api-request-request.d.ts +30 -0
- package/lib/request/get-privileged-api-request-request.js +15 -0
- package/lib/request/get-privileged-api-request-request.js.map +1 -0
- package/lib/request/get-work-request-request.d.ts +30 -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 +60 -0
- package/lib/request/index.js +55 -0
- package/lib/request/index.js.map +1 -0
- package/lib/request/list-api-metadata-by-entity-types-request.d.ts +75 -0
- package/lib/request/list-api-metadata-by-entity-types-request.js +24 -0
- package/lib/request/list-api-metadata-by-entity-types-request.js.map +1 -0
- package/lib/request/list-api-metadata-request.d.ts +75 -0
- package/lib/request/list-api-metadata-request.js +24 -0
- package/lib/request/list-api-metadata-request.js.map +1 -0
- package/lib/request/list-privileged-api-controls-request.d.ts +79 -0
- package/lib/request/list-privileged-api-controls-request.js +24 -0
- package/lib/request/list-privileged-api-controls-request.js.map +1 -0
- package/lib/request/list-privileged-api-requests-request.d.ts +89 -0
- package/lib/request/list-privileged-api-requests-request.js +24 -0
- package/lib/request/list-privileged-api-requests-request.js.map +1 -0
- package/lib/request/list-work-request-errors-request.d.ts +59 -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 +59 -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 +71 -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/reject-privileged-api-request-request.d.ts +52 -0
- package/lib/request/reject-privileged-api-request-request.js +15 -0
- package/lib/request/reject-privileged-api-request-request.js.map +1 -0
- package/lib/request/revoke-privileged-api-request-request.d.ts +52 -0
- package/lib/request/revoke-privileged-api-request-request.js +15 -0
- package/lib/request/revoke-privileged-api-request-request.js.map +1 -0
- package/lib/request/update-privileged-api-control-request.d.ts +43 -0
- package/lib/request/update-privileged-api-control-request.js +15 -0
- package/lib/request/update-privileged-api-control-request.js.map +1 -0
- package/lib/response/approve-privileged-api-request-response.d.ts +26 -0
- package/lib/response/approve-privileged-api-request-response.js +15 -0
- package/lib/response/approve-privileged-api-request-response.js.map +1 -0
- package/lib/response/cancel-work-request-response.d.ts +20 -0
- package/lib/response/cancel-work-request-response.js +15 -0
- package/lib/response/cancel-work-request-response.js.map +1 -0
- package/lib/response/change-privileged-api-control-compartment-response.d.ts +26 -0
- package/lib/response/change-privileged-api-control-compartment-response.js +15 -0
- package/lib/response/change-privileged-api-control-compartment-response.js.map +1 -0
- package/lib/response/close-privileged-api-request-response.d.ts +26 -0
- package/lib/response/close-privileged-api-request-response.js +15 -0
- package/lib/response/close-privileged-api-request-response.js.map +1 -0
- package/lib/response/create-privileged-api-control-response.d.ts +44 -0
- package/lib/response/create-privileged-api-control-response.js +15 -0
- package/lib/response/create-privileged-api-control-response.js.map +1 -0
- package/lib/response/create-privileged-api-request-response.d.ts +44 -0
- package/lib/response/create-privileged-api-request-response.js +15 -0
- package/lib/response/create-privileged-api-request-response.js.map +1 -0
- package/lib/response/delete-privileged-api-control-response.d.ts +26 -0
- package/lib/response/delete-privileged-api-control-response.js +15 -0
- package/lib/response/delete-privileged-api-control-response.js.map +1 -0
- package/lib/response/get-api-metadata-response.d.ts +30 -0
- package/lib/response/get-api-metadata-response.js +15 -0
- package/lib/response/get-api-metadata-response.js.map +1 -0
- package/lib/response/get-privileged-api-control-response.d.ts +30 -0
- package/lib/response/get-privileged-api-control-response.js +15 -0
- package/lib/response/get-privileged-api-control-response.js.map +1 -0
- package/lib/response/get-privileged-api-request-response.d.ts +30 -0
- package/lib/response/get-privileged-api-request-response.js +15 -0
- package/lib/response/get-privileged-api-request-response.js.map +1 -0
- package/lib/response/get-work-request-response.d.ts +34 -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 +60 -0
- package/lib/response/index.js +21 -0
- package/lib/response/index.js.map +1 -0
- package/lib/response/list-api-metadata-by-entity-types-response.d.ts +31 -0
- package/lib/response/list-api-metadata-by-entity-types-response.js +15 -0
- package/lib/response/list-api-metadata-by-entity-types-response.js.map +1 -0
- package/lib/response/list-api-metadata-response.d.ts +31 -0
- package/lib/response/list-api-metadata-response.js +15 -0
- package/lib/response/list-api-metadata-response.js.map +1 -0
- package/lib/response/list-privileged-api-controls-response.d.ts +31 -0
- package/lib/response/list-privileged-api-controls-response.js +15 -0
- package/lib/response/list-privileged-api-controls-response.js.map +1 -0
- package/lib/response/list-privileged-api-requests-response.d.ts +31 -0
- package/lib/response/list-privileged-api-requests-response.js +15 -0
- package/lib/response/list-privileged-api-requests-response.js.map +1 -0
- package/lib/response/list-work-request-errors-response.d.ts +31 -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 +31 -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 +31 -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/reject-privileged-api-request-response.d.ts +26 -0
- package/lib/response/reject-privileged-api-request-response.js +15 -0
- package/lib/response/reject-privileged-api-request-response.js.map +1 -0
- package/lib/response/revoke-privileged-api-request-response.d.ts +26 -0
- package/lib/response/revoke-privileged-api-request-response.js +15 -0
- package/lib/response/revoke-privileged-api-request-response.js.map +1 -0
- package/lib/response/update-privileged-api-control-response.d.ts +26 -0
- package/lib/response/update-privileged-api-control-response.js +15 -0
- package/lib/response/update-privileged-api-control-response.js.map +1 -0
- package/package.json +29 -0
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Oracle API Access Control
|
|
4
|
+
* This service is used to restrict the control plane service apis; so that everybody won't be
|
|
5
|
+
able to access those apis.
|
|
6
|
+
There are two main resouces defined as a part of this service
|
|
7
|
+
1. PrivilegedApiControl: This is created by the customer which defines which service apis are
|
|
8
|
+
controlled and who can access it.
|
|
9
|
+
2. PrivilegedApiRequest: This is a request object again created by the customer operators who seek access to those privileged apis. After a request is obtained based on the PrivilegedAccessControl for which the api belongs to, either it can be approved so that the requested person can execute the service apis or it will wait for the customer to approve it.
|
|
10
|
+
|
|
11
|
+
* OpenAPI spec version: 20241130
|
|
12
|
+
*
|
|
13
|
+
*
|
|
14
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
15
|
+
* Do not edit the class manually.
|
|
16
|
+
*
|
|
17
|
+
* Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved.
|
|
18
|
+
* 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.
|
|
19
|
+
*/
|
|
20
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
21
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
22
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
23
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
24
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
25
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
26
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
27
|
+
});
|
|
28
|
+
};
|
|
29
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
30
|
+
exports.PrivilegedApiRequestsWaiter = void 0;
|
|
31
|
+
const oci_common_1 = require("oci-common");
|
|
32
|
+
class PrivilegedApiRequestsWaiter {
|
|
33
|
+
constructor(client, config) {
|
|
34
|
+
this.client = client;
|
|
35
|
+
this.config = config;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Waits forPrivilegedApiRequest till it reaches any of the provided states
|
|
39
|
+
*
|
|
40
|
+
* @param request the request to send
|
|
41
|
+
* @param targetStates the desired states to wait for. The waiter will return once the resource reaches any of the provided states
|
|
42
|
+
* @return response returns GetPrivilegedApiRequestResponse
|
|
43
|
+
*/
|
|
44
|
+
forPrivilegedApiRequest(request, ...targetStates) {
|
|
45
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
46
|
+
return oci_common_1.genericWaiter(this.config, () => this.client.getPrivilegedApiRequest(request), response => targetStates.includes(response.privilegedApiRequest.lifecycleState));
|
|
47
|
+
});
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
exports.PrivilegedApiRequestsWaiter = PrivilegedApiRequestsWaiter;
|
|
51
|
+
//# sourceMappingURL=privilegedapirequests-waiter.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"privilegedapirequests-waiter.js","sourceRoot":"","sources":["../../../../lib/apiaccesscontrol/lib/privilegedapirequests-waiter.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;GAiBG;;;;;;;;;;;;AAMH,2CAAgG;AAEhG,MAAa,2BAA2B;IACtC,YACU,MAAmC,EAC1B,MAA4B;QADrC,WAAM,GAAN,MAAM,CAA6B;QAC1B,WAAM,GAAN,MAAM,CAAsB;IAC5C,CAAC;IAEJ;;;;;;OAMG;IACU,uBAAuB,CAClC,OAAuD,EACvD,GAAG,YAA0D;;YAE7D,OAAO,0BAAa,CAClB,IAAI,CAAC,MAAM,EACX,GAAG,EAAE,CAAC,IAAI,CAAC,MAAM,CAAC,uBAAuB,CAAC,OAAO,CAAC,EAClD,QAAQ,CAAC,EAAE,CAAC,YAAY,CAAC,QAAQ,CAAC,QAAQ,CAAC,oBAAoB,CAAC,cAAe,CAAC,CACjF,CAAC;QACJ,CAAC;KAAA;CACF;AAvBD,kEAuBC"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Oracle API Access Control
|
|
3
|
+
* This service is used to restrict the control plane service apis; so that everybody won't be
|
|
4
|
+
able to access those apis.
|
|
5
|
+
There are two main resouces defined as a part of this service
|
|
6
|
+
1. PrivilegedApiControl: This is created by the customer which defines which service apis are
|
|
7
|
+
controlled and who can access it.
|
|
8
|
+
2. PrivilegedApiRequest: This is a request object again created by the customer operators who seek access to those privileged apis. After a request is obtained based on the PrivilegedAccessControl for which the api belongs to, either it can be approved so that the requested person can execute the service apis or it will wait for the customer to approve it.
|
|
9
|
+
|
|
10
|
+
* OpenAPI spec version: 20241130
|
|
11
|
+
*
|
|
12
|
+
*
|
|
13
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
14
|
+
* Do not edit the class manually.
|
|
15
|
+
*
|
|
16
|
+
* Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved.
|
|
17
|
+
* 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.
|
|
18
|
+
*/
|
|
19
|
+
import * as serviceRequests from "./request";
|
|
20
|
+
import * as serviceResponses from "./response";
|
|
21
|
+
import { PrivilegedApiWorkRequestClient } from "./client";
|
|
22
|
+
export declare class PrivilegedApiWorkRequestWaiter {
|
|
23
|
+
private client;
|
|
24
|
+
private readonly config?;
|
|
25
|
+
constructor(client: PrivilegedApiWorkRequestClient, config?: Partial<import("oci-common/lib/waiter").WaiterConfigurationDetails> | undefined);
|
|
26
|
+
/**
|
|
27
|
+
* Waits forWorkRequest
|
|
28
|
+
*
|
|
29
|
+
* @param request the request to send
|
|
30
|
+
* @return response returns GetWorkRequestResponse
|
|
31
|
+
*/
|
|
32
|
+
forWorkRequest(request: serviceRequests.GetWorkRequestRequest): Promise<serviceResponses.GetWorkRequestResponse>;
|
|
33
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Oracle API Access Control
|
|
4
|
+
* This service is used to restrict the control plane service apis; so that everybody won't be
|
|
5
|
+
able to access those apis.
|
|
6
|
+
There are two main resouces defined as a part of this service
|
|
7
|
+
1. PrivilegedApiControl: This is created by the customer which defines which service apis are
|
|
8
|
+
controlled and who can access it.
|
|
9
|
+
2. PrivilegedApiRequest: This is a request object again created by the customer operators who seek access to those privileged apis. After a request is obtained based on the PrivilegedAccessControl for which the api belongs to, either it can be approved so that the requested person can execute the service apis or it will wait for the customer to approve it.
|
|
10
|
+
|
|
11
|
+
* OpenAPI spec version: 20241130
|
|
12
|
+
*
|
|
13
|
+
*
|
|
14
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
15
|
+
* Do not edit the class manually.
|
|
16
|
+
*
|
|
17
|
+
* Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved.
|
|
18
|
+
* 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.
|
|
19
|
+
*/
|
|
20
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
21
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
22
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
23
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
24
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
25
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
26
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
27
|
+
});
|
|
28
|
+
};
|
|
29
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
30
|
+
exports.PrivilegedApiWorkRequestWaiter = void 0;
|
|
31
|
+
const oci_common_1 = require("oci-common");
|
|
32
|
+
class PrivilegedApiWorkRequestWaiter {
|
|
33
|
+
constructor(client, config) {
|
|
34
|
+
this.client = client;
|
|
35
|
+
this.config = config;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Waits forWorkRequest
|
|
39
|
+
*
|
|
40
|
+
* @param request the request to send
|
|
41
|
+
* @return response returns GetWorkRequestResponse
|
|
42
|
+
*/
|
|
43
|
+
forWorkRequest(request) {
|
|
44
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
45
|
+
return oci_common_1.genericWaiter(this.config, () => this.client.getWorkRequest(request), response => (response.workRequest.timeFinished ? true : false));
|
|
46
|
+
});
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
exports.PrivilegedApiWorkRequestWaiter = PrivilegedApiWorkRequestWaiter;
|
|
50
|
+
//# sourceMappingURL=privilegedapiworkrequest-waiter.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"privilegedapiworkrequest-waiter.js","sourceRoot":"","sources":["../../../../lib/apiaccesscontrol/lib/privilegedapiworkrequest-waiter.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;GAiBG;;;;;;;;;;;;AAMH,2CAAgG;AAEhG,MAAa,8BAA8B;IACzC,YACU,MAAsC,EAC7B,MAA4B;QADrC,WAAM,GAAN,MAAM,CAAgC;QAC7B,WAAM,GAAN,MAAM,CAAsB;IAC5C,CAAC;IAEJ;;;;;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;AArBD,wEAqBC"}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
/**
|
|
2
|
+
*
|
|
3
|
+
*
|
|
4
|
+
* OpenAPI spec version: 20241130
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
8
|
+
* Do not edit the class manually.
|
|
9
|
+
*
|
|
10
|
+
* Copyright (c) 2020, 2025, 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
|
+
import common = require("oci-common");
|
|
15
|
+
/**
|
|
16
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/apiaccesscontrol/ApprovePrivilegedApiRequest.ts.html |here} to see how to use ApprovePrivilegedApiRequestRequest.
|
|
17
|
+
*/
|
|
18
|
+
export interface ApprovePrivilegedApiRequestRequest extends common.BaseRequest {
|
|
19
|
+
/**
|
|
20
|
+
* unique PrivilegedApiRequest identifier
|
|
21
|
+
*/
|
|
22
|
+
"privilegedApiRequestId": string;
|
|
23
|
+
/**
|
|
24
|
+
* Details regarding the approval of an privilegedApi request created by the operator.
|
|
25
|
+
*/
|
|
26
|
+
"approvePrivilegedApiRequestDetails": model.ApprovePrivilegedApiRequestDetails;
|
|
27
|
+
/**
|
|
28
|
+
* For optimistic concurrency control. In the PUT or DELETE call for a resource, set the
|
|
29
|
+
* {@code if-match} parameter to the value of the etag from a previous GET or POST response for
|
|
30
|
+
* that resource. The resource will be updated or deleted only if the etag you provide
|
|
31
|
+
* matches the resource's current etag value.
|
|
32
|
+
*
|
|
33
|
+
*/
|
|
34
|
+
"ifMatch"?: string;
|
|
35
|
+
/**
|
|
36
|
+
* Unique Oracle-assigned identifier for the request. If you need to contact
|
|
37
|
+
* Oracle about a particular request, please provide the request ID.
|
|
38
|
+
* The only valid characters for request IDs are letters, numbers,
|
|
39
|
+
* underscore, and dash.
|
|
40
|
+
*
|
|
41
|
+
*/
|
|
42
|
+
"opcRequestId"?: string;
|
|
43
|
+
/**
|
|
44
|
+
* A token that uniquely identifies a request so it can be retried in case of a timeout or
|
|
45
|
+
* server error without risk of running that same action again. Retry tokens expire after 24
|
|
46
|
+
* hours, but can be invalidated before then due to conflicting operations. For example, if a resource
|
|
47
|
+
* has been deleted and removed from the system, then a retry of the original creation request
|
|
48
|
+
* might be rejected.
|
|
49
|
+
*
|
|
50
|
+
*/
|
|
51
|
+
"opcRetryToken"?: string;
|
|
52
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
*
|
|
4
|
+
*
|
|
5
|
+
* OpenAPI spec version: 20241130
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*
|
|
11
|
+
* Copyright (c) 2020, 2025, 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=approve-privileged-api-request-request.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"approve-privileged-api-request-request.js","sourceRoot":"","sources":["../../../../../lib/apiaccesscontrol/lib/request/approve-privileged-api-request-request.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/**
|
|
2
|
+
*
|
|
3
|
+
*
|
|
4
|
+
* OpenAPI spec version: 20241130
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
8
|
+
* Do not edit the class manually.
|
|
9
|
+
*
|
|
10
|
+
* Copyright (c) 2020, 2025, 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 common = require("oci-common");
|
|
14
|
+
/**
|
|
15
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/apiaccesscontrol/CancelWorkRequest.ts.html |here} to see how to use CancelWorkRequestRequest.
|
|
16
|
+
*/
|
|
17
|
+
export interface CancelWorkRequestRequest extends common.BaseRequest {
|
|
18
|
+
/**
|
|
19
|
+
* The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the asynchronous work request.
|
|
20
|
+
*/
|
|
21
|
+
"workRequestId": string;
|
|
22
|
+
/**
|
|
23
|
+
* For optimistic concurrency control. In the PUT or DELETE call for a resource, set the
|
|
24
|
+
* {@code if-match} parameter to the value of the etag from a previous GET or POST response for
|
|
25
|
+
* that resource. The resource will be updated or deleted only if the etag you provide
|
|
26
|
+
* matches the resource's current etag value.
|
|
27
|
+
*
|
|
28
|
+
*/
|
|
29
|
+
"ifMatch"?: string;
|
|
30
|
+
/**
|
|
31
|
+
* Unique Oracle-assigned identifier for the request. If you need to contact
|
|
32
|
+
* Oracle about a particular request, please provide the request ID.
|
|
33
|
+
* The only valid characters for request IDs are letters, numbers,
|
|
34
|
+
* underscore, and dash.
|
|
35
|
+
*
|
|
36
|
+
*/
|
|
37
|
+
"opcRequestId"?: string;
|
|
38
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
*
|
|
4
|
+
*
|
|
5
|
+
* OpenAPI spec version: 20241130
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*
|
|
11
|
+
* Copyright (c) 2020, 2025, 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=cancel-work-request-request.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cancel-work-request-request.js","sourceRoot":"","sources":["../../../../../lib/apiaccesscontrol/lib/request/cancel-work-request-request.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG"}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
/**
|
|
2
|
+
*
|
|
3
|
+
*
|
|
4
|
+
* OpenAPI spec version: 20241130
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
8
|
+
* Do not edit the class manually.
|
|
9
|
+
*
|
|
10
|
+
* Copyright (c) 2020, 2025, 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
|
+
import common = require("oci-common");
|
|
15
|
+
/**
|
|
16
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/apiaccesscontrol/ChangePrivilegedApiControlCompartment.ts.html |here} to see how to use ChangePrivilegedApiControlCompartmentRequest.
|
|
17
|
+
*/
|
|
18
|
+
export interface ChangePrivilegedApiControlCompartmentRequest extends common.BaseRequest {
|
|
19
|
+
/**
|
|
20
|
+
* The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the PrivilegedApiControl.
|
|
21
|
+
*/
|
|
22
|
+
"privilegedApiControlId": string;
|
|
23
|
+
/**
|
|
24
|
+
* The information to be updated.
|
|
25
|
+
*/
|
|
26
|
+
"changePrivilegedApiControlCompartmentDetails": model.ChangePrivilegedApiControlCompartmentDetails;
|
|
27
|
+
/**
|
|
28
|
+
* For optimistic concurrency control. In the PUT or DELETE call for a resource, set the
|
|
29
|
+
* {@code if-match} parameter to the value of the etag from a previous GET or POST response for
|
|
30
|
+
* that resource. The resource will be updated or deleted only if the etag you provide
|
|
31
|
+
* matches the resource's current etag value.
|
|
32
|
+
*
|
|
33
|
+
*/
|
|
34
|
+
"ifMatch"?: string;
|
|
35
|
+
/**
|
|
36
|
+
* Unique Oracle-assigned identifier for the request. If you need to contact
|
|
37
|
+
* Oracle about a particular request, please provide the request ID.
|
|
38
|
+
* The only valid characters for request IDs are letters, numbers,
|
|
39
|
+
* underscore, and dash.
|
|
40
|
+
*
|
|
41
|
+
*/
|
|
42
|
+
"opcRequestId"?: string;
|
|
43
|
+
/**
|
|
44
|
+
* A token that uniquely identifies a request so it can be retried in case of a timeout or
|
|
45
|
+
* server error without risk of running that same action again. Retry tokens expire after 24
|
|
46
|
+
* hours, but can be invalidated before then due to conflicting operations. For example, if a resource
|
|
47
|
+
* has been deleted and removed from the system, then a retry of the original creation request
|
|
48
|
+
* might be rejected.
|
|
49
|
+
*
|
|
50
|
+
*/
|
|
51
|
+
"opcRetryToken"?: string;
|
|
52
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
*
|
|
4
|
+
*
|
|
5
|
+
* OpenAPI spec version: 20241130
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*
|
|
11
|
+
* Copyright (c) 2020, 2025, 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=change-privileged-api-control-compartment-request.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"change-privileged-api-control-compartment-request.js","sourceRoot":"","sources":["../../../../../lib/apiaccesscontrol/lib/request/change-privileged-api-control-compartment-request.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG"}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
/**
|
|
2
|
+
*
|
|
3
|
+
*
|
|
4
|
+
* OpenAPI spec version: 20241130
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
8
|
+
* Do not edit the class manually.
|
|
9
|
+
*
|
|
10
|
+
* Copyright (c) 2020, 2025, 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
|
+
import common = require("oci-common");
|
|
15
|
+
/**
|
|
16
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/apiaccesscontrol/ClosePrivilegedApiRequest.ts.html |here} to see how to use ClosePrivilegedApiRequestRequest.
|
|
17
|
+
*/
|
|
18
|
+
export interface ClosePrivilegedApiRequestRequest extends common.BaseRequest {
|
|
19
|
+
/**
|
|
20
|
+
* unique PrivilegedApiRequest identifier
|
|
21
|
+
*/
|
|
22
|
+
"privilegedApiRequestId": string;
|
|
23
|
+
/**
|
|
24
|
+
* Details regarding the close of an privilegedApi request created by the operator.
|
|
25
|
+
*/
|
|
26
|
+
"closePrivilegedApiRequestDetails": model.ClosePrivilegedApiRequestDetails;
|
|
27
|
+
/**
|
|
28
|
+
* For optimistic concurrency control. In the PUT or DELETE call for a resource, set the
|
|
29
|
+
* {@code if-match} parameter to the value of the etag from a previous GET or POST response for
|
|
30
|
+
* that resource. The resource will be updated or deleted only if the etag you provide
|
|
31
|
+
* matches the resource's current etag value.
|
|
32
|
+
*
|
|
33
|
+
*/
|
|
34
|
+
"ifMatch"?: string;
|
|
35
|
+
/**
|
|
36
|
+
* Unique Oracle-assigned identifier for the request. If you need to contact
|
|
37
|
+
* Oracle about a particular request, please provide the request ID.
|
|
38
|
+
* The only valid characters for request IDs are letters, numbers,
|
|
39
|
+
* underscore, and dash.
|
|
40
|
+
*
|
|
41
|
+
*/
|
|
42
|
+
"opcRequestId"?: string;
|
|
43
|
+
/**
|
|
44
|
+
* A token that uniquely identifies a request so it can be retried in case of a timeout or
|
|
45
|
+
* server error without risk of running that same action again. Retry tokens expire after 24
|
|
46
|
+
* hours, but can be invalidated before then due to conflicting operations. For example, if a resource
|
|
47
|
+
* has been deleted and removed from the system, then a retry of the original creation request
|
|
48
|
+
* might be rejected.
|
|
49
|
+
*
|
|
50
|
+
*/
|
|
51
|
+
"opcRetryToken"?: string;
|
|
52
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
*
|
|
4
|
+
*
|
|
5
|
+
* OpenAPI spec version: 20241130
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*
|
|
11
|
+
* Copyright (c) 2020, 2025, 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=close-privileged-api-request-request.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"close-privileged-api-request-request.js","sourceRoot":"","sources":["../../../../../lib/apiaccesscontrol/lib/request/close-privileged-api-request-request.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG"}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
/**
|
|
2
|
+
*
|
|
3
|
+
*
|
|
4
|
+
* OpenAPI spec version: 20241130
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
8
|
+
* Do not edit the class manually.
|
|
9
|
+
*
|
|
10
|
+
* Copyright (c) 2020, 2025, 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
|
+
import common = require("oci-common");
|
|
15
|
+
/**
|
|
16
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/apiaccesscontrol/CreatePrivilegedApiControl.ts.html |here} to see how to use CreatePrivilegedApiControlRequest.
|
|
17
|
+
*/
|
|
18
|
+
export interface CreatePrivilegedApiControlRequest extends common.BaseRequest {
|
|
19
|
+
/**
|
|
20
|
+
* Details for the new PrivilegedApiControl.
|
|
21
|
+
*/
|
|
22
|
+
"createPrivilegedApiControlDetails": model.CreatePrivilegedApiControlDetails;
|
|
23
|
+
/**
|
|
24
|
+
* A token that uniquely identifies a request so it can be retried in case of a timeout or
|
|
25
|
+
* server error without risk of running that same action again. Retry tokens expire after 24
|
|
26
|
+
* hours, but can be invalidated before then due to conflicting operations. For example, if a resource
|
|
27
|
+
* has been deleted and removed from the system, then a retry of the original creation request
|
|
28
|
+
* might be rejected.
|
|
29
|
+
*
|
|
30
|
+
*/
|
|
31
|
+
"opcRetryToken"?: string;
|
|
32
|
+
/**
|
|
33
|
+
* Unique Oracle-assigned identifier for the request. If you need to contact
|
|
34
|
+
* Oracle about a particular request, please provide the request ID.
|
|
35
|
+
* The only valid characters for request IDs are letters, numbers,
|
|
36
|
+
* underscore, and dash.
|
|
37
|
+
*
|
|
38
|
+
*/
|
|
39
|
+
"opcRequestId"?: string;
|
|
40
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
*
|
|
4
|
+
*
|
|
5
|
+
* OpenAPI spec version: 20241130
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*
|
|
11
|
+
* Copyright (c) 2020, 2025, 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=create-privileged-api-control-request.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-privileged-api-control-request.js","sourceRoot":"","sources":["../../../../../lib/apiaccesscontrol/lib/request/create-privileged-api-control-request.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG"}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
/**
|
|
2
|
+
*
|
|
3
|
+
*
|
|
4
|
+
* OpenAPI spec version: 20241130
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
8
|
+
* Do not edit the class manually.
|
|
9
|
+
*
|
|
10
|
+
* Copyright (c) 2020, 2025, 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
|
+
import common = require("oci-common");
|
|
15
|
+
/**
|
|
16
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/apiaccesscontrol/CreatePrivilegedApiRequest.ts.html |here} to see how to use CreatePrivilegedApiRequestRequest.
|
|
17
|
+
*/
|
|
18
|
+
export interface CreatePrivilegedApiRequestRequest extends common.BaseRequest {
|
|
19
|
+
/**
|
|
20
|
+
* Details for the new PrivilegedApiRequest.
|
|
21
|
+
*/
|
|
22
|
+
"createPrivilegedApiRequestDetails": model.CreatePrivilegedApiRequestDetails;
|
|
23
|
+
/**
|
|
24
|
+
* A token that uniquely identifies a request so it can be retried in case of a timeout or
|
|
25
|
+
* server error without risk of running that same action again. Retry tokens expire after 24
|
|
26
|
+
* hours, but can be invalidated before then due to conflicting operations. For example, if a resource
|
|
27
|
+
* has been deleted and removed from the system, then a retry of the original creation request
|
|
28
|
+
* might be rejected.
|
|
29
|
+
*
|
|
30
|
+
*/
|
|
31
|
+
"opcRetryToken"?: string;
|
|
32
|
+
/**
|
|
33
|
+
* Unique Oracle-assigned identifier for the request. If you need to contact
|
|
34
|
+
* Oracle about a particular request, please provide the request ID.
|
|
35
|
+
* The only valid characters for request IDs are letters, numbers,
|
|
36
|
+
* underscore, and dash.
|
|
37
|
+
*
|
|
38
|
+
*/
|
|
39
|
+
"opcRequestId"?: string;
|
|
40
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
*
|
|
4
|
+
*
|
|
5
|
+
* OpenAPI spec version: 20241130
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*
|
|
11
|
+
* Copyright (c) 2020, 2025, 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=create-privileged-api-request-request.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-privileged-api-request-request.js","sourceRoot":"","sources":["../../../../../lib/apiaccesscontrol/lib/request/create-privileged-api-request-request.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG"}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
/**
|
|
2
|
+
*
|
|
3
|
+
*
|
|
4
|
+
* OpenAPI spec version: 20241130
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
8
|
+
* Do not edit the class manually.
|
|
9
|
+
*
|
|
10
|
+
* Copyright (c) 2020, 2025, 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 common = require("oci-common");
|
|
14
|
+
/**
|
|
15
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/apiaccesscontrol/DeletePrivilegedApiControl.ts.html |here} to see how to use DeletePrivilegedApiControlRequest.
|
|
16
|
+
*/
|
|
17
|
+
export interface DeletePrivilegedApiControlRequest extends common.BaseRequest {
|
|
18
|
+
/**
|
|
19
|
+
* The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the PrivilegedApiControl.
|
|
20
|
+
*/
|
|
21
|
+
"privilegedApiControlId": string;
|
|
22
|
+
/**
|
|
23
|
+
* reason for deletion of PrivilegedApiControl.
|
|
24
|
+
*/
|
|
25
|
+
"description"?: string;
|
|
26
|
+
/**
|
|
27
|
+
* For optimistic concurrency control. In the PUT or DELETE call for a resource, set the
|
|
28
|
+
* {@code if-match} parameter to the value of the etag from a previous GET or POST response for
|
|
29
|
+
* that resource. The resource will be updated or deleted only if the etag you provide
|
|
30
|
+
* matches the resource's current etag value.
|
|
31
|
+
*
|
|
32
|
+
*/
|
|
33
|
+
"ifMatch"?: string;
|
|
34
|
+
/**
|
|
35
|
+
* Unique Oracle-assigned identifier for the request. If you need to contact
|
|
36
|
+
* Oracle about a particular request, please provide the request ID.
|
|
37
|
+
* The only valid characters for request IDs are letters, numbers,
|
|
38
|
+
* underscore, and dash.
|
|
39
|
+
*
|
|
40
|
+
*/
|
|
41
|
+
"opcRequestId"?: string;
|
|
42
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
*
|
|
4
|
+
*
|
|
5
|
+
* OpenAPI spec version: 20241130
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*
|
|
11
|
+
* Copyright (c) 2020, 2025, 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=delete-privileged-api-control-request.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"delete-privileged-api-control-request.js","sourceRoot":"","sources":["../../../../../lib/apiaccesscontrol/lib/request/delete-privileged-api-control-request.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/**
|
|
2
|
+
*
|
|
3
|
+
*
|
|
4
|
+
* OpenAPI spec version: 20241130
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
8
|
+
* Do not edit the class manually.
|
|
9
|
+
*
|
|
10
|
+
* Copyright (c) 2020, 2025, 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 common = require("oci-common");
|
|
14
|
+
/**
|
|
15
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/apiaccesscontrol/GetApiMetadata.ts.html |here} to see how to use GetApiMetadataRequest.
|
|
16
|
+
*/
|
|
17
|
+
export interface GetApiMetadataRequest extends common.BaseRequest {
|
|
18
|
+
/**
|
|
19
|
+
* The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the PrivilegedApiControl.
|
|
20
|
+
*/
|
|
21
|
+
"apiMetadataId": string;
|
|
22
|
+
/**
|
|
23
|
+
* Unique Oracle-assigned identifier for the request. If you need to contact
|
|
24
|
+
* Oracle about a particular request, please provide the request ID.
|
|
25
|
+
* The only valid characters for request IDs are letters, numbers,
|
|
26
|
+
* underscore, and dash.
|
|
27
|
+
*
|
|
28
|
+
*/
|
|
29
|
+
"opcRequestId"?: string;
|
|
30
|
+
}
|