SubnetResource.GetServiceAssociationLinksAsync(CancellationToken) 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.
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.