@azure/arm-consumption 9.0.1 → 9.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +33 -1
- package/dist/index.js +135 -18
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/dist-esm/samples-dev/reservationTransactionsListByBillingProfileSample.js +1 -1
- package/dist-esm/samples-dev/reservationTransactionsListSample.js +1 -1
- package/dist-esm/src/consumptionManagementClient.d.ts +2 -0
- package/dist-esm/src/consumptionManagementClient.d.ts.map +1 -1
- package/dist-esm/src/consumptionManagementClient.js +52 -1
- package/dist-esm/src/consumptionManagementClient.js.map +1 -1
- package/dist-esm/src/models/index.d.ts +130 -53
- package/dist-esm/src/models/index.d.ts.map +1 -1
- package/dist-esm/src/models/index.js +64 -0
- package/dist-esm/src/models/index.js.map +1 -1
- package/dist-esm/src/models/mappers.d.ts +6 -4
- package/dist-esm/src/models/mappers.d.ts.map +1 -1
- package/dist-esm/src/models/mappers.js +18 -16
- package/dist-esm/src/models/mappers.js.map +1 -1
- package/dist-esm/test/consumption_examples.d.ts.map +1 -1
- package/dist-esm/test/consumption_examples.js +20 -22
- package/dist-esm/test/consumption_examples.js.map +1 -1
- package/package.json +14 -11
- package/review/arm-consumption.api.md +279 -336
- package/src/consumptionManagementClient.ts +66 -1
- package/src/models/index.ts +138 -56
- package/src/models/mappers.ts +20 -16
- package/types/arm-consumption.d.ts +132 -53
- package/types/tsdoc-metadata.json +1 -1
|
@@ -52,7 +52,7 @@ export declare interface Amount {
|
|
|
52
52
|
}
|
|
53
53
|
|
|
54
54
|
/** The amount with exchange rate. */
|
|
55
|
-
export declare
|
|
55
|
+
export declare interface AmountWithExchangeRate extends Amount {
|
|
56
56
|
/**
|
|
57
57
|
* The exchange rate.
|
|
58
58
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
@@ -63,10 +63,10 @@ export declare type AmountWithExchangeRate = Amount & {
|
|
|
63
63
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
64
64
|
*/
|
|
65
65
|
readonly exchangeRateMonth?: number;
|
|
66
|
-
}
|
|
66
|
+
}
|
|
67
67
|
|
|
68
68
|
/** A balance resource. */
|
|
69
|
-
export declare
|
|
69
|
+
export declare interface Balance extends Resource {
|
|
70
70
|
/**
|
|
71
71
|
* The ISO currency in which the meter is charged, for example, USD.
|
|
72
72
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
@@ -139,7 +139,7 @@ export declare type Balance = Resource & {
|
|
|
139
139
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
140
140
|
*/
|
|
141
141
|
readonly adjustmentDetails?: BalancePropertiesAdjustmentDetailsItem[];
|
|
142
|
-
}
|
|
142
|
+
}
|
|
143
143
|
|
|
144
144
|
export declare interface BalancePropertiesAdjustmentDetailsItem {
|
|
145
145
|
/**
|
|
@@ -212,7 +212,7 @@ export declare type BalancesGetForBillingPeriodByBillingAccountResponse = Balanc
|
|
|
212
212
|
export declare type BillingFrequency = string;
|
|
213
213
|
|
|
214
214
|
/** A budget resource. */
|
|
215
|
-
export declare
|
|
215
|
+
export declare interface Budget extends ProxyResource {
|
|
216
216
|
/** The category of the budget, whether the budget tracks cost or usage. */
|
|
217
217
|
category?: CategoryType;
|
|
218
218
|
/** The total amount of cost to track with the budget */
|
|
@@ -237,7 +237,7 @@ export declare type Budget = ProxyResource & {
|
|
|
237
237
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
238
238
|
*/
|
|
239
239
|
readonly forecastSpend?: ForecastSpend;
|
|
240
|
-
}
|
|
240
|
+
}
|
|
241
241
|
|
|
242
242
|
/** The comparison expression to be used in the budgets. */
|
|
243
243
|
export declare interface BudgetComparisonExpression {
|
|
@@ -473,10 +473,10 @@ export declare interface ChargesListResult {
|
|
|
473
473
|
}
|
|
474
474
|
|
|
475
475
|
/** A charge summary resource. */
|
|
476
|
-
export declare
|
|
476
|
+
export declare interface ChargeSummary extends ProxyResource {
|
|
477
477
|
/** Specifies the kind of charge summary. */
|
|
478
478
|
kind: ChargeSummaryKind;
|
|
479
|
-
}
|
|
479
|
+
}
|
|
480
480
|
|
|
481
481
|
/**
|
|
482
482
|
* Defines values for ChargeSummaryKind. \
|
|
@@ -501,6 +501,8 @@ export declare class ConsumptionManagementClient extends coreClient.ServiceClien
|
|
|
501
501
|
* @param options The parameter options
|
|
502
502
|
*/
|
|
503
503
|
constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: ConsumptionManagementClientOptionalParams);
|
|
504
|
+
/** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */
|
|
505
|
+
private addCustomApiVersionPolicy;
|
|
504
506
|
usageDetails: UsageDetails;
|
|
505
507
|
marketplaces: Marketplaces;
|
|
506
508
|
budgets: Budgets;
|
|
@@ -568,7 +570,7 @@ export declare interface CreditsGetOptionalParams extends coreClient.OperationOp
|
|
|
568
570
|
export declare type CreditsGetResponse = CreditSummary;
|
|
569
571
|
|
|
570
572
|
/** A credit summary resource. */
|
|
571
|
-
export declare
|
|
573
|
+
export declare interface CreditSummary extends Resource {
|
|
572
574
|
/**
|
|
573
575
|
* Summary of balances associated with this credit summary.
|
|
574
576
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
@@ -609,7 +611,7 @@ export declare type CreditSummary = Resource & {
|
|
|
609
611
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
610
612
|
*/
|
|
611
613
|
readonly eTag?: string;
|
|
612
|
-
}
|
|
614
|
+
}
|
|
613
615
|
|
|
614
616
|
/**
|
|
615
617
|
* Defines values for CultureCode. \
|
|
@@ -774,7 +776,7 @@ export declare interface EventsOperations {
|
|
|
774
776
|
}
|
|
775
777
|
|
|
776
778
|
/** An event summary resource. */
|
|
777
|
-
export declare
|
|
779
|
+
export declare interface EventSummary extends ProxyResource {
|
|
778
780
|
/**
|
|
779
781
|
* The date of the event.
|
|
780
782
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
@@ -887,7 +889,7 @@ export declare type EventSummary = ProxyResource & {
|
|
|
887
889
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
888
890
|
*/
|
|
889
891
|
readonly eTagPropertiesETag?: string;
|
|
890
|
-
}
|
|
892
|
+
}
|
|
891
893
|
|
|
892
894
|
/**
|
|
893
895
|
* Defines values for EventType. \
|
|
@@ -948,49 +950,77 @@ export declare interface HighCasedErrorResponse {
|
|
|
948
950
|
|
|
949
951
|
/** Known values of {@link BillingFrequency} that the service accepts. */
|
|
950
952
|
export declare enum KnownBillingFrequency {
|
|
953
|
+
/** Month */
|
|
951
954
|
Month = "Month",
|
|
955
|
+
/** Quarter */
|
|
952
956
|
Quarter = "Quarter",
|
|
957
|
+
/** Year */
|
|
953
958
|
Year = "Year"
|
|
954
959
|
}
|
|
955
960
|
|
|
956
961
|
/** Known values of {@link BudgetOperatorType} that the service accepts. */
|
|
957
962
|
export declare enum KnownBudgetOperatorType {
|
|
963
|
+
/** In */
|
|
958
964
|
In = "In"
|
|
959
965
|
}
|
|
960
966
|
|
|
961
967
|
/** Known values of {@link CategoryType} that the service accepts. */
|
|
962
968
|
export declare enum KnownCategoryType {
|
|
969
|
+
/** Cost */
|
|
963
970
|
Cost = "Cost"
|
|
964
971
|
}
|
|
965
972
|
|
|
966
973
|
/** Known values of {@link ChargeSummaryKind} that the service accepts. */
|
|
967
974
|
export declare enum KnownChargeSummaryKind {
|
|
975
|
+
/** Legacy */
|
|
968
976
|
Legacy = "legacy",
|
|
977
|
+
/** Modern */
|
|
969
978
|
Modern = "modern"
|
|
970
979
|
}
|
|
971
980
|
|
|
972
981
|
/** Known values of {@link CultureCode} that the service accepts. */
|
|
973
982
|
export declare enum KnownCultureCode {
|
|
983
|
+
/** EnUs */
|
|
974
984
|
EnUs = "en-us",
|
|
985
|
+
/** JaJp */
|
|
975
986
|
JaJp = "ja-jp",
|
|
987
|
+
/** ZhCn */
|
|
976
988
|
ZhCn = "zh-cn",
|
|
989
|
+
/** DeDe */
|
|
977
990
|
DeDe = "de-de",
|
|
991
|
+
/** EsEs */
|
|
978
992
|
EsEs = "es-es",
|
|
993
|
+
/** FrFr */
|
|
979
994
|
FrFr = "fr-fr",
|
|
995
|
+
/** ItIt */
|
|
980
996
|
ItIt = "it-it",
|
|
997
|
+
/** KoKr */
|
|
981
998
|
KoKr = "ko-kr",
|
|
999
|
+
/** PtBr */
|
|
982
1000
|
PtBr = "pt-br",
|
|
1001
|
+
/** RuRu */
|
|
983
1002
|
RuRu = "ru-ru",
|
|
1003
|
+
/** ZhTw */
|
|
984
1004
|
ZhTw = "zh-tw",
|
|
1005
|
+
/** CsCz */
|
|
985
1006
|
CsCz = "cs-cz",
|
|
1007
|
+
/** PlPl */
|
|
986
1008
|
PlPl = "pl-pl",
|
|
1009
|
+
/** TrTr */
|
|
987
1010
|
TrTr = "tr-tr",
|
|
1011
|
+
/** DaDk */
|
|
988
1012
|
DaDk = "da-dk",
|
|
1013
|
+
/** EnGb */
|
|
989
1014
|
EnGb = "en-gb",
|
|
1015
|
+
/** HuHu */
|
|
990
1016
|
HuHu = "hu-hu",
|
|
1017
|
+
/** NbNo */
|
|
991
1018
|
NbNo = "nb-no",
|
|
1019
|
+
/** NlNl */
|
|
992
1020
|
NlNl = "nl-nl",
|
|
1021
|
+
/** PtPt */
|
|
993
1022
|
PtPt = "pt-pt",
|
|
1023
|
+
/** SvSe */
|
|
994
1024
|
SvSe = "sv-se"
|
|
995
1025
|
}
|
|
996
1026
|
|
|
@@ -1004,12 +1034,19 @@ export declare enum KnownDatagrain {
|
|
|
1004
1034
|
|
|
1005
1035
|
/** Known values of {@link EventType} that the service accepts. */
|
|
1006
1036
|
export declare enum KnownEventType {
|
|
1037
|
+
/** SettledCharges */
|
|
1007
1038
|
SettledCharges = "SettledCharges",
|
|
1039
|
+
/** PendingCharges */
|
|
1008
1040
|
PendingCharges = "PendingCharges",
|
|
1041
|
+
/** PendingAdjustments */
|
|
1009
1042
|
PendingAdjustments = "PendingAdjustments",
|
|
1043
|
+
/** PendingNewCredit */
|
|
1010
1044
|
PendingNewCredit = "PendingNewCredit",
|
|
1045
|
+
/** PendingExpiredCredit */
|
|
1011
1046
|
PendingExpiredCredit = "PendingExpiredCredit",
|
|
1047
|
+
/** UnKnown */
|
|
1012
1048
|
UnKnown = "UnKnown",
|
|
1049
|
+
/** NewCredit */
|
|
1013
1050
|
NewCredit = "NewCredit"
|
|
1014
1051
|
}
|
|
1015
1052
|
|
|
@@ -1025,8 +1062,11 @@ export declare enum KnownLookBackPeriod {
|
|
|
1025
1062
|
|
|
1026
1063
|
/** Known values of {@link LotSource} that the service accepts. */
|
|
1027
1064
|
export declare enum KnownLotSource {
|
|
1065
|
+
/** PurchasedCredit */
|
|
1028
1066
|
PurchasedCredit = "PurchasedCredit",
|
|
1067
|
+
/** PromotionalCredit */
|
|
1029
1068
|
PromotionalCredit = "PromotionalCredit",
|
|
1069
|
+
/** ConsumptionCommitment */
|
|
1030
1070
|
ConsumptionCommitment = "ConsumptionCommitment"
|
|
1031
1071
|
}
|
|
1032
1072
|
|
|
@@ -1042,37 +1082,53 @@ export declare enum KnownMetrictype {
|
|
|
1042
1082
|
|
|
1043
1083
|
/** Known values of {@link OperatorType} that the service accepts. */
|
|
1044
1084
|
export declare enum KnownOperatorType {
|
|
1085
|
+
/** EqualTo */
|
|
1045
1086
|
EqualTo = "EqualTo",
|
|
1087
|
+
/** GreaterThan */
|
|
1046
1088
|
GreaterThan = "GreaterThan",
|
|
1089
|
+
/** GreaterThanOrEqualTo */
|
|
1047
1090
|
GreaterThanOrEqualTo = "GreaterThanOrEqualTo"
|
|
1048
1091
|
}
|
|
1049
1092
|
|
|
1050
1093
|
/** Known values of {@link PricingModelType} that the service accepts. */
|
|
1051
1094
|
export declare enum KnownPricingModelType {
|
|
1095
|
+
/** OnDemand */
|
|
1052
1096
|
OnDemand = "On Demand",
|
|
1097
|
+
/** Reservation */
|
|
1053
1098
|
Reservation = "Reservation",
|
|
1099
|
+
/** Spot */
|
|
1054
1100
|
Spot = "Spot"
|
|
1055
1101
|
}
|
|
1056
1102
|
|
|
1057
1103
|
/** Known values of {@link ReservationRecommendationKind} that the service accepts. */
|
|
1058
1104
|
export declare enum KnownReservationRecommendationKind {
|
|
1105
|
+
/** Legacy */
|
|
1059
1106
|
Legacy = "legacy",
|
|
1107
|
+
/** Modern */
|
|
1060
1108
|
Modern = "modern"
|
|
1061
1109
|
}
|
|
1062
1110
|
|
|
1063
1111
|
/** Known values of {@link Scope} that the service accepts. */
|
|
1064
1112
|
export declare enum KnownScope {
|
|
1113
|
+
/** Single */
|
|
1065
1114
|
Single = "Single",
|
|
1115
|
+
/** Shared */
|
|
1066
1116
|
Shared = "Shared"
|
|
1067
1117
|
}
|
|
1068
1118
|
|
|
1069
1119
|
/** Known values of {@link Status} that the service accepts. */
|
|
1070
1120
|
export declare enum KnownStatus {
|
|
1121
|
+
/** None */
|
|
1071
1122
|
None = "None",
|
|
1123
|
+
/** Active */
|
|
1072
1124
|
Active = "Active",
|
|
1125
|
+
/** Inactive */
|
|
1073
1126
|
Inactive = "Inactive",
|
|
1127
|
+
/** Expired */
|
|
1074
1128
|
Expired = "Expired",
|
|
1129
|
+
/** Complete */
|
|
1075
1130
|
Complete = "Complete",
|
|
1131
|
+
/** Canceled */
|
|
1076
1132
|
Canceled = "Canceled"
|
|
1077
1133
|
}
|
|
1078
1134
|
|
|
@@ -1086,28 +1142,40 @@ export declare enum KnownTerm {
|
|
|
1086
1142
|
|
|
1087
1143
|
/** Known values of {@link ThresholdType} that the service accepts. */
|
|
1088
1144
|
export declare enum KnownThresholdType {
|
|
1145
|
+
/** Actual */
|
|
1089
1146
|
Actual = "Actual",
|
|
1147
|
+
/** Forecasted */
|
|
1090
1148
|
Forecasted = "Forecasted"
|
|
1091
1149
|
}
|
|
1092
1150
|
|
|
1093
1151
|
/** Known values of {@link TimeGrainType} that the service accepts. */
|
|
1094
1152
|
export declare enum KnownTimeGrainType {
|
|
1153
|
+
/** Monthly */
|
|
1095
1154
|
Monthly = "Monthly",
|
|
1155
|
+
/** Quarterly */
|
|
1096
1156
|
Quarterly = "Quarterly",
|
|
1157
|
+
/** Annually */
|
|
1097
1158
|
Annually = "Annually",
|
|
1159
|
+
/** BillingMonth */
|
|
1098
1160
|
BillingMonth = "BillingMonth",
|
|
1161
|
+
/** BillingQuarter */
|
|
1099
1162
|
BillingQuarter = "BillingQuarter",
|
|
1163
|
+
/** BillingAnnual */
|
|
1100
1164
|
BillingAnnual = "BillingAnnual"
|
|
1101
1165
|
}
|
|
1102
1166
|
|
|
1103
1167
|
/** Known values of {@link UsageDetailsKind} that the service accepts. */
|
|
1104
1168
|
export declare enum KnownUsageDetailsKind {
|
|
1169
|
+
/** Legacy */
|
|
1105
1170
|
Legacy = "legacy",
|
|
1171
|
+
/** Modern */
|
|
1106
1172
|
Modern = "modern"
|
|
1107
1173
|
}
|
|
1108
1174
|
|
|
1109
1175
|
/** Legacy charge summary. */
|
|
1110
|
-
export declare
|
|
1176
|
+
export declare interface LegacyChargeSummary extends ChargeSummary {
|
|
1177
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
1178
|
+
kind: "legacy";
|
|
1111
1179
|
/**
|
|
1112
1180
|
* The id of the billing period resource that the charge belongs to.
|
|
1113
1181
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
@@ -1143,10 +1211,12 @@ export declare type LegacyChargeSummary = ChargeSummary & {
|
|
|
1143
1211
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1144
1212
|
*/
|
|
1145
1213
|
readonly currency?: string;
|
|
1146
|
-
}
|
|
1214
|
+
}
|
|
1147
1215
|
|
|
1148
1216
|
/** Legacy reservation recommendation. */
|
|
1149
|
-
export declare
|
|
1217
|
+
export declare interface LegacyReservationRecommendation extends ReservationRecommendation {
|
|
1218
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
1219
|
+
kind: "legacy";
|
|
1150
1220
|
/**
|
|
1151
1221
|
* The number of days of usage to look back for recommendation.
|
|
1152
1222
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
@@ -1219,7 +1289,7 @@ export declare type LegacyReservationRecommendation = ReservationRecommendation
|
|
|
1219
1289
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1220
1290
|
*/
|
|
1221
1291
|
readonly skuProperties?: SkuProperty[];
|
|
1222
|
-
}
|
|
1292
|
+
}
|
|
1223
1293
|
|
|
1224
1294
|
/** The properties of the reservation recommendation. */
|
|
1225
1295
|
export declare interface LegacyReservationRecommendationProperties {
|
|
@@ -1300,16 +1370,17 @@ export declare interface LegacyReservationRecommendationProperties {
|
|
|
1300
1370
|
export declare type LegacyReservationRecommendationPropertiesUnion = LegacyReservationRecommendationProperties | LegacySingleScopeReservationRecommendationProperties | LegacySharedScopeReservationRecommendationProperties;
|
|
1301
1371
|
|
|
1302
1372
|
/** Legacy Reservation transaction resource. */
|
|
1303
|
-
export declare
|
|
1373
|
+
export declare interface LegacyReservationTransaction extends ReservationTransaction {
|
|
1374
|
+
}
|
|
1304
1375
|
|
|
1305
1376
|
/** The properties of the legacy reservation recommendation for shared scope. */
|
|
1306
|
-
export declare
|
|
1377
|
+
export declare interface LegacySharedScopeReservationRecommendationProperties extends LegacyReservationRecommendationProperties {
|
|
1307
1378
|
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
1308
1379
|
scope: "Shared";
|
|
1309
|
-
}
|
|
1380
|
+
}
|
|
1310
1381
|
|
|
1311
1382
|
/** The properties of the legacy reservation recommendation for single scope. */
|
|
1312
|
-
export declare
|
|
1383
|
+
export declare interface LegacySingleScopeReservationRecommendationProperties extends LegacyReservationRecommendationProperties {
|
|
1313
1384
|
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
1314
1385
|
scope: "Single";
|
|
1315
1386
|
/**
|
|
@@ -1317,10 +1388,12 @@ export declare type LegacySingleScopeReservationRecommendationProperties = Legac
|
|
|
1317
1388
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1318
1389
|
*/
|
|
1319
1390
|
readonly subscriptionId?: string;
|
|
1320
|
-
}
|
|
1391
|
+
}
|
|
1321
1392
|
|
|
1322
1393
|
/** Legacy usage detail. */
|
|
1323
|
-
export declare
|
|
1394
|
+
export declare interface LegacyUsageDetail extends UsageDetail {
|
|
1395
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
1396
|
+
kind: "legacy";
|
|
1324
1397
|
/**
|
|
1325
1398
|
* Billing Account identifier.
|
|
1326
1399
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
@@ -1541,7 +1614,7 @@ export declare type LegacyUsageDetail = UsageDetail & {
|
|
|
1541
1614
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1542
1615
|
*/
|
|
1543
1616
|
readonly pricingModel?: PricingModelType;
|
|
1544
|
-
}
|
|
1617
|
+
}
|
|
1545
1618
|
|
|
1546
1619
|
/**
|
|
1547
1620
|
* Defines values for LookBackPeriod. \
|
|
@@ -1633,7 +1706,7 @@ export declare interface LotsOperations {
|
|
|
1633
1706
|
export declare type LotSource = string;
|
|
1634
1707
|
|
|
1635
1708
|
/** A lot summary resource. */
|
|
1636
|
-
export declare
|
|
1709
|
+
export declare interface LotSummary extends ProxyResource {
|
|
1637
1710
|
/**
|
|
1638
1711
|
* The original amount of a lot.
|
|
1639
1712
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
@@ -1704,10 +1777,10 @@ export declare type LotSummary = ProxyResource & {
|
|
|
1704
1777
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1705
1778
|
*/
|
|
1706
1779
|
readonly eTagPropertiesETag?: string;
|
|
1707
|
-
}
|
|
1780
|
+
}
|
|
1708
1781
|
|
|
1709
1782
|
/** A management group aggregated cost resource. */
|
|
1710
|
-
export declare
|
|
1783
|
+
export declare interface ManagementGroupAggregatedCostResult extends Resource {
|
|
1711
1784
|
/**
|
|
1712
1785
|
* The id of the billing period resource that the aggregated cost belongs to.
|
|
1713
1786
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
@@ -1749,10 +1822,10 @@ export declare type ManagementGroupAggregatedCostResult = Resource & {
|
|
|
1749
1822
|
includedSubscriptions?: string[];
|
|
1750
1823
|
/** List of subscription Guids excluded from the calculation of aggregated cost */
|
|
1751
1824
|
excludedSubscriptions?: string[];
|
|
1752
|
-
}
|
|
1825
|
+
}
|
|
1753
1826
|
|
|
1754
1827
|
/** A marketplace resource. */
|
|
1755
|
-
export declare
|
|
1828
|
+
export declare interface Marketplace extends Resource {
|
|
1756
1829
|
/**
|
|
1757
1830
|
* The id of the billing period resource that the usage belongs to.
|
|
1758
1831
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
@@ -1883,7 +1956,7 @@ export declare type Marketplace = Resource & {
|
|
|
1883
1956
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1884
1957
|
*/
|
|
1885
1958
|
readonly isRecurringCharge?: boolean;
|
|
1886
|
-
}
|
|
1959
|
+
}
|
|
1887
1960
|
|
|
1888
1961
|
/** Interface representing a Marketplaces. */
|
|
1889
1962
|
export declare interface Marketplaces {
|
|
@@ -2036,7 +2109,9 @@ export declare interface MeterDetailsResponse {
|
|
|
2036
2109
|
export declare type Metrictype = string;
|
|
2037
2110
|
|
|
2038
2111
|
/** Modern charge summary. */
|
|
2039
|
-
export declare
|
|
2112
|
+
export declare interface ModernChargeSummary extends ChargeSummary {
|
|
2113
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
2114
|
+
kind: "modern";
|
|
2040
2115
|
/**
|
|
2041
2116
|
* The id of the billing period resource that the charge belongs to.
|
|
2042
2117
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
@@ -2092,10 +2167,12 @@ export declare type ModernChargeSummary = ChargeSummary & {
|
|
|
2092
2167
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
2093
2168
|
*/
|
|
2094
2169
|
readonly isInvoiced?: boolean;
|
|
2095
|
-
}
|
|
2170
|
+
}
|
|
2096
2171
|
|
|
2097
2172
|
/** Modern reservation recommendation. */
|
|
2098
|
-
export declare
|
|
2173
|
+
export declare interface ModernReservationRecommendation extends ReservationRecommendation {
|
|
2174
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
2175
|
+
kind: "modern";
|
|
2099
2176
|
/**
|
|
2100
2177
|
* Resource Location.
|
|
2101
2178
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
@@ -2176,10 +2253,10 @@ export declare type ModernReservationRecommendation = ReservationRecommendation
|
|
|
2176
2253
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
2177
2254
|
*/
|
|
2178
2255
|
readonly skuName?: string;
|
|
2179
|
-
}
|
|
2256
|
+
}
|
|
2180
2257
|
|
|
2181
2258
|
/** Modern Reservation transaction resource. */
|
|
2182
|
-
export declare
|
|
2259
|
+
export declare interface ModernReservationTransaction extends ReservationTransactionResource {
|
|
2183
2260
|
/**
|
|
2184
2261
|
* The charge of the transaction.
|
|
2185
2262
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
@@ -2280,7 +2357,7 @@ export declare type ModernReservationTransaction = ReservationTransactionResourc
|
|
|
2280
2357
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
2281
2358
|
*/
|
|
2282
2359
|
readonly term?: string;
|
|
2283
|
-
}
|
|
2360
|
+
}
|
|
2284
2361
|
|
|
2285
2362
|
/** Result of listing reservation recommendations. */
|
|
2286
2363
|
export declare interface ModernReservationTransactionsListResult {
|
|
@@ -2297,7 +2374,9 @@ export declare interface ModernReservationTransactionsListResult {
|
|
|
2297
2374
|
}
|
|
2298
2375
|
|
|
2299
2376
|
/** Modern usage detail. */
|
|
2300
|
-
export declare
|
|
2377
|
+
export declare interface ModernUsageDetail extends UsageDetail {
|
|
2378
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
2379
|
+
kind: "modern";
|
|
2301
2380
|
/**
|
|
2302
2381
|
* Billing Account identifier.
|
|
2303
2382
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
@@ -2658,7 +2737,7 @@ export declare type ModernUsageDetail = UsageDetail & {
|
|
|
2658
2737
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
2659
2738
|
*/
|
|
2660
2739
|
readonly costAllocationRuleName?: string;
|
|
2661
|
-
}
|
|
2740
|
+
}
|
|
2662
2741
|
|
|
2663
2742
|
/** The notification associated with a budget. */
|
|
2664
2743
|
declare interface Notification_2 {
|
|
@@ -2862,7 +2941,7 @@ export declare interface PriceSheetProperties {
|
|
|
2862
2941
|
}
|
|
2863
2942
|
|
|
2864
2943
|
/** An pricesheet resource. */
|
|
2865
|
-
export declare
|
|
2944
|
+
export declare interface PriceSheetResult extends Resource {
|
|
2866
2945
|
/**
|
|
2867
2946
|
* Price sheet
|
|
2868
2947
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
@@ -2878,7 +2957,7 @@ export declare type PriceSheetResult = Resource & {
|
|
|
2878
2957
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
2879
2958
|
*/
|
|
2880
2959
|
readonly download?: MeterDetails;
|
|
2881
|
-
}
|
|
2960
|
+
}
|
|
2882
2961
|
|
|
2883
2962
|
/**
|
|
2884
2963
|
* Defines values for PricingModelType. \
|
|
@@ -2927,7 +3006,7 @@ export declare interface Reseller {
|
|
|
2927
3006
|
}
|
|
2928
3007
|
|
|
2929
3008
|
/** reservation detail resource. */
|
|
2930
|
-
export declare
|
|
3009
|
+
export declare interface ReservationDetail extends Resource {
|
|
2931
3010
|
/**
|
|
2932
3011
|
* The reservation order ID is the identifier for a reservation purchase. Each reservation order ID represents a single purchase transaction. A reservation order contains reservations. The reservation order specifies the VM size and region for the reservations.
|
|
2933
3012
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
@@ -2983,7 +3062,7 @@ export declare type ReservationDetail = Resource & {
|
|
|
2983
3062
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
2984
3063
|
*/
|
|
2985
3064
|
readonly kind?: string;
|
|
2986
|
-
}
|
|
3065
|
+
}
|
|
2987
3066
|
|
|
2988
3067
|
/** Result of listing reservation details. */
|
|
2989
3068
|
export declare interface ReservationDetailsListResult {
|
|
@@ -3000,10 +3079,10 @@ export declare interface ReservationDetailsListResult {
|
|
|
3000
3079
|
}
|
|
3001
3080
|
|
|
3002
3081
|
/** A reservation recommendation resource. */
|
|
3003
|
-
export declare
|
|
3082
|
+
export declare interface ReservationRecommendation extends Resource, ResourceAttributes {
|
|
3004
3083
|
/** Specifies the kind of reservation recommendation. */
|
|
3005
3084
|
kind: ReservationRecommendationKind;
|
|
3006
|
-
}
|
|
3085
|
+
}
|
|
3007
3086
|
|
|
3008
3087
|
/** Interface representing a ReservationRecommendationDetails. */
|
|
3009
3088
|
export declare interface ReservationRecommendationDetails {
|
|
@@ -3069,7 +3148,7 @@ export declare interface ReservationRecommendationDetailsGetOptionalParams exten
|
|
|
3069
3148
|
export declare type ReservationRecommendationDetailsGetResponse = ReservationRecommendationDetailsModel;
|
|
3070
3149
|
|
|
3071
3150
|
/** Reservation recommendation details. */
|
|
3072
|
-
export declare
|
|
3151
|
+
export declare interface ReservationRecommendationDetailsModel extends Resource {
|
|
3073
3152
|
/** Resource Location. */
|
|
3074
3153
|
location?: string;
|
|
3075
3154
|
/** Resource sku */
|
|
@@ -3104,7 +3183,7 @@ export declare type ReservationRecommendationDetailsModel = Resource & {
|
|
|
3104
3183
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
3105
3184
|
*/
|
|
3106
3185
|
readonly usage?: ReservationRecommendationDetailsUsageProperties;
|
|
3107
|
-
}
|
|
3186
|
+
}
|
|
3108
3187
|
|
|
3109
3188
|
/** Details of the resource. */
|
|
3110
3189
|
export declare interface ReservationRecommendationDetailsResourceProperties {
|
|
@@ -3472,7 +3551,7 @@ export declare interface ReservationSummariesListResult {
|
|
|
3472
3551
|
}
|
|
3473
3552
|
|
|
3474
3553
|
/** reservation summary resource. */
|
|
3475
|
-
export declare
|
|
3554
|
+
export declare interface ReservationSummary extends Resource {
|
|
3476
3555
|
/**
|
|
3477
3556
|
* The reservation order ID is the identifier for a reservation purchase. Each reservation order ID represents a single purchase transaction. A reservation order contains reservations. The reservation order specifies the VM size and region for the reservations.
|
|
3478
3557
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
@@ -3548,10 +3627,10 @@ export declare type ReservationSummary = Resource & {
|
|
|
3548
3627
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
3549
3628
|
*/
|
|
3550
3629
|
readonly utilizedPercentage?: number;
|
|
3551
|
-
}
|
|
3630
|
+
}
|
|
3552
3631
|
|
|
3553
3632
|
/** Reservation transaction resource. */
|
|
3554
|
-
export declare
|
|
3633
|
+
export declare interface ReservationTransaction extends ReservationTransactionResource {
|
|
3555
3634
|
/**
|
|
3556
3635
|
* The date of the transaction
|
|
3557
3636
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
@@ -3667,7 +3746,7 @@ export declare type ReservationTransaction = ReservationTransactionResource & {
|
|
|
3667
3746
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
3668
3747
|
*/
|
|
3669
3748
|
readonly overage?: number;
|
|
3670
|
-
}
|
|
3749
|
+
}
|
|
3671
3750
|
|
|
3672
3751
|
/** The Resource model definition. */
|
|
3673
3752
|
export declare interface ReservationTransactionResource {
|
|
@@ -3877,7 +3956,7 @@ export declare interface TagsGetOptionalParams extends coreClient.OperationOptio
|
|
|
3877
3956
|
export declare type TagsGetResponse = TagsResult;
|
|
3878
3957
|
|
|
3879
3958
|
/** A resource listing all tags. */
|
|
3880
|
-
export declare
|
|
3959
|
+
export declare interface TagsResult extends ProxyResource {
|
|
3881
3960
|
/** A list of Tag. */
|
|
3882
3961
|
tags?: Tag[];
|
|
3883
3962
|
/**
|
|
@@ -3890,7 +3969,7 @@ export declare type TagsResult = ProxyResource & {
|
|
|
3890
3969
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
3891
3970
|
*/
|
|
3892
3971
|
readonly previousLink?: string;
|
|
3893
|
-
}
|
|
3972
|
+
}
|
|
3894
3973
|
|
|
3895
3974
|
/**
|
|
3896
3975
|
* Defines values for Term. \
|
|
@@ -3927,10 +4006,10 @@ export declare type ThresholdType = string;
|
|
|
3927
4006
|
export declare type TimeGrainType = string;
|
|
3928
4007
|
|
|
3929
4008
|
/** An usage detail resource. */
|
|
3930
|
-
export declare
|
|
4009
|
+
export declare interface UsageDetail extends Resource {
|
|
3931
4010
|
/** Specifies the kind of usage details. */
|
|
3932
4011
|
kind: UsageDetailsKind;
|
|
3933
|
-
}
|
|
4012
|
+
}
|
|
3934
4013
|
|
|
3935
4014
|
/** Interface representing a UsageDetails. */
|
|
3936
4015
|
export declare interface UsageDetails {
|