oci-tenantmanagercontrolplane 2.5.2 → 2.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.d.ts +6 -0
- package/index.js +7 -1
- package/index.js.map +1 -1
- package/lib/client.d.ts +351 -31
- package/lib/client.js +1781 -326
- package/lib/client.js.map +1 -1
- package/lib/model/activate-order-details.d.ts +2 -2
- package/lib/model/assigned-subscription-collection.d.ts +26 -0
- package/lib/model/assigned-subscription-collection.js +61 -0
- package/lib/model/assigned-subscription-collection.js.map +1 -0
- package/lib/model/assigned-subscription-summary.d.ts +66 -0
- package/lib/model/assigned-subscription-summary.js +29 -0
- package/lib/model/assigned-subscription-summary.js.map +1 -0
- package/lib/model/assigned-subscription.d.ts +74 -0
- package/lib/model/assigned-subscription.js +61 -0
- package/lib/model/assigned-subscription.js.map +1 -0
- package/lib/model/available-region-collection.d.ts +26 -0
- package/lib/model/available-region-collection.js +61 -0
- package/lib/model/available-region-collection.js.map +1 -0
- package/lib/model/available-region-summary.d.ts +25 -0
- package/lib/model/available-region-summary.js +29 -0
- package/lib/model/available-region-summary.js.map +1 -0
- package/lib/model/create-child-tenancy-details.d.ts +41 -0
- package/lib/model/create-child-tenancy-details.js +29 -0
- package/lib/model/create-child-tenancy-details.js.map +1 -0
- package/lib/model/create-subscription-mapping-details.d.ts +29 -0
- package/lib/model/create-subscription-mapping-details.js +29 -0
- package/lib/model/create-subscription-mapping-details.js.map +1 -0
- package/lib/model/domain-governance-summary.d.ts +2 -2
- package/lib/model/domain-governance.d.ts +2 -2
- package/lib/model/domain-summary.d.ts +2 -2
- package/lib/model/domain.d.ts +2 -2
- package/lib/model/index.d.ts +48 -0
- package/lib/model/index.js +50 -1
- package/lib/model/index.js.map +1 -1
- package/lib/model/link.d.ts +1 -1
- package/lib/model/operation-type.d.ts +4 -0
- package/lib/model/operation-type.js +4 -0
- package/lib/model/operation-type.js.map +1 -1
- package/lib/model/order.d.ts +4 -4
- package/lib/model/organization-collection.d.ts +26 -0
- package/lib/model/organization-collection.js +61 -0
- package/lib/model/organization-collection.js.map +1 -0
- package/lib/model/organization-summary.d.ts +53 -0
- package/lib/model/organization-summary.js +29 -0
- package/lib/model/organization-summary.js.map +1 -0
- package/lib/model/organization-tenancy-collection.d.ts +26 -0
- package/lib/model/organization-tenancy-collection.js +61 -0
- package/lib/model/organization-tenancy-collection.js.map +1 -0
- package/lib/model/organization-tenancy-lifecycle-state.d.ts +32 -0
- package/lib/model/organization-tenancy-lifecycle-state.js +43 -0
- package/lib/model/organization-tenancy-lifecycle-state.js.map +1 -0
- package/lib/model/organization-tenancy-role.d.ts +29 -0
- package/lib/model/organization-tenancy-role.js +40 -0
- package/lib/model/organization-tenancy-role.js.map +1 -0
- package/lib/model/organization-tenancy-summary.d.ts +50 -0
- package/lib/model/organization-tenancy-summary.js +29 -0
- package/lib/model/organization-tenancy-summary.js.map +1 -0
- package/lib/model/organization-tenancy.d.ts +50 -0
- package/lib/model/organization-tenancy.js +29 -0
- package/lib/model/organization-tenancy.js.map +1 -0
- package/lib/model/organization.d.ts +66 -0
- package/lib/model/organization.js +43 -0
- package/lib/model/organization.js.map +1 -0
- package/lib/model/sku.d.ts +4 -4
- package/lib/model/subscription-collection.d.ts +26 -0
- package/lib/model/subscription-collection.js +61 -0
- package/lib/model/subscription-collection.js.map +1 -0
- package/lib/model/subscription-info.d.ts +6 -6
- package/lib/model/subscription-lifecycle-state.d.ts +33 -0
- package/lib/model/subscription-lifecycle-state.js +44 -0
- package/lib/model/subscription-lifecycle-state.js.map +1 -0
- package/lib/model/subscription-mapping-collection.d.ts +26 -0
- package/lib/model/subscription-mapping-collection.js +61 -0
- package/lib/model/subscription-mapping-collection.js.map +1 -0
- package/lib/model/subscription-mapping-summary.d.ts +53 -0
- package/lib/model/subscription-mapping-summary.js +29 -0
- package/lib/model/subscription-mapping-summary.js.map +1 -0
- package/lib/model/subscription-mapping.d.ts +67 -0
- package/lib/model/subscription-mapping.js +44 -0
- package/lib/model/subscription-mapping.js.map +1 -0
- package/lib/model/subscription-sku.d.ts +61 -0
- package/lib/model/subscription-sku.js +29 -0
- package/lib/model/subscription-sku.js.map +1 -0
- package/lib/model/subscription-summary.d.ts +70 -0
- package/lib/model/subscription-summary.js +29 -0
- package/lib/model/subscription-summary.js.map +1 -0
- package/lib/model/subscription.d.ts +74 -0
- package/lib/model/subscription.js +61 -0
- package/lib/model/subscription.js.map +1 -0
- package/lib/model/update-organization-details.d.ts +25 -0
- package/lib/model/update-organization-details.js +29 -0
- package/lib/model/update-organization-details.js.map +1 -0
- package/lib/model/work-request-error.d.ts +1 -1
- package/lib/model/work-request-log-entry.d.ts +1 -1
- package/lib/model/work-request.d.ts +2 -2
- package/lib/organization-waiter.d.ts +37 -0
- package/lib/organization-waiter.js +77 -0
- package/lib/organization-waiter.js.map +1 -0
- package/lib/request/accept-recipient-invitation-request.d.ts +1 -1
- package/lib/request/activate-order-request.d.ts +1 -1
- package/lib/request/approve-organization-tenancy-for-transfer-request.d.ts +48 -0
- package/lib/request/approve-organization-tenancy-for-transfer-request.js +15 -0
- package/lib/request/approve-organization-tenancy-for-transfer-request.js.map +1 -0
- package/lib/request/cancel-sender-invitation-request.d.ts +1 -1
- package/lib/request/create-child-tenancy-request.d.ts +36 -0
- package/lib/request/create-child-tenancy-request.js +15 -0
- package/lib/request/create-child-tenancy-request.js.map +1 -0
- package/lib/request/create-domain-governance-request.d.ts +1 -1
- package/lib/request/create-domain-request.d.ts +1 -1
- package/lib/request/create-sender-invitation-request.d.ts +1 -1
- package/lib/request/create-subscription-mapping-request.d.ts +45 -0
- package/lib/request/create-subscription-mapping-request.js +15 -0
- package/lib/request/create-subscription-mapping-request.js.map +1 -0
- package/lib/request/delete-domain-governance-request.d.ts +1 -1
- package/lib/request/delete-domain-request.d.ts +1 -1
- package/lib/request/delete-link-request.d.ts +1 -1
- package/lib/request/delete-organization-tenancy-request.d.ts +44 -0
- package/lib/request/delete-organization-tenancy-request.js +15 -0
- package/lib/request/delete-organization-tenancy-request.js.map +1 -0
- package/lib/request/delete-subscription-mapping-request.d.ts +35 -0
- package/lib/request/delete-subscription-mapping-request.js +15 -0
- package/lib/request/delete-subscription-mapping-request.js.map +1 -0
- package/lib/request/get-assigned-subscription-request.d.ts +26 -0
- package/lib/request/get-assigned-subscription-request.js +15 -0
- package/lib/request/get-assigned-subscription-request.js.map +1 -0
- package/lib/request/get-domain-governance-request.d.ts +1 -1
- package/lib/request/get-domain-request.d.ts +1 -1
- package/lib/request/get-link-request.d.ts +1 -1
- package/lib/request/get-order-request.d.ts +1 -1
- package/lib/request/get-organization-request.d.ts +26 -0
- package/lib/request/get-organization-request.js +15 -0
- package/lib/request/get-organization-request.js.map +1 -0
- package/lib/request/get-organization-tenancy-request.d.ts +30 -0
- package/lib/request/get-organization-tenancy-request.js +15 -0
- package/lib/request/get-organization-tenancy-request.js.map +1 -0
- package/lib/request/get-recipient-invitation-request.d.ts +1 -1
- package/lib/request/get-sender-invitation-request.d.ts +1 -1
- package/lib/request/get-subscription-mapping-request.d.ts +26 -0
- package/lib/request/get-subscription-mapping-request.js +15 -0
- package/lib/request/get-subscription-mapping-request.js.map +1 -0
- package/lib/request/get-subscription-request.d.ts +26 -0
- package/lib/request/get-subscription-request.js +15 -0
- package/lib/request/get-subscription-request.js.map +1 -0
- package/lib/request/get-work-request-request.d.ts +1 -1
- package/lib/request/ignore-recipient-invitation-request.d.ts +1 -1
- package/lib/request/index.d.ts +36 -0
- package/lib/request/index.js +7 -1
- package/lib/request/index.js.map +1 -1
- package/lib/request/list-assigned-subscriptions-request.d.ts +57 -0
- package/lib/request/list-assigned-subscriptions-request.js +24 -0
- package/lib/request/list-assigned-subscriptions-request.js.map +1 -0
- package/lib/request/list-available-regions-request.d.ts +30 -0
- package/lib/request/list-available-regions-request.js +15 -0
- package/lib/request/list-available-regions-request.js.map +1 -0
- package/lib/request/list-domain-governances-request.d.ts +1 -1
- package/lib/request/list-domains-request.d.ts +1 -1
- package/lib/request/list-links-request.d.ts +1 -1
- package/lib/request/list-organization-tenancies-request.d.ts +34 -0
- package/lib/request/list-organization-tenancies-request.js +15 -0
- package/lib/request/list-organization-tenancies-request.js.map +1 -0
- package/lib/request/list-organizations-request.d.ts +34 -0
- package/lib/request/list-organizations-request.js +15 -0
- package/lib/request/list-organizations-request.js.map +1 -0
- package/lib/request/list-recipient-invitations-request.d.ts +1 -1
- package/lib/request/list-sender-invitations-request.d.ts +1 -1
- package/lib/request/list-subscription-mappings-request.d.ts +65 -0
- package/lib/request/list-subscription-mappings-request.js +24 -0
- package/lib/request/list-subscription-mappings-request.js.map +1 -0
- package/lib/request/list-subscriptions-request.d.ts +57 -0
- package/lib/request/list-subscriptions-request.js +24 -0
- package/lib/request/list-subscriptions-request.js.map +1 -0
- package/lib/request/list-work-request-errors-request.d.ts +1 -1
- package/lib/request/list-work-request-logs-request.d.ts +1 -1
- package/lib/request/list-work-requests-request.d.ts +1 -1
- package/lib/request/unapprove-organization-tenancy-for-transfer-request.d.ts +48 -0
- package/lib/request/unapprove-organization-tenancy-for-transfer-request.js +15 -0
- package/lib/request/unapprove-organization-tenancy-for-transfer-request.js.map +1 -0
- package/lib/request/update-domain-governance-request.d.ts +1 -1
- package/lib/request/update-domain-request.d.ts +1 -1
- package/lib/request/update-organization-request.d.ts +49 -0
- package/lib/request/update-organization-request.js +15 -0
- package/lib/request/update-organization-request.js.map +1 -0
- package/lib/request/update-recipient-invitation-request.d.ts +1 -1
- package/lib/request/update-sender-invitation-request.d.ts +1 -1
- package/lib/response/approve-organization-tenancy-for-transfer-response.d.ts +30 -0
- package/lib/response/approve-organization-tenancy-for-transfer-response.js +15 -0
- package/lib/response/approve-organization-tenancy-for-transfer-response.js.map +1 -0
- package/lib/response/create-child-tenancy-response.d.ts +25 -0
- package/lib/response/create-child-tenancy-response.js +15 -0
- package/lib/response/create-child-tenancy-response.js.map +1 -0
- package/lib/response/create-subscription-mapping-response.d.ts +35 -0
- package/lib/response/create-subscription-mapping-response.js +15 -0
- package/lib/response/create-subscription-mapping-response.js.map +1 -0
- package/lib/response/delete-link-response.d.ts +5 -0
- package/lib/response/delete-organization-tenancy-response.d.ts +25 -0
- package/lib/response/delete-organization-tenancy-response.js +15 -0
- package/lib/response/delete-organization-tenancy-response.js.map +1 -0
- package/lib/response/delete-subscription-mapping-response.d.ts +20 -0
- package/lib/response/delete-subscription-mapping-response.js +15 -0
- package/lib/response/delete-subscription-mapping-response.js.map +1 -0
- package/lib/response/get-assigned-subscription-response.d.ts +30 -0
- package/lib/response/get-assigned-subscription-response.js +15 -0
- package/lib/response/get-assigned-subscription-response.js.map +1 -0
- package/lib/response/get-organization-response.d.ts +30 -0
- package/lib/response/get-organization-response.js +15 -0
- package/lib/response/get-organization-response.js.map +1 -0
- package/lib/response/get-organization-tenancy-response.d.ts +30 -0
- package/lib/response/get-organization-tenancy-response.js +15 -0
- package/lib/response/get-organization-tenancy-response.js.map +1 -0
- package/lib/response/get-subscription-mapping-response.d.ts +30 -0
- package/lib/response/get-subscription-mapping-response.js +15 -0
- package/lib/response/get-subscription-mapping-response.js.map +1 -0
- package/lib/response/get-subscription-response.d.ts +30 -0
- package/lib/response/get-subscription-response.js +15 -0
- package/lib/response/get-subscription-response.js.map +1 -0
- package/lib/response/index.d.ts +36 -0
- package/lib/response/list-assigned-subscriptions-response.d.ts +32 -0
- package/lib/response/list-assigned-subscriptions-response.js +15 -0
- package/lib/response/list-assigned-subscriptions-response.js.map +1 -0
- package/lib/response/list-available-regions-response.d.ts +32 -0
- package/lib/response/list-available-regions-response.js +15 -0
- package/lib/response/list-available-regions-response.js.map +1 -0
- package/lib/response/list-organization-tenancies-response.d.ts +32 -0
- package/lib/response/list-organization-tenancies-response.js +15 -0
- package/lib/response/list-organization-tenancies-response.js.map +1 -0
- package/lib/response/list-organizations-response.d.ts +32 -0
- package/lib/response/list-organizations-response.js +15 -0
- package/lib/response/list-organizations-response.js.map +1 -0
- package/lib/response/list-subscription-mappings-response.d.ts +32 -0
- package/lib/response/list-subscription-mappings-response.js +15 -0
- package/lib/response/list-subscription-mappings-response.js.map +1 -0
- package/lib/response/list-subscriptions-response.d.ts +32 -0
- package/lib/response/list-subscriptions-response.js +15 -0
- package/lib/response/list-subscriptions-response.js.map +1 -0
- package/lib/response/unapprove-organization-tenancy-for-transfer-response.d.ts +30 -0
- package/lib/response/unapprove-organization-tenancy-for-transfer-response.js +15 -0
- package/lib/response/unapprove-organization-tenancy-for-transfer-response.js.map +1 -0
- package/lib/response/update-organization-response.d.ts +25 -0
- package/lib/response/update-organization-response.js +15 -0
- package/lib/response/update-organization-response.js.map +1 -0
- package/lib/subscription-waiter.d.ts +45 -0
- package/lib/subscription-waiter.js +89 -0
- package/lib/subscription-waiter.js.map +1 -0
- package/package.json +3 -3
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Organizations API
|
|
4
|
+
* The Organizations API allows you to consolidate multiple OCI tenancies into an organization, and centrally manage your tenancies and its resources.
|
|
5
|
+
* OpenAPI spec version: 20200801
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*
|
|
11
|
+
* Copyright (c) 2020, 2021, 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.SubscriptionMapping = void 0;
|
|
16
|
+
var SubscriptionMapping;
|
|
17
|
+
(function (SubscriptionMapping) {
|
|
18
|
+
let LifecycleState;
|
|
19
|
+
(function (LifecycleState) {
|
|
20
|
+
LifecycleState["Creating"] = "CREATING";
|
|
21
|
+
LifecycleState["Active"] = "ACTIVE";
|
|
22
|
+
LifecycleState["Inactive"] = "INACTIVE";
|
|
23
|
+
LifecycleState["Updating"] = "UPDATING";
|
|
24
|
+
LifecycleState["Deleting"] = "DELETING";
|
|
25
|
+
LifecycleState["Deleted"] = "DELETED";
|
|
26
|
+
LifecycleState["Failed"] = "FAILED";
|
|
27
|
+
/**
|
|
28
|
+
* This value is used if a service returns a value for this enum that is not recognized by this
|
|
29
|
+
* version of the SDK.
|
|
30
|
+
*/
|
|
31
|
+
LifecycleState["UnknownValue"] = "UNKNOWN_VALUE";
|
|
32
|
+
})(LifecycleState = SubscriptionMapping.LifecycleState || (SubscriptionMapping.LifecycleState = {}));
|
|
33
|
+
function getJsonObj(obj) {
|
|
34
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
35
|
+
return jsonObj;
|
|
36
|
+
}
|
|
37
|
+
SubscriptionMapping.getJsonObj = getJsonObj;
|
|
38
|
+
function getDeserializedJsonObj(obj) {
|
|
39
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
40
|
+
return jsonObj;
|
|
41
|
+
}
|
|
42
|
+
SubscriptionMapping.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
43
|
+
})(SubscriptionMapping = exports.SubscriptionMapping || (exports.SubscriptionMapping = {}));
|
|
44
|
+
//# sourceMappingURL=subscription-mapping.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"subscription-mapping.js","sourceRoot":"","sources":["../../../../../lib/tenantmanagercontrolplane/lib/model/subscription-mapping.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;AA2CH,IAAiB,mBAAmB,CA0BnC;AA1BD,WAAiB,mBAAmB;IAClC,IAAY,cAaX;IAbD,WAAY,cAAc;QACxB,uCAAqB,CAAA;QACrB,mCAAiB,CAAA;QACjB,uCAAqB,CAAA;QACrB,uCAAqB,CAAA;QACrB,uCAAqB,CAAA;QACrB,qCAAmB,CAAA;QACnB,mCAAiB,CAAA;QACjB;;;WAGG;QACH,gDAA8B,CAAA;IAChC,CAAC,EAbW,cAAc,GAAd,kCAAc,KAAd,kCAAc,QAazB;IAED,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,EA1BgB,mBAAmB,GAAnB,2BAAmB,KAAnB,2BAAmB,QA0BnC"}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Organizations API
|
|
3
|
+
* The Organizations API allows you to consolidate multiple OCI tenancies into an organization, and centrally manage your tenancies and its resources.
|
|
4
|
+
* OpenAPI spec version: 20200801
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
8
|
+
* Do not edit the class manually.
|
|
9
|
+
*
|
|
10
|
+
* Copyright (c) 2020, 2021, 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
|
+
* SKU information.
|
|
15
|
+
*/
|
|
16
|
+
export interface SubscriptionSku {
|
|
17
|
+
/**
|
|
18
|
+
* Stock keeping unit ID.
|
|
19
|
+
*/
|
|
20
|
+
"sku": string;
|
|
21
|
+
/**
|
|
22
|
+
* Quantity of the stock units. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
23
|
+
*/
|
|
24
|
+
"quantity"?: number;
|
|
25
|
+
/**
|
|
26
|
+
* Description of the stock units.
|
|
27
|
+
*/
|
|
28
|
+
"description"?: string;
|
|
29
|
+
/**
|
|
30
|
+
* Sales order line identifier.
|
|
31
|
+
*/
|
|
32
|
+
"gsiOrderLineId"?: string;
|
|
33
|
+
/**
|
|
34
|
+
* Description of the covered product belonging to this SKU.
|
|
35
|
+
*/
|
|
36
|
+
"licensePartDescription"?: string;
|
|
37
|
+
/**
|
|
38
|
+
* Base metric for billing the service.
|
|
39
|
+
*/
|
|
40
|
+
"metricName"?: string;
|
|
41
|
+
/**
|
|
42
|
+
* Denotes if the SKU is considered as a parent or child.
|
|
43
|
+
*/
|
|
44
|
+
"isBaseServiceComponent"?: boolean;
|
|
45
|
+
/**
|
|
46
|
+
* Denotes if an additional test instance can be provisioned by the SAAS application.
|
|
47
|
+
*/
|
|
48
|
+
"isAdditionalInstance"?: boolean;
|
|
49
|
+
/**
|
|
50
|
+
* Date-time when the SKU was created.
|
|
51
|
+
*/
|
|
52
|
+
"startDate"?: Date;
|
|
53
|
+
/**
|
|
54
|
+
* Date-time when the SKU ended.
|
|
55
|
+
*/
|
|
56
|
+
"endDate"?: Date;
|
|
57
|
+
}
|
|
58
|
+
export declare namespace SubscriptionSku {
|
|
59
|
+
function getJsonObj(obj: SubscriptionSku): object;
|
|
60
|
+
function getDeserializedJsonObj(obj: SubscriptionSku): object;
|
|
61
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Organizations API
|
|
4
|
+
* The Organizations API allows you to consolidate multiple OCI tenancies into an organization, and centrally manage your tenancies and its resources.
|
|
5
|
+
* OpenAPI spec version: 20200801
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*
|
|
11
|
+
* Copyright (c) 2020, 2021, 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.SubscriptionSku = void 0;
|
|
16
|
+
var SubscriptionSku;
|
|
17
|
+
(function (SubscriptionSku) {
|
|
18
|
+
function getJsonObj(obj) {
|
|
19
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
20
|
+
return jsonObj;
|
|
21
|
+
}
|
|
22
|
+
SubscriptionSku.getJsonObj = getJsonObj;
|
|
23
|
+
function getDeserializedJsonObj(obj) {
|
|
24
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
25
|
+
return jsonObj;
|
|
26
|
+
}
|
|
27
|
+
SubscriptionSku.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
28
|
+
})(SubscriptionSku = exports.SubscriptionSku || (exports.SubscriptionSku = {}));
|
|
29
|
+
//# sourceMappingURL=subscription-sku.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"subscription-sku.js","sourceRoot":"","sources":["../../../../../lib/tenantmanagercontrolplane/lib/model/subscription-sku.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;AAmDH,IAAiB,eAAe,CAW/B;AAXD,WAAiB,eAAe;IAC9B,SAAgB,UAAU,CAAC,GAAoB;QAC7C,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,0BAAU,aAIzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAoB;QACzD,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,sCAAsB,yBAIrC,CAAA;AACH,CAAC,EAXgB,eAAe,GAAf,uBAAe,KAAf,uBAAe,QAW/B"}
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Organizations API
|
|
3
|
+
* The Organizations API allows you to consolidate multiple OCI tenancies into an organization, and centrally manage your tenancies and its resources.
|
|
4
|
+
* OpenAPI spec version: 20200801
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
8
|
+
* Do not edit the class manually.
|
|
9
|
+
*
|
|
10
|
+
* Copyright (c) 2020, 2021, 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
|
+
* Summary of subscription.
|
|
16
|
+
*/
|
|
17
|
+
export interface SubscriptionSummary {
|
|
18
|
+
/**
|
|
19
|
+
* OCID of the subscription details for a particular root compartment or tenancy.
|
|
20
|
+
*/
|
|
21
|
+
"id": string;
|
|
22
|
+
/**
|
|
23
|
+
* Classic subscription ID.
|
|
24
|
+
*/
|
|
25
|
+
"classicSubscriptionId": string;
|
|
26
|
+
/**
|
|
27
|
+
* OCID of the compartment. Always a tenancy OCID.
|
|
28
|
+
*/
|
|
29
|
+
"compartmentId": string;
|
|
30
|
+
/**
|
|
31
|
+
* The type of subscription, such as 'CLOUDCM', 'SAAS', 'ERP', or 'CRM'.
|
|
32
|
+
*/
|
|
33
|
+
"serviceName": string;
|
|
34
|
+
/**
|
|
35
|
+
* Denotes if the subscription is from classic systems or not.
|
|
36
|
+
*/
|
|
37
|
+
"isClassicSubscription"?: boolean;
|
|
38
|
+
/**
|
|
39
|
+
* The pay model of the subscription, such as 'Pay as you go' or 'Monthly'.
|
|
40
|
+
*/
|
|
41
|
+
"paymentModel"?: string;
|
|
42
|
+
/**
|
|
43
|
+
* Region for the subscription.
|
|
44
|
+
*/
|
|
45
|
+
"regionAssignment"?: string;
|
|
46
|
+
/**
|
|
47
|
+
* Lifecycle state of the subscription.
|
|
48
|
+
*/
|
|
49
|
+
"lifecycleState"?: model.SubscriptionLifecycleState;
|
|
50
|
+
/**
|
|
51
|
+
* Subscription start time.
|
|
52
|
+
*/
|
|
53
|
+
"startDate"?: Date;
|
|
54
|
+
/**
|
|
55
|
+
* Subscription end time.
|
|
56
|
+
*/
|
|
57
|
+
"endDate"?: Date;
|
|
58
|
+
/**
|
|
59
|
+
* Date-time when subscription is updated.
|
|
60
|
+
*/
|
|
61
|
+
"timeUpdated"?: Date;
|
|
62
|
+
/**
|
|
63
|
+
* Date-time when subscription is created.
|
|
64
|
+
*/
|
|
65
|
+
"timeCreated"?: Date;
|
|
66
|
+
}
|
|
67
|
+
export declare namespace SubscriptionSummary {
|
|
68
|
+
function getJsonObj(obj: SubscriptionSummary): object;
|
|
69
|
+
function getDeserializedJsonObj(obj: SubscriptionSummary): object;
|
|
70
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Organizations API
|
|
4
|
+
* The Organizations API allows you to consolidate multiple OCI tenancies into an organization, and centrally manage your tenancies and its resources.
|
|
5
|
+
* OpenAPI spec version: 20200801
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*
|
|
11
|
+
* Copyright (c) 2020, 2021, 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.SubscriptionSummary = void 0;
|
|
16
|
+
var SubscriptionSummary;
|
|
17
|
+
(function (SubscriptionSummary) {
|
|
18
|
+
function getJsonObj(obj) {
|
|
19
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
20
|
+
return jsonObj;
|
|
21
|
+
}
|
|
22
|
+
SubscriptionSummary.getJsonObj = getJsonObj;
|
|
23
|
+
function getDeserializedJsonObj(obj) {
|
|
24
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
25
|
+
return jsonObj;
|
|
26
|
+
}
|
|
27
|
+
SubscriptionSummary.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
28
|
+
})(SubscriptionSummary = exports.SubscriptionSummary || (exports.SubscriptionSummary = {}));
|
|
29
|
+
//# sourceMappingURL=subscription-summary.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"subscription-summary.js","sourceRoot":"","sources":["../../../../../lib/tenantmanagercontrolplane/lib/model/subscription-summary.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;AA2DH,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,74 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Organizations API
|
|
3
|
+
* The Organizations API allows you to consolidate multiple OCI tenancies into an organization, and centrally manage your tenancies and its resources.
|
|
4
|
+
* OpenAPI spec version: 20200801
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
8
|
+
* Do not edit the class manually.
|
|
9
|
+
*
|
|
10
|
+
* Copyright (c) 2020, 2021, 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
|
+
* Subscription information for compartmentId. Only root compartments are allowed.
|
|
16
|
+
*/
|
|
17
|
+
export interface Subscription {
|
|
18
|
+
/**
|
|
19
|
+
* OCID of the subscription details for the particular root compartment or tenancy.
|
|
20
|
+
*/
|
|
21
|
+
"id": string;
|
|
22
|
+
/**
|
|
23
|
+
* Classic subscription ID.
|
|
24
|
+
*/
|
|
25
|
+
"classicSubscriptionId": string;
|
|
26
|
+
/**
|
|
27
|
+
* OCID of the compartment. Always a tenancy OCID.
|
|
28
|
+
*/
|
|
29
|
+
"compartmentId": string;
|
|
30
|
+
/**
|
|
31
|
+
* The type of subscription, such as 'CLOUDCM', 'SAAS', 'ERP', or 'CRM'.
|
|
32
|
+
*/
|
|
33
|
+
"serviceName": string;
|
|
34
|
+
/**
|
|
35
|
+
* Denotes if the subscription is from classic systems or not.
|
|
36
|
+
*/
|
|
37
|
+
"isClassicSubscription"?: boolean;
|
|
38
|
+
/**
|
|
39
|
+
* The pay model of the subscription, such as 'Pay as you go' or 'Monthly'.
|
|
40
|
+
*/
|
|
41
|
+
"paymentModel"?: string;
|
|
42
|
+
/**
|
|
43
|
+
* Region for the subscription.
|
|
44
|
+
*/
|
|
45
|
+
"regionAssignment"?: string;
|
|
46
|
+
/**
|
|
47
|
+
* Lifecycle state of the subscription.
|
|
48
|
+
*/
|
|
49
|
+
"lifecycleState"?: model.SubscriptionLifecycleState;
|
|
50
|
+
/**
|
|
51
|
+
* List of SKUs linked to this subscription.
|
|
52
|
+
*/
|
|
53
|
+
"skus"?: Array<model.SubscriptionSku>;
|
|
54
|
+
/**
|
|
55
|
+
* Subscription start time.
|
|
56
|
+
*/
|
|
57
|
+
"startDate"?: Date;
|
|
58
|
+
/**
|
|
59
|
+
* Subscription end time.
|
|
60
|
+
*/
|
|
61
|
+
"endDate"?: Date;
|
|
62
|
+
/**
|
|
63
|
+
* Date-time when subscription is updated.
|
|
64
|
+
*/
|
|
65
|
+
"timeUpdated"?: Date;
|
|
66
|
+
/**
|
|
67
|
+
* Date-time when subscription is created.
|
|
68
|
+
*/
|
|
69
|
+
"timeCreated"?: Date;
|
|
70
|
+
}
|
|
71
|
+
export declare namespace Subscription {
|
|
72
|
+
function getJsonObj(obj: Subscription): object;
|
|
73
|
+
function getDeserializedJsonObj(obj: Subscription): object;
|
|
74
|
+
}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Organizations API
|
|
4
|
+
* The Organizations API allows you to consolidate multiple OCI tenancies into an organization, and centrally manage your tenancies and its resources.
|
|
5
|
+
* OpenAPI spec version: 20200801
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*
|
|
11
|
+
* Copyright (c) 2020, 2021, 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.Subscription = void 0;
|
|
35
|
+
const model = __importStar(require("../model"));
|
|
36
|
+
var Subscription;
|
|
37
|
+
(function (Subscription) {
|
|
38
|
+
function getJsonObj(obj) {
|
|
39
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
40
|
+
"skus": obj.skus
|
|
41
|
+
? obj.skus.map(item => {
|
|
42
|
+
return model.SubscriptionSku.getJsonObj(item);
|
|
43
|
+
})
|
|
44
|
+
: undefined
|
|
45
|
+
});
|
|
46
|
+
return jsonObj;
|
|
47
|
+
}
|
|
48
|
+
Subscription.getJsonObj = getJsonObj;
|
|
49
|
+
function getDeserializedJsonObj(obj) {
|
|
50
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
51
|
+
"skus": obj.skus
|
|
52
|
+
? obj.skus.map(item => {
|
|
53
|
+
return model.SubscriptionSku.getDeserializedJsonObj(item);
|
|
54
|
+
})
|
|
55
|
+
: undefined
|
|
56
|
+
});
|
|
57
|
+
return jsonObj;
|
|
58
|
+
}
|
|
59
|
+
Subscription.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
60
|
+
})(Subscription = exports.Subscription || (exports.Subscription = {}));
|
|
61
|
+
//# sourceMappingURL=subscription.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"subscription.js","sourceRoot":"","sources":["../../../../../lib/tenantmanagercontrolplane/lib/model/subscription.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AA6DlC,IAAiB,YAAY,CA6B5B;AA7BD,WAAiB,YAAY;IAC3B,SAAgB,UAAU,CAAC,GAAiB;QAC1C,MAAM,OAAO,mCACR,GAAG,GACH;YACD,MAAM,EAAE,GAAG,CAAC,IAAI;gBACd,CAAC,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBAClB,OAAO,KAAK,CAAC,eAAe,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;gBAChD,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,uBAAU,aAazB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAiB;QACtD,MAAM,OAAO,mCACR,GAAG,GACH;YACD,MAAM,EAAE,GAAG,CAAC,IAAI;gBACd,CAAC,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBAClB,OAAO,KAAK,CAAC,eAAe,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBAC5D,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,mCAAsB,yBAarC,CAAA;AACH,CAAC,EA7BgB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QA6B5B"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Organizations API
|
|
3
|
+
* The Organizations API allows you to consolidate multiple OCI tenancies into an organization, and centrally manage your tenancies and its resources.
|
|
4
|
+
* OpenAPI spec version: 20200801
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
8
|
+
* Do not edit the class manually.
|
|
9
|
+
*
|
|
10
|
+
* Copyright (c) 2020, 2021, 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
|
+
* UpdateOrganizationDetails contains subscriptionId information.
|
|
15
|
+
*/
|
|
16
|
+
export interface UpdateOrganizationDetails {
|
|
17
|
+
/**
|
|
18
|
+
* OCID of the default Annual Universal Credits subscription. Any tenancy joining the organization will automatically get assigned this subscription if a subscription is not explictly assigned.
|
|
19
|
+
*/
|
|
20
|
+
"defaultUcmSubscriptionId": string;
|
|
21
|
+
}
|
|
22
|
+
export declare namespace UpdateOrganizationDetails {
|
|
23
|
+
function getJsonObj(obj: UpdateOrganizationDetails): object;
|
|
24
|
+
function getDeserializedJsonObj(obj: UpdateOrganizationDetails): object;
|
|
25
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Organizations API
|
|
4
|
+
* The Organizations API allows you to consolidate multiple OCI tenancies into an organization, and centrally manage your tenancies and its resources.
|
|
5
|
+
* OpenAPI spec version: 20200801
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*
|
|
11
|
+
* Copyright (c) 2020, 2021, 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.UpdateOrganizationDetails = void 0;
|
|
16
|
+
var UpdateOrganizationDetails;
|
|
17
|
+
(function (UpdateOrganizationDetails) {
|
|
18
|
+
function getJsonObj(obj) {
|
|
19
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
20
|
+
return jsonObj;
|
|
21
|
+
}
|
|
22
|
+
UpdateOrganizationDetails.getJsonObj = getJsonObj;
|
|
23
|
+
function getDeserializedJsonObj(obj) {
|
|
24
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
25
|
+
return jsonObj;
|
|
26
|
+
}
|
|
27
|
+
UpdateOrganizationDetails.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
28
|
+
})(UpdateOrganizationDetails = exports.UpdateOrganizationDetails || (exports.UpdateOrganizationDetails = {}));
|
|
29
|
+
//# sourceMappingURL=update-organization-details.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-organization-details.js","sourceRoot":"","sources":["../../../../../lib/tenantmanagercontrolplane/lib/model/update-organization-details.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;AAeH,IAAiB,yBAAyB,CAWzC;AAXD,WAAiB,yBAAyB;IACxC,SAAgB,UAAU,CAAC,GAA8B;QACvD,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,oCAAU,aAIzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAA8B;QACnE,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,gDAAsB,yBAIrC,CAAA;AACH,CAAC,EAXgB,yBAAyB,GAAzB,iCAAyB,KAAzB,iCAAyB,QAWzC"}
|
|
@@ -19,7 +19,7 @@ export interface WorkRequestLogEntry {
|
|
|
19
19
|
*/
|
|
20
20
|
"message": string;
|
|
21
21
|
/**
|
|
22
|
-
* The time the log message was written. An
|
|
22
|
+
* The time the log message was written. An RFC 3339-formatted date and time string.
|
|
23
23
|
*/
|
|
24
24
|
"timestamp": Date;
|
|
25
25
|
}
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
*/
|
|
13
13
|
import * as model from "../model";
|
|
14
14
|
/**
|
|
15
|
-
* A description of work request status.
|
|
15
|
+
* A description of the work request status.
|
|
16
16
|
*/
|
|
17
17
|
export interface WorkRequest {
|
|
18
18
|
/**
|
|
@@ -20,7 +20,7 @@ export interface WorkRequest {
|
|
|
20
20
|
*/
|
|
21
21
|
"operationType": model.OperationType;
|
|
22
22
|
/**
|
|
23
|
-
* Status of current work request.
|
|
23
|
+
* Status of the current work request.
|
|
24
24
|
*/
|
|
25
25
|
"status": model.OperationStatus;
|
|
26
26
|
/**
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Organizations API
|
|
3
|
+
* The Organizations API allows you to consolidate multiple OCI tenancies into an organization, and centrally manage your tenancies and its resources.
|
|
4
|
+
* OpenAPI spec version: 20200801
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
8
|
+
* Do not edit the class manually.
|
|
9
|
+
*
|
|
10
|
+
* Copyright (c) 2020, 2021, Oracle and/or its affiliates. All rights reserved.
|
|
11
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
12
|
+
*/
|
|
13
|
+
import * as serviceRequests from "./request";
|
|
14
|
+
import * as serviceResponses from "./response";
|
|
15
|
+
import * as models from "./model";
|
|
16
|
+
import { OrganizationClient } from "./client";
|
|
17
|
+
export declare class OrganizationWaiter {
|
|
18
|
+
private client;
|
|
19
|
+
private readonly config?;
|
|
20
|
+
constructor(client: OrganizationClient, config?: Partial<import("oci-common/lib/waiter").WaiterConfigurationDetails> | undefined);
|
|
21
|
+
/**
|
|
22
|
+
* Waits forOrganization till it reaches any of the provided states
|
|
23
|
+
*
|
|
24
|
+
* @param request the request to send
|
|
25
|
+
* @param targetStates the desired states to wait for. The waiter will return once the resource reaches any of the provided states
|
|
26
|
+
* @return response returns GetOrganizationResponse | null (null in case of 404 response)
|
|
27
|
+
*/
|
|
28
|
+
forOrganization(request: serviceRequests.GetOrganizationRequest, ...targetStates: models.Organization.LifecycleState[]): Promise<serviceResponses.GetOrganizationResponse | null>;
|
|
29
|
+
/**
|
|
30
|
+
* Waits forOrganizationTenancy till it reaches any of the provided states
|
|
31
|
+
*
|
|
32
|
+
* @param request the request to send
|
|
33
|
+
* @param targetStates the desired states to wait for. The waiter will return once the resource reaches any of the provided states
|
|
34
|
+
* @return response returns GetOrganizationTenancyResponse | null (null in case of 404 response)
|
|
35
|
+
*/
|
|
36
|
+
forOrganizationTenancy(request: serviceRequests.GetOrganizationTenancyRequest, ...targetStates: models.OrganizationTenancyLifecycleState[]): Promise<serviceResponses.GetOrganizationTenancyResponse | null>;
|
|
37
|
+
}
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Organizations API
|
|
4
|
+
* The Organizations API allows you to consolidate multiple OCI tenancies into an organization, and centrally manage your tenancies and its resources.
|
|
5
|
+
* OpenAPI spec version: 20200801
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*
|
|
11
|
+
* Copyright (c) 2020, 2021, Oracle and/or its affiliates. All rights reserved.
|
|
12
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
13
|
+
*/
|
|
14
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
15
|
+
if (k2 === undefined) k2 = k;
|
|
16
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
17
|
+
}) : (function(o, m, k, k2) {
|
|
18
|
+
if (k2 === undefined) k2 = k;
|
|
19
|
+
o[k2] = m[k];
|
|
20
|
+
}));
|
|
21
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
22
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
23
|
+
}) : function(o, v) {
|
|
24
|
+
o["default"] = v;
|
|
25
|
+
});
|
|
26
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
27
|
+
if (mod && mod.__esModule) return mod;
|
|
28
|
+
var result = {};
|
|
29
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
30
|
+
__setModuleDefault(result, mod);
|
|
31
|
+
return result;
|
|
32
|
+
};
|
|
33
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
34
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
35
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
36
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
37
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
38
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
39
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
40
|
+
});
|
|
41
|
+
};
|
|
42
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
43
|
+
exports.OrganizationWaiter = void 0;
|
|
44
|
+
const models = __importStar(require("./model"));
|
|
45
|
+
const oci_common_1 = require("oci-common");
|
|
46
|
+
class OrganizationWaiter {
|
|
47
|
+
constructor(client, config) {
|
|
48
|
+
this.client = client;
|
|
49
|
+
this.config = config;
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
* Waits forOrganization till it reaches any of the provided states
|
|
53
|
+
*
|
|
54
|
+
* @param request the request to send
|
|
55
|
+
* @param targetStates the desired states to wait for. The waiter will return once the resource reaches any of the provided states
|
|
56
|
+
* @return response returns GetOrganizationResponse | null (null in case of 404 response)
|
|
57
|
+
*/
|
|
58
|
+
forOrganization(request, ...targetStates) {
|
|
59
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
60
|
+
return oci_common_1.genericTerminalConditionWaiter(this.config, () => this.client.getOrganization(request), response => targetStates.includes(response.organization.lifecycleState), targetStates.includes(models.Organization.LifecycleState.Deleted));
|
|
61
|
+
});
|
|
62
|
+
}
|
|
63
|
+
/**
|
|
64
|
+
* Waits forOrganizationTenancy till it reaches any of the provided states
|
|
65
|
+
*
|
|
66
|
+
* @param request the request to send
|
|
67
|
+
* @param targetStates the desired states to wait for. The waiter will return once the resource reaches any of the provided states
|
|
68
|
+
* @return response returns GetOrganizationTenancyResponse | null (null in case of 404 response)
|
|
69
|
+
*/
|
|
70
|
+
forOrganizationTenancy(request, ...targetStates) {
|
|
71
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
72
|
+
return oci_common_1.genericTerminalConditionWaiter(this.config, () => this.client.getOrganizationTenancy(request), response => targetStates.includes(response.organizationTenancy.lifecycleState), targetStates.includes(models.OrganizationTenancyLifecycleState.Deleted));
|
|
73
|
+
});
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
exports.OrganizationWaiter = OrganizationWaiter;
|
|
77
|
+
//# sourceMappingURL=organization-waiter.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"organization-waiter.js","sourceRoot":"","sources":["../../../../lib/tenantmanagercontrolplane/lib/organization-waiter.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAIH,gDAAkC;AAElC,2CAAgG;AAEhG,MAAa,kBAAkB;IAC7B,YACU,MAA0B,EACjB,MAA4B;QADrC,WAAM,GAAN,MAAM,CAAoB;QACjB,WAAM,GAAN,MAAM,CAAsB;IAC5C,CAAC;IAEJ;;;;;;OAMG;IACU,eAAe,CAC1B,OAA+C,EAC/C,GAAG,YAAkD;;YAErD,OAAO,2CAA8B,CACnC,IAAI,CAAC,MAAM,EACX,GAAG,EAAE,CAAC,IAAI,CAAC,MAAM,CAAC,eAAe,CAAC,OAAO,CAAC,EAC1C,QAAQ,CAAC,EAAE,CAAC,YAAY,CAAC,QAAQ,CAAC,QAAQ,CAAC,YAAY,CAAC,cAAe,CAAC,EACxE,YAAY,CAAC,QAAQ,CAAC,MAAM,CAAC,YAAY,CAAC,cAAc,CAAC,OAAO,CAAC,CAClE,CAAC;QACJ,CAAC;KAAA;IAED;;;;;;OAMG;IACU,sBAAsB,CACjC,OAAsD,EACtD,GAAG,YAAwD;;YAE3D,OAAO,2CAA8B,CACnC,IAAI,CAAC,MAAM,EACX,GAAG,EAAE,CAAC,IAAI,CAAC,MAAM,CAAC,sBAAsB,CAAC,OAAO,CAAC,EACjD,QAAQ,CAAC,EAAE,CAAC,YAAY,CAAC,QAAQ,CAAC,QAAQ,CAAC,mBAAmB,CAAC,cAAe,CAAC,EAC/E,YAAY,CAAC,QAAQ,CAAC,MAAM,CAAC,iCAAiC,CAAC,OAAO,CAAC,CACxE,CAAC;QACJ,CAAC;KAAA;CACF;AA3CD,gDA2CC"}
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
*/
|
|
13
13
|
import common = require("oci-common");
|
|
14
14
|
/**
|
|
15
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
15
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/tenantmanagercontrolplane/AcceptRecipientInvitation.ts.html |here} to see how to use AcceptRecipientInvitationRequest.
|
|
16
16
|
*/
|
|
17
17
|
export interface AcceptRecipientInvitationRequest extends common.BaseRequest {
|
|
18
18
|
/**
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
import * as model from "../model";
|
|
14
14
|
import common = require("oci-common");
|
|
15
15
|
/**
|
|
16
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
16
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/tenantmanagercontrolplane/ActivateOrder.ts.html |here} to see how to use ActivateOrderRequest.
|
|
17
17
|
*/
|
|
18
18
|
export interface ActivateOrderRequest extends common.BaseRequest {
|
|
19
19
|
/**
|