CognitiveServicesAccountsOperationsExtensions.RegenerateKeyAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- operations
- ICognitiveServicesAccountsOperations
- resourceGroupName
- String
- accountName
- String
- keyName
- KeyName
- cancellationToken
- CancellationToken