IWithStorageAccount.WithNewStorageAccount Method
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
WithNewStorageAccount(ICreatable<IStorageAccount>) |
Specifies the definition of a not-yet-created storage account to put the VM's OS and data disk VHDs into. Only the OS disk based on a marketplace image will be stored in the new storage account. An OS disk based on a user image will be stored in the same storage account as the user image. |
WithNewStorageAccount(String) |
Specifies the name of a new storage account to put the VM's OS and data disk VHD into. Only an OS disk based on a marketplace image will be stored in the new storage account. An OS disk based on a user image will be stored in the same storage account as the user image. |
Specifies the definition of a not-yet-created storage account to put the VM's OS and data disk VHDs into. Only the OS disk based on a marketplace image will be stored in the new storage account. An OS disk based on a user image will be stored in the same storage account as the user image.
public Microsoft.Azure.Management.Compute.Fluent.VirtualMachine.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.VirtualMachine.Definition.IWithCreate
Public Function WithNewStorageAccount (creatable As ICreatable(Of IStorageAccount)) As IWithCreate
Parameters
- creatable
- ICreatable<IStorageAccount>
A creatable storage account definition.
Returns
Applies to
Azure SDK for .NET Legacy
Продукт | Версії |
---|---|
Azure SDK for .NET | Legacy |
Specifies the name of a new storage account to put the VM's OS and data disk VHD into. Only an OS disk based on a marketplace image will be stored in the new storage account. An OS disk based on a user image will be stored in the same storage account as the user image.
public Microsoft.Azure.Management.Compute.Fluent.VirtualMachine.Definition.IWithCreate WithNewStorageAccount(string name);
abstract member WithNewStorageAccount : string -> Microsoft.Azure.Management.Compute.Fluent.VirtualMachine.Definition.IWithCreate
Public Function WithNewStorageAccount (name As String) As IWithCreate
Parameters
- name
- String
The name for a new storage account.
Returns
Applies to
Azure SDK for .NET Legacy
Продукт | Версії |
---|---|
Azure SDK for .NET | Legacy |
Відгук про Azure SDK for .NET
Azure SDK for .NET – це проект із відкритим кодом. Виберіть посилання, щоб надати відгук: