Sdílet prostřednictvím


TenantAccessOperationsExtensions.RegeneratePrimaryKeyAsync Method

Definition

Regenerate primary access key

public static System.Threading.Tasks.Task RegeneratePrimaryKeyAsync (this Microsoft.Azure.Management.ApiManagement.ITenantAccessOperations operations, string resourceGroupName, string serviceName, string accessName, System.Threading.CancellationToken cancellationToken = default);
static member RegeneratePrimaryKeyAsync : Microsoft.Azure.Management.ApiManagement.ITenantAccessOperations * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task
<Extension()>
Public Function RegeneratePrimaryKeyAsync (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