你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

DiagnosticsProfile 构造函数

定义

重载

DiagnosticsProfile()

初始化 DiagnosticsProfile 类的新实例。

DiagnosticsProfile(BootDiagnostics)

初始化 DiagnosticsProfile 类的新实例。

DiagnosticsProfile()

初始化 DiagnosticsProfile 类的新实例。

public DiagnosticsProfile ();
Public Sub New ()

适用于

DiagnosticsProfile(BootDiagnostics)

初始化 DiagnosticsProfile 类的新实例。

public DiagnosticsProfile (Microsoft.Azure.Management.Compute.Models.BootDiagnostics bootDiagnostics = default);
new Microsoft.Azure.Management.Compute.Models.DiagnosticsProfile : Microsoft.Azure.Management.Compute.Models.BootDiagnostics -> Microsoft.Azure.Management.Compute.Models.DiagnosticsProfile
Public Sub New (Optional bootDiagnostics As BootDiagnostics = Nothing)

参数

bootDiagnostics
BootDiagnostics

启动诊断是一项调试功能,可用于查看控制台输出和屏幕截图以诊断 VM 状态。 注意:如果指定 storageUri,请确保存储帐户与 VM 位于同一区域和订阅中。 可以轻松查看控制台日志的输出。 Azure 还使你能够查看虚拟机监控程序中 VM 的屏幕截图。

适用于