Partager via


StorageAccountCredentialsOperationsExtensions.CreateOrUpdateAsync Méthode

Définition

Crée ou met à jour les informations d’identification du compte de stockage.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.EdgeGateway.Models.StorageAccountCredential> CreateOrUpdateAsync (this Microsoft.Azure.Management.EdgeGateway.IStorageAccountCredentialsOperations operations, string deviceName, string name, Microsoft.Azure.Management.EdgeGateway.Models.StorageAccountCredential storageAccountCredential, string resourceGroupName, System.Threading.CancellationToken cancellationToken = default);
static member CreateOrUpdateAsync : Microsoft.Azure.Management.EdgeGateway.IStorageAccountCredentialsOperations * string * string * Microsoft.Azure.Management.EdgeGateway.Models.StorageAccountCredential * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.EdgeGateway.Models.StorageAccountCredential>
<Extension()>
Public Function CreateOrUpdateAsync (operations As IStorageAccountCredentialsOperations, deviceName As String, name As String, storageAccountCredential As StorageAccountCredential, resourceGroupName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of StorageAccountCredential)

Paramètres

operations
IStorageAccountCredentialsOperations

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

deviceName
String

Le nom de l'appareil.

name
String

Nom des informations d’identification du compte de stockage.

storageAccountCredential
StorageAccountCredential

Informations d’identification du compte de stockage.

resourceGroupName
String

Nom du groupe de ressources.

cancellationToken
CancellationToken

Jeton d'annulation.

Retours

S’applique à