Skip to main content

service_tag_information

Creates, updates, deletes, gets or lists a service_tag_information resource.

Overview

Nameservice_tag_information
TypeResource
Idazure.network.service_tag_information

Fields

The following fields are returned by SELECT queries:

Request successful. Returns a list of service tag information resources.

NameDatatypeDescription
idstringThe ID of service tag.
namestringThe name of service tag.
propertiesobjectProperties of the service tag information.
serviceTagChangeNumberstringThe iteration number of service tag object for region.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectlocation, subscriptionIdnoAddressPrefixes, tagNameGets a list of service tag information resources with pagination.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
locationstringThe 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).
subscriptionIdstring (uuid)The ID of the target subscription. The value must be an UUID.
noAddressPrefixesbooleanDo not return address prefixes for the tag(s).
tagNamestringReturn tag information for a particular tag.

SELECT examples

Gets a list of service tag information resources with pagination.

SELECT
id,
name,
properties,
serviceTagChangeNumber
FROM azure.network.service_tag_information
WHERE location = '{{ location }}' -- required
AND subscriptionId = '{{ subscriptionId }}' -- required
AND noAddressPrefixes = '{{ noAddressPrefixes }}'
AND tagName = '{{ tagName }}'
;