Condividi tramite


ApiIssueCommentOperationsExtensions.ListByServiceAsync Method

Definition

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

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

Parameters

operations
IApiIssueCommentOperations

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<IssueCommentContract>

OData parameters to apply to the operation.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to