Partager via


StorageAccountsOperationsExtensions.RegenerateKeyAsync Method

Definition

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Storage.Version2017_10_01.Models.StorageAccountListKeysResult> RegenerateKeyAsync (this Microsoft.Azure.Management.Storage.Version2017_10_01.IStorageAccountsOperations operations, string resourceGroupName, string accountName, string keyName, System.Threading.CancellationToken cancellationToken = default);
static member RegenerateKeyAsync : Microsoft.Azure.Management.Storage.Version2017_10_01.IStorageAccountsOperations * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Storage.Version2017_10_01.Models.StorageAccountListKeysResult>
<Extension()>
Public Function RegenerateKeyAsync (operations As IStorageAccountsOperations, resourceGroupName As String, accountName As String, keyName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of StorageAccountListKeysResult)

Parameters

resourceGroupName
String
accountName
String
keyName
String
cancellationToken
CancellationToken

Returns

Applies to