From 4c8669d410d648f60a31f3a61a56aaefbab3e967 Mon Sep 17 00:00:00 2001 From: Jayati Tehri <72947097+jayati-tehri@users.noreply.github.com> Date: Wed, 12 Apr 2023 18:52:42 -0700 Subject: [PATCH] Update costmanagement.generatedetailedcostreport.json (#23313) * Update costmanagement.generatedetailedcostreport.json * Fix in costmanagement common-types.json * Fixing example error code to Int in GenerateCostReport --------- Co-authored-by: Prathyusha Challa --- .../stable/2022-10-01/common-types.json | 3 ++- .../costmanagement.generatedetailedcostreport.json | 8 ++++++++ ...ailedCostReportOperationStatusBySubscriptionScope.json | 2 +- 3 files changed, 11 insertions(+), 2 deletions(-) diff --git a/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2022-10-01/common-types.json b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2022-10-01/common-types.json index ca418d191b1d..30c85e9d6eb9 100644 --- a/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2022-10-01/common-types.json +++ b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2022-10-01/common-types.json @@ -87,7 +87,8 @@ "properties": { "code": { "description": "Error code.", - "type": "string", + "type": "integer", + "format": "int32", "readOnly": true }, "message": { diff --git a/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2022-10-01/costmanagement.generatedetailedcostreport.json b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2022-10-01/costmanagement.generatedetailedcostreport.json index 9639a4010c44..d80d2e2d1888 100644 --- a/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2022-10-01/costmanagement.generatedetailedcostreport.json +++ b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2022-10-01/costmanagement.generatedetailedcostreport.json @@ -286,6 +286,14 @@ "description": "The status of the long running operation.", "$ref": "#/definitions/Status" }, + "startTime": { + "description": "The startTime of the operation.", + "type": "string" + }, + "endTime": { + "description": "The endTime of the operation.", + "type": "string" + }, "type": { "description": "The type of the long running operation.", "type": "string" diff --git a/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2022-10-01/examples/GenerateDetailedCostReportOperationStatusBySubscriptionScope.json b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2022-10-01/examples/GenerateDetailedCostReportOperationStatusBySubscriptionScope.json index aebba7db13f3..3c40802b76bf 100644 --- a/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2022-10-01/examples/GenerateDetailedCostReportOperationStatusBySubscriptionScope.json +++ b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2022-10-01/examples/GenerateDetailedCostReportOperationStatusBySubscriptionScope.json @@ -16,7 +16,7 @@ "validTill": "2020-12-08T05:55:59.4394737Z" }, "error": { - "code": "0", + "code": 0, "message": null } }