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

DedicatedHostReboot #20718

Closed
vbhasker-msft opened this issue Dec 13, 2021 · 5 comments · Fixed by #20923
Closed

DedicatedHostReboot #20718

vbhasker-msft opened this issue Dec 13, 2021 · 5 comments · Fixed by #20923
Assignees
Labels
Compute az vm/vmss/image/disk/snapshot feature-request

Comments

@vbhasker-msft
Copy link

vbhasker-msft commented Dec 13, 2021

Resource Provider

Microsoft.Compute

Description of Feature or Work Requested

The new API allows users to restart their dedicated host.

Minimum API Version Required

July 2021

Swagger Link

Swagger PR: Azure/azure-rest-api-specs#16737
SDK PR: Azure/azure-sdk-for-net#25258
Powershell Design: https://github.com/Azure/azure-powershell-cmdlet-review-pr/issues/1087

Target Date

January 2022

@ghost ghost added the needs-triage This is a new issue that needs to be triaged to the appropriate team. label Dec 13, 2021
@zhoxing-ms zhoxing-ms added the Compute az vm/vmss/image/disk/snapshot label Dec 14, 2021
@ghost ghost removed the needs-triage This is a new issue that needs to be triaged to the appropriate team. label Dec 14, 2021
@zhoxing-ms zhoxing-ms added feature-request needs-triage This is a new issue that needs to be triaged to the appropriate team. labels Dec 14, 2021
@ghost ghost removed the needs-triage This is a new issue that needs to be triaged to the appropriate team. label Dec 14, 2021
@zhoxing-ms zhoxing-ms self-assigned this Dec 14, 2021
@zhoxing-ms
Copy link
Contributor

@vbhasker-msft The new commands and parameters that CLI needs to support are designed as follows.

New command: az vm host restart
New parameters: --resource-group/g, --dedicated-host-group, --dedicated-host

Do you think this meet the expectations?

@zhoxing-ms zhoxing-ms added this to the Jan 2022 (2022-02-01) milestone Dec 14, 2021
@zhoxing-ms
Copy link
Contributor

zhoxing-ms commented Dec 14, 2021

@vbhasker-msft Sorry, the date of the milestone is wrong because it ignores the Chinese Spring Festival
Since we have arranged other projects this year, after which we will experience Christmas, New Year's day and Chinese Spring Festival holiday, so the release time of the next sprint is In early February (about 02-08), may I ask is this date acceptable?

@vbhasker-msft
Copy link
Author

vbhasker-msft commented Dec 22, 2021

@zhoxing-ms Yes, that date is acceptable for me.

Yep, those parameters are good.

@smotwani Is this acceptable?

@smotwani
Copy link

@zhoxing-ms Yes, that date is acceptable for me.

Yep, those parameters are good.

@smotwani Is this acceptable?

Yes, it is acceptable.

@Jing-song Jing-song self-assigned this Jan 7, 2022
@Jing-song
Copy link
Contributor

Hi, @vbhasker-msft , when I use az vm host restart, the service return (BadRequest) Operation 'restart' is not supported on the resource 'my-host', are there any restrictions on the host?

vm host info:
{
"autoReplaceOnFailure": true,
"hostId": "869e8e2d-5bd4-4cfc-a0d5-7da5064268e4",
"id": "/subscriptions/mysub/resourceGroups/myrg/Microsoft.Compute/hostGroups/my-host-group/hosts/my-host",
"instanceView": null,
"licenseType": null,
"location": "westus",
"name": "my-host",
"platformFaultDomain": 2,
"provisioningState": "Succeeded",
"provisioningTime": "2022-01-07T07:23:40.988401+00:00",
"resourceGroup": "myrg",
"sku": {
"capacity": null,
"name": "DSv3-Type1",
"tier": null
},
"tags": {
"foo": "bar"
},
"timeCreated": "2022-01-07T07:23:38.816516+00:00",
"type": "Microsoft.Compute/hostGroups/hosts",
"virtualMachines": [{
"id": "/subscriptions/mysub/resourceGroups/myrg/providers/Microsoft.Compute/virtualMachines/myvm",
"resourceGroup": "myrg"
}]
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Compute az vm/vmss/image/disk/snapshot feature-request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants