oci-tenantmanagercontrolplane 2.4.0 → 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/LICENSE.txt +6 -0
- 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,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.OrganizationTenancy = void 0;
|
|
16
|
+
var OrganizationTenancy;
|
|
17
|
+
(function (OrganizationTenancy) {
|
|
18
|
+
function getJsonObj(obj) {
|
|
19
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
20
|
+
return jsonObj;
|
|
21
|
+
}
|
|
22
|
+
OrganizationTenancy.getJsonObj = getJsonObj;
|
|
23
|
+
function getDeserializedJsonObj(obj) {
|
|
24
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
25
|
+
return jsonObj;
|
|
26
|
+
}
|
|
27
|
+
OrganizationTenancy.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
28
|
+
})(OrganizationTenancy = exports.OrganizationTenancy || (exports.OrganizationTenancy = {}));
|
|
29
|
+
//# sourceMappingURL=organization-tenancy.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"organization-tenancy.js","sourceRoot":"","sources":["../../../../../lib/tenantmanagercontrolplane/lib/model/organization-tenancy.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;AAuCH,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,66 @@
|
|
|
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
|
+
* An organization entity.
|
|
15
|
+
*/
|
|
16
|
+
export interface Organization {
|
|
17
|
+
/**
|
|
18
|
+
* OCID of the organization.
|
|
19
|
+
*/
|
|
20
|
+
"id": string;
|
|
21
|
+
/**
|
|
22
|
+
* A display name for the organization. Avoid entering confidential information.
|
|
23
|
+
*/
|
|
24
|
+
"displayName"?: string;
|
|
25
|
+
/**
|
|
26
|
+
* OCID of the compartment containing the organization. Always a tenancy OCID.
|
|
27
|
+
*/
|
|
28
|
+
"compartmentId": string;
|
|
29
|
+
/**
|
|
30
|
+
* The name of the tenancy that is the organization parent.
|
|
31
|
+
*/
|
|
32
|
+
"parentName"?: string;
|
|
33
|
+
/**
|
|
34
|
+
* 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.
|
|
35
|
+
*/
|
|
36
|
+
"defaultUcmSubscriptionId": string;
|
|
37
|
+
/**
|
|
38
|
+
* Lifecycle state of the organization.
|
|
39
|
+
*/
|
|
40
|
+
"lifecycleState": Organization.LifecycleState;
|
|
41
|
+
/**
|
|
42
|
+
* Date-time when this organization was created.
|
|
43
|
+
*/
|
|
44
|
+
"timeCreated": Date;
|
|
45
|
+
/**
|
|
46
|
+
* Date-time when this organization was last updated.
|
|
47
|
+
*/
|
|
48
|
+
"timeUpdated"?: Date;
|
|
49
|
+
}
|
|
50
|
+
export declare namespace Organization {
|
|
51
|
+
enum LifecycleState {
|
|
52
|
+
Creating = "CREATING",
|
|
53
|
+
Active = "ACTIVE",
|
|
54
|
+
Updating = "UPDATING",
|
|
55
|
+
Deleting = "DELETING",
|
|
56
|
+
Deleted = "DELETED",
|
|
57
|
+
Failed = "FAILED",
|
|
58
|
+
/**
|
|
59
|
+
* This value is used if a service returns a value for this enum that is not recognized by this
|
|
60
|
+
* version of the SDK.
|
|
61
|
+
*/
|
|
62
|
+
UnknownValue = "UNKNOWN_VALUE"
|
|
63
|
+
}
|
|
64
|
+
function getJsonObj(obj: Organization): object;
|
|
65
|
+
function getDeserializedJsonObj(obj: Organization): object;
|
|
66
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
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.Organization = void 0;
|
|
16
|
+
var Organization;
|
|
17
|
+
(function (Organization) {
|
|
18
|
+
let LifecycleState;
|
|
19
|
+
(function (LifecycleState) {
|
|
20
|
+
LifecycleState["Creating"] = "CREATING";
|
|
21
|
+
LifecycleState["Active"] = "ACTIVE";
|
|
22
|
+
LifecycleState["Updating"] = "UPDATING";
|
|
23
|
+
LifecycleState["Deleting"] = "DELETING";
|
|
24
|
+
LifecycleState["Deleted"] = "DELETED";
|
|
25
|
+
LifecycleState["Failed"] = "FAILED";
|
|
26
|
+
/**
|
|
27
|
+
* This value is used if a service returns a value for this enum that is not recognized by this
|
|
28
|
+
* version of the SDK.
|
|
29
|
+
*/
|
|
30
|
+
LifecycleState["UnknownValue"] = "UNKNOWN_VALUE";
|
|
31
|
+
})(LifecycleState = Organization.LifecycleState || (Organization.LifecycleState = {}));
|
|
32
|
+
function getJsonObj(obj) {
|
|
33
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
34
|
+
return jsonObj;
|
|
35
|
+
}
|
|
36
|
+
Organization.getJsonObj = getJsonObj;
|
|
37
|
+
function getDeserializedJsonObj(obj) {
|
|
38
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
39
|
+
return jsonObj;
|
|
40
|
+
}
|
|
41
|
+
Organization.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
42
|
+
})(Organization = exports.Organization || (exports.Organization = {}));
|
|
43
|
+
//# sourceMappingURL=organization.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"organization.js","sourceRoot":"","sources":["../../../../../lib/tenantmanagercontrolplane/lib/model/organization.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;AA2CH,IAAiB,YAAY,CAyB5B;AAzBD,WAAiB,YAAY;IAC3B,IAAY,cAYX;IAZD,WAAY,cAAc;QACxB,uCAAqB,CAAA;QACrB,mCAAiB,CAAA;QACjB,uCAAqB,CAAA;QACrB,uCAAqB,CAAA;QACrB,qCAAmB,CAAA;QACnB,mCAAiB,CAAA;QACjB;;;WAGG;QACH,gDAA8B,CAAA;IAChC,CAAC,EAZW,cAAc,GAAd,2BAAc,KAAd,2BAAc,QAYzB;IAED,SAAgB,UAAU,CAAC,GAAiB;QAC1C,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,uBAAU,aAIzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAiB;QACtD,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,mCAAsB,yBAIrC,CAAA;AACH,CAAC,EAzBgB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAyB5B"}
|
package/lib/model/sku.d.ts
CHANGED
|
@@ -11,19 +11,19 @@
|
|
|
11
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
12
|
*/
|
|
13
13
|
/**
|
|
14
|
-
* A single
|
|
14
|
+
* A single subscription SKU.
|
|
15
15
|
*/
|
|
16
16
|
export interface Sku {
|
|
17
17
|
/**
|
|
18
|
-
* SKU number
|
|
18
|
+
* SKU number.
|
|
19
19
|
*/
|
|
20
20
|
"number"?: string;
|
|
21
21
|
/**
|
|
22
|
-
* SKU name
|
|
22
|
+
* SKU name.
|
|
23
23
|
*/
|
|
24
24
|
"name"?: string;
|
|
25
25
|
/**
|
|
26
|
-
* SKU quantity Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
26
|
+
* SKU quantity. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
27
27
|
*/
|
|
28
28
|
"quantity"?: number;
|
|
29
29
|
}
|
|
@@ -0,0 +1,26 @@
|
|
|
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
|
+
* List of subscriptions.
|
|
16
|
+
*/
|
|
17
|
+
export interface SubscriptionCollection {
|
|
18
|
+
/**
|
|
19
|
+
* Array containing subscription items.
|
|
20
|
+
*/
|
|
21
|
+
"items": Array<model.SubscriptionSummary>;
|
|
22
|
+
}
|
|
23
|
+
export declare namespace SubscriptionCollection {
|
|
24
|
+
function getJsonObj(obj: SubscriptionCollection): object;
|
|
25
|
+
function getDeserializedJsonObj(obj: SubscriptionCollection): object;
|
|
26
|
+
}
|
|
@@ -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.SubscriptionCollection = void 0;
|
|
35
|
+
const model = __importStar(require("../model"));
|
|
36
|
+
var SubscriptionCollection;
|
|
37
|
+
(function (SubscriptionCollection) {
|
|
38
|
+
function getJsonObj(obj) {
|
|
39
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
40
|
+
"items": obj.items
|
|
41
|
+
? obj.items.map(item => {
|
|
42
|
+
return model.SubscriptionSummary.getJsonObj(item);
|
|
43
|
+
})
|
|
44
|
+
: undefined
|
|
45
|
+
});
|
|
46
|
+
return jsonObj;
|
|
47
|
+
}
|
|
48
|
+
SubscriptionCollection.getJsonObj = getJsonObj;
|
|
49
|
+
function getDeserializedJsonObj(obj) {
|
|
50
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
51
|
+
"items": obj.items
|
|
52
|
+
? obj.items.map(item => {
|
|
53
|
+
return model.SubscriptionSummary.getDeserializedJsonObj(item);
|
|
54
|
+
})
|
|
55
|
+
: undefined
|
|
56
|
+
});
|
|
57
|
+
return jsonObj;
|
|
58
|
+
}
|
|
59
|
+
SubscriptionCollection.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
60
|
+
})(SubscriptionCollection = exports.SubscriptionCollection || (exports.SubscriptionCollection = {}));
|
|
61
|
+
//# sourceMappingURL=subscription-collection.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"subscription-collection.js","sourceRoot":"","sources":["../../../../../lib/tenantmanagercontrolplane/lib/model/subscription-collection.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAalC,IAAiB,sBAAsB,CA6BtC;AA7BD,WAAiB,sBAAsB;IACrC,SAAgB,UAAU,CAAC,GAA2B;QACpD,MAAM,OAAO,mCACR,GAAG,GACH;YACD,OAAO,EAAE,GAAG,CAAC,KAAK;gBAChB,CAAC,CAAC,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACnB,OAAO,KAAK,CAAC,mBAAmB,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;gBACpD,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,iCAAU,aAazB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAA2B;QAChE,MAAM,OAAO,mCACR,GAAG,GACH;YACD,OAAO,EAAE,GAAG,CAAC,KAAK;gBAChB,CAAC,CAAC,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACnB,OAAO,KAAK,CAAC,mBAAmB,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBAChE,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,6CAAsB,yBAarC,CAAA;AACH,CAAC,EA7BgB,sBAAsB,GAAtB,8BAAsB,KAAtB,8BAAsB,QA6BtC"}
|
|
@@ -12,27 +12,27 @@
|
|
|
12
12
|
*/
|
|
13
13
|
import * as model from "../model";
|
|
14
14
|
/**
|
|
15
|
-
* A single subscription's details
|
|
15
|
+
* A single subscription's details.
|
|
16
16
|
*/
|
|
17
17
|
export interface SubscriptionInfo {
|
|
18
18
|
/**
|
|
19
|
-
* Subscription
|
|
19
|
+
* Subscription ID.
|
|
20
20
|
*/
|
|
21
21
|
"spmSubscriptionId": string;
|
|
22
22
|
/**
|
|
23
|
-
* Service name for subscription
|
|
23
|
+
* Service name for subscription.
|
|
24
24
|
*/
|
|
25
25
|
"service": string;
|
|
26
26
|
/**
|
|
27
|
-
* Subscription start date. An
|
|
27
|
+
* Subscription start date. An RFC 3339-formatted date and time string.
|
|
28
28
|
*/
|
|
29
29
|
"startDate": Date;
|
|
30
30
|
/**
|
|
31
|
-
* Subscription end date. An
|
|
31
|
+
* Subscription end date. An RFC 3339-formatted date and time string.
|
|
32
32
|
*/
|
|
33
33
|
"endDate": Date;
|
|
34
34
|
/**
|
|
35
|
-
* List of SKUs the subscription contains
|
|
35
|
+
* List of SKUs the subscription contains.
|
|
36
36
|
*/
|
|
37
37
|
"skus": Array<model.Sku>;
|
|
38
38
|
}
|
|
@@ -0,0 +1,33 @@
|
|
|
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
|
+
* Lifecycle state of the subscription.
|
|
15
|
+
**/
|
|
16
|
+
export declare enum SubscriptionLifecycleState {
|
|
17
|
+
Creating = "CREATING",
|
|
18
|
+
Active = "ACTIVE",
|
|
19
|
+
Inactive = "INACTIVE",
|
|
20
|
+
Updating = "UPDATING",
|
|
21
|
+
Deleting = "DELETING",
|
|
22
|
+
Deleted = "DELETED",
|
|
23
|
+
Failed = "FAILED",
|
|
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 SubscriptionLifecycleState {
|
|
31
|
+
function getJsonObj(obj: SubscriptionLifecycleState): SubscriptionLifecycleState;
|
|
32
|
+
function getDeserializedJsonObj(obj: SubscriptionLifecycleState): SubscriptionLifecycleState;
|
|
33
|
+
}
|
|
@@ -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.SubscriptionLifecycleState = void 0;
|
|
16
|
+
/**
|
|
17
|
+
* Lifecycle state of the subscription.
|
|
18
|
+
**/
|
|
19
|
+
var SubscriptionLifecycleState;
|
|
20
|
+
(function (SubscriptionLifecycleState) {
|
|
21
|
+
SubscriptionLifecycleState["Creating"] = "CREATING";
|
|
22
|
+
SubscriptionLifecycleState["Active"] = "ACTIVE";
|
|
23
|
+
SubscriptionLifecycleState["Inactive"] = "INACTIVE";
|
|
24
|
+
SubscriptionLifecycleState["Updating"] = "UPDATING";
|
|
25
|
+
SubscriptionLifecycleState["Deleting"] = "DELETING";
|
|
26
|
+
SubscriptionLifecycleState["Deleted"] = "DELETED";
|
|
27
|
+
SubscriptionLifecycleState["Failed"] = "FAILED";
|
|
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
|
+
SubscriptionLifecycleState["UnknownValue"] = "UNKNOWN_VALUE";
|
|
33
|
+
})(SubscriptionLifecycleState = exports.SubscriptionLifecycleState || (exports.SubscriptionLifecycleState = {}));
|
|
34
|
+
(function (SubscriptionLifecycleState) {
|
|
35
|
+
function getJsonObj(obj) {
|
|
36
|
+
return obj;
|
|
37
|
+
}
|
|
38
|
+
SubscriptionLifecycleState.getJsonObj = getJsonObj;
|
|
39
|
+
function getDeserializedJsonObj(obj) {
|
|
40
|
+
return obj;
|
|
41
|
+
}
|
|
42
|
+
SubscriptionLifecycleState.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
43
|
+
})(SubscriptionLifecycleState = exports.SubscriptionLifecycleState || (exports.SubscriptionLifecycleState = {}));
|
|
44
|
+
//# sourceMappingURL=subscription-lifecycle-state.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"subscription-lifecycle-state.js","sourceRoot":"","sources":["../../../../../lib/tenantmanagercontrolplane/lib/model/subscription-lifecycle-state.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;AAKH;;IAEI;AACJ,IAAY,0BAcX;AAdD,WAAY,0BAA0B;IACpC,mDAAqB,CAAA;IACrB,+CAAiB,CAAA;IACjB,mDAAqB,CAAA;IACrB,mDAAqB,CAAA;IACrB,mDAAqB,CAAA;IACrB,iDAAmB,CAAA;IACnB,+CAAiB,CAAA;IAEjB;;;OAGG;IACH,4DAA8B,CAAA;AAChC,CAAC,EAdW,0BAA0B,GAA1B,kCAA0B,KAA1B,kCAA0B,QAcrC;AAED,WAAiB,0BAA0B;IACzC,SAAgB,UAAU,CAAC,GAA+B;QACxD,OAAO,GAAG,CAAC;IACb,CAAC;IAFe,qCAAU,aAEzB,CAAA;IACD,SAAgB,sBAAsB,CACpC,GAA+B;QAE/B,OAAO,GAAG,CAAC;IACb,CAAC;IAJe,iDAAsB,yBAIrC,CAAA;AACH,CAAC,EATgB,0BAA0B,GAA1B,kCAA0B,KAA1B,kCAA0B,QAS1C"}
|
|
@@ -0,0 +1,26 @@
|
|
|
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
|
+
* List of subscription mappings.
|
|
16
|
+
*/
|
|
17
|
+
export interface SubscriptionMappingCollection {
|
|
18
|
+
/**
|
|
19
|
+
* Array containing subscription mapping items.
|
|
20
|
+
*/
|
|
21
|
+
"items": Array<model.SubscriptionMappingSummary>;
|
|
22
|
+
}
|
|
23
|
+
export declare namespace SubscriptionMappingCollection {
|
|
24
|
+
function getJsonObj(obj: SubscriptionMappingCollection): object;
|
|
25
|
+
function getDeserializedJsonObj(obj: SubscriptionMappingCollection): object;
|
|
26
|
+
}
|
|
@@ -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.SubscriptionMappingCollection = void 0;
|
|
35
|
+
const model = __importStar(require("../model"));
|
|
36
|
+
var SubscriptionMappingCollection;
|
|
37
|
+
(function (SubscriptionMappingCollection) {
|
|
38
|
+
function getJsonObj(obj) {
|
|
39
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
40
|
+
"items": obj.items
|
|
41
|
+
? obj.items.map(item => {
|
|
42
|
+
return model.SubscriptionMappingSummary.getJsonObj(item);
|
|
43
|
+
})
|
|
44
|
+
: undefined
|
|
45
|
+
});
|
|
46
|
+
return jsonObj;
|
|
47
|
+
}
|
|
48
|
+
SubscriptionMappingCollection.getJsonObj = getJsonObj;
|
|
49
|
+
function getDeserializedJsonObj(obj) {
|
|
50
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
51
|
+
"items": obj.items
|
|
52
|
+
? obj.items.map(item => {
|
|
53
|
+
return model.SubscriptionMappingSummary.getDeserializedJsonObj(item);
|
|
54
|
+
})
|
|
55
|
+
: undefined
|
|
56
|
+
});
|
|
57
|
+
return jsonObj;
|
|
58
|
+
}
|
|
59
|
+
SubscriptionMappingCollection.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
60
|
+
})(SubscriptionMappingCollection = exports.SubscriptionMappingCollection || (exports.SubscriptionMappingCollection = {}));
|
|
61
|
+
//# sourceMappingURL=subscription-mapping-collection.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"subscription-mapping-collection.js","sourceRoot":"","sources":["../../../../../lib/tenantmanagercontrolplane/lib/model/subscription-mapping-collection.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAalC,IAAiB,6BAA6B,CA6B7C;AA7BD,WAAiB,6BAA6B;IAC5C,SAAgB,UAAU,CAAC,GAAkC;QAC3D,MAAM,OAAO,mCACR,GAAG,GACH;YACD,OAAO,EAAE,GAAG,CAAC,KAAK;gBAChB,CAAC,CAAC,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACnB,OAAO,KAAK,CAAC,0BAA0B,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;gBAC3D,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,wCAAU,aAazB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAkC;QACvE,MAAM,OAAO,mCACR,GAAG,GACH;YACD,OAAO,EAAE,GAAG,CAAC,KAAK;gBAChB,CAAC,CAAC,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACnB,OAAO,KAAK,CAAC,0BAA0B,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBACvE,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,oDAAsB,yBAarC,CAAA;AACH,CAAC,EA7BgB,6BAA6B,GAA7B,qCAA6B,KAA7B,qCAA6B,QA6B7C"}
|
|
@@ -0,0 +1,53 @@
|
|
|
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
|
+
* Subscription mapping information.
|
|
15
|
+
*/
|
|
16
|
+
export interface SubscriptionMappingSummary {
|
|
17
|
+
/**
|
|
18
|
+
* OCID of the mapping between subscription and compartment identified by the tenancy.
|
|
19
|
+
*/
|
|
20
|
+
"id": string;
|
|
21
|
+
/**
|
|
22
|
+
* OCID of the subscription.
|
|
23
|
+
*/
|
|
24
|
+
"subscriptionId": string;
|
|
25
|
+
/**
|
|
26
|
+
* OCID of the compartment. Always a tenancy OCID.
|
|
27
|
+
*/
|
|
28
|
+
"compartmentId": string;
|
|
29
|
+
/**
|
|
30
|
+
* Denotes if the subscription is explicity assigned to the root compartment or tenancy.
|
|
31
|
+
*/
|
|
32
|
+
"isExplicitlyAssigned": boolean;
|
|
33
|
+
/**
|
|
34
|
+
* Lifecycle state of the subscription mapping.
|
|
35
|
+
*/
|
|
36
|
+
"lifecycleState": string;
|
|
37
|
+
/**
|
|
38
|
+
* Date-time when subscription mapping was terminated.
|
|
39
|
+
*/
|
|
40
|
+
"timeTerminated"?: Date;
|
|
41
|
+
/**
|
|
42
|
+
* Date-time when subscription mapping was created.
|
|
43
|
+
*/
|
|
44
|
+
"timeCreated": Date;
|
|
45
|
+
/**
|
|
46
|
+
* Date-time when subscription mapping was updated.
|
|
47
|
+
*/
|
|
48
|
+
"timeUpdated": Date;
|
|
49
|
+
}
|
|
50
|
+
export declare namespace SubscriptionMappingSummary {
|
|
51
|
+
function getJsonObj(obj: SubscriptionMappingSummary): object;
|
|
52
|
+
function getDeserializedJsonObj(obj: SubscriptionMappingSummary): object;
|
|
53
|
+
}
|
|
@@ -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.SubscriptionMappingSummary = void 0;
|
|
16
|
+
var SubscriptionMappingSummary;
|
|
17
|
+
(function (SubscriptionMappingSummary) {
|
|
18
|
+
function getJsonObj(obj) {
|
|
19
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
20
|
+
return jsonObj;
|
|
21
|
+
}
|
|
22
|
+
SubscriptionMappingSummary.getJsonObj = getJsonObj;
|
|
23
|
+
function getDeserializedJsonObj(obj) {
|
|
24
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
25
|
+
return jsonObj;
|
|
26
|
+
}
|
|
27
|
+
SubscriptionMappingSummary.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
28
|
+
})(SubscriptionMappingSummary = exports.SubscriptionMappingSummary || (exports.SubscriptionMappingSummary = {}));
|
|
29
|
+
//# sourceMappingURL=subscription-mapping-summary.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"subscription-mapping-summary.js","sourceRoot":"","sources":["../../../../../lib/tenantmanagercontrolplane/lib/model/subscription-mapping-summary.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;AA2CH,IAAiB,0BAA0B,CAW1C;AAXD,WAAiB,0BAA0B;IACzC,SAAgB,UAAU,CAAC,GAA+B;QACxD,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,qCAAU,aAIzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAA+B;QACpE,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,iDAAsB,yBAIrC,CAAA;AACH,CAAC,EAXgB,0BAA0B,GAA1B,kCAA0B,KAA1B,kCAA0B,QAW1C"}
|
|
@@ -0,0 +1,67 @@
|
|
|
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
|
+
* Subscription mapping information.
|
|
15
|
+
*/
|
|
16
|
+
export interface SubscriptionMapping {
|
|
17
|
+
/**
|
|
18
|
+
* OCID of the mapping between subscription and compartment identified by the tenancy.
|
|
19
|
+
*/
|
|
20
|
+
"id": string;
|
|
21
|
+
/**
|
|
22
|
+
* OCID of the subscription.
|
|
23
|
+
*/
|
|
24
|
+
"subscriptionId": string;
|
|
25
|
+
/**
|
|
26
|
+
* OCID of the compartment. Always a tenancy OCID.
|
|
27
|
+
*/
|
|
28
|
+
"compartmentId": string;
|
|
29
|
+
/**
|
|
30
|
+
* Denotes if the subscription is explicity assigned to the root compartment or tenancy.
|
|
31
|
+
*/
|
|
32
|
+
"isExplicitlyAssigned": boolean;
|
|
33
|
+
/**
|
|
34
|
+
* Lifecycle state of the subscription mapping.
|
|
35
|
+
*/
|
|
36
|
+
"lifecycleState": SubscriptionMapping.LifecycleState;
|
|
37
|
+
/**
|
|
38
|
+
* Date-time when subscription mapping was terminated.
|
|
39
|
+
*/
|
|
40
|
+
"timeTerminated"?: Date;
|
|
41
|
+
/**
|
|
42
|
+
* Date-time when subscription mapping was created.
|
|
43
|
+
*/
|
|
44
|
+
"timeCreated": Date;
|
|
45
|
+
/**
|
|
46
|
+
* Date-time when subscription mapping was updated.
|
|
47
|
+
*/
|
|
48
|
+
"timeUpdated": Date;
|
|
49
|
+
}
|
|
50
|
+
export declare namespace SubscriptionMapping {
|
|
51
|
+
enum LifecycleState {
|
|
52
|
+
Creating = "CREATING",
|
|
53
|
+
Active = "ACTIVE",
|
|
54
|
+
Inactive = "INACTIVE",
|
|
55
|
+
Updating = "UPDATING",
|
|
56
|
+
Deleting = "DELETING",
|
|
57
|
+
Deleted = "DELETED",
|
|
58
|
+
Failed = "FAILED",
|
|
59
|
+
/**
|
|
60
|
+
* This value is used if a service returns a value for this enum that is not recognized by this
|
|
61
|
+
* version of the SDK.
|
|
62
|
+
*/
|
|
63
|
+
UnknownValue = "UNKNOWN_VALUE"
|
|
64
|
+
}
|
|
65
|
+
function getJsonObj(obj: SubscriptionMapping): object;
|
|
66
|
+
function getDeserializedJsonObj(obj: SubscriptionMapping): object;
|
|
67
|
+
}
|