共用方式為


StorageAccountsOperationsExtensions.BeginCreateOrUpdateAsync 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
String

The device name.

storageAccountName
String

The StorageAccount name.

storageAccount
StorageAccount

The StorageAccount properties.

resourceGroupName
String

The resource group name.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to