Compartilhar via


StorageAccountsOperationsExtensions.BeginCreateOrUpdateAsync Método

Definição

Cria uma nova StorageAccount ou atualiza uma StorageAccount existente no dispositivo.

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)

Parâmetros

operations
IStorageAccountsOperations

O grupo de operações para esse método de extensão.

deviceName
String

O nome do dispositivo.

storageAccountName
String

O nome StorageAccount.

storageAccount
StorageAccount

As propriedades StorageAccount.

resourceGroupName
String

O nome do grupo de recursos.

cancellationToken
CancellationToken

O token de cancelamento.

Retornos

Aplica-se a