예제 #1
0
 /// <summary>
 /// Lists the collection of Certificate Authorities for the specified Gateway
 /// entity.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='resourceGroupName'>
 /// The name of the resource group.
 /// </param>
 /// <param name='serviceName'>
 /// The name of the API Management service.
 /// </param>
 /// <param name='gatewayId'>
 /// Gateway entity identifier. Must be unique in the current API Management
 /// service instance. Must not have value 'managed'
 /// </param>
 /// <param name='odataQuery'>
 /// OData parameters to apply to the operation.
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task <IPage <GatewayCertificateAuthorityContract> > ListByServiceAsync(this IGatewayCertificateAuthorityOperations operations, string resourceGroupName, string serviceName, string gatewayId, ODataQuery <GatewayCertificateAuthorityContract> odataQuery = default(ODataQuery <GatewayCertificateAuthorityContract>), CancellationToken cancellationToken = default(CancellationToken))
 {
     using (var _result = await operations.ListByServiceWithHttpMessagesAsync(resourceGroupName, serviceName, gatewayId, odataQuery, null, cancellationToken).ConfigureAwait(false))
     {
         return(_result.Body);
     }
 }