Share via


StorageAccountOperationsExtensions.CreateAsync Method

Asynchronously creates a storage account.

Namespace: Microsoft.WindowsAzure.Management.Storage
Assembly: Microsoft.WindowsAzure.Management.Storage (in Microsoft.WindowsAzure.Management.Storage.dll)

Usage

'Usage
Dim operations As IStorageAccountOperations
Dim parameters As StorageAccountCreateParameters
Dim returnValue As Task(Of OperationStatusResponse)

returnValue = StorageAccountOperationsExtensions.CreateAsync(operations, parameters)

Syntax

'Declaration
<ExtensionAttribute> _
Public Shared Function CreateAsync ( _
    operations As IStorageAccountOperations, _
    parameters As StorageAccountCreateParameters _
) As Task(Of OperationStatusResponse)
[ExtensionAttribute] 
public static Task<OperationStatusResponse> CreateAsync (
    IStorageAccountOperations operations,
    StorageAccountCreateParameters parameters
)
[ExtensionAttribute] 
public:
static Task<OperationStatusResponse^>^ CreateAsync (
    IStorageAccountOperations^ operations, 
    StorageAccountCreateParameters^ parameters
)
/** @attribute ExtensionAttribute() */ 
public static Task<OperationStatusResponse> CreateAsync (
    IStorageAccountOperations operations, 
    StorageAccountCreateParameters parameters
)
ExtensionAttribute 
public static function CreateAsync (
    operations : IStorageAccountOperations, 
    parameters : StorageAccountCreateParameters
) : Task<OperationStatusResponse>

Parameters

Return Value

The StorageOperationStatusResponse object that contains the status of the operation.

Remarks

For more information about creating a storage account, see the following resources:

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Vista, Windows 7, Windows Server 2008, Windows 8.1, Windows Server 2012 R2, Windows 8 and Windows Server 2012

Target Platforms

See Also

Reference

StorageAccountOperationsExtensions Class
StorageAccountOperationsExtensions Members
Microsoft.WindowsAzure.Management.Storage Namespace