Share via


SubnetResource.GetServiceAssociationLinksAsync(CancellationToken) Method

Definition

Gets a list of service association links for a subnet.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}/ServiceAssociationLinks
  • Operation Id: ServiceAssociationLinks_List
  • Default Api Version: 2024-03-01
public virtual Azure.AsyncPageable<Azure.ResourceManager.Network.Models.ServiceAssociationLink> GetServiceAssociationLinksAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetServiceAssociationLinksAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Network.Models.ServiceAssociationLink>
override this.GetServiceAssociationLinksAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Network.Models.ServiceAssociationLink>
Public Overridable Function GetServiceAssociationLinksAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of ServiceAssociationLink)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

An async collection of ServiceAssociationLink that may take multiple service requests to iterate over.

Applies to