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.
Returns
Applies to
Zusammenarbeit auf GitHub
Die Quelle für diesen Inhalt finden Sie auf GitHub, wo Sie auch Issues und Pull Requests erstellen und überprüfen können. Weitere Informationen finden Sie in unserem Leitfaden für Mitwirkende.
Azure SDK for .NET