Partager via


StorageAccountsOperationsExtensions.CreateOrUpdateAsync Méthode

Définition

Crée un storageAccount ou met à jour un StorageAccount existant sur l’appareil.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.DataBoxEdge.Models.StorageAccount> CreateOrUpdateAsync (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 CreateOrUpdateAsync : 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 CreateOrUpdateAsync (operations As IStorageAccountsOperations, deviceName As String, storageAccountName As String, storageAccount As StorageAccount, resourceGroupName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of StorageAccount)

Paramètres

operations
IStorageAccountsOperations

Groupe d’opérations pour cette méthode d’extension.

deviceName
String

Le nom de l'appareil.

storageAccountName
String

Nom StorageAccount.

storageAccount
StorageAccount

Propriétés StorageAccount.

resourceGroupName
String

Nom du groupe de ressources.

cancellationToken
CancellationToken

Jeton d'annulation.

Retours

S’applique à