MockableApiManagementSubscriptionResource.GetApiGatewaysAsync 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.
List all API Management gateways within a subscription.
- Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.ApiManagement/gateways
- Operation Id: ApiGateway_List
- Default Api Version: 2024-05-01
- Resource: ApiGatewayResource
public virtual Azure.AsyncPageable<Azure.ResourceManager.ApiManagement.ApiGatewayResource> GetApiGatewaysAsync(System.Threading.CancellationToken cancellationToken = default);
abstract member GetApiGatewaysAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.ApiManagement.ApiGatewayResource>
override this.GetApiGatewaysAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.ApiManagement.ApiGatewayResource>
Public Overridable Function GetApiGatewaysAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of ApiGatewayResource)
Parameters
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
An async collection of ApiGatewayResource that may take multiple service requests to iterate over.