@azure/arm-commerce 2.1.1 → 4.0.0-beta.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.
Files changed (125) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/LICENSE +21 -0
  3. package/README.md +73 -81
  4. package/dist/index.js +822 -0
  5. package/dist/index.js.map +1 -0
  6. package/dist/index.min.js +1 -0
  7. package/dist/index.min.js.map +1 -0
  8. package/dist-esm/samples-dev/getRateCard.d.ts +2 -0
  9. package/dist-esm/samples-dev/getRateCard.d.ts.map +1 -0
  10. package/dist-esm/samples-dev/getRateCard.js +30 -0
  11. package/dist-esm/samples-dev/getRateCard.js.map +1 -0
  12. package/dist-esm/src/index.d.ts +5 -0
  13. package/dist-esm/src/index.d.ts.map +1 -0
  14. package/dist-esm/src/index.js +12 -0
  15. package/dist-esm/src/index.js.map +1 -0
  16. package/dist-esm/src/models/index.d.ts +178 -0
  17. package/dist-esm/src/models/index.d.ts.map +1 -0
  18. package/dist-esm/src/models/index.js +9 -0
  19. package/dist-esm/src/models/index.js.map +1 -0
  20. package/dist-esm/src/models/mappers.d.ts +19 -0
  21. package/dist-esm/src/models/mappers.d.ts.map +1 -0
  22. package/{esm → dist-esm/src}/models/mappers.js +132 -149
  23. package/dist-esm/src/models/mappers.js.map +1 -0
  24. package/dist-esm/src/models/parameters.d.ts +13 -0
  25. package/dist-esm/src/models/parameters.d.ts.map +1 -0
  26. package/{esm → dist-esm/src}/models/parameters.js +62 -63
  27. package/dist-esm/src/models/parameters.js.map +1 -0
  28. package/{esm → dist-esm/src}/operations/index.d.ts +0 -0
  29. package/dist-esm/src/operations/index.d.ts.map +1 -0
  30. package/dist-esm/src/operations/index.js +10 -0
  31. package/dist-esm/src/operations/index.js.map +1 -0
  32. package/dist-esm/src/operations/rateCard.d.ts +27 -0
  33. package/dist-esm/src/operations/rateCard.d.ts.map +1 -0
  34. package/dist-esm/src/operations/rateCard.js +55 -0
  35. package/dist-esm/src/operations/rateCard.js.map +1 -0
  36. package/dist-esm/src/operations/usageAggregates.d.ts +38 -0
  37. package/dist-esm/src/operations/usageAggregates.d.ts.map +1 -0
  38. package/dist-esm/src/operations/usageAggregates.js +144 -0
  39. package/dist-esm/src/operations/usageAggregates.js.map +1 -0
  40. package/dist-esm/src/operationsInterfaces/index.d.ts +3 -0
  41. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
  42. package/dist-esm/src/operationsInterfaces/index.js +10 -0
  43. package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
  44. package/dist-esm/src/operationsInterfaces/rateCard.d.ts +19 -0
  45. package/dist-esm/src/operationsInterfaces/rateCard.d.ts.map +1 -0
  46. package/dist-esm/src/operationsInterfaces/rateCard.js +9 -0
  47. package/dist-esm/src/operationsInterfaces/rateCard.js.map +1 -0
  48. package/dist-esm/src/operationsInterfaces/usageAggregates.d.ts +13 -0
  49. package/dist-esm/src/operationsInterfaces/usageAggregates.d.ts.map +1 -0
  50. package/dist-esm/src/operationsInterfaces/usageAggregates.js +9 -0
  51. package/dist-esm/src/operationsInterfaces/usageAggregates.js.map +1 -0
  52. package/dist-esm/src/usageManagementClient.d.ts +20 -0
  53. package/dist-esm/src/usageManagementClient.d.ts.map +1 -0
  54. package/dist-esm/src/usageManagementClient.js +53 -0
  55. package/dist-esm/src/usageManagementClient.js.map +1 -0
  56. package/dist-esm/test/commerce_examples.d.ts +4 -0
  57. package/dist-esm/test/commerce_examples.d.ts.map +1 -0
  58. package/dist-esm/test/commerce_examples.js +58 -0
  59. package/dist-esm/test/commerce_examples.js.map +1 -0
  60. package/package.json +77 -34
  61. package/review/arm-commerce.api.md +178 -0
  62. package/rollup.config.js +181 -30
  63. package/src/index.ts +12 -0
  64. package/src/models/index.ts +210 -0
  65. package/{lib → src}/models/mappers.ts +138 -152
  66. package/src/models/parameters.ts +137 -0
  67. package/{lib → src}/operations/index.ts +3 -5
  68. package/src/operations/rateCard.ts +69 -0
  69. package/src/operations/usageAggregates.ts +188 -0
  70. package/src/operationsInterfaces/index.ts +10 -0
  71. package/src/operationsInterfaces/rateCard.ts +30 -0
  72. package/src/operationsInterfaces/usageAggregates.ts +26 -0
  73. package/src/usageManagementClient.ts +78 -0
  74. package/tsconfig.json +6 -5
  75. package/types/arm-commerce.d.ts +247 -0
  76. package/types/tsdoc-metadata.json +11 -0
  77. package/dist/arm-commerce.js +0 -930
  78. package/dist/arm-commerce.js.map +0 -1
  79. package/dist/arm-commerce.min.js +0 -1
  80. package/dist/arm-commerce.min.js.map +0 -1
  81. package/esm/models/index.d.ts +0 -453
  82. package/esm/models/index.d.ts.map +0 -1
  83. package/esm/models/index.js +0 -10
  84. package/esm/models/index.js.map +0 -1
  85. package/esm/models/mappers.d.ts +0 -21
  86. package/esm/models/mappers.d.ts.map +0 -1
  87. package/esm/models/mappers.js.map +0 -1
  88. package/esm/models/parameters.d.ts +0 -12
  89. package/esm/models/parameters.d.ts.map +0 -1
  90. package/esm/models/parameters.js.map +0 -1
  91. package/esm/models/rateCardMappers.d.ts +0 -2
  92. package/esm/models/rateCardMappers.d.ts.map +0 -1
  93. package/esm/models/rateCardMappers.js +0 -11
  94. package/esm/models/rateCardMappers.js.map +0 -1
  95. package/esm/models/usageAggregatesMappers.d.ts +0 -2
  96. package/esm/models/usageAggregatesMappers.d.ts.map +0 -1
  97. package/esm/models/usageAggregatesMappers.js +0 -11
  98. package/esm/models/usageAggregatesMappers.js.map +0 -1
  99. package/esm/operations/index.d.ts.map +0 -1
  100. package/esm/operations/index.js +0 -12
  101. package/esm/operations/index.js.map +0 -1
  102. package/esm/operations/rateCard.d.ts +0 -43
  103. package/esm/operations/rateCard.d.ts.map +0 -1
  104. package/esm/operations/rateCard.js +0 -56
  105. package/esm/operations/rateCard.js.map +0 -1
  106. package/esm/operations/usageAggregates.d.ts +0 -52
  107. package/esm/operations/usageAggregates.d.ts.map +0 -1
  108. package/esm/operations/usageAggregates.js +0 -87
  109. package/esm/operations/usageAggregates.js.map +0 -1
  110. package/esm/usageManagementClient.d.ts +0 -20
  111. package/esm/usageManagementClient.d.ts.map +0 -1
  112. package/esm/usageManagementClient.js +0 -35
  113. package/esm/usageManagementClient.js.map +0 -1
  114. package/esm/usageManagementClientContext.d.ts +0 -17
  115. package/esm/usageManagementClientContext.d.ts.map +0 -1
  116. package/esm/usageManagementClientContext.js +0 -57
  117. package/esm/usageManagementClientContext.js.map +0 -1
  118. package/lib/models/index.ts +0 -479
  119. package/lib/models/parameters.ts +0 -124
  120. package/lib/models/rateCardMappers.ts +0 -21
  121. package/lib/models/usageAggregatesMappers.ts +0 -18
  122. package/lib/operations/rateCard.ts +0 -94
  123. package/lib/operations/usageAggregates.ts +0 -139
  124. package/lib/usageManagementClient.ts +0 -45
  125. package/lib/usageManagementClientContext.ts +0 -63
@@ -1,453 +0,0 @@
1
- import { BaseResource, CloudError, AzureServiceClientOptions } from "@azure/ms-rest-azure-js";
2
- import * as msRest from "@azure/ms-rest-js";
3
- export { BaseResource, CloudError };
4
- /**
5
- * @interface
6
- * An interface representing InfoField.
7
- * Key-value pairs of instance details in the legacy format.
8
- *
9
- */
10
- export interface InfoField {
11
- /**
12
- * @member {string} [project] Identifies the name of the instance provisioned
13
- * by the user.
14
- */
15
- project?: string;
16
- }
17
- /**
18
- * @interface
19
- * An interface representing UsageAggregation.
20
- * Describes the usageAggregation.
21
- *
22
- */
23
- export interface UsageAggregation {
24
- /**
25
- * @member {string} [id] Unique Id for the usage aggregate.
26
- */
27
- id?: string;
28
- /**
29
- * @member {string} [name] Name of the usage aggregate.
30
- */
31
- name?: string;
32
- /**
33
- * @member {string} [type] Type of the resource being returned.
34
- */
35
- type?: string;
36
- /**
37
- * @member {string} [subscriptionId] The subscription identifier for the
38
- * Azure user.
39
- */
40
- subscriptionId?: string;
41
- /**
42
- * @member {string} [meterId] Unique ID for the resource that was consumed
43
- * (aka ResourceID).
44
- */
45
- meterId?: string;
46
- /**
47
- * @member {Date} [usageStartTime] UTC start time for the usage bucket to
48
- * which this usage aggregate belongs.
49
- */
50
- usageStartTime?: Date;
51
- /**
52
- * @member {Date} [usageEndTime] UTC end time for the usage bucket to which
53
- * this usage aggregate belongs.
54
- */
55
- usageEndTime?: Date;
56
- /**
57
- * @member {number} [quantity] The amount of the resource consumption that
58
- * occurred in this time frame.
59
- */
60
- quantity?: number;
61
- /**
62
- * @member {string} [unit] The unit in which the usage for this resource is
63
- * being counted, e.g. Hours, GB.
64
- */
65
- unit?: string;
66
- /**
67
- * @member {string} [meterName] Friendly name of the resource being consumed.
68
- */
69
- meterName?: string;
70
- /**
71
- * @member {string} [meterCategory] Category of the consumed resource.
72
- */
73
- meterCategory?: string;
74
- /**
75
- * @member {string} [meterSubCategory] Sub-category of the consumed resource.
76
- */
77
- meterSubCategory?: string;
78
- /**
79
- * @member {string} [meterRegion] Region of the meterId used for billing
80
- * purposes
81
- */
82
- meterRegion?: string;
83
- /**
84
- * @member {InfoField} [infoFields] Key-value pairs of instance details
85
- * (legacy format).
86
- */
87
- infoFields?: InfoField;
88
- /**
89
- * @member {string} [instanceData] Key-value pairs of instance details
90
- * represented as a string.
91
- */
92
- instanceData?: string;
93
- }
94
- /**
95
- * @interface
96
- * An interface representing RateCardQueryParameters.
97
- * Parameters that are used in the odata $filter query parameter for providing
98
- * RateCard information.
99
- *
100
- */
101
- export interface RateCardQueryParameters {
102
- /**
103
- * @member {string} offerDurableId The Offer ID parameter consists of the
104
- * 'MS-AZR-' prefix, plus the Offer ID number (e.g., MS-AZR-0026P). See
105
- * https://azure.microsoft.com/en-us/support/legal/offer-details/ for more
106
- * information on the list of available Offer IDs, country/region
107
- * availability, and billing currency.
108
- */
109
- offerDurableId: string;
110
- /**
111
- * @member {string} currency The currency in which the rates need to be
112
- * provided.
113
- */
114
- currency: string;
115
- /**
116
- * @member {string} locale The culture in which the resource metadata needs
117
- * to be localized.
118
- */
119
- locale: string;
120
- /**
121
- * @member {string} regionInfo 2 letter ISO code where the offer was
122
- * purchased.
123
- */
124
- regionInfo: string;
125
- }
126
- /**
127
- * Contains the possible cases for OfferTermInfo.
128
- */
129
- export declare type OfferTermInfoUnion = OfferTermInfo | MonetaryCredit | MonetaryCommitment | RecurringCharge;
130
- /**
131
- * @interface
132
- * An interface representing OfferTermInfo.
133
- * Describes the offer term.
134
- *
135
- */
136
- export interface OfferTermInfo {
137
- /**
138
- * @member {string} name Polymorphic Discriminator
139
- */
140
- name: "OfferTermInfo";
141
- /**
142
- * @member {Date} [effectiveDate] Indicates the date from which the offer
143
- * term is effective.
144
- */
145
- effectiveDate?: Date;
146
- }
147
- /**
148
- * @interface
149
- * An interface representing MeterInfo.
150
- * Detailed information about the meter.
151
- *
152
- */
153
- export interface MeterInfo {
154
- /**
155
- * @member {string} [meterId] The unique identifier of the resource.
156
- */
157
- meterId?: string;
158
- /**
159
- * @member {string} [meterName] The name of the meter, within the given meter
160
- * category
161
- */
162
- meterName?: string;
163
- /**
164
- * @member {string} [meterCategory] The category of the meter, e.g., 'Cloud
165
- * services', 'Networking', etc..
166
- */
167
- meterCategory?: string;
168
- /**
169
- * @member {string} [meterSubCategory] The subcategory of the meter, e.g.,
170
- * 'A6 Cloud services', 'ExpressRoute (IXP)', etc..
171
- */
172
- meterSubCategory?: string;
173
- /**
174
- * @member {string} [unit] The unit in which the meter consumption is
175
- * charged, e.g., 'Hours', 'GB', etc.
176
- */
177
- unit?: string;
178
- /**
179
- * @member {string[]} [meterTags] Provides additional meter data. 'Third
180
- * Party' indicates a meter with no discount. Blanks indicate First Party.
181
- */
182
- meterTags?: string[];
183
- /**
184
- * @member {string} [meterRegion] The region in which the Azure service is
185
- * available.
186
- */
187
- meterRegion?: string;
188
- /**
189
- * @member {{ [propertyName: string]: number }} [meterRates] The list of
190
- * key/value pairs for the meter rates, in the format 'key':'value' where key
191
- * = the meter quantity, and value = the corresponding price
192
- */
193
- meterRates?: {
194
- [propertyName: string]: number;
195
- };
196
- /**
197
- * @member {Date} [effectiveDate] Indicates the date from which the meter
198
- * rate is effective.
199
- */
200
- effectiveDate?: Date;
201
- /**
202
- * @member {number} [includedQuantity] The resource quantity that is included
203
- * in the offer at no cost. Consumption beyond this quantity will be charged.
204
- */
205
- includedQuantity?: number;
206
- }
207
- /**
208
- * @interface
209
- * An interface representing ResourceRateCardInfo.
210
- * Price and Metadata information for resources
211
- *
212
- */
213
- export interface ResourceRateCardInfo {
214
- /**
215
- * @member {string} [currency] The currency in which the rates are provided.
216
- */
217
- currency?: string;
218
- /**
219
- * @member {string} [locale] The culture in which the resource information is
220
- * localized.
221
- */
222
- locale?: string;
223
- /**
224
- * @member {boolean} [isTaxIncluded] All rates are pretax, so this will
225
- * always be returned as 'false'.
226
- */
227
- isTaxIncluded?: boolean;
228
- /**
229
- * @member {OfferTermInfoUnion[]} [offerTerms] A list of offer terms.
230
- */
231
- offerTerms?: OfferTermInfoUnion[];
232
- /**
233
- * @member {MeterInfo[]} [meters] A list of meters.
234
- */
235
- meters?: MeterInfo[];
236
- }
237
- /**
238
- * @interface
239
- * An interface representing MonetaryCredit.
240
- * Indicates that this is a monetary credit offer.
241
- *
242
- */
243
- export interface MonetaryCredit {
244
- /**
245
- * @member {string} name Polymorphic Discriminator
246
- */
247
- name: "Monetary Credit";
248
- /**
249
- * @member {Date} [effectiveDate] Indicates the date from which the offer
250
- * term is effective.
251
- */
252
- effectiveDate?: Date;
253
- /**
254
- * @member {number} [credit] The amount of credit provided under the terms of
255
- * the given offer level.
256
- */
257
- credit?: number;
258
- /**
259
- * @member {string[]} [excludedMeterIds] An array of meter ids that are
260
- * excluded from the given offer terms.
261
- */
262
- excludedMeterIds?: string[];
263
- }
264
- /**
265
- * @interface
266
- * An interface representing MonetaryCommitment.
267
- * Indicates that a monetary commitment is required for this offer
268
- *
269
- */
270
- export interface MonetaryCommitment {
271
- /**
272
- * @member {string} name Polymorphic Discriminator
273
- */
274
- name: "Monetary Commitment";
275
- /**
276
- * @member {Date} [effectiveDate] Indicates the date from which the offer
277
- * term is effective.
278
- */
279
- effectiveDate?: Date;
280
- /**
281
- * @member {{ [propertyName: string]: number }} [tieredDiscount] The list of
282
- * key/value pairs for the tiered meter rates, in the format 'key':'value'
283
- * where key = price, and value = the corresponding discount percentage. This
284
- * field is used only by offer terms of type 'Monetary Commitment'.
285
- */
286
- tieredDiscount?: {
287
- [propertyName: string]: number;
288
- };
289
- /**
290
- * @member {string[]} [excludedMeterIds] An array of meter ids that are
291
- * excluded from the given offer terms.
292
- */
293
- excludedMeterIds?: string[];
294
- }
295
- /**
296
- * @interface
297
- * An interface representing RecurringCharge.
298
- * Indicates a recurring charge is present for this offer.
299
- *
300
- */
301
- export interface RecurringCharge {
302
- /**
303
- * @member {string} name Polymorphic Discriminator
304
- */
305
- name: "Recurring Charge";
306
- /**
307
- * @member {Date} [effectiveDate] Indicates the date from which the offer
308
- * term is effective.
309
- */
310
- effectiveDate?: Date;
311
- /**
312
- * @member {number} [recurringCharge] The amount of recurring charge as per
313
- * the offer term.
314
- */
315
- recurringCharge?: number;
316
- }
317
- /**
318
- * @interface
319
- * An interface representing ErrorResponse.
320
- * Describes the format of Error response.
321
- *
322
- */
323
- export interface ErrorResponse {
324
- /**
325
- * @member {string} [code] Error code
326
- */
327
- code?: string;
328
- /**
329
- * @member {string} [message] Error message indicating why the operation
330
- * failed.
331
- */
332
- message?: string;
333
- }
334
- /**
335
- * @interface
336
- * An interface representing UsageAggregatesListOptionalParams.
337
- * Optional Parameters.
338
- *
339
- * @extends RequestOptionsBase
340
- */
341
- export interface UsageAggregatesListOptionalParams extends msRest.RequestOptionsBase {
342
- /**
343
- * @member {boolean} [showDetails] `True` returns usage data in
344
- * instance-level detail, `false` causes server-side aggregation with fewer
345
- * details. For example, if you have 3 website instances, by default you will
346
- * get 3 line items for website consumption. If you specify showDetails =
347
- * false, the data will be aggregated as a single line item for website
348
- * consumption within the time period (for the given subscriptionId, meterId,
349
- * usageStartTime and usageEndTime).
350
- */
351
- showDetails?: boolean;
352
- /**
353
- * @member {AggregationGranularity} [aggregationGranularity] `Daily`
354
- * (default) returns the data in daily granularity, `Hourly` returns the data
355
- * in hourly granularity. Possible values include: 'Daily', 'Hourly'. Default
356
- * value: 'Daily' .
357
- */
358
- aggregationGranularity?: AggregationGranularity;
359
- /**
360
- * @member {string} [continuationToken] Used when a continuation token string
361
- * is provided in the response body of the previous call, enabling paging
362
- * through a large result set. If not present, the data is retrieved from the
363
- * beginning of the day/hour (based on the granularity) passed in.
364
- */
365
- continuationToken?: string;
366
- }
367
- /**
368
- * @interface
369
- * An interface representing UsageManagementClientOptions.
370
- * @extends AzureServiceClientOptions
371
- */
372
- export interface UsageManagementClientOptions extends AzureServiceClientOptions {
373
- /**
374
- * @member {string} [baseUri]
375
- */
376
- baseUri?: string;
377
- }
378
- /**
379
- * @interface
380
- * An interface representing the UsageAggregationListResult.
381
- * The Get UsageAggregates operation response.
382
- *
383
- * @extends Array<UsageAggregation>
384
- */
385
- export interface UsageAggregationListResult extends Array<UsageAggregation> {
386
- /**
387
- * @member {string} [nextLink] Gets or sets the link to the next set of
388
- * results.
389
- */
390
- nextLink?: string;
391
- }
392
- /**
393
- * Defines values for AggregationGranularity.
394
- * Possible values include: 'Daily', 'Hourly'
395
- * @readonly
396
- * @enum {string}
397
- */
398
- export declare type AggregationGranularity = 'Daily' | 'Hourly';
399
- /**
400
- * Contains response data for the list operation.
401
- */
402
- export declare type UsageAggregatesListResponse = UsageAggregationListResult & {
403
- /**
404
- * The underlying HTTP response.
405
- */
406
- _response: msRest.HttpResponse & {
407
- /**
408
- * The response body as text (string format)
409
- */
410
- bodyAsText: string;
411
- /**
412
- * The response body as parsed JSON or XML
413
- */
414
- parsedBody: UsageAggregationListResult;
415
- };
416
- };
417
- /**
418
- * Contains response data for the listNext operation.
419
- */
420
- export declare type UsageAggregatesListNextResponse = UsageAggregationListResult & {
421
- /**
422
- * The underlying HTTP response.
423
- */
424
- _response: msRest.HttpResponse & {
425
- /**
426
- * The response body as text (string format)
427
- */
428
- bodyAsText: string;
429
- /**
430
- * The response body as parsed JSON or XML
431
- */
432
- parsedBody: UsageAggregationListResult;
433
- };
434
- };
435
- /**
436
- * Contains response data for the get operation.
437
- */
438
- export declare type RateCardGetResponse = ResourceRateCardInfo & {
439
- /**
440
- * The underlying HTTP response.
441
- */
442
- _response: msRest.HttpResponse & {
443
- /**
444
- * The response body as text (string format)
445
- */
446
- bodyAsText: string;
447
- /**
448
- * The response body as parsed JSON or XML
449
- */
450
- parsedBody: ResourceRateCardInfo;
451
- };
452
- };
453
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../lib/models/index.ts"],"names":[],"mappings":"AAUA,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,yBAAyB,EAAE,MAAM,yBAAyB,CAAC;AAC9F,OAAO,KAAK,MAAM,MAAM,mBAAmB,CAAC;AAE5C,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,CAAC;AAGpC;;;;;GAKG;AACH,MAAM,WAAW,SAAS;IACxB;;;OAGG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED;;;;;GAKG;AACH,MAAM,WAAW,gBAAgB;IAC/B;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;;OAGG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB;;;OAGG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;;OAGG;IACH,cAAc,CAAC,EAAE,IAAI,CAAC;IACtB;;;OAGG;IACH,YAAY,CAAC,EAAE,IAAI,CAAC;IACpB;;;OAGG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;;OAGG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,aAAa,CAAC,EAAE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
2
- * Copyright (c) Microsoft Corporation. All rights reserved.
3
- * Licensed under the MIT License. See License.txt in the project root for
4
- * license information.
5
- *
6
- * Code generated by Microsoft (R) AutoRest Code Generator.
7
- * Changes may cause incorrect behavior and will be lost if the code is
8
- * regenerated.
9
- */
10
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../lib/models/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG"}
@@ -1,21 +0,0 @@
1
- import * as msRest from "@azure/ms-rest-js";
2
- export declare const CloudError: msRest.CompositeMapper;
3
- export declare const BaseResource: msRest.CompositeMapper;
4
- export declare const InfoField: msRest.CompositeMapper;
5
- export declare const UsageAggregation: msRest.CompositeMapper;
6
- export declare const RateCardQueryParameters: msRest.CompositeMapper;
7
- export declare const OfferTermInfo: msRest.CompositeMapper;
8
- export declare const MeterInfo: msRest.CompositeMapper;
9
- export declare const ResourceRateCardInfo: msRest.CompositeMapper;
10
- export declare const MonetaryCredit: msRest.CompositeMapper;
11
- export declare const MonetaryCommitment: msRest.CompositeMapper;
12
- export declare const RecurringCharge: msRest.CompositeMapper;
13
- export declare const ErrorResponse: msRest.CompositeMapper;
14
- export declare const UsageAggregationListResult: msRest.CompositeMapper;
15
- export declare const discriminators: {
16
- 'OfferTermInfo': msRest.CompositeMapper;
17
- 'OfferTermInfo.Monetary Credit': msRest.CompositeMapper;
18
- 'OfferTermInfo.Monetary Commitment': msRest.CompositeMapper;
19
- 'OfferTermInfo.Recurring Charge': msRest.CompositeMapper;
20
- };
21
- //# sourceMappingURL=mappers.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"mappers.d.ts","sourceRoot":"","sources":["../../lib/models/mappers.ts"],"names":[],"mappings":"AAWA,OAAO,KAAK,MAAM,MAAM,mBAAmB,CAAC;AAE5C,eAAO,MAAM,UAAU,wBAAmB,CAAC;AAC3C,eAAO,MAAM,YAAY,wBAAqB,CAAC;AAE/C,eAAO,MA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R,cAAc,EAAE,UAAU;gBAC1B,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;SACF;KACF;CACF,CAAC;AAEF,MAAM,CAAC,IAAM,cAAc,GAAG;IAC5B,eAAe,EAAG,aAAa;IAC/B,+BAA+B,EAAG,cAAc;IAChD,mCAAmC,EAAG,kBAAkB;IACxD,gCAAgC,EAAG,eAAe;CACnD,CAAC"}
@@ -1,12 +0,0 @@
1
- import * as msRest from "@azure/ms-rest-js";
2
- export declare const acceptLanguage: msRest.OperationParameter;
3
- export declare const aggregationGranularity: msRest.OperationQueryParameter;
4
- export declare const apiVersion: msRest.OperationQueryParameter;
5
- export declare const continuationToken: msRest.OperationQueryParameter;
6
- export declare const filter: msRest.OperationQueryParameter;
7
- export declare const nextPageLink: msRest.OperationURLParameter;
8
- export declare const reportedEndTime: msRest.OperationQueryParameter;
9
- export declare const reportedStartTime: msRest.OperationQueryParameter;
10
- export declare const showDetails: msRest.OperationQueryParameter;
11
- export declare const subscriptionId: msRest.OperationURLParameter;
12
- //# sourceMappingURL=parameters.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"parameters.d.ts","sourceRoot":"","sources":["../../lib/models/parameters.ts"],"names":[],"mappings":"AAUA,OAAO,KAAK,MAAM,MAAM,mBAAmB,CAAC;AAE5C,eAAO,MAAM,cAAc,EAAE,MAAM,CAAC,kBASnC,CAAC;AACF,eAAO,MAAM,sBAAsB,EAAE,MAAM,CAAC,uBAgB3C,CAAC;AACF,eAAO,MAAM,UAAU,EAAE,MAAM,CAAC,uBAS/B,CAAC;AACF,eAAO,MAAM,iBAAiB,EAAE,MAAM,CAAC,uBAWtC,CAAC;AACF,eAAO,MAAM,MAAM,EAAE,MAAM,CAAC,uBAS3B,CAAC;AACF,eAAO,MAAM,YAAY,EAAE,MAAM,CAAC,qBAUjC,CAAC;AACF,eAAO,MAAM,eAAe,EAAE,MAAM,CAAC,uBASpC,CAAC;AACF,eAAO,MAAM,iBAAiB,EAAE,MAAM,CAAC,uBAStC,CAAC;AACF,eAAO,MAAM,WAAW,EAAE,MAAM,CAAC,uBAWhC,CAAC;AACF,eAAO,MAAM,cAAc,EAAE,MAAM,CAAC,qBASnC,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"parameters.js","sourceRoot":"","sources":["../../lib/models/parameters.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAIH,MAAM,CAAC,IAAM,cAAc,GAA8B;IACvD,aAAa,EAAE,gBAAgB;IAC/B,MAAM,EAAE;QACN,cAAc,EAAE,iBAAiB;QACjC,YAAY,EAAE,OAAO;QACrB,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC;AACF,MAAM,CAAC,IAAM,sBAAsB,GAAmC;IACpE,aAAa,EAAE;QACb,SAAS;QACT,wBAAwB;KACzB;IACD,MAAM,EAAE;QACN,cAAc,EAAE,wBAAwB;QACxC,YAAY,EAAE,OAAO;QACrB,IAAI,EAAE;YACJ,IAAI,EAAE,MAAM;YACZ,aAAa,EAAE;gBACb,OAAO;gBACP,QAAQ;aACT;SACF;KACF;CACF,CAAC;AACF,MAAM,CAAC,IAAM,UAAU,GAAmC;IACxD,aAAa,EAAE,YAAY;IAC3B,MAAM,EAAE;QACN,QAAQ,EAAE,IAAI;QACd,cAAc,EAAE,aAAa;QAC7B,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC;AACF,MAAM,CAAC,IAAM,iBAAiB,GAAmC;IAC/D,aAAa,EAAE;QACb,SAAS;QACT,mBAAmB;KACpB;IACD,MAAM,EAAE;QACN,cAAc,EAAE,mBAAmB;QACnC,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC;AACF,MAAM,CAAC,IAAM,MAAM,GAAmC;IACpD,aAAa,EAAE,QAAQ;IACvB,MAAM,EAAE;QACN,QAAQ,EAAE,IAAI;QACd,cAAc,EAAE,SAAS;QACzB,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC;AACF,MAAM,CAAC,IAAM,YAAY,GAAiC;IACxD,aAAa,EAAE,cAAc;IAC7B,MAAM,EAAE;QACN,QAAQ,EAAE,IAAI;QACd,cAAc,EAAE,UAAU;QAC1B,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;IACD,YAAY,EAAE,IAAI;CACnB,CAAC;AACF,MAAM,CAAC,IAAM,eAAe,GAAmC;IAC7D,aAAa,EAAE,iBAAiB;IAChC,MAAM,EAAE;QACN,QAAQ,EAAE,IAAI;QACd,cAAc,EAAE,iBAAiB;QACjC,IAAI,EAAE;YACJ,IAAI,EAAE,UAAU;SACjB;KACF;CACF,CAAC;AACF,MAAM,CAAC,IAAM,iBAAiB,GAAmC;IAC/D,aAAa,EAAE,mBAAmB;IAClC,MAAM,EAAE;QACN,QAAQ,EAAE,IAAI;QACd,cAAc,EAAE,mBAAmB;QACnC,IAAI,EAAE;YACJ,IAAI,EAAE,UAAU;SACjB;KACF;CACF,CAAC;AACF,MAAM,CAAC,IAAM,WAAW,GAAmC;IACzD,aAAa,EAAE;QACb,SAAS;QACT,aAAa;KACd;IACD,MAAM,EAAE;QACN,cAAc,EAAE,aAAa;QAC7B,IAAI,EAAE;YACJ,IAAI,EAAE,SAAS;SAChB;KACF;CACF,CAAC;AACF,MAAM,CAAC,IAAM,cAAc,GAAiC;IAC1D,aAAa,EAAE,gBAAgB;IAC/B,MAAM,EAAE;QACN,QAAQ,EAAE,IAAI;QACd,cAAc,EAAE,gBAAgB;QAChC,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC"}
@@ -1,2 +0,0 @@
1
- export { discriminators, ResourceRateCardInfo, OfferTermInfo, MeterInfo, ErrorResponse, MonetaryCredit, MonetaryCommitment, RecurringCharge } from "../models/mappers";
2
- //# sourceMappingURL=rateCardMappers.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"rateCardMappers.d.ts","sourceRoot":"","sources":["../../lib/models/rateCardMappers.ts"],"names":[],"mappings":"AAUA,OAAO,EACL,cAAc,EACd,oBAAoB,EACpB,aAAa,EACb,SAAS,EACT,aAAa,EACb,cAAc,EACd,kBAAkB,EAClB,eAAe,EAChB,MAAM,mBAAmB,CAAC"}
@@ -1,11 +0,0 @@
1
- /*
2
- * Copyright (c) Microsoft Corporation. All rights reserved.
3
- * Licensed under the MIT License. See License.txt in the project root for
4
- * license information.
5
- *
6
- * Code generated by Microsoft (R) AutoRest Code Generator.
7
- * Changes may cause incorrect behavior and will be lost if the code is
8
- * regenerated.
9
- */
10
- export { discriminators, ResourceRateCardInfo, OfferTermInfo, MeterInfo, ErrorResponse, MonetaryCredit, MonetaryCommitment, RecurringCharge } from "../models/mappers";
11
- //# sourceMappingURL=rateCardMappers.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"rateCardMappers.js","sourceRoot":"","sources":["../../lib/models/rateCardMappers.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,EACL,cAAc,EACd,oBAAoB,EACpB,aAAa,EACb,SAAS,EACT,aAAa,EACb,cAAc,EACd,kBAAkB,EAClB,eAAe,EAChB,MAAM,mBAAmB,CAAC"}
@@ -1,2 +0,0 @@
1
- export { discriminators, UsageAggregationListResult, UsageAggregation, InfoField, ErrorResponse } from "../models/mappers";
2
- //# sourceMappingURL=usageAggregatesMappers.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"usageAggregatesMappers.d.ts","sourceRoot":"","sources":["../../lib/models/usageAggregatesMappers.ts"],"names":[],"mappings":"AAUA,OAAO,EACL,cAAc,EACd,0BAA0B,EAC1B,gBAAgB,EAChB,SAAS,EACT,aAAa,EACd,MAAM,mBAAmB,CAAC"}
@@ -1,11 +0,0 @@
1
- /*
2
- * Copyright (c) Microsoft Corporation. All rights reserved.
3
- * Licensed under the MIT License. See License.txt in the project root for
4
- * license information.
5
- *
6
- * Code generated by Microsoft (R) AutoRest Code Generator.
7
- * Changes may cause incorrect behavior and will be lost if the code is
8
- * regenerated.
9
- */
10
- export { discriminators, UsageAggregationListResult, UsageAggregation, InfoField, ErrorResponse } from "../models/mappers";
11
- //# sourceMappingURL=usageAggregatesMappers.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"usageAggregatesMappers.js","sourceRoot":"","sources":["../../lib/models/usageAggregatesMappers.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,EACL,cAAc,EACd,0BAA0B,EAC1B,gBAAgB,EAChB,SAAS,EACT,aAAa,EACd,MAAM,mBAAmB,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../lib/operations/index.ts"],"names":[],"mappings":"AAUA,cAAc,mBAAmB,CAAC;AAClC,cAAc,YAAY,CAAC"}
@@ -1,12 +0,0 @@
1
- /*
2
- * Copyright (c) Microsoft Corporation. All rights reserved.
3
- * Licensed under the MIT License. See License.txt in the project root for
4
- * license information.
5
- *
6
- * Code generated by Microsoft (R) AutoRest Code Generator.
7
- * Changes may cause incorrect behavior and will be lost if the code is
8
- * regenerated.
9
- */
10
- export * from "./usageAggregates";
11
- export * from "./rateCard";
12
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../lib/operations/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,cAAc,mBAAmB,CAAC;AAClC,cAAc,YAAY,CAAC"}
@@ -1,43 +0,0 @@
1
- import * as msRest from "@azure/ms-rest-js";
2
- import * as Models from "../models";
3
- import { UsageManagementClientContext } from "../usageManagementClientContext";
4
- /** Class representing a RateCard. */
5
- export declare class RateCard {
6
- private readonly client;
7
- /**
8
- * Create a RateCard.
9
- * @param {UsageManagementClientContext} client Reference to the service client.
10
- */
11
- constructor(client: UsageManagementClientContext);
12
- /**
13
- * Enables you to query for the resource/meter metadata and related prices used in a given
14
- * subscription by Offer ID, Currency, Locale and Region. The metadata associated with the billing
15
- * meters, including but not limited to service names, types, resources, units of measure, and
16
- * regions, is subject to change at any time and without notice. If you intend to use this billing
17
- * data in an automated fashion, please use the billing meter GUID to uniquely identify each
18
- * billable item. If the billing meter GUID is scheduled to change due to a new billing model, you
19
- * will be notified in advance of the change.
20
- * @param filter The filter to apply on the operation. It ONLY supports the 'eq' and 'and' logical
21
- * operators at this time. All the 4 query parameters 'OfferDurableId', 'Currency', 'Locale',
22
- * 'Region' are required to be a part of the $filter.
23
- * @param [options] The optional parameters
24
- * @returns Promise<Models.RateCardGetResponse>
25
- */
26
- get(filter: string, options?: msRest.RequestOptionsBase): Promise<Models.RateCardGetResponse>;
27
- /**
28
- * @param filter The filter to apply on the operation. It ONLY supports the 'eq' and 'and' logical
29
- * operators at this time. All the 4 query parameters 'OfferDurableId', 'Currency', 'Locale',
30
- * 'Region' are required to be a part of the $filter.
31
- * @param callback The callback
32
- */
33
- get(filter: string, callback: msRest.ServiceCallback<Models.ResourceRateCardInfo>): void;
34
- /**
35
- * @param filter The filter to apply on the operation. It ONLY supports the 'eq' and 'and' logical
36
- * operators at this time. All the 4 query parameters 'OfferDurableId', 'Currency', 'Locale',
37
- * 'Region' are required to be a part of the $filter.
38
- * @param options The optional parameters
39
- * @param callback The callback
40
- */
41
- get(filter: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.ResourceRateCardInfo>): void;
42
- }
43
- //# sourceMappingURL=rateCard.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"rateCard.d.ts","sourceRoot":"","sources":["../../lib/operations/rateCard.ts"],"names":[],"mappings":"AAUA,OAAO,KAAK,MAAM,MAAM,mBAAmB,CAAC;AAC5C,OAAO,KAAK,MAAM,MAAM,WAAW,CAAC;AAGpC,OAAO,EAAE,4BAA4B,EAAE,MAAM,iCAAiC,CAAC;AAE/E,qCAAqC;AACrC,qBAAa,QAAQ;IACnB,OAAO,CAAC,QAAQ,CAAC,MAAM,CAA+B;IAEtD;;;OAGG;gBACS,MAAM,EAAE,4BAA4B;IAIhD;;;;;;;;;;;;;OAaG;IACH,GAAG,CAAC,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM,CAAC,kBAAkB,GAAG,OAAO,CAAC,MAAM,CAAC,mBAAmB,CAAC;IAC7F;;;;;OAKG;IACH,GAAG,CAAC,MAAM,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,CAAC,eAAe,CAAC,MAAM,CAAC,oBAAoB,CAAC,GAAG,IAAI;IACxF;;;;;;OAMG;IACH,GAAG,CAAC,MAAM,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,CAAC,kBAAkB,EAAE,QAAQ,EAAE,MAAM,CAAC,eAAe,CAAC,MAAM,CAAC,oBAAoB,CAAC,GAAG,IAAI;CAU7H"}