/// <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> public static IPage <GatewayCertificateAuthorityContract> ListByService(this IGatewayCertificateAuthorityOperations operations, string resourceGroupName, string serviceName, string gatewayId, ODataQuery <GatewayCertificateAuthorityContract> odataQuery = default(ODataQuery <GatewayCertificateAuthorityContract>)) { return(operations.ListByServiceAsync(resourceGroupName, serviceName, gatewayId, odataQuery).GetAwaiter().GetResult()); }