From 694d754f4d43d867c94a4fec4d463306ca110950 Mon Sep 17 00:00:00 2001 From: Prathyusha Challa Date: Wed, 24 May 2023 11:27:09 -0700 Subject: [PATCH] Update Error Code to string --- .../preview/2023-04-01-preview/common-types.json | 3 +-- ...teDetailedCostReportOperationStatusBySubscriptionScope.json | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/specification/cost-management/resource-manager/Microsoft.CostManagement/preview/2023-04-01-preview/common-types.json b/specification/cost-management/resource-manager/Microsoft.CostManagement/preview/2023-04-01-preview/common-types.json index 5a53d4c8c527..df47a7be65ee 100644 --- a/specification/cost-management/resource-manager/Microsoft.CostManagement/preview/2023-04-01-preview/common-types.json +++ b/specification/cost-management/resource-manager/Microsoft.CostManagement/preview/2023-04-01-preview/common-types.json @@ -87,8 +87,7 @@ "properties": { "code": { "description": "Error code.", - "type": "integer", - "format": "int32", + "type": "string", "readOnly": true }, "message": { diff --git a/specification/cost-management/resource-manager/Microsoft.CostManagement/preview/2023-04-01-preview/examples/GenerateDetailedCostReportOperationStatusBySubscriptionScope.json b/specification/cost-management/resource-manager/Microsoft.CostManagement/preview/2023-04-01-preview/examples/GenerateDetailedCostReportOperationStatusBySubscriptionScope.json index 16fd79ebf724..3b87e6e80a34 100644 --- a/specification/cost-management/resource-manager/Microsoft.CostManagement/preview/2023-04-01-preview/examples/GenerateDetailedCostReportOperationStatusBySubscriptionScope.json +++ b/specification/cost-management/resource-manager/Microsoft.CostManagement/preview/2023-04-01-preview/examples/GenerateDetailedCostReportOperationStatusBySubscriptionScope.json @@ -16,7 +16,7 @@ "validTill": "2020-12-08T05:55:59.4394737Z" }, "error": { - "code": 0, + "code": "0", "message": null } }