From db826022932b2eda864e95240da80491ef4e6f96 Mon Sep 17 00:00:00 2001 From: Gauri Prasad Date: Fri, 26 Jun 2020 09:34:46 -0700 Subject: [PATCH 1/3] Fixed Enum values --- .../Microsoft.BlobStorage/preview/2019-12-12/blob.json | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/specification/storage/data-plane/Microsoft.BlobStorage/preview/2019-12-12/blob.json b/specification/storage/data-plane/Microsoft.BlobStorage/preview/2019-12-12/blob.json index aaf18e861737..9c9f8fd472fb 100644 --- a/specification/storage/data-plane/Microsoft.BlobStorage/preview/2019-12-12/blob.json +++ b/specification/storage/data-plane/Microsoft.BlobStorage/preview/2019-12-12/blob.json @@ -2222,7 +2222,9 @@ "enum": [ "Storage", "BlobStorage", - "StorageV2" + "StorageV2", + "FileStorage", + "BlockBlobStorage" ], "x-ms-enum": { "name": "AccountKind", @@ -6470,7 +6472,9 @@ "enum": [ "Storage", "BlobStorage", - "StorageV2" + "StorageV2", + "FileStorage", + "BlockBlobStorage" ], "x-ms-enum": { "name": "AccountKind", @@ -10936,7 +10940,7 @@ ], "x-ms-enum": { "name": "RehydratePriority", - "modelAsString": true + "modelAsString": false }, "x-ms-parameter-location": "method", "description": "Optional: Indicates the priority with which to rehydrate an archived blob." From c9340054bfbda98163d4ef9ded19f682d00b1ecf Mon Sep 17 00:00:00 2001 From: Gauri Prasad Date: Fri, 26 Jun 2020 09:41:12 -0700 Subject: [PATCH 2/3] Changed enum string model to true --- .../Microsoft.BlobStorage/preview/2019-12-12/blob.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/specification/storage/data-plane/Microsoft.BlobStorage/preview/2019-12-12/blob.json b/specification/storage/data-plane/Microsoft.BlobStorage/preview/2019-12-12/blob.json index 9c9f8fd472fb..1ef33bcd423e 100644 --- a/specification/storage/data-plane/Microsoft.BlobStorage/preview/2019-12-12/blob.json +++ b/specification/storage/data-plane/Microsoft.BlobStorage/preview/2019-12-12/blob.json @@ -10599,7 +10599,7 @@ ], "x-ms-enum": { "name": "RehydratePriority", - "modelAsString": false + "modelAsString": true }, "xml": { "name": "RehydratePriority" @@ -10940,7 +10940,7 @@ ], "x-ms-enum": { "name": "RehydratePriority", - "modelAsString": false + "modelAsString": true }, "x-ms-parameter-location": "method", "description": "Optional: Indicates the priority with which to rehydrate an archived blob." From 54f28885a1d0395d9666d8b2dd98c9b280ffe510 Mon Sep 17 00:00:00 2001 From: Gauri Prasad Date: Fri, 26 Jun 2020 09:43:13 -0700 Subject: [PATCH 3/3] added account kind to other swaggers --- .../Microsoft.BlobStorage/preview/2019-02-02/blob.json | 8 ++++++-- .../Microsoft.BlobStorage/preview/2019-07-07/blob.json | 8 ++++++-- 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/specification/storage/data-plane/Microsoft.BlobStorage/preview/2019-02-02/blob.json b/specification/storage/data-plane/Microsoft.BlobStorage/preview/2019-02-02/blob.json index d52ce199c949..67bcd8d2ad0a 100644 --- a/specification/storage/data-plane/Microsoft.BlobStorage/preview/2019-02-02/blob.json +++ b/specification/storage/data-plane/Microsoft.BlobStorage/preview/2019-02-02/blob.json @@ -2039,7 +2039,9 @@ "enum": [ "Storage", "BlobStorage", - "StorageV2" + "StorageV2", + "FileStorage", + "BlockBlobStorage" ], "x-ms-enum": { "name": "AccountKind", @@ -5937,7 +5939,9 @@ "enum": [ "Storage", "BlobStorage", - "StorageV2" + "StorageV2", + "FileStorage", + "BlockBlobStorage" ], "x-ms-enum": { "name": "AccountKind", diff --git a/specification/storage/data-plane/Microsoft.BlobStorage/preview/2019-07-07/blob.json b/specification/storage/data-plane/Microsoft.BlobStorage/preview/2019-07-07/blob.json index a96a454079b9..aec171b0f857 100644 --- a/specification/storage/data-plane/Microsoft.BlobStorage/preview/2019-07-07/blob.json +++ b/specification/storage/data-plane/Microsoft.BlobStorage/preview/2019-07-07/blob.json @@ -2055,7 +2055,9 @@ "enum": [ "Storage", "BlobStorage", - "StorageV2" + "StorageV2", + "FileStorage", + "BlockBlobStorage" ], "x-ms-enum": { "name": "AccountKind", @@ -6003,7 +6005,9 @@ "enum": [ "Storage", "BlobStorage", - "StorageV2" + "StorageV2", + "FileStorage", + "BlockBlobStorage" ], "x-ms-enum": { "name": "AccountKind",