共用方式為


BootDiagnostics Constructors

Definition

Overloads

BootDiagnostics()

Initializes a new instance of the BootDiagnostics class.

BootDiagnostics(Nullable<Boolean>, String)

Initializes a new instance of the BootDiagnostics class.

BootDiagnostics()

Initializes a new instance of the BootDiagnostics class.

public BootDiagnostics ();
Public Sub New ()

Applies to

BootDiagnostics(Nullable<Boolean>, String)

Initializes a new instance of the BootDiagnostics class.

public BootDiagnostics (bool? enabled = default, string storageUri = default);
new Microsoft.Azure.Management.Compute.Fluent.Models.BootDiagnostics : Nullable<bool> * string -> Microsoft.Azure.Management.Compute.Fluent.Models.BootDiagnostics
Public Sub New (Optional enabled As Nullable(Of Boolean) = Nothing, Optional storageUri As String = Nothing)

Parameters

enabled
Nullable<Boolean>

Whether boot diagnostics should be enabled on the Virtual Machine.

storageUri
String

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

Applies to