From 6ecda64dcb393720f871a662e75e4acfec5373a6 Mon Sep 17 00:00:00 2001 From: Yuxing Zhou Date: Sat, 4 Jan 2020 02:25:35 +0800 Subject: [PATCH] [Azure Stack] Update fabric storage admin specs for new generation with autorest-beta (#8038) * update package version to 2019-05-01 * add top/skip parameter --- .../preview/2016-05-01/Fabric.json | 14 ++++++++++++++ .../preview/2016-05-01/FileShare.json | 6 ++++++ .../preview/2018-10-01/StorageSubSystem.json | 6 ++++++ .../preview/2019-05-01/Drive.json | 6 ++++++ .../preview/2019-05-01/Volume.json | 6 ++++++ .../resource-manager/fabric/readme.azsautogen.md | 8 +++----- .../azsadmin/resource-manager/fabric/readme.md | 2 +- 7 files changed, 42 insertions(+), 6 deletions(-) diff --git a/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/preview/2016-05-01/Fabric.json b/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/preview/2016-05-01/Fabric.json index c5f330cd75d5..4892ab4fcf57 100644 --- a/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/preview/2016-05-01/Fabric.json +++ b/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/preview/2016-05-01/Fabric.json @@ -191,6 +191,20 @@ "in": "query", "type": "string", "x-ms-parameter-location": "method" + }, + "TopParameter": { + "description": "OData top parameter.", + "name": "$top", + "in": "query", + "type": "string", + "x-ms-parameter-location": "method" + }, + "SkipParameter": { + "description": "OData skip parameter.", + "name": "$skip", + "in": "query", + "type": "string", + "x-ms-parameter-location": "method" } }, "securityDefinitions": { diff --git a/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/preview/2016-05-01/FileShare.json b/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/preview/2016-05-01/FileShare.json index 7726d7c276c8..5a99b2037a77 100644 --- a/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/preview/2016-05-01/FileShare.json +++ b/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/preview/2016-05-01/FileShare.json @@ -88,6 +88,12 @@ }, { "$ref": "Fabric.json#/parameters/FilterParameter" + }, + { + "$ref": "Fabric.json#/parameters/TopParameter" + }, + { + "$ref": "Fabric.json#/parameters/SkipParameter" } ], "responses": { diff --git a/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/preview/2018-10-01/StorageSubSystem.json b/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/preview/2018-10-01/StorageSubSystem.json index 5cbd44d07ee9..20dd46ceae88 100644 --- a/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/preview/2018-10-01/StorageSubSystem.json +++ b/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/preview/2018-10-01/StorageSubSystem.json @@ -91,6 +91,12 @@ }, { "$ref": "../2016-05-01/Fabric.json#/parameters/FilterParameter" + }, + { + "$ref": "../2016-05-01/Fabric.json#/parameters/TopParameter" + }, + { + "$ref": "../2016-05-01/Fabric.json#/parameters/SkipParameter" } ], "responses": { diff --git a/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/preview/2019-05-01/Drive.json b/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/preview/2019-05-01/Drive.json index a49309035b87..dc0c9da808f2 100644 --- a/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/preview/2019-05-01/Drive.json +++ b/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/preview/2019-05-01/Drive.json @@ -97,6 +97,12 @@ }, { "$ref": "../2016-05-01/Fabric.json#/parameters/FilterParameter" + }, + { + "$ref": "../2016-05-01/Fabric.json#/parameters/TopParameter" + }, + { + "$ref": "../2016-05-01/Fabric.json#/parameters/SkipParameter" } ], "responses": { diff --git a/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/preview/2019-05-01/Volume.json b/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/preview/2019-05-01/Volume.json index 316cfe034ae4..53c132086ac8 100644 --- a/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/preview/2019-05-01/Volume.json +++ b/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/preview/2019-05-01/Volume.json @@ -97,6 +97,12 @@ }, { "$ref": "../2016-05-01/Fabric.json#/parameters/FilterParameter" + }, + { + "$ref": "../2016-05-01/Fabric.json#/parameters/TopParameter" + }, + { + "$ref": "../2016-05-01/Fabric.json#/parameters/SkipParameter" } ], "responses": { diff --git a/specification/azsadmin/resource-manager/fabric/readme.azsautogen.md b/specification/azsadmin/resource-manager/fabric/readme.azsautogen.md index d2391674fccb..e302204ab546 100644 --- a/specification/azsadmin/resource-manager/fabric/readme.azsautogen.md +++ b/specification/azsadmin/resource-manager/fabric/readme.azsautogen.md @@ -24,7 +24,7 @@ These are the global settings for the Fabric API. title: FabricAdminClient description: Fabric Admin Client openapi-type: arm -tag: package-2018-05-01 +tag: package-2019-05-01 ``` ``` yaml @@ -40,8 +40,6 @@ input-file: - $(this-folder)/Microsoft.Fabric.Admin/preview/2016-05-01/InfraRoleInstance.json - $(this-folder)/Microsoft.Fabric.Admin/preview/2016-05-01/IpPool.json - $(this-folder)/Microsoft.Fabric.Admin/preview/2016-05-01/LogicalNetwork.json - - $(this-folder)/Microsoft.Fabric.Admin/preview/2016-05-01/StoragePool.json - - $(this-folder)/Microsoft.Fabric.Admin/preview/2016-05-01/StorageSystem.json - $(this-folder)/Microsoft.Fabric.Admin/preview/2016-05-01/LogicalSubnet.json - $(this-folder)/Microsoft.Fabric.Admin/preview/2016-05-01/MacAddressPool.json - $(this-folder)/Microsoft.Fabric.Admin/preview/2016-05-01/NetworkOperationResults.json @@ -49,9 +47,9 @@ input-file: - $(this-folder)/Microsoft.Fabric.Admin/preview/2016-05-01/ScaleUnitNode.json - $(this-folder)/Microsoft.Fabric.Admin/preview/2016-05-01/SlbMuxInstance.json - $(this-folder)/Microsoft.Fabric.Admin/preview/2016-05-01/StorageOperationResults.json - - $(this-folder)/Microsoft.Fabric.Admin/preview/2018-10-01/Drive.json - $(this-folder)/Microsoft.Fabric.Admin/preview/2018-10-01/StorageSubSystem.json - - $(this-folder)/Microsoft.Fabric.Admin/preview/2018-10-01/Volume.json + - $(this-folder)/Microsoft.Fabric.Admin/preview/2019-05-01/Drive.json + - $(this-folder)/Microsoft.Fabric.Admin/preview/2019-05-01/Volume.json ``` --- diff --git a/specification/azsadmin/resource-manager/fabric/readme.md b/specification/azsadmin/resource-manager/fabric/readme.md index 3f62494bde0a..948e78debd0d 100644 --- a/specification/azsadmin/resource-manager/fabric/readme.md +++ b/specification/azsadmin/resource-manager/fabric/readme.md @@ -24,7 +24,7 @@ These are the global settings for the Fabric API. title: FabricAdminClient description: Fabric Admin Client openapi-type: arm -tag: package-2016-05-01 +tag: package-2019-05-01 ``` ### Tag: package-2016-05-01