oci-tenantmanagercontrolplane 2.21.0 → 2.25.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/lib/client.d.ts +66 -48
- package/lib/client.js +160 -57
- package/lib/client.js.map +1 -1
- package/lib/model/assigned-subscription.d.ts +2 -2
- package/lib/model/operation-type.d.ts +5 -0
- package/lib/model/operation-type.js +5 -0
- package/lib/model/operation-type.js.map +1 -1
- package/lib/model/organization-summary.d.ts +1 -1
- package/lib/model/organization.d.ts +1 -1
- package/lib/model/update-organization-details.d.ts +2 -2
- package/lib/request/accept-recipient-invitation-request.d.ts +1 -1
- package/lib/request/activate-order-request.d.ts +2 -2
- package/lib/request/approve-organization-tenancy-for-transfer-request.d.ts +1 -1
- package/lib/request/cancel-sender-invitation-request.d.ts +1 -1
- package/lib/request/create-child-tenancy-request.d.ts +1 -1
- 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 +1 -1
- 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 +1 -1
- package/lib/request/delete-subscription-mapping-request.d.ts +1 -1
- package/lib/request/get-assigned-subscription-request.d.ts +1 -1
- 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 +2 -2
- package/lib/request/get-organization-request.d.ts +1 -1
- package/lib/request/get-organization-tenancy-request.d.ts +1 -1
- 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 +1 -1
- package/lib/request/get-subscription-request.d.ts +1 -1
- 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 +2 -0
- package/lib/request/index.js.map +1 -1
- package/lib/request/list-assigned-subscriptions-request.d.ts +1 -1
- package/lib/request/list-available-regions-request.d.ts +1 -1
- 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 +1 -1
- package/lib/request/list-organizations-request.d.ts +1 -1
- 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 +2 -2
- package/lib/request/list-subscriptions-request.d.ts +1 -1
- 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/restore-organization-tenancy-request.d.ts +35 -0
- package/lib/request/restore-organization-tenancy-request.js +15 -0
- package/lib/request/restore-organization-tenancy-request.js.map +1 -0
- package/lib/request/unapprove-organization-tenancy-for-transfer-request.d.ts +1 -1
- 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 +1 -1
- 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/index.d.ts +2 -0
- package/lib/response/restore-organization-tenancy-response.d.ts +25 -0
- package/lib/response/restore-organization-tenancy-response.js +15 -0
- package/lib/response/restore-organization-tenancy-response.js.map +1 -0
- package/package.json +3 -3
package/lib/client.js
CHANGED
|
@@ -66,6 +66,7 @@ class DomainClient {
|
|
|
66
66
|
this["_endpoint"] = "";
|
|
67
67
|
this["_defaultHeaders"] = {};
|
|
68
68
|
this._circuitBreaker = null;
|
|
69
|
+
this._httpOptions = undefined;
|
|
69
70
|
const requestSigner = params.authenticationDetailsProvider
|
|
70
71
|
? new common.DefaultRequestSigner(params.authenticationDetailsProvider)
|
|
71
72
|
: null;
|
|
@@ -74,6 +75,9 @@ class DomainClient {
|
|
|
74
75
|
this._circuitBreaker = clientConfiguration.circuitBreaker
|
|
75
76
|
? clientConfiguration.circuitBreaker.circuit
|
|
76
77
|
: null;
|
|
78
|
+
this._httpOptions = clientConfiguration.httpOptions
|
|
79
|
+
? clientConfiguration.httpOptions
|
|
80
|
+
: undefined;
|
|
77
81
|
}
|
|
78
82
|
// if circuit breaker is not created, check if circuit breaker system is enabled to use default circuit breaker
|
|
79
83
|
const specCircuitBreakerEnabled = true;
|
|
@@ -83,7 +87,8 @@ class DomainClient {
|
|
|
83
87
|
this._circuitBreaker = new common.CircuitBreaker().circuit;
|
|
84
88
|
}
|
|
85
89
|
this._httpClient =
|
|
86
|
-
params.httpClient ||
|
|
90
|
+
params.httpClient ||
|
|
91
|
+
new common.FetchHttpClient(requestSigner, this._circuitBreaker, this._httpOptions);
|
|
87
92
|
if (params.authenticationDetailsProvider &&
|
|
88
93
|
common.isRegionProvider(params.authenticationDetailsProvider)) {
|
|
89
94
|
const provider = params.authenticationDetailsProvider;
|
|
@@ -157,7 +162,7 @@ class DomainClient {
|
|
|
157
162
|
* @param CreateDomainRequest
|
|
158
163
|
* @return CreateDomainResponse
|
|
159
164
|
* @throws OciError when an error occurs
|
|
160
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
165
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.25.0/tenantmanagercontrolplane/CreateDomain.ts.html |here} to see how to use CreateDomain API.
|
|
161
166
|
*/
|
|
162
167
|
createDomain(createDomainRequest) {
|
|
163
168
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -223,7 +228,7 @@ class DomainClient {
|
|
|
223
228
|
* @param DeleteDomainRequest
|
|
224
229
|
* @return DeleteDomainResponse
|
|
225
230
|
* @throws OciError when an error occurs
|
|
226
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
231
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.25.0/tenantmanagercontrolplane/DeleteDomain.ts.html |here} to see how to use DeleteDomain API.
|
|
227
232
|
*/
|
|
228
233
|
deleteDomain(deleteDomainRequest) {
|
|
229
234
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -276,7 +281,7 @@ class DomainClient {
|
|
|
276
281
|
* @param GetDomainRequest
|
|
277
282
|
* @return GetDomainResponse
|
|
278
283
|
* @throws OciError when an error occurs
|
|
279
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
284
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.25.0/tenantmanagercontrolplane/GetDomain.ts.html |here} to see how to use GetDomain API.
|
|
280
285
|
*/
|
|
281
286
|
getDomain(getDomainRequest) {
|
|
282
287
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -338,7 +343,7 @@ class DomainClient {
|
|
|
338
343
|
* @param ListDomainsRequest
|
|
339
344
|
* @return ListDomainsResponse
|
|
340
345
|
* @throws OciError when an error occurs
|
|
341
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
346
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.25.0/tenantmanagercontrolplane/ListDomains.ts.html |here} to see how to use ListDomains API.
|
|
342
347
|
*/
|
|
343
348
|
listDomains(listDomainsRequest) {
|
|
344
349
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -407,7 +412,7 @@ class DomainClient {
|
|
|
407
412
|
* @param UpdateDomainRequest
|
|
408
413
|
* @return UpdateDomainResponse
|
|
409
414
|
* @throws OciError when an error occurs
|
|
410
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
415
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.25.0/tenantmanagercontrolplane/UpdateDomain.ts.html |here} to see how to use UpdateDomain API.
|
|
411
416
|
*/
|
|
412
417
|
updateDomain(updateDomainRequest) {
|
|
413
418
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -479,6 +484,7 @@ class DomainGovernanceClient {
|
|
|
479
484
|
this["_endpoint"] = "";
|
|
480
485
|
this["_defaultHeaders"] = {};
|
|
481
486
|
this._circuitBreaker = null;
|
|
487
|
+
this._httpOptions = undefined;
|
|
482
488
|
const requestSigner = params.authenticationDetailsProvider
|
|
483
489
|
? new common.DefaultRequestSigner(params.authenticationDetailsProvider)
|
|
484
490
|
: null;
|
|
@@ -487,6 +493,9 @@ class DomainGovernanceClient {
|
|
|
487
493
|
this._circuitBreaker = clientConfiguration.circuitBreaker
|
|
488
494
|
? clientConfiguration.circuitBreaker.circuit
|
|
489
495
|
: null;
|
|
496
|
+
this._httpOptions = clientConfiguration.httpOptions
|
|
497
|
+
? clientConfiguration.httpOptions
|
|
498
|
+
: undefined;
|
|
490
499
|
}
|
|
491
500
|
// if circuit breaker is not created, check if circuit breaker system is enabled to use default circuit breaker
|
|
492
501
|
const specCircuitBreakerEnabled = true;
|
|
@@ -496,7 +505,8 @@ class DomainGovernanceClient {
|
|
|
496
505
|
this._circuitBreaker = new common.CircuitBreaker().circuit;
|
|
497
506
|
}
|
|
498
507
|
this._httpClient =
|
|
499
|
-
params.httpClient ||
|
|
508
|
+
params.httpClient ||
|
|
509
|
+
new common.FetchHttpClient(requestSigner, this._circuitBreaker, this._httpOptions);
|
|
500
510
|
if (params.authenticationDetailsProvider &&
|
|
501
511
|
common.isRegionProvider(params.authenticationDetailsProvider)) {
|
|
502
512
|
const provider = params.authenticationDetailsProvider;
|
|
@@ -570,7 +580,7 @@ class DomainGovernanceClient {
|
|
|
570
580
|
* @param CreateDomainGovernanceRequest
|
|
571
581
|
* @return CreateDomainGovernanceResponse
|
|
572
582
|
* @throws OciError when an error occurs
|
|
573
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
583
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.25.0/tenantmanagercontrolplane/CreateDomainGovernance.ts.html |here} to see how to use CreateDomainGovernance API.
|
|
574
584
|
*/
|
|
575
585
|
createDomainGovernance(createDomainGovernanceRequest) {
|
|
576
586
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -631,7 +641,7 @@ class DomainGovernanceClient {
|
|
|
631
641
|
* @param DeleteDomainGovernanceRequest
|
|
632
642
|
* @return DeleteDomainGovernanceResponse
|
|
633
643
|
* @throws OciError when an error occurs
|
|
634
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
644
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.25.0/tenantmanagercontrolplane/DeleteDomainGovernance.ts.html |here} to see how to use DeleteDomainGovernance API.
|
|
635
645
|
*/
|
|
636
646
|
deleteDomainGovernance(deleteDomainGovernanceRequest) {
|
|
637
647
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -684,7 +694,7 @@ class DomainGovernanceClient {
|
|
|
684
694
|
* @param GetDomainGovernanceRequest
|
|
685
695
|
* @return GetDomainGovernanceResponse
|
|
686
696
|
* @throws OciError when an error occurs
|
|
687
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
697
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.25.0/tenantmanagercontrolplane/GetDomainGovernance.ts.html |here} to see how to use GetDomainGovernance API.
|
|
688
698
|
*/
|
|
689
699
|
getDomainGovernance(getDomainGovernanceRequest) {
|
|
690
700
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -746,7 +756,7 @@ class DomainGovernanceClient {
|
|
|
746
756
|
* @param ListDomainGovernancesRequest
|
|
747
757
|
* @return ListDomainGovernancesResponse
|
|
748
758
|
* @throws OciError when an error occurs
|
|
749
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
759
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.25.0/tenantmanagercontrolplane/ListDomainGovernances.ts.html |here} to see how to use ListDomainGovernances API.
|
|
750
760
|
*/
|
|
751
761
|
listDomainGovernances(listDomainGovernancesRequest) {
|
|
752
762
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -815,7 +825,7 @@ class DomainGovernanceClient {
|
|
|
815
825
|
* @param UpdateDomainGovernanceRequest
|
|
816
826
|
* @return UpdateDomainGovernanceResponse
|
|
817
827
|
* @throws OciError when an error occurs
|
|
818
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
828
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.25.0/tenantmanagercontrolplane/UpdateDomainGovernance.ts.html |here} to see how to use UpdateDomainGovernance API.
|
|
819
829
|
*/
|
|
820
830
|
updateDomainGovernance(updateDomainGovernanceRequest) {
|
|
821
831
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -887,6 +897,7 @@ class LinkClient {
|
|
|
887
897
|
this["_endpoint"] = "";
|
|
888
898
|
this["_defaultHeaders"] = {};
|
|
889
899
|
this._circuitBreaker = null;
|
|
900
|
+
this._httpOptions = undefined;
|
|
890
901
|
const requestSigner = params.authenticationDetailsProvider
|
|
891
902
|
? new common.DefaultRequestSigner(params.authenticationDetailsProvider)
|
|
892
903
|
: null;
|
|
@@ -895,6 +906,9 @@ class LinkClient {
|
|
|
895
906
|
this._circuitBreaker = clientConfiguration.circuitBreaker
|
|
896
907
|
? clientConfiguration.circuitBreaker.circuit
|
|
897
908
|
: null;
|
|
909
|
+
this._httpOptions = clientConfiguration.httpOptions
|
|
910
|
+
? clientConfiguration.httpOptions
|
|
911
|
+
: undefined;
|
|
898
912
|
}
|
|
899
913
|
// if circuit breaker is not created, check if circuit breaker system is enabled to use default circuit breaker
|
|
900
914
|
const specCircuitBreakerEnabled = true;
|
|
@@ -904,7 +918,8 @@ class LinkClient {
|
|
|
904
918
|
this._circuitBreaker = new common.CircuitBreaker().circuit;
|
|
905
919
|
}
|
|
906
920
|
this._httpClient =
|
|
907
|
-
params.httpClient ||
|
|
921
|
+
params.httpClient ||
|
|
922
|
+
new common.FetchHttpClient(requestSigner, this._circuitBreaker, this._httpOptions);
|
|
908
923
|
if (params.authenticationDetailsProvider &&
|
|
909
924
|
common.isRegionProvider(params.authenticationDetailsProvider)) {
|
|
910
925
|
const provider = params.authenticationDetailsProvider;
|
|
@@ -978,7 +993,7 @@ class LinkClient {
|
|
|
978
993
|
* @param DeleteLinkRequest
|
|
979
994
|
* @return DeleteLinkResponse
|
|
980
995
|
* @throws OciError when an error occurs
|
|
981
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
996
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.25.0/tenantmanagercontrolplane/DeleteLink.ts.html |here} to see how to use DeleteLink API.
|
|
982
997
|
*/
|
|
983
998
|
deleteLink(deleteLinkRequest) {
|
|
984
999
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1036,7 +1051,7 @@ class LinkClient {
|
|
|
1036
1051
|
* @param GetLinkRequest
|
|
1037
1052
|
* @return GetLinkResponse
|
|
1038
1053
|
* @throws OciError when an error occurs
|
|
1039
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1054
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.25.0/tenantmanagercontrolplane/GetLink.ts.html |here} to see how to use GetLink API.
|
|
1040
1055
|
*/
|
|
1041
1056
|
getLink(getLinkRequest) {
|
|
1042
1057
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1097,7 +1112,7 @@ class LinkClient {
|
|
|
1097
1112
|
* @param ListLinksRequest
|
|
1098
1113
|
* @return ListLinksResponse
|
|
1099
1114
|
* @throws OciError when an error occurs
|
|
1100
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1115
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.25.0/tenantmanagercontrolplane/ListLinks.ts.html |here} to see how to use ListLinks API.
|
|
1101
1116
|
*/
|
|
1102
1117
|
listLinks(listLinksRequest) {
|
|
1103
1118
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1172,6 +1187,7 @@ class OrdersClient {
|
|
|
1172
1187
|
this["_endpoint"] = "";
|
|
1173
1188
|
this["_defaultHeaders"] = {};
|
|
1174
1189
|
this._circuitBreaker = null;
|
|
1190
|
+
this._httpOptions = undefined;
|
|
1175
1191
|
const requestSigner = params.authenticationDetailsProvider
|
|
1176
1192
|
? new common.DefaultRequestSigner(params.authenticationDetailsProvider)
|
|
1177
1193
|
: null;
|
|
@@ -1180,6 +1196,9 @@ class OrdersClient {
|
|
|
1180
1196
|
this._circuitBreaker = clientConfiguration.circuitBreaker
|
|
1181
1197
|
? clientConfiguration.circuitBreaker.circuit
|
|
1182
1198
|
: null;
|
|
1199
|
+
this._httpOptions = clientConfiguration.httpOptions
|
|
1200
|
+
? clientConfiguration.httpOptions
|
|
1201
|
+
: undefined;
|
|
1183
1202
|
}
|
|
1184
1203
|
// if circuit breaker is not created, check if circuit breaker system is enabled to use default circuit breaker
|
|
1185
1204
|
const specCircuitBreakerEnabled = true;
|
|
@@ -1189,7 +1208,8 @@ class OrdersClient {
|
|
|
1189
1208
|
this._circuitBreaker = new common.CircuitBreaker().circuit;
|
|
1190
1209
|
}
|
|
1191
1210
|
this._httpClient =
|
|
1192
|
-
params.httpClient ||
|
|
1211
|
+
params.httpClient ||
|
|
1212
|
+
new common.FetchHttpClient(requestSigner, this._circuitBreaker, this._httpOptions);
|
|
1193
1213
|
if (params.authenticationDetailsProvider &&
|
|
1194
1214
|
common.isRegionProvider(params.authenticationDetailsProvider)) {
|
|
1195
1215
|
const provider = params.authenticationDetailsProvider;
|
|
@@ -1242,7 +1262,7 @@ class OrdersClient {
|
|
|
1242
1262
|
* @param ActivateOrderRequest
|
|
1243
1263
|
* @return ActivateOrderResponse
|
|
1244
1264
|
* @throws OciError when an error occurs
|
|
1245
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1265
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.25.0/tenantmanagercontrolplane/ActivateOrder.ts.html |here} to see how to use ActivateOrder API.
|
|
1246
1266
|
*/
|
|
1247
1267
|
activateOrder(activateOrderRequest) {
|
|
1248
1268
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1296,13 +1316,13 @@ class OrdersClient {
|
|
|
1296
1316
|
});
|
|
1297
1317
|
}
|
|
1298
1318
|
/**
|
|
1299
|
-
* Returns the Order Details given by the order
|
|
1319
|
+
* Returns the Order Details given by the order ID in the JWT.
|
|
1300
1320
|
*
|
|
1301
1321
|
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1302
1322
|
* @param GetOrderRequest
|
|
1303
1323
|
* @return GetOrderResponse
|
|
1304
1324
|
* @throws OciError when an error occurs
|
|
1305
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1325
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.25.0/tenantmanagercontrolplane/GetOrder.ts.html |here} to see how to use GetOrder API.
|
|
1306
1326
|
*/
|
|
1307
1327
|
getOrder(getOrderRequest) {
|
|
1308
1328
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1367,6 +1387,7 @@ class OrganizationClient {
|
|
|
1367
1387
|
this["_endpoint"] = "";
|
|
1368
1388
|
this["_defaultHeaders"] = {};
|
|
1369
1389
|
this._circuitBreaker = null;
|
|
1390
|
+
this._httpOptions = undefined;
|
|
1370
1391
|
const requestSigner = params.authenticationDetailsProvider
|
|
1371
1392
|
? new common.DefaultRequestSigner(params.authenticationDetailsProvider)
|
|
1372
1393
|
: null;
|
|
@@ -1375,6 +1396,9 @@ class OrganizationClient {
|
|
|
1375
1396
|
this._circuitBreaker = clientConfiguration.circuitBreaker
|
|
1376
1397
|
? clientConfiguration.circuitBreaker.circuit
|
|
1377
1398
|
: null;
|
|
1399
|
+
this._httpOptions = clientConfiguration.httpOptions
|
|
1400
|
+
? clientConfiguration.httpOptions
|
|
1401
|
+
: undefined;
|
|
1378
1402
|
}
|
|
1379
1403
|
// if circuit breaker is not created, check if circuit breaker system is enabled to use default circuit breaker
|
|
1380
1404
|
const specCircuitBreakerEnabled = true;
|
|
@@ -1384,7 +1408,8 @@ class OrganizationClient {
|
|
|
1384
1408
|
this._circuitBreaker = new common.CircuitBreaker().circuit;
|
|
1385
1409
|
}
|
|
1386
1410
|
this._httpClient =
|
|
1387
|
-
params.httpClient ||
|
|
1411
|
+
params.httpClient ||
|
|
1412
|
+
new common.FetchHttpClient(requestSigner, this._circuitBreaker, this._httpOptions);
|
|
1388
1413
|
if (params.authenticationDetailsProvider &&
|
|
1389
1414
|
common.isRegionProvider(params.authenticationDetailsProvider)) {
|
|
1390
1415
|
const provider = params.authenticationDetailsProvider;
|
|
@@ -1458,7 +1483,7 @@ class OrganizationClient {
|
|
|
1458
1483
|
* @param ApproveOrganizationTenancyForTransferRequest
|
|
1459
1484
|
* @return ApproveOrganizationTenancyForTransferResponse
|
|
1460
1485
|
* @throws OciError when an error occurs
|
|
1461
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1486
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.25.0/tenantmanagercontrolplane/ApproveOrganizationTenancyForTransfer.ts.html |here} to see how to use ApproveOrganizationTenancyForTransfer API.
|
|
1462
1487
|
*/
|
|
1463
1488
|
approveOrganizationTenancyForTransfer(approveOrganizationTenancyForTransferRequest) {
|
|
1464
1489
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1523,7 +1548,7 @@ class OrganizationClient {
|
|
|
1523
1548
|
* @param CreateChildTenancyRequest
|
|
1524
1549
|
* @return CreateChildTenancyResponse
|
|
1525
1550
|
* @throws OciError when an error occurs
|
|
1526
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1551
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.25.0/tenantmanagercontrolplane/CreateChildTenancy.ts.html |here} to see how to use CreateChildTenancy API.
|
|
1527
1552
|
*/
|
|
1528
1553
|
createChildTenancy(createChildTenancyRequest) {
|
|
1529
1554
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1580,7 +1605,7 @@ class OrganizationClient {
|
|
|
1580
1605
|
* @param DeleteOrganizationTenancyRequest
|
|
1581
1606
|
* @return DeleteOrganizationTenancyResponse
|
|
1582
1607
|
* @throws OciError when an error occurs
|
|
1583
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1608
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.25.0/tenantmanagercontrolplane/DeleteOrganizationTenancy.ts.html |here} to see how to use DeleteOrganizationTenancy API.
|
|
1584
1609
|
*/
|
|
1585
1610
|
deleteOrganizationTenancy(deleteOrganizationTenancyRequest) {
|
|
1586
1611
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1639,7 +1664,7 @@ class OrganizationClient {
|
|
|
1639
1664
|
* @param GetOrganizationRequest
|
|
1640
1665
|
* @return GetOrganizationResponse
|
|
1641
1666
|
* @throws OciError when an error occurs
|
|
1642
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1667
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.25.0/tenantmanagercontrolplane/GetOrganization.ts.html |here} to see how to use GetOrganization API.
|
|
1643
1668
|
*/
|
|
1644
1669
|
getOrganization(getOrganizationRequest) {
|
|
1645
1670
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1700,7 +1725,7 @@ class OrganizationClient {
|
|
|
1700
1725
|
* @param GetOrganizationTenancyRequest
|
|
1701
1726
|
* @return GetOrganizationTenancyResponse
|
|
1702
1727
|
* @throws OciError when an error occurs
|
|
1703
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1728
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.25.0/tenantmanagercontrolplane/GetOrganizationTenancy.ts.html |here} to see how to use GetOrganizationTenancy API.
|
|
1704
1729
|
*/
|
|
1705
1730
|
getOrganizationTenancy(getOrganizationTenancyRequest) {
|
|
1706
1731
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1762,7 +1787,7 @@ class OrganizationClient {
|
|
|
1762
1787
|
* @param ListOrganizationTenanciesRequest
|
|
1763
1788
|
* @return ListOrganizationTenanciesResponse
|
|
1764
1789
|
* @throws OciError when an error occurs
|
|
1765
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1790
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.25.0/tenantmanagercontrolplane/ListOrganizationTenancies.ts.html |here} to see how to use ListOrganizationTenancies API.
|
|
1766
1791
|
*/
|
|
1767
1792
|
listOrganizationTenancies(listOrganizationTenanciesRequest) {
|
|
1768
1793
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1826,7 +1851,7 @@ class OrganizationClient {
|
|
|
1826
1851
|
* @param ListOrganizationsRequest
|
|
1827
1852
|
* @return ListOrganizationsResponse
|
|
1828
1853
|
* @throws OciError when an error occurs
|
|
1829
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1854
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.25.0/tenantmanagercontrolplane/ListOrganizations.ts.html |here} to see how to use ListOrganizations API.
|
|
1830
1855
|
*/
|
|
1831
1856
|
listOrganizations(listOrganizationsRequest) {
|
|
1832
1857
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1883,13 +1908,71 @@ class OrganizationClient {
|
|
|
1883
1908
|
}
|
|
1884
1909
|
});
|
|
1885
1910
|
}
|
|
1911
|
+
/**
|
|
1912
|
+
* An asynchronous API to restore tenancy.
|
|
1913
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1914
|
+
* @param RestoreOrganizationTenancyRequest
|
|
1915
|
+
* @return RestoreOrganizationTenancyResponse
|
|
1916
|
+
* @throws OciError when an error occurs
|
|
1917
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.25.0/tenantmanagercontrolplane/RestoreOrganizationTenancy.ts.html |here} to see how to use RestoreOrganizationTenancy API.
|
|
1918
|
+
*/
|
|
1919
|
+
restoreOrganizationTenancy(restoreOrganizationTenancyRequest) {
|
|
1920
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1921
|
+
if (this.logger)
|
|
1922
|
+
this.logger.debug("Calling operation OrganizationClient#restoreOrganizationTenancy.");
|
|
1923
|
+
const pathParams = {
|
|
1924
|
+
"{organizationTenancyId}": restoreOrganizationTenancyRequest.organizationTenancyId
|
|
1925
|
+
};
|
|
1926
|
+
const queryParams = {};
|
|
1927
|
+
let headerParams = {
|
|
1928
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1929
|
+
"if-match": restoreOrganizationTenancyRequest.ifMatch,
|
|
1930
|
+
"opc-request-id": restoreOrganizationTenancyRequest.opcRequestId
|
|
1931
|
+
};
|
|
1932
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1933
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, restoreOrganizationTenancyRequest.retryConfiguration, specRetryConfiguration);
|
|
1934
|
+
if (this.logger)
|
|
1935
|
+
retrier.logger = this.logger;
|
|
1936
|
+
const request = yield oci_common_1.composeRequest({
|
|
1937
|
+
baseEndpoint: this._endpoint,
|
|
1938
|
+
defaultHeaders: this._defaultHeaders,
|
|
1939
|
+
path: "/organizationTenancies/{organizationTenancyId}/actions/restore",
|
|
1940
|
+
method: "POST",
|
|
1941
|
+
pathParams: pathParams,
|
|
1942
|
+
headerParams: headerParams,
|
|
1943
|
+
queryParams: queryParams
|
|
1944
|
+
});
|
|
1945
|
+
try {
|
|
1946
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
1947
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
1948
|
+
responseObject: {},
|
|
1949
|
+
responseHeaders: [
|
|
1950
|
+
{
|
|
1951
|
+
value: response.headers.get("opc-request-id"),
|
|
1952
|
+
key: "opcRequestId",
|
|
1953
|
+
dataType: "string"
|
|
1954
|
+
},
|
|
1955
|
+
{
|
|
1956
|
+
value: response.headers.get("opc-work-request-id"),
|
|
1957
|
+
key: "opcWorkRequestId",
|
|
1958
|
+
dataType: "string"
|
|
1959
|
+
}
|
|
1960
|
+
]
|
|
1961
|
+
});
|
|
1962
|
+
return sdkResponse;
|
|
1963
|
+
}
|
|
1964
|
+
catch (err) {
|
|
1965
|
+
throw err;
|
|
1966
|
+
}
|
|
1967
|
+
});
|
|
1968
|
+
}
|
|
1886
1969
|
/**
|
|
1887
1970
|
* Cancel an organization's child tenancy for transfer.
|
|
1888
1971
|
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1889
1972
|
* @param UnapproveOrganizationTenancyForTransferRequest
|
|
1890
1973
|
* @return UnapproveOrganizationTenancyForTransferResponse
|
|
1891
1974
|
* @throws OciError when an error occurs
|
|
1892
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1975
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.25.0/tenantmanagercontrolplane/UnapproveOrganizationTenancyForTransfer.ts.html |here} to see how to use UnapproveOrganizationTenancyForTransfer API.
|
|
1893
1976
|
*/
|
|
1894
1977
|
unapproveOrganizationTenancyForTransfer(unapproveOrganizationTenancyForTransferRequest) {
|
|
1895
1978
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1954,7 +2037,7 @@ class OrganizationClient {
|
|
|
1954
2037
|
* @param UpdateOrganizationRequest
|
|
1955
2038
|
* @return UpdateOrganizationResponse
|
|
1956
2039
|
* @throws OciError when an error occurs
|
|
1957
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2040
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.25.0/tenantmanagercontrolplane/UpdateOrganization.ts.html |here} to see how to use UpdateOrganization API.
|
|
1958
2041
|
*/
|
|
1959
2042
|
updateOrganization(updateOrganizationRequest) {
|
|
1960
2043
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2023,6 +2106,7 @@ class RecipientInvitationClient {
|
|
|
2023
2106
|
this["_endpoint"] = "";
|
|
2024
2107
|
this["_defaultHeaders"] = {};
|
|
2025
2108
|
this._circuitBreaker = null;
|
|
2109
|
+
this._httpOptions = undefined;
|
|
2026
2110
|
const requestSigner = params.authenticationDetailsProvider
|
|
2027
2111
|
? new common.DefaultRequestSigner(params.authenticationDetailsProvider)
|
|
2028
2112
|
: null;
|
|
@@ -2031,6 +2115,9 @@ class RecipientInvitationClient {
|
|
|
2031
2115
|
this._circuitBreaker = clientConfiguration.circuitBreaker
|
|
2032
2116
|
? clientConfiguration.circuitBreaker.circuit
|
|
2033
2117
|
: null;
|
|
2118
|
+
this._httpOptions = clientConfiguration.httpOptions
|
|
2119
|
+
? clientConfiguration.httpOptions
|
|
2120
|
+
: undefined;
|
|
2034
2121
|
}
|
|
2035
2122
|
// if circuit breaker is not created, check if circuit breaker system is enabled to use default circuit breaker
|
|
2036
2123
|
const specCircuitBreakerEnabled = true;
|
|
@@ -2040,7 +2127,8 @@ class RecipientInvitationClient {
|
|
|
2040
2127
|
this._circuitBreaker = new common.CircuitBreaker().circuit;
|
|
2041
2128
|
}
|
|
2042
2129
|
this._httpClient =
|
|
2043
|
-
params.httpClient ||
|
|
2130
|
+
params.httpClient ||
|
|
2131
|
+
new common.FetchHttpClient(requestSigner, this._circuitBreaker, this._httpOptions);
|
|
2044
2132
|
if (params.authenticationDetailsProvider &&
|
|
2045
2133
|
common.isRegionProvider(params.authenticationDetailsProvider)) {
|
|
2046
2134
|
const provider = params.authenticationDetailsProvider;
|
|
@@ -2114,7 +2202,7 @@ class RecipientInvitationClient {
|
|
|
2114
2202
|
* @param AcceptRecipientInvitationRequest
|
|
2115
2203
|
* @return AcceptRecipientInvitationResponse
|
|
2116
2204
|
* @throws OciError when an error occurs
|
|
2117
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2205
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.25.0/tenantmanagercontrolplane/AcceptRecipientInvitation.ts.html |here} to see how to use AcceptRecipientInvitation API.
|
|
2118
2206
|
*/
|
|
2119
2207
|
acceptRecipientInvitation(acceptRecipientInvitationRequest) {
|
|
2120
2208
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2173,7 +2261,7 @@ class RecipientInvitationClient {
|
|
|
2173
2261
|
* @param GetRecipientInvitationRequest
|
|
2174
2262
|
* @return GetRecipientInvitationResponse
|
|
2175
2263
|
* @throws OciError when an error occurs
|
|
2176
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2264
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.25.0/tenantmanagercontrolplane/GetRecipientInvitation.ts.html |here} to see how to use GetRecipientInvitation API.
|
|
2177
2265
|
*/
|
|
2178
2266
|
getRecipientInvitation(getRecipientInvitationRequest) {
|
|
2179
2267
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2234,7 +2322,7 @@ class RecipientInvitationClient {
|
|
|
2234
2322
|
* @param IgnoreRecipientInvitationRequest
|
|
2235
2323
|
* @return IgnoreRecipientInvitationResponse
|
|
2236
2324
|
* @throws OciError when an error occurs
|
|
2237
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2325
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.25.0/tenantmanagercontrolplane/IgnoreRecipientInvitation.ts.html |here} to see how to use IgnoreRecipientInvitation API.
|
|
2238
2326
|
*/
|
|
2239
2327
|
ignoreRecipientInvitation(ignoreRecipientInvitationRequest) {
|
|
2240
2328
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2298,7 +2386,7 @@ class RecipientInvitationClient {
|
|
|
2298
2386
|
* @param ListRecipientInvitationsRequest
|
|
2299
2387
|
* @return ListRecipientInvitationsResponse
|
|
2300
2388
|
* @throws OciError when an error occurs
|
|
2301
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2389
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.25.0/tenantmanagercontrolplane/ListRecipientInvitations.ts.html |here} to see how to use ListRecipientInvitations API.
|
|
2302
2390
|
*/
|
|
2303
2391
|
listRecipientInvitations(listRecipientInvitationsRequest) {
|
|
2304
2392
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2363,7 +2451,7 @@ class RecipientInvitationClient {
|
|
|
2363
2451
|
* @param UpdateRecipientInvitationRequest
|
|
2364
2452
|
* @return UpdateRecipientInvitationResponse
|
|
2365
2453
|
* @throws OciError when an error occurs
|
|
2366
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2454
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.25.0/tenantmanagercontrolplane/UpdateRecipientInvitation.ts.html |here} to see how to use UpdateRecipientInvitation API.
|
|
2367
2455
|
*/
|
|
2368
2456
|
updateRecipientInvitation(updateRecipientInvitationRequest) {
|
|
2369
2457
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2435,6 +2523,7 @@ class SenderInvitationClient {
|
|
|
2435
2523
|
this["_endpoint"] = "";
|
|
2436
2524
|
this["_defaultHeaders"] = {};
|
|
2437
2525
|
this._circuitBreaker = null;
|
|
2526
|
+
this._httpOptions = undefined;
|
|
2438
2527
|
const requestSigner = params.authenticationDetailsProvider
|
|
2439
2528
|
? new common.DefaultRequestSigner(params.authenticationDetailsProvider)
|
|
2440
2529
|
: null;
|
|
@@ -2443,6 +2532,9 @@ class SenderInvitationClient {
|
|
|
2443
2532
|
this._circuitBreaker = clientConfiguration.circuitBreaker
|
|
2444
2533
|
? clientConfiguration.circuitBreaker.circuit
|
|
2445
2534
|
: null;
|
|
2535
|
+
this._httpOptions = clientConfiguration.httpOptions
|
|
2536
|
+
? clientConfiguration.httpOptions
|
|
2537
|
+
: undefined;
|
|
2446
2538
|
}
|
|
2447
2539
|
// if circuit breaker is not created, check if circuit breaker system is enabled to use default circuit breaker
|
|
2448
2540
|
const specCircuitBreakerEnabled = true;
|
|
@@ -2452,7 +2544,8 @@ class SenderInvitationClient {
|
|
|
2452
2544
|
this._circuitBreaker = new common.CircuitBreaker().circuit;
|
|
2453
2545
|
}
|
|
2454
2546
|
this._httpClient =
|
|
2455
|
-
params.httpClient ||
|
|
2547
|
+
params.httpClient ||
|
|
2548
|
+
new common.FetchHttpClient(requestSigner, this._circuitBreaker, this._httpOptions);
|
|
2456
2549
|
if (params.authenticationDetailsProvider &&
|
|
2457
2550
|
common.isRegionProvider(params.authenticationDetailsProvider)) {
|
|
2458
2551
|
const provider = params.authenticationDetailsProvider;
|
|
@@ -2526,7 +2619,7 @@ class SenderInvitationClient {
|
|
|
2526
2619
|
* @param CancelSenderInvitationRequest
|
|
2527
2620
|
* @return CancelSenderInvitationResponse
|
|
2528
2621
|
* @throws OciError when an error occurs
|
|
2529
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2622
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.25.0/tenantmanagercontrolplane/CancelSenderInvitation.ts.html |here} to see how to use CancelSenderInvitation API.
|
|
2530
2623
|
*/
|
|
2531
2624
|
cancelSenderInvitation(cancelSenderInvitationRequest) {
|
|
2532
2625
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2585,7 +2678,7 @@ class SenderInvitationClient {
|
|
|
2585
2678
|
* @param CreateSenderInvitationRequest
|
|
2586
2679
|
* @return CreateSenderInvitationResponse
|
|
2587
2680
|
* @throws OciError when an error occurs
|
|
2588
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2681
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.25.0/tenantmanagercontrolplane/CreateSenderInvitation.ts.html |here} to see how to use CreateSenderInvitation API.
|
|
2589
2682
|
*/
|
|
2590
2683
|
createSenderInvitation(createSenderInvitationRequest) {
|
|
2591
2684
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2651,7 +2744,7 @@ class SenderInvitationClient {
|
|
|
2651
2744
|
* @param GetSenderInvitationRequest
|
|
2652
2745
|
* @return GetSenderInvitationResponse
|
|
2653
2746
|
* @throws OciError when an error occurs
|
|
2654
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2747
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.25.0/tenantmanagercontrolplane/GetSenderInvitation.ts.html |here} to see how to use GetSenderInvitation API.
|
|
2655
2748
|
*/
|
|
2656
2749
|
getSenderInvitation(getSenderInvitationRequest) {
|
|
2657
2750
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2713,7 +2806,7 @@ class SenderInvitationClient {
|
|
|
2713
2806
|
* @param ListSenderInvitationsRequest
|
|
2714
2807
|
* @return ListSenderInvitationsResponse
|
|
2715
2808
|
* @throws OciError when an error occurs
|
|
2716
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2809
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.25.0/tenantmanagercontrolplane/ListSenderInvitations.ts.html |here} to see how to use ListSenderInvitations API.
|
|
2717
2810
|
*/
|
|
2718
2811
|
listSenderInvitations(listSenderInvitationsRequest) {
|
|
2719
2812
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2782,7 +2875,7 @@ class SenderInvitationClient {
|
|
|
2782
2875
|
* @param UpdateSenderInvitationRequest
|
|
2783
2876
|
* @return UpdateSenderInvitationResponse
|
|
2784
2877
|
* @throws OciError when an error occurs
|
|
2785
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2878
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.25.0/tenantmanagercontrolplane/UpdateSenderInvitation.ts.html |here} to see how to use UpdateSenderInvitation API.
|
|
2786
2879
|
*/
|
|
2787
2880
|
updateSenderInvitation(updateSenderInvitationRequest) {
|
|
2788
2881
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2854,6 +2947,7 @@ class SubscriptionClient {
|
|
|
2854
2947
|
this["_endpoint"] = "";
|
|
2855
2948
|
this["_defaultHeaders"] = {};
|
|
2856
2949
|
this._circuitBreaker = null;
|
|
2950
|
+
this._httpOptions = undefined;
|
|
2857
2951
|
const requestSigner = params.authenticationDetailsProvider
|
|
2858
2952
|
? new common.DefaultRequestSigner(params.authenticationDetailsProvider)
|
|
2859
2953
|
: null;
|
|
@@ -2862,6 +2956,9 @@ class SubscriptionClient {
|
|
|
2862
2956
|
this._circuitBreaker = clientConfiguration.circuitBreaker
|
|
2863
2957
|
? clientConfiguration.circuitBreaker.circuit
|
|
2864
2958
|
: null;
|
|
2959
|
+
this._httpOptions = clientConfiguration.httpOptions
|
|
2960
|
+
? clientConfiguration.httpOptions
|
|
2961
|
+
: undefined;
|
|
2865
2962
|
}
|
|
2866
2963
|
// if circuit breaker is not created, check if circuit breaker system is enabled to use default circuit breaker
|
|
2867
2964
|
const specCircuitBreakerEnabled = true;
|
|
@@ -2871,7 +2968,8 @@ class SubscriptionClient {
|
|
|
2871
2968
|
this._circuitBreaker = new common.CircuitBreaker().circuit;
|
|
2872
2969
|
}
|
|
2873
2970
|
this._httpClient =
|
|
2874
|
-
params.httpClient ||
|
|
2971
|
+
params.httpClient ||
|
|
2972
|
+
new common.FetchHttpClient(requestSigner, this._circuitBreaker, this._httpOptions);
|
|
2875
2973
|
if (params.authenticationDetailsProvider &&
|
|
2876
2974
|
common.isRegionProvider(params.authenticationDetailsProvider)) {
|
|
2877
2975
|
const provider = params.authenticationDetailsProvider;
|
|
@@ -2945,7 +3043,7 @@ class SubscriptionClient {
|
|
|
2945
3043
|
* @param CreateSubscriptionMappingRequest
|
|
2946
3044
|
* @return CreateSubscriptionMappingResponse
|
|
2947
3045
|
* @throws OciError when an error occurs
|
|
2948
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3046
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.25.0/tenantmanagercontrolplane/CreateSubscriptionMapping.ts.html |here} to see how to use CreateSubscriptionMapping API.
|
|
2949
3047
|
*/
|
|
2950
3048
|
createSubscriptionMapping(createSubscriptionMappingRequest) {
|
|
2951
3049
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3012,7 +3110,7 @@ class SubscriptionClient {
|
|
|
3012
3110
|
* @param DeleteSubscriptionMappingRequest
|
|
3013
3111
|
* @return DeleteSubscriptionMappingResponse
|
|
3014
3112
|
* @throws OciError when an error occurs
|
|
3015
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3113
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.25.0/tenantmanagercontrolplane/DeleteSubscriptionMapping.ts.html |here} to see how to use DeleteSubscriptionMapping API.
|
|
3016
3114
|
*/
|
|
3017
3115
|
deleteSubscriptionMapping(deleteSubscriptionMappingRequest) {
|
|
3018
3116
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3065,7 +3163,7 @@ class SubscriptionClient {
|
|
|
3065
3163
|
* @param GetAssignedSubscriptionRequest
|
|
3066
3164
|
* @return GetAssignedSubscriptionResponse
|
|
3067
3165
|
* @throws OciError when an error occurs
|
|
3068
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3166
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.25.0/tenantmanagercontrolplane/GetAssignedSubscription.ts.html |here} to see how to use GetAssignedSubscription API.
|
|
3069
3167
|
*/
|
|
3070
3168
|
getAssignedSubscription(getAssignedSubscriptionRequest) {
|
|
3071
3169
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3126,7 +3224,7 @@ class SubscriptionClient {
|
|
|
3126
3224
|
* @param GetSubscriptionRequest
|
|
3127
3225
|
* @return GetSubscriptionResponse
|
|
3128
3226
|
* @throws OciError when an error occurs
|
|
3129
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3227
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.25.0/tenantmanagercontrolplane/GetSubscription.ts.html |here} to see how to use GetSubscription API.
|
|
3130
3228
|
*/
|
|
3131
3229
|
getSubscription(getSubscriptionRequest) {
|
|
3132
3230
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3187,7 +3285,7 @@ class SubscriptionClient {
|
|
|
3187
3285
|
* @param GetSubscriptionMappingRequest
|
|
3188
3286
|
* @return GetSubscriptionMappingResponse
|
|
3189
3287
|
* @throws OciError when an error occurs
|
|
3190
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3288
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.25.0/tenantmanagercontrolplane/GetSubscriptionMapping.ts.html |here} to see how to use GetSubscriptionMapping API.
|
|
3191
3289
|
*/
|
|
3192
3290
|
getSubscriptionMapping(getSubscriptionMappingRequest) {
|
|
3193
3291
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3248,7 +3346,7 @@ class SubscriptionClient {
|
|
|
3248
3346
|
* @param ListAssignedSubscriptionsRequest
|
|
3249
3347
|
* @return ListAssignedSubscriptionsResponse
|
|
3250
3348
|
* @throws OciError when an error occurs
|
|
3251
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3349
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.25.0/tenantmanagercontrolplane/ListAssignedSubscriptions.ts.html |here} to see how to use ListAssignedSubscriptions API.
|
|
3252
3350
|
*/
|
|
3253
3351
|
listAssignedSubscriptions(listAssignedSubscriptionsRequest) {
|
|
3254
3352
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3314,7 +3412,7 @@ class SubscriptionClient {
|
|
|
3314
3412
|
* @param ListAvailableRegionsRequest
|
|
3315
3413
|
* @return ListAvailableRegionsResponse
|
|
3316
3414
|
* @throws OciError when an error occurs
|
|
3317
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3415
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.25.0/tenantmanagercontrolplane/ListAvailableRegions.ts.html |here} to see how to use ListAvailableRegions API.
|
|
3318
3416
|
*/
|
|
3319
3417
|
listAvailableRegions(listAvailableRegionsRequest) {
|
|
3320
3418
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3377,7 +3475,7 @@ class SubscriptionClient {
|
|
|
3377
3475
|
* @param ListSubscriptionMappingsRequest
|
|
3378
3476
|
* @return ListSubscriptionMappingsResponse
|
|
3379
3477
|
* @throws OciError when an error occurs
|
|
3380
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3478
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.25.0/tenantmanagercontrolplane/ListSubscriptionMappings.ts.html |here} to see how to use ListSubscriptionMappings API.
|
|
3381
3479
|
*/
|
|
3382
3480
|
listSubscriptionMappings(listSubscriptionMappingsRequest) {
|
|
3383
3481
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3445,7 +3543,7 @@ class SubscriptionClient {
|
|
|
3445
3543
|
* @param ListSubscriptionsRequest
|
|
3446
3544
|
* @return ListSubscriptionsResponse
|
|
3447
3545
|
* @throws OciError when an error occurs
|
|
3448
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3546
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.25.0/tenantmanagercontrolplane/ListSubscriptions.ts.html |here} to see how to use ListSubscriptions API.
|
|
3449
3547
|
*/
|
|
3450
3548
|
listSubscriptions(listSubscriptionsRequest) {
|
|
3451
3549
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3520,6 +3618,7 @@ class WorkRequestClient {
|
|
|
3520
3618
|
this["_endpoint"] = "";
|
|
3521
3619
|
this["_defaultHeaders"] = {};
|
|
3522
3620
|
this._circuitBreaker = null;
|
|
3621
|
+
this._httpOptions = undefined;
|
|
3523
3622
|
const requestSigner = params.authenticationDetailsProvider
|
|
3524
3623
|
? new common.DefaultRequestSigner(params.authenticationDetailsProvider)
|
|
3525
3624
|
: null;
|
|
@@ -3528,6 +3627,9 @@ class WorkRequestClient {
|
|
|
3528
3627
|
this._circuitBreaker = clientConfiguration.circuitBreaker
|
|
3529
3628
|
? clientConfiguration.circuitBreaker.circuit
|
|
3530
3629
|
: null;
|
|
3630
|
+
this._httpOptions = clientConfiguration.httpOptions
|
|
3631
|
+
? clientConfiguration.httpOptions
|
|
3632
|
+
: undefined;
|
|
3531
3633
|
}
|
|
3532
3634
|
// if circuit breaker is not created, check if circuit breaker system is enabled to use default circuit breaker
|
|
3533
3635
|
const specCircuitBreakerEnabled = true;
|
|
@@ -3537,7 +3639,8 @@ class WorkRequestClient {
|
|
|
3537
3639
|
this._circuitBreaker = new common.CircuitBreaker().circuit;
|
|
3538
3640
|
}
|
|
3539
3641
|
this._httpClient =
|
|
3540
|
-
params.httpClient ||
|
|
3642
|
+
params.httpClient ||
|
|
3643
|
+
new common.FetchHttpClient(requestSigner, this._circuitBreaker, this._httpOptions);
|
|
3541
3644
|
if (params.authenticationDetailsProvider &&
|
|
3542
3645
|
common.isRegionProvider(params.authenticationDetailsProvider)) {
|
|
3543
3646
|
const provider = params.authenticationDetailsProvider;
|
|
@@ -3611,7 +3714,7 @@ class WorkRequestClient {
|
|
|
3611
3714
|
* @param GetWorkRequestRequest
|
|
3612
3715
|
* @return GetWorkRequestResponse
|
|
3613
3716
|
* @throws OciError when an error occurs
|
|
3614
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3717
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.25.0/tenantmanagercontrolplane/GetWorkRequest.ts.html |here} to see how to use GetWorkRequest API.
|
|
3615
3718
|
*/
|
|
3616
3719
|
getWorkRequest(getWorkRequestRequest) {
|
|
3617
3720
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3673,7 +3776,7 @@ class WorkRequestClient {
|
|
|
3673
3776
|
* @param ListWorkRequestErrorsRequest
|
|
3674
3777
|
* @return ListWorkRequestErrorsResponse
|
|
3675
3778
|
* @throws OciError when an error occurs
|
|
3676
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3779
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.25.0/tenantmanagercontrolplane/ListWorkRequestErrors.ts.html |here} to see how to use ListWorkRequestErrors API.
|
|
3677
3780
|
*/
|
|
3678
3781
|
listWorkRequestErrors(listWorkRequestErrorsRequest) {
|
|
3679
3782
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3739,7 +3842,7 @@ class WorkRequestClient {
|
|
|
3739
3842
|
* @param ListWorkRequestLogsRequest
|
|
3740
3843
|
* @return ListWorkRequestLogsResponse
|
|
3741
3844
|
* @throws OciError when an error occurs
|
|
3742
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3845
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.25.0/tenantmanagercontrolplane/ListWorkRequestLogs.ts.html |here} to see how to use ListWorkRequestLogs API.
|
|
3743
3846
|
*/
|
|
3744
3847
|
listWorkRequestLogs(listWorkRequestLogsRequest) {
|
|
3745
3848
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3805,7 +3908,7 @@ class WorkRequestClient {
|
|
|
3805
3908
|
* @param ListWorkRequestsRequest
|
|
3806
3909
|
* @return ListWorkRequestsResponse
|
|
3807
3910
|
* @throws OciError when an error occurs
|
|
3808
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3911
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.25.0/tenantmanagercontrolplane/ListWorkRequests.ts.html |here} to see how to use ListWorkRequests API.
|
|
3809
3912
|
*/
|
|
3810
3913
|
listWorkRequests(listWorkRequestsRequest) {
|
|
3811
3914
|
return __awaiter(this, void 0, void 0, function* () {
|