Merge pull request #2634 from tomconte/azure-bootdiags

Add Azure boot diagnostics
This commit is contained in:
Justin Cormack 2017-10-25 17:54:20 +02:00 committed by GitHub
commit 525a457bf5

View File

@ -415,6 +415,12 @@ func setVirtualMachineParameters(storageAccountName string, networkInterfaceID,
},
},
},
DiagnosticsProfile: &compute.DiagnosticsProfile{
BootDiagnostics: &compute.BootDiagnostics{
Enabled: to.BoolPtr(true),
StorageURI: to.StringPtr(fmt.Sprintf("https://%s.blob.core.windows.net", storageAccountName)),
},
},
},
}
}