Share via


CognitiveServicesAccountsOperationsExtensions.RegenerateKeyAsync Method

Definition

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

Parameters

resourceGroupName
String
accountName
String
keyName
KeyName
cancellationToken
CancellationToken

Returns

Applies to