ArmComputeModelFactory.BootDiagnostics(Nullable<Boolean>, Uri) Method

Definition

public static Azure.ResourceManager.Compute.Models.BootDiagnostics BootDiagnostics(bool? enabled = default, Uri storageUri = default);
static member BootDiagnostics : Nullable<bool> * Uri -> Azure.ResourceManager.Compute.Models.BootDiagnostics
Public Shared Function BootDiagnostics (Optional enabled As Nullable(Of Boolean) = Nothing, Optional storageUri As Uri = Nothing) As BootDiagnostics

Parameters

enabled
Nullable<Boolean>

Whether boot diagnostics should be enabled on the Virtual Machine.

storageUri
Uri

Uri of the storage account to use for placing the console output and screenshot. If storageUri is not specified while enabling boot diagnostics, managed storage will be used.

Returns

A new BootDiagnostics instance for mocking.

Applies to