import * as pulumi from "@pulumi/pulumi"; /** * Manages a Network Function Azure Traffic Collector. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as azure from "@pulumi/azure"; * * const example = new azure.core.ResourceGroup("example", { * name: "example-resources", * location: "West US", * }); * const exampleAzureTrafficCollector = new azure.networkfunction.AzureTrafficCollector("example", { * name: "example-nfatc", * resourceGroupName: example.name, * location: "West US", * tags: { * key: "value", * }, * }); * ``` * * ## API Providers * * * This resource uses the following Azure API Providers: * * * `Microsoft.NetworkFunction` - 2022-11-01 * * ## Import * * Network Function Azure Traffic Collector can be imported using the `resource id`, e.g. * * ```sh * $ pulumi import azure:networkfunction/azureTrafficCollector:AzureTrafficCollector example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup1/providers/Microsoft.NetworkFunction/azureTrafficCollectors/azureTrafficCollector1 * ``` */ export declare class AzureTrafficCollector extends pulumi.CustomResource { /** * Get an existing AzureTrafficCollector resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: AzureTrafficCollectorState, opts?: pulumi.CustomResourceOptions): AzureTrafficCollector; /** * Returns true if the given object is an instance of AzureTrafficCollector. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is AzureTrafficCollector; /** * The list of Resource IDs of collector policies. */ readonly collectorPolicyIds: pulumi.Output; /** * Specifies the Azure Region where the Network Function Azure Traffic Collector should exist. Changing this forces a new Network Function Azure Traffic Collector to be created. */ readonly location: pulumi.Output; /** * Specifies the name which should be used for this Network Function Azure Traffic Collector. Changing this forces a new Network Function Azure Traffic Collector to be created. */ readonly name: pulumi.Output; /** * Specifies the name of the Resource Group where the Network Function Azure Traffic Collector should exist. Changing this forces a new Network Function Azure Traffic Collector to be created. */ readonly resourceGroupName: pulumi.Output; /** * A mapping of tags which should be assigned to the Network Function Azure Traffic Collector. */ readonly tags: pulumi.Output<{ [key: string]: string; } | undefined>; /** * The Resource ID of virtual hub. */ readonly virtualHubIds: pulumi.Output; /** * Create a AzureTrafficCollector resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: AzureTrafficCollectorArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering AzureTrafficCollector resources. */ export interface AzureTrafficCollectorState { /** * The list of Resource IDs of collector policies. */ collectorPolicyIds?: pulumi.Input[]>; /** * Specifies the Azure Region where the Network Function Azure Traffic Collector should exist. Changing this forces a new Network Function Azure Traffic Collector to be created. */ location?: pulumi.Input; /** * Specifies the name which should be used for this Network Function Azure Traffic Collector. Changing this forces a new Network Function Azure Traffic Collector to be created. */ name?: pulumi.Input; /** * Specifies the name of the Resource Group where the Network Function Azure Traffic Collector should exist. Changing this forces a new Network Function Azure Traffic Collector to be created. */ resourceGroupName?: pulumi.Input; /** * A mapping of tags which should be assigned to the Network Function Azure Traffic Collector. */ tags?: pulumi.Input<{ [key: string]: pulumi.Input; }>; /** * The Resource ID of virtual hub. */ virtualHubIds?: pulumi.Input[]>; } /** * The set of arguments for constructing a AzureTrafficCollector resource. */ export interface AzureTrafficCollectorArgs { /** * Specifies the Azure Region where the Network Function Azure Traffic Collector should exist. Changing this forces a new Network Function Azure Traffic Collector to be created. */ location?: pulumi.Input; /** * Specifies the name which should be used for this Network Function Azure Traffic Collector. Changing this forces a new Network Function Azure Traffic Collector to be created. */ name?: pulumi.Input; /** * Specifies the name of the Resource Group where the Network Function Azure Traffic Collector should exist. Changing this forces a new Network Function Azure Traffic Collector to be created. */ resourceGroupName: pulumi.Input; /** * A mapping of tags which should be assigned to the Network Function Azure Traffic Collector. */ tags?: pulumi.Input<{ [key: string]: pulumi.Input; }>; }