import * as pulumi from "@pulumi/pulumi";
import * as inputs from "../types/input";
import * as outputs from "../types/output";
/**
 * Provides a resource to manage traffic mirror session
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as volcengine from "@pulumi/volcengine";
 * import * as volcengine from "@volcengine/pulumi";
 *
 * const fooZones = volcengine.ecs.getZones({});
 * const fooVpc = new volcengine.vpc.Vpc("fooVpc", {
 *     vpcName: "acc-test-vpc",
 *     cidrBlock: "172.16.0.0/16",
 * });
 * const fooSubnet = new volcengine.vpc.Subnet("fooSubnet", {
 *     subnetName: "acc-test-subnet",
 *     cidrBlock: "172.16.0.0/24",
 *     zoneId: fooZones.then(fooZones => fooZones.zones?.[0]?.id),
 *     vpcId: fooVpc.id,
 * });
 * const fooSecurityGroup = new volcengine.vpc.SecurityGroup("fooSecurityGroup", {
 *     securityGroupName: "acc-test-sg",
 *     vpcId: fooVpc.id,
 * });
 * const fooImages = volcengine.ecs.getImages({
 *     osType: "Linux",
 *     visibility: "public",
 *     instanceTypeId: "ecs.g3il.large",
 * });
 * const fooInstance = new volcengine.ecs.Instance("fooInstance", {
 *     instanceName: "acc-test-ecs",
 *     description: "acc-test",
 *     hostName: "tf-acc-test",
 *     imageId: fooImages.then(fooImages => fooImages.images?.[0]?.imageId),
 *     instanceType: "ecs.g3il.large",
 *     password: "93f0cb0614Aab12",
 *     instanceChargeType: "PostPaid",
 *     systemVolumeType: "ESSD_PL0",
 *     systemVolumeSize: 40,
 *     subnetId: fooSubnet.id,
 *     securityGroupIds: [fooSecurityGroup.id],
 *     projectName: "default",
 *     tags: [{
 *         key: "k1",
 *         value: "v1",
 *     }],
 * });
 * const fooNetworkInterface = new volcengine.vpc.NetworkInterface("fooNetworkInterface", {
 *     networkInterfaceName: "acc-test-eni",
 *     description: "acc-test",
 *     subnetId: fooSubnet.id,
 *     securityGroupIds: [fooSecurityGroup.id],
 *     primaryIpAddress: "172.16.0.253",
 *     portSecurityEnabled: false,
 *     privateIpAddresses: ["172.16.0.2"],
 *     projectName: "default",
 *     tags: [{
 *         key: "k1",
 *         value: "v1",
 *     }],
 * });
 * const foo_sourceNetworkInterface = new volcengine.vpc.NetworkInterface("foo-sourceNetworkInterface", {
 *     networkInterfaceName: "acc-test-eni",
 *     description: "acc-test",
 *     subnetId: fooSubnet.id,
 *     securityGroupIds: [fooSecurityGroup.id],
 *     primaryIpAddress: "172.16.0.252",
 *     portSecurityEnabled: false,
 *     privateIpAddresses: ["172.16.0.5"],
 *     projectName: "default",
 *     tags: [{
 *         key: "k1",
 *         value: "v1",
 *     }],
 * });
 * const fooNetworkInterfaceAttach = new volcengine.vpc.NetworkInterfaceAttach("fooNetworkInterfaceAttach", {
 *     networkInterfaceId: fooNetworkInterface.id,
 *     instanceId: fooInstance.id,
 * });
 * const foo_sourceNetworkInterfaceAttach = new volcengine.vpc.NetworkInterfaceAttach("foo-sourceNetworkInterfaceAttach", {
 *     networkInterfaceId: foo_sourceNetworkInterface.id,
 *     instanceId: fooInstance.id,
 * });
 * const fooTrafficMirrorTarget = new volcengine.vpc.TrafficMirrorTarget("fooTrafficMirrorTarget", {
 *     instanceType: "NetworkInterface",
 *     instanceId: fooNetworkInterface.id,
 *     trafficMirrorTargetName: "acc-test-traffic-mirror-target",
 *     description: "acc-test",
 *     projectName: "default",
 *     tags: [{
 *         key: "k1",
 *         value: "v1",
 *     }],
 * }, {
 *     dependsOn: [fooNetworkInterfaceAttach],
 * });
 * const fooTrafficMirrorFilter = new volcengine.vpc.TrafficMirrorFilter("fooTrafficMirrorFilter", {
 *     trafficMirrorFilterName: "acc-test-traffic-mirror-filter",
 *     description: "acc-test",
 *     projectName: "default",
 *     tags: [{
 *         key: "k1",
 *         value: "v1",
 *     }],
 * });
 * const fooTrafficMirrorSession = new volcengine.vpc.TrafficMirrorSession("fooTrafficMirrorSession", {
 *     trafficMirrorFilterId: fooTrafficMirrorFilter.id,
 *     trafficMirrorTargetId: fooTrafficMirrorTarget.id,
 *     trafficMirrorSessionName: "acc-test-traffic-mirror-session",
 *     description: "acc-test",
 *     networkInterfaceId: foo_sourceNetworkInterface.id,
 *     virtualNetworkId: 10,
 *     packetLength: 1000,
 *     priority: 1,
 *     projectName: "default",
 *     tags: [{
 *         key: "k1",
 *         value: "v1",
 *     }],
 * }, {
 *     dependsOn: [foo_sourceNetworkInterfaceAttach],
 * });
 * ```
 *
 * ## Import
 *
 * TrafficMirrorSession can be imported using the id, e.g.
 *
 * ```sh
 * $ pulumi import volcengine:vpc/trafficMirrorSession:TrafficMirrorSession default resource_id
 * ```
 */
export declare class TrafficMirrorSession extends pulumi.CustomResource {
    /**
     * Get an existing TrafficMirrorSession 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<pulumi.ID>, state?: TrafficMirrorSessionState, opts?: pulumi.CustomResourceOptions): TrafficMirrorSession;
    /**
     * Returns true if the given object is an instance of TrafficMirrorSession.  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 TrafficMirrorSession;
    /**
     * The business status of traffic mirror session.
     */
    readonly businessStatus: pulumi.Output<string>;
    /**
     * The create time of traffic mirror session.
     */
    readonly createdAt: pulumi.Output<string>;
    /**
     * The description of the traffic mirror session.
     */
    readonly description: pulumi.Output<string | undefined>;
    /**
     * The lock reason of traffic mirror session.
     */
    readonly lockReason: pulumi.Output<string>;
    /**
     * The ID of network interface.
     */
    readonly networkInterfaceId: pulumi.Output<string>;
    /**
     * The packet length of traffic mirror session.
     */
    readonly packetLength: pulumi.Output<number>;
    /**
     * The priority of traffic mirror session. Valid values: 1~32766.
     */
    readonly priority: pulumi.Output<number>;
    /**
     * The project name of traffic mirror session.
     */
    readonly projectName: pulumi.Output<string>;
    /**
     * The status of traffic mirror session.
     */
    readonly status: pulumi.Output<string>;
    /**
     * Tags.
     */
    readonly tags: pulumi.Output<outputs.vpc.TrafficMirrorSessionTag[] | undefined>;
    /**
     * The ID of traffic mirror filter.
     */
    readonly trafficMirrorFilterId: pulumi.Output<string>;
    /**
     * The name of the traffic mirror session.
     */
    readonly trafficMirrorSessionName: pulumi.Output<string>;
    /**
     * The ID of traffic mirror target.
     */
    readonly trafficMirrorTargetId: pulumi.Output<string>;
    /**
     * The update time of traffic mirror session.
     */
    readonly updatedAt: pulumi.Output<string>;
    /**
     * The ID of virtual network.
     */
    readonly virtualNetworkId: pulumi.Output<number>;
    /**
     * Create a TrafficMirrorSession 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: TrafficMirrorSessionArgs, opts?: pulumi.CustomResourceOptions);
}
/**
 * Input properties used for looking up and filtering TrafficMirrorSession resources.
 */
export interface TrafficMirrorSessionState {
    /**
     * The business status of traffic mirror session.
     */
    businessStatus?: pulumi.Input<string>;
    /**
     * The create time of traffic mirror session.
     */
    createdAt?: pulumi.Input<string>;
    /**
     * The description of the traffic mirror session.
     */
    description?: pulumi.Input<string>;
    /**
     * The lock reason of traffic mirror session.
     */
    lockReason?: pulumi.Input<string>;
    /**
     * The ID of network interface.
     */
    networkInterfaceId?: pulumi.Input<string>;
    /**
     * The packet length of traffic mirror session.
     */
    packetLength?: pulumi.Input<number>;
    /**
     * The priority of traffic mirror session. Valid values: 1~32766.
     */
    priority?: pulumi.Input<number>;
    /**
     * The project name of traffic mirror session.
     */
    projectName?: pulumi.Input<string>;
    /**
     * The status of traffic mirror session.
     */
    status?: pulumi.Input<string>;
    /**
     * Tags.
     */
    tags?: pulumi.Input<pulumi.Input<inputs.vpc.TrafficMirrorSessionTag>[]>;
    /**
     * The ID of traffic mirror filter.
     */
    trafficMirrorFilterId?: pulumi.Input<string>;
    /**
     * The name of the traffic mirror session.
     */
    trafficMirrorSessionName?: pulumi.Input<string>;
    /**
     * The ID of traffic mirror target.
     */
    trafficMirrorTargetId?: pulumi.Input<string>;
    /**
     * The update time of traffic mirror session.
     */
    updatedAt?: pulumi.Input<string>;
    /**
     * The ID of virtual network.
     */
    virtualNetworkId?: pulumi.Input<number>;
}
/**
 * The set of arguments for constructing a TrafficMirrorSession resource.
 */
export interface TrafficMirrorSessionArgs {
    /**
     * The description of the traffic mirror session.
     */
    description?: pulumi.Input<string>;
    /**
     * The ID of network interface.
     */
    networkInterfaceId: pulumi.Input<string>;
    /**
     * The packet length of traffic mirror session.
     */
    packetLength?: pulumi.Input<number>;
    /**
     * The priority of traffic mirror session. Valid values: 1~32766.
     */
    priority: pulumi.Input<number>;
    /**
     * The project name of traffic mirror session.
     */
    projectName?: pulumi.Input<string>;
    /**
     * Tags.
     */
    tags?: pulumi.Input<pulumi.Input<inputs.vpc.TrafficMirrorSessionTag>[]>;
    /**
     * The ID of traffic mirror filter.
     */
    trafficMirrorFilterId: pulumi.Input<string>;
    /**
     * The name of the traffic mirror session.
     */
    trafficMirrorSessionName?: pulumi.Input<string>;
    /**
     * The ID of traffic mirror target.
     */
    trafficMirrorTargetId: pulumi.Input<string>;
    /**
     * The ID of virtual network.
     */
    virtualNetworkId?: pulumi.Input<number>;
}
