@azure/arm-reservations 7.2.1-alpha.20230202.1 → 8.0.0-alpha.20230210.2
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/CHANGELOG.md +71 -8
- package/LICENSE +1 -1
- package/dist/index.js +942 -224
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/dist-esm/samples-dev/calculateExchangePostSample.js +22 -2
- package/dist-esm/samples-dev/calculateExchangePostSample.js.map +1 -1
- package/dist-esm/samples-dev/calculateRefundPostSample.js +10 -3
- package/dist-esm/samples-dev/calculateRefundPostSample.js.map +1 -1
- package/dist-esm/samples-dev/exchangePostSample.js +9 -2
- package/dist-esm/samples-dev/exchangePostSample.js.map +1 -1
- package/dist-esm/samples-dev/getAppliedReservationListSample.js +9 -2
- package/dist-esm/samples-dev/getAppliedReservationListSample.js.map +1 -1
- package/dist-esm/samples-dev/getCatalogSample.js +26 -5
- package/dist-esm/samples-dev/getCatalogSample.js.map +1 -1
- package/dist-esm/samples-dev/operationListSample.js +9 -2
- package/dist-esm/samples-dev/operationListSample.js.map +1 -1
- package/dist-esm/samples-dev/quotaCreateOrUpdateSample.js +10 -3
- package/dist-esm/samples-dev/quotaCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/quotaGetSample.js +8 -1
- package/dist-esm/samples-dev/quotaGetSample.js.map +1 -1
- package/dist-esm/samples-dev/quotaListSample.js +9 -2
- package/dist-esm/samples-dev/quotaListSample.js.map +1 -1
- package/dist-esm/samples-dev/quotaRequestStatusGetSample.js +10 -3
- package/dist-esm/samples-dev/quotaRequestStatusGetSample.js.map +1 -1
- package/dist-esm/samples-dev/quotaRequestStatusListSample.js +8 -1
- package/dist-esm/samples-dev/quotaRequestStatusListSample.js.map +1 -1
- package/dist-esm/samples-dev/quotaUpdateSample.js +8 -1
- package/dist-esm/samples-dev/quotaUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/reservationArchiveSample.js +9 -2
- package/dist-esm/samples-dev/reservationArchiveSample.js.map +1 -1
- package/dist-esm/samples-dev/reservationAvailableScopesSample.js +11 -4
- package/dist-esm/samples-dev/reservationAvailableScopesSample.js.map +1 -1
- package/dist-esm/samples-dev/reservationGetSample.js +11 -4
- package/dist-esm/samples-dev/reservationGetSample.js.map +1 -1
- package/dist-esm/samples-dev/reservationListAllSample.js +10 -3
- package/dist-esm/samples-dev/reservationListAllSample.js.map +1 -1
- package/dist-esm/samples-dev/reservationListRevisionsSample.js +11 -4
- package/dist-esm/samples-dev/reservationListRevisionsSample.js.map +1 -1
- package/dist-esm/samples-dev/reservationListSample.js +9 -2
- package/dist-esm/samples-dev/reservationListSample.js.map +1 -1
- package/dist-esm/samples-dev/reservationMergeSample.js +9 -2
- package/dist-esm/samples-dev/reservationMergeSample.js.map +1 -1
- package/dist-esm/samples-dev/reservationOrderCalculateSample.js +10 -3
- package/dist-esm/samples-dev/reservationOrderCalculateSample.js.map +1 -1
- package/dist-esm/samples-dev/reservationOrderChangeDirectorySample.js +9 -2
- package/dist-esm/samples-dev/reservationOrderChangeDirectorySample.js.map +1 -1
- package/dist-esm/samples-dev/reservationOrderGetSample.js +12 -5
- package/dist-esm/samples-dev/reservationOrderGetSample.js.map +1 -1
- package/dist-esm/samples-dev/reservationOrderListSample.js +9 -2
- package/dist-esm/samples-dev/reservationOrderListSample.js.map +1 -1
- package/dist-esm/samples-dev/reservationOrderPurchaseSample.js +9 -2
- package/dist-esm/samples-dev/reservationOrderPurchaseSample.js.map +1 -1
- package/dist-esm/samples-dev/reservationSplitSample.js +9 -2
- package/dist-esm/samples-dev/reservationSplitSample.js.map +1 -1
- package/dist-esm/samples-dev/reservationUnarchiveSample.js +11 -4
- package/dist-esm/samples-dev/reservationUnarchiveSample.js.map +1 -1
- package/dist-esm/samples-dev/reservationUpdateSample.js +9 -2
- package/dist-esm/samples-dev/reservationUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/returnPostSample.js +14 -7
- package/dist-esm/samples-dev/returnPostSample.js.map +1 -1
- package/dist-esm/src/azureReservationAPI.d.ts +18 -2
- package/dist-esm/src/azureReservationAPI.d.ts.map +1 -1
- package/dist-esm/src/azureReservationAPI.js +101 -15
- package/dist-esm/src/azureReservationAPI.js.map +1 -1
- package/dist-esm/src/index.d.ts +1 -0
- package/dist-esm/src/index.d.ts.map +1 -1
- package/dist-esm/src/index.js +1 -0
- package/dist-esm/src/index.js.map +1 -1
- package/dist-esm/src/models/index.d.ts +372 -101
- package/dist-esm/src/models/index.d.ts.map +1 -1
- package/dist-esm/src/models/index.js +26 -0
- package/dist-esm/src/models/index.js.map +1 -1
- package/dist-esm/src/models/mappers.d.ts +14 -1
- package/dist-esm/src/models/mappers.d.ts.map +1 -1
- package/dist-esm/src/models/mappers.js +510 -70
- package/dist-esm/src/models/mappers.js.map +1 -1
- package/dist-esm/src/models/parameters.d.ts +2 -1
- package/dist-esm/src/models/parameters.d.ts.map +1 -1
- package/dist-esm/src/models/parameters.js +18 -9
- package/dist-esm/src/models/parameters.js.map +1 -1
- package/dist-esm/src/operations/operation.d.ts.map +1 -1
- package/dist-esm/src/operations/operation.js +19 -8
- package/dist-esm/src/operations/operation.js.map +1 -1
- package/dist-esm/src/operations/quota.d.ts.map +1 -1
- package/dist-esm/src/operations/quota.js +19 -8
- package/dist-esm/src/operations/quota.js.map +1 -1
- package/dist-esm/src/operations/quotaRequestStatus.d.ts.map +1 -1
- package/dist-esm/src/operations/quotaRequestStatus.js +19 -13
- package/dist-esm/src/operations/quotaRequestStatus.js.map +1 -1
- package/dist-esm/src/operations/reservation.d.ts +17 -17
- package/dist-esm/src/operations/reservation.d.ts.map +1 -1
- package/dist-esm/src/operations/reservation.js +83 -59
- package/dist-esm/src/operations/reservation.js.map +1 -1
- package/dist-esm/src/operations/reservationOrder.d.ts.map +1 -1
- package/dist-esm/src/operations/reservationOrder.js +20 -9
- package/dist-esm/src/operations/reservationOrder.js.map +1 -1
- package/dist-esm/src/operations/return.d.ts +10 -2
- package/dist-esm/src/operations/return.d.ts.map +1 -1
- package/dist-esm/src/operations/return.js +61 -3
- package/dist-esm/src/operations/return.js.map +1 -1
- package/dist-esm/src/operationsInterfaces/reservation.d.ts +15 -15
- package/dist-esm/src/operationsInterfaces/reservation.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/return.d.ts +10 -2
- package/dist-esm/src/operationsInterfaces/return.d.ts.map +1 -1
- package/dist-esm/src/pagingHelper.d.ts +13 -0
- package/dist-esm/src/pagingHelper.d.ts.map +1 -0
- package/dist-esm/src/pagingHelper.js +32 -0
- package/dist-esm/src/pagingHelper.js.map +1 -0
- package/package.json +6 -4
- package/review/arm-reservations.api.md +194 -94
- package/src/azureReservationAPI.ts +119 -15
- package/src/index.ts +1 -0
- package/src/models/index.ts +397 -107
- package/src/models/mappers.ts +536 -71
- package/src/models/parameters.ts +19 -9
- package/src/operations/operation.ts +21 -9
- package/src/operations/quota.ts +23 -15
- package/src/operations/quotaRequestStatus.ts +23 -20
- package/src/operations/reservation.ts +97 -69
- package/src/operations/reservationOrder.ts +23 -11
- package/src/operations/return.ts +82 -4
- package/src/operationsInterfaces/reservation.ts +15 -15
- package/src/operationsInterfaces/return.ts +16 -2
- package/src/pagingHelper.ts +39 -0
- package/types/arm-reservations.d.ts +432 -109
- package/types/tsdoc-metadata.json +1 -1
|
@@ -10,28 +10,35 @@ import { PagedAsyncIterableIterator } from '@azure/core-paging';
|
|
|
10
10
|
import { PollerLike } from '@azure/core-lro';
|
|
11
11
|
import { PollOperationState } from '@azure/core-lro';
|
|
12
12
|
|
|
13
|
-
// @public
|
|
13
|
+
// @public
|
|
14
14
|
export interface AppliedReservationList {
|
|
15
15
|
nextLink?: string;
|
|
16
16
|
// (undocumented)
|
|
17
17
|
value?: string[];
|
|
18
18
|
}
|
|
19
19
|
|
|
20
|
-
// @public
|
|
20
|
+
// @public
|
|
21
21
|
export interface AppliedReservations {
|
|
22
22
|
readonly id?: string;
|
|
23
23
|
readonly name?: string;
|
|
24
|
-
// (undocumented)
|
|
25
24
|
reservationOrderIds?: AppliedReservationList;
|
|
26
25
|
readonly type?: string;
|
|
27
26
|
}
|
|
28
27
|
|
|
28
|
+
// @public
|
|
29
|
+
export interface AppliedScopeProperties {
|
|
30
|
+
displayName?: string;
|
|
31
|
+
managementGroupId?: string;
|
|
32
|
+
resourceGroupId?: string;
|
|
33
|
+
subscriptionId?: string;
|
|
34
|
+
tenantId?: string;
|
|
35
|
+
}
|
|
36
|
+
|
|
29
37
|
// @public
|
|
30
38
|
export type AppliedScopeType = string;
|
|
31
39
|
|
|
32
|
-
// @public
|
|
40
|
+
// @public
|
|
33
41
|
export interface AvailableScopeProperties {
|
|
34
|
-
// (undocumented)
|
|
35
42
|
properties?: SubscriptionScopeProperties;
|
|
36
43
|
}
|
|
37
44
|
|
|
@@ -58,7 +65,7 @@ export class AzureReservationAPI extends coreClient.ServiceClient {
|
|
|
58
65
|
// (undocumented)
|
|
59
66
|
exchange: Exchange;
|
|
60
67
|
getAppliedReservationList(subscriptionId: string, options?: GetAppliedReservationListOptionalParams): Promise<GetAppliedReservationListResponse>;
|
|
61
|
-
|
|
68
|
+
listCatalog(subscriptionId: string, options?: GetCatalogOptionalParams): PagedAsyncIterableIterator<Catalog>;
|
|
62
69
|
// (undocumented)
|
|
63
70
|
operation: Operation;
|
|
64
71
|
// (undocumented)
|
|
@@ -81,14 +88,14 @@ export interface AzureReservationAPIOptionalParams extends coreClient.ServiceCli
|
|
|
81
88
|
|
|
82
89
|
// @public
|
|
83
90
|
export interface BillingInformation {
|
|
84
|
-
// (undocumented)
|
|
85
91
|
billingCurrencyProratedAmount?: Price;
|
|
86
|
-
// (undocumented)
|
|
87
92
|
billingCurrencyRemainingCommitmentAmount?: Price;
|
|
88
|
-
// (undocumented)
|
|
89
93
|
billingCurrencyTotalPaidAmount?: Price;
|
|
90
94
|
}
|
|
91
95
|
|
|
96
|
+
// @public
|
|
97
|
+
export type BillingPlan = string;
|
|
98
|
+
|
|
92
99
|
// @public
|
|
93
100
|
export interface CalculateExchange {
|
|
94
101
|
beginPost(body: CalculateExchangeRequest, options?: CalculateExchangePostOptionalParams): Promise<PollerLike<PollOperationState<CalculateExchangePostResponse>, CalculateExchangePostResponse>>;
|
|
@@ -132,29 +139,27 @@ export interface CalculateExchangeRequest {
|
|
|
132
139
|
export interface CalculateExchangeRequestProperties {
|
|
133
140
|
reservationsToExchange?: ReservationToReturn[];
|
|
134
141
|
reservationsToPurchase?: PurchaseRequest[];
|
|
142
|
+
savingsPlansToPurchase?: SavingsPlanPurchaseRequest[];
|
|
135
143
|
}
|
|
136
144
|
|
|
137
145
|
// @public
|
|
138
146
|
export interface CalculateExchangeResponseProperties {
|
|
139
|
-
// (undocumented)
|
|
140
147
|
netPayable?: Price;
|
|
141
148
|
policyResult?: ExchangePolicyErrors;
|
|
142
|
-
// (undocumented)
|
|
143
149
|
purchasesTotal?: Price;
|
|
144
|
-
// (undocumented)
|
|
145
150
|
refundsTotal?: Price;
|
|
146
151
|
reservationsToExchange?: ReservationToExchange[];
|
|
147
152
|
reservationsToPurchase?: ReservationToPurchaseCalculateExchange[];
|
|
153
|
+
savingsPlansToPurchase?: SavingsPlanToPurchaseCalculateExchange[];
|
|
148
154
|
sessionId?: string;
|
|
149
155
|
}
|
|
150
156
|
|
|
151
|
-
// @public
|
|
157
|
+
// @public
|
|
152
158
|
export interface CalculatePriceResponse {
|
|
153
|
-
// (undocumented)
|
|
154
159
|
properties?: CalculatePriceResponseProperties;
|
|
155
160
|
}
|
|
156
161
|
|
|
157
|
-
// @public
|
|
162
|
+
// @public
|
|
158
163
|
export interface CalculatePriceResponseProperties {
|
|
159
164
|
billingCurrencyTotal?: CalculatePriceResponsePropertiesBillingCurrencyTotal;
|
|
160
165
|
grandTotal?: number;
|
|
@@ -195,27 +200,25 @@ export interface CalculateRefundPostOptionalParams extends coreClient.OperationO
|
|
|
195
200
|
// @public
|
|
196
201
|
export type CalculateRefundPostResponse = CalculateRefundResponse;
|
|
197
202
|
|
|
198
|
-
// @public
|
|
203
|
+
// @public
|
|
199
204
|
export interface CalculateRefundRequest {
|
|
200
205
|
id?: string;
|
|
201
|
-
// (undocumented)
|
|
202
206
|
properties?: CalculateRefundRequestProperties;
|
|
203
207
|
}
|
|
204
208
|
|
|
205
|
-
// @public
|
|
209
|
+
// @public
|
|
206
210
|
export interface CalculateRefundRequestProperties {
|
|
207
211
|
reservationToReturn?: ReservationToReturn;
|
|
208
212
|
scope?: string;
|
|
209
213
|
}
|
|
210
214
|
|
|
211
|
-
// @public
|
|
215
|
+
// @public
|
|
212
216
|
export interface CalculateRefundResponse {
|
|
213
217
|
id?: string;
|
|
214
|
-
// (undocumented)
|
|
215
218
|
properties?: RefundResponseProperties;
|
|
216
219
|
}
|
|
217
220
|
|
|
218
|
-
// @public
|
|
221
|
+
// @public
|
|
219
222
|
export interface Catalog {
|
|
220
223
|
billingPlans?: {
|
|
221
224
|
[propertyName: string]: ReservationBillingPlan[];
|
|
@@ -237,7 +240,14 @@ export interface CatalogMsrp {
|
|
|
237
240
|
p1Y?: Price;
|
|
238
241
|
}
|
|
239
242
|
|
|
240
|
-
// @public
|
|
243
|
+
// @public
|
|
244
|
+
export interface CatalogsResult {
|
|
245
|
+
readonly nextLink?: string;
|
|
246
|
+
totalItems?: number;
|
|
247
|
+
readonly value?: Catalog[];
|
|
248
|
+
}
|
|
249
|
+
|
|
250
|
+
// @public
|
|
241
251
|
export interface ChangeDirectoryRequest {
|
|
242
252
|
destinationTenantId?: string;
|
|
243
253
|
}
|
|
@@ -257,6 +267,14 @@ export interface ChangeDirectoryResult {
|
|
|
257
267
|
name?: string;
|
|
258
268
|
}
|
|
259
269
|
|
|
270
|
+
// @public
|
|
271
|
+
export interface Commitment extends Price {
|
|
272
|
+
grain?: CommitmentGrain;
|
|
273
|
+
}
|
|
274
|
+
|
|
275
|
+
// @public
|
|
276
|
+
export type CommitmentGrain = string;
|
|
277
|
+
|
|
260
278
|
// @public
|
|
261
279
|
export type CreatedByType = string;
|
|
262
280
|
|
|
@@ -293,9 +311,8 @@ export interface ErrorDetails {
|
|
|
293
311
|
readonly target?: string;
|
|
294
312
|
}
|
|
295
313
|
|
|
296
|
-
// @public
|
|
314
|
+
// @public
|
|
297
315
|
export interface ErrorModel {
|
|
298
|
-
// (undocumented)
|
|
299
316
|
error?: ExtendedErrorInfo;
|
|
300
317
|
}
|
|
301
318
|
|
|
@@ -371,21 +388,18 @@ export interface ExchangeRequestProperties {
|
|
|
371
388
|
|
|
372
389
|
// @public
|
|
373
390
|
export interface ExchangeResponseProperties {
|
|
374
|
-
// (undocumented)
|
|
375
391
|
netPayable?: Price;
|
|
376
392
|
policyResult?: ExchangePolicyErrors;
|
|
377
|
-
// (undocumented)
|
|
378
393
|
purchasesTotal?: Price;
|
|
379
|
-
// (undocumented)
|
|
380
394
|
refundsTotal?: Price;
|
|
381
395
|
reservationsToExchange?: ReservationToReturnForExchange[];
|
|
382
396
|
reservationsToPurchase?: ReservationToPurchaseExchange[];
|
|
397
|
+
savingsPlansToPurchase?: SavingsPlanToPurchaseExchange[];
|
|
383
398
|
sessionId?: string;
|
|
384
399
|
}
|
|
385
400
|
|
|
386
|
-
// @public
|
|
401
|
+
// @public
|
|
387
402
|
export interface ExtendedErrorInfo {
|
|
388
|
-
// (undocumented)
|
|
389
403
|
code?: ErrorResponseCode;
|
|
390
404
|
// (undocumented)
|
|
391
405
|
message?: string;
|
|
@@ -405,27 +419,46 @@ export interface GetAppliedReservationListOptionalParams extends coreClient.Oper
|
|
|
405
419
|
// @public
|
|
406
420
|
export type GetAppliedReservationListResponse = AppliedReservations;
|
|
407
421
|
|
|
422
|
+
// @public
|
|
423
|
+
export interface GetCatalogNextOptionalParams extends coreClient.OperationOptions {
|
|
424
|
+
}
|
|
425
|
+
|
|
426
|
+
// @public
|
|
427
|
+
export type GetCatalogNextResponse = CatalogsResult;
|
|
428
|
+
|
|
408
429
|
// @public
|
|
409
430
|
export interface GetCatalogOptionalParams extends coreClient.OperationOptions {
|
|
431
|
+
filter?: string;
|
|
410
432
|
location?: string;
|
|
411
433
|
offerId?: string;
|
|
412
434
|
planId?: string;
|
|
413
435
|
publisherId?: string;
|
|
414
436
|
reservedResourceType?: string;
|
|
437
|
+
skip?: number;
|
|
438
|
+
take?: number;
|
|
415
439
|
}
|
|
416
440
|
|
|
417
441
|
// @public
|
|
418
|
-
export type GetCatalogResponse =
|
|
442
|
+
export type GetCatalogResponse = CatalogsResult;
|
|
443
|
+
|
|
444
|
+
// @public
|
|
445
|
+
export function getContinuationToken(page: unknown): string | undefined;
|
|
419
446
|
|
|
420
447
|
// @public
|
|
421
448
|
export type InstanceFlexibility = string;
|
|
422
449
|
|
|
423
450
|
// @public
|
|
424
451
|
export enum KnownAppliedScopeType {
|
|
452
|
+
ManagementGroup = "ManagementGroup",
|
|
425
453
|
Shared = "Shared",
|
|
426
454
|
Single = "Single"
|
|
427
455
|
}
|
|
428
456
|
|
|
457
|
+
// @public
|
|
458
|
+
export enum KnownBillingPlan {
|
|
459
|
+
P1M = "P1M"
|
|
460
|
+
}
|
|
461
|
+
|
|
429
462
|
// @public
|
|
430
463
|
export enum KnownCalculateExchangeOperationResultStatus {
|
|
431
464
|
Cancelled = "Cancelled",
|
|
@@ -434,6 +467,11 @@ export enum KnownCalculateExchangeOperationResultStatus {
|
|
|
434
467
|
Succeeded = "Succeeded"
|
|
435
468
|
}
|
|
436
469
|
|
|
470
|
+
// @public
|
|
471
|
+
export enum KnownCommitmentGrain {
|
|
472
|
+
Hourly = "Hourly"
|
|
473
|
+
}
|
|
474
|
+
|
|
437
475
|
// @public
|
|
438
476
|
export enum KnownCreatedByType {
|
|
439
477
|
Application = "Application",
|
|
@@ -448,9 +486,11 @@ export enum KnownDisplayProvisioningState {
|
|
|
448
486
|
Expired = "Expired",
|
|
449
487
|
Expiring = "Expiring",
|
|
450
488
|
Failed = "Failed",
|
|
489
|
+
NoBenefit = "NoBenefit",
|
|
451
490
|
Pending = "Pending",
|
|
452
491
|
Processing = "Processing",
|
|
453
|
-
Succeeded = "Succeeded"
|
|
492
|
+
Succeeded = "Succeeded",
|
|
493
|
+
Warning = "Warning"
|
|
454
494
|
}
|
|
455
495
|
|
|
456
496
|
// @public
|
|
@@ -666,6 +706,12 @@ export enum KnownResourceType {
|
|
|
666
706
|
Standard = "standard"
|
|
667
707
|
}
|
|
668
708
|
|
|
709
|
+
// @public
|
|
710
|
+
export enum KnownSavingsPlanTerm {
|
|
711
|
+
P1Y = "P1Y",
|
|
712
|
+
P3Y = "P3Y"
|
|
713
|
+
}
|
|
714
|
+
|
|
669
715
|
// @public
|
|
670
716
|
export enum KnownUserFriendlyAppliedScopeType {
|
|
671
717
|
ManagementGroup = "ManagementGroup",
|
|
@@ -688,7 +734,7 @@ export enum KnownUserFriendlyRenewState {
|
|
|
688
734
|
type Location_2 = string;
|
|
689
735
|
export { Location_2 as Location }
|
|
690
736
|
|
|
691
|
-
// @public
|
|
737
|
+
// @public
|
|
692
738
|
export interface MergeRequest {
|
|
693
739
|
sources?: string[];
|
|
694
740
|
}
|
|
@@ -698,7 +744,7 @@ export interface Operation {
|
|
|
698
744
|
list(options?: OperationListOptionalParams): PagedAsyncIterableIterator<OperationResponse>;
|
|
699
745
|
}
|
|
700
746
|
|
|
701
|
-
// @public
|
|
747
|
+
// @public
|
|
702
748
|
export interface OperationDisplay {
|
|
703
749
|
// (undocumented)
|
|
704
750
|
description?: string;
|
|
@@ -710,7 +756,7 @@ export interface OperationDisplay {
|
|
|
710
756
|
resource?: string;
|
|
711
757
|
}
|
|
712
758
|
|
|
713
|
-
// @public
|
|
759
|
+
// @public
|
|
714
760
|
export interface OperationList {
|
|
715
761
|
nextLink?: string;
|
|
716
762
|
// (undocumented)
|
|
@@ -731,7 +777,7 @@ export interface OperationListOptionalParams extends coreClient.OperationOptions
|
|
|
731
777
|
// @public
|
|
732
778
|
export type OperationListResponse = OperationList;
|
|
733
779
|
|
|
734
|
-
// @public
|
|
780
|
+
// @public
|
|
735
781
|
export interface OperationResponse {
|
|
736
782
|
display?: OperationDisplay;
|
|
737
783
|
isDataAction?: boolean;
|
|
@@ -749,8 +795,9 @@ export interface OperationResultError {
|
|
|
749
795
|
// @public
|
|
750
796
|
export type OperationStatus = string;
|
|
751
797
|
|
|
752
|
-
// @public
|
|
798
|
+
// @public
|
|
753
799
|
export interface Patch {
|
|
800
|
+
appliedScopeProperties?: AppliedScopeProperties;
|
|
754
801
|
appliedScopes?: string[];
|
|
755
802
|
appliedScopeType?: AppliedScopeType;
|
|
756
803
|
instanceFlexibility?: InstanceFlexibility;
|
|
@@ -758,11 +805,11 @@ export interface Patch {
|
|
|
758
805
|
renew?: boolean;
|
|
759
806
|
// (undocumented)
|
|
760
807
|
renewProperties?: PatchPropertiesRenewProperties;
|
|
808
|
+
reviewDateTime?: Date;
|
|
761
809
|
}
|
|
762
810
|
|
|
763
811
|
// @public (undocumented)
|
|
764
812
|
export interface PatchPropertiesRenewProperties {
|
|
765
|
-
// (undocumented)
|
|
766
813
|
purchaseProperties?: PurchaseRequest;
|
|
767
814
|
}
|
|
768
815
|
|
|
@@ -781,7 +828,7 @@ export interface PaymentDetail {
|
|
|
781
828
|
// @public
|
|
782
829
|
export type PaymentStatus = string;
|
|
783
830
|
|
|
784
|
-
// @public
|
|
831
|
+
// @public
|
|
785
832
|
export interface Price {
|
|
786
833
|
// (undocumented)
|
|
787
834
|
amount?: number;
|
|
@@ -791,8 +838,13 @@ export interface Price {
|
|
|
791
838
|
// @public
|
|
792
839
|
export type ProvisioningState = string;
|
|
793
840
|
|
|
794
|
-
// @public
|
|
841
|
+
// @public
|
|
842
|
+
export interface ProxyResource extends Resource {
|
|
843
|
+
}
|
|
844
|
+
|
|
845
|
+
// @public
|
|
795
846
|
export interface PurchaseRequest {
|
|
847
|
+
appliedScopeProperties?: AppliedScopeProperties;
|
|
796
848
|
appliedScopes?: string[];
|
|
797
849
|
appliedScopeType?: AppliedScopeType;
|
|
798
850
|
billingPlan?: ReservationBillingPlan;
|
|
@@ -803,7 +855,7 @@ export interface PurchaseRequest {
|
|
|
803
855
|
renew?: boolean;
|
|
804
856
|
reservedResourceProperties?: PurchaseRequestPropertiesReservedResourceProperties;
|
|
805
857
|
reservedResourceType?: ReservedResourceType;
|
|
806
|
-
|
|
858
|
+
reviewDateTime?: Date;
|
|
807
859
|
sku?: SkuName;
|
|
808
860
|
term?: ReservationTerm;
|
|
809
861
|
}
|
|
@@ -948,9 +1000,6 @@ export type QuotaRequestStatusGetResponse = QuotaRequestDetails;
|
|
|
948
1000
|
|
|
949
1001
|
// @public
|
|
950
1002
|
export interface QuotaRequestStatusListNextOptionalParams extends coreClient.OperationOptions {
|
|
951
|
-
filter?: string;
|
|
952
|
-
skiptoken?: string;
|
|
953
|
-
top?: number;
|
|
954
1003
|
}
|
|
955
1004
|
|
|
956
1005
|
// @public
|
|
@@ -994,11 +1043,8 @@ export type QuotaUpdateResponse = CurrentQuotaLimitBase;
|
|
|
994
1043
|
|
|
995
1044
|
// @public
|
|
996
1045
|
export interface RefundBillingInformation {
|
|
997
|
-
// (undocumented)
|
|
998
1046
|
billingCurrencyProratedAmount?: Price;
|
|
999
|
-
// (undocumented)
|
|
1000
1047
|
billingCurrencyRemainingCommitmentAmount?: Price;
|
|
1001
|
-
// (undocumented)
|
|
1002
1048
|
billingCurrencyTotalPaidAmount?: Price;
|
|
1003
1049
|
billingPlan?: ReservationBillingPlan;
|
|
1004
1050
|
completedTransactions?: number;
|
|
@@ -1007,7 +1053,6 @@ export interface RefundBillingInformation {
|
|
|
1007
1053
|
|
|
1008
1054
|
// @public
|
|
1009
1055
|
export interface RefundPolicyError {
|
|
1010
|
-
// (undocumented)
|
|
1011
1056
|
code?: ErrorResponseCode;
|
|
1012
1057
|
// (undocumented)
|
|
1013
1058
|
message?: string;
|
|
@@ -1020,20 +1065,17 @@ export interface RefundPolicyResult {
|
|
|
1020
1065
|
|
|
1021
1066
|
// @public
|
|
1022
1067
|
export interface RefundPolicyResultProperty {
|
|
1023
|
-
// (undocumented)
|
|
1024
1068
|
consumedRefundsTotal?: Price;
|
|
1025
|
-
// (undocumented)
|
|
1026
1069
|
maxRefundLimit?: Price;
|
|
1027
1070
|
policyErrors?: RefundPolicyError[];
|
|
1028
1071
|
}
|
|
1029
1072
|
|
|
1030
|
-
// @public
|
|
1073
|
+
// @public
|
|
1031
1074
|
export interface RefundRequest {
|
|
1032
|
-
// (undocumented)
|
|
1033
1075
|
properties?: RefundRequestProperties;
|
|
1034
1076
|
}
|
|
1035
1077
|
|
|
1036
|
-
// @public
|
|
1078
|
+
// @public
|
|
1037
1079
|
export interface RefundRequestProperties {
|
|
1038
1080
|
reservationToReturn?: ReservationToReturn;
|
|
1039
1081
|
returnReason?: string;
|
|
@@ -1041,30 +1083,26 @@ export interface RefundRequestProperties {
|
|
|
1041
1083
|
sessionId?: string;
|
|
1042
1084
|
}
|
|
1043
1085
|
|
|
1044
|
-
// @public
|
|
1086
|
+
// @public
|
|
1045
1087
|
export interface RefundResponse {
|
|
1046
1088
|
id?: string;
|
|
1047
|
-
// (undocumented)
|
|
1048
1089
|
properties?: RefundResponseProperties;
|
|
1049
1090
|
}
|
|
1050
1091
|
|
|
1051
|
-
// @public
|
|
1092
|
+
// @public
|
|
1052
1093
|
export interface RefundResponseProperties {
|
|
1053
1094
|
billingInformation?: RefundBillingInformation;
|
|
1054
|
-
// (undocumented)
|
|
1055
1095
|
billingRefundAmount?: Price;
|
|
1056
1096
|
policyResult?: RefundPolicyResult;
|
|
1057
|
-
// (undocumented)
|
|
1058
1097
|
pricingRefundAmount?: Price;
|
|
1059
1098
|
quantity?: number;
|
|
1060
1099
|
sessionId?: string;
|
|
1061
1100
|
}
|
|
1062
1101
|
|
|
1063
|
-
// @public
|
|
1102
|
+
// @public
|
|
1064
1103
|
export interface RenewPropertiesResponse {
|
|
1065
1104
|
billingCurrencyTotal?: RenewPropertiesResponseBillingCurrencyTotal;
|
|
1066
1105
|
pricingCurrencyTotal?: RenewPropertiesResponsePricingCurrencyTotal;
|
|
1067
|
-
// (undocumented)
|
|
1068
1106
|
purchaseProperties?: PurchaseRequest;
|
|
1069
1107
|
}
|
|
1070
1108
|
|
|
@@ -1093,10 +1131,10 @@ export interface Reservation {
|
|
|
1093
1131
|
beginSplitAndWait(reservationOrderId: string, body: SplitRequest, options?: ReservationSplitOptionalParams): Promise<ReservationSplitResponse>;
|
|
1094
1132
|
beginUpdate(reservationOrderId: string, reservationId: string, parameters: Patch, options?: ReservationUpdateOptionalParams): Promise<PollerLike<PollOperationState<ReservationUpdateResponse>, ReservationUpdateResponse>>;
|
|
1095
1133
|
beginUpdateAndWait(reservationOrderId: string, reservationId: string, parameters: Patch, options?: ReservationUpdateOptionalParams): Promise<ReservationUpdateResponse>;
|
|
1096
|
-
get(
|
|
1134
|
+
get(reservationOrderId: string, reservationId: string, options?: ReservationGetOptionalParams): Promise<ReservationGetResponse>;
|
|
1097
1135
|
list(reservationOrderId: string, options?: ReservationListOptionalParams): PagedAsyncIterableIterator<ReservationResponse>;
|
|
1098
1136
|
listAll(options?: ReservationListAllOptionalParams): PagedAsyncIterableIterator<ReservationResponse>;
|
|
1099
|
-
listRevisions(
|
|
1137
|
+
listRevisions(reservationOrderId: string, reservationId: string, options?: ReservationListRevisionsOptionalParams): PagedAsyncIterableIterator<ReservationResponse>;
|
|
1100
1138
|
unarchive(reservationOrderId: string, reservationId: string, options?: ReservationUnarchiveOptionalParams): Promise<void>;
|
|
1101
1139
|
}
|
|
1102
1140
|
|
|
@@ -1124,7 +1162,7 @@ export interface ReservationGetOptionalParams extends coreClient.OperationOption
|
|
|
1124
1162
|
// @public
|
|
1125
1163
|
export type ReservationGetResponse = ReservationResponse;
|
|
1126
1164
|
|
|
1127
|
-
// @public
|
|
1165
|
+
// @public
|
|
1128
1166
|
export interface ReservationList {
|
|
1129
1167
|
nextLink?: string;
|
|
1130
1168
|
// (undocumented)
|
|
@@ -1133,12 +1171,6 @@ export interface ReservationList {
|
|
|
1133
1171
|
|
|
1134
1172
|
// @public
|
|
1135
1173
|
export interface ReservationListAllNextOptionalParams extends coreClient.OperationOptions {
|
|
1136
|
-
filter?: string;
|
|
1137
|
-
orderby?: string;
|
|
1138
|
-
refreshSummary?: string;
|
|
1139
|
-
selectedState?: string;
|
|
1140
|
-
skiptoken?: number;
|
|
1141
|
-
take?: number;
|
|
1142
1174
|
}
|
|
1143
1175
|
|
|
1144
1176
|
// @public
|
|
@@ -1185,13 +1217,19 @@ export interface ReservationListRevisionsOptionalParams extends coreClient.Opera
|
|
|
1185
1217
|
// @public
|
|
1186
1218
|
export type ReservationListRevisionsResponse = ReservationList;
|
|
1187
1219
|
|
|
1220
|
+
// @public
|
|
1221
|
+
export interface ReservationMergeHeaders {
|
|
1222
|
+
location?: string;
|
|
1223
|
+
retryAfter?: number;
|
|
1224
|
+
}
|
|
1225
|
+
|
|
1188
1226
|
// @public
|
|
1189
1227
|
export interface ReservationMergeOptionalParams extends coreClient.OperationOptions {
|
|
1190
1228
|
resumeFrom?: string;
|
|
1191
1229
|
updateIntervalInMs?: number;
|
|
1192
1230
|
}
|
|
1193
1231
|
|
|
1194
|
-
// @public
|
|
1232
|
+
// @public
|
|
1195
1233
|
export interface ReservationMergeProperties {
|
|
1196
1234
|
mergeDestination?: string;
|
|
1197
1235
|
mergeSources?: string[];
|
|
@@ -1241,7 +1279,7 @@ export interface ReservationOrderGetOptionalParams extends coreClient.OperationO
|
|
|
1241
1279
|
// @public
|
|
1242
1280
|
export type ReservationOrderGetResponse = ReservationOrderResponse;
|
|
1243
1281
|
|
|
1244
|
-
// @public
|
|
1282
|
+
// @public
|
|
1245
1283
|
export interface ReservationOrderList {
|
|
1246
1284
|
nextLink?: string;
|
|
1247
1285
|
// (undocumented)
|
|
@@ -1262,6 +1300,12 @@ export interface ReservationOrderListOptionalParams extends coreClient.Operation
|
|
|
1262
1300
|
// @public
|
|
1263
1301
|
export type ReservationOrderListResponse = ReservationOrderList;
|
|
1264
1302
|
|
|
1303
|
+
// @public
|
|
1304
|
+
export interface ReservationOrderPurchaseHeaders {
|
|
1305
|
+
location?: string;
|
|
1306
|
+
retryAfter?: number;
|
|
1307
|
+
}
|
|
1308
|
+
|
|
1265
1309
|
// @public
|
|
1266
1310
|
export interface ReservationOrderPurchaseOptionalParams extends coreClient.OperationOptions {
|
|
1267
1311
|
resumeFrom?: string;
|
|
@@ -1271,7 +1315,7 @@ export interface ReservationOrderPurchaseOptionalParams extends coreClient.Opera
|
|
|
1271
1315
|
// @public
|
|
1272
1316
|
export type ReservationOrderPurchaseResponse = ReservationOrderResponse;
|
|
1273
1317
|
|
|
1274
|
-
// @public
|
|
1318
|
+
// @public
|
|
1275
1319
|
export interface ReservationOrderResponse {
|
|
1276
1320
|
benefitStartTime?: Date;
|
|
1277
1321
|
billingPlan?: ReservationBillingPlan;
|
|
@@ -1280,6 +1324,7 @@ export interface ReservationOrderResponse {
|
|
|
1280
1324
|
// (undocumented)
|
|
1281
1325
|
etag?: number;
|
|
1282
1326
|
expiryDate?: Date;
|
|
1327
|
+
expiryDateTime?: Date;
|
|
1283
1328
|
readonly id?: string;
|
|
1284
1329
|
readonly name?: string;
|
|
1285
1330
|
originalQuantity?: number;
|
|
@@ -1288,23 +1333,20 @@ export interface ReservationOrderResponse {
|
|
|
1288
1333
|
requestDateTime?: Date;
|
|
1289
1334
|
// (undocumented)
|
|
1290
1335
|
reservations?: ReservationResponse[];
|
|
1336
|
+
reviewDateTime?: Date;
|
|
1291
1337
|
readonly systemData?: SystemData;
|
|
1292
1338
|
term?: ReservationTerm;
|
|
1293
1339
|
readonly type?: string;
|
|
1294
1340
|
}
|
|
1295
1341
|
|
|
1296
1342
|
// @public
|
|
1297
|
-
export interface ReservationResponse {
|
|
1343
|
+
export interface ReservationResponse extends ProxyResource {
|
|
1298
1344
|
// (undocumented)
|
|
1299
1345
|
etag?: number;
|
|
1300
|
-
readonly id?: string;
|
|
1301
1346
|
kind?: "Microsoft.Compute";
|
|
1302
1347
|
location?: string;
|
|
1303
|
-
readonly name?: string;
|
|
1304
1348
|
properties?: ReservationsProperties;
|
|
1305
1349
|
sku?: SkuName;
|
|
1306
|
-
readonly systemData?: SystemData;
|
|
1307
|
-
readonly type?: string;
|
|
1308
1350
|
}
|
|
1309
1351
|
|
|
1310
1352
|
// @public
|
|
@@ -1314,13 +1356,19 @@ export interface ReservationsListResult {
|
|
|
1314
1356
|
readonly value?: ReservationResponse[];
|
|
1315
1357
|
}
|
|
1316
1358
|
|
|
1359
|
+
// @public
|
|
1360
|
+
export interface ReservationSplitHeaders {
|
|
1361
|
+
location?: string;
|
|
1362
|
+
retryAfter?: number;
|
|
1363
|
+
}
|
|
1364
|
+
|
|
1317
1365
|
// @public
|
|
1318
1366
|
export interface ReservationSplitOptionalParams extends coreClient.OperationOptions {
|
|
1319
1367
|
resumeFrom?: string;
|
|
1320
1368
|
updateIntervalInMs?: number;
|
|
1321
1369
|
}
|
|
1322
1370
|
|
|
1323
|
-
// @public
|
|
1371
|
+
// @public
|
|
1324
1372
|
export interface ReservationSplitProperties {
|
|
1325
1373
|
splitDestinations?: string[];
|
|
1326
1374
|
splitSource?: string;
|
|
@@ -1331,6 +1379,7 @@ export type ReservationSplitResponse = ReservationResponse[];
|
|
|
1331
1379
|
|
|
1332
1380
|
// @public
|
|
1333
1381
|
export interface ReservationsProperties {
|
|
1382
|
+
appliedScopeProperties?: AppliedScopeProperties;
|
|
1334
1383
|
appliedScopes?: string[];
|
|
1335
1384
|
appliedScopeType?: AppliedScopeType;
|
|
1336
1385
|
archived?: boolean;
|
|
@@ -1342,24 +1391,25 @@ export interface ReservationsProperties {
|
|
|
1342
1391
|
readonly displayProvisioningState?: string;
|
|
1343
1392
|
effectiveDateTime?: Date;
|
|
1344
1393
|
expiryDate?: Date;
|
|
1394
|
+
expiryDateTime?: Date;
|
|
1345
1395
|
extendedStatusInfo?: ExtendedStatusInfo;
|
|
1346
1396
|
instanceFlexibility?: InstanceFlexibility;
|
|
1347
1397
|
readonly lastUpdatedDateTime?: Date;
|
|
1348
|
-
// (undocumented)
|
|
1349
1398
|
mergeProperties?: ReservationMergeProperties;
|
|
1350
1399
|
provisioningState?: ProvisioningState;
|
|
1351
1400
|
readonly provisioningSubState?: string;
|
|
1352
1401
|
purchaseDate?: Date;
|
|
1402
|
+
purchaseDateTime?: Date;
|
|
1353
1403
|
quantity?: number;
|
|
1354
1404
|
renew?: boolean;
|
|
1355
1405
|
renewDestination?: string;
|
|
1356
|
-
// (undocumented)
|
|
1357
1406
|
renewProperties?: RenewPropertiesResponse;
|
|
1358
1407
|
renewSource?: string;
|
|
1359
1408
|
reservedResourceType?: ReservedResourceType;
|
|
1409
|
+
reviewDateTime?: Date;
|
|
1360
1410
|
skuDescription?: string;
|
|
1361
|
-
// (undocumented)
|
|
1362
1411
|
splitProperties?: ReservationSplitProperties;
|
|
1412
|
+
swapProperties?: ReservationSwapProperties;
|
|
1363
1413
|
term?: ReservationTerm;
|
|
1364
1414
|
readonly userFriendlyAppliedScopeType?: string;
|
|
1365
1415
|
readonly userFriendlyRenewState?: string;
|
|
@@ -1381,9 +1431,17 @@ export interface ReservationSummary {
|
|
|
1381
1431
|
readonly expiredCount?: number;
|
|
1382
1432
|
readonly expiringCount?: number;
|
|
1383
1433
|
readonly failedCount?: number;
|
|
1434
|
+
readonly noBenefitCount?: number;
|
|
1384
1435
|
readonly pendingCount?: number;
|
|
1385
1436
|
readonly processingCount?: number;
|
|
1386
1437
|
readonly succeededCount?: number;
|
|
1438
|
+
readonly warningCount?: number;
|
|
1439
|
+
}
|
|
1440
|
+
|
|
1441
|
+
// @public
|
|
1442
|
+
export interface ReservationSwapProperties {
|
|
1443
|
+
swapDestination?: string;
|
|
1444
|
+
swapSource?: string;
|
|
1387
1445
|
}
|
|
1388
1446
|
|
|
1389
1447
|
// @public
|
|
@@ -1392,7 +1450,6 @@ export type ReservationTerm = string;
|
|
|
1392
1450
|
// @public
|
|
1393
1451
|
export interface ReservationToExchange {
|
|
1394
1452
|
billingInformation?: BillingInformation;
|
|
1395
|
-
// (undocumented)
|
|
1396
1453
|
billingRefundAmount?: Price;
|
|
1397
1454
|
quantity?: number;
|
|
1398
1455
|
reservationId?: string;
|
|
@@ -1400,17 +1457,13 @@ export interface ReservationToExchange {
|
|
|
1400
1457
|
|
|
1401
1458
|
// @public
|
|
1402
1459
|
export interface ReservationToPurchaseCalculateExchange {
|
|
1403
|
-
// (undocumented)
|
|
1404
1460
|
billingCurrencyTotal?: Price;
|
|
1405
|
-
// (undocumented)
|
|
1406
1461
|
properties?: PurchaseRequest;
|
|
1407
1462
|
}
|
|
1408
1463
|
|
|
1409
1464
|
// @public
|
|
1410
1465
|
export interface ReservationToPurchaseExchange {
|
|
1411
|
-
// (undocumented)
|
|
1412
1466
|
billingCurrencyTotal?: Price;
|
|
1413
|
-
// (undocumented)
|
|
1414
1467
|
properties?: PurchaseRequest;
|
|
1415
1468
|
reservationId?: string;
|
|
1416
1469
|
reservationOrderId?: string;
|
|
@@ -1426,7 +1479,6 @@ export interface ReservationToReturn {
|
|
|
1426
1479
|
// @public
|
|
1427
1480
|
export interface ReservationToReturnForExchange {
|
|
1428
1481
|
billingInformation?: BillingInformation;
|
|
1429
|
-
// (undocumented)
|
|
1430
1482
|
billingRefundAmount?: Price;
|
|
1431
1483
|
quantity?: number;
|
|
1432
1484
|
reservationId?: string;
|
|
@@ -1437,6 +1489,13 @@ export interface ReservationToReturnForExchange {
|
|
|
1437
1489
|
export interface ReservationUnarchiveOptionalParams extends coreClient.OperationOptions {
|
|
1438
1490
|
}
|
|
1439
1491
|
|
|
1492
|
+
// @public
|
|
1493
|
+
export interface ReservationUpdateHeaders {
|
|
1494
|
+
azureAsyncOperation?: string;
|
|
1495
|
+
location?: string;
|
|
1496
|
+
retryAfter?: number;
|
|
1497
|
+
}
|
|
1498
|
+
|
|
1440
1499
|
// @public
|
|
1441
1500
|
export interface ReservationUpdateOptionalParams extends coreClient.OperationOptions {
|
|
1442
1501
|
resumeFrom?: string;
|
|
@@ -1457,6 +1516,14 @@ export interface ReservationUtilizationAggregates {
|
|
|
1457
1516
|
// @public
|
|
1458
1517
|
export type ReservedResourceType = string;
|
|
1459
1518
|
|
|
1519
|
+
// @public
|
|
1520
|
+
export interface Resource {
|
|
1521
|
+
readonly id?: string;
|
|
1522
|
+
readonly name?: string;
|
|
1523
|
+
readonly systemData?: SystemData;
|
|
1524
|
+
readonly type?: string;
|
|
1525
|
+
}
|
|
1526
|
+
|
|
1460
1527
|
// @public
|
|
1461
1528
|
export interface ResourceName {
|
|
1462
1529
|
readonly localizedValue?: string;
|
|
@@ -1468,7 +1535,8 @@ export type ResourceType = string;
|
|
|
1468
1535
|
|
|
1469
1536
|
// @public
|
|
1470
1537
|
export interface Return {
|
|
1471
|
-
|
|
1538
|
+
beginPost(reservationOrderId: string, body: RefundRequest, options?: ReturnPostOptionalParams): Promise<PollerLike<PollOperationState<ReturnPostResponse>, ReturnPostResponse>>;
|
|
1539
|
+
beginPostAndWait(reservationOrderId: string, body: RefundRequest, options?: ReturnPostOptionalParams): Promise<ReturnPostResponse>;
|
|
1472
1540
|
}
|
|
1473
1541
|
|
|
1474
1542
|
// @public
|
|
@@ -1479,12 +1547,44 @@ export interface ReturnPostHeaders {
|
|
|
1479
1547
|
|
|
1480
1548
|
// @public
|
|
1481
1549
|
export interface ReturnPostOptionalParams extends coreClient.OperationOptions {
|
|
1550
|
+
resumeFrom?: string;
|
|
1551
|
+
updateIntervalInMs?: number;
|
|
1482
1552
|
}
|
|
1483
1553
|
|
|
1484
1554
|
// @public
|
|
1485
1555
|
export type ReturnPostResponse = ReturnPostHeaders & RefundResponse;
|
|
1486
1556
|
|
|
1487
|
-
// @public
|
|
1557
|
+
// @public
|
|
1558
|
+
export interface SavingsPlanPurchaseRequest {
|
|
1559
|
+
appliedScopeProperties?: AppliedScopeProperties;
|
|
1560
|
+
appliedScopeType?: AppliedScopeType;
|
|
1561
|
+
billingPlan?: BillingPlan;
|
|
1562
|
+
billingScopeId?: string;
|
|
1563
|
+
commitment?: Commitment;
|
|
1564
|
+
displayName?: string;
|
|
1565
|
+
sku?: SkuName;
|
|
1566
|
+
term?: SavingsPlanTerm;
|
|
1567
|
+
}
|
|
1568
|
+
|
|
1569
|
+
// @public
|
|
1570
|
+
export type SavingsPlanTerm = string;
|
|
1571
|
+
|
|
1572
|
+
// @public
|
|
1573
|
+
export interface SavingsPlanToPurchaseCalculateExchange {
|
|
1574
|
+
billingCurrencyTotal?: Price;
|
|
1575
|
+
properties?: SavingsPlanPurchaseRequest;
|
|
1576
|
+
}
|
|
1577
|
+
|
|
1578
|
+
// @public
|
|
1579
|
+
export interface SavingsPlanToPurchaseExchange {
|
|
1580
|
+
billingCurrencyTotal?: Price;
|
|
1581
|
+
properties?: SavingsPlanPurchaseRequest;
|
|
1582
|
+
savingsPlanId?: string;
|
|
1583
|
+
savingsPlanOrderId?: string;
|
|
1584
|
+
status?: OperationStatus;
|
|
1585
|
+
}
|
|
1586
|
+
|
|
1587
|
+
// @public
|
|
1488
1588
|
export interface ScopeProperties {
|
|
1489
1589
|
// (undocumented)
|
|
1490
1590
|
scope?: string;
|
|
@@ -1505,32 +1605,32 @@ export interface ServiceErrorDetail {
|
|
|
1505
1605
|
readonly message?: string;
|
|
1506
1606
|
}
|
|
1507
1607
|
|
|
1508
|
-
// @public
|
|
1608
|
+
// @public
|
|
1509
1609
|
export interface SkuCapability {
|
|
1510
1610
|
name?: string;
|
|
1511
1611
|
value?: string;
|
|
1512
1612
|
}
|
|
1513
1613
|
|
|
1514
|
-
// @public
|
|
1614
|
+
// @public
|
|
1515
1615
|
export interface SkuName {
|
|
1516
1616
|
// (undocumented)
|
|
1517
1617
|
name?: string;
|
|
1518
1618
|
}
|
|
1519
1619
|
|
|
1520
|
-
// @public
|
|
1620
|
+
// @public
|
|
1521
1621
|
export interface SkuProperty {
|
|
1522
1622
|
name?: string;
|
|
1523
1623
|
value?: string;
|
|
1524
1624
|
}
|
|
1525
1625
|
|
|
1526
|
-
// @public
|
|
1626
|
+
// @public
|
|
1527
1627
|
export interface SkuRestriction {
|
|
1528
1628
|
reasonCode?: string;
|
|
1529
1629
|
type?: string;
|
|
1530
1630
|
values?: string[];
|
|
1531
1631
|
}
|
|
1532
1632
|
|
|
1533
|
-
// @public
|
|
1633
|
+
// @public
|
|
1534
1634
|
export interface SplitRequest {
|
|
1535
1635
|
quantities?: number[];
|
|
1536
1636
|
reservationId?: string;
|
|
@@ -1547,7 +1647,7 @@ export interface SubRequest {
|
|
|
1547
1647
|
unit?: string;
|
|
1548
1648
|
}
|
|
1549
1649
|
|
|
1550
|
-
// @public
|
|
1650
|
+
// @public
|
|
1551
1651
|
export interface SubscriptionScopeProperties {
|
|
1552
1652
|
// (undocumented)
|
|
1553
1653
|
scopes?: ScopeProperties[];
|