ApiSchemaOperationsExtensions.ListByApiAsync(IApiSchemaOperations, String, String, String, CancellationToken) ApiSchemaOperationsExtensions.ListByApiAsync(IApiSchemaOperations, String, String, String, CancellationToken) Method

Definition

Get the schema configuration at the API level.

public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.ApiManagement.Models.SchemaContract>> ListByApiAsync (this Microsoft.Azure.Management.ApiManagement.IApiSchemaOperations operations, string resourceGroupName, string serviceName, string apiId, System.Threading.CancellationToken cancellationToken = null);
static member ListByApiAsync : Microsoft.Azure.Management.ApiManagement.IApiSchemaOperations * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.ApiManagement.Models.SchemaContract>>

Parameters

operations
IApiSchemaOperations IApiSchemaOperations

The operations group for this extension method.

resourceGroupName
String String

The name of the resource group.

serviceName
String String

The name of the API Management service.

apiId
String 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 CancellationToken

The cancellation token.

Returns

Task<Microsoft.Rest.Azure.IPage<SchemaContract>>

Applies to