ServiceGatewayResource.GetServicesAsync(CancellationToken) Method

Definition

Get Services in service gateway.

  • Request Path. : /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/serviceGateways/{serviceGatewayName}/services.
  • Operation Id. : ServiceGateways_GetServices.
  • Default Api Version. : 2025-07-01.
  • Resource. : ServiceGatewayResource.
public virtual Azure.AsyncPageable<Azure.ResourceManager.Network.Models.ServiceGatewayService> GetServicesAsync(System.Threading.CancellationToken cancellationToken = default);
abstract member GetServicesAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Network.Models.ServiceGatewayService>
override this.GetServicesAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Network.Models.ServiceGatewayService>
Public Overridable Function GetServicesAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of ServiceGatewayService)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

A collection of ServiceGatewayService that may take multiple service requests to iterate over.

Applies to