ServiceGatewayResource.GetServices(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.Pageable<Azure.ResourceManager.Network.Models.ServiceGatewayService> GetServices(System.Threading.CancellationToken cancellationToken = default);
abstract member GetServices : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Network.Models.ServiceGatewayService>
override this.GetServices : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Network.Models.ServiceGatewayService>
Public Overridable Function GetServices (Optional cancellationToken As CancellationToken = Nothing) As Pageable(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