StorageAccountsOperationsExtensions.BeginCreateOrUpdateAsync(IStorageAccountsOperations, String, String, StorageAccount, String, CancellationToken) Method

Definition

Creates a new StorageAccount or updates an existing StorageAccount on the device.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.DataBoxEdge.Models.StorageAccount> BeginCreateOrUpdateAsync (this Microsoft.Azure.Management.DataBoxEdge.IStorageAccountsOperations operations, string deviceName, string storageAccountName, Microsoft.Azure.Management.DataBoxEdge.Models.StorageAccount storageAccount, string resourceGroupName, System.Threading.CancellationToken cancellationToken = default);
static member BeginCreateOrUpdateAsync : Microsoft.Azure.Management.DataBoxEdge.IStorageAccountsOperations * string * string * Microsoft.Azure.Management.DataBoxEdge.Models.StorageAccount * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.DataBoxEdge.Models.StorageAccount>
<Extension()>
Public Function BeginCreateOrUpdateAsync (operations As IStorageAccountsOperations, deviceName As String, storageAccountName As String, storageAccount As StorageAccount, resourceGroupName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of StorageAccount)

Parameters

operations
IStorageAccountsOperations

The operations group for this extension method.

deviceName
System.String

The device name.

storageAccountName
System.String

The StorageAccount name.

storageAccount
StorageAccount

The StorageAccount properties.

resourceGroupName
System.String

The resource group name.

cancellationToken
System.Threading.CancellationToken

The cancellation token.

Returns

System.Threading.Tasks.Task<StorageAccount>

Applies to