Azure / Azure/azure-rest-api-specs

Unalbe to set Storage_URI to null once enabled on boot_diagnostics on VM

Open
#2,994 10 comments 2 reactions 0 assignees View on GitHub
bug Compute Service Attention Service-team
Dominant language
TypeSpec
Stars
3.1k
Forks
5.9k
Avg merge
2d 22h
Merged PRs (30d)
444

Description

Here is the scenario,
1.User creates a VM with boot_diagnostics enabled
2.User disables boot_diagnostics and deletes the Storage Account.
3.When we send the following json blob in the VM payload we expect the server to update the Storage_URI to null.
"diagnosticsProfile": {
"bootDiagnostics": {
"enabled": false,
"storageUri": ""
}
},
4.Even though the boot_diagnostics is disabled, the storage_uri variable still has the old value which is returned to the user in the GET api. This is an issue and needs to be fixed.

Contributor guide

Open the contributing guide

Research direction

The issue identifies the VM payload's diagnosticsProfile.bootDiagnostics fields; start by tracing the REST API definition and update handling for enabled=false with an empty storageUri. Verify that after the Storage Account is deleted, the update response and subsequent GET no longer return the old storageUri value.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure, openapi
Domain
api
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.