UNPKG

@volcengine/pulumi

Version:

A Pulumi package for creating and managing volcengine cloud resources.

138 lines (137 loc) 4.46 kB
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 filter * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as volcengine from "@volcengine/pulumi"; * * const foo = new volcengine.vpc.TrafficMirrorFilter("foo", { * description: "acc-test", * projectName: "default", * tags: [{ * key: "k1", * value: "v1", * }], * trafficMirrorFilterName: "acc-test-traffic-mirror-filter", * }); * ``` * * ## Import * * TrafficMirrorFilter can be imported using the id, e.g. * * ```sh * $ pulumi import volcengine:vpc/trafficMirrorFilter:TrafficMirrorFilter default resource_id * ``` */ export declare class TrafficMirrorFilter extends pulumi.CustomResource { /** * Get an existing TrafficMirrorFilter 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?: TrafficMirrorFilterState, opts?: pulumi.CustomResourceOptions): TrafficMirrorFilter; /** * Returns true if the given object is an instance of TrafficMirrorFilter. 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 TrafficMirrorFilter; /** * The create time of traffic mirror filter. */ readonly createdAt: pulumi.Output<string>; /** * The description of the traffic mirror filter. */ readonly description: pulumi.Output<string | undefined>; /** * The project name of the traffic mirror filter. */ readonly projectName: pulumi.Output<string | undefined>; /** * The status of traffic mirror filter. */ readonly status: pulumi.Output<string>; /** * Tags. */ readonly tags: pulumi.Output<outputs.vpc.TrafficMirrorFilterTag[] | undefined>; /** * The name of the traffic mirror filter. */ readonly trafficMirrorFilterName: pulumi.Output<string>; /** * The last update time of traffic mirror filter. */ readonly updatedAt: pulumi.Output<string>; /** * Create a TrafficMirrorFilter 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?: TrafficMirrorFilterArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering TrafficMirrorFilter resources. */ export interface TrafficMirrorFilterState { /** * The create time of traffic mirror filter. */ createdAt?: pulumi.Input<string>; /** * The description of the traffic mirror filter. */ description?: pulumi.Input<string>; /** * The project name of the traffic mirror filter. */ projectName?: pulumi.Input<string>; /** * The status of traffic mirror filter. */ status?: pulumi.Input<string>; /** * Tags. */ tags?: pulumi.Input<pulumi.Input<inputs.vpc.TrafficMirrorFilterTag>[]>; /** * The name of the traffic mirror filter. */ trafficMirrorFilterName?: pulumi.Input<string>; /** * The last update time of traffic mirror filter. */ updatedAt?: pulumi.Input<string>; } /** * The set of arguments for constructing a TrafficMirrorFilter resource. */ export interface TrafficMirrorFilterArgs { /** * The description of the traffic mirror filter. */ description?: pulumi.Input<string>; /** * The project name of the traffic mirror filter. */ projectName?: pulumi.Input<string>; /** * Tags. */ tags?: pulumi.Input<pulumi.Input<inputs.vpc.TrafficMirrorFilterTag>[]>; /** * The name of the traffic mirror filter. */ trafficMirrorFilterName?: pulumi.Input<string>; }