azure_traffic_collectors_by_subscription
Creates, updates, deletes, gets or lists an azure_traffic_collectors_by_subscription resource.
Overview
| Name | azure_traffic_collectors_by_subscription |
| Type | Resource |
| Id | azure.network_function.azure_traffic_collectors_by_subscription |
Fields
The following fields are returned by SELECT queries:
- list
| Name | Datatype | Description |
|---|---|---|
id | string | Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. |
name | string | The name of the resource. |
collectorPolicies | array | Collector Policies for Azure Traffic Collector. |
etag | string | A unique read-only string that changes whenever the resource is updated. |
location | string | Resource location. Required. |
provisioningState | string | The provisioning state of the application rule collection resource. Known values are: "Succeeded", "Updating", "Deleting", and "Failed". (Succeeded, Updating, Deleting, Failed) |
systemData | object | Azure Resource Manager metadata containing createdBy and modifiedBy information. |
tags | object | Resource tags. |
type | string | The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts". |
virtualHub | object | Resource reference properties. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list | select | subscription_id | Return list of Azure Traffic Collectors 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 |
|---|---|---|
subscription_id | string |
SELECT examples
- list
Return list of Azure Traffic Collectors in a subscription.
SELECT
id,
name,
collectorPolicies,
etag,
location,
provisioningState,
systemData,
tags,
type,
virtualHub
FROM azure.network_function.azure_traffic_collectors_by_subscription
WHERE subscription_id = '{{ subscription_id }}' -- required
;