다음을 통해 공유


ServiceAssociationLinksOperationsExtensions.ListAsync Method

Definition

Gets a list of service association links for a subnet.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Network.Models.ServiceAssociationLinksListResult> ListAsync (this Microsoft.Azure.Management.Network.IServiceAssociationLinksOperations operations, string resourceGroupName, string virtualNetworkName, string subnetName, System.Threading.CancellationToken cancellationToken = default);
static member ListAsync : Microsoft.Azure.Management.Network.IServiceAssociationLinksOperations * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Network.Models.ServiceAssociationLinksListResult>
<Extension()>
Public Function ListAsync (operations As IServiceAssociationLinksOperations, resourceGroupName As String, virtualNetworkName As String, subnetName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ServiceAssociationLinksListResult)

Parameters

operations
IServiceAssociationLinksOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group.

virtualNetworkName
String

The name of the virtual network.

subnetName
String

The name of the subnet.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to