Dela via


StorageAccountCredentialsOperationsExtensions.CreateOrUpdateAsync Method

Definition

Creates or updates the storage account credential.

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)

Parameters

operations
IStorageAccountCredentialsOperations

The operations group for this extension method.

deviceName
String

The device name.

name
String

The storage account credential name.

storageAccountCredential
StorageAccountCredential

The storage account credential.

resourceGroupName
String

The resource group name.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to