From 2fa4cc77660c9b6c256ac9ed95cb3c6d5f1511b2 Mon Sep 17 00:00:00 2001 From: Harini Pandari Date: Mon, 9 Dec 2019 14:38:44 -0800 Subject: [PATCH] Update description for grace period and remove property from Automatic repairs policy --- .../Microsoft.Compute/stable/2018-10-01/compute.json | 6 +----- .../examples/CreateAScaleSetWithAutomaticRepairs.json | 9 +++------ .../Microsoft.Compute/stable/2019-03-01/compute.json | 6 +----- .../examples/CreateAScaleSetWithAutomaticRepairs.json | 9 +++------ .../Microsoft.Compute/stable/2019-07-01/compute.json | 6 +----- .../examples/CreateAScaleSetWithAutomaticRepairs.json | 9 +++------ 6 files changed, 12 insertions(+), 33 deletions(-) diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-10-01/compute.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-10-01/compute.json index 9a43adb6f835..f793a723d513 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-10-01/compute.json +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-10-01/compute.json @@ -6087,11 +6087,7 @@ }, "gracePeriod": { "type": "string", - "description": "The amount of time for which automatic repairs are suspended due to a state change on VM. The grace time starts after the state change has completed. This helps avoid premature or accidental repairs. The time duration should be specified in ISO 8601 format. The default value is 5 minutes (PT5M)." - }, - "maxInstanceRepairsPercent": { - "type": "integer", - "description": "The percentage (capacity of scaleset) of virtual machines that will be simultaneously repaired. The default value is 20%." + "description": "The amount of time for which automatic repairs are suspended due to a state change on VM. The grace time starts after the state change has completed. This helps avoid premature or accidental repairs. The time duration should be specified in ISO 8601 format. The minimum allowed grace period is 30 minutes (PT30M), which is also the default value." } }, "description": "Specifies the configuration parameters for automatic repairs on the virtual machine scale set." diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-10-01/examples/CreateAScaleSetWithAutomaticRepairs.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-10-01/examples/CreateAScaleSetWithAutomaticRepairs.json index 3041b5e76774..8e8160513e48 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-10-01/examples/CreateAScaleSetWithAutomaticRepairs.json +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-10-01/examples/CreateAScaleSetWithAutomaticRepairs.json @@ -61,8 +61,7 @@ }, "automaticRepairsPolicy": { "enabled": true, - "gracePeriod": "PT3M", - "maxInstanceRepairsPercent": 100 + "gracePeriod": "PT30M" } } } @@ -137,8 +136,7 @@ }, "automaticRepairsPolicy": { "enabled": true, - "gracePeriod": "PT3M", - "maxInstanceRepairsPercent": 100 + "gracePeriod": "PT30M" }, "provisioningState": "Creating" }, @@ -216,8 +214,7 @@ }, "automaticRepairsPolicy": { "enabled": true, - "gracePeriod": "PT3M", - "maxInstanceRepairsPercent": 100 + "gracePeriod": "PT30M" }, "provisioningState": "Creating" }, diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/compute.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/compute.json index 5f2d800851f4..b57ab31c198a 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/compute.json +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/compute.json @@ -6989,11 +6989,7 @@ }, "gracePeriod": { "type": "string", - "description": "The amount of time for which automatic repairs are suspended due to a state change on VM. The grace time starts after the state change has completed. This helps avoid premature or accidental repairs. The time duration should be specified in ISO 8601 format. The default value is 5 minutes (PT5M)." - }, - "maxInstanceRepairsPercent": { - "type": "integer", - "description": "The percentage (capacity of scaleset) of virtual machines that will be simultaneously repaired. The default value is 20%." + "description": "The amount of time for which automatic repairs are suspended due to a state change on VM. The grace time starts after the state change has completed. This helps avoid premature or accidental repairs. The time duration should be specified in ISO 8601 format. The minimum allowed grace period is 30 minutes (PT30M), which is also the default value." } }, "description": "Specifies the configuration parameters for automatic repairs on the virtual machine scale set." diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/CreateAScaleSetWithAutomaticRepairs.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/CreateAScaleSetWithAutomaticRepairs.json index 99a8dbe41c9b..68aa07a0ea3b 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/CreateAScaleSetWithAutomaticRepairs.json +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/CreateAScaleSetWithAutomaticRepairs.json @@ -61,8 +61,7 @@ }, "automaticRepairsPolicy": { "enabled": true, - "gracePeriod": "PT3M", - "maxInstanceRepairsPercent": 100 + "gracePeriod": "PT30M" } } } @@ -137,8 +136,7 @@ }, "automaticRepairsPolicy": { "enabled": true, - "gracePeriod": "PT3M", - "maxInstanceRepairsPercent": 100 + "gracePeriod": "PT30M" }, "provisioningState": "Creating" }, @@ -216,8 +214,7 @@ }, "automaticRepairsPolicy": { "enabled": true, - "gracePeriod": "PT3M", - "maxInstanceRepairsPercent": 100 + "gracePeriod": "PT30M" }, "provisioningState": "Creating" }, diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/compute.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/compute.json index 27069e9ef9db..50afb79a8218 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/compute.json +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/compute.json @@ -7496,11 +7496,7 @@ }, "gracePeriod": { "type": "string", - "description": "The amount of time for which automatic repairs are suspended due to a state change on VM. The grace time starts after the state change has completed. This helps avoid premature or accidental repairs. The time duration should be specified in ISO 8601 format. The default value is 5 minutes (PT5M)." - }, - "maxInstanceRepairsPercent": { - "type": "integer", - "description": "The percentage (capacity of scaleset) of virtual machines that will be simultaneously repaired. The default value is 20%." + "description": "The amount of time for which automatic repairs are suspended due to a state change on VM. The grace time starts after the state change has completed. This helps avoid premature or accidental repairs. The time duration should be specified in ISO 8601 format. The minimum allowed grace period is 30 minutes (PT30M), which is also the default value." } }, "description": "Specifies the configuration parameters for automatic repairs on the virtual machine scale set." diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAScaleSetWithAutomaticRepairs.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAScaleSetWithAutomaticRepairs.json index 04db97b2889d..6791548f32e7 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAScaleSetWithAutomaticRepairs.json +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateAScaleSetWithAutomaticRepairs.json @@ -61,8 +61,7 @@ }, "automaticRepairsPolicy": { "enabled": true, - "gracePeriod": "PT3M", - "maxInstanceRepairsPercent": 100 + "gracePeriod": "PT30M" } } } @@ -137,8 +136,7 @@ }, "automaticRepairsPolicy": { "enabled": true, - "gracePeriod": "PT3M", - "maxInstanceRepairsPercent": 100 + "gracePeriod": "PT30M" }, "provisioningState": "Creating" }, @@ -216,8 +214,7 @@ }, "automaticRepairsPolicy": { "enabled": true, - "gracePeriod": "PT3M", - "maxInstanceRepairsPercent": 100 + "gracePeriod": "PT30M" }, "provisioningState": "Creating" },