Share via


ServiceTagsOperationsExtensions.ListAsync Method

Definition

Gets a list of service tag information resources.

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

Parameters

operations
IServiceTagsOperations

The operations group for this extension method.

location
String

The location that will be used as a reference for version (not as a filter based on location, you will get the list of service tags with prefix details across all regions but limited to the cloud that your subscription belongs to).

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to