MockableNetworkSubscriptionResource.GetAllServiceTagInformationAsync 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 tag information resources with pagination.
- Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/serviceTagDetails
- Operation Id: ServiceTagInformation_List
- Default Api Version: 2023-11-01
public virtual Azure.AsyncPageable<Azure.ResourceManager.Network.Models.ServiceTagInformation> GetAllServiceTagInformationAsync (Azure.Core.AzureLocation location, bool? noAddressPrefixes = default, string tagName = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllServiceTagInformationAsync : Azure.Core.AzureLocation * Nullable<bool> * string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Network.Models.ServiceTagInformation>
override this.GetAllServiceTagInformationAsync : Azure.Core.AzureLocation * Nullable<bool> * string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Network.Models.ServiceTagInformation>
Public Overridable Function GetAllServiceTagInformationAsync (location As AzureLocation, Optional noAddressPrefixes As Nullable(Of Boolean) = Nothing, Optional tagName As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of ServiceTagInformation)
Parameters
- location
- AzureLocation
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).
- tagName
- String
Return tag information for a particular tag.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
An async collection of ServiceTagInformation that may take multiple service requests to iterate over.
Applies to
Azure SDK for .NET