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

IWithStorageAccount.WithNewStorageAccount 方法

定义

重载

WithNewStorageAccount(ICreatable<IStorageAccount>)

为规模集中虚拟机的 OS 和数据磁盘 VHD 指定新的存储帐户。

WithNewStorageAccount(String)

为规模集中虚拟机的 OS 和数据磁盘 VHD 指定新的存储帐户。

WithNewStorageAccount(ICreatable<IStorageAccount>)

为规模集中虚拟机的 OS 和数据磁盘 VHD 指定新的存储帐户。

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

参数

creatable
ICreatable<IStorageAccount>

可创建阶段中的存储帐户定义。

返回

适用于

WithNewStorageAccount(String)

为规模集中虚拟机的 OS 和数据磁盘 VHD 指定新的存储帐户。

public Microsoft.Azure.Management.Compute.Fluent.VirtualMachineScaleSet.Definition.IWithCreate WithNewStorageAccount (string name);
abstract member WithNewStorageAccount : string -> Microsoft.Azure.Management.Compute.Fluent.VirtualMachineScaleSet.Definition.IWithCreate
Public Function WithNewStorageAccount (name As String) As IWithCreate

参数

name
String

存储帐户的名称。

返回

适用于