ServiceTagInformationOperationsExtensions.ListAsync Method

Definition

Gets a list of service tag information resources with pagination.

public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Network.Models.ServiceTagInformation>> ListAsync (this Microsoft.Azure.Management.Network.IServiceTagInformationOperations operations, string location, bool? noAddressPrefixes = default, string tagName = default, System.Threading.CancellationToken cancellationToken = default);
static member ListAsync : Microsoft.Azure.Management.Network.IServiceTagInformationOperations * string * Nullable<bool> * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Network.Models.ServiceTagInformation>>
<Extension()>
Public Function ListAsync (operations As IServiceTagInformationOperations, location As String, Optional noAddressPrefixes As Nullable(Of Boolean) = Nothing, Optional tagName As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPage(Of ServiceTagInformation))

Parameters

operations
IServiceTagInformationOperations

The operations group for this extension method.

location
String

The location that will be used as a reference for cloud (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).

noAddressPrefixes
Nullable<Boolean>

Do not return address prefixes for the tag(s).

tagName
String

Return tag information for a particular tag.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to