Skip to main content

service_tags

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

Overview

Nameservice_tags
TypeResource
Idazure.network.service_tags

Fields

The following fields are returned by SELECT queries:

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

NameDatatypeDescription
idstringThe ID of the cloud.
namestringThe name of the cloud.
changeNumberstringThe iteration number.
cloudstringThe name of the cloud.
nextLinkstringThe URL to get next page of service tag information resources.
typestringThe azure resource type.
valuesarrayThe list of service tag information resources.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectlocation, subscriptionIdGets a list of service tag information resources.

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 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).
subscriptionIdstring (uuid)The ID of the target subscription. The value must be an UUID.

SELECT examples

Gets a list of service tag information resources.

SELECT
id,
name,
changeNumber,
cloud,
nextLink,
type,
values
FROM azure.network.service_tags
WHERE location = '{{ location }}' -- required
AND subscriptionId = '{{ subscriptionId }}' -- required
;