From 822f45e25c2eabfaeca9239b89fa8e056fea84b5 Mon Sep 17 00:00:00 2001 From: Mohammad Mohammad Date: Thu, 18 Feb 2021 11:29:12 -0500 Subject: [PATCH 1/9] Fix validation errors for UsageDetails_List --- .../stable/2019-10-01/consumption.json | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/consumption.json b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/consumption.json index dded820220e2..63a09b071d40 100644 --- a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/consumption.json +++ b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/consumption.json @@ -152,6 +152,9 @@ "$ref": "#/definitions/UsageDetailsListResult" } }, + "503": { + "description": "Server temporary unavailable" + }, "default": { "description": "Error response describing why the operation failed.", "schema": { @@ -2153,9 +2156,8 @@ "readOnly": true }, "meterId": { - "description": "The meter id (GUID). Not available for marketplace. For reserved instance this represents the primary meter for which the reservation was purchased. For the actual VM Size for which the reservation is purchased see productOrderName.", + "description": "The meter id. Not available for marketplace. For reserved instance this represents the primary meter for which the reservation was purchased. For the actual VM Size for which the reservation is purchased see productOrderName.", "type": "string", - "format": "uuid", "readOnly": true }, "meterName": { @@ -2440,6 +2442,12 @@ "description": "Flag to indicate if partner earned credit has been applied or not.", "type": "string", "readOnly": true + }, + "payGPrice": { + "description": "Retail price for the resource.", + "type": "number", + "format": "decimal", + "readOnly": true } } }, From 4d28507dfec2dc90ba54535a96572b2f5f0b682b Mon Sep 17 00:00:00 2001 From: Mohammad Mohammad Date: Thu, 18 Feb 2021 11:36:16 -0500 Subject: [PATCH 2/9] fix validations for UsageDetails_List invalid format --- .../Microsoft.Consumption/stable/2019-10-01/consumption.json | 1 - 1 file changed, 1 deletion(-) diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/consumption.json b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/consumption.json index 63a09b071d40..eb4e472ae4da 100644 --- a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/consumption.json +++ b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/consumption.json @@ -1930,7 +1930,6 @@ "meterId": { "description": "The meter id (GUID). Not available for marketplace. For reserved instance this represents the primary meter for which the reservation was purchased. For the actual VM Size for which the reservation is purchased see productOrderName.", "type": "string", - "format": "uuid", "readOnly": true }, "meterDetails": { From 728607619f87ce21b10d5c21fbdeb0dc02cfa172 Mon Sep 17 00:00:00 2001 From: Mohammad Mohammad Date: Thu, 18 Feb 2021 11:48:17 -0500 Subject: [PATCH 3/9] update description for meterId Property inLegacyUsageDetailProperties --- .../Microsoft.Consumption/stable/2019-10-01/consumption.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/consumption.json b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/consumption.json index eb4e472ae4da..fc54dfd21093 100644 --- a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/consumption.json +++ b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/consumption.json @@ -1928,7 +1928,7 @@ "readOnly": true }, "meterId": { - "description": "The meter id (GUID). Not available for marketplace. For reserved instance this represents the primary meter for which the reservation was purchased. For the actual VM Size for which the reservation is purchased see productOrderName.", + "description": "The meter id. Not available for marketplace. For reserved instance this represents the primary meter for which the reservation was purchased. For the actual VM Size for which the reservation is purchased see productOrderName.", "type": "string", "readOnly": true }, From d3f88ce3ee61290740544550850b957f15c22b0c Mon Sep 17 00:00:00 2001 From: Mohammad Mohammad Date: Thu, 18 Feb 2021 16:47:21 -0500 Subject: [PATCH 4/9] add examples for 503 response for Microsoft.Consumption usage details --- .../stable/2019-10-01/consumption.json | 6 ++++-- .../stable/2019-10-01/examples/UsageDetailsExpand.json | 3 ++- .../stable/2019-10-01/examples/UsageDetailsList.json | 3 ++- .../examples/UsageDetailsListByBillingAccount.json | 3 ++- .../2019-10-01/examples/UsageDetailsListByDepartment.json | 3 ++- .../examples/UsageDetailsListByEnrollmentAccount.json | 3 ++- .../examples/UsageDetailsListByMCABillingAccount.json | 3 ++- .../examples/UsageDetailsListByMCABillingProfile.json | 3 ++- .../2019-10-01/examples/UsageDetailsListByMCACustomer.json | 3 ++- .../examples/UsageDetailsListByMCAInvoiceSection.json | 3 ++- .../examples/UsageDetailsListByManagementGroup.json | 3 ++- .../examples/UsageDetailsListByMetricActualCost.json | 3 ++- .../examples/UsageDetailsListByMetricAmortizedCost.json | 3 ++- .../2019-10-01/examples/UsageDetailsListByMetricUsage.json | 3 ++- .../2019-10-01/examples/UsageDetailsListFilterByTag.json | 3 ++- .../examples/UsageDetailsListForBillingPeriod.json | 3 ++- .../UsageDetailsListForBillingPeriodByBillingAccount.json | 3 ++- .../UsageDetailsListForBillingPeriodByDepartment.json | 3 ++- ...UsageDetailsListForBillingPeriodByEnrollmentAccount.json | 3 ++- .../UsageDetailsListForBillingPeriodByManagementGroup.json | 3 ++- 20 files changed, 42 insertions(+), 21 deletions(-) diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/consumption.json b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/consumption.json index fc54dfd21093..e539dfe9501c 100644 --- a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/consumption.json +++ b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/consumption.json @@ -1928,8 +1928,9 @@ "readOnly": true }, "meterId": { - "description": "The meter id. Not available for marketplace. For reserved instance this represents the primary meter for which the reservation was purchased. For the actual VM Size for which the reservation is purchased see productOrderName.", + "description": "The meter id (GUID). Not available for marketplace. For reserved instance this represents the primary meter for which the reservation was purchased. For the actual VM Size for which the reservation is purchased see productOrderName.", "type": "string", + "format": "uuid", "readOnly": true }, "meterDetails": { @@ -2155,8 +2156,9 @@ "readOnly": true }, "meterId": { - "description": "The meter id. Not available for marketplace. For reserved instance this represents the primary meter for which the reservation was purchased. For the actual VM Size for which the reservation is purchased see productOrderName.", + "description": "The meter id (GUID). Not available for marketplace. For reserved instance this represents the primary meter for which the reservation was purchased. For the actual VM Size for which the reservation is purchased see productOrderName.", "type": "string", + "format": "uuid", "readOnly": true }, "meterName": { diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/UsageDetailsExpand.json b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/UsageDetailsExpand.json index c6ec98666b6c..c3a46d0e1730 100644 --- a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/UsageDetailsExpand.json +++ b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/UsageDetailsExpand.json @@ -62,6 +62,7 @@ } ] } - } + }, + "503": {} } } diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/UsageDetailsList.json b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/UsageDetailsList.json index 3cf004f312c5..0a55fc9e6964 100644 --- a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/UsageDetailsList.json +++ b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/UsageDetailsList.json @@ -52,6 +52,7 @@ } ] } - } + }, + "503": {} } } diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/UsageDetailsListByBillingAccount.json b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/UsageDetailsListByBillingAccount.json index 3f68c1ce0026..25c400b36295 100644 --- a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/UsageDetailsListByBillingAccount.json +++ b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/UsageDetailsListByBillingAccount.json @@ -51,6 +51,7 @@ } ] } - } + }, + "503": {} } } diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/UsageDetailsListByDepartment.json b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/UsageDetailsListByDepartment.json index 2bfc080688db..895652f4b684 100644 --- a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/UsageDetailsListByDepartment.json +++ b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/UsageDetailsListByDepartment.json @@ -51,6 +51,7 @@ } ] } - } + }, + "503": {} } } diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/UsageDetailsListByEnrollmentAccount.json b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/UsageDetailsListByEnrollmentAccount.json index c80573d483a4..9a0367160cd3 100644 --- a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/UsageDetailsListByEnrollmentAccount.json +++ b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/UsageDetailsListByEnrollmentAccount.json @@ -51,6 +51,7 @@ } ] } - } + }, + "503": {} } } diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/UsageDetailsListByMCABillingAccount.json b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/UsageDetailsListByMCABillingAccount.json index cddefc406d0f..002adc859686 100644 --- a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/UsageDetailsListByMCABillingAccount.json +++ b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/UsageDetailsListByMCABillingAccount.json @@ -80,6 +80,7 @@ } ] } - } + }, + "503": {} } } diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/UsageDetailsListByMCABillingProfile.json b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/UsageDetailsListByMCABillingProfile.json index 66506715f999..30b84b705602 100644 --- a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/UsageDetailsListByMCABillingProfile.json +++ b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/UsageDetailsListByMCABillingProfile.json @@ -80,6 +80,7 @@ } ] } - } + }, + "503": {} } } diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/UsageDetailsListByMCACustomer.json b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/UsageDetailsListByMCACustomer.json index b76b2f52e19e..6c736ca6befb 100644 --- a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/UsageDetailsListByMCACustomer.json +++ b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/UsageDetailsListByMCACustomer.json @@ -80,6 +80,7 @@ } ] } - } + }, + "503": {} } } diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/UsageDetailsListByMCAInvoiceSection.json b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/UsageDetailsListByMCAInvoiceSection.json index f1133b561e9c..fa9ba7089c90 100644 --- a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/UsageDetailsListByMCAInvoiceSection.json +++ b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/UsageDetailsListByMCAInvoiceSection.json @@ -80,6 +80,7 @@ } ] } - } + }, + "503": {} } } diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/UsageDetailsListByManagementGroup.json b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/UsageDetailsListByManagementGroup.json index af2e682ed82e..6d86d168aa44 100644 --- a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/UsageDetailsListByManagementGroup.json +++ b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/UsageDetailsListByManagementGroup.json @@ -93,6 +93,7 @@ } ] } - } + }, + "503": {} } } diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/UsageDetailsListByMetricActualCost.json b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/UsageDetailsListByMetricActualCost.json index 8f58c80235aa..1221b30bf56f 100644 --- a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/UsageDetailsListByMetricActualCost.json +++ b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/UsageDetailsListByMetricActualCost.json @@ -52,6 +52,7 @@ } ] } - } + }, + "503": {} } } diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/UsageDetailsListByMetricAmortizedCost.json b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/UsageDetailsListByMetricAmortizedCost.json index 38e6df753735..8598192fa21e 100644 --- a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/UsageDetailsListByMetricAmortizedCost.json +++ b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/UsageDetailsListByMetricAmortizedCost.json @@ -53,6 +53,7 @@ } ] } - } + }, + "503": {} } } diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/UsageDetailsListByMetricUsage.json b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/UsageDetailsListByMetricUsage.json index 0102599e6290..82ea547e2d90 100644 --- a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/UsageDetailsListByMetricUsage.json +++ b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/UsageDetailsListByMetricUsage.json @@ -52,6 +52,7 @@ } ] } - } + }, + "503": {} } } diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/UsageDetailsListFilterByTag.json b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/UsageDetailsListFilterByTag.json index f92602754f97..abd83c67b1c6 100644 --- a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/UsageDetailsListFilterByTag.json +++ b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/UsageDetailsListFilterByTag.json @@ -51,6 +51,7 @@ } ] } - } + }, + "503": {} } } diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/UsageDetailsListForBillingPeriod.json b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/UsageDetailsListForBillingPeriod.json index 0c2a7f22050e..59c3e3d2ac85 100644 --- a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/UsageDetailsListForBillingPeriod.json +++ b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/UsageDetailsListForBillingPeriod.json @@ -51,6 +51,7 @@ } ] } - } + }, + "503": {} } } diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/UsageDetailsListForBillingPeriodByBillingAccount.json b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/UsageDetailsListForBillingPeriodByBillingAccount.json index 23370fddf66d..dc84d958dc75 100644 --- a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/UsageDetailsListForBillingPeriodByBillingAccount.json +++ b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/UsageDetailsListForBillingPeriodByBillingAccount.json @@ -51,6 +51,7 @@ } ] } - } + }, + "503": {} } } diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/UsageDetailsListForBillingPeriodByDepartment.json b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/UsageDetailsListForBillingPeriodByDepartment.json index b01c990c8d48..ad34b4d3f306 100644 --- a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/UsageDetailsListForBillingPeriodByDepartment.json +++ b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/UsageDetailsListForBillingPeriodByDepartment.json @@ -51,6 +51,7 @@ } ] } - } + }, + "503": {} } } diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/UsageDetailsListForBillingPeriodByEnrollmentAccount.json b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/UsageDetailsListForBillingPeriodByEnrollmentAccount.json index a86332bc4d64..4943dd48cd10 100644 --- a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/UsageDetailsListForBillingPeriodByEnrollmentAccount.json +++ b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/UsageDetailsListForBillingPeriodByEnrollmentAccount.json @@ -51,6 +51,7 @@ } ] } - } + }, + "503": {} } } diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/UsageDetailsListForBillingPeriodByManagementGroup.json b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/UsageDetailsListForBillingPeriodByManagementGroup.json index 0680b18d11a8..69558831fdbf 100644 --- a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/UsageDetailsListForBillingPeriodByManagementGroup.json +++ b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/UsageDetailsListForBillingPeriodByManagementGroup.json @@ -93,6 +93,7 @@ } ] } - } + }, + "503": {} } } From 7f67ae8f69b6928dc219da931a494c17209d0759 Mon Sep 17 00:00:00 2001 From: Mohammad Mohammad Date: Thu, 18 Feb 2021 17:09:36 -0500 Subject: [PATCH 5/9] fix spelling for productIdentifier description --- .../Microsoft.Consumption/stable/2019-10-01/consumption.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/consumption.json b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/consumption.json index e539dfe9501c..0187290d9e7b 100644 --- a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/consumption.json +++ b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/consumption.json @@ -2353,7 +2353,7 @@ "readOnly": true }, "productIdentifier": { - "description": "Identifer for the product that has accrued charges by consumption or purchase . This is the concatenated key of productId and SKuId in partner center.", + "description": "Identifer for the product that has accrued charges by consumption or purchase . This is the concatenated key of productId and SkuId in partner center.", "type": "string", "readOnly": true }, From d8d14f5646d33f2e0483f6f6c311c5db0414b1df Mon Sep 17 00:00:00 2001 From: Mohammad Mohammad Date: Thu, 18 Feb 2021 17:16:22 -0500 Subject: [PATCH 6/9] fix spell check in productIdentifier description in ModernUsageDetailProperties --- .../Microsoft.Consumption/stable/2019-10-01/consumption.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/consumption.json b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/consumption.json index 0187290d9e7b..6643d83dd8ae 100644 --- a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/consumption.json +++ b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/consumption.json @@ -2353,7 +2353,7 @@ "readOnly": true }, "productIdentifier": { - "description": "Identifer for the product that has accrued charges by consumption or purchase . This is the concatenated key of productId and SkuId in partner center.", + "description": "identifier for the product that has accrued charges by consumption or purchase . This is the concatenated key of productId and SKuId in partner center.", "type": "string", "readOnly": true }, From ce2543fb73ea2430e418e80971cf6cd17de8fd46 Mon Sep 17 00:00:00 2001 From: Mohammad Mohammad Date: Mon, 22 Feb 2021 16:41:06 -0500 Subject: [PATCH 7/9] reverting bad fixes for swagger validations --- .../Microsoft.Consumption/stable/2019-10-01/consumption.json | 5 ++--- .../stable/2019-10-01/examples/UsageDetailsExpand.json | 3 +-- .../stable/2019-10-01/examples/UsageDetailsList.json | 3 +-- .../examples/UsageDetailsListByBillingAccount.json | 3 +-- .../2019-10-01/examples/UsageDetailsListByDepartment.json | 3 +-- .../examples/UsageDetailsListByEnrollmentAccount.json | 3 +-- .../examples/UsageDetailsListByMCABillingAccount.json | 3 +-- .../examples/UsageDetailsListByMCABillingProfile.json | 3 +-- .../2019-10-01/examples/UsageDetailsListByMCACustomer.json | 3 +-- .../examples/UsageDetailsListByMCAInvoiceSection.json | 3 +-- .../examples/UsageDetailsListByManagementGroup.json | 3 +-- .../examples/UsageDetailsListByMetricActualCost.json | 3 +-- .../examples/UsageDetailsListByMetricAmortizedCost.json | 3 +-- .../2019-10-01/examples/UsageDetailsListByMetricUsage.json | 3 +-- .../2019-10-01/examples/UsageDetailsListFilterByTag.json | 3 +-- .../examples/UsageDetailsListForBillingPeriod.json | 3 +-- .../UsageDetailsListForBillingPeriodByBillingAccount.json | 3 +-- .../UsageDetailsListForBillingPeriodByDepartment.json | 3 +-- .../UsageDetailsListForBillingPeriodByEnrollmentAccount.json | 3 +-- .../UsageDetailsListForBillingPeriodByManagementGroup.json | 3 +-- 20 files changed, 21 insertions(+), 41 deletions(-) diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/consumption.json b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/consumption.json index 6643d83dd8ae..63a09b071d40 100644 --- a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/consumption.json +++ b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/consumption.json @@ -2156,9 +2156,8 @@ "readOnly": true }, "meterId": { - "description": "The meter id (GUID). Not available for marketplace. For reserved instance this represents the primary meter for which the reservation was purchased. For the actual VM Size for which the reservation is purchased see productOrderName.", + "description": "The meter id. Not available for marketplace. For reserved instance this represents the primary meter for which the reservation was purchased. For the actual VM Size for which the reservation is purchased see productOrderName.", "type": "string", - "format": "uuid", "readOnly": true }, "meterName": { @@ -2353,7 +2352,7 @@ "readOnly": true }, "productIdentifier": { - "description": "identifier for the product that has accrued charges by consumption or purchase . This is the concatenated key of productId and SKuId in partner center.", + "description": "Identifer for the product that has accrued charges by consumption or purchase . This is the concatenated key of productId and SKuId in partner center.", "type": "string", "readOnly": true }, diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/UsageDetailsExpand.json b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/UsageDetailsExpand.json index c3a46d0e1730..c6ec98666b6c 100644 --- a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/UsageDetailsExpand.json +++ b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/UsageDetailsExpand.json @@ -62,7 +62,6 @@ } ] } - }, - "503": {} + } } } diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/UsageDetailsList.json b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/UsageDetailsList.json index 0a55fc9e6964..3cf004f312c5 100644 --- a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/UsageDetailsList.json +++ b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/UsageDetailsList.json @@ -52,7 +52,6 @@ } ] } - }, - "503": {} + } } } diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/UsageDetailsListByBillingAccount.json b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/UsageDetailsListByBillingAccount.json index 25c400b36295..3f68c1ce0026 100644 --- a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/UsageDetailsListByBillingAccount.json +++ b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/UsageDetailsListByBillingAccount.json @@ -51,7 +51,6 @@ } ] } - }, - "503": {} + } } } diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/UsageDetailsListByDepartment.json b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/UsageDetailsListByDepartment.json index 895652f4b684..2bfc080688db 100644 --- a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/UsageDetailsListByDepartment.json +++ b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/UsageDetailsListByDepartment.json @@ -51,7 +51,6 @@ } ] } - }, - "503": {} + } } } diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/UsageDetailsListByEnrollmentAccount.json b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/UsageDetailsListByEnrollmentAccount.json index 9a0367160cd3..c80573d483a4 100644 --- a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/UsageDetailsListByEnrollmentAccount.json +++ b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/UsageDetailsListByEnrollmentAccount.json @@ -51,7 +51,6 @@ } ] } - }, - "503": {} + } } } diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/UsageDetailsListByMCABillingAccount.json b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/UsageDetailsListByMCABillingAccount.json index 002adc859686..cddefc406d0f 100644 --- a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/UsageDetailsListByMCABillingAccount.json +++ b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/UsageDetailsListByMCABillingAccount.json @@ -80,7 +80,6 @@ } ] } - }, - "503": {} + } } } diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/UsageDetailsListByMCABillingProfile.json b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/UsageDetailsListByMCABillingProfile.json index 30b84b705602..66506715f999 100644 --- a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/UsageDetailsListByMCABillingProfile.json +++ b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/UsageDetailsListByMCABillingProfile.json @@ -80,7 +80,6 @@ } ] } - }, - "503": {} + } } } diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/UsageDetailsListByMCACustomer.json b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/UsageDetailsListByMCACustomer.json index 6c736ca6befb..b76b2f52e19e 100644 --- a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/UsageDetailsListByMCACustomer.json +++ b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/UsageDetailsListByMCACustomer.json @@ -80,7 +80,6 @@ } ] } - }, - "503": {} + } } } diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/UsageDetailsListByMCAInvoiceSection.json b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/UsageDetailsListByMCAInvoiceSection.json index fa9ba7089c90..f1133b561e9c 100644 --- a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/UsageDetailsListByMCAInvoiceSection.json +++ b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/UsageDetailsListByMCAInvoiceSection.json @@ -80,7 +80,6 @@ } ] } - }, - "503": {} + } } } diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/UsageDetailsListByManagementGroup.json b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/UsageDetailsListByManagementGroup.json index 6d86d168aa44..af2e682ed82e 100644 --- a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/UsageDetailsListByManagementGroup.json +++ b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/UsageDetailsListByManagementGroup.json @@ -93,7 +93,6 @@ } ] } - }, - "503": {} + } } } diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/UsageDetailsListByMetricActualCost.json b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/UsageDetailsListByMetricActualCost.json index 1221b30bf56f..8f58c80235aa 100644 --- a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/UsageDetailsListByMetricActualCost.json +++ b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/UsageDetailsListByMetricActualCost.json @@ -52,7 +52,6 @@ } ] } - }, - "503": {} + } } } diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/UsageDetailsListByMetricAmortizedCost.json b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/UsageDetailsListByMetricAmortizedCost.json index 8598192fa21e..38e6df753735 100644 --- a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/UsageDetailsListByMetricAmortizedCost.json +++ b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/UsageDetailsListByMetricAmortizedCost.json @@ -53,7 +53,6 @@ } ] } - }, - "503": {} + } } } diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/UsageDetailsListByMetricUsage.json b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/UsageDetailsListByMetricUsage.json index 82ea547e2d90..0102599e6290 100644 --- a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/UsageDetailsListByMetricUsage.json +++ b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/UsageDetailsListByMetricUsage.json @@ -52,7 +52,6 @@ } ] } - }, - "503": {} + } } } diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/UsageDetailsListFilterByTag.json b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/UsageDetailsListFilterByTag.json index abd83c67b1c6..f92602754f97 100644 --- a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/UsageDetailsListFilterByTag.json +++ b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/UsageDetailsListFilterByTag.json @@ -51,7 +51,6 @@ } ] } - }, - "503": {} + } } } diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/UsageDetailsListForBillingPeriod.json b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/UsageDetailsListForBillingPeriod.json index 59c3e3d2ac85..0c2a7f22050e 100644 --- a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/UsageDetailsListForBillingPeriod.json +++ b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/UsageDetailsListForBillingPeriod.json @@ -51,7 +51,6 @@ } ] } - }, - "503": {} + } } } diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/UsageDetailsListForBillingPeriodByBillingAccount.json b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/UsageDetailsListForBillingPeriodByBillingAccount.json index dc84d958dc75..23370fddf66d 100644 --- a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/UsageDetailsListForBillingPeriodByBillingAccount.json +++ b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/UsageDetailsListForBillingPeriodByBillingAccount.json @@ -51,7 +51,6 @@ } ] } - }, - "503": {} + } } } diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/UsageDetailsListForBillingPeriodByDepartment.json b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/UsageDetailsListForBillingPeriodByDepartment.json index ad34b4d3f306..b01c990c8d48 100644 --- a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/UsageDetailsListForBillingPeriodByDepartment.json +++ b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/UsageDetailsListForBillingPeriodByDepartment.json @@ -51,7 +51,6 @@ } ] } - }, - "503": {} + } } } diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/UsageDetailsListForBillingPeriodByEnrollmentAccount.json b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/UsageDetailsListForBillingPeriodByEnrollmentAccount.json index 4943dd48cd10..a86332bc4d64 100644 --- a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/UsageDetailsListForBillingPeriodByEnrollmentAccount.json +++ b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/UsageDetailsListForBillingPeriodByEnrollmentAccount.json @@ -51,7 +51,6 @@ } ] } - }, - "503": {} + } } } diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/UsageDetailsListForBillingPeriodByManagementGroup.json b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/UsageDetailsListForBillingPeriodByManagementGroup.json index 69558831fdbf..0680b18d11a8 100644 --- a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/UsageDetailsListForBillingPeriodByManagementGroup.json +++ b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/UsageDetailsListForBillingPeriodByManagementGroup.json @@ -93,7 +93,6 @@ } ] } - }, - "503": {} + } } } From 0f4c857dfee0635216b257dbfdfc7f57a6c2cb20 Mon Sep 17 00:00:00 2001 From: Mohammad Mohammad Date: Mon, 22 Feb 2021 16:42:46 -0500 Subject: [PATCH 8/9] remove 503 as a separate status --- .../Microsoft.Consumption/stable/2019-10-01/consumption.json | 3 --- 1 file changed, 3 deletions(-) diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/consumption.json b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/consumption.json index 63a09b071d40..ef5f8ef13299 100644 --- a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/consumption.json +++ b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/consumption.json @@ -152,9 +152,6 @@ "$ref": "#/definitions/UsageDetailsListResult" } }, - "503": { - "description": "Server temporary unavailable" - }, "default": { "description": "Error response describing why the operation failed.", "schema": { From 96b8123aab536028980b8969df64408c64109d9e Mon Sep 17 00:00:00 2001 From: Mohammad Mohammad Date: Mon, 22 Feb 2021 16:44:59 -0500 Subject: [PATCH 9/9] fix typos and add uuid back (will be fixed in code) --- .../Microsoft.Consumption/stable/2019-10-01/consumption.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/consumption.json b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/consumption.json index ef5f8ef13299..2ac18accc18e 100644 --- a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/consumption.json +++ b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/consumption.json @@ -2153,7 +2153,7 @@ "readOnly": true }, "meterId": { - "description": "The meter id. Not available for marketplace. For reserved instance this represents the primary meter for which the reservation was purchased. For the actual VM Size for which the reservation is purchased see productOrderName.", + "description": "The meter id (GUID). Not available for marketplace. For reserved instance this represents the primary meter for which the reservation was purchased. For the actual VM Size for which the reservation is purchased see productOrderName.", "type": "string", "readOnly": true }, @@ -2349,7 +2349,7 @@ "readOnly": true }, "productIdentifier": { - "description": "Identifer for the product that has accrued charges by consumption or purchase . This is the concatenated key of productId and SKuId in partner center.", + "description": "Identifier for the product that has accrued charges by consumption or purchase . This is the concatenated key of productId and SkuId in partner center.", "type": "string", "readOnly": true },