Share via


ProductApiOperationsExtensions.CheckEntityExistsAsync Method

Definition

Checks that API entity specified by identifier is associated with the Product entity.

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

Parameters

operations
IProductApiOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group.

serviceName
String

The name of the API Management service.

productId
String

Product identifier. Must be unique in the current API Management service instance.

apiId
String

API revision identifier. Must be unique in the current API Management service instance. Non-current revision has ;rev=n as a suffix where n is the revision number.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to