import * as pulumi from "@pulumi/pulumi"; import * as inputs from "./types/input"; import * as outputs from "./types/output"; /** * Manages a V2 Neutron Tap Mirror resource within OpenStack tap-as-a-service extension. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as openstack from "@pulumi/openstack"; * * const tapMirror1 = new openstack.TaasTapMirrorV2("tap_mirror_1", { * mirrorType: "erspanv1", * portId: "a25290e9-1a54-4c26-a5b3-34458d122acc", * remoteIp: "172.18.1.15", * directions: { * "in": 1000, * out: 1001, * }, * }); * ``` * * ## Import * * Tap Mirrors can be imported using the `id`, e.g. * * ```sh * $ pulumi import openstack:index/taasTapMirrorV2:TaasTapMirrorV2 tap_mirror_1 0837b488-f0e2-4689-99b3-e3ed531f9b10 * ``` */ export declare class TaasTapMirrorV2 extends pulumi.CustomResource { /** * Get an existing TaasTapMirrorV2 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?: TaasTapMirrorV2State, opts?: pulumi.CustomResourceOptions): TaasTapMirrorV2; /** * Returns true if the given object is an instance of TaasTapMirrorV2. 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 TaasTapMirrorV2; /** * The human-readable description for the Tap Mirror. * Changing this updates the description of the existing Tap Mirror. */ readonly description: pulumi.Output; /** * A block declaring the directions to be mirrored and their * identifiers. One block has to be declared with at least one direction. Changing * this creates a new Tap Mirror. */ readonly directions: pulumi.Output; /** * The type of the mirroring, can be `gre` or `erspanv1`. * Changing this creates a new Tap Mirror. */ readonly mirrorType: pulumi.Output; /** * The name of the Tap Mirror. Changing this updates the name of * the existing Tap Mirror. */ readonly name: pulumi.Output; /** * The Port ID of the Tap Mirror, this will be the source of * the mirrored traffic, and this traffic will be tunneled into the GRE or ERSPAN * v1 tunnel. The tunnel itself is not starting from this port. Changing this * creates a new Tap Mirror. */ readonly portId: pulumi.Output; /** * Id of the OpenStack project. */ readonly projectId: pulumi.Output; /** * The region in which to obtain the V2 Networking client. * A Networking client is needed to create an endpoint group. If omitted, the * `region` argument of the provider is used. Changing this creates a new * group. */ readonly region: pulumi.Output; /** * The remote IP of the Tap Mirror, this will be the remote * end of the GRE or ERSPAN v1 tunnel. Changing this creates a new Tap Mirror. */ readonly remoteIp: pulumi.Output; /** * The owner of the Tap Mirror. Required if admin wants to * create a Tap Mirror for another project. Changing this creates a new Tap Mirror. */ readonly tenantId: pulumi.Output; /** * Create a TaasTapMirrorV2 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: TaasTapMirrorV2Args, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering TaasTapMirrorV2 resources. */ export interface TaasTapMirrorV2State { /** * The human-readable description for the Tap Mirror. * Changing this updates the description of the existing Tap Mirror. */ description?: pulumi.Input; /** * A block declaring the directions to be mirrored and their * identifiers. One block has to be declared with at least one direction. Changing * this creates a new Tap Mirror. */ directions?: pulumi.Input; /** * The type of the mirroring, can be `gre` or `erspanv1`. * Changing this creates a new Tap Mirror. */ mirrorType?: pulumi.Input; /** * The name of the Tap Mirror. Changing this updates the name of * the existing Tap Mirror. */ name?: pulumi.Input; /** * The Port ID of the Tap Mirror, this will be the source of * the mirrored traffic, and this traffic will be tunneled into the GRE or ERSPAN * v1 tunnel. The tunnel itself is not starting from this port. Changing this * creates a new Tap Mirror. */ portId?: pulumi.Input; /** * Id of the OpenStack project. */ projectId?: pulumi.Input; /** * The region in which to obtain the V2 Networking client. * A Networking client is needed to create an endpoint group. If omitted, the * `region` argument of the provider is used. Changing this creates a new * group. */ region?: pulumi.Input; /** * The remote IP of the Tap Mirror, this will be the remote * end of the GRE or ERSPAN v1 tunnel. Changing this creates a new Tap Mirror. */ remoteIp?: pulumi.Input; /** * The owner of the Tap Mirror. Required if admin wants to * create a Tap Mirror for another project. Changing this creates a new Tap Mirror. */ tenantId?: pulumi.Input; } /** * The set of arguments for constructing a TaasTapMirrorV2 resource. */ export interface TaasTapMirrorV2Args { /** * The human-readable description for the Tap Mirror. * Changing this updates the description of the existing Tap Mirror. */ description?: pulumi.Input; /** * A block declaring the directions to be mirrored and their * identifiers. One block has to be declared with at least one direction. Changing * this creates a new Tap Mirror. */ directions: pulumi.Input; /** * The type of the mirroring, can be `gre` or `erspanv1`. * Changing this creates a new Tap Mirror. */ mirrorType: pulumi.Input; /** * The name of the Tap Mirror. Changing this updates the name of * the existing Tap Mirror. */ name?: pulumi.Input; /** * The Port ID of the Tap Mirror, this will be the source of * the mirrored traffic, and this traffic will be tunneled into the GRE or ERSPAN * v1 tunnel. The tunnel itself is not starting from this port. Changing this * creates a new Tap Mirror. */ portId: pulumi.Input; /** * The region in which to obtain the V2 Networking client. * A Networking client is needed to create an endpoint group. If omitted, the * `region` argument of the provider is used. Changing this creates a new * group. */ region?: pulumi.Input; /** * The remote IP of the Tap Mirror, this will be the remote * end of the GRE or ERSPAN v1 tunnel. Changing this creates a new Tap Mirror. */ remoteIp: pulumi.Input; /** * The owner of the Tap Mirror. Required if admin wants to * create a Tap Mirror for another project. Changing this creates a new Tap Mirror. */ tenantId?: pulumi.Input; }