oci-governancerulescontrolplane 2.31.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/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 +25 -0
- package/index.js +48 -0
- package/index.js.map +1 -0
- package/lib/client.d.ts +327 -0
- package/lib/client.js +1593 -0
- package/lib/client.js.map +1 -0
- package/lib/governancerule-waiter.d.ts +53 -0
- package/lib/governancerule-waiter.js +101 -0
- package/lib/governancerule-waiter.js.map +1 -0
- package/lib/model/action-type.d.ts +32 -0
- package/lib/model/action-type.js +43 -0
- package/lib/model/action-type.js.map +1 -0
- package/lib/model/allowed-regions-template.d.ts +37 -0
- package/lib/model/allowed-regions-template.js +52 -0
- package/lib/model/allowed-regions-template.js.map +1 -0
- package/lib/model/association.d.ts +23 -0
- package/lib/model/association.js +65 -0
- package/lib/model/association.js.map +1 -0
- package/lib/model/base-tag-definition-validator.d.ts +33 -0
- package/lib/model/base-tag-definition-validator.js +69 -0
- package/lib/model/base-tag-definition-validator.js.map +1 -0
- package/lib/model/create-governance-rule-details.d.ts +71 -0
- package/lib/model/create-governance-rule-details.js +53 -0
- package/lib/model/create-governance-rule-details.js.map +1 -0
- package/lib/model/create-inclusion-criterion-details.d.ts +31 -0
- package/lib/model/create-inclusion-criterion-details.js +55 -0
- package/lib/model/create-inclusion-criterion-details.js.map +1 -0
- package/lib/model/creation-option.d.ts +28 -0
- package/lib/model/creation-option.js +39 -0
- package/lib/model/creation-option.js.map +1 -0
- package/lib/model/default-tag-definition-validator.d.ts +27 -0
- package/lib/model/default-tag-definition-validator.js +54 -0
- package/lib/model/default-tag-definition-validator.js.map +1 -0
- package/lib/model/enforced-governance-rule-collection.d.ts +26 -0
- package/lib/model/enforced-governance-rule-collection.js +61 -0
- package/lib/model/enforced-governance-rule-collection.js.map +1 -0
- package/lib/model/enforced-governance-rule-summary.d.ts +59 -0
- package/lib/model/enforced-governance-rule-summary.js +29 -0
- package/lib/model/enforced-governance-rule-summary.js.map +1 -0
- package/lib/model/enforced-governance-rule.d.ts +60 -0
- package/lib/model/enforced-governance-rule.js +53 -0
- package/lib/model/enforced-governance-rule.js.map +1 -0
- package/lib/model/enum-tag-definition-validator.d.ts +33 -0
- package/lib/model/enum-tag-definition-validator.js +54 -0
- package/lib/model/enum-tag-definition-validator.js.map +1 -0
- package/lib/model/governance-rule-collection.d.ts +26 -0
- package/lib/model/governance-rule-collection.js +61 -0
- package/lib/model/governance-rule-collection.js.map +1 -0
- package/lib/model/governance-rule-lifecycle-state.d.ts +28 -0
- package/lib/model/governance-rule-lifecycle-state.js +39 -0
- package/lib/model/governance-rule-lifecycle-state.js.map +1 -0
- package/lib/model/governance-rule-summary.d.ts +94 -0
- package/lib/model/governance-rule-summary.js +29 -0
- package/lib/model/governance-rule-summary.js.map +1 -0
- package/lib/model/governance-rule-type.d.ts +29 -0
- package/lib/model/governance-rule-type.js +40 -0
- package/lib/model/governance-rule-type.js.map +1 -0
- package/lib/model/governance-rule.d.ts +103 -0
- package/lib/model/governance-rule.js +53 -0
- package/lib/model/governance-rule.js.map +1 -0
- package/lib/model/inclusion-criterion-collection.d.ts +26 -0
- package/lib/model/inclusion-criterion-collection.js +61 -0
- package/lib/model/inclusion-criterion-collection.js.map +1 -0
- package/lib/model/inclusion-criterion-summary.d.ts +53 -0
- package/lib/model/inclusion-criterion-summary.js +55 -0
- package/lib/model/inclusion-criterion-summary.js.map +1 -0
- package/lib/model/inclusion-criterion.d.ts +71 -0
- package/lib/model/inclusion-criterion.js +75 -0
- package/lib/model/inclusion-criterion.js.map +1 -0
- package/lib/model/index.d.ts +96 -0
- package/lib/model/index.js +119 -0
- package/lib/model/index.js.map +1 -0
- package/lib/model/operation-status.d.ts +33 -0
- package/lib/model/operation-status.js +44 -0
- package/lib/model/operation-status.js.map +1 -0
- package/lib/model/operation-type.d.ts +42 -0
- package/lib/model/operation-type.js +53 -0
- package/lib/model/operation-type.js.map +1 -0
- package/lib/model/quota-template.d.ts +37 -0
- package/lib/model/quota-template.js +50 -0
- package/lib/model/quota-template.js.map +1 -0
- package/lib/model/sort-order.d.ts +23 -0
- package/lib/model/sort-order.js +34 -0
- package/lib/model/sort-order.js.map +1 -0
- package/lib/model/tag-default.d.ts +46 -0
- package/lib/model/tag-default.js +29 -0
- package/lib/model/tag-default.js.map +1 -0
- package/lib/model/tag-template.d.ts +38 -0
- package/lib/model/tag-template.js +72 -0
- package/lib/model/tag-template.js.map +1 -0
- package/lib/model/tag.d.ts +39 -0
- package/lib/model/tag.js +57 -0
- package/lib/model/tag.js.map +1 -0
- package/lib/model/template.d.ts +23 -0
- package/lib/model/template.js +73 -0
- package/lib/model/template.js.map +1 -0
- package/lib/model/tenancy-association.d.ts +29 -0
- package/lib/model/tenancy-association.js +52 -0
- package/lib/model/tenancy-association.js.map +1 -0
- package/lib/model/tenancy-attachment-collection.d.ts +26 -0
- package/lib/model/tenancy-attachment-collection.js +61 -0
- package/lib/model/tenancy-attachment-collection.js.map +1 -0
- package/lib/model/tenancy-attachment-summary.d.ts +62 -0
- package/lib/model/tenancy-attachment-summary.js +29 -0
- package/lib/model/tenancy-attachment-summary.js.map +1 -0
- package/lib/model/tenancy-attachment.d.ts +75 -0
- package/lib/model/tenancy-attachment.js +43 -0
- package/lib/model/tenancy-attachment.js.map +1 -0
- package/lib/model/update-governance-rule-details.d.ts +53 -0
- package/lib/model/update-governance-rule-details.js +53 -0
- package/lib/model/update-governance-rule-details.js.map +1 -0
- package/lib/model/work-request-error-collection.d.ts +26 -0
- package/lib/model/work-request-error-collection.js +61 -0
- package/lib/model/work-request-error-collection.js.map +1 -0
- package/lib/model/work-request-error.d.ts +35 -0
- package/lib/model/work-request-error.js +29 -0
- package/lib/model/work-request-error.js.map +1 -0
- package/lib/model/work-request-log-entry-collection.d.ts +26 -0
- package/lib/model/work-request-log-entry-collection.js +61 -0
- package/lib/model/work-request-log-entry-collection.js.map +1 -0
- package/lib/model/work-request-log-entry.d.ts +29 -0
- package/lib/model/work-request-log-entry.js +29 -0
- package/lib/model/work-request-log-entry.js.map +1 -0
- package/lib/model/work-request-resource-metadata-key.d.ts +27 -0
- package/lib/model/work-request-resource-metadata-key.js +38 -0
- package/lib/model/work-request-resource-metadata-key.js.map +1 -0
- package/lib/model/work-request-resource.d.ts +48 -0
- package/lib/model/work-request-resource.js +29 -0
- package/lib/model/work-request-resource.js.map +1 -0
- package/lib/model/work-request-summary-collection.d.ts +26 -0
- package/lib/model/work-request-summary-collection.js +61 -0
- package/lib/model/work-request-summary-collection.js.map +1 -0
- package/lib/model/work-request-summary.d.ts +67 -0
- package/lib/model/work-request-summary.js +61 -0
- package/lib/model/work-request-summary.js.map +1 -0
- package/lib/model/work-request.d.ts +67 -0
- package/lib/model/work-request.js +61 -0
- package/lib/model/work-request.js.map +1 -0
- package/lib/request/cancel-work-request-request.d.ts +35 -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/create-governance-rule-request.d.ts +36 -0
- package/lib/request/create-governance-rule-request.js +15 -0
- package/lib/request/create-governance-rule-request.js.map +1 -0
- package/lib/request/create-inclusion-criterion-request.d.ts +36 -0
- package/lib/request/create-inclusion-criterion-request.js +15 -0
- package/lib/request/create-inclusion-criterion-request.js.map +1 -0
- package/lib/request/delete-governance-rule-request.d.ts +35 -0
- package/lib/request/delete-governance-rule-request.js +15 -0
- package/lib/request/delete-governance-rule-request.js.map +1 -0
- package/lib/request/delete-inclusion-criterion-request.d.ts +35 -0
- package/lib/request/delete-inclusion-criterion-request.js +15 -0
- package/lib/request/delete-inclusion-criterion-request.js.map +1 -0
- package/lib/request/get-enforced-governance-rule-request.d.ts +26 -0
- package/lib/request/get-enforced-governance-rule-request.js +15 -0
- package/lib/request/get-enforced-governance-rule-request.js.map +1 -0
- package/lib/request/get-governance-rule-request.d.ts +26 -0
- package/lib/request/get-governance-rule-request.js +15 -0
- package/lib/request/get-governance-rule-request.js.map +1 -0
- package/lib/request/get-inclusion-criterion-request.d.ts +26 -0
- package/lib/request/get-inclusion-criterion-request.js +15 -0
- package/lib/request/get-inclusion-criterion-request.js.map +1 -0
- package/lib/request/get-tenancy-attachment-request.d.ts +26 -0
- package/lib/request/get-tenancy-attachment-request.js +15 -0
- package/lib/request/get-tenancy-attachment-request.js.map +1 -0
- package/lib/request/get-work-request-request.d.ts +26 -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 +52 -0
- package/lib/request/index.js +49 -0
- package/lib/request/index.js.map +1 -0
- package/lib/request/list-enforced-governance-rules-request.d.ts +62 -0
- package/lib/request/list-enforced-governance-rules-request.js +24 -0
- package/lib/request/list-enforced-governance-rules-request.js.map +1 -0
- package/lib/request/list-governance-rules-request.d.ts +66 -0
- package/lib/request/list-governance-rules-request.js +24 -0
- package/lib/request/list-governance-rules-request.js.map +1 -0
- package/lib/request/list-inclusion-criteria-request.d.ts +58 -0
- package/lib/request/list-inclusion-criteria-request.js +24 -0
- package/lib/request/list-inclusion-criteria-request.js.map +1 -0
- package/lib/request/list-tenancy-attachments-request.d.ts +66 -0
- package/lib/request/list-tenancy-attachments-request.js +24 -0
- package/lib/request/list-tenancy-attachments-request.js.map +1 -0
- package/lib/request/list-work-request-errors-request.d.ts +49 -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 +49 -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 +61 -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/retry-governance-rule-request.d.ts +44 -0
- package/lib/request/retry-governance-rule-request.js +15 -0
- package/lib/request/retry-governance-rule-request.js.map +1 -0
- package/lib/request/retry-tenancy-attachment-request.d.ts +44 -0
- package/lib/request/retry-tenancy-attachment-request.js +15 -0
- package/lib/request/retry-tenancy-attachment-request.js.map +1 -0
- package/lib/request/update-governance-rule-request.d.ts +40 -0
- package/lib/request/update-governance-rule-request.js +15 -0
- package/lib/request/update-governance-rule-request.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/create-governance-rule-response.d.ts +39 -0
- package/lib/response/create-governance-rule-response.js +15 -0
- package/lib/response/create-governance-rule-response.js.map +1 -0
- package/lib/response/create-inclusion-criterion-response.d.ts +39 -0
- package/lib/response/create-inclusion-criterion-response.js +15 -0
- package/lib/response/create-inclusion-criterion-response.js.map +1 -0
- package/lib/response/delete-governance-rule-response.d.ts +25 -0
- package/lib/response/delete-governance-rule-response.js +15 -0
- package/lib/response/delete-governance-rule-response.js.map +1 -0
- package/lib/response/delete-inclusion-criterion-response.d.ts +25 -0
- package/lib/response/delete-inclusion-criterion-response.js +15 -0
- package/lib/response/delete-inclusion-criterion-response.js.map +1 -0
- package/lib/response/get-enforced-governance-rule-response.d.ts +30 -0
- package/lib/response/get-enforced-governance-rule-response.js +15 -0
- package/lib/response/get-enforced-governance-rule-response.js.map +1 -0
- package/lib/response/get-governance-rule-response.d.ts +30 -0
- package/lib/response/get-governance-rule-response.js +15 -0
- package/lib/response/get-governance-rule-response.js.map +1 -0
- package/lib/response/get-inclusion-criterion-response.d.ts +30 -0
- package/lib/response/get-inclusion-criterion-response.js +15 -0
- package/lib/response/get-inclusion-criterion-response.js.map +1 -0
- package/lib/response/get-tenancy-attachment-response.d.ts +30 -0
- package/lib/response/get-tenancy-attachment-response.js +15 -0
- package/lib/response/get-tenancy-attachment-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 +52 -0
- package/lib/response/index.js +15 -0
- package/lib/response/index.js.map +1 -0
- package/lib/response/list-enforced-governance-rules-response.d.ts +32 -0
- package/lib/response/list-enforced-governance-rules-response.js +15 -0
- package/lib/response/list-enforced-governance-rules-response.js.map +1 -0
- package/lib/response/list-governance-rules-response.d.ts +32 -0
- package/lib/response/list-governance-rules-response.js +15 -0
- package/lib/response/list-governance-rules-response.js.map +1 -0
- package/lib/response/list-inclusion-criteria-response.d.ts +32 -0
- package/lib/response/list-inclusion-criteria-response.js +15 -0
- package/lib/response/list-inclusion-criteria-response.js.map +1 -0
- package/lib/response/list-tenancy-attachments-response.d.ts +32 -0
- package/lib/response/list-tenancy-attachments-response.js +15 -0
- package/lib/response/list-tenancy-attachments-response.js.map +1 -0
- package/lib/response/list-work-request-errors-response.d.ts +32 -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 +32 -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 +32 -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/retry-governance-rule-response.d.ts +25 -0
- package/lib/response/retry-governance-rule-response.js +15 -0
- package/lib/response/retry-governance-rule-response.js.map +1 -0
- package/lib/response/retry-tenancy-attachment-response.d.ts +25 -0
- package/lib/response/retry-tenancy-attachment-response.js +15 -0
- package/lib/response/retry-tenancy-attachment-response.js.map +1 -0
- package/lib/response/update-governance-rule-response.d.ts +25 -0
- package/lib/response/update-governance-rule-response.js +15 -0
- package/lib/response/update-governance-rule-response.js.map +1 -0
- package/lib/workrequest-waiter.d.ts +27 -0
- package/lib/workrequest-waiter.js +44 -0
- package/lib/workrequest-waiter.js.map +1 -0
- package/package.json +29 -0
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* GovernanceRulesControlPlane API
|
|
3
|
+
* A description of the GovernanceRulesControlPlane API
|
|
4
|
+
* OpenAPI spec version: 20220504
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
8
|
+
* Do not edit the class manually.
|
|
9
|
+
*
|
|
10
|
+
* Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
|
|
11
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
12
|
+
*/
|
|
13
|
+
/**
|
|
14
|
+
* Possible operation status.
|
|
15
|
+
**/
|
|
16
|
+
export declare enum OperationStatus {
|
|
17
|
+
Accepted = "ACCEPTED",
|
|
18
|
+
InProgress = "IN_PROGRESS",
|
|
19
|
+
Waiting = "WAITING",
|
|
20
|
+
Failed = "FAILED",
|
|
21
|
+
Succeeded = "SUCCEEDED",
|
|
22
|
+
Canceling = "CANCELING",
|
|
23
|
+
Canceled = "CANCELED",
|
|
24
|
+
/**
|
|
25
|
+
* This value is used if a service returns a value for this enum that is not recognized by this
|
|
26
|
+
* version of the SDK.
|
|
27
|
+
*/
|
|
28
|
+
UnknownValue = "UNKNOWN_VALUE"
|
|
29
|
+
}
|
|
30
|
+
export declare namespace OperationStatus {
|
|
31
|
+
function getJsonObj(obj: OperationStatus): OperationStatus;
|
|
32
|
+
function getDeserializedJsonObj(obj: OperationStatus): OperationStatus;
|
|
33
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* GovernanceRulesControlPlane API
|
|
4
|
+
* A description of the GovernanceRulesControlPlane API
|
|
5
|
+
* OpenAPI spec version: 20220504
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*
|
|
11
|
+
* Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
|
|
12
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
13
|
+
*/
|
|
14
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
exports.OperationStatus = void 0;
|
|
16
|
+
/**
|
|
17
|
+
* Possible operation status.
|
|
18
|
+
**/
|
|
19
|
+
var OperationStatus;
|
|
20
|
+
(function (OperationStatus) {
|
|
21
|
+
OperationStatus["Accepted"] = "ACCEPTED";
|
|
22
|
+
OperationStatus["InProgress"] = "IN_PROGRESS";
|
|
23
|
+
OperationStatus["Waiting"] = "WAITING";
|
|
24
|
+
OperationStatus["Failed"] = "FAILED";
|
|
25
|
+
OperationStatus["Succeeded"] = "SUCCEEDED";
|
|
26
|
+
OperationStatus["Canceling"] = "CANCELING";
|
|
27
|
+
OperationStatus["Canceled"] = "CANCELED";
|
|
28
|
+
/**
|
|
29
|
+
* This value is used if a service returns a value for this enum that is not recognized by this
|
|
30
|
+
* version of the SDK.
|
|
31
|
+
*/
|
|
32
|
+
OperationStatus["UnknownValue"] = "UNKNOWN_VALUE";
|
|
33
|
+
})(OperationStatus = exports.OperationStatus || (exports.OperationStatus = {}));
|
|
34
|
+
(function (OperationStatus) {
|
|
35
|
+
function getJsonObj(obj) {
|
|
36
|
+
return obj;
|
|
37
|
+
}
|
|
38
|
+
OperationStatus.getJsonObj = getJsonObj;
|
|
39
|
+
function getDeserializedJsonObj(obj) {
|
|
40
|
+
return obj;
|
|
41
|
+
}
|
|
42
|
+
OperationStatus.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
43
|
+
})(OperationStatus = exports.OperationStatus || (exports.OperationStatus = {}));
|
|
44
|
+
//# sourceMappingURL=operation-status.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"operation-status.js","sourceRoot":"","sources":["../../../../../lib/governancerulescontrolplane/lib/model/operation-status.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;AAKH;;IAEI;AACJ,IAAY,eAcX;AAdD,WAAY,eAAe;IACzB,wCAAqB,CAAA;IACrB,6CAA0B,CAAA;IAC1B,sCAAmB,CAAA;IACnB,oCAAiB,CAAA;IACjB,0CAAuB,CAAA;IACvB,0CAAuB,CAAA;IACvB,wCAAqB,CAAA;IAErB;;;OAGG;IACH,iDAA8B,CAAA;AAChC,CAAC,EAdW,eAAe,GAAf,uBAAe,KAAf,uBAAe,QAc1B;AAED,WAAiB,eAAe;IAC9B,SAAgB,UAAU,CAAC,GAAoB;QAC7C,OAAO,GAAG,CAAC;IACb,CAAC;IAFe,0BAAU,aAEzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAoB;QACzD,OAAO,GAAG,CAAC;IACb,CAAC;IAFe,sCAAsB,yBAErC,CAAA;AACH,CAAC,EAPgB,eAAe,GAAf,uBAAe,KAAf,uBAAe,QAO/B"}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* GovernanceRulesControlPlane API
|
|
3
|
+
* A description of the GovernanceRulesControlPlane API
|
|
4
|
+
* OpenAPI spec version: 20220504
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
8
|
+
* Do not edit the class manually.
|
|
9
|
+
*
|
|
10
|
+
* Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
|
|
11
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
12
|
+
*/
|
|
13
|
+
/**
|
|
14
|
+
* Possible operation types.
|
|
15
|
+
**/
|
|
16
|
+
export declare enum OperationType {
|
|
17
|
+
CreateGovernanceRule = "CREATE_GOVERNANCE_RULE",
|
|
18
|
+
UpdateGovernanceRule = "UPDATE_GOVERNANCE_RULE",
|
|
19
|
+
DeleteGovernanceRule = "DELETE_GOVERNANCE_RULE",
|
|
20
|
+
RetryGovernanceRule = "RETRY_GOVERNANCE_RULE",
|
|
21
|
+
CreateInclusionCriteria = "CREATE_INCLUSION_CRITERIA",
|
|
22
|
+
DeleteInclusionCriteria = "DELETE_INCLUSION_CRITERIA",
|
|
23
|
+
RetryTenancyAttachment = "RETRY_TENANCY_ATTACHMENT",
|
|
24
|
+
ApplyTenancyAttachment = "APPLY_TENANCY_ATTACHMENT",
|
|
25
|
+
CreateEnforcedQuotaGovernanceRule = "CREATE_ENFORCED_QUOTA_GOVERNANCE_RULE",
|
|
26
|
+
CreateEnforcedTagGovernanceRule = "CREATE_ENFORCED_TAG_GOVERNANCE_RULE",
|
|
27
|
+
UpdateEnforcedQuotaGovernanceRule = "UPDATE_ENFORCED_QUOTA_GOVERNANCE_RULE",
|
|
28
|
+
UpdateEnforcedTagGovernanceRule = "UPDATE_ENFORCED_TAG_GOVERNANCE_RULE",
|
|
29
|
+
DeleteEnforcedQuotaGovernanceRule = "DELETE_ENFORCED_QUOTA_GOVERNANCE_RULE",
|
|
30
|
+
DeleteEnforcedTagGovernanceRule = "DELETE_ENFORCED_TAG_GOVERNANCE_RULE",
|
|
31
|
+
TenantManagerOptInEventHandler = "TENANT_MANAGER_OPT_IN_EVENT_HANDLER",
|
|
32
|
+
TenantManagerOptOutEventHandler = "TENANT_MANAGER_OPT_OUT_EVENT_HANDLER",
|
|
33
|
+
/**
|
|
34
|
+
* This value is used if a service returns a value for this enum that is not recognized by this
|
|
35
|
+
* version of the SDK.
|
|
36
|
+
*/
|
|
37
|
+
UnknownValue = "UNKNOWN_VALUE"
|
|
38
|
+
}
|
|
39
|
+
export declare namespace OperationType {
|
|
40
|
+
function getJsonObj(obj: OperationType): OperationType;
|
|
41
|
+
function getDeserializedJsonObj(obj: OperationType): OperationType;
|
|
42
|
+
}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* GovernanceRulesControlPlane API
|
|
4
|
+
* A description of the GovernanceRulesControlPlane API
|
|
5
|
+
* OpenAPI spec version: 20220504
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*
|
|
11
|
+
* Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
|
|
12
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
13
|
+
*/
|
|
14
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
exports.OperationType = void 0;
|
|
16
|
+
/**
|
|
17
|
+
* Possible operation types.
|
|
18
|
+
**/
|
|
19
|
+
var OperationType;
|
|
20
|
+
(function (OperationType) {
|
|
21
|
+
OperationType["CreateGovernanceRule"] = "CREATE_GOVERNANCE_RULE";
|
|
22
|
+
OperationType["UpdateGovernanceRule"] = "UPDATE_GOVERNANCE_RULE";
|
|
23
|
+
OperationType["DeleteGovernanceRule"] = "DELETE_GOVERNANCE_RULE";
|
|
24
|
+
OperationType["RetryGovernanceRule"] = "RETRY_GOVERNANCE_RULE";
|
|
25
|
+
OperationType["CreateInclusionCriteria"] = "CREATE_INCLUSION_CRITERIA";
|
|
26
|
+
OperationType["DeleteInclusionCriteria"] = "DELETE_INCLUSION_CRITERIA";
|
|
27
|
+
OperationType["RetryTenancyAttachment"] = "RETRY_TENANCY_ATTACHMENT";
|
|
28
|
+
OperationType["ApplyTenancyAttachment"] = "APPLY_TENANCY_ATTACHMENT";
|
|
29
|
+
OperationType["CreateEnforcedQuotaGovernanceRule"] = "CREATE_ENFORCED_QUOTA_GOVERNANCE_RULE";
|
|
30
|
+
OperationType["CreateEnforcedTagGovernanceRule"] = "CREATE_ENFORCED_TAG_GOVERNANCE_RULE";
|
|
31
|
+
OperationType["UpdateEnforcedQuotaGovernanceRule"] = "UPDATE_ENFORCED_QUOTA_GOVERNANCE_RULE";
|
|
32
|
+
OperationType["UpdateEnforcedTagGovernanceRule"] = "UPDATE_ENFORCED_TAG_GOVERNANCE_RULE";
|
|
33
|
+
OperationType["DeleteEnforcedQuotaGovernanceRule"] = "DELETE_ENFORCED_QUOTA_GOVERNANCE_RULE";
|
|
34
|
+
OperationType["DeleteEnforcedTagGovernanceRule"] = "DELETE_ENFORCED_TAG_GOVERNANCE_RULE";
|
|
35
|
+
OperationType["TenantManagerOptInEventHandler"] = "TENANT_MANAGER_OPT_IN_EVENT_HANDLER";
|
|
36
|
+
OperationType["TenantManagerOptOutEventHandler"] = "TENANT_MANAGER_OPT_OUT_EVENT_HANDLER";
|
|
37
|
+
/**
|
|
38
|
+
* This value is used if a service returns a value for this enum that is not recognized by this
|
|
39
|
+
* version of the SDK.
|
|
40
|
+
*/
|
|
41
|
+
OperationType["UnknownValue"] = "UNKNOWN_VALUE";
|
|
42
|
+
})(OperationType = exports.OperationType || (exports.OperationType = {}));
|
|
43
|
+
(function (OperationType) {
|
|
44
|
+
function getJsonObj(obj) {
|
|
45
|
+
return obj;
|
|
46
|
+
}
|
|
47
|
+
OperationType.getJsonObj = getJsonObj;
|
|
48
|
+
function getDeserializedJsonObj(obj) {
|
|
49
|
+
return obj;
|
|
50
|
+
}
|
|
51
|
+
OperationType.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
52
|
+
})(OperationType = exports.OperationType || (exports.OperationType = {}));
|
|
53
|
+
//# sourceMappingURL=operation-type.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"operation-type.js","sourceRoot":"","sources":["../../../../../lib/governancerulescontrolplane/lib/model/operation-type.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;AAKH;;IAEI;AACJ,IAAY,aAuBX;AAvBD,WAAY,aAAa;IACvB,gEAA+C,CAAA;IAC/C,gEAA+C,CAAA;IAC/C,gEAA+C,CAAA;IAC/C,8DAA6C,CAAA;IAC7C,sEAAqD,CAAA;IACrD,sEAAqD,CAAA;IACrD,oEAAmD,CAAA;IACnD,oEAAmD,CAAA;IACnD,4FAA2E,CAAA;IAC3E,wFAAuE,CAAA;IACvE,4FAA2E,CAAA;IAC3E,wFAAuE,CAAA;IACvE,4FAA2E,CAAA;IAC3E,wFAAuE,CAAA;IACvE,uFAAsE,CAAA;IACtE,yFAAwE,CAAA;IAExE;;;OAGG;IACH,+CAA8B,CAAA;AAChC,CAAC,EAvBW,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAuBxB;AAED,WAAiB,aAAa;IAC5B,SAAgB,UAAU,CAAC,GAAkB;QAC3C,OAAO,GAAG,CAAC;IACb,CAAC;IAFe,wBAAU,aAEzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAkB;QACvD,OAAO,GAAG,CAAC;IACb,CAAC;IAFe,oCAAsB,yBAErC,CAAA;AACH,CAAC,EAPgB,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAO7B"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* GovernanceRulesControlPlane API
|
|
3
|
+
* A description of the GovernanceRulesControlPlane API
|
|
4
|
+
* OpenAPI spec version: 20220504
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
8
|
+
* Do not edit the class manually.
|
|
9
|
+
*
|
|
10
|
+
* Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
|
|
11
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
12
|
+
*/
|
|
13
|
+
import * as model from "../model";
|
|
14
|
+
/**
|
|
15
|
+
* Quota template for governance rule.
|
|
16
|
+
*/
|
|
17
|
+
export interface QuotaTemplate extends model.Template {
|
|
18
|
+
/**
|
|
19
|
+
* Display name of the quota resource.
|
|
20
|
+
*/
|
|
21
|
+
"displayName": string;
|
|
22
|
+
/**
|
|
23
|
+
* Description of the quota resource.
|
|
24
|
+
*/
|
|
25
|
+
"description"?: string;
|
|
26
|
+
/**
|
|
27
|
+
* List of quota statements.
|
|
28
|
+
*
|
|
29
|
+
*/
|
|
30
|
+
"statements": Array<string>;
|
|
31
|
+
"type": string;
|
|
32
|
+
}
|
|
33
|
+
export declare namespace QuotaTemplate {
|
|
34
|
+
function getJsonObj(obj: QuotaTemplate, isParentJsonObj?: boolean): object;
|
|
35
|
+
const type = "QUOTA";
|
|
36
|
+
function getDeserializedJsonObj(obj: QuotaTemplate, isParentJsonObj?: boolean): object;
|
|
37
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* GovernanceRulesControlPlane API
|
|
4
|
+
* A description of the GovernanceRulesControlPlane API
|
|
5
|
+
* OpenAPI spec version: 20220504
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*
|
|
11
|
+
* Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
|
|
12
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
13
|
+
*/
|
|
14
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
15
|
+
if (k2 === undefined) k2 = k;
|
|
16
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
17
|
+
}) : (function(o, m, k, k2) {
|
|
18
|
+
if (k2 === undefined) k2 = k;
|
|
19
|
+
o[k2] = m[k];
|
|
20
|
+
}));
|
|
21
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
22
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
23
|
+
}) : function(o, v) {
|
|
24
|
+
o["default"] = v;
|
|
25
|
+
});
|
|
26
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
27
|
+
if (mod && mod.__esModule) return mod;
|
|
28
|
+
var result = {};
|
|
29
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
30
|
+
__setModuleDefault(result, mod);
|
|
31
|
+
return result;
|
|
32
|
+
};
|
|
33
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
34
|
+
exports.QuotaTemplate = void 0;
|
|
35
|
+
const model = __importStar(require("../model"));
|
|
36
|
+
var QuotaTemplate;
|
|
37
|
+
(function (QuotaTemplate) {
|
|
38
|
+
function getJsonObj(obj, isParentJsonObj) {
|
|
39
|
+
const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj ? obj : model.Template.getJsonObj(obj))), {});
|
|
40
|
+
return jsonObj;
|
|
41
|
+
}
|
|
42
|
+
QuotaTemplate.getJsonObj = getJsonObj;
|
|
43
|
+
QuotaTemplate.type = "QUOTA";
|
|
44
|
+
function getDeserializedJsonObj(obj, isParentJsonObj) {
|
|
45
|
+
const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj ? obj : model.Template.getDeserializedJsonObj(obj))), {});
|
|
46
|
+
return jsonObj;
|
|
47
|
+
}
|
|
48
|
+
QuotaTemplate.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
49
|
+
})(QuotaTemplate = exports.QuotaTemplate || (exports.QuotaTemplate = {}));
|
|
50
|
+
//# sourceMappingURL=quota-template.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"quota-template.js","sourceRoot":"","sources":["../../../../../lib/governancerulescontrolplane/lib/model/quota-template.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAwBlC,IAAiB,aAAa,CAkB7B;AAlBD,WAAiB,aAAa;IAC5B,SAAgB,UAAU,CAAC,GAAkB,EAAE,eAAyB;QACtE,MAAM,OAAO,mCACR,CAAC,eAAe,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAE,KAAK,CAAC,QAAQ,CAAC,UAAU,CAAC,GAAG,CAAmB,CAAC,GAC3E,EAAE,CACN,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAPe,wBAAU,aAOzB,CAAA;IACY,kBAAI,GAAG,OAAO,CAAC;IAC5B,SAAgB,sBAAsB,CAAC,GAAkB,EAAE,eAAyB;QAClF,MAAM,OAAO,mCACR,CAAC,eAAe,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAE,KAAK,CAAC,QAAQ,CAAC,sBAAsB,CAAC,GAAG,CAAmB,CAAC,GACvF,EAAE,CACN,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAPe,oCAAsB,yBAOrC,CAAA;AACH,CAAC,EAlBgB,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAkB7B"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* GovernanceRulesControlPlane API
|
|
3
|
+
* A description of the GovernanceRulesControlPlane API
|
|
4
|
+
* OpenAPI spec version: 20220504
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
8
|
+
* Do not edit the class manually.
|
|
9
|
+
*
|
|
10
|
+
* Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
|
|
11
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
12
|
+
*/
|
|
13
|
+
/**
|
|
14
|
+
* Sort orders.
|
|
15
|
+
**/
|
|
16
|
+
export declare enum SortOrder {
|
|
17
|
+
Asc = "ASC",
|
|
18
|
+
Desc = "DESC"
|
|
19
|
+
}
|
|
20
|
+
export declare namespace SortOrder {
|
|
21
|
+
function getJsonObj(obj: SortOrder): SortOrder;
|
|
22
|
+
function getDeserializedJsonObj(obj: SortOrder): SortOrder;
|
|
23
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* GovernanceRulesControlPlane API
|
|
4
|
+
* A description of the GovernanceRulesControlPlane API
|
|
5
|
+
* OpenAPI spec version: 20220504
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*
|
|
11
|
+
* Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
|
|
12
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
13
|
+
*/
|
|
14
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
exports.SortOrder = void 0;
|
|
16
|
+
/**
|
|
17
|
+
* Sort orders.
|
|
18
|
+
**/
|
|
19
|
+
var SortOrder;
|
|
20
|
+
(function (SortOrder) {
|
|
21
|
+
SortOrder["Asc"] = "ASC";
|
|
22
|
+
SortOrder["Desc"] = "DESC";
|
|
23
|
+
})(SortOrder = exports.SortOrder || (exports.SortOrder = {}));
|
|
24
|
+
(function (SortOrder) {
|
|
25
|
+
function getJsonObj(obj) {
|
|
26
|
+
return obj;
|
|
27
|
+
}
|
|
28
|
+
SortOrder.getJsonObj = getJsonObj;
|
|
29
|
+
function getDeserializedJsonObj(obj) {
|
|
30
|
+
return obj;
|
|
31
|
+
}
|
|
32
|
+
SortOrder.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
33
|
+
})(SortOrder = exports.SortOrder || (exports.SortOrder = {}));
|
|
34
|
+
//# sourceMappingURL=sort-order.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sort-order.js","sourceRoot":"","sources":["../../../../../lib/governancerulescontrolplane/lib/model/sort-order.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;AAKH;;IAEI;AACJ,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,wBAAW,CAAA;IACX,0BAAa,CAAA;AACf,CAAC,EAHW,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAGpB;AAED,WAAiB,SAAS;IACxB,SAAgB,UAAU,CAAC,GAAc;QACvC,OAAO,GAAG,CAAC;IACb,CAAC;IAFe,oBAAU,aAEzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAc;QACnD,OAAO,GAAG,CAAC;IACb,CAAC;IAFe,gCAAsB,yBAErC,CAAA;AACH,CAAC,EAPgB,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAOzB"}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* GovernanceRulesControlPlane API
|
|
3
|
+
* A description of the GovernanceRulesControlPlane API
|
|
4
|
+
* OpenAPI spec version: 20220504
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
8
|
+
* Do not edit the class manually.
|
|
9
|
+
*
|
|
10
|
+
* Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
|
|
11
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
12
|
+
*/
|
|
13
|
+
/**
|
|
14
|
+
* Tag defaults let you specify a default tag (tagnamespace.tag=\"value\") to apply to all resource types
|
|
15
|
+
* in a specified compartment. The tag default is applied at the time the resource is created. Resources
|
|
16
|
+
* that exist in the compartment before you create the tag default are not tagged.
|
|
17
|
+
*
|
|
18
|
+
*/
|
|
19
|
+
export interface TagDefault {
|
|
20
|
+
/**
|
|
21
|
+
* The name of the tag. The tag default will always assign a default value for this tag name.
|
|
22
|
+
*
|
|
23
|
+
*/
|
|
24
|
+
"tagName": string;
|
|
25
|
+
/**
|
|
26
|
+
* The default value for the tag name. This will be applied to all new resources created in the compartment.
|
|
27
|
+
*
|
|
28
|
+
*/
|
|
29
|
+
"value": string;
|
|
30
|
+
/**
|
|
31
|
+
* If you specify that a value is required, a value is set during resource creation (either by
|
|
32
|
+
* the user creating the resource or another tag default). If no value is set, resource
|
|
33
|
+
* creation is blocked.
|
|
34
|
+
* <p>
|
|
35
|
+
* If the `isRequired` flag is set to \"true\", the value is set during resource creation.
|
|
36
|
+
* * If the `isRequired` flag is set to \"false\", the value you enter is set during resource creation.
|
|
37
|
+
* <p>
|
|
38
|
+
Example: `false`
|
|
39
|
+
*
|
|
40
|
+
*/
|
|
41
|
+
"isRequired": boolean;
|
|
42
|
+
}
|
|
43
|
+
export declare namespace TagDefault {
|
|
44
|
+
function getJsonObj(obj: TagDefault): object;
|
|
45
|
+
function getDeserializedJsonObj(obj: TagDefault): object;
|
|
46
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* GovernanceRulesControlPlane API
|
|
4
|
+
* A description of the GovernanceRulesControlPlane API
|
|
5
|
+
* OpenAPI spec version: 20220504
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*
|
|
11
|
+
* Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
|
|
12
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
13
|
+
*/
|
|
14
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
exports.TagDefault = void 0;
|
|
16
|
+
var TagDefault;
|
|
17
|
+
(function (TagDefault) {
|
|
18
|
+
function getJsonObj(obj) {
|
|
19
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
20
|
+
return jsonObj;
|
|
21
|
+
}
|
|
22
|
+
TagDefault.getJsonObj = getJsonObj;
|
|
23
|
+
function getDeserializedJsonObj(obj) {
|
|
24
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
25
|
+
return jsonObj;
|
|
26
|
+
}
|
|
27
|
+
TagDefault.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
28
|
+
})(TagDefault = exports.TagDefault || (exports.TagDefault = {}));
|
|
29
|
+
//# sourceMappingURL=tag-default.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tag-default.js","sourceRoot":"","sources":["../../../../../lib/governancerulescontrolplane/lib/model/tag-default.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;AAoCH,IAAiB,UAAU,CAW1B;AAXD,WAAiB,UAAU;IACzB,SAAgB,UAAU,CAAC,GAAe;QACxC,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,qBAAU,aAIzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAe;QACpD,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,iCAAsB,yBAIrC,CAAA;AACH,CAAC,EAXgB,UAAU,GAAV,kBAAU,KAAV,kBAAU,QAW1B"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* GovernanceRulesControlPlane API
|
|
3
|
+
* A description of the GovernanceRulesControlPlane API
|
|
4
|
+
* OpenAPI spec version: 20220504
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
8
|
+
* Do not edit the class manually.
|
|
9
|
+
*
|
|
10
|
+
* Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
|
|
11
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
12
|
+
*/
|
|
13
|
+
import * as model from "../model";
|
|
14
|
+
/**
|
|
15
|
+
* Template for governance rules of type tag.
|
|
16
|
+
*/
|
|
17
|
+
export interface TagTemplate extends model.Template {
|
|
18
|
+
/**
|
|
19
|
+
* The name of the tag namespace. It must be unique across all tag namespaces in the tenancy and cannot be changed.
|
|
20
|
+
*
|
|
21
|
+
*/
|
|
22
|
+
"name": string;
|
|
23
|
+
/**
|
|
24
|
+
* Description of the tag namespace.
|
|
25
|
+
*/
|
|
26
|
+
"description"?: string;
|
|
27
|
+
/**
|
|
28
|
+
* Represents an array of tags for tag namespace.
|
|
29
|
+
*/
|
|
30
|
+
"tags"?: Array<model.Tag>;
|
|
31
|
+
"tagDefaults"?: Array<model.TagDefault>;
|
|
32
|
+
"type": string;
|
|
33
|
+
}
|
|
34
|
+
export declare namespace TagTemplate {
|
|
35
|
+
function getJsonObj(obj: TagTemplate, isParentJsonObj?: boolean): object;
|
|
36
|
+
const type = "TAG";
|
|
37
|
+
function getDeserializedJsonObj(obj: TagTemplate, isParentJsonObj?: boolean): object;
|
|
38
|
+
}
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* GovernanceRulesControlPlane API
|
|
4
|
+
* A description of the GovernanceRulesControlPlane API
|
|
5
|
+
* OpenAPI spec version: 20220504
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*
|
|
11
|
+
* Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
|
|
12
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
13
|
+
*/
|
|
14
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
15
|
+
if (k2 === undefined) k2 = k;
|
|
16
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
17
|
+
}) : (function(o, m, k, k2) {
|
|
18
|
+
if (k2 === undefined) k2 = k;
|
|
19
|
+
o[k2] = m[k];
|
|
20
|
+
}));
|
|
21
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
22
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
23
|
+
}) : function(o, v) {
|
|
24
|
+
o["default"] = v;
|
|
25
|
+
});
|
|
26
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
27
|
+
if (mod && mod.__esModule) return mod;
|
|
28
|
+
var result = {};
|
|
29
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
30
|
+
__setModuleDefault(result, mod);
|
|
31
|
+
return result;
|
|
32
|
+
};
|
|
33
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
34
|
+
exports.TagTemplate = void 0;
|
|
35
|
+
const model = __importStar(require("../model"));
|
|
36
|
+
var TagTemplate;
|
|
37
|
+
(function (TagTemplate) {
|
|
38
|
+
function getJsonObj(obj, isParentJsonObj) {
|
|
39
|
+
const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj ? obj : model.Template.getJsonObj(obj))), {
|
|
40
|
+
"tags": obj.tags
|
|
41
|
+
? obj.tags.map(item => {
|
|
42
|
+
return model.Tag.getJsonObj(item);
|
|
43
|
+
})
|
|
44
|
+
: undefined,
|
|
45
|
+
"tagDefaults": obj.tagDefaults
|
|
46
|
+
? obj.tagDefaults.map(item => {
|
|
47
|
+
return model.TagDefault.getJsonObj(item);
|
|
48
|
+
})
|
|
49
|
+
: undefined
|
|
50
|
+
});
|
|
51
|
+
return jsonObj;
|
|
52
|
+
}
|
|
53
|
+
TagTemplate.getJsonObj = getJsonObj;
|
|
54
|
+
TagTemplate.type = "TAG";
|
|
55
|
+
function getDeserializedJsonObj(obj, isParentJsonObj) {
|
|
56
|
+
const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj ? obj : model.Template.getDeserializedJsonObj(obj))), {
|
|
57
|
+
"tags": obj.tags
|
|
58
|
+
? obj.tags.map(item => {
|
|
59
|
+
return model.Tag.getDeserializedJsonObj(item);
|
|
60
|
+
})
|
|
61
|
+
: undefined,
|
|
62
|
+
"tagDefaults": obj.tagDefaults
|
|
63
|
+
? obj.tagDefaults.map(item => {
|
|
64
|
+
return model.TagDefault.getDeserializedJsonObj(item);
|
|
65
|
+
})
|
|
66
|
+
: undefined
|
|
67
|
+
});
|
|
68
|
+
return jsonObj;
|
|
69
|
+
}
|
|
70
|
+
TagTemplate.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
71
|
+
})(TagTemplate = exports.TagTemplate || (exports.TagTemplate = {}));
|
|
72
|
+
//# sourceMappingURL=tag-template.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tag-template.js","sourceRoot":"","sources":["../../../../../lib/governancerulescontrolplane/lib/model/tag-template.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAyBlC,IAAiB,WAAW,CAwC3B;AAxCD,WAAiB,WAAW;IAC1B,SAAgB,UAAU,CAAC,GAAgB,EAAE,eAAyB;QACpE,MAAM,OAAO,mCACR,CAAC,eAAe,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAE,KAAK,CAAC,QAAQ,CAAC,UAAU,CAAC,GAAG,CAAiB,CAAC,GACzE;YACD,MAAM,EAAE,GAAG,CAAC,IAAI;gBACd,CAAC,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBAClB,OAAO,KAAK,CAAC,GAAG,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;gBACpC,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;YACb,aAAa,EAAE,GAAG,CAAC,WAAW;gBAC5B,CAAC,CAAC,GAAG,CAAC,WAAW,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACzB,OAAO,KAAK,CAAC,UAAU,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;gBAC3C,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAlBe,sBAAU,aAkBzB,CAAA;IACY,gBAAI,GAAG,KAAK,CAAC;IAC1B,SAAgB,sBAAsB,CAAC,GAAgB,EAAE,eAAyB;QAChF,MAAM,OAAO,mCACR,CAAC,eAAe,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAE,KAAK,CAAC,QAAQ,CAAC,sBAAsB,CAAC,GAAG,CAAiB,CAAC,GACrF;YACD,MAAM,EAAE,GAAG,CAAC,IAAI;gBACd,CAAC,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBAClB,OAAO,KAAK,CAAC,GAAG,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBAChD,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;YACb,aAAa,EAAE,GAAG,CAAC,WAAW;gBAC5B,CAAC,CAAC,GAAG,CAAC,WAAW,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACzB,OAAO,KAAK,CAAC,UAAU,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBACvD,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAlBe,kCAAsB,yBAkBrC,CAAA;AACH,CAAC,EAxCgB,WAAW,GAAX,mBAAW,KAAX,mBAAW,QAwC3B"}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* GovernanceRulesControlPlane API
|
|
3
|
+
* A description of the GovernanceRulesControlPlane API
|
|
4
|
+
* OpenAPI spec version: 20220504
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
8
|
+
* Do not edit the class manually.
|
|
9
|
+
*
|
|
10
|
+
* Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
|
|
11
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
12
|
+
*/
|
|
13
|
+
import * as model from "../model";
|
|
14
|
+
/**
|
|
15
|
+
* Details of the tag that is being created.
|
|
16
|
+
*
|
|
17
|
+
*/
|
|
18
|
+
export interface Tag {
|
|
19
|
+
/**
|
|
20
|
+
* The name you assign to the tag during creation. This is the tag key definition.
|
|
21
|
+
* The name must be unique within the tag namespace and cannot be changed.
|
|
22
|
+
*
|
|
23
|
+
*/
|
|
24
|
+
"name": string;
|
|
25
|
+
/**
|
|
26
|
+
* The description assigned to the tag during creation.
|
|
27
|
+
*/
|
|
28
|
+
"description"?: string;
|
|
29
|
+
/**
|
|
30
|
+
* Indicates whether the tag is enabled for cost tracking.
|
|
31
|
+
*
|
|
32
|
+
*/
|
|
33
|
+
"isCostTracking"?: boolean;
|
|
34
|
+
"validator"?: model.DefaultTagDefinitionValidator | model.EnumTagDefinitionValidator;
|
|
35
|
+
}
|
|
36
|
+
export declare namespace Tag {
|
|
37
|
+
function getJsonObj(obj: Tag): object;
|
|
38
|
+
function getDeserializedJsonObj(obj: Tag): object;
|
|
39
|
+
}
|
package/lib/model/tag.js
ADDED
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* GovernanceRulesControlPlane API
|
|
4
|
+
* A description of the GovernanceRulesControlPlane API
|
|
5
|
+
* OpenAPI spec version: 20220504
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*
|
|
11
|
+
* Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
|
|
12
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
13
|
+
*/
|
|
14
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
15
|
+
if (k2 === undefined) k2 = k;
|
|
16
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
17
|
+
}) : (function(o, m, k, k2) {
|
|
18
|
+
if (k2 === undefined) k2 = k;
|
|
19
|
+
o[k2] = m[k];
|
|
20
|
+
}));
|
|
21
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
22
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
23
|
+
}) : function(o, v) {
|
|
24
|
+
o["default"] = v;
|
|
25
|
+
});
|
|
26
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
27
|
+
if (mod && mod.__esModule) return mod;
|
|
28
|
+
var result = {};
|
|
29
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
30
|
+
__setModuleDefault(result, mod);
|
|
31
|
+
return result;
|
|
32
|
+
};
|
|
33
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
34
|
+
exports.Tag = void 0;
|
|
35
|
+
const model = __importStar(require("../model"));
|
|
36
|
+
var Tag;
|
|
37
|
+
(function (Tag) {
|
|
38
|
+
function getJsonObj(obj) {
|
|
39
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
40
|
+
"validator": obj.validator
|
|
41
|
+
? model.BaseTagDefinitionValidator.getJsonObj(obj.validator)
|
|
42
|
+
: undefined
|
|
43
|
+
});
|
|
44
|
+
return jsonObj;
|
|
45
|
+
}
|
|
46
|
+
Tag.getJsonObj = getJsonObj;
|
|
47
|
+
function getDeserializedJsonObj(obj) {
|
|
48
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
49
|
+
"validator": obj.validator
|
|
50
|
+
? model.BaseTagDefinitionValidator.getDeserializedJsonObj(obj.validator)
|
|
51
|
+
: undefined
|
|
52
|
+
});
|
|
53
|
+
return jsonObj;
|
|
54
|
+
}
|
|
55
|
+
Tag.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
56
|
+
})(Tag = exports.Tag || (exports.Tag = {}));
|
|
57
|
+
//# sourceMappingURL=tag.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tag.js","sourceRoot":"","sources":["../../../../../lib/governancerulescontrolplane/lib/model/tag.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AA0BlC,IAAiB,GAAG,CAyBnB;AAzBD,WAAiB,GAAG;IAClB,SAAgB,UAAU,CAAC,GAAQ;QACjC,MAAM,OAAO,mCACR,GAAG,GACH;YACD,WAAW,EAAE,GAAG,CAAC,SAAS;gBACxB,CAAC,CAAC,KAAK,CAAC,0BAA0B,CAAC,UAAU,CAAC,GAAG,CAAC,SAAS,CAAC;gBAC5D,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAXe,cAAU,aAWzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAQ;QAC7C,MAAM,OAAO,mCACR,GAAG,GACH;YACD,WAAW,EAAE,GAAG,CAAC,SAAS;gBACxB,CAAC,CAAC,KAAK,CAAC,0BAA0B,CAAC,sBAAsB,CAAC,GAAG,CAAC,SAAS,CAAC;gBACxE,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAXe,0BAAsB,yBAWrC,CAAA;AACH,CAAC,EAzBgB,GAAG,GAAH,WAAG,KAAH,WAAG,QAyBnB"}
|