Azure / azure-cli

Azure Command-Line Interface
MIT License
4.03k stars 3k forks source link

[Force deallocate] [CLI] To be part of regular deallocate operation in CLI #29808

Open Aarthi-Vijaya-raghavan opened 2 months ago

Aarthi-Vijaya-raghavan commented 2 months ago

Preconditions

Related command

No response

Resource Provider

microsoft.compute/virtual machines

Description of Feature or Work Requested

ASK: deallocate VM is a operation that is most commonly used when VMs is not accessible due to any kind of failure. Deallocate depends on underlying layers to be available to be successful.
With force deallocate customers will be able to deallocate their VM even during an outage. The ask is to provide force detach as one of the option along with regular deallocate.

Desing doc - https://microsoft.sharepoint.com/:w:/t/AzureIDC/AzureIDC_CRP/EX86dDdGWgdBsgo_yI6PuaEB3XGcDh-7Tm8rJT1NrQcqyA?e=3XnT5j

API: The development of the API is under progress with public preview planned in Nov 2024. GA in 2025 Q1.

Minimum API Version Required

NA

Swagger PR link / SDK link

Will share the swagger once API is deployed.

Request Example

No response

Target Date

2024-10-05

PM Contact

aarthiv@microsoft.com

Engineer Contact

asverma@microsoft.com

Additional context

No response

yonzhan commented 2 months ago

Thank you for opening this issue, we will look into it.

zhoxing-ms commented 2 months ago

@Aarthi-Vijaya-raghavan May I ask if this feature request is related to security? Please note that currently, due to the CLI team being busy with the security wave and prioritizing security in this semester, so all the feature requests unrelated to security will be postponed. cc PM @Jacekey23

Aarthi-Vijaya-raghavan commented 1 month ago

@zhoxing-ms the feature is not related to security but is related to resiliency. The feature improves the resiliency of the VMs by allowing customers to deallocate their VM due to any failures and recover them within the same region/zone.

zhoxing-ms commented 1 month ago

@Aarthi-Vijaya-raghavan Since security is still the no.1 top things to catch up within Azure. but CLI will be in continous planning manner. If things can be justify as highly customer impact. please send the justification and we'll take it into consideration.