We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f4c9564 commit e00709fCopy full SHA for e00709f
src/ResourceManager/Compute/Commands.Compute/VirtualMachine/Operation/NewAzureVMCommand.cs
@@ -54,7 +54,7 @@ protected override void ProcessRecord()
54
55
if (this.VM.DiagnosticsProfile == null)
56
{
57
- var storageUri = GetStorageAccountForBootDiagnostics();
+ var storageUri = GetOrCreateStorageAccountForBootDiagnostics();
58
59
if (storageUri != null)
60
@@ -91,7 +91,7 @@ protected override void ProcessRecord()
91
});
92
}
93
94
- private Uri GetStorageAccountForBootDiagnostics()
+ private Uri GetOrCreateStorageAccountForBootDiagnostics()
95
96
var storageAccountName = GetStorageAccountNameFromStorageProfile();
97
var storageClient =
0 commit comments