NetworkExtensions.GetAllServiceTagInformation 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-09-01
public static Azure.Pageable<Azure.ResourceManager.Network.Models.ServiceTagInformation> GetAllServiceTagInformation (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, Azure.Core.AzureLocation location, bool? noAddressPrefixes = default, string tagName = default, System.Threading.CancellationToken cancellationToken = default);
static member GetAllServiceTagInformation : Azure.ResourceManager.Resources.SubscriptionResource * Azure.Core.AzureLocation * Nullable<bool> * string * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Network.Models.ServiceTagInformation>
<Extension()>
Public Function GetAllServiceTagInformation (subscriptionResource As SubscriptionResource, location As AzureLocation, Optional noAddressPrefixes As Nullable(Of Boolean) = Nothing, Optional tagName As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of ServiceTagInformation)
Parameters
- subscriptionResource
- SubscriptionResource
The SubscriptionResource instance the method will execute against.
- 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
A collection of ServiceTagInformation that may take multiple service requests to iterate over.
Exceptions
subscriptionResource
is null.
Applies to
Azure SDK for .NET
Saran dan Komentar
https://aka.ms/ContentUserFeedback.
Segera hadir: Sepanjang tahun 2024 kami akan menghentikan penggunaan GitHub Issues sebagai mekanisme umpan balik untuk konten dan menggantinya dengan sistem umpan balik baru. Untuk mengetahui informasi selengkapnya, lihat:Kirim dan lihat umpan balik untuk