From fd3f2751c9f910d368ff4cdfc6b8e8853d5c91c2 Mon Sep 17 00:00:00 2001 From: Jorge Chavez Nieto Date: Mon, 21 Dec 2020 13:49:04 -0800 Subject: [PATCH 1/3] Adding nextLink and previousLink to Tags endpoint properties --- .../stable/2019-10-01/consumption.json | 10 ++++++++++ .../stable/2019-10-01/examples/Tags.json | 4 +++- 2 files changed, 13 insertions(+), 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 2059f1b46751..5b427af38b9d 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 @@ -3786,6 +3786,16 @@ "type": "array", "items": { "$ref": "#/definitions/Tag" + }, + "nextLink": { + "description": "The link (url) to the next page of results.", + "type": "string", + "readOnly": true + }, + "previousLink": { + "description": "The link (url) to the previous page of results.", + "type": "string", + "readOnly": true } } } diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/Tags.json b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/Tags.json index cd875d621f06..55936052bddd 100644 --- a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/Tags.json +++ b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-10-01/examples/Tags.json @@ -40,7 +40,9 @@ { "key": "clusterName" } - ] + ], + "nextLink": "https://management.azure.com/providers/Microsoft.Billing/billingAccounts/{billingaccount-id}/providers/Microsoft.Consumption/tags/?$expand=properties/tags/value&api-version=2019-10-01&startDate=2020-12-01&endDate=2020-12-31&$top=1000&$skiptoken=AwAAAA%3D%3D", + "previousLink": "https://management.azure.com/providers/Microsoft.Billing/billingAccounts/{billingaccount-id}/providers/Microsoft.Consumption/tags/?$expand=properties/tags/value&api-version=2019-10-01&startDate=2020-12-01&endDate=2020-12-31&$top=1000&$skiptoken=AQAAAA%3D%3D" } } } From 16b6c1bef01b2a31bea2be3c42b075d9f4f62bf3 Mon Sep 17 00:00:00 2001 From: Jorge Chavez Nieto Date: Mon, 21 Dec 2020 16:03:53 -0800 Subject: [PATCH 2/3] moving properties out --- .../stable/2019-10-01/consumption.json | 22 +++++++++---------- 1 file changed, 11 insertions(+), 11 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 5b427af38b9d..43e8bf6febbf 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 @@ -3786,17 +3786,17 @@ "type": "array", "items": { "$ref": "#/definitions/Tag" - }, - "nextLink": { - "description": "The link (url) to the next page of results.", - "type": "string", - "readOnly": true - }, - "previousLink": { - "description": "The link (url) to the previous page of results.", - "type": "string", - "readOnly": true } + }, + "nextLink": { + "description": "The link (url) to the next page of results.", + "type": "string", + "readOnly": true + }, + "previousLink": { + "description": "The link (url) to the previous page of results.", + "type": "string", + "readOnly": true } } }, @@ -5375,4 +5375,4 @@ } } } -} +} \ No newline at end of file From 589590398be2356992f0715cd2ec1953e3126426 Mon Sep 17 00:00:00 2001 From: Jorge Chavez Nieto Date: Mon, 28 Dec 2020 10:43:59 -0800 Subject: [PATCH 3/3] prettier check fix --- .../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 43e8bf6febbf..2d5d4fd2dd05 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 @@ -5375,4 +5375,4 @@ } } } -} \ No newline at end of file +}