Share via


TenantAccessGitOperationsExtensions.RegeneratePrimaryKeyAsync Method

Definition

Regenerate primary access key for GIT.

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

Parameters

operations
ITenantAccessGitOperations

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