Udostępnij za pośrednictwem


IWithStorageAccount.WithNewStorageAccount Method

Definition

Overloads

WithNewStorageAccount(ICreatable<IStorageAccount>)

Specifies a new storage account for the OS and data disk VHDs of the virtual machines in the scale set.

WithNewStorageAccount(String)

Specifies a new storage account for the OS and data disk VHDs of the virtual machines in the scale set.

WithNewStorageAccount(ICreatable<IStorageAccount>)

Specifies a new storage account for the OS and data disk VHDs of the virtual machines in the scale set.

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

Parameters

creatable
ICreatable<IStorageAccount>

The storage account definition in a creatable stage.

Returns

Applies to

WithNewStorageAccount(String)

Specifies a new storage account for the OS and data disk VHDs of the virtual machines in the scale set.

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

Parameters

name
String

The name of the storage account.

Returns

Applies to