Share via


EmailTemplateOperationsExtensions.ListByServiceAsync Method

Definition

Gets all email templates

public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.ApiManagement.Models.EmailTemplateContract>> ListByServiceAsync (this Microsoft.Azure.Management.ApiManagement.IEmailTemplateOperations operations, string resourceGroupName, string serviceName, string filter = default, int? top = default, int? skip = default, System.Threading.CancellationToken cancellationToken = default);
static member ListByServiceAsync : Microsoft.Azure.Management.ApiManagement.IEmailTemplateOperations * string * string * string * Nullable<int> * Nullable<int> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.ApiManagement.Models.EmailTemplateContract>>
<Extension()>
Public Function ListByServiceAsync (operations As IEmailTemplateOperations, resourceGroupName As String, serviceName As String, Optional filter As String = Nothing, Optional top As Nullable(Of Integer) = Nothing, Optional skip As Nullable(Of Integer) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPage(Of EmailTemplateContract))

Parameters

operations
IEmailTemplateOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group.

serviceName
String

The name of the API Management service.

filter
String

| Field | Usage | Supported operators | Supported functions |</br>|-------------|-------------|-------------|-------------|</br>| name | filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |</br>

top
Nullable<Int32>

Number of records to return.

skip
Nullable<Int32>

Number of records to skip.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to