Azure / azure-powershell

Microsoft Azure PowerShell
Other
4.23k stars 3.84k forks source link

[Feature]: cmdlet for Deleting ARM cloud service VM #19730

Open eugeneogongo opened 2 years ago

eugeneogongo commented 2 years ago

Description of the new feature

Create a AzureCmd to delete virtual machines in ARM cloud service.

Proposed implementation details (optional)

No response

dingmeng-xue commented 2 years ago

@eugeneogongo , I cannot get your point. Can Remove-AzVM support your requirement?

ghost commented 2 years ago

Hi, we're sending this friendly reminder because we haven't heard back from you in a while. We need more information about this issue to help address it. Please be sure to give us your input within the next 7 days. If we don't hear back from you within 14 days of this comment the issue will be automatically closed. Thank you!

eugeneogongo commented 2 years ago

@dingmeng-xue Our team works with Azure Cloud Service Extended.

We are looking for a Azure cmdlet to delete a role when its state is unhealthy.

Currently, we use a post request to https://management.core.windows.net//services/hostedservices//deploymentslots//roleinstances/ https://learn.microsoft.com/en-us/rest/api/compute/cloudservices/rest-delete-role-instances

Hower, this now requests a client certificate to call the endpoint.