你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
StorageResources.CreateAccount(String, Nullable<Int32>) Method
Definition
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.
Create a new Azure Storage account.
public static Azure.Provisioning.Storage.StorageAccount CreateAccount (string resourceName, int? infrastructureVersion = 2);
static member CreateAccount : string * Nullable<int> -> Azure.Provisioning.Storage.StorageAccount
Public Shared Function CreateAccount (resourceName As String, Optional infrastructureVersion As Nullable(Of Integer) = 2) As StorageAccount
Parameters
- resourceName
- String
The friendly name of the Storage account that by default is used as a prefix for the Azure name.
Determines the version of the resource to create. It always defaults to the latest, but you can hard code it for long term stability.