Share via


ApiIssueAttachmentOperationsExtensions.ListByServiceAsync Method

Definition

Lists all attachments for the Issue associated with the specified API.

public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.ApiManagement.Models.IssueAttachmentContract>> ListByServiceAsync (this Microsoft.Azure.Management.ApiManagement.IApiIssueAttachmentOperations operations, string resourceGroupName, string serviceName, string apiId, string issueId, Microsoft.Rest.Azure.OData.ODataQuery<Microsoft.Azure.Management.ApiManagement.Models.IssueAttachmentContract> odataQuery = default, System.Threading.CancellationToken cancellationToken = default);
static member ListByServiceAsync : Microsoft.Azure.Management.ApiManagement.IApiIssueAttachmentOperations * string * string * string * string * Microsoft.Rest.Azure.OData.ODataQuery<Microsoft.Azure.Management.ApiManagement.Models.IssueAttachmentContract> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.ApiManagement.Models.IssueAttachmentContract>>
<Extension()>
Public Function ListByServiceAsync (operations As IApiIssueAttachmentOperations, resourceGroupName As String, serviceName As String, apiId As String, issueId As String, Optional odataQuery As ODataQuery(Of IssueAttachmentContract) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPage(Of IssueAttachmentContract))

Parameters

operations
IApiIssueAttachmentOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group.

serviceName
String

The name of the API Management service.

apiId
String

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

issueId
String

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

odataQuery
ODataQuery<IssueAttachmentContract>

OData parameters to apply to the operation.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to