CmdID / az / az vm / az vm boot-diagnostics
az vm boot-diagnostics get-boot-log-uris
Get SAS URIs for a virtual machine's boot diagnostic Azure CLI reference
1 example 2 options Its page in the Azure CLI reference
Examples
Get SAS URIs for a virtual machine's boot diagnostic logs.
az vm boot-diagnostics get-boot-log-uris -g MyResourceGroup -n MyVirtualMachineIdentify-gName of resource group.-nThe name of the Virtual Machine.Options
--expireExpiration duration in minutes for the SAS URIs with a value between 1 to 1440 minutes.--name, -nThe name of the Virtual Machine.