Skip to main content

azure_traffic_collectors_by_resource_group

Creates, updates, deletes, gets or lists an azure_traffic_collectors_by_resource_group resource.

Overview

Nameazure_traffic_collectors_by_resource_group
TypeResource
Idazure.network_function.azure_traffic_collectors_by_resource_group

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringFully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.
namestringThe name of the resource.
collectorPoliciesarrayCollector Policies for Azure Traffic Collector.
etagstringA unique read-only string that changes whenever the resource is updated.
locationstringResource location. Required.
provisioningStatestringThe provisioning state of the application rule collection resource. Known values are: "Succeeded", "Updating", "Deleting", and "Failed". (Succeeded, Updating, Deleting, Failed)
systemDataobjectAzure Resource Manager metadata containing createdBy and modifiedBy information.
tagsobjectResource tags.
typestringThe type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".
virtualHubobjectResource reference properties.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectresource_group_name, subscription_idReturn list of Azure Traffic Collectors in a Resource Group.

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
resource_group_namestringThe name of the resource group. The name is case insensitive. Required.
subscription_idstring

SELECT examples

Return list of Azure Traffic Collectors in a Resource Group.

SELECT
id,
name,
collectorPolicies,
etag,
location,
provisioningState,
systemData,
tags,
type,
virtualHub
FROM azure.network_function.azure_traffic_collectors_by_resource_group
WHERE resource_group_name = '{{ resource_group_name }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;