Skip to main content

web_categories

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

Overview

Nameweb_categories
TypeResource
Idazure.network.web_categories

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringResource ID.
namestringResource name.
etagstringA unique read-only string that changes whenever the resource is updated.
groupstringThe name of the group that the category belongs to.
typestringResource type.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectname, subscription_id$expandGets the specified Azure Web Category.
list_by_subscriptionselectsubscription_idGets all the Azure Web Categories in a subscription.

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
namestringThe name of the azureWebCategory. Required.
subscription_idstring
$expandstringExpands resourceIds back referenced by the azureWebCategory resource. Default value is None.

SELECT examples

Gets the specified Azure Web Category.

SELECT
id,
name,
etag,
group,
type
FROM azure.network.web_categories
WHERE name = '{{ name }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
AND $expand = '{{ $expand }}'
;