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,54 @@
|
|
|
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 model from "../model";
|
|
20
|
+
/**
|
|
21
|
+
* A resource created or operated on by a work request.
|
|
22
|
+
*/
|
|
23
|
+
export interface WorkRequestResource {
|
|
24
|
+
/**
|
|
25
|
+
* The resource type that the work request affects.
|
|
26
|
+
*/
|
|
27
|
+
"entityType": string;
|
|
28
|
+
/**
|
|
29
|
+
* The way in which this resource is affected by the operation tracked in the work request.
|
|
30
|
+
* A resource being created, updated, or deleted remains in the IN_PROGRESS state until
|
|
31
|
+
* work is complete for that resource, at which point it transitions to CREATED, UPDATED,
|
|
32
|
+
* or DELETED, respectively.
|
|
33
|
+
*
|
|
34
|
+
*/
|
|
35
|
+
"actionType": model.ActionType;
|
|
36
|
+
/**
|
|
37
|
+
* An [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) or other unique identifier for the resource.
|
|
38
|
+
*/
|
|
39
|
+
"identifier": string;
|
|
40
|
+
/**
|
|
41
|
+
* The URI path that you can use for a GET request to access the resource metadata.
|
|
42
|
+
*/
|
|
43
|
+
"entityUri"?: string;
|
|
44
|
+
/**
|
|
45
|
+
* Additional information that helps to explain the resource.
|
|
46
|
+
*/
|
|
47
|
+
"metadata"?: {
|
|
48
|
+
[key: string]: string;
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
export declare namespace WorkRequestResource {
|
|
52
|
+
function getJsonObj(obj: WorkRequestResource): object;
|
|
53
|
+
function getDeserializedJsonObj(obj: WorkRequestResource): object;
|
|
54
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
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
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
21
|
+
exports.WorkRequestResource = void 0;
|
|
22
|
+
var WorkRequestResource;
|
|
23
|
+
(function (WorkRequestResource) {
|
|
24
|
+
function getJsonObj(obj) {
|
|
25
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
26
|
+
return jsonObj;
|
|
27
|
+
}
|
|
28
|
+
WorkRequestResource.getJsonObj = getJsonObj;
|
|
29
|
+
function getDeserializedJsonObj(obj) {
|
|
30
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
31
|
+
return jsonObj;
|
|
32
|
+
}
|
|
33
|
+
WorkRequestResource.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
34
|
+
})(WorkRequestResource = exports.WorkRequestResource || (exports.WorkRequestResource = {}));
|
|
35
|
+
//# sourceMappingURL=work-request-resource.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"work-request-resource.js","sourceRoot":"","sources":["../../../../../lib/apiaccesscontrol/lib/model/work-request-resource.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;GAiBG;;;AAmCH,IAAiB,mBAAmB,CAWnC;AAXD,WAAiB,mBAAmB;IAClC,SAAgB,UAAU,CAAC,GAAwB;QACjD,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,8BAAU,aAIzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAwB;QAC7D,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,0CAAsB,yBAIrC,CAAA;AACH,CAAC,EAXgB,mBAAmB,GAAnB,2BAAmB,KAAnB,2BAAmB,QAWnC"}
|
|
@@ -0,0 +1,32 @@
|
|
|
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 model from "../model";
|
|
20
|
+
/**
|
|
21
|
+
* A list of work requests. Can contain both work requests and other information, such as metadata.
|
|
22
|
+
*/
|
|
23
|
+
export interface WorkRequestSummaryCollection {
|
|
24
|
+
/**
|
|
25
|
+
* A list of work requests.
|
|
26
|
+
*/
|
|
27
|
+
"items": Array<model.WorkRequestSummary>;
|
|
28
|
+
}
|
|
29
|
+
export declare namespace WorkRequestSummaryCollection {
|
|
30
|
+
function getJsonObj(obj: WorkRequestSummaryCollection): object;
|
|
31
|
+
function getDeserializedJsonObj(obj: WorkRequestSummaryCollection): object;
|
|
32
|
+
}
|
|
@@ -0,0 +1,67 @@
|
|
|
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 __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
21
|
+
if (k2 === undefined) k2 = k;
|
|
22
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
23
|
+
}) : (function(o, m, k, k2) {
|
|
24
|
+
if (k2 === undefined) k2 = k;
|
|
25
|
+
o[k2] = m[k];
|
|
26
|
+
}));
|
|
27
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
28
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
29
|
+
}) : function(o, v) {
|
|
30
|
+
o["default"] = v;
|
|
31
|
+
});
|
|
32
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
33
|
+
if (mod && mod.__esModule) return mod;
|
|
34
|
+
var result = {};
|
|
35
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
36
|
+
__setModuleDefault(result, mod);
|
|
37
|
+
return result;
|
|
38
|
+
};
|
|
39
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
40
|
+
exports.WorkRequestSummaryCollection = void 0;
|
|
41
|
+
const model = __importStar(require("../model"));
|
|
42
|
+
var WorkRequestSummaryCollection;
|
|
43
|
+
(function (WorkRequestSummaryCollection) {
|
|
44
|
+
function getJsonObj(obj) {
|
|
45
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
46
|
+
"items": obj.items
|
|
47
|
+
? obj.items.map(item => {
|
|
48
|
+
return model.WorkRequestSummary.getJsonObj(item);
|
|
49
|
+
})
|
|
50
|
+
: undefined
|
|
51
|
+
});
|
|
52
|
+
return jsonObj;
|
|
53
|
+
}
|
|
54
|
+
WorkRequestSummaryCollection.getJsonObj = getJsonObj;
|
|
55
|
+
function getDeserializedJsonObj(obj) {
|
|
56
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
57
|
+
"items": obj.items
|
|
58
|
+
? obj.items.map(item => {
|
|
59
|
+
return model.WorkRequestSummary.getDeserializedJsonObj(item);
|
|
60
|
+
})
|
|
61
|
+
: undefined
|
|
62
|
+
});
|
|
63
|
+
return jsonObj;
|
|
64
|
+
}
|
|
65
|
+
WorkRequestSummaryCollection.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
66
|
+
})(WorkRequestSummaryCollection = exports.WorkRequestSummaryCollection || (exports.WorkRequestSummaryCollection = {}));
|
|
67
|
+
//# sourceMappingURL=work-request-summary-collection.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"work-request-summary-collection.js","sourceRoot":"","sources":["../../../../../lib/apiaccesscontrol/lib/model/work-request-summary-collection.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;GAiBG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAalC,IAAiB,4BAA4B,CA6B5C;AA7BD,WAAiB,4BAA4B;IAC3C,SAAgB,UAAU,CAAC,GAAiC;QAC1D,MAAM,OAAO,mCACR,GAAG,GACH;YACD,OAAO,EAAE,GAAG,CAAC,KAAK;gBAChB,CAAC,CAAC,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACnB,OAAO,KAAK,CAAC,kBAAkB,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;gBACnD,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,uCAAU,aAazB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAiC;QACtE,MAAM,OAAO,mCACR,GAAG,GACH;YACD,OAAO,EAAE,GAAG,CAAC,KAAK;gBAChB,CAAC,CAAC,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACnB,OAAO,KAAK,CAAC,kBAAkB,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBAC/D,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,mDAAsB,yBAarC,CAAA;AACH,CAAC,EA7BgB,4BAA4B,GAA5B,oCAA4B,KAA5B,oCAA4B,QA6B5C"}
|
|
@@ -0,0 +1,79 @@
|
|
|
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 model from "../model";
|
|
20
|
+
/**
|
|
21
|
+
* Summary information about an asynchronous work request.
|
|
22
|
+
*/
|
|
23
|
+
export interface WorkRequestSummary {
|
|
24
|
+
/**
|
|
25
|
+
* The asynchronous operation tracked by this work request.
|
|
26
|
+
*/
|
|
27
|
+
"operationType": model.OperationType;
|
|
28
|
+
/**
|
|
29
|
+
* The status of the work request.
|
|
30
|
+
*/
|
|
31
|
+
"status": model.OperationStatus;
|
|
32
|
+
/**
|
|
33
|
+
* The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request.
|
|
34
|
+
*/
|
|
35
|
+
"id": string;
|
|
36
|
+
/**
|
|
37
|
+
* The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the work request.
|
|
38
|
+
*
|
|
39
|
+
*/
|
|
40
|
+
"compartmentId": string;
|
|
41
|
+
/**
|
|
42
|
+
* The resources that are affected by this work request.
|
|
43
|
+
*/
|
|
44
|
+
"resources": Array<model.WorkRequestResource>;
|
|
45
|
+
/**
|
|
46
|
+
* Shows the progress of the operation tracked by the work request, as a percentage of the total work
|
|
47
|
+
* that must be performed.
|
|
48
|
+
* Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
49
|
+
*/
|
|
50
|
+
"percentComplete": number;
|
|
51
|
+
/**
|
|
52
|
+
* The date and time the work request was created, in the format defined by
|
|
53
|
+
* [RFC 3339](https://tools.ietf.org/html/rfc3339).
|
|
54
|
+
*
|
|
55
|
+
*/
|
|
56
|
+
"timeAccepted": Date;
|
|
57
|
+
/**
|
|
58
|
+
* The date and time the work request was started, in the format defined by
|
|
59
|
+
* [RFC 3339](https://tools.ietf.org/html/rfc3339).
|
|
60
|
+
*
|
|
61
|
+
*/
|
|
62
|
+
"timeStarted"?: Date;
|
|
63
|
+
/**
|
|
64
|
+
* The date and time the work request was finished, in the format defined by
|
|
65
|
+
* [RFC 3339](https://tools.ietf.org/rfc/rfc3339).
|
|
66
|
+
*
|
|
67
|
+
*/
|
|
68
|
+
"timeFinished"?: Date;
|
|
69
|
+
/**
|
|
70
|
+
* The date and time the work request was updated, in the format defined by
|
|
71
|
+
* [RFC 3339](https://tools.ietf.org/rfc/rfc3339).
|
|
72
|
+
*
|
|
73
|
+
*/
|
|
74
|
+
"timeUpdated"?: Date;
|
|
75
|
+
}
|
|
76
|
+
export declare namespace WorkRequestSummary {
|
|
77
|
+
function getJsonObj(obj: WorkRequestSummary): object;
|
|
78
|
+
function getDeserializedJsonObj(obj: WorkRequestSummary): object;
|
|
79
|
+
}
|
|
@@ -0,0 +1,67 @@
|
|
|
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 __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
21
|
+
if (k2 === undefined) k2 = k;
|
|
22
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
23
|
+
}) : (function(o, m, k, k2) {
|
|
24
|
+
if (k2 === undefined) k2 = k;
|
|
25
|
+
o[k2] = m[k];
|
|
26
|
+
}));
|
|
27
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
28
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
29
|
+
}) : function(o, v) {
|
|
30
|
+
o["default"] = v;
|
|
31
|
+
});
|
|
32
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
33
|
+
if (mod && mod.__esModule) return mod;
|
|
34
|
+
var result = {};
|
|
35
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
36
|
+
__setModuleDefault(result, mod);
|
|
37
|
+
return result;
|
|
38
|
+
};
|
|
39
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
40
|
+
exports.WorkRequestSummary = void 0;
|
|
41
|
+
const model = __importStar(require("../model"));
|
|
42
|
+
var WorkRequestSummary;
|
|
43
|
+
(function (WorkRequestSummary) {
|
|
44
|
+
function getJsonObj(obj) {
|
|
45
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
46
|
+
"resources": obj.resources
|
|
47
|
+
? obj.resources.map(item => {
|
|
48
|
+
return model.WorkRequestResource.getJsonObj(item);
|
|
49
|
+
})
|
|
50
|
+
: undefined
|
|
51
|
+
});
|
|
52
|
+
return jsonObj;
|
|
53
|
+
}
|
|
54
|
+
WorkRequestSummary.getJsonObj = getJsonObj;
|
|
55
|
+
function getDeserializedJsonObj(obj) {
|
|
56
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
57
|
+
"resources": obj.resources
|
|
58
|
+
? obj.resources.map(item => {
|
|
59
|
+
return model.WorkRequestResource.getDeserializedJsonObj(item);
|
|
60
|
+
})
|
|
61
|
+
: undefined
|
|
62
|
+
});
|
|
63
|
+
return jsonObj;
|
|
64
|
+
}
|
|
65
|
+
WorkRequestSummary.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
66
|
+
})(WorkRequestSummary = exports.WorkRequestSummary || (exports.WorkRequestSummary = {}));
|
|
67
|
+
//# sourceMappingURL=work-request-summary.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"work-request-summary.js","sourceRoot":"","sources":["../../../../../lib/apiaccesscontrol/lib/model/work-request-summary.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;GAiBG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AA4DlC,IAAiB,kBAAkB,CA6BlC;AA7BD,WAAiB,kBAAkB;IACjC,SAAgB,UAAU,CAAC,GAAuB;QAChD,MAAM,OAAO,mCACR,GAAG,GACH;YACD,WAAW,EAAE,GAAG,CAAC,SAAS;gBACxB,CAAC,CAAC,GAAG,CAAC,SAAS,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACvB,OAAO,KAAK,CAAC,mBAAmB,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;gBACpD,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,6BAAU,aAazB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAuB;QAC5D,MAAM,OAAO,mCACR,GAAG,GACH;YACD,WAAW,EAAE,GAAG,CAAC,SAAS;gBACxB,CAAC,CAAC,GAAG,CAAC,SAAS,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACvB,OAAO,KAAK,CAAC,mBAAmB,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBAChE,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,yCAAsB,yBAarC,CAAA;AACH,CAAC,EA7BgB,kBAAkB,GAAlB,0BAAkB,KAAlB,0BAAkB,QA6BlC"}
|
|
@@ -0,0 +1,82 @@
|
|
|
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 model from "../model";
|
|
20
|
+
/**
|
|
21
|
+
* An asynchronous work request. Work requests help you monitor long-running operations. When you start a long-running operation,
|
|
22
|
+
* the service creates a work request. A work request is an activity log that lets you track each step in the operation's
|
|
23
|
+
* progress. Each work request has an OCID that lets you interact with it programmatically and use it for automation.
|
|
24
|
+
*
|
|
25
|
+
*/
|
|
26
|
+
export interface WorkRequest {
|
|
27
|
+
/**
|
|
28
|
+
* The asynchronous operation tracked by this work request.
|
|
29
|
+
*/
|
|
30
|
+
"operationType": model.OperationType;
|
|
31
|
+
/**
|
|
32
|
+
* The status of the work request.
|
|
33
|
+
*/
|
|
34
|
+
"status": model.OperationStatus;
|
|
35
|
+
/**
|
|
36
|
+
* The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request.
|
|
37
|
+
*/
|
|
38
|
+
"id": string;
|
|
39
|
+
/**
|
|
40
|
+
* The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the work request.
|
|
41
|
+
*
|
|
42
|
+
*/
|
|
43
|
+
"compartmentId": string;
|
|
44
|
+
/**
|
|
45
|
+
* The resources that are affected by the work request.
|
|
46
|
+
*/
|
|
47
|
+
"resources": Array<model.WorkRequestResource>;
|
|
48
|
+
/**
|
|
49
|
+
* Shows the progress of the operation tracked by the work request, as a percentage of the total work
|
|
50
|
+
* that must be performed.
|
|
51
|
+
* Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
52
|
+
*/
|
|
53
|
+
"percentComplete": number;
|
|
54
|
+
/**
|
|
55
|
+
* The date and time the work request was created, in the format defined by
|
|
56
|
+
* [RFC 3339](https://tools.ietf.org/html/rfc3339).
|
|
57
|
+
*
|
|
58
|
+
*/
|
|
59
|
+
"timeAccepted": Date;
|
|
60
|
+
/**
|
|
61
|
+
* The date and time the work request was started, in the format defined by
|
|
62
|
+
* [RFC 3339](https://tools.ietf.org/html/rfc3339).
|
|
63
|
+
*
|
|
64
|
+
*/
|
|
65
|
+
"timeStarted"?: Date;
|
|
66
|
+
/**
|
|
67
|
+
* The date and time the work request was finished, in the format defined by
|
|
68
|
+
* [RFC 3339](https://tools.ietf.org/rfc/rfc3339).
|
|
69
|
+
*
|
|
70
|
+
*/
|
|
71
|
+
"timeFinished"?: Date;
|
|
72
|
+
/**
|
|
73
|
+
* The date and time the work request was updated, in the format defined by
|
|
74
|
+
* [RFC 3339](https://tools.ietf.org/rfc/rfc3339).
|
|
75
|
+
*
|
|
76
|
+
*/
|
|
77
|
+
"timeUpdated"?: Date;
|
|
78
|
+
}
|
|
79
|
+
export declare namespace WorkRequest {
|
|
80
|
+
function getJsonObj(obj: WorkRequest): object;
|
|
81
|
+
function getDeserializedJsonObj(obj: WorkRequest): object;
|
|
82
|
+
}
|
|
@@ -0,0 +1,67 @@
|
|
|
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 __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
21
|
+
if (k2 === undefined) k2 = k;
|
|
22
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
23
|
+
}) : (function(o, m, k, k2) {
|
|
24
|
+
if (k2 === undefined) k2 = k;
|
|
25
|
+
o[k2] = m[k];
|
|
26
|
+
}));
|
|
27
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
28
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
29
|
+
}) : function(o, v) {
|
|
30
|
+
o["default"] = v;
|
|
31
|
+
});
|
|
32
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
33
|
+
if (mod && mod.__esModule) return mod;
|
|
34
|
+
var result = {};
|
|
35
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
36
|
+
__setModuleDefault(result, mod);
|
|
37
|
+
return result;
|
|
38
|
+
};
|
|
39
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
40
|
+
exports.WorkRequest = void 0;
|
|
41
|
+
const model = __importStar(require("../model"));
|
|
42
|
+
var WorkRequest;
|
|
43
|
+
(function (WorkRequest) {
|
|
44
|
+
function getJsonObj(obj) {
|
|
45
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
46
|
+
"resources": obj.resources
|
|
47
|
+
? obj.resources.map(item => {
|
|
48
|
+
return model.WorkRequestResource.getJsonObj(item);
|
|
49
|
+
})
|
|
50
|
+
: undefined
|
|
51
|
+
});
|
|
52
|
+
return jsonObj;
|
|
53
|
+
}
|
|
54
|
+
WorkRequest.getJsonObj = getJsonObj;
|
|
55
|
+
function getDeserializedJsonObj(obj) {
|
|
56
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
57
|
+
"resources": obj.resources
|
|
58
|
+
? obj.resources.map(item => {
|
|
59
|
+
return model.WorkRequestResource.getDeserializedJsonObj(item);
|
|
60
|
+
})
|
|
61
|
+
: undefined
|
|
62
|
+
});
|
|
63
|
+
return jsonObj;
|
|
64
|
+
}
|
|
65
|
+
WorkRequest.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
66
|
+
})(WorkRequest = exports.WorkRequest || (exports.WorkRequest = {}));
|
|
67
|
+
//# sourceMappingURL=work-request.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"work-request.js","sourceRoot":"","sources":["../../../../../lib/apiaccesscontrol/lib/model/work-request.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;GAiBG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AA+DlC,IAAiB,WAAW,CA6B3B;AA7BD,WAAiB,WAAW;IAC1B,SAAgB,UAAU,CAAC,GAAgB;QACzC,MAAM,OAAO,mCACR,GAAG,GACH;YACD,WAAW,EAAE,GAAG,CAAC,SAAS;gBACxB,CAAC,CAAC,GAAG,CAAC,SAAS,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACvB,OAAO,KAAK,CAAC,mBAAmB,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;gBACpD,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,sBAAU,aAazB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAgB;QACrD,MAAM,OAAO,mCACR,GAAG,GACH;YACD,WAAW,EAAE,GAAG,CAAC,SAAS;gBACxB,CAAC,CAAC,GAAG,CAAC,SAAS,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACvB,OAAO,KAAK,CAAC,mBAAmB,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBAChE,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,kCAAsB,yBAarC,CAAA;AACH,CAAC,EA7BgB,WAAW,GAAX,mBAAW,KAAX,mBAAW,QA6B3B"}
|
|
@@ -0,0 +1,35 @@
|
|
|
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 * as models from "./model";
|
|
22
|
+
import { PrivilegedApiControlClient } from "./client";
|
|
23
|
+
export declare class PrivilegedApiControlWaiter {
|
|
24
|
+
private client;
|
|
25
|
+
private readonly config?;
|
|
26
|
+
constructor(client: PrivilegedApiControlClient, config?: Partial<import("oci-common/lib/waiter").WaiterConfigurationDetails> | undefined);
|
|
27
|
+
/**
|
|
28
|
+
* Waits forPrivilegedApiControl till it reaches any of the provided states
|
|
29
|
+
*
|
|
30
|
+
* @param request the request to send
|
|
31
|
+
* @param targetStates the desired states to wait for. The waiter will return once the resource reaches any of the provided states
|
|
32
|
+
* @return response returns GetPrivilegedApiControlResponse | null (null in case of 404 response)
|
|
33
|
+
*/
|
|
34
|
+
forPrivilegedApiControl(request: serviceRequests.GetPrivilegedApiControlRequest, ...targetStates: models.PrivilegedApiControl.LifecycleState[]): Promise<serviceResponses.GetPrivilegedApiControlResponse | null>;
|
|
35
|
+
}
|
|
@@ -0,0 +1,71 @@
|
|
|
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 __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
21
|
+
if (k2 === undefined) k2 = k;
|
|
22
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
23
|
+
}) : (function(o, m, k, k2) {
|
|
24
|
+
if (k2 === undefined) k2 = k;
|
|
25
|
+
o[k2] = m[k];
|
|
26
|
+
}));
|
|
27
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
28
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
29
|
+
}) : function(o, v) {
|
|
30
|
+
o["default"] = v;
|
|
31
|
+
});
|
|
32
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
33
|
+
if (mod && mod.__esModule) return mod;
|
|
34
|
+
var result = {};
|
|
35
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
36
|
+
__setModuleDefault(result, mod);
|
|
37
|
+
return result;
|
|
38
|
+
};
|
|
39
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
40
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
41
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
42
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
43
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
44
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
45
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
46
|
+
});
|
|
47
|
+
};
|
|
48
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
49
|
+
exports.PrivilegedApiControlWaiter = void 0;
|
|
50
|
+
const models = __importStar(require("./model"));
|
|
51
|
+
const oci_common_1 = require("oci-common");
|
|
52
|
+
class PrivilegedApiControlWaiter {
|
|
53
|
+
constructor(client, config) {
|
|
54
|
+
this.client = client;
|
|
55
|
+
this.config = config;
|
|
56
|
+
}
|
|
57
|
+
/**
|
|
58
|
+
* Waits forPrivilegedApiControl till it reaches any of the provided states
|
|
59
|
+
*
|
|
60
|
+
* @param request the request to send
|
|
61
|
+
* @param targetStates the desired states to wait for. The waiter will return once the resource reaches any of the provided states
|
|
62
|
+
* @return response returns GetPrivilegedApiControlResponse | null (null in case of 404 response)
|
|
63
|
+
*/
|
|
64
|
+
forPrivilegedApiControl(request, ...targetStates) {
|
|
65
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
66
|
+
return oci_common_1.genericTerminalConditionWaiter(this.config, () => this.client.getPrivilegedApiControl(request), response => targetStates.includes(response.privilegedApiControl.lifecycleState), targetStates.includes(models.PrivilegedApiControl.LifecycleState.Deleted));
|
|
67
|
+
});
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
exports.PrivilegedApiControlWaiter = PrivilegedApiControlWaiter;
|
|
71
|
+
//# sourceMappingURL=privilegedapicontrol-waiter.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"privilegedapicontrol-waiter.js","sourceRoot":"","sources":["../../../../lib/apiaccesscontrol/lib/privilegedapicontrol-waiter.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;GAiBG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAIH,gDAAkC;AAElC,2CAAgG;AAEhG,MAAa,0BAA0B;IACrC,YACU,MAAkC,EACzB,MAA4B;QADrC,WAAM,GAAN,MAAM,CAA4B;QACzB,WAAM,GAAN,MAAM,CAAsB;IAC5C,CAAC;IAEJ;;;;;;OAMG;IACU,uBAAuB,CAClC,OAAuD,EACvD,GAAG,YAA0D;;YAE7D,OAAO,2CAA8B,CACnC,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,EAChF,YAAY,CAAC,QAAQ,CAAC,MAAM,CAAC,oBAAoB,CAAC,cAAc,CAAC,OAAO,CAAC,CAC1E,CAAC;QACJ,CAAC;KAAA;CACF;AAxBD,gEAwBC"}
|
|
@@ -0,0 +1,35 @@
|
|
|
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 * as models from "./model";
|
|
22
|
+
import { PrivilegedApiRequestsClient } from "./client";
|
|
23
|
+
export declare class PrivilegedApiRequestsWaiter {
|
|
24
|
+
private client;
|
|
25
|
+
private readonly config?;
|
|
26
|
+
constructor(client: PrivilegedApiRequestsClient, config?: Partial<import("oci-common/lib/waiter").WaiterConfigurationDetails> | undefined);
|
|
27
|
+
/**
|
|
28
|
+
* Waits forPrivilegedApiRequest till it reaches any of the provided states
|
|
29
|
+
*
|
|
30
|
+
* @param request the request to send
|
|
31
|
+
* @param targetStates the desired states to wait for. The waiter will return once the resource reaches any of the provided states
|
|
32
|
+
* @return response returns GetPrivilegedApiRequestResponse
|
|
33
|
+
*/
|
|
34
|
+
forPrivilegedApiRequest(request: serviceRequests.GetPrivilegedApiRequestRequest, ...targetStates: models.PrivilegedApiRequest.LifecycleState[]): Promise<serviceResponses.GetPrivilegedApiRequestResponse>;
|
|
35
|
+
}
|