Compartilhar via


StorageAccountCredentialsOperationsExtensions.CreateOrUpdateAsync Método

Definição

Cria ou atualiza a credencial da conta de armazenamento.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.DataBoxEdge.Models.StorageAccountCredential> CreateOrUpdateAsync (this Microsoft.Azure.Management.DataBoxEdge.IStorageAccountCredentialsOperations operations, string deviceName, string name, Microsoft.Azure.Management.DataBoxEdge.Models.StorageAccountCredential storageAccountCredential, string resourceGroupName, System.Threading.CancellationToken cancellationToken = default);
static member CreateOrUpdateAsync : Microsoft.Azure.Management.DataBoxEdge.IStorageAccountCredentialsOperations * string * string * Microsoft.Azure.Management.DataBoxEdge.Models.StorageAccountCredential * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.DataBoxEdge.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)

Parâmetros

operations
IStorageAccountCredentialsOperations

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

deviceName
String

O nome do dispositivo.

name
String

O nome da credencial da conta de armazenamento.

storageAccountCredential
StorageAccountCredential

A credencial da conta de armazenamento.

resourceGroupName
String

O nome do grupo de recursos.

cancellationToken
CancellationToken

O token de cancelamento.

Retornos

Aplica-se a