Delen via


TenantAccessOperationsExtensions.RegenerateSecondaryKeyAsync Method

Definition

Regenerate secondary access key

public static System.Threading.Tasks.Task RegenerateSecondaryKeyAsync (this Microsoft.Azure.Management.ApiManagement.ITenantAccessOperations operations, string resourceGroupName, string serviceName, string accessName, System.Threading.CancellationToken cancellationToken = default);
static member RegenerateSecondaryKeyAsync : Microsoft.Azure.Management.ApiManagement.ITenantAccessOperations * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task
<Extension()>
Public Function RegenerateSecondaryKeyAsync (operations As ITenantAccessOperations, resourceGroupName As String, serviceName As String, accessName As String, Optional cancellationToken As CancellationToken = Nothing) As Task

Parameters

operations
ITenantAccessOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group.

serviceName
String

The name of the API Management service.

accessName
String

The identifier of the Access configuration. Possible values include: 'access', 'gitAccess'

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to