Add Azure boot diagnostics

Signed-off-by: Thomas Conte <thomas@conte.com>
This commit is contained in:
Thomas Conte 2017-10-24 13:16:23 +00:00
parent c7c06541a7
commit b80182d339

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)),
},
},
},
}
}