Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DedicatedHost Reboot Feature #16737

Merged
Original file line number Diff line number Diff line change
Expand Up @@ -8113,6 +8113,60 @@
"final-state-via": "azure-async-operation"
}
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups/{hostGroupName}/hosts/{hostName}/reboot": {
vbhasker-msft marked this conversation as resolved.
Show resolved Hide resolved
"post": {
"tags": [
"DedicatedHost"
],
"operationId": "DedicatedHosts_Reboot",
"description": "Reboot the dedicated host. The operation will complete successfully once the dedicated host has booted and is running. For VM health after the reboot, please check the Resource Health Center in the Azure Portal.",
vbhasker-msft marked this conversation as resolved.
Show resolved Hide resolved
"parameters": [
{
"name": "resourceGroupName",
"in": "path",
"required": true,
"type": "string",
"description": "The name of the resource group."
},
{
"name": "hostGroupName",
"in": "path",
"required": true,
"type": "string",
"description": "The name of the dedicated host group."
},
{
"name": "hostName",
"in": "path",
"required": true,
"type": "string",
"description": "The name of the dedicated host."
},
{
"$ref": "#/parameters/ApiVersionParameter"
},
{
"$ref": "#/parameters/SubscriptionIdParameter"
}
],
"responses": {
"200": {
"description": "OK"
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "#/definitions/CloudError"
}
}
},
"x-ms-examples": {
"Reboot Dedicated Host.": {
"$ref": "./examples/compute/DedicatedHostReboot.json"
}
}
}
}
},
"definitions": {
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"parameters": {
"subscriptionId": "{subscription-id}",
"resourceGroupName": "myResourceGroup",
"api-version": "2021-07-01",
"hostGroupName": "myDedicatedHostGroup",
"hostName": "myHost"
},
"responses": {
"200": {
"description": "OK"
}
}
}