oci-onesubscription 2.57.0 → 2.59.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 +93 -13
- package/lib/client.js +197 -13
- package/lib/client.js.map +1 -1
- package/lib/request/get-commitment-request.d.ts +1 -1
- package/lib/request/get-computed-usage-request.d.ts +1 -1
- package/lib/request/get-subscribed-service-request.d.ts +1 -1
- package/lib/request/list-aggregated-computed-usages-request.d.ts +1 -1
- package/lib/request/list-billing-schedules-request.d.ts +1 -1
- package/lib/request/list-commitments-request.d.ts +1 -1
- package/lib/request/list-computed-usages-request.d.ts +1 -1
- package/lib/request/list-invoiceline-computed-usages-request.d.ts +1 -1
- package/lib/request/list-invoices-request.d.ts +1 -1
- package/lib/request/list-organization-subscriptions-request.d.ts +1 -1
- package/lib/request/list-rate-cards-request.d.ts +1 -1
- package/lib/request/list-subscribed-services-request.d.ts +1 -1
- package/lib/request/list-subscriptions-request.d.ts +1 -1
- package/package.json +3 -3
package/lib/client.d.ts
CHANGED
|
@@ -23,12 +23,16 @@ export declare enum BillingScheduleApiKeys {
|
|
|
23
23
|
export declare class BillingScheduleClient {
|
|
24
24
|
protected static serviceEndpointTemplate: string;
|
|
25
25
|
protected static endpointServiceName: string;
|
|
26
|
+
protected "_realmSpecificEndpointTemplateEnabled": boolean;
|
|
26
27
|
protected "_endpoint": string;
|
|
27
28
|
protected "_defaultHeaders": any;
|
|
28
29
|
protected "_clientConfiguration": common.ClientConfiguration;
|
|
29
30
|
protected _circuitBreaker: null;
|
|
30
31
|
protected _httpOptions: any;
|
|
31
32
|
targetService: string;
|
|
33
|
+
protected _regionId: string;
|
|
34
|
+
protected "_region": common.Region;
|
|
35
|
+
protected _lastSetRegionOrRegionId: string;
|
|
32
36
|
protected _httpClient: common.HttpClient;
|
|
33
37
|
constructor(params: common.AuthParams, clientConfiguration?: common.ClientConfiguration);
|
|
34
38
|
/**
|
|
@@ -41,6 +45,12 @@ export declare class BillingScheduleClient {
|
|
|
41
45
|
*/
|
|
42
46
|
set endpoint(endpoint: string);
|
|
43
47
|
get logger(): import("oci-common/lib/log").Logger;
|
|
48
|
+
/**
|
|
49
|
+
* Determines whether realm specific endpoint should be used or not.
|
|
50
|
+
* Set realmSpecificEndpointTemplateEnabled to "true" if the user wants to enable use of realm specific endpoint template, otherwise set it to "false"
|
|
51
|
+
* @param realmSpecificEndpointTemplateEnabled flag to enable the use of realm specific endpoint template
|
|
52
|
+
*/
|
|
53
|
+
set useRealmSpecificEndpointTemplate(realmSpecificEndpointTemplateEnabled: boolean);
|
|
44
54
|
/**
|
|
45
55
|
* Sets the region to call (ex, Region.US_PHOENIX_1).
|
|
46
56
|
* Note, this will call {@link #endpoint(String) endpoint} after resolving the endpoint.
|
|
@@ -64,7 +74,7 @@ export declare class BillingScheduleClient {
|
|
|
64
74
|
* @param ListBillingSchedulesRequest
|
|
65
75
|
* @return ListBillingSchedulesResponse
|
|
66
76
|
* @throws OciError when an error occurs
|
|
67
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
77
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.59.0/onesubscription/ListBillingSchedules.ts.html |here} to see how to use ListBillingSchedules API.
|
|
68
78
|
*/
|
|
69
79
|
listBillingSchedules(listBillingSchedulesRequest: requests.ListBillingSchedulesRequest): Promise<responses.ListBillingSchedulesResponse>;
|
|
70
80
|
/**
|
|
@@ -108,12 +118,16 @@ export declare enum CommitmentApiKeys {
|
|
|
108
118
|
export declare class CommitmentClient {
|
|
109
119
|
protected static serviceEndpointTemplate: string;
|
|
110
120
|
protected static endpointServiceName: string;
|
|
121
|
+
protected "_realmSpecificEndpointTemplateEnabled": boolean;
|
|
111
122
|
protected "_endpoint": string;
|
|
112
123
|
protected "_defaultHeaders": any;
|
|
113
124
|
protected "_clientConfiguration": common.ClientConfiguration;
|
|
114
125
|
protected _circuitBreaker: null;
|
|
115
126
|
protected _httpOptions: any;
|
|
116
127
|
targetService: string;
|
|
128
|
+
protected _regionId: string;
|
|
129
|
+
protected "_region": common.Region;
|
|
130
|
+
protected _lastSetRegionOrRegionId: string;
|
|
117
131
|
protected _httpClient: common.HttpClient;
|
|
118
132
|
constructor(params: common.AuthParams, clientConfiguration?: common.ClientConfiguration);
|
|
119
133
|
/**
|
|
@@ -126,6 +140,12 @@ export declare class CommitmentClient {
|
|
|
126
140
|
*/
|
|
127
141
|
set endpoint(endpoint: string);
|
|
128
142
|
get logger(): import("oci-common/lib/log").Logger;
|
|
143
|
+
/**
|
|
144
|
+
* Determines whether realm specific endpoint should be used or not.
|
|
145
|
+
* Set realmSpecificEndpointTemplateEnabled to "true" if the user wants to enable use of realm specific endpoint template, otherwise set it to "false"
|
|
146
|
+
* @param realmSpecificEndpointTemplateEnabled flag to enable the use of realm specific endpoint template
|
|
147
|
+
*/
|
|
148
|
+
set useRealmSpecificEndpointTemplate(realmSpecificEndpointTemplateEnabled: boolean);
|
|
129
149
|
/**
|
|
130
150
|
* Sets the region to call (ex, Region.US_PHOENIX_1).
|
|
131
151
|
* Note, this will call {@link #endpoint(String) endpoint} after resolving the endpoint.
|
|
@@ -148,7 +168,7 @@ export declare class CommitmentClient {
|
|
|
148
168
|
* @param GetCommitmentRequest
|
|
149
169
|
* @return GetCommitmentResponse
|
|
150
170
|
* @throws OciError when an error occurs
|
|
151
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
171
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.59.0/onesubscription/GetCommitment.ts.html |here} to see how to use GetCommitment API.
|
|
152
172
|
*/
|
|
153
173
|
getCommitment(getCommitmentRequest: requests.GetCommitmentRequest): Promise<responses.GetCommitmentResponse>;
|
|
154
174
|
/**
|
|
@@ -158,7 +178,7 @@ export declare class CommitmentClient {
|
|
|
158
178
|
* @param ListCommitmentsRequest
|
|
159
179
|
* @return ListCommitmentsResponse
|
|
160
180
|
* @throws OciError when an error occurs
|
|
161
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
181
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.59.0/onesubscription/ListCommitments.ts.html |here} to see how to use ListCommitments API.
|
|
162
182
|
*/
|
|
163
183
|
listCommitments(listCommitmentsRequest: requests.ListCommitmentsRequest): Promise<responses.ListCommitmentsResponse>;
|
|
164
184
|
/**
|
|
@@ -202,12 +222,16 @@ export declare enum ComputedUsageApiKeys {
|
|
|
202
222
|
export declare class ComputedUsageClient {
|
|
203
223
|
protected static serviceEndpointTemplate: string;
|
|
204
224
|
protected static endpointServiceName: string;
|
|
225
|
+
protected "_realmSpecificEndpointTemplateEnabled": boolean;
|
|
205
226
|
protected "_endpoint": string;
|
|
206
227
|
protected "_defaultHeaders": any;
|
|
207
228
|
protected "_clientConfiguration": common.ClientConfiguration;
|
|
208
229
|
protected _circuitBreaker: null;
|
|
209
230
|
protected _httpOptions: any;
|
|
210
231
|
targetService: string;
|
|
232
|
+
protected _regionId: string;
|
|
233
|
+
protected "_region": common.Region;
|
|
234
|
+
protected _lastSetRegionOrRegionId: string;
|
|
211
235
|
protected _httpClient: common.HttpClient;
|
|
212
236
|
constructor(params: common.AuthParams, clientConfiguration?: common.ClientConfiguration);
|
|
213
237
|
/**
|
|
@@ -220,6 +244,12 @@ export declare class ComputedUsageClient {
|
|
|
220
244
|
*/
|
|
221
245
|
set endpoint(endpoint: string);
|
|
222
246
|
get logger(): import("oci-common/lib/log").Logger;
|
|
247
|
+
/**
|
|
248
|
+
* Determines whether realm specific endpoint should be used or not.
|
|
249
|
+
* Set realmSpecificEndpointTemplateEnabled to "true" if the user wants to enable use of realm specific endpoint template, otherwise set it to "false"
|
|
250
|
+
* @param realmSpecificEndpointTemplateEnabled flag to enable the use of realm specific endpoint template
|
|
251
|
+
*/
|
|
252
|
+
set useRealmSpecificEndpointTemplate(realmSpecificEndpointTemplateEnabled: boolean);
|
|
223
253
|
/**
|
|
224
254
|
* Sets the region to call (ex, Region.US_PHOENIX_1).
|
|
225
255
|
* Note, this will call {@link #endpoint(String) endpoint} after resolving the endpoint.
|
|
@@ -242,7 +272,7 @@ export declare class ComputedUsageClient {
|
|
|
242
272
|
* @param GetComputedUsageRequest
|
|
243
273
|
* @return GetComputedUsageResponse
|
|
244
274
|
* @throws OciError when an error occurs
|
|
245
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
275
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.59.0/onesubscription/GetComputedUsage.ts.html |here} to see how to use GetComputedUsage API.
|
|
246
276
|
*/
|
|
247
277
|
getComputedUsage(getComputedUsageRequest: requests.GetComputedUsageRequest): Promise<responses.GetComputedUsageResponse>;
|
|
248
278
|
/**
|
|
@@ -252,7 +282,7 @@ export declare class ComputedUsageClient {
|
|
|
252
282
|
* @param ListAggregatedComputedUsagesRequest
|
|
253
283
|
* @return ListAggregatedComputedUsagesResponse
|
|
254
284
|
* @throws OciError when an error occurs
|
|
255
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
285
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.59.0/onesubscription/ListAggregatedComputedUsages.ts.html |here} to see how to use ListAggregatedComputedUsages API.
|
|
256
286
|
*/
|
|
257
287
|
listAggregatedComputedUsages(listAggregatedComputedUsagesRequest: requests.ListAggregatedComputedUsagesRequest): Promise<responses.ListAggregatedComputedUsagesResponse>;
|
|
258
288
|
/**
|
|
@@ -294,7 +324,7 @@ export declare class ComputedUsageClient {
|
|
|
294
324
|
* @param ListComputedUsagesRequest
|
|
295
325
|
* @return ListComputedUsagesResponse
|
|
296
326
|
* @throws OciError when an error occurs
|
|
297
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
327
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.59.0/onesubscription/ListComputedUsages.ts.html |here} to see how to use ListComputedUsages API.
|
|
298
328
|
*/
|
|
299
329
|
listComputedUsages(listComputedUsagesRequest: requests.ListComputedUsagesRequest): Promise<responses.ListComputedUsagesResponse>;
|
|
300
330
|
/**
|
|
@@ -338,12 +368,16 @@ export declare enum InvoiceSummaryApiKeys {
|
|
|
338
368
|
export declare class InvoiceSummaryClient {
|
|
339
369
|
protected static serviceEndpointTemplate: string;
|
|
340
370
|
protected static endpointServiceName: string;
|
|
371
|
+
protected "_realmSpecificEndpointTemplateEnabled": boolean;
|
|
341
372
|
protected "_endpoint": string;
|
|
342
373
|
protected "_defaultHeaders": any;
|
|
343
374
|
protected "_clientConfiguration": common.ClientConfiguration;
|
|
344
375
|
protected _circuitBreaker: null;
|
|
345
376
|
protected _httpOptions: any;
|
|
346
377
|
targetService: string;
|
|
378
|
+
protected _regionId: string;
|
|
379
|
+
protected "_region": common.Region;
|
|
380
|
+
protected _lastSetRegionOrRegionId: string;
|
|
347
381
|
protected _httpClient: common.HttpClient;
|
|
348
382
|
constructor(params: common.AuthParams, clientConfiguration?: common.ClientConfiguration);
|
|
349
383
|
/**
|
|
@@ -356,6 +390,12 @@ export declare class InvoiceSummaryClient {
|
|
|
356
390
|
*/
|
|
357
391
|
set endpoint(endpoint: string);
|
|
358
392
|
get logger(): import("oci-common/lib/log").Logger;
|
|
393
|
+
/**
|
|
394
|
+
* Determines whether realm specific endpoint should be used or not.
|
|
395
|
+
* Set realmSpecificEndpointTemplateEnabled to "true" if the user wants to enable use of realm specific endpoint template, otherwise set it to "false"
|
|
396
|
+
* @param realmSpecificEndpointTemplateEnabled flag to enable the use of realm specific endpoint template
|
|
397
|
+
*/
|
|
398
|
+
set useRealmSpecificEndpointTemplate(realmSpecificEndpointTemplateEnabled: boolean);
|
|
359
399
|
/**
|
|
360
400
|
* Sets the region to call (ex, Region.US_PHOENIX_1).
|
|
361
401
|
* Note, this will call {@link #endpoint(String) endpoint} after resolving the endpoint.
|
|
@@ -378,7 +418,7 @@ export declare class InvoiceSummaryClient {
|
|
|
378
418
|
* @param ListInvoicelineComputedUsagesRequest
|
|
379
419
|
* @return ListInvoicelineComputedUsagesResponse
|
|
380
420
|
* @throws OciError when an error occurs
|
|
381
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
421
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.59.0/onesubscription/ListInvoicelineComputedUsages.ts.html |here} to see how to use ListInvoicelineComputedUsages API.
|
|
382
422
|
*/
|
|
383
423
|
listInvoicelineComputedUsages(listInvoicelineComputedUsagesRequest: requests.ListInvoicelineComputedUsagesRequest): Promise<responses.ListInvoicelineComputedUsagesResponse>;
|
|
384
424
|
/**
|
|
@@ -420,7 +460,7 @@ export declare class InvoiceSummaryClient {
|
|
|
420
460
|
* @param ListInvoicesRequest
|
|
421
461
|
* @return ListInvoicesResponse
|
|
422
462
|
* @throws OciError when an error occurs
|
|
423
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
463
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.59.0/onesubscription/ListInvoices.ts.html |here} to see how to use ListInvoices API.
|
|
424
464
|
*/
|
|
425
465
|
listInvoices(listInvoicesRequest: requests.ListInvoicesRequest): Promise<responses.ListInvoicesResponse>;
|
|
426
466
|
/**
|
|
@@ -464,12 +504,16 @@ export declare enum OrganizationSubscriptionApiKeys {
|
|
|
464
504
|
export declare class OrganizationSubscriptionClient {
|
|
465
505
|
protected static serviceEndpointTemplate: string;
|
|
466
506
|
protected static endpointServiceName: string;
|
|
507
|
+
protected "_realmSpecificEndpointTemplateEnabled": boolean;
|
|
467
508
|
protected "_endpoint": string;
|
|
468
509
|
protected "_defaultHeaders": any;
|
|
469
510
|
protected "_clientConfiguration": common.ClientConfiguration;
|
|
470
511
|
protected _circuitBreaker: null;
|
|
471
512
|
protected _httpOptions: any;
|
|
472
513
|
targetService: string;
|
|
514
|
+
protected _regionId: string;
|
|
515
|
+
protected "_region": common.Region;
|
|
516
|
+
protected _lastSetRegionOrRegionId: string;
|
|
473
517
|
protected _httpClient: common.HttpClient;
|
|
474
518
|
constructor(params: common.AuthParams, clientConfiguration?: common.ClientConfiguration);
|
|
475
519
|
/**
|
|
@@ -482,6 +526,12 @@ export declare class OrganizationSubscriptionClient {
|
|
|
482
526
|
*/
|
|
483
527
|
set endpoint(endpoint: string);
|
|
484
528
|
get logger(): import("oci-common/lib/log").Logger;
|
|
529
|
+
/**
|
|
530
|
+
* Determines whether realm specific endpoint should be used or not.
|
|
531
|
+
* Set realmSpecificEndpointTemplateEnabled to "true" if the user wants to enable use of realm specific endpoint template, otherwise set it to "false"
|
|
532
|
+
* @param realmSpecificEndpointTemplateEnabled flag to enable the use of realm specific endpoint template
|
|
533
|
+
*/
|
|
534
|
+
set useRealmSpecificEndpointTemplate(realmSpecificEndpointTemplateEnabled: boolean);
|
|
485
535
|
/**
|
|
486
536
|
* Sets the region to call (ex, Region.US_PHOENIX_1).
|
|
487
537
|
* Note, this will call {@link #endpoint(String) endpoint} after resolving the endpoint.
|
|
@@ -504,7 +554,7 @@ export declare class OrganizationSubscriptionClient {
|
|
|
504
554
|
* @param ListOrganizationSubscriptionsRequest
|
|
505
555
|
* @return ListOrganizationSubscriptionsResponse
|
|
506
556
|
* @throws OciError when an error occurs
|
|
507
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
557
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.59.0/onesubscription/ListOrganizationSubscriptions.ts.html |here} to see how to use ListOrganizationSubscriptions API.
|
|
508
558
|
*/
|
|
509
559
|
listOrganizationSubscriptions(listOrganizationSubscriptionsRequest: requests.ListOrganizationSubscriptionsRequest): Promise<responses.ListOrganizationSubscriptionsResponse>;
|
|
510
560
|
/**
|
|
@@ -548,12 +598,16 @@ export declare enum RatecardApiKeys {
|
|
|
548
598
|
export declare class RatecardClient {
|
|
549
599
|
protected static serviceEndpointTemplate: string;
|
|
550
600
|
protected static endpointServiceName: string;
|
|
601
|
+
protected "_realmSpecificEndpointTemplateEnabled": boolean;
|
|
551
602
|
protected "_endpoint": string;
|
|
552
603
|
protected "_defaultHeaders": any;
|
|
553
604
|
protected "_clientConfiguration": common.ClientConfiguration;
|
|
554
605
|
protected _circuitBreaker: null;
|
|
555
606
|
protected _httpOptions: any;
|
|
556
607
|
targetService: string;
|
|
608
|
+
protected _regionId: string;
|
|
609
|
+
protected "_region": common.Region;
|
|
610
|
+
protected _lastSetRegionOrRegionId: string;
|
|
557
611
|
protected _httpClient: common.HttpClient;
|
|
558
612
|
constructor(params: common.AuthParams, clientConfiguration?: common.ClientConfiguration);
|
|
559
613
|
/**
|
|
@@ -566,6 +620,12 @@ export declare class RatecardClient {
|
|
|
566
620
|
*/
|
|
567
621
|
set endpoint(endpoint: string);
|
|
568
622
|
get logger(): import("oci-common/lib/log").Logger;
|
|
623
|
+
/**
|
|
624
|
+
* Determines whether realm specific endpoint should be used or not.
|
|
625
|
+
* Set realmSpecificEndpointTemplateEnabled to "true" if the user wants to enable use of realm specific endpoint template, otherwise set it to "false"
|
|
626
|
+
* @param realmSpecificEndpointTemplateEnabled flag to enable the use of realm specific endpoint template
|
|
627
|
+
*/
|
|
628
|
+
set useRealmSpecificEndpointTemplate(realmSpecificEndpointTemplateEnabled: boolean);
|
|
569
629
|
/**
|
|
570
630
|
* Sets the region to call (ex, Region.US_PHOENIX_1).
|
|
571
631
|
* Note, this will call {@link #endpoint(String) endpoint} after resolving the endpoint.
|
|
@@ -589,7 +649,7 @@ export declare class RatecardClient {
|
|
|
589
649
|
* @param ListRateCardsRequest
|
|
590
650
|
* @return ListRateCardsResponse
|
|
591
651
|
* @throws OciError when an error occurs
|
|
592
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
652
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.59.0/onesubscription/ListRateCards.ts.html |here} to see how to use ListRateCards API.
|
|
593
653
|
*/
|
|
594
654
|
listRateCards(listRateCardsRequest: requests.ListRateCardsRequest): Promise<responses.ListRateCardsResponse>;
|
|
595
655
|
/**
|
|
@@ -633,12 +693,16 @@ export declare enum SubscribedServiceApiKeys {
|
|
|
633
693
|
export declare class SubscribedServiceClient {
|
|
634
694
|
protected static serviceEndpointTemplate: string;
|
|
635
695
|
protected static endpointServiceName: string;
|
|
696
|
+
protected "_realmSpecificEndpointTemplateEnabled": boolean;
|
|
636
697
|
protected "_endpoint": string;
|
|
637
698
|
protected "_defaultHeaders": any;
|
|
638
699
|
protected "_clientConfiguration": common.ClientConfiguration;
|
|
639
700
|
protected _circuitBreaker: null;
|
|
640
701
|
protected _httpOptions: any;
|
|
641
702
|
targetService: string;
|
|
703
|
+
protected _regionId: string;
|
|
704
|
+
protected "_region": common.Region;
|
|
705
|
+
protected _lastSetRegionOrRegionId: string;
|
|
642
706
|
protected _httpClient: common.HttpClient;
|
|
643
707
|
constructor(params: common.AuthParams, clientConfiguration?: common.ClientConfiguration);
|
|
644
708
|
/**
|
|
@@ -651,6 +715,12 @@ export declare class SubscribedServiceClient {
|
|
|
651
715
|
*/
|
|
652
716
|
set endpoint(endpoint: string);
|
|
653
717
|
get logger(): import("oci-common/lib/log").Logger;
|
|
718
|
+
/**
|
|
719
|
+
* Determines whether realm specific endpoint should be used or not.
|
|
720
|
+
* Set realmSpecificEndpointTemplateEnabled to "true" if the user wants to enable use of realm specific endpoint template, otherwise set it to "false"
|
|
721
|
+
* @param realmSpecificEndpointTemplateEnabled flag to enable the use of realm specific endpoint template
|
|
722
|
+
*/
|
|
723
|
+
set useRealmSpecificEndpointTemplate(realmSpecificEndpointTemplateEnabled: boolean);
|
|
654
724
|
/**
|
|
655
725
|
* Sets the region to call (ex, Region.US_PHOENIX_1).
|
|
656
726
|
* Note, this will call {@link #endpoint(String) endpoint} after resolving the endpoint.
|
|
@@ -673,7 +743,7 @@ export declare class SubscribedServiceClient {
|
|
|
673
743
|
* @param GetSubscribedServiceRequest
|
|
674
744
|
* @return GetSubscribedServiceResponse
|
|
675
745
|
* @throws OciError when an error occurs
|
|
676
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
746
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.59.0/onesubscription/GetSubscribedService.ts.html |here} to see how to use GetSubscribedService API.
|
|
677
747
|
*/
|
|
678
748
|
getSubscribedService(getSubscribedServiceRequest: requests.GetSubscribedServiceRequest): Promise<responses.GetSubscribedServiceResponse>;
|
|
679
749
|
/**
|
|
@@ -683,7 +753,7 @@ export declare class SubscribedServiceClient {
|
|
|
683
753
|
* @param ListSubscribedServicesRequest
|
|
684
754
|
* @return ListSubscribedServicesResponse
|
|
685
755
|
* @throws OciError when an error occurs
|
|
686
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
756
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.59.0/onesubscription/ListSubscribedServices.ts.html |here} to see how to use ListSubscribedServices API.
|
|
687
757
|
*/
|
|
688
758
|
listSubscribedServices(listSubscribedServicesRequest: requests.ListSubscribedServicesRequest): Promise<responses.ListSubscribedServicesResponse>;
|
|
689
759
|
/**
|
|
@@ -727,12 +797,16 @@ export declare enum SubscriptionApiKeys {
|
|
|
727
797
|
export declare class SubscriptionClient {
|
|
728
798
|
protected static serviceEndpointTemplate: string;
|
|
729
799
|
protected static endpointServiceName: string;
|
|
800
|
+
protected "_realmSpecificEndpointTemplateEnabled": boolean;
|
|
730
801
|
protected "_endpoint": string;
|
|
731
802
|
protected "_defaultHeaders": any;
|
|
732
803
|
protected "_clientConfiguration": common.ClientConfiguration;
|
|
733
804
|
protected _circuitBreaker: null;
|
|
734
805
|
protected _httpOptions: any;
|
|
735
806
|
targetService: string;
|
|
807
|
+
protected _regionId: string;
|
|
808
|
+
protected "_region": common.Region;
|
|
809
|
+
protected _lastSetRegionOrRegionId: string;
|
|
736
810
|
protected _httpClient: common.HttpClient;
|
|
737
811
|
constructor(params: common.AuthParams, clientConfiguration?: common.ClientConfiguration);
|
|
738
812
|
/**
|
|
@@ -745,6 +819,12 @@ export declare class SubscriptionClient {
|
|
|
745
819
|
*/
|
|
746
820
|
set endpoint(endpoint: string);
|
|
747
821
|
get logger(): import("oci-common/lib/log").Logger;
|
|
822
|
+
/**
|
|
823
|
+
* Determines whether realm specific endpoint should be used or not.
|
|
824
|
+
* Set realmSpecificEndpointTemplateEnabled to "true" if the user wants to enable use of realm specific endpoint template, otherwise set it to "false"
|
|
825
|
+
* @param realmSpecificEndpointTemplateEnabled flag to enable the use of realm specific endpoint template
|
|
826
|
+
*/
|
|
827
|
+
set useRealmSpecificEndpointTemplate(realmSpecificEndpointTemplateEnabled: boolean);
|
|
748
828
|
/**
|
|
749
829
|
* Sets the region to call (ex, Region.US_PHOENIX_1).
|
|
750
830
|
* Note, this will call {@link #endpoint(String) endpoint} after resolving the endpoint.
|
|
@@ -770,7 +850,7 @@ export declare class SubscriptionClient {
|
|
|
770
850
|
* @param ListSubscriptionsRequest
|
|
771
851
|
* @return ListSubscriptionsResponse
|
|
772
852
|
* @throws OciError when an error occurs
|
|
773
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
853
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.59.0/onesubscription/ListSubscriptions.ts.html |here} to see how to use ListSubscriptions API.
|
|
774
854
|
*/
|
|
775
855
|
listSubscriptions(listSubscriptionsRequest: requests.ListSubscriptionsRequest): Promise<responses.ListSubscriptionsResponse>;
|
|
776
856
|
/**
|