AzureTrafficCollector

Azure Traffic Collector resource. API Version: 2022-05-01.

Example Usage

Create a traffic collector

using System.Collections.Generic;
using Pulumi;
using AzureNative = Pulumi.AzureNative;

return await Deployment.RunAsync(() => 
{
    var azureTrafficCollector = new AzureNative.NetworkFunction.AzureTrafficCollector("azureTrafficCollector", new()
    {
        AzureTrafficCollectorName = "atc",
        CollectorPolicies = new[] {},
        Location = "West US",
        ResourceGroupName = "rg1",
        Tags = 
        {
            { "key1", "value1" },
        },
    });

});
package main

import (
	networkfunction "github.com/pulumi/pulumi-azure-native/sdk/go/azure/networkfunction"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := networkfunction.NewAzureTrafficCollector(ctx, "azureTrafficCollector", &networkfunction.AzureTrafficCollectorArgs{
			AzureTrafficCollectorName: pulumi.String("atc"),
			CollectorPolicies:         networkfunction.CollectorPolicyTypeArray{},
			Location:                  pulumi.String("West US"),
			ResourceGroupName:         pulumi.String("rg1"),
			Tags: pulumi.StringMap{
				"key1": pulumi.String("value1"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.networkfunction.AzureTrafficCollector;
import com.pulumi.azurenative.networkfunction.AzureTrafficCollectorArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        var azureTrafficCollector = new AzureTrafficCollector("azureTrafficCollector", AzureTrafficCollectorArgs.builder()        
            .azureTrafficCollectorName("atc")
            .collectorPolicies()
            .location("West US")
            .resourceGroupName("rg1")
            .tags(Map.of("key1", "value1"))
            .build());

    }
}
import pulumi
import pulumi_azure_native as azure_native

azure_traffic_collector = azure_native.networkfunction.AzureTrafficCollector("azureTrafficCollector",
    azure_traffic_collector_name="atc",
    collector_policies=[],
    location="West US",
    resource_group_name="rg1",
    tags={
        "key1": "value1",
    })
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";

const azureTrafficCollector = new azure_native.networkfunction.AzureTrafficCollector("azureTrafficCollector", {
    azureTrafficCollectorName: "atc",
    collectorPolicies: [],
    location: "West US",
    resourceGroupName: "rg1",
    tags: {
        key1: "value1",
    },
});
resources:
  azureTrafficCollector:
    type: azure-native:networkfunction:AzureTrafficCollector
    properties:
      azureTrafficCollectorName: atc
      collectorPolicies: []
      location: West US
      resourceGroupName: rg1
      tags:
        key1: value1

Create AzureTrafficCollector Resource

new AzureTrafficCollector(name: string, args: AzureTrafficCollectorArgs, opts?: CustomResourceOptions);
@overload
def AzureTrafficCollector(resource_name: str,
                          opts: Optional[ResourceOptions] = None,
                          azure_traffic_collector_name: Optional[str] = None,
                          collector_policies: Optional[Sequence[CollectorPolicyArgs]] = None,
                          location: Optional[str] = None,
                          resource_group_name: Optional[str] = None,
                          tags: Optional[Mapping[str, str]] = None)
@overload
def AzureTrafficCollector(resource_name: str,
                          args: AzureTrafficCollectorArgs,
                          opts: Optional[ResourceOptions] = None)
func NewAzureTrafficCollector(ctx *Context, name string, args AzureTrafficCollectorArgs, opts ...ResourceOption) (*AzureTrafficCollector, error)
public AzureTrafficCollector(string name, AzureTrafficCollectorArgs args, CustomResourceOptions? opts = null)
public AzureTrafficCollector(String name, AzureTrafficCollectorArgs args)
public AzureTrafficCollector(String name, AzureTrafficCollectorArgs args, CustomResourceOptions options)
type: azure-native:networkfunction:AzureTrafficCollector
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args AzureTrafficCollectorArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
args AzureTrafficCollectorArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args AzureTrafficCollectorArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args AzureTrafficCollectorArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args AzureTrafficCollectorArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

AzureTrafficCollector Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

The AzureTrafficCollector resource accepts the following input properties:

ResourceGroupName string

The name of the resource group.

AzureTrafficCollectorName string

Azure Traffic Collector name

CollectorPolicies List<Pulumi.AzureNative.NetworkFunction.Inputs.CollectorPolicyArgs>

Collector Policies for Azure Traffic Collector.

Location string

Resource location.

Tags Dictionary<string, string>

Resource tags.

ResourceGroupName string

The name of the resource group.

AzureTrafficCollectorName string

Azure Traffic Collector name

CollectorPolicies []CollectorPolicyTypeArgs

Collector Policies for Azure Traffic Collector.

Location string

Resource location.

Tags map[string]string

Resource tags.

resourceGroupName String

The name of the resource group.

azureTrafficCollectorName String

Azure Traffic Collector name

collectorPolicies List<CollectorPolicyArgs>

Collector Policies for Azure Traffic Collector.

location String

Resource location.

tags Map<String,String>

Resource tags.

resourceGroupName string

The name of the resource group.

azureTrafficCollectorName string

Azure Traffic Collector name

collectorPolicies CollectorPolicyArgs[]

Collector Policies for Azure Traffic Collector.

location string

Resource location.

tags {[key: string]: string}

Resource tags.

resource_group_name str

The name of the resource group.

azure_traffic_collector_name str

Azure Traffic Collector name

collector_policies Sequence[CollectorPolicyArgs]

Collector Policies for Azure Traffic Collector.

location str

Resource location.

tags Mapping[str, str]

Resource tags.

resourceGroupName String

The name of the resource group.

azureTrafficCollectorName String

Azure Traffic Collector name

collectorPolicies List<Property Map>

Collector Policies for Azure Traffic Collector.

location String

Resource location.

tags Map<String>

Resource tags.

Outputs

All input properties are implicitly available as output properties. Additionally, the AzureTrafficCollector resource produces the following output properties:

Etag string

A unique read-only string that changes whenever the resource is updated.

Id string

The provider-assigned unique ID for this managed resource.

Name string

Resource name.

ProvisioningState string

The provisioning state of the application rule collection resource.

SystemData Pulumi.AzureNative.NetworkFunction.Outputs.TrackedResourceResponseSystemData

Metadata pertaining to creation and last modification of the resource.

Type string

Resource type.

VirtualHub Pulumi.AzureNative.NetworkFunction.Outputs.ResourceReferenceResponse

The virtualHub to which the Azure Traffic Collector belongs.

Etag string

A unique read-only string that changes whenever the resource is updated.

Id string

The provider-assigned unique ID for this managed resource.

Name string

Resource name.

ProvisioningState string

The provisioning state of the application rule collection resource.

SystemData TrackedResourceResponseSystemData

Metadata pertaining to creation and last modification of the resource.

Type string

Resource type.

VirtualHub ResourceReferenceResponse

The virtualHub to which the Azure Traffic Collector belongs.

etag String

A unique read-only string that changes whenever the resource is updated.

id String

The provider-assigned unique ID for this managed resource.

name String

Resource name.

provisioningState String

The provisioning state of the application rule collection resource.

systemData TrackedResourceResponseSystemData

Metadata pertaining to creation and last modification of the resource.

type String

Resource type.

virtualHub ResourceReferenceResponse

The virtualHub to which the Azure Traffic Collector belongs.

etag string

A unique read-only string that changes whenever the resource is updated.

id string

The provider-assigned unique ID for this managed resource.

name string

Resource name.

provisioningState string

The provisioning state of the application rule collection resource.

systemData TrackedResourceResponseSystemData

Metadata pertaining to creation and last modification of the resource.

type string

Resource type.

virtualHub ResourceReferenceResponse

The virtualHub to which the Azure Traffic Collector belongs.

etag str

A unique read-only string that changes whenever the resource is updated.

id str

The provider-assigned unique ID for this managed resource.

name str

Resource name.

provisioning_state str

The provisioning state of the application rule collection resource.

system_data TrackedResourceResponseSystemData

Metadata pertaining to creation and last modification of the resource.

type str

Resource type.

virtual_hub ResourceReferenceResponse

The virtualHub to which the Azure Traffic Collector belongs.

etag String

A unique read-only string that changes whenever the resource is updated.

id String

The provider-assigned unique ID for this managed resource.

name String

Resource name.

provisioningState String

The provisioning state of the application rule collection resource.

systemData Property Map

Metadata pertaining to creation and last modification of the resource.

type String

Resource type.

virtualHub Property Map

The virtualHub to which the Azure Traffic Collector belongs.

Supporting Types

CollectorPolicy

CollectorPolicyResponse

Etag string

A unique read-only string that changes whenever the resource is updated.

Id string

Azure resource Id

Name string

Azure resource name

ProvisioningState string

The provisioning state.

SystemData Pulumi.AzureNative.NetworkFunction.Inputs.CollectorPolicyResponseSystemData

Metadata pertaining to creation and last modification of the resource.

Type string

Azure resource type

EmissionPolicies List<Pulumi.AzureNative.NetworkFunction.Inputs.EmissionPoliciesPropertiesFormatResponse>

Emission policies.

IngestionPolicy Pulumi.AzureNative.NetworkFunction.Inputs.IngestionPolicyPropertiesFormatResponse

Ingestion policies.

Etag string

A unique read-only string that changes whenever the resource is updated.

Id string

Azure resource Id

Name string

Azure resource name

ProvisioningState string

The provisioning state.

SystemData CollectorPolicyResponseSystemData

Metadata pertaining to creation and last modification of the resource.

Type string

Azure resource type

EmissionPolicies []EmissionPoliciesPropertiesFormatResponse

Emission policies.

IngestionPolicy IngestionPolicyPropertiesFormatResponse

Ingestion policies.

etag String

A unique read-only string that changes whenever the resource is updated.

id String

Azure resource Id

name String

Azure resource name

provisioningState String

The provisioning state.

systemData CollectorPolicyResponseSystemData

Metadata pertaining to creation and last modification of the resource.

type String

Azure resource type

emissionPolicies List<EmissionPoliciesPropertiesFormatResponse>

Emission policies.

ingestionPolicy IngestionPolicyPropertiesFormatResponse

Ingestion policies.

etag string

A unique read-only string that changes whenever the resource is updated.

id string

Azure resource Id

name string

Azure resource name

provisioningState string

The provisioning state.

systemData CollectorPolicyResponseSystemData

Metadata pertaining to creation and last modification of the resource.

type string

Azure resource type

emissionPolicies EmissionPoliciesPropertiesFormatResponse[]

Emission policies.

ingestionPolicy IngestionPolicyPropertiesFormatResponse

Ingestion policies.

etag str

A unique read-only string that changes whenever the resource is updated.

id str

Azure resource Id

name str

Azure resource name

provisioning_state str

The provisioning state.

system_data CollectorPolicyResponseSystemData

Metadata pertaining to creation and last modification of the resource.

type str

Azure resource type

emission_policies Sequence[EmissionPoliciesPropertiesFormatResponse]

Emission policies.

ingestion_policy IngestionPolicyPropertiesFormatResponse

Ingestion policies.

etag String

A unique read-only string that changes whenever the resource is updated.

id String

Azure resource Id

name String

Azure resource name

provisioningState String

The provisioning state.

systemData Property Map

Metadata pertaining to creation and last modification of the resource.

type String

Azure resource type

emissionPolicies List<Property Map>

Emission policies.

ingestionPolicy Property Map

Ingestion policies.

CollectorPolicyResponseSystemData

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.

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.

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.

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.

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_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.

lastModifiedBy String

The identity that last modified the resource.

lastModifiedByType String

The type of identity that last modified the resource.

DestinationType

AzureMonitor
AzureMonitor
DestinationTypeAzureMonitor
AzureMonitor
AzureMonitor
AzureMonitor
AzureMonitor
AzureMonitor
AZURE_MONITOR
AzureMonitor
"AzureMonitor"
AzureMonitor

EmissionPoliciesPropertiesFormat

EmissionDestinations []EmissionPolicyDestination

Emission policy destinations.

EmissionType string | EmissionType

Emission format type.

emissionDestinations List<EmissionPolicyDestination>

Emission policy destinations.

emissionType String | EmissionType

Emission format type.

emissionDestinations EmissionPolicyDestination[]

Emission policy destinations.

emissionType string | EmissionType

Emission format type.

emission_destinations Sequence[EmissionPolicyDestination]

Emission policy destinations.

emission_type str | EmissionType

Emission format type.

emissionDestinations List<Property Map>

Emission policy destinations.

emissionType String | "IPFIX"

Emission format type.

EmissionPoliciesPropertiesFormatResponse

EmissionDestinations []EmissionPolicyDestinationResponse

Emission policy destinations.

EmissionType string

Emission format type.

emissionDestinations List<EmissionPolicyDestinationResponse>

Emission policy destinations.

emissionType String

Emission format type.

emissionDestinations EmissionPolicyDestinationResponse[]

Emission policy destinations.

emissionType string

Emission format type.

emission_destinations Sequence[EmissionPolicyDestinationResponse]

Emission policy destinations.

emission_type str

Emission format type.

emissionDestinations List<Property Map>

Emission policy destinations.

emissionType String

Emission format type.

EmissionPolicyDestination

DestinationType string | DestinationType

Emission destination type.

destinationType String | DestinationType

Emission destination type.

destinationType string | DestinationType

Emission destination type.

destination_type str | DestinationType

Emission destination type.

destinationType String | "AzureMonitor"

Emission destination type.

EmissionPolicyDestinationResponse

DestinationType string

Emission destination type.

DestinationType string

Emission destination type.

destinationType String

Emission destination type.

destinationType string

Emission destination type.

destination_type str

Emission destination type.

destinationType String

Emission destination type.

EmissionType

IPFIX
IPFIX
EmissionTypeIPFIX
IPFIX
IPFIX
IPFIX
IPFIX
IPFIX
IPFIX
IPFIX
"IPFIX"
IPFIX

IngestionPolicyPropertiesFormat

ingestionSources List<Property Map>

Ingestion Sources.

ingestionType String | "IPFIX"

The ingestion type.

IngestionPolicyPropertiesFormatResponse

ingestionSources List<Property Map>

Ingestion Sources.

ingestionType String

The ingestion type.

IngestionSourcesPropertiesFormat

ResourceId string

Resource ID.

SourceType string | Pulumi.AzureNative.NetworkFunction.SourceType

Ingestion source type.

ResourceId string

Resource ID.

SourceType string | SourceType

Ingestion source type.

resourceId String

Resource ID.

sourceType String | SourceType

Ingestion source type.

resourceId string

Resource ID.

sourceType string | SourceType

Ingestion source type.

resource_id str

Resource ID.

source_type str | SourceType

Ingestion source type.

resourceId String

Resource ID.

sourceType String | "Resource"

Ingestion source type.

IngestionSourcesPropertiesFormatResponse

ResourceId string

Resource ID.

SourceType string

Ingestion source type.

ResourceId string

Resource ID.

SourceType string

Ingestion source type.

resourceId String

Resource ID.

sourceType String

Ingestion source type.

resourceId string

Resource ID.

sourceType string

Ingestion source type.

resource_id str

Resource ID.

source_type str

Ingestion source type.

resourceId String

Resource ID.

sourceType String

Ingestion source type.

IngestionType

IPFIX
IPFIX
IngestionTypeIPFIX
IPFIX
IPFIX
IPFIX
IPFIX
IPFIX
IPFIX
IPFIX
"IPFIX"
IPFIX

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.

SourceType

Resource
Resource
SourceTypeResource
Resource
Resource
Resource
Resource
Resource
RESOURCE
Resource
"Resource"
Resource

TrackedResourceResponseSystemData

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.

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.

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.

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.

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_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.

lastModifiedBy String

The identity that last modified the resource.

lastModifiedByType String

The type of identity that last modified the resource.

Import

An existing resource can be imported using its type token, name, and identifier, e.g.

$ pulumi import azure-native:networkfunction:AzureTrafficCollector atc /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.NetworkFunction/azureTrafficCollectors/atc 

Package Details

Repository
https://github.com/pulumi/pulumi-azure-native
License
Apache-2.0