From 32427467ad48b86dc87d39aca4f523eb3f268457 Mon Sep 17 00:00:00 2001 From: Alex Prosak Date: Tue, 2 May 2023 12:54:34 -0700 Subject: [PATCH 1/2] updating costdetailreport swaggers from recent changes to 2022-10-01 version --- .../costmanagement.generatedetailedcostreport.json | 8 ++++++++ ...ailedCostReportOperationStatusBySubscriptionScope.json | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/specification/cost-management/resource-manager/Microsoft.CostManagement/preview/2023-04-01-preview/costmanagement.generatedetailedcostreport.json b/specification/cost-management/resource-manager/Microsoft.CostManagement/preview/2023-04-01-preview/costmanagement.generatedetailedcostreport.json index de998041c8e3..2edfbe7ebca7 100644 --- a/specification/cost-management/resource-manager/Microsoft.CostManagement/preview/2023-04-01-preview/costmanagement.generatedetailedcostreport.json +++ b/specification/cost-management/resource-manager/Microsoft.CostManagement/preview/2023-04-01-preview/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/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 3b87e6e80a34..16fd79ebf724 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 } } From f6da4d11ea6f4d372b1a53dc1d24cb6ea380f4b3 Mon Sep 17 00:00:00 2001 From: Alex Prosak Date: Tue, 2 May 2023 12:55:08 -0700 Subject: [PATCH 2/2] suppressing invalid LintDiff errors --- specification/cost-management/resource-manager/readme.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/specification/cost-management/resource-manager/readme.md b/specification/cost-management/resource-manager/readme.md index 298f5d155570..5eb6de73b3f7 100644 --- a/specification/cost-management/resource-manager/readme.md +++ b/specification/cost-management/resource-manager/readme.md @@ -360,6 +360,12 @@ directive: - suppress: NoDuplicatePathsForScopeParameter from: costmanagement.budgets.json reason: 'Budgets_Get does not use an explicitly defined scope' + - suppress: ResourceMustReferenceCommonTypes + from: costmanagement.budgets.json + reason: 'Budget references CostManagementProxyResource, which references the common type ProxyResource' + - suppress: GetCollectionResponseSchema + from: common-types.json + reason: 'Operations does not contain a path for individual GET' ```