From 0c21115ccacbbad11c4aa13a711e4990ebf07752 Mon Sep 17 00:00:00 2001 From: Bin Xu <xuubin@live.com> Date: Wed, 2 Nov 2022 15:54:31 +0800 Subject: [PATCH] Add autoIoScaling property in MySQL get/update payload (#21039) Co-authored-by: Bin Xu <bixu@microsoft.com> --- .../preview/2021-12-01-preview/FlexibleServers.json | 4 ++++ .../preview/2021-12-01-preview/examples/ServerGet.json | 1 + .../preview/2021-12-01-preview/examples/ServerUpdate.json | 6 ++++-- 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2021-12-01-preview/FlexibleServers.json b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2021-12-01-preview/FlexibleServers.json index 8ca575fad2a2..98cf386b354f 100644 --- a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2021-12-01-preview/FlexibleServers.json +++ b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2021-12-01-preview/FlexibleServers.json @@ -697,6 +697,10 @@ "type": "string", "readOnly": true, "description": "The sku name of the server storage." + }, + "autoIoScaling": { + "description": "Enable IO Auto Scaling or not.", + "$ref": "#/definitions/EnableStatusEnum" } }, "description": "Storage Profile properties of a server" diff --git a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2021-12-01-preview/examples/ServerGet.json b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2021-12-01-preview/examples/ServerGet.json index 4d2840f11f67..fd7a32a6a2e3 100644 --- a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2021-12-01-preview/examples/ServerGet.json +++ b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2021-12-01-preview/examples/ServerGet.json @@ -18,6 +18,7 @@ "storageSizeGB": 100, "iops": 600, "autoGrow": "Enabled", + "autoIoScaling": "Enabled", "storageSku": "Premium_LRS" }, "version": "5.7", diff --git a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2021-12-01-preview/examples/ServerUpdate.json b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2021-12-01-preview/examples/ServerUpdate.json index 052ba25c17a5..e5a353d70d38 100644 --- a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2021-12-01-preview/examples/ServerUpdate.json +++ b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2021-12-01-preview/examples/ServerUpdate.json @@ -9,7 +9,8 @@ "storage": { "storageSizeGB": 30, "iops": 200, - "autoGrow": "Disabled" + "autoGrow": "Disabled", + "autoIoScaling": "Disabled" } } } @@ -27,7 +28,8 @@ "storageSizeGB": 30, "iops": 200, "autoGrow": "Disabled", - "storageSku": "Premium_LRS" + "storageSku": "Premium_LRS", + "autoIoScaling": "Disabled" }, "version": "5.7", "state": "Ready",