@azure/arm-costmanagement 1.0.0-alpha.20250619.1 → 1.0.0-alpha.20250718.1

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.
@@ -1,2064 +1,2064 @@
1
- ## API Report File for "@azure/arm-costmanagement"
2
-
3
- > Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
4
-
5
- ```ts
6
-
7
- import * as coreAuth from '@azure/core-auth';
8
- import * as coreClient from '@azure/core-client';
9
- import { OperationState } from '@azure/core-lro';
10
- import { PagedAsyncIterableIterator } from '@azure/core-paging';
11
- import { SimplePollerLike } from '@azure/core-lro';
12
-
13
- // @public
14
- export type AccumulatedType = string;
15
-
16
- // @public
17
- export type ActionType = string;
18
-
19
- // @public
20
- export interface Alert extends CostManagementProxyResource {
21
- closeTime?: string;
22
- costEntityId?: string;
23
- creationTime?: string;
24
- definition?: AlertPropertiesDefinition;
25
- description?: string;
26
- details?: AlertPropertiesDetails;
27
- modificationTime?: string;
28
- source?: AlertSource;
29
- status?: AlertStatus;
30
- statusModificationTime?: string;
31
- statusModificationUserName?: string;
32
- }
33
-
34
- // @public
35
- export type AlertCategory = string;
36
-
37
- // @public
38
- export type AlertCriteria = string;
39
-
40
- // @public
41
- export type AlertOperator = string;
42
-
43
- // @public
44
- export interface AlertPropertiesDefinition {
45
- category?: AlertCategory;
46
- criteria?: AlertCriteria;
47
- type?: AlertType;
48
- }
49
-
50
- // @public
51
- export interface AlertPropertiesDetails {
52
- amount?: number;
53
- companyName?: string;
54
- contactEmails?: string[];
55
- contactGroups?: string[];
56
- contactRoles?: string[];
57
- currentSpend?: number;
58
- departmentName?: string;
59
- enrollmentEndDate?: string;
60
- enrollmentNumber?: string;
61
- enrollmentStartDate?: string;
62
- invoicingThreshold?: number;
63
- meterFilter?: any[];
64
- operator?: AlertOperator;
65
- overridingAlert?: string;
66
- periodStartDate?: string;
67
- resourceFilter?: any[];
68
- resourceGroupFilter?: any[];
69
- tagFilter?: Record<string, unknown>;
70
- threshold?: number;
71
- timeGrainType?: AlertTimeGrainType;
72
- triggeredBy?: string;
73
- unit?: string;
74
- }
75
-
76
- // @public
77
- export interface Alerts {
78
- dismiss(scope: string, alertId: string, parameters: DismissAlertPayload, options?: AlertsDismissOptionalParams): Promise<AlertsDismissResponse>;
79
- get(scope: string, alertId: string, options?: AlertsGetOptionalParams): Promise<AlertsGetResponse>;
80
- list(scope: string, options?: AlertsListOptionalParams): Promise<AlertsListResponse>;
81
- listExternal(externalCloudProviderType: ExternalCloudProviderType, externalCloudProviderId: string, options?: AlertsListExternalOptionalParams): Promise<AlertsListExternalResponse>;
82
- }
83
-
84
- // @public
85
- export interface AlertsDismissOptionalParams extends coreClient.OperationOptions {
86
- }
87
-
88
- // @public
89
- export type AlertsDismissResponse = Alert;
90
-
91
- // @public
92
- export interface AlertsGetOptionalParams extends coreClient.OperationOptions {
93
- }
94
-
95
- // @public
96
- export type AlertsGetResponse = Alert;
97
-
98
- // @public
99
- export interface AlertsListExternalOptionalParams extends coreClient.OperationOptions {
100
- }
101
-
102
- // @public
103
- export type AlertsListExternalResponse = AlertsResult;
104
-
105
- // @public
106
- export interface AlertsListOptionalParams extends coreClient.OperationOptions {
107
- }
108
-
109
- // @public
110
- export type AlertsListResponse = AlertsResult;
111
-
112
- // @public
113
- export type AlertSource = string;
114
-
115
- // @public
116
- export interface AlertsResult {
117
- readonly nextLink?: string;
118
- readonly value?: Alert[];
119
- }
120
-
121
- // @public
122
- export type AlertStatus = string;
123
-
124
- // @public
125
- export type AlertTimeGrainType = string;
126
-
127
- // @public
128
- export type AlertType = string;
129
-
130
- // @public
131
- export interface AllSavingsBenefitDetails {
132
- readonly averageUtilizationPercentage?: number;
133
- readonly benefitCost?: number;
134
- readonly commitmentAmount?: number;
135
- readonly coveragePercentage?: number;
136
- readonly overageCost?: number;
137
- readonly savingsAmount?: number;
138
- readonly savingsPercentage?: number;
139
- readonly totalCost?: number;
140
- readonly wastageCost?: number;
141
- }
142
-
143
- // @public
144
- export interface AllSavingsList {
145
- readonly nextLink?: string;
146
- readonly value?: AllSavingsBenefitDetails[];
147
- }
148
-
149
- // @public
150
- export type BenefitKind = string;
151
-
152
- // @public
153
- export interface BenefitRecommendationModel extends BenefitResource {
154
- properties?: BenefitRecommendationPropertiesUnion;
155
- }
156
-
157
- // @public
158
- export interface BenefitRecommendationProperties {
159
- readonly allRecommendationDetails?: AllSavingsList;
160
- readonly armSkuName?: string;
161
- commitmentGranularity?: Grain;
162
- readonly costWithoutBenefit?: number;
163
- readonly currencyCode?: string;
164
- readonly firstConsumptionDate?: Date;
165
- readonly lastConsumptionDate?: Date;
166
- lookBackPeriod?: LookBackPeriod;
167
- recommendationDetails?: AllSavingsBenefitDetails;
168
- scope: "Single" | "Shared";
169
- term?: Term;
170
- readonly totalHours?: number;
171
- usage?: RecommendationUsageDetails;
172
- }
173
-
174
- // @public (undocumented)
175
- export type BenefitRecommendationPropertiesUnion = BenefitRecommendationProperties | SingleScopeBenefitRecommendationProperties | SharedScopeBenefitRecommendationProperties;
176
-
177
- // @public
178
- export interface BenefitRecommendations {
179
- list(billingScope: string, options?: BenefitRecommendationsListOptionalParams): PagedAsyncIterableIterator<BenefitRecommendationModel>;
180
- }
181
-
182
- // @public
183
- export interface BenefitRecommendationsListNextOptionalParams extends coreClient.OperationOptions {
184
- }
185
-
186
- // @public
187
- export type BenefitRecommendationsListNextResponse = BenefitRecommendationsListResult;
188
-
189
- // @public
190
- export interface BenefitRecommendationsListOptionalParams extends coreClient.OperationOptions {
191
- expand?: string;
192
- filter?: string;
193
- orderby?: string;
194
- }
195
-
196
- // @public
197
- export type BenefitRecommendationsListResponse = BenefitRecommendationsListResult;
198
-
199
- // @public
200
- export interface BenefitRecommendationsListResult {
201
- readonly nextLink?: string;
202
- readonly value?: BenefitRecommendationModel[];
203
- }
204
-
205
- // @public
206
- export interface BenefitResource extends Resource {
207
- kind?: BenefitKind;
208
- }
209
-
210
- // @public
211
- export interface BenefitUtilizationSummaries {
212
- listByBillingAccountId(billingAccountId: string, options?: BenefitUtilizationSummariesListByBillingAccountIdOptionalParams): PagedAsyncIterableIterator<BenefitUtilizationSummaryUnion>;
213
- listByBillingProfileId(billingAccountId: string, billingProfileId: string, options?: BenefitUtilizationSummariesListByBillingProfileIdOptionalParams): PagedAsyncIterableIterator<BenefitUtilizationSummaryUnion>;
214
- listBySavingsPlanId(savingsPlanOrderId: string, savingsPlanId: string, options?: BenefitUtilizationSummariesListBySavingsPlanIdOptionalParams): PagedAsyncIterableIterator<BenefitUtilizationSummaryUnion>;
215
- listBySavingsPlanOrder(savingsPlanOrderId: string, options?: BenefitUtilizationSummariesListBySavingsPlanOrderOptionalParams): PagedAsyncIterableIterator<BenefitUtilizationSummaryUnion>;
216
- }
217
-
218
- // @public
219
- export interface BenefitUtilizationSummariesListByBillingAccountIdNextOptionalParams extends coreClient.OperationOptions {
220
- }
221
-
222
- // @public
223
- export type BenefitUtilizationSummariesListByBillingAccountIdNextResponse = BenefitUtilizationSummariesListResult;
224
-
225
- // @public
226
- export interface BenefitUtilizationSummariesListByBillingAccountIdOptionalParams extends coreClient.OperationOptions {
227
- filter?: string;
228
- grainParameter?: GrainParameter;
229
- }
230
-
231
- // @public
232
- export type BenefitUtilizationSummariesListByBillingAccountIdResponse = BenefitUtilizationSummariesListResult;
233
-
234
- // @public
235
- export interface BenefitUtilizationSummariesListByBillingProfileIdNextOptionalParams extends coreClient.OperationOptions {
236
- }
237
-
238
- // @public
239
- export type BenefitUtilizationSummariesListByBillingProfileIdNextResponse = BenefitUtilizationSummariesListResult;
240
-
241
- // @public
242
- export interface BenefitUtilizationSummariesListByBillingProfileIdOptionalParams extends coreClient.OperationOptions {
243
- filter?: string;
244
- grainParameter?: GrainParameter;
245
- }
246
-
247
- // @public
248
- export type BenefitUtilizationSummariesListByBillingProfileIdResponse = BenefitUtilizationSummariesListResult;
249
-
250
- // @public
251
- export interface BenefitUtilizationSummariesListBySavingsPlanIdNextOptionalParams extends coreClient.OperationOptions {
252
- }
253
-
254
- // @public
255
- export type BenefitUtilizationSummariesListBySavingsPlanIdNextResponse = BenefitUtilizationSummariesListResult;
256
-
257
- // @public
258
- export interface BenefitUtilizationSummariesListBySavingsPlanIdOptionalParams extends coreClient.OperationOptions {
259
- filter?: string;
260
- grainParameter?: GrainParameter;
261
- }
262
-
263
- // @public
264
- export type BenefitUtilizationSummariesListBySavingsPlanIdResponse = BenefitUtilizationSummariesListResult;
265
-
266
- // @public
267
- export interface BenefitUtilizationSummariesListBySavingsPlanOrderNextOptionalParams extends coreClient.OperationOptions {
268
- }
269
-
270
- // @public
271
- export type BenefitUtilizationSummariesListBySavingsPlanOrderNextResponse = BenefitUtilizationSummariesListResult;
272
-
273
- // @public
274
- export interface BenefitUtilizationSummariesListBySavingsPlanOrderOptionalParams extends coreClient.OperationOptions {
275
- filter?: string;
276
- grainParameter?: GrainParameter;
277
- }
278
-
279
- // @public
280
- export type BenefitUtilizationSummariesListBySavingsPlanOrderResponse = BenefitUtilizationSummariesListResult;
281
-
282
- // @public
283
- export interface BenefitUtilizationSummariesListResult {
284
- readonly nextLink?: string;
285
- readonly value?: BenefitUtilizationSummaryUnion[];
286
- }
287
-
288
- // @public
289
- export interface BenefitUtilizationSummary extends Resource {
290
- kind: BenefitKind;
291
- }
292
-
293
- // @public
294
- export interface BenefitUtilizationSummaryProperties {
295
- readonly armSkuName?: string;
296
- readonly benefitId?: string;
297
- readonly benefitOrderId?: string;
298
- benefitType?: BenefitKind;
299
- readonly usageDate?: Date;
300
- }
301
-
302
- // @public (undocumented)
303
- export type BenefitUtilizationSummaryUnion = BenefitUtilizationSummary | IncludedQuantityUtilizationSummary | SavingsPlanUtilizationSummary;
304
-
305
- // @public
306
- export interface BlobInfo {
307
- blobLink?: string;
308
- byteCount?: number;
309
- }
310
-
311
- // @public
312
- export type ChartType = string;
313
-
314
- // @public
315
- export type CheckNameAvailabilityReason = string;
316
-
317
- // @public
318
- export interface CheckNameAvailabilityRequest {
319
- name?: string;
320
- type?: string;
321
- }
322
-
323
- // @public
324
- export interface CheckNameAvailabilityResponse {
325
- message?: string;
326
- nameAvailable?: boolean;
327
- reason?: CheckNameAvailabilityReason;
328
- }
329
-
330
- // @public
331
- export interface CommonExportProperties {
332
- definition: ExportDefinition;
333
- deliveryInfo: ExportDeliveryInfo;
334
- format?: FormatType;
335
- readonly nextRunTimeEstimate?: Date;
336
- partitionData?: boolean;
337
- runHistory?: ExportExecutionListResult;
338
- }
339
-
340
- // @public
341
- export type CostDetailsDataFormat = string;
342
-
343
- // @public
344
- export type CostDetailsMetricType = string;
345
-
346
- // @public
347
- export interface CostDetailsOperationResults {
348
- blobCount?: number;
349
- blobs?: BlobInfo[];
350
- byteCount?: number;
351
- compressData?: boolean;
352
- dataFormat?: CostDetailsDataFormat;
353
- error?: ErrorDetails;
354
- id?: string;
355
- manifestVersion?: string;
356
- name?: string;
357
- requestBody?: GenerateCostDetailsReportRequestDefinition;
358
- requestScope?: string;
359
- status?: CostDetailsStatusType;
360
- type?: string;
361
- validTill?: Date;
362
- }
363
-
364
- // @public
365
- export type CostDetailsStatusType = string;
366
-
367
- // @public
368
- export interface CostDetailsTimePeriod {
369
- end: string;
370
- start: string;
371
- }
372
-
373
- // @public (undocumented)
374
- export class CostManagementClient extends coreClient.ServiceClient {
375
- // (undocumented)
376
- $host: string;
377
- constructor(credentials: coreAuth.TokenCredential, options?: CostManagementClientOptionalParams);
378
- // (undocumented)
379
- alerts: Alerts;
380
- // (undocumented)
381
- apiVersion: string;
382
- // (undocumented)
383
- benefitRecommendations: BenefitRecommendations;
384
- // (undocumented)
385
- benefitUtilizationSummaries: BenefitUtilizationSummaries;
386
- // (undocumented)
387
- dimensions: Dimensions;
388
- // (undocumented)
389
- exports: Exports;
390
- // (undocumented)
391
- forecast: Forecast;
392
- // (undocumented)
393
- generateCostDetailsReport: GenerateCostDetailsReport;
394
- // (undocumented)
395
- generateDetailedCostReport: GenerateDetailedCostReport;
396
- // (undocumented)
397
- generateDetailedCostReportOperationResults: GenerateDetailedCostReportOperationResults;
398
- // (undocumented)
399
- generateDetailedCostReportOperationStatus: GenerateDetailedCostReportOperationStatus;
400
- // (undocumented)
401
- generateReservationDetailsReport: GenerateReservationDetailsReport;
402
- // (undocumented)
403
- operations: Operations;
404
- // (undocumented)
405
- priceSheet: PriceSheet;
406
- // (undocumented)
407
- query: Query;
408
- // (undocumented)
409
- scheduledActions: ScheduledActions;
410
- // (undocumented)
411
- views: Views;
412
- }
413
-
414
- // @public
415
- export interface CostManagementClientOptionalParams extends coreClient.ServiceClientOptions {
416
- $host?: string;
417
- apiVersion?: string;
418
- endpoint?: string;
419
- }
420
-
421
- // @public
422
- export interface CostManagementOperation extends Operation {
423
- readonly id?: string;
424
- }
425
-
426
- // @public
427
- export interface CostManagementProxyResource {
428
- eTag?: string;
429
- readonly id?: string;
430
- readonly name?: string;
431
- readonly type?: string;
432
- }
433
-
434
- // @public
435
- export interface CostManagementResource {
436
- readonly eTag?: string;
437
- readonly id?: string;
438
- readonly location?: string;
439
- readonly name?: string;
440
- readonly sku?: string;
441
- readonly tags?: {
442
- [propertyName: string]: string;
443
- };
444
- readonly type?: string;
445
- }
446
-
447
- // @public
448
- export type CreatedByType = string;
449
-
450
- // @public
451
- export type DaysOfWeek = string;
452
-
453
- // @public
454
- export interface Dimension extends CostManagementResource {
455
- readonly category?: string;
456
- data?: string[];
457
- readonly description?: string;
458
- readonly filterEnabled?: boolean;
459
- readonly groupingEnabled?: boolean;
460
- readonly nextLink?: string;
461
- readonly total?: number;
462
- readonly usageEnd?: Date;
463
- readonly usageStart?: Date;
464
- }
465
-
466
- // @public
467
- export interface Dimensions {
468
- list(scope: string, options?: DimensionsListOptionalParams): PagedAsyncIterableIterator<Dimension>;
469
- listByExternalCloudProviderType(externalCloudProviderType: ExternalCloudProviderType, externalCloudProviderId: string, options?: DimensionsByExternalCloudProviderTypeOptionalParams): PagedAsyncIterableIterator<Dimension>;
470
- }
471
-
472
- // @public
473
- export interface DimensionsByExternalCloudProviderTypeOptionalParams extends coreClient.OperationOptions {
474
- expand?: string;
475
- filter?: string;
476
- skiptoken?: string;
477
- top?: number;
478
- }
479
-
480
- // @public
481
- export type DimensionsByExternalCloudProviderTypeResponse = DimensionsListResult;
482
-
483
- // @public
484
- export interface DimensionsListOptionalParams extends coreClient.OperationOptions {
485
- expand?: string;
486
- filter?: string;
487
- skiptoken?: string;
488
- top?: number;
489
- }
490
-
491
- // @public
492
- export type DimensionsListResponse = DimensionsListResult;
493
-
494
- // @public
495
- export interface DimensionsListResult {
496
- readonly value?: Dimension[];
497
- }
498
-
499
- // @public
500
- export interface DismissAlertPayload {
501
- closeTime?: string;
502
- costEntityId?: string;
503
- creationTime?: string;
504
- definition?: AlertPropertiesDefinition;
505
- description?: string;
506
- details?: AlertPropertiesDetails;
507
- modificationTime?: string;
508
- source?: AlertSource;
509
- status?: AlertStatus;
510
- statusModificationTime?: string;
511
- statusModificationUserName?: string;
512
- }
513
-
514
- // @public
515
- export interface DownloadURL {
516
- downloadUrl?: string;
517
- readonly expiryTime?: Date;
518
- validTill?: Date;
519
- }
520
-
521
- // @public
522
- export interface ErrorDetails {
523
- readonly code?: string;
524
- readonly message?: string;
525
- }
526
-
527
- // @public
528
- export interface ErrorDetailsWithNestedDetails extends ErrorDetails {
529
- readonly details?: ErrorDetailsWithNestedDetails[];
530
- }
531
-
532
- // @public
533
- export interface ErrorResponse {
534
- error?: ErrorDetails;
535
- }
536
-
537
- // @public
538
- export interface ErrorResponseWithNestedDetails {
539
- error?: ErrorDetailsWithNestedDetails;
540
- }
541
-
542
- // @public
543
- export type ExecutionStatus = string;
544
-
545
- // @public
546
- export type ExecutionType = string;
547
-
548
- // @public
549
- export interface Export extends CostManagementProxyResource {
550
- definition?: ExportDefinition;
551
- deliveryInfo?: ExportDeliveryInfo;
552
- format?: FormatType;
553
- readonly nextRunTimeEstimate?: Date;
554
- partitionData?: boolean;
555
- runHistory?: ExportExecutionListResult;
556
- schedule?: ExportSchedule;
557
- }
558
-
559
- // @public
560
- export interface ExportDataset {
561
- configuration?: ExportDatasetConfiguration;
562
- granularity?: GranularityType;
563
- }
564
-
565
- // @public
566
- export interface ExportDatasetConfiguration {
567
- columns?: string[];
568
- }
569
-
570
- // @public
571
- export interface ExportDefinition {
572
- dataSet?: ExportDataset;
573
- timeframe: TimeframeType;
574
- timePeriod?: ExportTimePeriod;
575
- type: ExportType;
576
- }
577
-
578
- // @public
579
- export interface ExportDeliveryDestination {
580
- container: string;
581
- resourceId?: string;
582
- rootFolderPath?: string;
583
- sasToken?: string;
584
- storageAccount?: string;
585
- }
586
-
587
- // @public
588
- export interface ExportDeliveryInfo {
589
- destination: ExportDeliveryDestination;
590
- }
591
-
592
- // @public
593
- export interface ExportExecutionListResult {
594
- readonly value?: ExportRun[];
595
- }
596
-
597
- // @public
598
- export interface ExportListResult {
599
- readonly value?: Export[];
600
- }
601
-
602
- // @public
603
- export interface ExportProperties extends CommonExportProperties {
604
- schedule?: ExportSchedule;
605
- }
606
-
607
- // @public
608
- export interface ExportRecurrencePeriod {
609
- from: Date;
610
- to?: Date;
611
- }
612
-
613
- // @public
614
- export interface ExportRun extends CostManagementProxyResource {
615
- error?: ErrorDetails;
616
- executionType?: ExecutionType;
617
- fileName?: string;
618
- processingEndTime?: Date;
619
- processingStartTime?: Date;
620
- runSettings?: CommonExportProperties;
621
- status?: ExecutionStatus;
622
- submittedBy?: string;
623
- submittedTime?: Date;
624
- }
625
-
626
- // @public
627
- export interface Exports {
628
- createOrUpdate(scope: string, exportName: string, parameters: Export, options?: ExportsCreateOrUpdateOptionalParams): Promise<ExportsCreateOrUpdateResponse>;
629
- delete(scope: string, exportName: string, options?: ExportsDeleteOptionalParams): Promise<void>;
630
- execute(scope: string, exportName: string, options?: ExportsExecuteOptionalParams): Promise<void>;
631
- get(scope: string, exportName: string, options?: ExportsGetOptionalParams): Promise<ExportsGetResponse>;
632
- getExecutionHistory(scope: string, exportName: string, options?: ExportsGetExecutionHistoryOptionalParams): Promise<ExportsGetExecutionHistoryResponse>;
633
- list(scope: string, options?: ExportsListOptionalParams): Promise<ExportsListResponse>;
634
- }
635
-
636
- // @public
637
- export interface ExportSchedule {
638
- recurrence?: RecurrenceType;
639
- recurrencePeriod?: ExportRecurrencePeriod;
640
- status?: StatusType;
641
- }
642
-
643
- // @public
644
- export interface ExportsCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
645
- }
646
-
647
- // @public
648
- export type ExportsCreateOrUpdateResponse = Export;
649
-
650
- // @public
651
- export interface ExportsDeleteOptionalParams extends coreClient.OperationOptions {
652
- }
653
-
654
- // @public
655
- export interface ExportsExecuteOptionalParams extends coreClient.OperationOptions {
656
- }
657
-
658
- // @public
659
- export interface ExportsGetExecutionHistoryOptionalParams extends coreClient.OperationOptions {
660
- }
661
-
662
- // @public
663
- export type ExportsGetExecutionHistoryResponse = ExportExecutionListResult;
664
-
665
- // @public
666
- export interface ExportsGetOptionalParams extends coreClient.OperationOptions {
667
- expand?: string;
668
- }
669
-
670
- // @public
671
- export type ExportsGetResponse = Export;
672
-
673
- // @public
674
- export interface ExportsListOptionalParams extends coreClient.OperationOptions {
675
- expand?: string;
676
- }
677
-
678
- // @public
679
- export type ExportsListResponse = ExportListResult;
680
-
681
- // @public
682
- export interface ExportTimePeriod {
683
- from: Date;
684
- to: Date;
685
- }
686
-
687
- // @public
688
- export type ExportType = string;
689
-
690
- // @public
691
- export type ExternalCloudProviderType = string;
692
-
693
- // @public
694
- export interface FileDestination {
695
- fileFormats?: FileFormat[];
696
- }
697
-
698
- // @public
699
- export type FileFormat = string;
700
-
701
- // @public
702
- export interface Forecast {
703
- externalCloudProviderUsage(externalCloudProviderType: ExternalCloudProviderType, externalCloudProviderId: string, parameters: ForecastDefinition, options?: ForecastExternalCloudProviderUsageOptionalParams): Promise<ForecastExternalCloudProviderUsageResponse>;
704
- usage(scope: string, parameters: ForecastDefinition, options?: ForecastUsageOptionalParams): Promise<ForecastUsageResponse>;
705
- }
706
-
707
- // @public
708
- export interface ForecastAggregation {
709
- function: FunctionType;
710
- name: FunctionName;
711
- }
712
-
713
- // @public
714
- export interface ForecastColumn {
715
- name?: string;
716
- type?: string;
717
- }
718
-
719
- // @public
720
- export interface ForecastComparisonExpression {
721
- name: string;
722
- operator: ForecastOperatorType;
723
- values: string[];
724
- }
725
-
726
- // @public
727
- export interface ForecastDataset {
728
- aggregation: {
729
- [propertyName: string]: ForecastAggregation;
730
- };
731
- configuration?: ForecastDatasetConfiguration;
732
- filter?: ForecastFilter;
733
- granularity?: GranularityType;
734
- }
735
-
736
- // @public
737
- export interface ForecastDatasetConfiguration {
738
- columns?: string[];
739
- }
740
-
741
- // @public
742
- export interface ForecastDefinition {
743
- dataset: ForecastDataset;
744
- includeActualCost?: boolean;
745
- includeFreshPartialCost?: boolean;
746
- timeframe: ForecastTimeframe;
747
- timePeriod?: ForecastTimePeriod;
748
- type: ForecastType;
749
- }
750
-
751
- // @public
752
- export interface ForecastExternalCloudProviderUsageOptionalParams extends coreClient.OperationOptions {
753
- filter?: string;
754
- }
755
-
756
- // @public
757
- export type ForecastExternalCloudProviderUsageResponse = ForecastResult;
758
-
759
- // @public
760
- export interface ForecastFilter {
761
- and?: ForecastFilter[];
762
- dimensions?: ForecastComparisonExpression;
763
- or?: ForecastFilter[];
764
- tags?: ForecastComparisonExpression;
765
- }
766
-
767
- // @public
768
- export type ForecastOperatorType = string;
769
-
770
- // @public
771
- export interface ForecastResult extends CostManagementResource {
772
- columns?: ForecastColumn[];
773
- nextLink?: string;
774
- rows?: any[][];
775
- }
776
-
777
- // @public
778
- export type ForecastTimeframe = string;
779
-
780
- // @public
781
- export interface ForecastTimePeriod {
782
- from: Date;
783
- to: Date;
784
- }
785
-
786
- // @public
787
- export type ForecastType = string;
788
-
789
- // @public
790
- export interface ForecastUsageOptionalParams extends coreClient.OperationOptions {
791
- filter?: string;
792
- }
793
-
794
- // @public
795
- export type ForecastUsageResponse = ForecastResult;
796
-
797
- // @public
798
- export type FormatType = string;
799
-
800
- // @public
801
- export type FunctionName = string;
802
-
803
- // @public
804
- export type FunctionType = string;
805
-
806
- // @public
807
- export interface GenerateCostDetailsReport {
808
- beginCreateOperation(scope: string, parameters: GenerateCostDetailsReportRequestDefinition, options?: GenerateCostDetailsReportCreateOperationOptionalParams): Promise<SimplePollerLike<OperationState<GenerateCostDetailsReportCreateOperationResponse>, GenerateCostDetailsReportCreateOperationResponse>>;
809
- beginCreateOperationAndWait(scope: string, parameters: GenerateCostDetailsReportRequestDefinition, options?: GenerateCostDetailsReportCreateOperationOptionalParams): Promise<GenerateCostDetailsReportCreateOperationResponse>;
810
- beginGetOperationResults(scope: string, operationId: string, options?: GenerateCostDetailsReportGetOperationResultsOptionalParams): Promise<SimplePollerLike<OperationState<GenerateCostDetailsReportGetOperationResultsResponse>, GenerateCostDetailsReportGetOperationResultsResponse>>;
811
- beginGetOperationResultsAndWait(scope: string, operationId: string, options?: GenerateCostDetailsReportGetOperationResultsOptionalParams): Promise<GenerateCostDetailsReportGetOperationResultsResponse>;
812
- }
813
-
814
- // @public
815
- export interface GenerateCostDetailsReportCreateOperationHeaders {
816
- location?: string;
817
- retryAfter?: number;
818
- }
819
-
820
- // @public
821
- export interface GenerateCostDetailsReportCreateOperationOptionalParams extends coreClient.OperationOptions {
822
- resumeFrom?: string;
823
- updateIntervalInMs?: number;
824
- }
825
-
826
- // @public
827
- export type GenerateCostDetailsReportCreateOperationResponse = CostDetailsOperationResults;
828
-
829
- // @public
830
- export interface GenerateCostDetailsReportErrorResponse {
831
- error?: ErrorDetails;
832
- }
833
-
834
- // @public
835
- export interface GenerateCostDetailsReportGetOperationResultsOptionalParams extends coreClient.OperationOptions {
836
- resumeFrom?: string;
837
- updateIntervalInMs?: number;
838
- }
839
-
840
- // @public
841
- export type GenerateCostDetailsReportGetOperationResultsResponse = CostDetailsOperationResults;
842
-
843
- // @public
844
- export interface GenerateCostDetailsReportRequestDefinition {
845
- billingPeriod?: string;
846
- invoiceId?: string;
847
- metric?: CostDetailsMetricType;
848
- timePeriod?: CostDetailsTimePeriod;
849
- }
850
-
851
- // @public
852
- export interface GenerateDetailedCostReport {
853
- beginCreateOperation(scope: string, parameters: GenerateDetailedCostReportDefinition, options?: GenerateDetailedCostReportCreateOperationOptionalParams): Promise<SimplePollerLike<OperationState<GenerateDetailedCostReportCreateOperationResponse>, GenerateDetailedCostReportCreateOperationResponse>>;
854
- beginCreateOperationAndWait(scope: string, parameters: GenerateDetailedCostReportDefinition, options?: GenerateDetailedCostReportCreateOperationOptionalParams): Promise<GenerateDetailedCostReportCreateOperationResponse>;
855
- }
856
-
857
- // @public
858
- export interface GenerateDetailedCostReportCreateOperationHeaders {
859
- azureAsyncOperation?: string;
860
- azureConsumptionAsyncOperation?: string;
861
- location?: string;
862
- retryAfter?: number;
863
- }
864
-
865
- // @public
866
- export interface GenerateDetailedCostReportCreateOperationOptionalParams extends coreClient.OperationOptions {
867
- resumeFrom?: string;
868
- updateIntervalInMs?: number;
869
- }
870
-
871
- // @public
872
- export type GenerateDetailedCostReportCreateOperationResponse = GenerateDetailedCostReportOperationResult;
873
-
874
- // @public
875
- export interface GenerateDetailedCostReportDefinition {
876
- billingPeriod?: string;
877
- customerId?: string;
878
- invoiceId?: string;
879
- metric?: GenerateDetailedCostReportMetricType;
880
- timePeriod?: GenerateDetailedCostReportTimePeriod;
881
- }
882
-
883
- // @public
884
- export interface GenerateDetailedCostReportErrorResponse {
885
- error?: ErrorDetails;
886
- }
887
-
888
- // @public
889
- export type GenerateDetailedCostReportMetricType = string;
890
-
891
- // @public
892
- export interface GenerateDetailedCostReportOperationResult {
893
- downloadUrl?: string;
894
- readonly expiryTime?: Date;
895
- id?: string;
896
- name?: string;
897
- type?: string;
898
- validTill?: Date;
899
- }
900
-
901
- // @public
902
- export interface GenerateDetailedCostReportOperationResults {
903
- beginGet(operationId: string, scope: string, options?: GenerateDetailedCostReportOperationResultsGetOptionalParams): Promise<SimplePollerLike<OperationState<GenerateDetailedCostReportOperationResultsGetResponse>, GenerateDetailedCostReportOperationResultsGetResponse>>;
904
- beginGetAndWait(operationId: string, scope: string, options?: GenerateDetailedCostReportOperationResultsGetOptionalParams): Promise<GenerateDetailedCostReportOperationResultsGetResponse>;
905
- }
906
-
907
- // @public
908
- export interface GenerateDetailedCostReportOperationResultsGetOptionalParams extends coreClient.OperationOptions {
909
- resumeFrom?: string;
910
- updateIntervalInMs?: number;
911
- }
912
-
913
- // @public
914
- export type GenerateDetailedCostReportOperationResultsGetResponse = GenerateDetailedCostReportOperationResult;
915
-
916
- // @public
917
- export interface GenerateDetailedCostReportOperationStatus {
918
- get(operationId: string, scope: string, options?: GenerateDetailedCostReportOperationStatusGetOptionalParams): Promise<GenerateDetailedCostReportOperationStatusGetResponse>;
919
- }
920
-
921
- // @public
922
- export interface GenerateDetailedCostReportOperationStatuses {
923
- downloadUrl?: string;
924
- endTime?: string;
925
- error?: ErrorDetails;
926
- readonly expiryTime?: Date;
927
- id?: string;
928
- name?: string;
929
- startTime?: string;
930
- status?: Status;
931
- type?: string;
932
- validTill?: Date;
933
- }
934
-
935
- // @public
936
- export interface GenerateDetailedCostReportOperationStatusGetOptionalParams extends coreClient.OperationOptions {
937
- }
938
-
939
- // @public
940
- export type GenerateDetailedCostReportOperationStatusGetResponse = GenerateDetailedCostReportOperationStatuses;
941
-
942
- // @public
943
- export interface GenerateDetailedCostReportTimePeriod {
944
- end: string;
945
- start: string;
946
- }
947
-
948
- // @public
949
- export interface GenerateReservationDetailsReport {
950
- beginByBillingAccountId(billingAccountId: string, startDate: string, endDate: string, options?: GenerateReservationDetailsReportByBillingAccountIdOptionalParams): Promise<SimplePollerLike<OperationState<GenerateReservationDetailsReportByBillingAccountIdResponse>, GenerateReservationDetailsReportByBillingAccountIdResponse>>;
951
- beginByBillingAccountIdAndWait(billingAccountId: string, startDate: string, endDate: string, options?: GenerateReservationDetailsReportByBillingAccountIdOptionalParams): Promise<GenerateReservationDetailsReportByBillingAccountIdResponse>;
952
- beginByBillingProfileId(billingAccountId: string, billingProfileId: string, startDate: string, endDate: string, options?: GenerateReservationDetailsReportByBillingProfileIdOptionalParams): Promise<SimplePollerLike<OperationState<GenerateReservationDetailsReportByBillingProfileIdResponse>, GenerateReservationDetailsReportByBillingProfileIdResponse>>;
953
- beginByBillingProfileIdAndWait(billingAccountId: string, billingProfileId: string, startDate: string, endDate: string, options?: GenerateReservationDetailsReportByBillingProfileIdOptionalParams): Promise<GenerateReservationDetailsReportByBillingProfileIdResponse>;
954
- }
955
-
956
- // @public
957
- export interface GenerateReservationDetailsReportByBillingAccountIdHeaders {
958
- location?: string;
959
- retryAfter?: number;
960
- }
961
-
962
- // @public
963
- export interface GenerateReservationDetailsReportByBillingAccountIdOptionalParams extends coreClient.OperationOptions {
964
- resumeFrom?: string;
965
- updateIntervalInMs?: number;
966
- }
967
-
968
- // @public
969
- export type GenerateReservationDetailsReportByBillingAccountIdResponse = OperationStatus;
970
-
971
- // @public
972
- export interface GenerateReservationDetailsReportByBillingProfileIdHeaders {
973
- location?: string;
974
- retryAfter?: number;
975
- }
976
-
977
- // @public
978
- export interface GenerateReservationDetailsReportByBillingProfileIdOptionalParams extends coreClient.OperationOptions {
979
- resumeFrom?: string;
980
- updateIntervalInMs?: number;
981
- }
982
-
983
- // @public
984
- export type GenerateReservationDetailsReportByBillingProfileIdResponse = OperationStatus;
985
-
986
- // @public
987
- export function getContinuationToken(page: unknown): string | undefined;
988
-
989
- // @public
990
- export type Grain = string;
991
-
992
- // @public
993
- export type GrainParameter = string;
994
-
995
- // @public
996
- export type GranularityType = string;
997
-
998
- // @public
999
- export interface IncludedQuantityUtilizationSummary extends BenefitUtilizationSummary {
1000
- readonly armSkuName?: string;
1001
- readonly benefitId?: string;
1002
- readonly benefitOrderId?: string;
1003
- benefitType?: BenefitKind;
1004
- kind: "IncludedQuantity";
1005
- readonly usageDate?: Date;
1006
- readonly utilizationPercentage?: number;
1007
- }
1008
-
1009
- // @public
1010
- export interface IncludedQuantityUtilizationSummaryProperties extends BenefitUtilizationSummaryProperties {
1011
- readonly utilizationPercentage?: number;
1012
- }
1013
-
1014
- // @public
1015
- export enum KnownAccumulatedType {
1016
- False = "false",
1017
- True = "true"
1018
- }
1019
-
1020
- // @public
1021
- export enum KnownActionType {
1022
- Internal = "Internal"
1023
- }
1024
-
1025
- // @public
1026
- export enum KnownAlertCategory {
1027
- Billing = "Billing",
1028
- Cost = "Cost",
1029
- System = "System",
1030
- Usage = "Usage"
1031
- }
1032
-
1033
- // @public
1034
- export enum KnownAlertCriteria {
1035
- CostThresholdExceeded = "CostThresholdExceeded",
1036
- CreditThresholdApproaching = "CreditThresholdApproaching",
1037
- CreditThresholdReached = "CreditThresholdReached",
1038
- CrossCloudCollectionError = "CrossCloudCollectionError",
1039
- CrossCloudNewDataAvailable = "CrossCloudNewDataAvailable",
1040
- ForecastCostThresholdExceeded = "ForecastCostThresholdExceeded",
1041
- ForecastUsageThresholdExceeded = "ForecastUsageThresholdExceeded",
1042
- GeneralThresholdError = "GeneralThresholdError",
1043
- InvoiceDueDateApproaching = "InvoiceDueDateApproaching",
1044
- InvoiceDueDateReached = "InvoiceDueDateReached",
1045
- MultiCurrency = "MultiCurrency",
1046
- QuotaThresholdApproaching = "QuotaThresholdApproaching",
1047
- QuotaThresholdReached = "QuotaThresholdReached",
1048
- UsageThresholdExceeded = "UsageThresholdExceeded"
1049
- }
1050
-
1051
- // @public
1052
- export enum KnownAlertOperator {
1053
- EqualTo = "EqualTo",
1054
- GreaterThan = "GreaterThan",
1055
- GreaterThanOrEqualTo = "GreaterThanOrEqualTo",
1056
- LessThan = "LessThan",
1057
- LessThanOrEqualTo = "LessThanOrEqualTo",
1058
- None = "None"
1059
- }
1060
-
1061
- // @public
1062
- export enum KnownAlertSource {
1063
- Preset = "Preset",
1064
- User = "User"
1065
- }
1066
-
1067
- // @public
1068
- export enum KnownAlertStatus {
1069
- Active = "Active",
1070
- Dismissed = "Dismissed",
1071
- None = "None",
1072
- Overridden = "Overridden",
1073
- Resolved = "Resolved"
1074
- }
1075
-
1076
- // @public
1077
- export enum KnownAlertTimeGrainType {
1078
- Annually = "Annually",
1079
- BillingAnnual = "BillingAnnual",
1080
- BillingMonth = "BillingMonth",
1081
- BillingQuarter = "BillingQuarter",
1082
- Monthly = "Monthly",
1083
- None = "None",
1084
- Quarterly = "Quarterly"
1085
- }
1086
-
1087
- // @public
1088
- export enum KnownAlertType {
1089
- Budget = "Budget",
1090
- BudgetForecast = "BudgetForecast",
1091
- Credit = "Credit",
1092
- General = "General",
1093
- Invoice = "Invoice",
1094
- Quota = "Quota",
1095
- XCloud = "xCloud"
1096
- }
1097
-
1098
- // @public
1099
- export enum KnownBenefitKind {
1100
- IncludedQuantity = "IncludedQuantity",
1101
- Reservation = "Reservation",
1102
- SavingsPlan = "SavingsPlan"
1103
- }
1104
-
1105
- // @public
1106
- export enum KnownChartType {
1107
- Area = "Area",
1108
- GroupedColumn = "GroupedColumn",
1109
- Line = "Line",
1110
- StackedColumn = "StackedColumn",
1111
- Table = "Table"
1112
- }
1113
-
1114
- // @public
1115
- export enum KnownCheckNameAvailabilityReason {
1116
- AlreadyExists = "AlreadyExists",
1117
- Invalid = "Invalid"
1118
- }
1119
-
1120
- // @public
1121
- export enum KnownCostDetailsDataFormat {
1122
- CsvCostDetailsDataFormat = "Csv"
1123
- }
1124
-
1125
- // @public
1126
- export enum KnownCostDetailsMetricType {
1127
- ActualCostCostDetailsMetricType = "ActualCost",
1128
- AmortizedCostCostDetailsMetricType = "AmortizedCost"
1129
- }
1130
-
1131
- // @public
1132
- export enum KnownCostDetailsStatusType {
1133
- CompletedCostDetailsStatusType = "Completed",
1134
- FailedCostDetailsStatusType = "Failed",
1135
- NoDataFoundCostDetailsStatusType = "NoDataFound"
1136
- }
1137
-
1138
- // @public
1139
- export enum KnownCreatedByType {
1140
- Application = "Application",
1141
- Key = "Key",
1142
- ManagedIdentity = "ManagedIdentity",
1143
- User = "User"
1144
- }
1145
-
1146
- // @public
1147
- export enum KnownDaysOfWeek {
1148
- Friday = "Friday",
1149
- Monday = "Monday",
1150
- Saturday = "Saturday",
1151
- Sunday = "Sunday",
1152
- Thursday = "Thursday",
1153
- Tuesday = "Tuesday",
1154
- Wednesday = "Wednesday"
1155
- }
1156
-
1157
- // @public
1158
- export enum KnownExecutionStatus {
1159
- Completed = "Completed",
1160
- DataNotAvailable = "DataNotAvailable",
1161
- Failed = "Failed",
1162
- InProgress = "InProgress",
1163
- NewDataNotAvailable = "NewDataNotAvailable",
1164
- Queued = "Queued",
1165
- Timeout = "Timeout"
1166
- }
1167
-
1168
- // @public
1169
- export enum KnownExecutionType {
1170
- OnDemand = "OnDemand",
1171
- Scheduled = "Scheduled"
1172
- }
1173
-
1174
- // @public
1175
- export enum KnownExportType {
1176
- ActualCost = "ActualCost",
1177
- AmortizedCost = "AmortizedCost",
1178
- Usage = "Usage"
1179
- }
1180
-
1181
- // @public
1182
- export enum KnownExternalCloudProviderType {
1183
- ExternalBillingAccounts = "externalBillingAccounts",
1184
- ExternalSubscriptions = "externalSubscriptions"
1185
- }
1186
-
1187
- // @public
1188
- export enum KnownFileFormat {
1189
- Csv = "Csv"
1190
- }
1191
-
1192
- // @public
1193
- export enum KnownForecastOperatorType {
1194
- In = "In"
1195
- }
1196
-
1197
- // @public
1198
- export enum KnownForecastTimeframe {
1199
- Custom = "Custom"
1200
- }
1201
-
1202
- // @public
1203
- export enum KnownForecastType {
1204
- ActualCost = "ActualCost",
1205
- AmortizedCost = "AmortizedCost",
1206
- Usage = "Usage"
1207
- }
1208
-
1209
- // @public
1210
- export enum KnownFormatType {
1211
- Csv = "Csv"
1212
- }
1213
-
1214
- // @public
1215
- export enum KnownFunctionName {
1216
- Cost = "Cost",
1217
- CostUSD = "CostUSD",
1218
- PreTaxCost = "PreTaxCost",
1219
- PreTaxCostUSD = "PreTaxCostUSD"
1220
- }
1221
-
1222
- // @public
1223
- export enum KnownFunctionType {
1224
- Sum = "Sum"
1225
- }
1226
-
1227
- // @public
1228
- export enum KnownGenerateDetailedCostReportMetricType {
1229
- ActualCost = "ActualCost",
1230
- AmortizedCost = "AmortizedCost"
1231
- }
1232
-
1233
- // @public
1234
- export enum KnownGrain {
1235
- Daily = "Daily",
1236
- Hourly = "Hourly",
1237
- Monthly = "Monthly"
1238
- }
1239
-
1240
- // @public
1241
- export enum KnownGrainParameter {
1242
- Daily = "Daily",
1243
- Hourly = "Hourly",
1244
- Monthly = "Monthly"
1245
- }
1246
-
1247
- // @public
1248
- export enum KnownGranularityType {
1249
- Daily = "Daily"
1250
- }
1251
-
1252
- // @public
1253
- export enum KnownKpiType {
1254
- Budget = "Budget",
1255
- Forecast = "Forecast"
1256
- }
1257
-
1258
- // @public
1259
- export enum KnownLookBackPeriod {
1260
- Last30Days = "Last30Days",
1261
- Last60Days = "Last60Days",
1262
- Last7Days = "Last7Days"
1263
- }
1264
-
1265
- // @public
1266
- export enum KnownMetricType {
1267
- ActualCost = "ActualCost",
1268
- Ahub = "AHUB",
1269
- AmortizedCost = "AmortizedCost"
1270
- }
1271
-
1272
- // @public
1273
- export enum KnownOperationStatusType {
1274
- Completed = "Completed",
1275
- Failed = "Failed",
1276
- Running = "Running"
1277
- }
1278
-
1279
- // @public
1280
- export enum KnownOperatorType {
1281
- Contains = "Contains",
1282
- In = "In"
1283
- }
1284
-
1285
- // @public
1286
- export enum KnownOrigin {
1287
- System = "system",
1288
- User = "user",
1289
- UserSystem = "user,system"
1290
- }
1291
-
1292
- // @public
1293
- export enum KnownPivotType {
1294
- Dimension = "Dimension",
1295
- TagKey = "TagKey"
1296
- }
1297
-
1298
- // @public
1299
- export enum KnownQueryColumnType {
1300
- Dimension = "Dimension",
1301
- TagKey = "TagKey"
1302
- }
1303
-
1304
- // @public
1305
- export enum KnownQueryOperatorType {
1306
- In = "In"
1307
- }
1308
-
1309
- // @public
1310
- export enum KnownRecurrenceType {
1311
- Annually = "Annually",
1312
- Daily = "Daily",
1313
- Monthly = "Monthly",
1314
- Weekly = "Weekly"
1315
- }
1316
-
1317
- // @public
1318
- export enum KnownReportConfigSortingType {
1319
- Ascending = "Ascending",
1320
- Descending = "Descending"
1321
- }
1322
-
1323
- // @public
1324
- export enum KnownReportGranularityType {
1325
- Daily = "Daily",
1326
- Monthly = "Monthly"
1327
- }
1328
-
1329
- // @public
1330
- export enum KnownReportOperationStatusType {
1331
- Completed = "Completed",
1332
- Failed = "Failed",
1333
- InProgress = "InProgress",
1334
- NoDataFound = "NoDataFound",
1335
- Queued = "Queued",
1336
- ReadyToDownload = "ReadyToDownload",
1337
- TimedOut = "TimedOut"
1338
- }
1339
-
1340
- // @public
1341
- export enum KnownReportTimeframeType {
1342
- Custom = "Custom",
1343
- MonthToDate = "MonthToDate",
1344
- WeekToDate = "WeekToDate",
1345
- YearToDate = "YearToDate"
1346
- }
1347
-
1348
- // @public
1349
- export enum KnownReportType {
1350
- Usage = "Usage"
1351
- }
1352
-
1353
- // @public
1354
- export enum KnownReservationReportSchema {
1355
- InstanceFlexibilityGroup = "InstanceFlexibilityGroup",
1356
- InstanceFlexibilityRatio = "InstanceFlexibilityRatio",
1357
- InstanceId = "InstanceId",
1358
- Kind = "Kind",
1359
- ReservationId = "ReservationId",
1360
- ReservationOrderId = "ReservationOrderId",
1361
- ReservedHours = "ReservedHours",
1362
- SkuName = "SkuName",
1363
- TotalReservedQuantity = "TotalReservedQuantity",
1364
- UsageDate = "UsageDate",
1365
- UsedHours = "UsedHours"
1366
- }
1367
-
1368
- // @public
1369
- export enum KnownScheduledActionKind {
1370
- Email = "Email",
1371
- InsightAlert = "InsightAlert"
1372
- }
1373
-
1374
- // @public
1375
- export enum KnownScheduledActionStatus {
1376
- Disabled = "Disabled",
1377
- Enabled = "Enabled",
1378
- Expired = "Expired"
1379
- }
1380
-
1381
- // @public
1382
- export enum KnownScheduleFrequency {
1383
- Daily = "Daily",
1384
- Monthly = "Monthly",
1385
- Weekly = "Weekly"
1386
- }
1387
-
1388
- // @public
1389
- export enum KnownScope {
1390
- Shared = "Shared",
1391
- Single = "Single"
1392
- }
1393
-
1394
- // @public
1395
- export enum KnownStatusType {
1396
- Active = "Active",
1397
- Inactive = "Inactive"
1398
- }
1399
-
1400
- // @public
1401
- export enum KnownTerm {
1402
- P1Y = "P1Y",
1403
- P3Y = "P3Y"
1404
- }
1405
-
1406
- // @public
1407
- export enum KnownTimeframeType {
1408
- BillingMonthToDate = "BillingMonthToDate",
1409
- Custom = "Custom",
1410
- MonthToDate = "MonthToDate",
1411
- TheLastBillingMonth = "TheLastBillingMonth",
1412
- TheLastMonth = "TheLastMonth",
1413
- WeekToDate = "WeekToDate"
1414
- }
1415
-
1416
- // @public
1417
- export enum KnownWeeksOfMonth {
1418
- First = "First",
1419
- Fourth = "Fourth",
1420
- Last = "Last",
1421
- Second = "Second",
1422
- Third = "Third"
1423
- }
1424
-
1425
- // @public
1426
- export interface KpiProperties {
1427
- enabled?: boolean;
1428
- id?: string;
1429
- type?: KpiType;
1430
- }
1431
-
1432
- // @public
1433
- export type KpiType = string;
1434
-
1435
- // @public
1436
- export type LookBackPeriod = string;
1437
-
1438
- // @public
1439
- export type MetricType = string;
1440
-
1441
- // @public
1442
- export interface NotificationProperties {
1443
- language?: string;
1444
- message?: string;
1445
- regionalFormat?: string;
1446
- subject: string;
1447
- to: string[];
1448
- }
1449
-
1450
- // @public
1451
- export interface Operation {
1452
- readonly actionType?: ActionType;
1453
- display?: OperationDisplay;
1454
- readonly isDataAction?: boolean;
1455
- readonly name?: string;
1456
- readonly origin?: Origin;
1457
- }
1458
-
1459
- // @public
1460
- export interface OperationDisplay {
1461
- readonly description?: string;
1462
- readonly operation?: string;
1463
- readonly provider?: string;
1464
- readonly resource?: string;
1465
- }
1466
-
1467
- // @public
1468
- export interface OperationListResult {
1469
- readonly nextLink?: string;
1470
- readonly value?: CostManagementOperation[];
1471
- }
1472
-
1473
- // @public
1474
- export interface Operations {
1475
- list(options?: OperationsListOptionalParams): PagedAsyncIterableIterator<CostManagementOperation>;
1476
- }
1477
-
1478
- // @public
1479
- export interface OperationsListNextOptionalParams extends coreClient.OperationOptions {
1480
- }
1481
-
1482
- // @public
1483
- export type OperationsListNextResponse = OperationListResult;
1484
-
1485
- // @public
1486
- export interface OperationsListOptionalParams extends coreClient.OperationOptions {
1487
- }
1488
-
1489
- // @public
1490
- export type OperationsListResponse = OperationListResult;
1491
-
1492
- // @public
1493
- export interface OperationStatus {
1494
- reportUrl?: ReservationReportSchema;
1495
- status?: OperationStatusType;
1496
- validUntil?: Date;
1497
- }
1498
-
1499
- // @public
1500
- export type OperationStatusType = string;
1501
-
1502
- // @public
1503
- export type OperatorType = string;
1504
-
1505
- // @public
1506
- export type Origin = string;
1507
-
1508
- // @public
1509
- export interface PivotProperties {
1510
- name?: string;
1511
- type?: PivotType;
1512
- }
1513
-
1514
- // @public
1515
- export type PivotType = string;
1516
-
1517
- // @public
1518
- export interface PriceSheet {
1519
- beginDownload(billingAccountName: string, billingProfileName: string, invoiceName: string, options?: PriceSheetDownloadOptionalParams): Promise<SimplePollerLike<OperationState<PriceSheetDownloadResponse>, PriceSheetDownloadResponse>>;
1520
- beginDownloadAndWait(billingAccountName: string, billingProfileName: string, invoiceName: string, options?: PriceSheetDownloadOptionalParams): Promise<PriceSheetDownloadResponse>;
1521
- beginDownloadByBillingProfile(billingAccountName: string, billingProfileName: string, options?: PriceSheetDownloadByBillingProfileOptionalParams): Promise<SimplePollerLike<OperationState<PriceSheetDownloadByBillingProfileResponse>, PriceSheetDownloadByBillingProfileResponse>>;
1522
- beginDownloadByBillingProfileAndWait(billingAccountName: string, billingProfileName: string, options?: PriceSheetDownloadByBillingProfileOptionalParams): Promise<PriceSheetDownloadByBillingProfileResponse>;
1523
- }
1524
-
1525
- // @public
1526
- export interface PriceSheetDownloadByBillingProfileHeaders {
1527
- location?: string;
1528
- oDataEntityId?: string;
1529
- retryAfter?: string;
1530
- }
1531
-
1532
- // @public
1533
- export interface PriceSheetDownloadByBillingProfileOptionalParams extends coreClient.OperationOptions {
1534
- resumeFrom?: string;
1535
- updateIntervalInMs?: number;
1536
- }
1537
-
1538
- // @public
1539
- export type PriceSheetDownloadByBillingProfileResponse = DownloadURL;
1540
-
1541
- // @public
1542
- export interface PriceSheetDownloadHeaders {
1543
- location?: string;
1544
- oDataEntityId?: string;
1545
- retryAfter?: string;
1546
- }
1547
-
1548
- // @public
1549
- export interface PriceSheetDownloadOptionalParams extends coreClient.OperationOptions {
1550
- resumeFrom?: string;
1551
- updateIntervalInMs?: number;
1552
- }
1553
-
1554
- // @public
1555
- export type PriceSheetDownloadResponse = DownloadURL;
1556
-
1557
- // @public
1558
- export interface ProxyResource extends Resource {
1559
- }
1560
-
1561
- // @public
1562
- export interface Query {
1563
- usage(scope: string, parameters: QueryDefinition, options?: QueryUsageOptionalParams): Promise<QueryUsageResponse>;
1564
- usageByExternalCloudProviderType(externalCloudProviderType: ExternalCloudProviderType, externalCloudProviderId: string, parameters: QueryDefinition, options?: QueryUsageByExternalCloudProviderTypeOptionalParams): Promise<QueryUsageByExternalCloudProviderTypeResponse>;
1565
- }
1566
-
1567
- // @public
1568
- export interface QueryAggregation {
1569
- function: FunctionType;
1570
- name: string;
1571
- }
1572
-
1573
- // @public
1574
- export interface QueryColumn {
1575
- name?: string;
1576
- type?: string;
1577
- }
1578
-
1579
- // @public
1580
- export type QueryColumnType = string;
1581
-
1582
- // @public
1583
- export interface QueryComparisonExpression {
1584
- name: string;
1585
- operator: QueryOperatorType;
1586
- values: string[];
1587
- }
1588
-
1589
- // @public
1590
- export interface QueryDataset {
1591
- aggregation?: {
1592
- [propertyName: string]: QueryAggregation;
1593
- };
1594
- configuration?: QueryDatasetConfiguration;
1595
- filter?: QueryFilter;
1596
- granularity?: GranularityType;
1597
- grouping?: QueryGrouping[];
1598
- }
1599
-
1600
- // @public
1601
- export interface QueryDatasetConfiguration {
1602
- columns?: string[];
1603
- }
1604
-
1605
- // @public
1606
- export interface QueryDefinition {
1607
- dataset: QueryDataset;
1608
- timeframe: TimeframeType;
1609
- timePeriod?: QueryTimePeriod;
1610
- type: ExportType;
1611
- }
1612
-
1613
- // @public
1614
- export interface QueryFilter {
1615
- and?: QueryFilter[];
1616
- dimensions?: QueryComparisonExpression;
1617
- or?: QueryFilter[];
1618
- tags?: QueryComparisonExpression;
1619
- }
1620
-
1621
- // @public
1622
- export interface QueryGrouping {
1623
- name: string;
1624
- type: QueryColumnType;
1625
- }
1626
-
1627
- // @public
1628
- export type QueryOperatorType = string;
1629
-
1630
- // @public
1631
- export interface QueryResult extends CostManagementResource {
1632
- columns?: QueryColumn[];
1633
- nextLink?: string;
1634
- rows?: any[][];
1635
- }
1636
-
1637
- // @public
1638
- export interface QueryTimePeriod {
1639
- from: Date;
1640
- to: Date;
1641
- }
1642
-
1643
- // @public
1644
- export interface QueryUsageByExternalCloudProviderTypeOptionalParams extends coreClient.OperationOptions {
1645
- }
1646
-
1647
- // @public
1648
- export type QueryUsageByExternalCloudProviderTypeResponse = QueryResult;
1649
-
1650
- // @public
1651
- export interface QueryUsageOptionalParams extends coreClient.OperationOptions {
1652
- }
1653
-
1654
- // @public
1655
- export type QueryUsageResponse = QueryResult;
1656
-
1657
- // @public
1658
- export interface RecommendationUsageDetails {
1659
- readonly charges?: number[];
1660
- usageGrain?: Grain;
1661
- }
1662
-
1663
- // @public
1664
- export type RecurrenceType = string;
1665
-
1666
- // @public
1667
- export interface ReportConfigAggregation {
1668
- function: FunctionType;
1669
- name: string;
1670
- }
1671
-
1672
- // @public
1673
- export interface ReportConfigComparisonExpression {
1674
- name: string;
1675
- operator: OperatorType;
1676
- values: string[];
1677
- }
1678
-
1679
- // @public
1680
- export interface ReportConfigDataset {
1681
- aggregation?: {
1682
- [propertyName: string]: ReportConfigAggregation;
1683
- };
1684
- configuration?: ReportConfigDatasetConfiguration;
1685
- filter?: ReportConfigFilter;
1686
- granularity?: ReportGranularityType;
1687
- grouping?: ReportConfigGrouping[];
1688
- sorting?: ReportConfigSorting[];
1689
- }
1690
-
1691
- // @public
1692
- export interface ReportConfigDatasetConfiguration {
1693
- columns?: string[];
1694
- }
1695
-
1696
- // @public
1697
- export interface ReportConfigFilter {
1698
- and?: ReportConfigFilter[];
1699
- dimensions?: ReportConfigComparisonExpression;
1700
- or?: ReportConfigFilter[];
1701
- tags?: ReportConfigComparisonExpression;
1702
- }
1703
-
1704
- // @public
1705
- export interface ReportConfigGrouping {
1706
- name: string;
1707
- type: QueryColumnType;
1708
- }
1709
-
1710
- // @public
1711
- export interface ReportConfigSorting {
1712
- direction?: ReportConfigSortingType;
1713
- name: string;
1714
- }
1715
-
1716
- // @public
1717
- export type ReportConfigSortingType = string;
1718
-
1719
- // @public
1720
- export interface ReportConfigTimePeriod {
1721
- from: Date;
1722
- to: Date;
1723
- }
1724
-
1725
- // @public
1726
- export type ReportGranularityType = string;
1727
-
1728
- // @public
1729
- export type ReportOperationStatusType = string;
1730
-
1731
- // @public
1732
- export type ReportTimeframeType = string;
1733
-
1734
- // @public
1735
- export type ReportType = string;
1736
-
1737
- // @public
1738
- export type ReservationReportSchema = string;
1739
-
1740
- // @public
1741
- export interface Resource {
1742
- readonly id?: string;
1743
- readonly name?: string;
1744
- readonly type?: string;
1745
- }
1746
-
1747
- // @public
1748
- export interface SavingsPlanUtilizationSummary extends BenefitUtilizationSummary {
1749
- readonly armSkuName?: string;
1750
- readonly avgUtilizationPercentage?: number;
1751
- readonly benefitId?: string;
1752
- readonly benefitOrderId?: string;
1753
- benefitType?: BenefitKind;
1754
- kind: "SavingsPlan";
1755
- readonly maxUtilizationPercentage?: number;
1756
- readonly minUtilizationPercentage?: number;
1757
- readonly usageDate?: Date;
1758
- }
1759
-
1760
- // @public
1761
- export interface SavingsPlanUtilizationSummaryProperties extends BenefitUtilizationSummaryProperties {
1762
- readonly avgUtilizationPercentage?: number;
1763
- readonly maxUtilizationPercentage?: number;
1764
- readonly minUtilizationPercentage?: number;
1765
- }
1766
-
1767
- // @public
1768
- export interface ScheduledAction extends ScheduledActionProxyResource {
1769
- displayName?: string;
1770
- fileDestination?: FileDestination;
1771
- notification?: NotificationProperties;
1772
- notificationEmail?: string;
1773
- schedule?: ScheduleProperties;
1774
- scope?: string;
1775
- status?: ScheduledActionStatus;
1776
- viewId?: string;
1777
- }
1778
-
1779
- // @public
1780
- export type ScheduledActionKind = string;
1781
-
1782
- // @public
1783
- export interface ScheduledActionListResult {
1784
- readonly nextLink?: string;
1785
- readonly value?: ScheduledAction[];
1786
- }
1787
-
1788
- // @public
1789
- export interface ScheduledActionProxyResource extends ProxyResource {
1790
- readonly eTag?: string;
1791
- kind?: ScheduledActionKind;
1792
- readonly systemData?: SystemData;
1793
- }
1794
-
1795
- // @public
1796
- export interface ScheduledActions {
1797
- checkNameAvailability(checkNameAvailabilityRequest: CheckNameAvailabilityRequest, options?: ScheduledActionsCheckNameAvailabilityOptionalParams): Promise<ScheduledActionsCheckNameAvailabilityResponse>;
1798
- checkNameAvailabilityByScope(scope: string, checkNameAvailabilityRequest: CheckNameAvailabilityRequest, options?: ScheduledActionsCheckNameAvailabilityByScopeOptionalParams): Promise<ScheduledActionsCheckNameAvailabilityByScopeResponse>;
1799
- createOrUpdate(name: string, scheduledAction: ScheduledAction, options?: ScheduledActionsCreateOrUpdateOptionalParams): Promise<ScheduledActionsCreateOrUpdateResponse>;
1800
- createOrUpdateByScope(scope: string, name: string, scheduledAction: ScheduledAction, options?: ScheduledActionsCreateOrUpdateByScopeOptionalParams): Promise<ScheduledActionsCreateOrUpdateByScopeResponse>;
1801
- delete(name: string, options?: ScheduledActionsDeleteOptionalParams): Promise<void>;
1802
- deleteByScope(scope: string, name: string, options?: ScheduledActionsDeleteByScopeOptionalParams): Promise<void>;
1803
- get(name: string, options?: ScheduledActionsGetOptionalParams): Promise<ScheduledActionsGetResponse>;
1804
- getByScope(scope: string, name: string, options?: ScheduledActionsGetByScopeOptionalParams): Promise<ScheduledActionsGetByScopeResponse>;
1805
- list(options?: ScheduledActionsListOptionalParams): PagedAsyncIterableIterator<ScheduledAction>;
1806
- listByScope(scope: string, options?: ScheduledActionsListByScopeOptionalParams): PagedAsyncIterableIterator<ScheduledAction>;
1807
- run(name: string, options?: ScheduledActionsRunOptionalParams): Promise<void>;
1808
- runByScope(scope: string, name: string, options?: ScheduledActionsRunByScopeOptionalParams): Promise<void>;
1809
- }
1810
-
1811
- // @public
1812
- export interface ScheduledActionsCheckNameAvailabilityByScopeOptionalParams extends coreClient.OperationOptions {
1813
- }
1814
-
1815
- // @public
1816
- export type ScheduledActionsCheckNameAvailabilityByScopeResponse = CheckNameAvailabilityResponse;
1817
-
1818
- // @public
1819
- export interface ScheduledActionsCheckNameAvailabilityOptionalParams extends coreClient.OperationOptions {
1820
- }
1821
-
1822
- // @public
1823
- export type ScheduledActionsCheckNameAvailabilityResponse = CheckNameAvailabilityResponse;
1824
-
1825
- // @public
1826
- export interface ScheduledActionsCreateOrUpdateByScopeOptionalParams extends coreClient.OperationOptions {
1827
- ifMatch?: string;
1828
- }
1829
-
1830
- // @public
1831
- export type ScheduledActionsCreateOrUpdateByScopeResponse = ScheduledAction;
1832
-
1833
- // @public
1834
- export interface ScheduledActionsCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
1835
- ifMatch?: string;
1836
- }
1837
-
1838
- // @public
1839
- export type ScheduledActionsCreateOrUpdateResponse = ScheduledAction;
1840
-
1841
- // @public
1842
- export interface ScheduledActionsDeleteByScopeOptionalParams extends coreClient.OperationOptions {
1843
- }
1844
-
1845
- // @public
1846
- export interface ScheduledActionsDeleteOptionalParams extends coreClient.OperationOptions {
1847
- }
1848
-
1849
- // @public
1850
- export interface ScheduledActionsGetByScopeOptionalParams extends coreClient.OperationOptions {
1851
- }
1852
-
1853
- // @public
1854
- export type ScheduledActionsGetByScopeResponse = ScheduledAction;
1855
-
1856
- // @public
1857
- export interface ScheduledActionsGetOptionalParams extends coreClient.OperationOptions {
1858
- }
1859
-
1860
- // @public
1861
- export type ScheduledActionsGetResponse = ScheduledAction;
1862
-
1863
- // @public
1864
- export interface ScheduledActionsListByScopeNextOptionalParams extends coreClient.OperationOptions {
1865
- }
1866
-
1867
- // @public
1868
- export type ScheduledActionsListByScopeNextResponse = ScheduledActionListResult;
1869
-
1870
- // @public
1871
- export interface ScheduledActionsListByScopeOptionalParams extends coreClient.OperationOptions {
1872
- filter?: string;
1873
- }
1874
-
1875
- // @public
1876
- export type ScheduledActionsListByScopeResponse = ScheduledActionListResult;
1877
-
1878
- // @public
1879
- export interface ScheduledActionsListNextOptionalParams extends coreClient.OperationOptions {
1880
- }
1881
-
1882
- // @public
1883
- export type ScheduledActionsListNextResponse = ScheduledActionListResult;
1884
-
1885
- // @public
1886
- export interface ScheduledActionsListOptionalParams extends coreClient.OperationOptions {
1887
- filter?: string;
1888
- }
1889
-
1890
- // @public
1891
- export type ScheduledActionsListResponse = ScheduledActionListResult;
1892
-
1893
- // @public
1894
- export interface ScheduledActionsRunByScopeOptionalParams extends coreClient.OperationOptions {
1895
- }
1896
-
1897
- // @public
1898
- export interface ScheduledActionsRunOptionalParams extends coreClient.OperationOptions {
1899
- }
1900
-
1901
- // @public
1902
- export type ScheduledActionStatus = string;
1903
-
1904
- // @public
1905
- export type ScheduleFrequency = string;
1906
-
1907
- // @public
1908
- export interface ScheduleProperties {
1909
- dayOfMonth?: number;
1910
- daysOfWeek?: DaysOfWeek[];
1911
- endDate: Date;
1912
- frequency: ScheduleFrequency;
1913
- hourOfDay?: number;
1914
- startDate: Date;
1915
- weeksOfMonth?: WeeksOfMonth[];
1916
- }
1917
-
1918
- // @public
1919
- export type Scope = string;
1920
-
1921
- // @public
1922
- export interface SharedScopeBenefitRecommendationProperties extends BenefitRecommendationProperties {
1923
- scope: "Shared";
1924
- }
1925
-
1926
- // @public
1927
- export interface SingleScopeBenefitRecommendationProperties extends BenefitRecommendationProperties {
1928
- readonly resourceGroup?: string;
1929
- scope: "Single";
1930
- readonly subscriptionId?: string;
1931
- }
1932
-
1933
- // @public
1934
- export interface Status {
1935
- status?: ReportOperationStatusType;
1936
- }
1937
-
1938
- // @public
1939
- export type StatusType = string;
1940
-
1941
- // @public
1942
- export interface SystemData {
1943
- createdAt?: Date;
1944
- createdBy?: string;
1945
- createdByType?: CreatedByType;
1946
- lastModifiedAt?: Date;
1947
- lastModifiedBy?: string;
1948
- lastModifiedByType?: CreatedByType;
1949
- }
1950
-
1951
- // @public
1952
- export type Term = string;
1953
-
1954
- // @public
1955
- export type TimeframeType = string;
1956
-
1957
- // @public
1958
- export interface View extends CostManagementProxyResource {
1959
- accumulated?: AccumulatedType;
1960
- chart?: ChartType;
1961
- readonly createdOn?: Date;
1962
- readonly currency?: string;
1963
- dataSet?: ReportConfigDataset;
1964
- readonly dateRange?: string;
1965
- displayName?: string;
1966
- includeMonetaryCommitment?: boolean;
1967
- kpis?: KpiProperties[];
1968
- metric?: MetricType;
1969
- readonly modifiedOn?: Date;
1970
- pivots?: PivotProperties[];
1971
- scope?: string;
1972
- timeframe?: ReportTimeframeType;
1973
- timePeriod?: ReportConfigTimePeriod;
1974
- typePropertiesQueryType?: ReportType;
1975
- }
1976
-
1977
- // @public
1978
- export interface ViewListResult {
1979
- readonly nextLink?: string;
1980
- readonly value?: View[];
1981
- }
1982
-
1983
- // @public
1984
- export interface Views {
1985
- createOrUpdate(viewName: string, parameters: View, options?: ViewsCreateOrUpdateOptionalParams): Promise<ViewsCreateOrUpdateResponse>;
1986
- createOrUpdateByScope(scope: string, viewName: string, parameters: View, options?: ViewsCreateOrUpdateByScopeOptionalParams): Promise<ViewsCreateOrUpdateByScopeResponse>;
1987
- delete(viewName: string, options?: ViewsDeleteOptionalParams): Promise<void>;
1988
- deleteByScope(scope: string, viewName: string, options?: ViewsDeleteByScopeOptionalParams): Promise<void>;
1989
- get(viewName: string, options?: ViewsGetOptionalParams): Promise<ViewsGetResponse>;
1990
- getByScope(scope: string, viewName: string, options?: ViewsGetByScopeOptionalParams): Promise<ViewsGetByScopeResponse>;
1991
- list(options?: ViewsListOptionalParams): PagedAsyncIterableIterator<View>;
1992
- listByScope(scope: string, options?: ViewsListByScopeOptionalParams): PagedAsyncIterableIterator<View>;
1993
- }
1994
-
1995
- // @public
1996
- export interface ViewsCreateOrUpdateByScopeOptionalParams extends coreClient.OperationOptions {
1997
- }
1998
-
1999
- // @public
2000
- export type ViewsCreateOrUpdateByScopeResponse = View;
2001
-
2002
- // @public
2003
- export interface ViewsCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
2004
- }
2005
-
2006
- // @public
2007
- export type ViewsCreateOrUpdateResponse = View;
2008
-
2009
- // @public
2010
- export interface ViewsDeleteByScopeOptionalParams extends coreClient.OperationOptions {
2011
- }
2012
-
2013
- // @public
2014
- export interface ViewsDeleteOptionalParams extends coreClient.OperationOptions {
2015
- }
2016
-
2017
- // @public
2018
- export interface ViewsGetByScopeOptionalParams extends coreClient.OperationOptions {
2019
- }
2020
-
2021
- // @public
2022
- export type ViewsGetByScopeResponse = View;
2023
-
2024
- // @public
2025
- export interface ViewsGetOptionalParams extends coreClient.OperationOptions {
2026
- }
2027
-
2028
- // @public
2029
- export type ViewsGetResponse = View;
2030
-
2031
- // @public
2032
- export interface ViewsListByScopeNextOptionalParams extends coreClient.OperationOptions {
2033
- }
2034
-
2035
- // @public
2036
- export type ViewsListByScopeNextResponse = ViewListResult;
2037
-
2038
- // @public
2039
- export interface ViewsListByScopeOptionalParams extends coreClient.OperationOptions {
2040
- }
2041
-
2042
- // @public
2043
- export type ViewsListByScopeResponse = ViewListResult;
2044
-
2045
- // @public
2046
- export interface ViewsListNextOptionalParams extends coreClient.OperationOptions {
2047
- }
2048
-
2049
- // @public
2050
- export type ViewsListNextResponse = ViewListResult;
2051
-
2052
- // @public
2053
- export interface ViewsListOptionalParams extends coreClient.OperationOptions {
2054
- }
2055
-
2056
- // @public
2057
- export type ViewsListResponse = ViewListResult;
2058
-
2059
- // @public
2060
- export type WeeksOfMonth = string;
2061
-
2062
- // (No @packageDocumentation comment for this package)
2063
-
2064
- ```
1
+ ## API Report File for "@azure/arm-costmanagement"
2
+
3
+ > Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
4
+
5
+ ```ts
6
+
7
+ import * as coreAuth from '@azure/core-auth';
8
+ import * as coreClient from '@azure/core-client';
9
+ import { OperationState } from '@azure/core-lro';
10
+ import { PagedAsyncIterableIterator } from '@azure/core-paging';
11
+ import { SimplePollerLike } from '@azure/core-lro';
12
+
13
+ // @public
14
+ export type AccumulatedType = string;
15
+
16
+ // @public
17
+ export type ActionType = string;
18
+
19
+ // @public
20
+ export interface Alert extends CostManagementProxyResource {
21
+ closeTime?: string;
22
+ costEntityId?: string;
23
+ creationTime?: string;
24
+ definition?: AlertPropertiesDefinition;
25
+ description?: string;
26
+ details?: AlertPropertiesDetails;
27
+ modificationTime?: string;
28
+ source?: AlertSource;
29
+ status?: AlertStatus;
30
+ statusModificationTime?: string;
31
+ statusModificationUserName?: string;
32
+ }
33
+
34
+ // @public
35
+ export type AlertCategory = string;
36
+
37
+ // @public
38
+ export type AlertCriteria = string;
39
+
40
+ // @public
41
+ export type AlertOperator = string;
42
+
43
+ // @public
44
+ export interface AlertPropertiesDefinition {
45
+ category?: AlertCategory;
46
+ criteria?: AlertCriteria;
47
+ type?: AlertType;
48
+ }
49
+
50
+ // @public
51
+ export interface AlertPropertiesDetails {
52
+ amount?: number;
53
+ companyName?: string;
54
+ contactEmails?: string[];
55
+ contactGroups?: string[];
56
+ contactRoles?: string[];
57
+ currentSpend?: number;
58
+ departmentName?: string;
59
+ enrollmentEndDate?: string;
60
+ enrollmentNumber?: string;
61
+ enrollmentStartDate?: string;
62
+ invoicingThreshold?: number;
63
+ meterFilter?: any[];
64
+ operator?: AlertOperator;
65
+ overridingAlert?: string;
66
+ periodStartDate?: string;
67
+ resourceFilter?: any[];
68
+ resourceGroupFilter?: any[];
69
+ tagFilter?: Record<string, unknown>;
70
+ threshold?: number;
71
+ timeGrainType?: AlertTimeGrainType;
72
+ triggeredBy?: string;
73
+ unit?: string;
74
+ }
75
+
76
+ // @public
77
+ export interface Alerts {
78
+ dismiss(scope: string, alertId: string, parameters: DismissAlertPayload, options?: AlertsDismissOptionalParams): Promise<AlertsDismissResponse>;
79
+ get(scope: string, alertId: string, options?: AlertsGetOptionalParams): Promise<AlertsGetResponse>;
80
+ list(scope: string, options?: AlertsListOptionalParams): Promise<AlertsListResponse>;
81
+ listExternal(externalCloudProviderType: ExternalCloudProviderType, externalCloudProviderId: string, options?: AlertsListExternalOptionalParams): Promise<AlertsListExternalResponse>;
82
+ }
83
+
84
+ // @public
85
+ export interface AlertsDismissOptionalParams extends coreClient.OperationOptions {
86
+ }
87
+
88
+ // @public
89
+ export type AlertsDismissResponse = Alert;
90
+
91
+ // @public
92
+ export interface AlertsGetOptionalParams extends coreClient.OperationOptions {
93
+ }
94
+
95
+ // @public
96
+ export type AlertsGetResponse = Alert;
97
+
98
+ // @public
99
+ export interface AlertsListExternalOptionalParams extends coreClient.OperationOptions {
100
+ }
101
+
102
+ // @public
103
+ export type AlertsListExternalResponse = AlertsResult;
104
+
105
+ // @public
106
+ export interface AlertsListOptionalParams extends coreClient.OperationOptions {
107
+ }
108
+
109
+ // @public
110
+ export type AlertsListResponse = AlertsResult;
111
+
112
+ // @public
113
+ export type AlertSource = string;
114
+
115
+ // @public
116
+ export interface AlertsResult {
117
+ readonly nextLink?: string;
118
+ readonly value?: Alert[];
119
+ }
120
+
121
+ // @public
122
+ export type AlertStatus = string;
123
+
124
+ // @public
125
+ export type AlertTimeGrainType = string;
126
+
127
+ // @public
128
+ export type AlertType = string;
129
+
130
+ // @public
131
+ export interface AllSavingsBenefitDetails {
132
+ readonly averageUtilizationPercentage?: number;
133
+ readonly benefitCost?: number;
134
+ readonly commitmentAmount?: number;
135
+ readonly coveragePercentage?: number;
136
+ readonly overageCost?: number;
137
+ readonly savingsAmount?: number;
138
+ readonly savingsPercentage?: number;
139
+ readonly totalCost?: number;
140
+ readonly wastageCost?: number;
141
+ }
142
+
143
+ // @public
144
+ export interface AllSavingsList {
145
+ readonly nextLink?: string;
146
+ readonly value?: AllSavingsBenefitDetails[];
147
+ }
148
+
149
+ // @public
150
+ export type BenefitKind = string;
151
+
152
+ // @public
153
+ export interface BenefitRecommendationModel extends BenefitResource {
154
+ properties?: BenefitRecommendationPropertiesUnion;
155
+ }
156
+
157
+ // @public
158
+ export interface BenefitRecommendationProperties {
159
+ readonly allRecommendationDetails?: AllSavingsList;
160
+ readonly armSkuName?: string;
161
+ commitmentGranularity?: Grain;
162
+ readonly costWithoutBenefit?: number;
163
+ readonly currencyCode?: string;
164
+ readonly firstConsumptionDate?: Date;
165
+ readonly lastConsumptionDate?: Date;
166
+ lookBackPeriod?: LookBackPeriod;
167
+ recommendationDetails?: AllSavingsBenefitDetails;
168
+ scope: "Single" | "Shared";
169
+ term?: Term;
170
+ readonly totalHours?: number;
171
+ usage?: RecommendationUsageDetails;
172
+ }
173
+
174
+ // @public (undocumented)
175
+ export type BenefitRecommendationPropertiesUnion = BenefitRecommendationProperties | SingleScopeBenefitRecommendationProperties | SharedScopeBenefitRecommendationProperties;
176
+
177
+ // @public
178
+ export interface BenefitRecommendations {
179
+ list(billingScope: string, options?: BenefitRecommendationsListOptionalParams): PagedAsyncIterableIterator<BenefitRecommendationModel>;
180
+ }
181
+
182
+ // @public
183
+ export interface BenefitRecommendationsListNextOptionalParams extends coreClient.OperationOptions {
184
+ }
185
+
186
+ // @public
187
+ export type BenefitRecommendationsListNextResponse = BenefitRecommendationsListResult;
188
+
189
+ // @public
190
+ export interface BenefitRecommendationsListOptionalParams extends coreClient.OperationOptions {
191
+ expand?: string;
192
+ filter?: string;
193
+ orderby?: string;
194
+ }
195
+
196
+ // @public
197
+ export type BenefitRecommendationsListResponse = BenefitRecommendationsListResult;
198
+
199
+ // @public
200
+ export interface BenefitRecommendationsListResult {
201
+ readonly nextLink?: string;
202
+ readonly value?: BenefitRecommendationModel[];
203
+ }
204
+
205
+ // @public
206
+ export interface BenefitResource extends Resource {
207
+ kind?: BenefitKind;
208
+ }
209
+
210
+ // @public
211
+ export interface BenefitUtilizationSummaries {
212
+ listByBillingAccountId(billingAccountId: string, options?: BenefitUtilizationSummariesListByBillingAccountIdOptionalParams): PagedAsyncIterableIterator<BenefitUtilizationSummaryUnion>;
213
+ listByBillingProfileId(billingAccountId: string, billingProfileId: string, options?: BenefitUtilizationSummariesListByBillingProfileIdOptionalParams): PagedAsyncIterableIterator<BenefitUtilizationSummaryUnion>;
214
+ listBySavingsPlanId(savingsPlanOrderId: string, savingsPlanId: string, options?: BenefitUtilizationSummariesListBySavingsPlanIdOptionalParams): PagedAsyncIterableIterator<BenefitUtilizationSummaryUnion>;
215
+ listBySavingsPlanOrder(savingsPlanOrderId: string, options?: BenefitUtilizationSummariesListBySavingsPlanOrderOptionalParams): PagedAsyncIterableIterator<BenefitUtilizationSummaryUnion>;
216
+ }
217
+
218
+ // @public
219
+ export interface BenefitUtilizationSummariesListByBillingAccountIdNextOptionalParams extends coreClient.OperationOptions {
220
+ }
221
+
222
+ // @public
223
+ export type BenefitUtilizationSummariesListByBillingAccountIdNextResponse = BenefitUtilizationSummariesListResult;
224
+
225
+ // @public
226
+ export interface BenefitUtilizationSummariesListByBillingAccountIdOptionalParams extends coreClient.OperationOptions {
227
+ filter?: string;
228
+ grainParameter?: GrainParameter;
229
+ }
230
+
231
+ // @public
232
+ export type BenefitUtilizationSummariesListByBillingAccountIdResponse = BenefitUtilizationSummariesListResult;
233
+
234
+ // @public
235
+ export interface BenefitUtilizationSummariesListByBillingProfileIdNextOptionalParams extends coreClient.OperationOptions {
236
+ }
237
+
238
+ // @public
239
+ export type BenefitUtilizationSummariesListByBillingProfileIdNextResponse = BenefitUtilizationSummariesListResult;
240
+
241
+ // @public
242
+ export interface BenefitUtilizationSummariesListByBillingProfileIdOptionalParams extends coreClient.OperationOptions {
243
+ filter?: string;
244
+ grainParameter?: GrainParameter;
245
+ }
246
+
247
+ // @public
248
+ export type BenefitUtilizationSummariesListByBillingProfileIdResponse = BenefitUtilizationSummariesListResult;
249
+
250
+ // @public
251
+ export interface BenefitUtilizationSummariesListBySavingsPlanIdNextOptionalParams extends coreClient.OperationOptions {
252
+ }
253
+
254
+ // @public
255
+ export type BenefitUtilizationSummariesListBySavingsPlanIdNextResponse = BenefitUtilizationSummariesListResult;
256
+
257
+ // @public
258
+ export interface BenefitUtilizationSummariesListBySavingsPlanIdOptionalParams extends coreClient.OperationOptions {
259
+ filter?: string;
260
+ grainParameter?: GrainParameter;
261
+ }
262
+
263
+ // @public
264
+ export type BenefitUtilizationSummariesListBySavingsPlanIdResponse = BenefitUtilizationSummariesListResult;
265
+
266
+ // @public
267
+ export interface BenefitUtilizationSummariesListBySavingsPlanOrderNextOptionalParams extends coreClient.OperationOptions {
268
+ }
269
+
270
+ // @public
271
+ export type BenefitUtilizationSummariesListBySavingsPlanOrderNextResponse = BenefitUtilizationSummariesListResult;
272
+
273
+ // @public
274
+ export interface BenefitUtilizationSummariesListBySavingsPlanOrderOptionalParams extends coreClient.OperationOptions {
275
+ filter?: string;
276
+ grainParameter?: GrainParameter;
277
+ }
278
+
279
+ // @public
280
+ export type BenefitUtilizationSummariesListBySavingsPlanOrderResponse = BenefitUtilizationSummariesListResult;
281
+
282
+ // @public
283
+ export interface BenefitUtilizationSummariesListResult {
284
+ readonly nextLink?: string;
285
+ readonly value?: BenefitUtilizationSummaryUnion[];
286
+ }
287
+
288
+ // @public
289
+ export interface BenefitUtilizationSummary extends Resource {
290
+ kind: BenefitKind;
291
+ }
292
+
293
+ // @public
294
+ export interface BenefitUtilizationSummaryProperties {
295
+ readonly armSkuName?: string;
296
+ readonly benefitId?: string;
297
+ readonly benefitOrderId?: string;
298
+ benefitType?: BenefitKind;
299
+ readonly usageDate?: Date;
300
+ }
301
+
302
+ // @public (undocumented)
303
+ export type BenefitUtilizationSummaryUnion = BenefitUtilizationSummary | IncludedQuantityUtilizationSummary | SavingsPlanUtilizationSummary;
304
+
305
+ // @public
306
+ export interface BlobInfo {
307
+ blobLink?: string;
308
+ byteCount?: number;
309
+ }
310
+
311
+ // @public
312
+ export type ChartType = string;
313
+
314
+ // @public
315
+ export type CheckNameAvailabilityReason = string;
316
+
317
+ // @public
318
+ export interface CheckNameAvailabilityRequest {
319
+ name?: string;
320
+ type?: string;
321
+ }
322
+
323
+ // @public
324
+ export interface CheckNameAvailabilityResponse {
325
+ message?: string;
326
+ nameAvailable?: boolean;
327
+ reason?: CheckNameAvailabilityReason;
328
+ }
329
+
330
+ // @public
331
+ export interface CommonExportProperties {
332
+ definition: ExportDefinition;
333
+ deliveryInfo: ExportDeliveryInfo;
334
+ format?: FormatType;
335
+ readonly nextRunTimeEstimate?: Date;
336
+ partitionData?: boolean;
337
+ runHistory?: ExportExecutionListResult;
338
+ }
339
+
340
+ // @public
341
+ export type CostDetailsDataFormat = string;
342
+
343
+ // @public
344
+ export type CostDetailsMetricType = string;
345
+
346
+ // @public
347
+ export interface CostDetailsOperationResults {
348
+ blobCount?: number;
349
+ blobs?: BlobInfo[];
350
+ byteCount?: number;
351
+ compressData?: boolean;
352
+ dataFormat?: CostDetailsDataFormat;
353
+ error?: ErrorDetails;
354
+ id?: string;
355
+ manifestVersion?: string;
356
+ name?: string;
357
+ requestBody?: GenerateCostDetailsReportRequestDefinition;
358
+ requestScope?: string;
359
+ status?: CostDetailsStatusType;
360
+ type?: string;
361
+ validTill?: Date;
362
+ }
363
+
364
+ // @public
365
+ export type CostDetailsStatusType = string;
366
+
367
+ // @public
368
+ export interface CostDetailsTimePeriod {
369
+ end: string;
370
+ start: string;
371
+ }
372
+
373
+ // @public (undocumented)
374
+ export class CostManagementClient extends coreClient.ServiceClient {
375
+ // (undocumented)
376
+ $host: string;
377
+ constructor(credentials: coreAuth.TokenCredential, options?: CostManagementClientOptionalParams);
378
+ // (undocumented)
379
+ alerts: Alerts;
380
+ // (undocumented)
381
+ apiVersion: string;
382
+ // (undocumented)
383
+ benefitRecommendations: BenefitRecommendations;
384
+ // (undocumented)
385
+ benefitUtilizationSummaries: BenefitUtilizationSummaries;
386
+ // (undocumented)
387
+ dimensions: Dimensions;
388
+ // (undocumented)
389
+ exports: Exports;
390
+ // (undocumented)
391
+ forecast: Forecast;
392
+ // (undocumented)
393
+ generateCostDetailsReport: GenerateCostDetailsReport;
394
+ // (undocumented)
395
+ generateDetailedCostReport: GenerateDetailedCostReport;
396
+ // (undocumented)
397
+ generateDetailedCostReportOperationResults: GenerateDetailedCostReportOperationResults;
398
+ // (undocumented)
399
+ generateDetailedCostReportOperationStatus: GenerateDetailedCostReportOperationStatus;
400
+ // (undocumented)
401
+ generateReservationDetailsReport: GenerateReservationDetailsReport;
402
+ // (undocumented)
403
+ operations: Operations;
404
+ // (undocumented)
405
+ priceSheet: PriceSheet;
406
+ // (undocumented)
407
+ query: Query;
408
+ // (undocumented)
409
+ scheduledActions: ScheduledActions;
410
+ // (undocumented)
411
+ views: Views;
412
+ }
413
+
414
+ // @public
415
+ export interface CostManagementClientOptionalParams extends coreClient.ServiceClientOptions {
416
+ $host?: string;
417
+ apiVersion?: string;
418
+ endpoint?: string;
419
+ }
420
+
421
+ // @public
422
+ export interface CostManagementOperation extends Operation {
423
+ readonly id?: string;
424
+ }
425
+
426
+ // @public
427
+ export interface CostManagementProxyResource {
428
+ eTag?: string;
429
+ readonly id?: string;
430
+ readonly name?: string;
431
+ readonly type?: string;
432
+ }
433
+
434
+ // @public
435
+ export interface CostManagementResource {
436
+ readonly eTag?: string;
437
+ readonly id?: string;
438
+ readonly location?: string;
439
+ readonly name?: string;
440
+ readonly sku?: string;
441
+ readonly tags?: {
442
+ [propertyName: string]: string;
443
+ };
444
+ readonly type?: string;
445
+ }
446
+
447
+ // @public
448
+ export type CreatedByType = string;
449
+
450
+ // @public
451
+ export type DaysOfWeek = string;
452
+
453
+ // @public
454
+ export interface Dimension extends CostManagementResource {
455
+ readonly category?: string;
456
+ data?: string[];
457
+ readonly description?: string;
458
+ readonly filterEnabled?: boolean;
459
+ readonly groupingEnabled?: boolean;
460
+ readonly nextLink?: string;
461
+ readonly total?: number;
462
+ readonly usageEnd?: Date;
463
+ readonly usageStart?: Date;
464
+ }
465
+
466
+ // @public
467
+ export interface Dimensions {
468
+ list(scope: string, options?: DimensionsListOptionalParams): PagedAsyncIterableIterator<Dimension>;
469
+ listByExternalCloudProviderType(externalCloudProviderType: ExternalCloudProviderType, externalCloudProviderId: string, options?: DimensionsByExternalCloudProviderTypeOptionalParams): PagedAsyncIterableIterator<Dimension>;
470
+ }
471
+
472
+ // @public
473
+ export interface DimensionsByExternalCloudProviderTypeOptionalParams extends coreClient.OperationOptions {
474
+ expand?: string;
475
+ filter?: string;
476
+ skiptoken?: string;
477
+ top?: number;
478
+ }
479
+
480
+ // @public
481
+ export type DimensionsByExternalCloudProviderTypeResponse = DimensionsListResult;
482
+
483
+ // @public
484
+ export interface DimensionsListOptionalParams extends coreClient.OperationOptions {
485
+ expand?: string;
486
+ filter?: string;
487
+ skiptoken?: string;
488
+ top?: number;
489
+ }
490
+
491
+ // @public
492
+ export type DimensionsListResponse = DimensionsListResult;
493
+
494
+ // @public
495
+ export interface DimensionsListResult {
496
+ readonly value?: Dimension[];
497
+ }
498
+
499
+ // @public
500
+ export interface DismissAlertPayload {
501
+ closeTime?: string;
502
+ costEntityId?: string;
503
+ creationTime?: string;
504
+ definition?: AlertPropertiesDefinition;
505
+ description?: string;
506
+ details?: AlertPropertiesDetails;
507
+ modificationTime?: string;
508
+ source?: AlertSource;
509
+ status?: AlertStatus;
510
+ statusModificationTime?: string;
511
+ statusModificationUserName?: string;
512
+ }
513
+
514
+ // @public
515
+ export interface DownloadURL {
516
+ downloadUrl?: string;
517
+ readonly expiryTime?: Date;
518
+ validTill?: Date;
519
+ }
520
+
521
+ // @public
522
+ export interface ErrorDetails {
523
+ readonly code?: string;
524
+ readonly message?: string;
525
+ }
526
+
527
+ // @public
528
+ export interface ErrorDetailsWithNestedDetails extends ErrorDetails {
529
+ readonly details?: ErrorDetailsWithNestedDetails[];
530
+ }
531
+
532
+ // @public
533
+ export interface ErrorResponse {
534
+ error?: ErrorDetails;
535
+ }
536
+
537
+ // @public
538
+ export interface ErrorResponseWithNestedDetails {
539
+ error?: ErrorDetailsWithNestedDetails;
540
+ }
541
+
542
+ // @public
543
+ export type ExecutionStatus = string;
544
+
545
+ // @public
546
+ export type ExecutionType = string;
547
+
548
+ // @public
549
+ export interface Export extends CostManagementProxyResource {
550
+ definition?: ExportDefinition;
551
+ deliveryInfo?: ExportDeliveryInfo;
552
+ format?: FormatType;
553
+ readonly nextRunTimeEstimate?: Date;
554
+ partitionData?: boolean;
555
+ runHistory?: ExportExecutionListResult;
556
+ schedule?: ExportSchedule;
557
+ }
558
+
559
+ // @public
560
+ export interface ExportDataset {
561
+ configuration?: ExportDatasetConfiguration;
562
+ granularity?: GranularityType;
563
+ }
564
+
565
+ // @public
566
+ export interface ExportDatasetConfiguration {
567
+ columns?: string[];
568
+ }
569
+
570
+ // @public
571
+ export interface ExportDefinition {
572
+ dataSet?: ExportDataset;
573
+ timeframe: TimeframeType;
574
+ timePeriod?: ExportTimePeriod;
575
+ type: ExportType;
576
+ }
577
+
578
+ // @public
579
+ export interface ExportDeliveryDestination {
580
+ container: string;
581
+ resourceId?: string;
582
+ rootFolderPath?: string;
583
+ sasToken?: string;
584
+ storageAccount?: string;
585
+ }
586
+
587
+ // @public
588
+ export interface ExportDeliveryInfo {
589
+ destination: ExportDeliveryDestination;
590
+ }
591
+
592
+ // @public
593
+ export interface ExportExecutionListResult {
594
+ readonly value?: ExportRun[];
595
+ }
596
+
597
+ // @public
598
+ export interface ExportListResult {
599
+ readonly value?: Export[];
600
+ }
601
+
602
+ // @public
603
+ export interface ExportProperties extends CommonExportProperties {
604
+ schedule?: ExportSchedule;
605
+ }
606
+
607
+ // @public
608
+ export interface ExportRecurrencePeriod {
609
+ from: Date;
610
+ to?: Date;
611
+ }
612
+
613
+ // @public
614
+ export interface ExportRun extends CostManagementProxyResource {
615
+ error?: ErrorDetails;
616
+ executionType?: ExecutionType;
617
+ fileName?: string;
618
+ processingEndTime?: Date;
619
+ processingStartTime?: Date;
620
+ runSettings?: CommonExportProperties;
621
+ status?: ExecutionStatus;
622
+ submittedBy?: string;
623
+ submittedTime?: Date;
624
+ }
625
+
626
+ // @public
627
+ export interface Exports {
628
+ createOrUpdate(scope: string, exportName: string, parameters: Export, options?: ExportsCreateOrUpdateOptionalParams): Promise<ExportsCreateOrUpdateResponse>;
629
+ delete(scope: string, exportName: string, options?: ExportsDeleteOptionalParams): Promise<void>;
630
+ execute(scope: string, exportName: string, options?: ExportsExecuteOptionalParams): Promise<void>;
631
+ get(scope: string, exportName: string, options?: ExportsGetOptionalParams): Promise<ExportsGetResponse>;
632
+ getExecutionHistory(scope: string, exportName: string, options?: ExportsGetExecutionHistoryOptionalParams): Promise<ExportsGetExecutionHistoryResponse>;
633
+ list(scope: string, options?: ExportsListOptionalParams): Promise<ExportsListResponse>;
634
+ }
635
+
636
+ // @public
637
+ export interface ExportSchedule {
638
+ recurrence?: RecurrenceType;
639
+ recurrencePeriod?: ExportRecurrencePeriod;
640
+ status?: StatusType;
641
+ }
642
+
643
+ // @public
644
+ export interface ExportsCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
645
+ }
646
+
647
+ // @public
648
+ export type ExportsCreateOrUpdateResponse = Export;
649
+
650
+ // @public
651
+ export interface ExportsDeleteOptionalParams extends coreClient.OperationOptions {
652
+ }
653
+
654
+ // @public
655
+ export interface ExportsExecuteOptionalParams extends coreClient.OperationOptions {
656
+ }
657
+
658
+ // @public
659
+ export interface ExportsGetExecutionHistoryOptionalParams extends coreClient.OperationOptions {
660
+ }
661
+
662
+ // @public
663
+ export type ExportsGetExecutionHistoryResponse = ExportExecutionListResult;
664
+
665
+ // @public
666
+ export interface ExportsGetOptionalParams extends coreClient.OperationOptions {
667
+ expand?: string;
668
+ }
669
+
670
+ // @public
671
+ export type ExportsGetResponse = Export;
672
+
673
+ // @public
674
+ export interface ExportsListOptionalParams extends coreClient.OperationOptions {
675
+ expand?: string;
676
+ }
677
+
678
+ // @public
679
+ export type ExportsListResponse = ExportListResult;
680
+
681
+ // @public
682
+ export interface ExportTimePeriod {
683
+ from: Date;
684
+ to: Date;
685
+ }
686
+
687
+ // @public
688
+ export type ExportType = string;
689
+
690
+ // @public
691
+ export type ExternalCloudProviderType = string;
692
+
693
+ // @public
694
+ export interface FileDestination {
695
+ fileFormats?: FileFormat[];
696
+ }
697
+
698
+ // @public
699
+ export type FileFormat = string;
700
+
701
+ // @public
702
+ export interface Forecast {
703
+ externalCloudProviderUsage(externalCloudProviderType: ExternalCloudProviderType, externalCloudProviderId: string, parameters: ForecastDefinition, options?: ForecastExternalCloudProviderUsageOptionalParams): Promise<ForecastExternalCloudProviderUsageResponse>;
704
+ usage(scope: string, parameters: ForecastDefinition, options?: ForecastUsageOptionalParams): Promise<ForecastUsageResponse>;
705
+ }
706
+
707
+ // @public
708
+ export interface ForecastAggregation {
709
+ function: FunctionType;
710
+ name: FunctionName;
711
+ }
712
+
713
+ // @public
714
+ export interface ForecastColumn {
715
+ name?: string;
716
+ type?: string;
717
+ }
718
+
719
+ // @public
720
+ export interface ForecastComparisonExpression {
721
+ name: string;
722
+ operator: ForecastOperatorType;
723
+ values: string[];
724
+ }
725
+
726
+ // @public
727
+ export interface ForecastDataset {
728
+ aggregation: {
729
+ [propertyName: string]: ForecastAggregation;
730
+ };
731
+ configuration?: ForecastDatasetConfiguration;
732
+ filter?: ForecastFilter;
733
+ granularity?: GranularityType;
734
+ }
735
+
736
+ // @public
737
+ export interface ForecastDatasetConfiguration {
738
+ columns?: string[];
739
+ }
740
+
741
+ // @public
742
+ export interface ForecastDefinition {
743
+ dataset: ForecastDataset;
744
+ includeActualCost?: boolean;
745
+ includeFreshPartialCost?: boolean;
746
+ timeframe: ForecastTimeframe;
747
+ timePeriod?: ForecastTimePeriod;
748
+ type: ForecastType;
749
+ }
750
+
751
+ // @public
752
+ export interface ForecastExternalCloudProviderUsageOptionalParams extends coreClient.OperationOptions {
753
+ filter?: string;
754
+ }
755
+
756
+ // @public
757
+ export type ForecastExternalCloudProviderUsageResponse = ForecastResult;
758
+
759
+ // @public
760
+ export interface ForecastFilter {
761
+ and?: ForecastFilter[];
762
+ dimensions?: ForecastComparisonExpression;
763
+ or?: ForecastFilter[];
764
+ tags?: ForecastComparisonExpression;
765
+ }
766
+
767
+ // @public
768
+ export type ForecastOperatorType = string;
769
+
770
+ // @public
771
+ export interface ForecastResult extends CostManagementResource {
772
+ columns?: ForecastColumn[];
773
+ nextLink?: string;
774
+ rows?: any[][];
775
+ }
776
+
777
+ // @public
778
+ export type ForecastTimeframe = string;
779
+
780
+ // @public
781
+ export interface ForecastTimePeriod {
782
+ from: Date;
783
+ to: Date;
784
+ }
785
+
786
+ // @public
787
+ export type ForecastType = string;
788
+
789
+ // @public
790
+ export interface ForecastUsageOptionalParams extends coreClient.OperationOptions {
791
+ filter?: string;
792
+ }
793
+
794
+ // @public
795
+ export type ForecastUsageResponse = ForecastResult;
796
+
797
+ // @public
798
+ export type FormatType = string;
799
+
800
+ // @public
801
+ export type FunctionName = string;
802
+
803
+ // @public
804
+ export type FunctionType = string;
805
+
806
+ // @public
807
+ export interface GenerateCostDetailsReport {
808
+ beginCreateOperation(scope: string, parameters: GenerateCostDetailsReportRequestDefinition, options?: GenerateCostDetailsReportCreateOperationOptionalParams): Promise<SimplePollerLike<OperationState<GenerateCostDetailsReportCreateOperationResponse>, GenerateCostDetailsReportCreateOperationResponse>>;
809
+ beginCreateOperationAndWait(scope: string, parameters: GenerateCostDetailsReportRequestDefinition, options?: GenerateCostDetailsReportCreateOperationOptionalParams): Promise<GenerateCostDetailsReportCreateOperationResponse>;
810
+ beginGetOperationResults(scope: string, operationId: string, options?: GenerateCostDetailsReportGetOperationResultsOptionalParams): Promise<SimplePollerLike<OperationState<GenerateCostDetailsReportGetOperationResultsResponse>, GenerateCostDetailsReportGetOperationResultsResponse>>;
811
+ beginGetOperationResultsAndWait(scope: string, operationId: string, options?: GenerateCostDetailsReportGetOperationResultsOptionalParams): Promise<GenerateCostDetailsReportGetOperationResultsResponse>;
812
+ }
813
+
814
+ // @public
815
+ export interface GenerateCostDetailsReportCreateOperationHeaders {
816
+ location?: string;
817
+ retryAfter?: number;
818
+ }
819
+
820
+ // @public
821
+ export interface GenerateCostDetailsReportCreateOperationOptionalParams extends coreClient.OperationOptions {
822
+ resumeFrom?: string;
823
+ updateIntervalInMs?: number;
824
+ }
825
+
826
+ // @public
827
+ export type GenerateCostDetailsReportCreateOperationResponse = CostDetailsOperationResults;
828
+
829
+ // @public
830
+ export interface GenerateCostDetailsReportErrorResponse {
831
+ error?: ErrorDetails;
832
+ }
833
+
834
+ // @public
835
+ export interface GenerateCostDetailsReportGetOperationResultsOptionalParams extends coreClient.OperationOptions {
836
+ resumeFrom?: string;
837
+ updateIntervalInMs?: number;
838
+ }
839
+
840
+ // @public
841
+ export type GenerateCostDetailsReportGetOperationResultsResponse = CostDetailsOperationResults;
842
+
843
+ // @public
844
+ export interface GenerateCostDetailsReportRequestDefinition {
845
+ billingPeriod?: string;
846
+ invoiceId?: string;
847
+ metric?: CostDetailsMetricType;
848
+ timePeriod?: CostDetailsTimePeriod;
849
+ }
850
+
851
+ // @public
852
+ export interface GenerateDetailedCostReport {
853
+ beginCreateOperation(scope: string, parameters: GenerateDetailedCostReportDefinition, options?: GenerateDetailedCostReportCreateOperationOptionalParams): Promise<SimplePollerLike<OperationState<GenerateDetailedCostReportCreateOperationResponse>, GenerateDetailedCostReportCreateOperationResponse>>;
854
+ beginCreateOperationAndWait(scope: string, parameters: GenerateDetailedCostReportDefinition, options?: GenerateDetailedCostReportCreateOperationOptionalParams): Promise<GenerateDetailedCostReportCreateOperationResponse>;
855
+ }
856
+
857
+ // @public
858
+ export interface GenerateDetailedCostReportCreateOperationHeaders {
859
+ azureAsyncOperation?: string;
860
+ azureConsumptionAsyncOperation?: string;
861
+ location?: string;
862
+ retryAfter?: number;
863
+ }
864
+
865
+ // @public
866
+ export interface GenerateDetailedCostReportCreateOperationOptionalParams extends coreClient.OperationOptions {
867
+ resumeFrom?: string;
868
+ updateIntervalInMs?: number;
869
+ }
870
+
871
+ // @public
872
+ export type GenerateDetailedCostReportCreateOperationResponse = GenerateDetailedCostReportOperationResult;
873
+
874
+ // @public
875
+ export interface GenerateDetailedCostReportDefinition {
876
+ billingPeriod?: string;
877
+ customerId?: string;
878
+ invoiceId?: string;
879
+ metric?: GenerateDetailedCostReportMetricType;
880
+ timePeriod?: GenerateDetailedCostReportTimePeriod;
881
+ }
882
+
883
+ // @public
884
+ export interface GenerateDetailedCostReportErrorResponse {
885
+ error?: ErrorDetails;
886
+ }
887
+
888
+ // @public
889
+ export type GenerateDetailedCostReportMetricType = string;
890
+
891
+ // @public
892
+ export interface GenerateDetailedCostReportOperationResult {
893
+ downloadUrl?: string;
894
+ readonly expiryTime?: Date;
895
+ id?: string;
896
+ name?: string;
897
+ type?: string;
898
+ validTill?: Date;
899
+ }
900
+
901
+ // @public
902
+ export interface GenerateDetailedCostReportOperationResults {
903
+ beginGet(operationId: string, scope: string, options?: GenerateDetailedCostReportOperationResultsGetOptionalParams): Promise<SimplePollerLike<OperationState<GenerateDetailedCostReportOperationResultsGetResponse>, GenerateDetailedCostReportOperationResultsGetResponse>>;
904
+ beginGetAndWait(operationId: string, scope: string, options?: GenerateDetailedCostReportOperationResultsGetOptionalParams): Promise<GenerateDetailedCostReportOperationResultsGetResponse>;
905
+ }
906
+
907
+ // @public
908
+ export interface GenerateDetailedCostReportOperationResultsGetOptionalParams extends coreClient.OperationOptions {
909
+ resumeFrom?: string;
910
+ updateIntervalInMs?: number;
911
+ }
912
+
913
+ // @public
914
+ export type GenerateDetailedCostReportOperationResultsGetResponse = GenerateDetailedCostReportOperationResult;
915
+
916
+ // @public
917
+ export interface GenerateDetailedCostReportOperationStatus {
918
+ get(operationId: string, scope: string, options?: GenerateDetailedCostReportOperationStatusGetOptionalParams): Promise<GenerateDetailedCostReportOperationStatusGetResponse>;
919
+ }
920
+
921
+ // @public
922
+ export interface GenerateDetailedCostReportOperationStatuses {
923
+ downloadUrl?: string;
924
+ endTime?: string;
925
+ error?: ErrorDetails;
926
+ readonly expiryTime?: Date;
927
+ id?: string;
928
+ name?: string;
929
+ startTime?: string;
930
+ status?: Status;
931
+ type?: string;
932
+ validTill?: Date;
933
+ }
934
+
935
+ // @public
936
+ export interface GenerateDetailedCostReportOperationStatusGetOptionalParams extends coreClient.OperationOptions {
937
+ }
938
+
939
+ // @public
940
+ export type GenerateDetailedCostReportOperationStatusGetResponse = GenerateDetailedCostReportOperationStatuses;
941
+
942
+ // @public
943
+ export interface GenerateDetailedCostReportTimePeriod {
944
+ end: string;
945
+ start: string;
946
+ }
947
+
948
+ // @public
949
+ export interface GenerateReservationDetailsReport {
950
+ beginByBillingAccountId(billingAccountId: string, startDate: string, endDate: string, options?: GenerateReservationDetailsReportByBillingAccountIdOptionalParams): Promise<SimplePollerLike<OperationState<GenerateReservationDetailsReportByBillingAccountIdResponse>, GenerateReservationDetailsReportByBillingAccountIdResponse>>;
951
+ beginByBillingAccountIdAndWait(billingAccountId: string, startDate: string, endDate: string, options?: GenerateReservationDetailsReportByBillingAccountIdOptionalParams): Promise<GenerateReservationDetailsReportByBillingAccountIdResponse>;
952
+ beginByBillingProfileId(billingAccountId: string, billingProfileId: string, startDate: string, endDate: string, options?: GenerateReservationDetailsReportByBillingProfileIdOptionalParams): Promise<SimplePollerLike<OperationState<GenerateReservationDetailsReportByBillingProfileIdResponse>, GenerateReservationDetailsReportByBillingProfileIdResponse>>;
953
+ beginByBillingProfileIdAndWait(billingAccountId: string, billingProfileId: string, startDate: string, endDate: string, options?: GenerateReservationDetailsReportByBillingProfileIdOptionalParams): Promise<GenerateReservationDetailsReportByBillingProfileIdResponse>;
954
+ }
955
+
956
+ // @public
957
+ export interface GenerateReservationDetailsReportByBillingAccountIdHeaders {
958
+ location?: string;
959
+ retryAfter?: number;
960
+ }
961
+
962
+ // @public
963
+ export interface GenerateReservationDetailsReportByBillingAccountIdOptionalParams extends coreClient.OperationOptions {
964
+ resumeFrom?: string;
965
+ updateIntervalInMs?: number;
966
+ }
967
+
968
+ // @public
969
+ export type GenerateReservationDetailsReportByBillingAccountIdResponse = OperationStatus;
970
+
971
+ // @public
972
+ export interface GenerateReservationDetailsReportByBillingProfileIdHeaders {
973
+ location?: string;
974
+ retryAfter?: number;
975
+ }
976
+
977
+ // @public
978
+ export interface GenerateReservationDetailsReportByBillingProfileIdOptionalParams extends coreClient.OperationOptions {
979
+ resumeFrom?: string;
980
+ updateIntervalInMs?: number;
981
+ }
982
+
983
+ // @public
984
+ export type GenerateReservationDetailsReportByBillingProfileIdResponse = OperationStatus;
985
+
986
+ // @public
987
+ export function getContinuationToken(page: unknown): string | undefined;
988
+
989
+ // @public
990
+ export type Grain = string;
991
+
992
+ // @public
993
+ export type GrainParameter = string;
994
+
995
+ // @public
996
+ export type GranularityType = string;
997
+
998
+ // @public
999
+ export interface IncludedQuantityUtilizationSummary extends BenefitUtilizationSummary {
1000
+ readonly armSkuName?: string;
1001
+ readonly benefitId?: string;
1002
+ readonly benefitOrderId?: string;
1003
+ benefitType?: BenefitKind;
1004
+ kind: "IncludedQuantity";
1005
+ readonly usageDate?: Date;
1006
+ readonly utilizationPercentage?: number;
1007
+ }
1008
+
1009
+ // @public
1010
+ export interface IncludedQuantityUtilizationSummaryProperties extends BenefitUtilizationSummaryProperties {
1011
+ readonly utilizationPercentage?: number;
1012
+ }
1013
+
1014
+ // @public
1015
+ export enum KnownAccumulatedType {
1016
+ False = "false",
1017
+ True = "true"
1018
+ }
1019
+
1020
+ // @public
1021
+ export enum KnownActionType {
1022
+ Internal = "Internal"
1023
+ }
1024
+
1025
+ // @public
1026
+ export enum KnownAlertCategory {
1027
+ Billing = "Billing",
1028
+ Cost = "Cost",
1029
+ System = "System",
1030
+ Usage = "Usage"
1031
+ }
1032
+
1033
+ // @public
1034
+ export enum KnownAlertCriteria {
1035
+ CostThresholdExceeded = "CostThresholdExceeded",
1036
+ CreditThresholdApproaching = "CreditThresholdApproaching",
1037
+ CreditThresholdReached = "CreditThresholdReached",
1038
+ CrossCloudCollectionError = "CrossCloudCollectionError",
1039
+ CrossCloudNewDataAvailable = "CrossCloudNewDataAvailable",
1040
+ ForecastCostThresholdExceeded = "ForecastCostThresholdExceeded",
1041
+ ForecastUsageThresholdExceeded = "ForecastUsageThresholdExceeded",
1042
+ GeneralThresholdError = "GeneralThresholdError",
1043
+ InvoiceDueDateApproaching = "InvoiceDueDateApproaching",
1044
+ InvoiceDueDateReached = "InvoiceDueDateReached",
1045
+ MultiCurrency = "MultiCurrency",
1046
+ QuotaThresholdApproaching = "QuotaThresholdApproaching",
1047
+ QuotaThresholdReached = "QuotaThresholdReached",
1048
+ UsageThresholdExceeded = "UsageThresholdExceeded"
1049
+ }
1050
+
1051
+ // @public
1052
+ export enum KnownAlertOperator {
1053
+ EqualTo = "EqualTo",
1054
+ GreaterThan = "GreaterThan",
1055
+ GreaterThanOrEqualTo = "GreaterThanOrEqualTo",
1056
+ LessThan = "LessThan",
1057
+ LessThanOrEqualTo = "LessThanOrEqualTo",
1058
+ None = "None"
1059
+ }
1060
+
1061
+ // @public
1062
+ export enum KnownAlertSource {
1063
+ Preset = "Preset",
1064
+ User = "User"
1065
+ }
1066
+
1067
+ // @public
1068
+ export enum KnownAlertStatus {
1069
+ Active = "Active",
1070
+ Dismissed = "Dismissed",
1071
+ None = "None",
1072
+ Overridden = "Overridden",
1073
+ Resolved = "Resolved"
1074
+ }
1075
+
1076
+ // @public
1077
+ export enum KnownAlertTimeGrainType {
1078
+ Annually = "Annually",
1079
+ BillingAnnual = "BillingAnnual",
1080
+ BillingMonth = "BillingMonth",
1081
+ BillingQuarter = "BillingQuarter",
1082
+ Monthly = "Monthly",
1083
+ None = "None",
1084
+ Quarterly = "Quarterly"
1085
+ }
1086
+
1087
+ // @public
1088
+ export enum KnownAlertType {
1089
+ Budget = "Budget",
1090
+ BudgetForecast = "BudgetForecast",
1091
+ Credit = "Credit",
1092
+ General = "General",
1093
+ Invoice = "Invoice",
1094
+ Quota = "Quota",
1095
+ XCloud = "xCloud"
1096
+ }
1097
+
1098
+ // @public
1099
+ export enum KnownBenefitKind {
1100
+ IncludedQuantity = "IncludedQuantity",
1101
+ Reservation = "Reservation",
1102
+ SavingsPlan = "SavingsPlan"
1103
+ }
1104
+
1105
+ // @public
1106
+ export enum KnownChartType {
1107
+ Area = "Area",
1108
+ GroupedColumn = "GroupedColumn",
1109
+ Line = "Line",
1110
+ StackedColumn = "StackedColumn",
1111
+ Table = "Table"
1112
+ }
1113
+
1114
+ // @public
1115
+ export enum KnownCheckNameAvailabilityReason {
1116
+ AlreadyExists = "AlreadyExists",
1117
+ Invalid = "Invalid"
1118
+ }
1119
+
1120
+ // @public
1121
+ export enum KnownCostDetailsDataFormat {
1122
+ CsvCostDetailsDataFormat = "Csv"
1123
+ }
1124
+
1125
+ // @public
1126
+ export enum KnownCostDetailsMetricType {
1127
+ ActualCostCostDetailsMetricType = "ActualCost",
1128
+ AmortizedCostCostDetailsMetricType = "AmortizedCost"
1129
+ }
1130
+
1131
+ // @public
1132
+ export enum KnownCostDetailsStatusType {
1133
+ CompletedCostDetailsStatusType = "Completed",
1134
+ FailedCostDetailsStatusType = "Failed",
1135
+ NoDataFoundCostDetailsStatusType = "NoDataFound"
1136
+ }
1137
+
1138
+ // @public
1139
+ export enum KnownCreatedByType {
1140
+ Application = "Application",
1141
+ Key = "Key",
1142
+ ManagedIdentity = "ManagedIdentity",
1143
+ User = "User"
1144
+ }
1145
+
1146
+ // @public
1147
+ export enum KnownDaysOfWeek {
1148
+ Friday = "Friday",
1149
+ Monday = "Monday",
1150
+ Saturday = "Saturday",
1151
+ Sunday = "Sunday",
1152
+ Thursday = "Thursday",
1153
+ Tuesday = "Tuesday",
1154
+ Wednesday = "Wednesday"
1155
+ }
1156
+
1157
+ // @public
1158
+ export enum KnownExecutionStatus {
1159
+ Completed = "Completed",
1160
+ DataNotAvailable = "DataNotAvailable",
1161
+ Failed = "Failed",
1162
+ InProgress = "InProgress",
1163
+ NewDataNotAvailable = "NewDataNotAvailable",
1164
+ Queued = "Queued",
1165
+ Timeout = "Timeout"
1166
+ }
1167
+
1168
+ // @public
1169
+ export enum KnownExecutionType {
1170
+ OnDemand = "OnDemand",
1171
+ Scheduled = "Scheduled"
1172
+ }
1173
+
1174
+ // @public
1175
+ export enum KnownExportType {
1176
+ ActualCost = "ActualCost",
1177
+ AmortizedCost = "AmortizedCost",
1178
+ Usage = "Usage"
1179
+ }
1180
+
1181
+ // @public
1182
+ export enum KnownExternalCloudProviderType {
1183
+ ExternalBillingAccounts = "externalBillingAccounts",
1184
+ ExternalSubscriptions = "externalSubscriptions"
1185
+ }
1186
+
1187
+ // @public
1188
+ export enum KnownFileFormat {
1189
+ Csv = "Csv"
1190
+ }
1191
+
1192
+ // @public
1193
+ export enum KnownForecastOperatorType {
1194
+ In = "In"
1195
+ }
1196
+
1197
+ // @public
1198
+ export enum KnownForecastTimeframe {
1199
+ Custom = "Custom"
1200
+ }
1201
+
1202
+ // @public
1203
+ export enum KnownForecastType {
1204
+ ActualCost = "ActualCost",
1205
+ AmortizedCost = "AmortizedCost",
1206
+ Usage = "Usage"
1207
+ }
1208
+
1209
+ // @public
1210
+ export enum KnownFormatType {
1211
+ Csv = "Csv"
1212
+ }
1213
+
1214
+ // @public
1215
+ export enum KnownFunctionName {
1216
+ Cost = "Cost",
1217
+ CostUSD = "CostUSD",
1218
+ PreTaxCost = "PreTaxCost",
1219
+ PreTaxCostUSD = "PreTaxCostUSD"
1220
+ }
1221
+
1222
+ // @public
1223
+ export enum KnownFunctionType {
1224
+ Sum = "Sum"
1225
+ }
1226
+
1227
+ // @public
1228
+ export enum KnownGenerateDetailedCostReportMetricType {
1229
+ ActualCost = "ActualCost",
1230
+ AmortizedCost = "AmortizedCost"
1231
+ }
1232
+
1233
+ // @public
1234
+ export enum KnownGrain {
1235
+ Daily = "Daily",
1236
+ Hourly = "Hourly",
1237
+ Monthly = "Monthly"
1238
+ }
1239
+
1240
+ // @public
1241
+ export enum KnownGrainParameter {
1242
+ Daily = "Daily",
1243
+ Hourly = "Hourly",
1244
+ Monthly = "Monthly"
1245
+ }
1246
+
1247
+ // @public
1248
+ export enum KnownGranularityType {
1249
+ Daily = "Daily"
1250
+ }
1251
+
1252
+ // @public
1253
+ export enum KnownKpiType {
1254
+ Budget = "Budget",
1255
+ Forecast = "Forecast"
1256
+ }
1257
+
1258
+ // @public
1259
+ export enum KnownLookBackPeriod {
1260
+ Last30Days = "Last30Days",
1261
+ Last60Days = "Last60Days",
1262
+ Last7Days = "Last7Days"
1263
+ }
1264
+
1265
+ // @public
1266
+ export enum KnownMetricType {
1267
+ ActualCost = "ActualCost",
1268
+ Ahub = "AHUB",
1269
+ AmortizedCost = "AmortizedCost"
1270
+ }
1271
+
1272
+ // @public
1273
+ export enum KnownOperationStatusType {
1274
+ Completed = "Completed",
1275
+ Failed = "Failed",
1276
+ Running = "Running"
1277
+ }
1278
+
1279
+ // @public
1280
+ export enum KnownOperatorType {
1281
+ Contains = "Contains",
1282
+ In = "In"
1283
+ }
1284
+
1285
+ // @public
1286
+ export enum KnownOrigin {
1287
+ System = "system",
1288
+ User = "user",
1289
+ UserSystem = "user,system"
1290
+ }
1291
+
1292
+ // @public
1293
+ export enum KnownPivotType {
1294
+ Dimension = "Dimension",
1295
+ TagKey = "TagKey"
1296
+ }
1297
+
1298
+ // @public
1299
+ export enum KnownQueryColumnType {
1300
+ Dimension = "Dimension",
1301
+ TagKey = "TagKey"
1302
+ }
1303
+
1304
+ // @public
1305
+ export enum KnownQueryOperatorType {
1306
+ In = "In"
1307
+ }
1308
+
1309
+ // @public
1310
+ export enum KnownRecurrenceType {
1311
+ Annually = "Annually",
1312
+ Daily = "Daily",
1313
+ Monthly = "Monthly",
1314
+ Weekly = "Weekly"
1315
+ }
1316
+
1317
+ // @public
1318
+ export enum KnownReportConfigSortingType {
1319
+ Ascending = "Ascending",
1320
+ Descending = "Descending"
1321
+ }
1322
+
1323
+ // @public
1324
+ export enum KnownReportGranularityType {
1325
+ Daily = "Daily",
1326
+ Monthly = "Monthly"
1327
+ }
1328
+
1329
+ // @public
1330
+ export enum KnownReportOperationStatusType {
1331
+ Completed = "Completed",
1332
+ Failed = "Failed",
1333
+ InProgress = "InProgress",
1334
+ NoDataFound = "NoDataFound",
1335
+ Queued = "Queued",
1336
+ ReadyToDownload = "ReadyToDownload",
1337
+ TimedOut = "TimedOut"
1338
+ }
1339
+
1340
+ // @public
1341
+ export enum KnownReportTimeframeType {
1342
+ Custom = "Custom",
1343
+ MonthToDate = "MonthToDate",
1344
+ WeekToDate = "WeekToDate",
1345
+ YearToDate = "YearToDate"
1346
+ }
1347
+
1348
+ // @public
1349
+ export enum KnownReportType {
1350
+ Usage = "Usage"
1351
+ }
1352
+
1353
+ // @public
1354
+ export enum KnownReservationReportSchema {
1355
+ InstanceFlexibilityGroup = "InstanceFlexibilityGroup",
1356
+ InstanceFlexibilityRatio = "InstanceFlexibilityRatio",
1357
+ InstanceId = "InstanceId",
1358
+ Kind = "Kind",
1359
+ ReservationId = "ReservationId",
1360
+ ReservationOrderId = "ReservationOrderId",
1361
+ ReservedHours = "ReservedHours",
1362
+ SkuName = "SkuName",
1363
+ TotalReservedQuantity = "TotalReservedQuantity",
1364
+ UsageDate = "UsageDate",
1365
+ UsedHours = "UsedHours"
1366
+ }
1367
+
1368
+ // @public
1369
+ export enum KnownScheduledActionKind {
1370
+ Email = "Email",
1371
+ InsightAlert = "InsightAlert"
1372
+ }
1373
+
1374
+ // @public
1375
+ export enum KnownScheduledActionStatus {
1376
+ Disabled = "Disabled",
1377
+ Enabled = "Enabled",
1378
+ Expired = "Expired"
1379
+ }
1380
+
1381
+ // @public
1382
+ export enum KnownScheduleFrequency {
1383
+ Daily = "Daily",
1384
+ Monthly = "Monthly",
1385
+ Weekly = "Weekly"
1386
+ }
1387
+
1388
+ // @public
1389
+ export enum KnownScope {
1390
+ Shared = "Shared",
1391
+ Single = "Single"
1392
+ }
1393
+
1394
+ // @public
1395
+ export enum KnownStatusType {
1396
+ Active = "Active",
1397
+ Inactive = "Inactive"
1398
+ }
1399
+
1400
+ // @public
1401
+ export enum KnownTerm {
1402
+ P1Y = "P1Y",
1403
+ P3Y = "P3Y"
1404
+ }
1405
+
1406
+ // @public
1407
+ export enum KnownTimeframeType {
1408
+ BillingMonthToDate = "BillingMonthToDate",
1409
+ Custom = "Custom",
1410
+ MonthToDate = "MonthToDate",
1411
+ TheLastBillingMonth = "TheLastBillingMonth",
1412
+ TheLastMonth = "TheLastMonth",
1413
+ WeekToDate = "WeekToDate"
1414
+ }
1415
+
1416
+ // @public
1417
+ export enum KnownWeeksOfMonth {
1418
+ First = "First",
1419
+ Fourth = "Fourth",
1420
+ Last = "Last",
1421
+ Second = "Second",
1422
+ Third = "Third"
1423
+ }
1424
+
1425
+ // @public
1426
+ export interface KpiProperties {
1427
+ enabled?: boolean;
1428
+ id?: string;
1429
+ type?: KpiType;
1430
+ }
1431
+
1432
+ // @public
1433
+ export type KpiType = string;
1434
+
1435
+ // @public
1436
+ export type LookBackPeriod = string;
1437
+
1438
+ // @public
1439
+ export type MetricType = string;
1440
+
1441
+ // @public
1442
+ export interface NotificationProperties {
1443
+ language?: string;
1444
+ message?: string;
1445
+ regionalFormat?: string;
1446
+ subject: string;
1447
+ to: string[];
1448
+ }
1449
+
1450
+ // @public
1451
+ export interface Operation {
1452
+ readonly actionType?: ActionType;
1453
+ display?: OperationDisplay;
1454
+ readonly isDataAction?: boolean;
1455
+ readonly name?: string;
1456
+ readonly origin?: Origin;
1457
+ }
1458
+
1459
+ // @public
1460
+ export interface OperationDisplay {
1461
+ readonly description?: string;
1462
+ readonly operation?: string;
1463
+ readonly provider?: string;
1464
+ readonly resource?: string;
1465
+ }
1466
+
1467
+ // @public
1468
+ export interface OperationListResult {
1469
+ readonly nextLink?: string;
1470
+ readonly value?: CostManagementOperation[];
1471
+ }
1472
+
1473
+ // @public
1474
+ export interface Operations {
1475
+ list(options?: OperationsListOptionalParams): PagedAsyncIterableIterator<CostManagementOperation>;
1476
+ }
1477
+
1478
+ // @public
1479
+ export interface OperationsListNextOptionalParams extends coreClient.OperationOptions {
1480
+ }
1481
+
1482
+ // @public
1483
+ export type OperationsListNextResponse = OperationListResult;
1484
+
1485
+ // @public
1486
+ export interface OperationsListOptionalParams extends coreClient.OperationOptions {
1487
+ }
1488
+
1489
+ // @public
1490
+ export type OperationsListResponse = OperationListResult;
1491
+
1492
+ // @public
1493
+ export interface OperationStatus {
1494
+ reportUrl?: ReservationReportSchema;
1495
+ status?: OperationStatusType;
1496
+ validUntil?: Date;
1497
+ }
1498
+
1499
+ // @public
1500
+ export type OperationStatusType = string;
1501
+
1502
+ // @public
1503
+ export type OperatorType = string;
1504
+
1505
+ // @public
1506
+ export type Origin = string;
1507
+
1508
+ // @public
1509
+ export interface PivotProperties {
1510
+ name?: string;
1511
+ type?: PivotType;
1512
+ }
1513
+
1514
+ // @public
1515
+ export type PivotType = string;
1516
+
1517
+ // @public
1518
+ export interface PriceSheet {
1519
+ beginDownload(billingAccountName: string, billingProfileName: string, invoiceName: string, options?: PriceSheetDownloadOptionalParams): Promise<SimplePollerLike<OperationState<PriceSheetDownloadResponse>, PriceSheetDownloadResponse>>;
1520
+ beginDownloadAndWait(billingAccountName: string, billingProfileName: string, invoiceName: string, options?: PriceSheetDownloadOptionalParams): Promise<PriceSheetDownloadResponse>;
1521
+ beginDownloadByBillingProfile(billingAccountName: string, billingProfileName: string, options?: PriceSheetDownloadByBillingProfileOptionalParams): Promise<SimplePollerLike<OperationState<PriceSheetDownloadByBillingProfileResponse>, PriceSheetDownloadByBillingProfileResponse>>;
1522
+ beginDownloadByBillingProfileAndWait(billingAccountName: string, billingProfileName: string, options?: PriceSheetDownloadByBillingProfileOptionalParams): Promise<PriceSheetDownloadByBillingProfileResponse>;
1523
+ }
1524
+
1525
+ // @public
1526
+ export interface PriceSheetDownloadByBillingProfileHeaders {
1527
+ location?: string;
1528
+ oDataEntityId?: string;
1529
+ retryAfter?: string;
1530
+ }
1531
+
1532
+ // @public
1533
+ export interface PriceSheetDownloadByBillingProfileOptionalParams extends coreClient.OperationOptions {
1534
+ resumeFrom?: string;
1535
+ updateIntervalInMs?: number;
1536
+ }
1537
+
1538
+ // @public
1539
+ export type PriceSheetDownloadByBillingProfileResponse = DownloadURL;
1540
+
1541
+ // @public
1542
+ export interface PriceSheetDownloadHeaders {
1543
+ location?: string;
1544
+ oDataEntityId?: string;
1545
+ retryAfter?: string;
1546
+ }
1547
+
1548
+ // @public
1549
+ export interface PriceSheetDownloadOptionalParams extends coreClient.OperationOptions {
1550
+ resumeFrom?: string;
1551
+ updateIntervalInMs?: number;
1552
+ }
1553
+
1554
+ // @public
1555
+ export type PriceSheetDownloadResponse = DownloadURL;
1556
+
1557
+ // @public
1558
+ export interface ProxyResource extends Resource {
1559
+ }
1560
+
1561
+ // @public
1562
+ export interface Query {
1563
+ usage(scope: string, parameters: QueryDefinition, options?: QueryUsageOptionalParams): Promise<QueryUsageResponse>;
1564
+ usageByExternalCloudProviderType(externalCloudProviderType: ExternalCloudProviderType, externalCloudProviderId: string, parameters: QueryDefinition, options?: QueryUsageByExternalCloudProviderTypeOptionalParams): Promise<QueryUsageByExternalCloudProviderTypeResponse>;
1565
+ }
1566
+
1567
+ // @public
1568
+ export interface QueryAggregation {
1569
+ function: FunctionType;
1570
+ name: string;
1571
+ }
1572
+
1573
+ // @public
1574
+ export interface QueryColumn {
1575
+ name?: string;
1576
+ type?: string;
1577
+ }
1578
+
1579
+ // @public
1580
+ export type QueryColumnType = string;
1581
+
1582
+ // @public
1583
+ export interface QueryComparisonExpression {
1584
+ name: string;
1585
+ operator: QueryOperatorType;
1586
+ values: string[];
1587
+ }
1588
+
1589
+ // @public
1590
+ export interface QueryDataset {
1591
+ aggregation?: {
1592
+ [propertyName: string]: QueryAggregation;
1593
+ };
1594
+ configuration?: QueryDatasetConfiguration;
1595
+ filter?: QueryFilter;
1596
+ granularity?: GranularityType;
1597
+ grouping?: QueryGrouping[];
1598
+ }
1599
+
1600
+ // @public
1601
+ export interface QueryDatasetConfiguration {
1602
+ columns?: string[];
1603
+ }
1604
+
1605
+ // @public
1606
+ export interface QueryDefinition {
1607
+ dataset: QueryDataset;
1608
+ timeframe: TimeframeType;
1609
+ timePeriod?: QueryTimePeriod;
1610
+ type: ExportType;
1611
+ }
1612
+
1613
+ // @public
1614
+ export interface QueryFilter {
1615
+ and?: QueryFilter[];
1616
+ dimensions?: QueryComparisonExpression;
1617
+ or?: QueryFilter[];
1618
+ tags?: QueryComparisonExpression;
1619
+ }
1620
+
1621
+ // @public
1622
+ export interface QueryGrouping {
1623
+ name: string;
1624
+ type: QueryColumnType;
1625
+ }
1626
+
1627
+ // @public
1628
+ export type QueryOperatorType = string;
1629
+
1630
+ // @public
1631
+ export interface QueryResult extends CostManagementResource {
1632
+ columns?: QueryColumn[];
1633
+ nextLink?: string;
1634
+ rows?: any[][];
1635
+ }
1636
+
1637
+ // @public
1638
+ export interface QueryTimePeriod {
1639
+ from: Date;
1640
+ to: Date;
1641
+ }
1642
+
1643
+ // @public
1644
+ export interface QueryUsageByExternalCloudProviderTypeOptionalParams extends coreClient.OperationOptions {
1645
+ }
1646
+
1647
+ // @public
1648
+ export type QueryUsageByExternalCloudProviderTypeResponse = QueryResult;
1649
+
1650
+ // @public
1651
+ export interface QueryUsageOptionalParams extends coreClient.OperationOptions {
1652
+ }
1653
+
1654
+ // @public
1655
+ export type QueryUsageResponse = QueryResult;
1656
+
1657
+ // @public
1658
+ export interface RecommendationUsageDetails {
1659
+ readonly charges?: number[];
1660
+ usageGrain?: Grain;
1661
+ }
1662
+
1663
+ // @public
1664
+ export type RecurrenceType = string;
1665
+
1666
+ // @public
1667
+ export interface ReportConfigAggregation {
1668
+ function: FunctionType;
1669
+ name: string;
1670
+ }
1671
+
1672
+ // @public
1673
+ export interface ReportConfigComparisonExpression {
1674
+ name: string;
1675
+ operator: OperatorType;
1676
+ values: string[];
1677
+ }
1678
+
1679
+ // @public
1680
+ export interface ReportConfigDataset {
1681
+ aggregation?: {
1682
+ [propertyName: string]: ReportConfigAggregation;
1683
+ };
1684
+ configuration?: ReportConfigDatasetConfiguration;
1685
+ filter?: ReportConfigFilter;
1686
+ granularity?: ReportGranularityType;
1687
+ grouping?: ReportConfigGrouping[];
1688
+ sorting?: ReportConfigSorting[];
1689
+ }
1690
+
1691
+ // @public
1692
+ export interface ReportConfigDatasetConfiguration {
1693
+ columns?: string[];
1694
+ }
1695
+
1696
+ // @public
1697
+ export interface ReportConfigFilter {
1698
+ and?: ReportConfigFilter[];
1699
+ dimensions?: ReportConfigComparisonExpression;
1700
+ or?: ReportConfigFilter[];
1701
+ tags?: ReportConfigComparisonExpression;
1702
+ }
1703
+
1704
+ // @public
1705
+ export interface ReportConfigGrouping {
1706
+ name: string;
1707
+ type: QueryColumnType;
1708
+ }
1709
+
1710
+ // @public
1711
+ export interface ReportConfigSorting {
1712
+ direction?: ReportConfigSortingType;
1713
+ name: string;
1714
+ }
1715
+
1716
+ // @public
1717
+ export type ReportConfigSortingType = string;
1718
+
1719
+ // @public
1720
+ export interface ReportConfigTimePeriod {
1721
+ from: Date;
1722
+ to: Date;
1723
+ }
1724
+
1725
+ // @public
1726
+ export type ReportGranularityType = string;
1727
+
1728
+ // @public
1729
+ export type ReportOperationStatusType = string;
1730
+
1731
+ // @public
1732
+ export type ReportTimeframeType = string;
1733
+
1734
+ // @public
1735
+ export type ReportType = string;
1736
+
1737
+ // @public
1738
+ export type ReservationReportSchema = string;
1739
+
1740
+ // @public
1741
+ export interface Resource {
1742
+ readonly id?: string;
1743
+ readonly name?: string;
1744
+ readonly type?: string;
1745
+ }
1746
+
1747
+ // @public
1748
+ export interface SavingsPlanUtilizationSummary extends BenefitUtilizationSummary {
1749
+ readonly armSkuName?: string;
1750
+ readonly avgUtilizationPercentage?: number;
1751
+ readonly benefitId?: string;
1752
+ readonly benefitOrderId?: string;
1753
+ benefitType?: BenefitKind;
1754
+ kind: "SavingsPlan";
1755
+ readonly maxUtilizationPercentage?: number;
1756
+ readonly minUtilizationPercentage?: number;
1757
+ readonly usageDate?: Date;
1758
+ }
1759
+
1760
+ // @public
1761
+ export interface SavingsPlanUtilizationSummaryProperties extends BenefitUtilizationSummaryProperties {
1762
+ readonly avgUtilizationPercentage?: number;
1763
+ readonly maxUtilizationPercentage?: number;
1764
+ readonly minUtilizationPercentage?: number;
1765
+ }
1766
+
1767
+ // @public
1768
+ export interface ScheduledAction extends ScheduledActionProxyResource {
1769
+ displayName?: string;
1770
+ fileDestination?: FileDestination;
1771
+ notification?: NotificationProperties;
1772
+ notificationEmail?: string;
1773
+ schedule?: ScheduleProperties;
1774
+ scope?: string;
1775
+ status?: ScheduledActionStatus;
1776
+ viewId?: string;
1777
+ }
1778
+
1779
+ // @public
1780
+ export type ScheduledActionKind = string;
1781
+
1782
+ // @public
1783
+ export interface ScheduledActionListResult {
1784
+ readonly nextLink?: string;
1785
+ readonly value?: ScheduledAction[];
1786
+ }
1787
+
1788
+ // @public
1789
+ export interface ScheduledActionProxyResource extends ProxyResource {
1790
+ readonly eTag?: string;
1791
+ kind?: ScheduledActionKind;
1792
+ readonly systemData?: SystemData;
1793
+ }
1794
+
1795
+ // @public
1796
+ export interface ScheduledActions {
1797
+ checkNameAvailability(checkNameAvailabilityRequest: CheckNameAvailabilityRequest, options?: ScheduledActionsCheckNameAvailabilityOptionalParams): Promise<ScheduledActionsCheckNameAvailabilityResponse>;
1798
+ checkNameAvailabilityByScope(scope: string, checkNameAvailabilityRequest: CheckNameAvailabilityRequest, options?: ScheduledActionsCheckNameAvailabilityByScopeOptionalParams): Promise<ScheduledActionsCheckNameAvailabilityByScopeResponse>;
1799
+ createOrUpdate(name: string, scheduledAction: ScheduledAction, options?: ScheduledActionsCreateOrUpdateOptionalParams): Promise<ScheduledActionsCreateOrUpdateResponse>;
1800
+ createOrUpdateByScope(scope: string, name: string, scheduledAction: ScheduledAction, options?: ScheduledActionsCreateOrUpdateByScopeOptionalParams): Promise<ScheduledActionsCreateOrUpdateByScopeResponse>;
1801
+ delete(name: string, options?: ScheduledActionsDeleteOptionalParams): Promise<void>;
1802
+ deleteByScope(scope: string, name: string, options?: ScheduledActionsDeleteByScopeOptionalParams): Promise<void>;
1803
+ get(name: string, options?: ScheduledActionsGetOptionalParams): Promise<ScheduledActionsGetResponse>;
1804
+ getByScope(scope: string, name: string, options?: ScheduledActionsGetByScopeOptionalParams): Promise<ScheduledActionsGetByScopeResponse>;
1805
+ list(options?: ScheduledActionsListOptionalParams): PagedAsyncIterableIterator<ScheduledAction>;
1806
+ listByScope(scope: string, options?: ScheduledActionsListByScopeOptionalParams): PagedAsyncIterableIterator<ScheduledAction>;
1807
+ run(name: string, options?: ScheduledActionsRunOptionalParams): Promise<void>;
1808
+ runByScope(scope: string, name: string, options?: ScheduledActionsRunByScopeOptionalParams): Promise<void>;
1809
+ }
1810
+
1811
+ // @public
1812
+ export interface ScheduledActionsCheckNameAvailabilityByScopeOptionalParams extends coreClient.OperationOptions {
1813
+ }
1814
+
1815
+ // @public
1816
+ export type ScheduledActionsCheckNameAvailabilityByScopeResponse = CheckNameAvailabilityResponse;
1817
+
1818
+ // @public
1819
+ export interface ScheduledActionsCheckNameAvailabilityOptionalParams extends coreClient.OperationOptions {
1820
+ }
1821
+
1822
+ // @public
1823
+ export type ScheduledActionsCheckNameAvailabilityResponse = CheckNameAvailabilityResponse;
1824
+
1825
+ // @public
1826
+ export interface ScheduledActionsCreateOrUpdateByScopeOptionalParams extends coreClient.OperationOptions {
1827
+ ifMatch?: string;
1828
+ }
1829
+
1830
+ // @public
1831
+ export type ScheduledActionsCreateOrUpdateByScopeResponse = ScheduledAction;
1832
+
1833
+ // @public
1834
+ export interface ScheduledActionsCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
1835
+ ifMatch?: string;
1836
+ }
1837
+
1838
+ // @public
1839
+ export type ScheduledActionsCreateOrUpdateResponse = ScheduledAction;
1840
+
1841
+ // @public
1842
+ export interface ScheduledActionsDeleteByScopeOptionalParams extends coreClient.OperationOptions {
1843
+ }
1844
+
1845
+ // @public
1846
+ export interface ScheduledActionsDeleteOptionalParams extends coreClient.OperationOptions {
1847
+ }
1848
+
1849
+ // @public
1850
+ export interface ScheduledActionsGetByScopeOptionalParams extends coreClient.OperationOptions {
1851
+ }
1852
+
1853
+ // @public
1854
+ export type ScheduledActionsGetByScopeResponse = ScheduledAction;
1855
+
1856
+ // @public
1857
+ export interface ScheduledActionsGetOptionalParams extends coreClient.OperationOptions {
1858
+ }
1859
+
1860
+ // @public
1861
+ export type ScheduledActionsGetResponse = ScheduledAction;
1862
+
1863
+ // @public
1864
+ export interface ScheduledActionsListByScopeNextOptionalParams extends coreClient.OperationOptions {
1865
+ }
1866
+
1867
+ // @public
1868
+ export type ScheduledActionsListByScopeNextResponse = ScheduledActionListResult;
1869
+
1870
+ // @public
1871
+ export interface ScheduledActionsListByScopeOptionalParams extends coreClient.OperationOptions {
1872
+ filter?: string;
1873
+ }
1874
+
1875
+ // @public
1876
+ export type ScheduledActionsListByScopeResponse = ScheduledActionListResult;
1877
+
1878
+ // @public
1879
+ export interface ScheduledActionsListNextOptionalParams extends coreClient.OperationOptions {
1880
+ }
1881
+
1882
+ // @public
1883
+ export type ScheduledActionsListNextResponse = ScheduledActionListResult;
1884
+
1885
+ // @public
1886
+ export interface ScheduledActionsListOptionalParams extends coreClient.OperationOptions {
1887
+ filter?: string;
1888
+ }
1889
+
1890
+ // @public
1891
+ export type ScheduledActionsListResponse = ScheduledActionListResult;
1892
+
1893
+ // @public
1894
+ export interface ScheduledActionsRunByScopeOptionalParams extends coreClient.OperationOptions {
1895
+ }
1896
+
1897
+ // @public
1898
+ export interface ScheduledActionsRunOptionalParams extends coreClient.OperationOptions {
1899
+ }
1900
+
1901
+ // @public
1902
+ export type ScheduledActionStatus = string;
1903
+
1904
+ // @public
1905
+ export type ScheduleFrequency = string;
1906
+
1907
+ // @public
1908
+ export interface ScheduleProperties {
1909
+ dayOfMonth?: number;
1910
+ daysOfWeek?: DaysOfWeek[];
1911
+ endDate: Date;
1912
+ frequency: ScheduleFrequency;
1913
+ hourOfDay?: number;
1914
+ startDate: Date;
1915
+ weeksOfMonth?: WeeksOfMonth[];
1916
+ }
1917
+
1918
+ // @public
1919
+ export type Scope = string;
1920
+
1921
+ // @public
1922
+ export interface SharedScopeBenefitRecommendationProperties extends BenefitRecommendationProperties {
1923
+ scope: "Shared";
1924
+ }
1925
+
1926
+ // @public
1927
+ export interface SingleScopeBenefitRecommendationProperties extends BenefitRecommendationProperties {
1928
+ readonly resourceGroup?: string;
1929
+ scope: "Single";
1930
+ readonly subscriptionId?: string;
1931
+ }
1932
+
1933
+ // @public
1934
+ export interface Status {
1935
+ status?: ReportOperationStatusType;
1936
+ }
1937
+
1938
+ // @public
1939
+ export type StatusType = string;
1940
+
1941
+ // @public
1942
+ export interface SystemData {
1943
+ createdAt?: Date;
1944
+ createdBy?: string;
1945
+ createdByType?: CreatedByType;
1946
+ lastModifiedAt?: Date;
1947
+ lastModifiedBy?: string;
1948
+ lastModifiedByType?: CreatedByType;
1949
+ }
1950
+
1951
+ // @public
1952
+ export type Term = string;
1953
+
1954
+ // @public
1955
+ export type TimeframeType = string;
1956
+
1957
+ // @public
1958
+ export interface View extends CostManagementProxyResource {
1959
+ accumulated?: AccumulatedType;
1960
+ chart?: ChartType;
1961
+ readonly createdOn?: Date;
1962
+ readonly currency?: string;
1963
+ dataSet?: ReportConfigDataset;
1964
+ readonly dateRange?: string;
1965
+ displayName?: string;
1966
+ includeMonetaryCommitment?: boolean;
1967
+ kpis?: KpiProperties[];
1968
+ metric?: MetricType;
1969
+ readonly modifiedOn?: Date;
1970
+ pivots?: PivotProperties[];
1971
+ scope?: string;
1972
+ timeframe?: ReportTimeframeType;
1973
+ timePeriod?: ReportConfigTimePeriod;
1974
+ typePropertiesQueryType?: ReportType;
1975
+ }
1976
+
1977
+ // @public
1978
+ export interface ViewListResult {
1979
+ readonly nextLink?: string;
1980
+ readonly value?: View[];
1981
+ }
1982
+
1983
+ // @public
1984
+ export interface Views {
1985
+ createOrUpdate(viewName: string, parameters: View, options?: ViewsCreateOrUpdateOptionalParams): Promise<ViewsCreateOrUpdateResponse>;
1986
+ createOrUpdateByScope(scope: string, viewName: string, parameters: View, options?: ViewsCreateOrUpdateByScopeOptionalParams): Promise<ViewsCreateOrUpdateByScopeResponse>;
1987
+ delete(viewName: string, options?: ViewsDeleteOptionalParams): Promise<void>;
1988
+ deleteByScope(scope: string, viewName: string, options?: ViewsDeleteByScopeOptionalParams): Promise<void>;
1989
+ get(viewName: string, options?: ViewsGetOptionalParams): Promise<ViewsGetResponse>;
1990
+ getByScope(scope: string, viewName: string, options?: ViewsGetByScopeOptionalParams): Promise<ViewsGetByScopeResponse>;
1991
+ list(options?: ViewsListOptionalParams): PagedAsyncIterableIterator<View>;
1992
+ listByScope(scope: string, options?: ViewsListByScopeOptionalParams): PagedAsyncIterableIterator<View>;
1993
+ }
1994
+
1995
+ // @public
1996
+ export interface ViewsCreateOrUpdateByScopeOptionalParams extends coreClient.OperationOptions {
1997
+ }
1998
+
1999
+ // @public
2000
+ export type ViewsCreateOrUpdateByScopeResponse = View;
2001
+
2002
+ // @public
2003
+ export interface ViewsCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
2004
+ }
2005
+
2006
+ // @public
2007
+ export type ViewsCreateOrUpdateResponse = View;
2008
+
2009
+ // @public
2010
+ export interface ViewsDeleteByScopeOptionalParams extends coreClient.OperationOptions {
2011
+ }
2012
+
2013
+ // @public
2014
+ export interface ViewsDeleteOptionalParams extends coreClient.OperationOptions {
2015
+ }
2016
+
2017
+ // @public
2018
+ export interface ViewsGetByScopeOptionalParams extends coreClient.OperationOptions {
2019
+ }
2020
+
2021
+ // @public
2022
+ export type ViewsGetByScopeResponse = View;
2023
+
2024
+ // @public
2025
+ export interface ViewsGetOptionalParams extends coreClient.OperationOptions {
2026
+ }
2027
+
2028
+ // @public
2029
+ export type ViewsGetResponse = View;
2030
+
2031
+ // @public
2032
+ export interface ViewsListByScopeNextOptionalParams extends coreClient.OperationOptions {
2033
+ }
2034
+
2035
+ // @public
2036
+ export type ViewsListByScopeNextResponse = ViewListResult;
2037
+
2038
+ // @public
2039
+ export interface ViewsListByScopeOptionalParams extends coreClient.OperationOptions {
2040
+ }
2041
+
2042
+ // @public
2043
+ export type ViewsListByScopeResponse = ViewListResult;
2044
+
2045
+ // @public
2046
+ export interface ViewsListNextOptionalParams extends coreClient.OperationOptions {
2047
+ }
2048
+
2049
+ // @public
2050
+ export type ViewsListNextResponse = ViewListResult;
2051
+
2052
+ // @public
2053
+ export interface ViewsListOptionalParams extends coreClient.OperationOptions {
2054
+ }
2055
+
2056
+ // @public
2057
+ export type ViewsListResponse = ViewListResult;
2058
+
2059
+ // @public
2060
+ export type WeeksOfMonth = string;
2061
+
2062
+ // (No @packageDocumentation comment for this package)
2063
+
2064
+ ```