web_categories
Creates, updates, deletes, gets or lists a web_categories resource.
Overview
| Name | web_categories |
| Type | Resource |
| Id | azure.network.web_categories |
Fields
The following fields are returned by SELECT queries:
- get
- list_by_subscription
| Name | Datatype | Description |
|---|---|---|
id | string | Resource ID. |
name | string | Resource name. |
etag | string | A unique read-only string that changes whenever the resource is updated. |
group | string | The name of the group that the category belongs to. |
type | string | Resource type. |
| Name | Datatype | Description |
|---|---|---|
id | string | Resource ID. |
name | string | Resource name. |
etag | string | A unique read-only string that changes whenever the resource is updated. |
group | string | The name of the group that the category belongs to. |
type | string | Resource type. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get | select | name, subscription_id | $expand | Gets the specified Azure Web Category. |
list_by_subscription | select | subscription_id | Gets 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.
| Name | Datatype | Description |
|---|---|---|
name | string | The name of the azureWebCategory. Required. |
subscription_id | string | |
$expand | string | Expands resourceIds back referenced by the azureWebCategory resource. Default value is None. |
SELECT examples
- get
- list_by_subscription
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 }}'
;
Gets all the Azure Web Categories in a subscription.
SELECT
id,
name,
etag,
group,
type
FROM azure.network.web_categories
WHERE subscription_id = '{{ subscription_id }}' -- required
;