Share via


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

IWithBootDiagnostics.WithBootDiagnostics 方法

定义

重载

WithBootDiagnostics()

指定需要在虚拟机中启用启动诊断。

WithBootDiagnostics(ICreatable<IStorageAccount>)

指定需要在虚拟机中启用启动诊断。

WithBootDiagnostics(IStorageAccount)

指定需要在虚拟机中启用启动诊断。

WithBootDiagnostics(String)

指定需要在虚拟机中启用启动诊断。

WithBootDiagnostics()

指定需要在虚拟机中启用启动诊断。

public Microsoft.Azure.Management.Compute.Fluent.VirtualMachine.Definition.IWithCreate WithBootDiagnostics ();
abstract member WithBootDiagnostics : unit -> Microsoft.Azure.Management.Compute.Fluent.VirtualMachine.Definition.IWithCreate
Public Function WithBootDiagnostics () As IWithCreate

返回

适用于

WithBootDiagnostics(ICreatable<IStorageAccount>)

指定需要在虚拟机中启用启动诊断。

public Microsoft.Azure.Management.Compute.Fluent.VirtualMachine.Definition.IWithCreate WithBootDiagnostics (Microsoft.Azure.Management.ResourceManager.Fluent.Core.ResourceActions.ICreatable<Microsoft.Azure.Management.Storage.Fluent.IStorageAccount> creatable);
abstract member WithBootDiagnostics : Microsoft.Azure.Management.ResourceManager.Fluent.Core.ResourceActions.ICreatable<Microsoft.Azure.Management.Storage.Fluent.IStorageAccount> -> Microsoft.Azure.Management.Compute.Fluent.VirtualMachine.Definition.IWithCreate
Public Function WithBootDiagnostics (creatable As ICreatable(Of IStorageAccount)) As IWithCreate

参数

creatable
ICreatable<IStorageAccount>

要创建并用于存储启动诊断的存储帐户。

返回

适用于

WithBootDiagnostics(IStorageAccount)

指定需要在虚拟机中启用启动诊断。

public Microsoft.Azure.Management.Compute.Fluent.VirtualMachine.Definition.IWithCreate WithBootDiagnostics (Microsoft.Azure.Management.Storage.Fluent.IStorageAccount storageAccount);
abstract member WithBootDiagnostics : Microsoft.Azure.Management.Storage.Fluent.IStorageAccount -> Microsoft.Azure.Management.Compute.Fluent.VirtualMachine.Definition.IWithCreate
Public Function WithBootDiagnostics (storageAccount As IStorageAccount) As IWithCreate

参数

storageAccount
IStorageAccount

用于存储启动诊断的现有存储帐户。

返回

适用于

WithBootDiagnostics(String)

指定需要在虚拟机中启用启动诊断。

public Microsoft.Azure.Management.Compute.Fluent.VirtualMachine.Definition.IWithCreate WithBootDiagnostics (string storageAccountBlobEndpointUri);
abstract member WithBootDiagnostics : string -> Microsoft.Azure.Management.Compute.Fluent.VirtualMachine.Definition.IWithCreate
Public Function WithBootDiagnostics (storageAccountBlobEndpointUri As String) As IWithCreate

参数

storageAccountBlobEndpointUri
String

用于存储启动诊断的存储帐户 Blob 终结点。

返回

适用于