Condividi tramite


TenantAccessOperationsExtensions.CreateAsync Method

Definition

Update tenant access information details.

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

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.

parameters
AccessInformationCreateParameters

Parameters supplied to retrieve the Tenant Access Information.

accessName
String

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

ifMatch
String

ETag of the Entity. ETag should match the current entity state from the header response of the GET request or it should be * for unconditional update.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to