ServiceGatewayResource.GetAddressLocationsAsync(CancellationToken) Method

Definition

Get address locations in service gateway.

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

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to