StorageAccountCredentialsOperationsExtensions.CreateOrUpdateAsync Method

Definition

Creates or updates the storage account credential.

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)

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