1. Packages
  2. Azure Native
  3. API Docs
  4. networkfunction
  5. getAzureTrafficCollector
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Viewing docs for Azure Native v3.16.0
published on Friday, Mar 20, 2026 by Pulumi
azure-native logo
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Viewing docs for Azure Native v3.16.0
published on Friday, Mar 20, 2026 by Pulumi

    Gets the specified Azure Traffic Collector in a specified resource group

    Uses Azure REST API version 2022-11-01.

    Using getAzureTrafficCollector

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getAzureTrafficCollector(args: GetAzureTrafficCollectorArgs, opts?: InvokeOptions): Promise<GetAzureTrafficCollectorResult>
    function getAzureTrafficCollectorOutput(args: GetAzureTrafficCollectorOutputArgs, opts?: InvokeOptions): Output<GetAzureTrafficCollectorResult>
    def get_azure_traffic_collector(azure_traffic_collector_name: Optional[str] = None,
                                    resource_group_name: Optional[str] = None,
                                    opts: Optional[InvokeOptions] = None) -> GetAzureTrafficCollectorResult
    def get_azure_traffic_collector_output(azure_traffic_collector_name: Optional[pulumi.Input[str]] = None,
                                    resource_group_name: Optional[pulumi.Input[str]] = None,
                                    opts: Optional[InvokeOptions] = None) -> Output[GetAzureTrafficCollectorResult]
    func LookupAzureTrafficCollector(ctx *Context, args *LookupAzureTrafficCollectorArgs, opts ...InvokeOption) (*LookupAzureTrafficCollectorResult, error)
    func LookupAzureTrafficCollectorOutput(ctx *Context, args *LookupAzureTrafficCollectorOutputArgs, opts ...InvokeOption) LookupAzureTrafficCollectorResultOutput

    > Note: This function is named LookupAzureTrafficCollector in the Go SDK.

    public static class GetAzureTrafficCollector 
    {
        public static Task<GetAzureTrafficCollectorResult> InvokeAsync(GetAzureTrafficCollectorArgs args, InvokeOptions? opts = null)
        public static Output<GetAzureTrafficCollectorResult> Invoke(GetAzureTrafficCollectorInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetAzureTrafficCollectorResult> getAzureTrafficCollector(GetAzureTrafficCollectorArgs args, InvokeOptions options)
    public static Output<GetAzureTrafficCollectorResult> getAzureTrafficCollector(GetAzureTrafficCollectorArgs args, InvokeOptions options)
    
    fn::invoke:
      function: azure-native:networkfunction:getAzureTrafficCollector
      arguments:
        # arguments dictionary

    The following arguments are supported:

    AzureTrafficCollectorName string
    Azure Traffic Collector name
    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    AzureTrafficCollectorName string
    Azure Traffic Collector name
    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    azureTrafficCollectorName String
    Azure Traffic Collector name
    resourceGroupName String
    The name of the resource group. The name is case insensitive.
    azureTrafficCollectorName string
    Azure Traffic Collector name
    resourceGroupName string
    The name of the resource group. The name is case insensitive.
    azure_traffic_collector_name str
    Azure Traffic Collector name
    resource_group_name str
    The name of the resource group. The name is case insensitive.
    azureTrafficCollectorName String
    Azure Traffic Collector name
    resourceGroupName String
    The name of the resource group. The name is case insensitive.

    getAzureTrafficCollector Result

    The following output properties are available:

    AzureApiVersion string
    The Azure API version of the resource.
    CollectorPolicies List<Pulumi.AzureNative.NetworkFunction.Outputs.ResourceReferenceResponse>
    Collector Policies for Azure Traffic Collector.
    Etag string
    A unique read-only string that changes whenever the resource is updated.
    Id string
    Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
    Location string
    Resource location.
    Name string
    The name of the resource
    ProvisioningState string
    The provisioning state of the application rule collection resource.
    SystemData Pulumi.AzureNative.NetworkFunction.Outputs.SystemDataResponse
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    Type string
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    Tags Dictionary<string, string>
    Resource tags.
    VirtualHub Pulumi.AzureNative.NetworkFunction.Outputs.ResourceReferenceResponse
    The virtualHub to which the Azure Traffic Collector belongs.
    AzureApiVersion string
    The Azure API version of the resource.
    CollectorPolicies []ResourceReferenceResponse
    Collector Policies for Azure Traffic Collector.
    Etag string
    A unique read-only string that changes whenever the resource is updated.
    Id string
    Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
    Location string
    Resource location.
    Name string
    The name of the resource
    ProvisioningState string
    The provisioning state of the application rule collection resource.
    SystemData SystemDataResponse
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    Type string
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    Tags map[string]string
    Resource tags.
    VirtualHub ResourceReferenceResponse
    The virtualHub to which the Azure Traffic Collector belongs.
    azureApiVersion String
    The Azure API version of the resource.
    collectorPolicies List<ResourceReferenceResponse>
    Collector Policies for Azure Traffic Collector.
    etag String
    A unique read-only string that changes whenever the resource is updated.
    id String
    Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
    location String
    Resource location.
    name String
    The name of the resource
    provisioningState String
    The provisioning state of the application rule collection resource.
    systemData SystemDataResponse
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    type String
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    tags Map<String,String>
    Resource tags.
    virtualHub ResourceReferenceResponse
    The virtualHub to which the Azure Traffic Collector belongs.
    azureApiVersion string
    The Azure API version of the resource.
    collectorPolicies ResourceReferenceResponse[]
    Collector Policies for Azure Traffic Collector.
    etag string
    A unique read-only string that changes whenever the resource is updated.
    id string
    Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
    location string
    Resource location.
    name string
    The name of the resource
    provisioningState string
    The provisioning state of the application rule collection resource.
    systemData SystemDataResponse
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    type string
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    tags {[key: string]: string}
    Resource tags.
    virtualHub ResourceReferenceResponse
    The virtualHub to which the Azure Traffic Collector belongs.
    azure_api_version str
    The Azure API version of the resource.
    collector_policies Sequence[ResourceReferenceResponse]
    Collector Policies for Azure Traffic Collector.
    etag str
    A unique read-only string that changes whenever the resource is updated.
    id str
    Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
    location str
    Resource location.
    name str
    The name of the resource
    provisioning_state str
    The provisioning state of the application rule collection resource.
    system_data SystemDataResponse
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    type str
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    tags Mapping[str, str]
    Resource tags.
    virtual_hub ResourceReferenceResponse
    The virtualHub to which the Azure Traffic Collector belongs.
    azureApiVersion String
    The Azure API version of the resource.
    collectorPolicies List<Property Map>
    Collector Policies for Azure Traffic Collector.
    etag String
    A unique read-only string that changes whenever the resource is updated.
    id String
    Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
    location String
    Resource location.
    name String
    The name of the resource
    provisioningState String
    The provisioning state of the application rule collection resource.
    systemData Property Map
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    type String
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    tags Map<String>
    Resource tags.
    virtualHub Property Map
    The virtualHub to which the Azure Traffic Collector belongs.

    Supporting Types

    ResourceReferenceResponse

    Id string
    Resource ID.
    Id string
    Resource ID.
    id String
    Resource ID.
    id string
    Resource ID.
    id str
    Resource ID.
    id String
    Resource ID.

    SystemDataResponse

    CreatedAt string
    The timestamp of resource creation (UTC).
    CreatedBy string
    The identity that created the resource.
    CreatedByType string
    The type of identity that created the resource.
    LastModifiedAt string
    The timestamp of resource last modification (UTC)
    LastModifiedBy string
    The identity that last modified the resource.
    LastModifiedByType string
    The type of identity that last modified the resource.
    CreatedAt string
    The timestamp of resource creation (UTC).
    CreatedBy string
    The identity that created the resource.
    CreatedByType string
    The type of identity that created the resource.
    LastModifiedAt string
    The timestamp of resource last modification (UTC)
    LastModifiedBy string
    The identity that last modified the resource.
    LastModifiedByType string
    The type of identity that last modified the resource.
    createdAt String
    The timestamp of resource creation (UTC).
    createdBy String
    The identity that created the resource.
    createdByType String
    The type of identity that created the resource.
    lastModifiedAt String
    The timestamp of resource last modification (UTC)
    lastModifiedBy String
    The identity that last modified the resource.
    lastModifiedByType String
    The type of identity that last modified the resource.
    createdAt string
    The timestamp of resource creation (UTC).
    createdBy string
    The identity that created the resource.
    createdByType string
    The type of identity that created the resource.
    lastModifiedAt string
    The timestamp of resource last modification (UTC)
    lastModifiedBy string
    The identity that last modified the resource.
    lastModifiedByType string
    The type of identity that last modified the resource.
    created_at str
    The timestamp of resource creation (UTC).
    created_by str
    The identity that created the resource.
    created_by_type str
    The type of identity that created the resource.
    last_modified_at str
    The timestamp of resource last modification (UTC)
    last_modified_by str
    The identity that last modified the resource.
    last_modified_by_type str
    The type of identity that last modified the resource.
    createdAt String
    The timestamp of resource creation (UTC).
    createdBy String
    The identity that created the resource.
    createdByType String
    The type of identity that created the resource.
    lastModifiedAt String
    The timestamp of resource last modification (UTC)
    lastModifiedBy String
    The identity that last modified the resource.
    lastModifiedByType String
    The type of identity that last modified the resource.

    Package Details

    Repository
    Azure Native pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native logo
    This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
    Viewing docs for Azure Native v3.16.0
    published on Friday, Mar 20, 2026 by Pulumi
      Try Pulumi Cloud free. Your team will thank you.