Skip to content

Commit

Permalink
Add repairAction to auto repairs feature and update grace period to P…
Browse files Browse the repository at this point in the history
…T10M (#16535)
  • Loading branch information
frank-pang-msft authored Dec 16, 2021
1 parent 220cfd0 commit 082be99
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12064,7 +12064,11 @@
},
"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 minimum allowed grace period is 30 minutes (PT30M), which is also the default value. The maximum allowed grace period is 90 minutes (PT90M)."
"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 10 minutes (PT10M), which is also the default value. The maximum allowed grace period is 90 minutes (PT90M)."
},
"repairAction": {
"type": "string",
"description": "Type of repair action (replace, restart, reimage) that will be used for repairing unhealthy virtual machines in the scale set. Default value is replace."
}
},
"description": "Specifies the configuration parameters for automatic repairs on the virtual machine scale set."
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
},
"automaticRepairsPolicy": {
"enabled": true,
"gracePeriod": "PT30M"
"gracePeriod": "PT10M"
}
}
}
Expand Down Expand Up @@ -136,7 +136,7 @@
},
"automaticRepairsPolicy": {
"enabled": true,
"gracePeriod": "PT30M"
"gracePeriod": "PT10M"
},
"provisioningState": "Creating"
},
Expand Down Expand Up @@ -214,7 +214,7 @@
},
"automaticRepairsPolicy": {
"enabled": true,
"gracePeriod": "PT30M"
"gracePeriod": "PT10M"
},
"provisioningState": "Creating"
},
Expand Down

0 comments on commit 082be99

Please sign in to comment.