EmailTemplateOperationsExtensions.ListByServiceAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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>
- cancellationToken
- CancellationToken
The cancellation token.
Returns
Applies to
Azure SDK for .NET