You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
az feedback auto-generates most of the information requested below, as of CLI version 2.0.62
Describe the bug
We can’t get the option “—nic-delete-option” to work. Have tried several things:
• --nic-delete-option Delete
• --nic-delete-option 0=Delete
• etc.
To Reproduce
The command I’m running from a cloud shell is: $ az vm create --nic-delete-option 0=Delete --resource-group DeleteMe --name vmNicDelete --image UbuntuLTS
The error is always: {"code":"DeploymentFailed","message":"At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/DeployOperations for usage details.","details":[{"code":"InvalidJson","message":"Unexpected token StartArray when parsing enum. Path 'properties.deleteOption', line 1, position 424."}]}
Expected behavior
Environment summary
Additional context
The text was updated successfully, but these errors were encountered:
ghost
added
the
needs-triage
This is a new issue that needs to be triaged to the appropriate team.
label
Sep 17, 2021
…e-option` not working when no `--nics` is provided. (#19861)
* nic-delete-option is a list by default, also add InvalidArgumentValueError when specifying individual delete option and nics are not provided
* move validator to separate function, fix lint
* lint
Describe the bug
We can’t get the option “—nic-delete-option” to work. Have tried several things:
• --nic-delete-option Delete
• --nic-delete-option 0=Delete
• etc.
To Reproduce
The command I’m running from a cloud shell is: $ az vm create --nic-delete-option 0=Delete --resource-group DeleteMe --name vmNicDelete --image UbuntuLTS
The error is always: {"code":"DeploymentFailed","message":"At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/DeployOperations for usage details.","details":[{"code":"InvalidJson","message":"Unexpected token StartArray when parsing enum. Path 'properties.deleteOption', line 1, position 424."}]}
Expected behavior
Environment summary
Additional context
The text was updated successfully, but these errors were encountered: