Manages a V2 Neutron Tap Mirror resource within OpenStack tap-as-a-service extension.
Example Usage
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 pulumi
import pulumi_openstack as openstack
tap_mirror1 = openstack.TaasTapMirrorV2("tap_mirror_1",
mirror_type="erspanv1",
port_id="a25290e9-1a54-4c26-a5b3-34458d122acc",
remote_ip="172.18.1.15",
directions={
"in_": 1000,
"out": 1001,
})
package main
import (
"github.com/pulumi/pulumi-openstack/sdk/v5/go/openstack"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := openstack.NewTaasTapMirrorV2(ctx, "tap_mirror_1", &openstack.TaasTapMirrorV2Args{
MirrorType: pulumi.String("erspanv1"),
PortId: pulumi.String("a25290e9-1a54-4c26-a5b3-34458d122acc"),
RemoteIp: pulumi.String("172.18.1.15"),
Directions: &openstack.TaasTapMirrorV2DirectionsArgs{
In: pulumi.Int(1000),
Out: pulumi.Int(1001),
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using OpenStack = Pulumi.OpenStack;
return await Deployment.RunAsync(() =>
{
var tapMirror1 = new OpenStack.TaasTapMirrorV2("tap_mirror_1", new()
{
MirrorType = "erspanv1",
PortId = "a25290e9-1a54-4c26-a5b3-34458d122acc",
RemoteIp = "172.18.1.15",
Directions = new OpenStack.Inputs.TaasTapMirrorV2DirectionsArgs
{
In = 1000,
Out = 1001,
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.openstack.TaasTapMirrorV2;
import com.pulumi.openstack.TaasTapMirrorV2Args;
import com.pulumi.openstack.inputs.TaasTapMirrorV2DirectionsArgs;
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 tapMirror1 = new TaasTapMirrorV2("tapMirror1", TaasTapMirrorV2Args.builder()
.mirrorType("erspanv1")
.portId("a25290e9-1a54-4c26-a5b3-34458d122acc")
.remoteIp("172.18.1.15")
.directions(TaasTapMirrorV2DirectionsArgs.builder()
.in(1000)
.out(1001)
.build())
.build());
}
}
resources:
tapMirror1:
type: openstack:TaasTapMirrorV2
name: tap_mirror_1
properties:
mirrorType: erspanv1
portId: a25290e9-1a54-4c26-a5b3-34458d122acc
remoteIp: 172.18.1.15
directions:
in: 1000
out: 1001
Create TaasTapMirrorV2 Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new TaasTapMirrorV2(name: string, args: TaasTapMirrorV2Args, opts?: CustomResourceOptions);@overload
def TaasTapMirrorV2(resource_name: str,
args: TaasTapMirrorV2Args,
opts: Optional[ResourceOptions] = None)
@overload
def TaasTapMirrorV2(resource_name: str,
opts: Optional[ResourceOptions] = None,
directions: Optional[TaasTapMirrorV2DirectionsArgs] = None,
mirror_type: Optional[str] = None,
port_id: Optional[str] = None,
remote_ip: Optional[str] = None,
description: Optional[str] = None,
name: Optional[str] = None,
region: Optional[str] = None,
tenant_id: Optional[str] = None)func NewTaasTapMirrorV2(ctx *Context, name string, args TaasTapMirrorV2Args, opts ...ResourceOption) (*TaasTapMirrorV2, error)public TaasTapMirrorV2(string name, TaasTapMirrorV2Args args, CustomResourceOptions? opts = null)
public TaasTapMirrorV2(String name, TaasTapMirrorV2Args args)
public TaasTapMirrorV2(String name, TaasTapMirrorV2Args args, CustomResourceOptions options)
type: openstack:TaasTapMirrorV2
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args TaasTapMirrorV2Args
- 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 TaasTapMirrorV2Args
- 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 TaasTapMirrorV2Args
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args TaasTapMirrorV2Args
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args TaasTapMirrorV2Args
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var taasTapMirrorV2Resource = new OpenStack.TaasTapMirrorV2("taasTapMirrorV2Resource", new()
{
Directions = new OpenStack.Inputs.TaasTapMirrorV2DirectionsArgs
{
In = 0,
Out = 0,
},
MirrorType = "string",
PortId = "string",
RemoteIp = "string",
Description = "string",
Name = "string",
Region = "string",
TenantId = "string",
});
example, err := openstack.NewTaasTapMirrorV2(ctx, "taasTapMirrorV2Resource", &openstack.TaasTapMirrorV2Args{
Directions: &openstack.TaasTapMirrorV2DirectionsArgs{
In: pulumi.Int(0),
Out: pulumi.Int(0),
},
MirrorType: pulumi.String("string"),
PortId: pulumi.String("string"),
RemoteIp: pulumi.String("string"),
Description: pulumi.String("string"),
Name: pulumi.String("string"),
Region: pulumi.String("string"),
TenantId: pulumi.String("string"),
})
var taasTapMirrorV2Resource = new TaasTapMirrorV2("taasTapMirrorV2Resource", TaasTapMirrorV2Args.builder()
.directions(TaasTapMirrorV2DirectionsArgs.builder()
.in(0)
.out(0)
.build())
.mirrorType("string")
.portId("string")
.remoteIp("string")
.description("string")
.name("string")
.region("string")
.tenantId("string")
.build());
taas_tap_mirror_v2_resource = openstack.TaasTapMirrorV2("taasTapMirrorV2Resource",
directions={
"in_": 0,
"out": 0,
},
mirror_type="string",
port_id="string",
remote_ip="string",
description="string",
name="string",
region="string",
tenant_id="string")
const taasTapMirrorV2Resource = new openstack.TaasTapMirrorV2("taasTapMirrorV2Resource", {
directions: {
"in": 0,
out: 0,
},
mirrorType: "string",
portId: "string",
remoteIp: "string",
description: "string",
name: "string",
region: "string",
tenantId: "string",
});
type: openstack:TaasTapMirrorV2
properties:
description: string
directions:
in: 0
out: 0
mirrorType: string
name: string
portId: string
region: string
remoteIp: string
tenantId: string
TaasTapMirrorV2 Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The TaasTapMirrorV2 resource accepts the following input properties:
- Directions
Pulumi.
Open Stack. Inputs. Taas Tap Mirror V2Directions - 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.
- Mirror
Type string - The type of the mirroring, can be
greorerspanv1. Changing this creates a new Tap Mirror. - Port
Id string - 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.
- Remote
Ip string - 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.
- Description string
- The human-readable description for the Tap Mirror. Changing this updates the description of the existing Tap Mirror.
- Name string
- The name of the Tap Mirror. Changing this updates the name of the existing Tap Mirror.
- Region string
- The region in which to obtain the V2 Networking client.
A Networking client is needed to create an endpoint group. If omitted, the
regionargument of the provider is used. Changing this creates a new group. - Tenant
Id string - 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.
- Directions
Taas
Tap Mirror V2Directions Args - 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.
- Mirror
Type string - The type of the mirroring, can be
greorerspanv1. Changing this creates a new Tap Mirror. - Port
Id string - 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.
- Remote
Ip string - 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.
- Description string
- The human-readable description for the Tap Mirror. Changing this updates the description of the existing Tap Mirror.
- Name string
- The name of the Tap Mirror. Changing this updates the name of the existing Tap Mirror.
- Region string
- The region in which to obtain the V2 Networking client.
A Networking client is needed to create an endpoint group. If omitted, the
regionargument of the provider is used. Changing this creates a new group. - Tenant
Id string - 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.
- directions
Taas
Tap Mirror V2Directions - 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.
- mirror
Type String - The type of the mirroring, can be
greorerspanv1. Changing this creates a new Tap Mirror. - port
Id String - 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.
- remote
Ip String - 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.
- description String
- The human-readable description for the Tap Mirror. Changing this updates the description of the existing Tap Mirror.
- name String
- The name of the Tap Mirror. Changing this updates the name of the existing Tap Mirror.
- region String
- The region in which to obtain the V2 Networking client.
A Networking client is needed to create an endpoint group. If omitted, the
regionargument of the provider is used. Changing this creates a new group. - tenant
Id String - 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.
- directions
Taas
Tap Mirror V2Directions - 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.
- mirror
Type string - The type of the mirroring, can be
greorerspanv1. Changing this creates a new Tap Mirror. - port
Id string - 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.
- remote
Ip string - 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.
- description string
- The human-readable description for the Tap Mirror. Changing this updates the description of the existing Tap Mirror.
- name string
- The name of the Tap Mirror. Changing this updates the name of the existing Tap Mirror.
- region string
- The region in which to obtain the V2 Networking client.
A Networking client is needed to create an endpoint group. If omitted, the
regionargument of the provider is used. Changing this creates a new group. - tenant
Id string - 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.
- directions
Taas
Tap Mirror V2Directions Args - 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.
- mirror_
type str - The type of the mirroring, can be
greorerspanv1. Changing this creates a new Tap Mirror. - port_
id str - 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.
- remote_
ip str - 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.
- description str
- The human-readable description for the Tap Mirror. Changing this updates the description of the existing Tap Mirror.
- name str
- The name of the Tap Mirror. Changing this updates the name of the existing Tap Mirror.
- region str
- The region in which to obtain the V2 Networking client.
A Networking client is needed to create an endpoint group. If omitted, the
regionargument of the provider is used. Changing this creates a new group. - tenant_
id str - 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.
- directions Property Map
- 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.
- mirror
Type String - The type of the mirroring, can be
greorerspanv1. Changing this creates a new Tap Mirror. - port
Id String - 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.
- remote
Ip String - 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.
- description String
- The human-readable description for the Tap Mirror. Changing this updates the description of the existing Tap Mirror.
- name String
- The name of the Tap Mirror. Changing this updates the name of the existing Tap Mirror.
- region String
- The region in which to obtain the V2 Networking client.
A Networking client is needed to create an endpoint group. If omitted, the
regionargument of the provider is used. Changing this creates a new group. - tenant
Id String - 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.
Outputs
All input properties are implicitly available as output properties. Additionally, the TaasTapMirrorV2 resource produces the following output properties:
- id str
- The provider-assigned unique ID for this managed resource.
- project_
id str - Id of the OpenStack project.
Look up Existing TaasTapMirrorV2 Resource
Get an existing TaasTapMirrorV2 resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: TaasTapMirrorV2State, opts?: CustomResourceOptions): TaasTapMirrorV2@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
description: Optional[str] = None,
directions: Optional[TaasTapMirrorV2DirectionsArgs] = None,
mirror_type: Optional[str] = None,
name: Optional[str] = None,
port_id: Optional[str] = None,
project_id: Optional[str] = None,
region: Optional[str] = None,
remote_ip: Optional[str] = None,
tenant_id: Optional[str] = None) -> TaasTapMirrorV2func GetTaasTapMirrorV2(ctx *Context, name string, id IDInput, state *TaasTapMirrorV2State, opts ...ResourceOption) (*TaasTapMirrorV2, error)public static TaasTapMirrorV2 Get(string name, Input<string> id, TaasTapMirrorV2State? state, CustomResourceOptions? opts = null)public static TaasTapMirrorV2 get(String name, Output<String> id, TaasTapMirrorV2State state, CustomResourceOptions options)resources: _: type: openstack:TaasTapMirrorV2 get: id: ${id}- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Description string
- The human-readable description for the Tap Mirror. Changing this updates the description of the existing Tap Mirror.
- Directions
Pulumi.
Open Stack. Inputs. Taas Tap Mirror V2Directions - 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.
- Mirror
Type string - The type of the mirroring, can be
greorerspanv1. Changing this creates a new Tap Mirror. - Name string
- The name of the Tap Mirror. Changing this updates the name of the existing Tap Mirror.
- Port
Id string - 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.
- Project
Id string - Id of the OpenStack project.
- Region string
- The region in which to obtain the V2 Networking client.
A Networking client is needed to create an endpoint group. If omitted, the
regionargument of the provider is used. Changing this creates a new group. - Remote
Ip string - 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.
- Tenant
Id string - 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.
- Description string
- The human-readable description for the Tap Mirror. Changing this updates the description of the existing Tap Mirror.
- Directions
Taas
Tap Mirror V2Directions Args - 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.
- Mirror
Type string - The type of the mirroring, can be
greorerspanv1. Changing this creates a new Tap Mirror. - Name string
- The name of the Tap Mirror. Changing this updates the name of the existing Tap Mirror.
- Port
Id string - 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.
- Project
Id string - Id of the OpenStack project.
- Region string
- The region in which to obtain the V2 Networking client.
A Networking client is needed to create an endpoint group. If omitted, the
regionargument of the provider is used. Changing this creates a new group. - Remote
Ip string - 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.
- Tenant
Id string - 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.
- description String
- The human-readable description for the Tap Mirror. Changing this updates the description of the existing Tap Mirror.
- directions
Taas
Tap Mirror V2Directions - 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.
- mirror
Type String - The type of the mirroring, can be
greorerspanv1. Changing this creates a new Tap Mirror. - name String
- The name of the Tap Mirror. Changing this updates the name of the existing Tap Mirror.
- port
Id String - 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.
- project
Id String - Id of the OpenStack project.
- region String
- The region in which to obtain the V2 Networking client.
A Networking client is needed to create an endpoint group. If omitted, the
regionargument of the provider is used. Changing this creates a new group. - remote
Ip String - 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.
- tenant
Id String - 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.
- description string
- The human-readable description for the Tap Mirror. Changing this updates the description of the existing Tap Mirror.
- directions
Taas
Tap Mirror V2Directions - 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.
- mirror
Type string - The type of the mirroring, can be
greorerspanv1. Changing this creates a new Tap Mirror. - name string
- The name of the Tap Mirror. Changing this updates the name of the existing Tap Mirror.
- port
Id string - 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.
- project
Id string - Id of the OpenStack project.
- region string
- The region in which to obtain the V2 Networking client.
A Networking client is needed to create an endpoint group. If omitted, the
regionargument of the provider is used. Changing this creates a new group. - remote
Ip string - 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.
- tenant
Id string - 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.
- description str
- The human-readable description for the Tap Mirror. Changing this updates the description of the existing Tap Mirror.
- directions
Taas
Tap Mirror V2Directions Args - 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.
- mirror_
type str - The type of the mirroring, can be
greorerspanv1. Changing this creates a new Tap Mirror. - name str
- The name of the Tap Mirror. Changing this updates the name of the existing Tap Mirror.
- port_
id str - 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.
- project_
id str - Id of the OpenStack project.
- region str
- The region in which to obtain the V2 Networking client.
A Networking client is needed to create an endpoint group. If omitted, the
regionargument of the provider is used. Changing this creates a new group. - remote_
ip str - 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.
- tenant_
id str - 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.
- description String
- The human-readable description for the Tap Mirror. Changing this updates the description of the existing Tap Mirror.
- directions Property Map
- 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.
- mirror
Type String - The type of the mirroring, can be
greorerspanv1. Changing this creates a new Tap Mirror. - name String
- The name of the Tap Mirror. Changing this updates the name of the existing Tap Mirror.
- port
Id String - 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.
- project
Id String - Id of the OpenStack project.
- region String
- The region in which to obtain the V2 Networking client.
A Networking client is needed to create an endpoint group. If omitted, the
regionargument of the provider is used. Changing this creates a new group. - remote
Ip String - 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.
- tenant
Id String - 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.
Supporting Types
TaasTapMirrorV2Directions, TaasTapMirrorV2DirectionsArgs
- In int
- Declares ingress traffic to the port will be mirrored. The value is the identifier of the ERSPAN or GRE session between the source and destination, this must be unique within the project.
- Out int
- Declares egress traffic will be mirrored. The value is the identifier of the ERSPAN or GRE session between the source and destination, this must be unique within the project.
- In int
- Declares ingress traffic to the port will be mirrored. The value is the identifier of the ERSPAN or GRE session between the source and destination, this must be unique within the project.
- Out int
- Declares egress traffic will be mirrored. The value is the identifier of the ERSPAN or GRE session between the source and destination, this must be unique within the project.
- in Integer
- Declares ingress traffic to the port will be mirrored. The value is the identifier of the ERSPAN or GRE session between the source and destination, this must be unique within the project.
- out Integer
- Declares egress traffic will be mirrored. The value is the identifier of the ERSPAN or GRE session between the source and destination, this must be unique within the project.
- in number
- Declares ingress traffic to the port will be mirrored. The value is the identifier of the ERSPAN or GRE session between the source and destination, this must be unique within the project.
- out number
- Declares egress traffic will be mirrored. The value is the identifier of the ERSPAN or GRE session between the source and destination, this must be unique within the project.
- in_ int
- Declares ingress traffic to the port will be mirrored. The value is the identifier of the ERSPAN or GRE session between the source and destination, this must be unique within the project.
- out int
- Declares egress traffic will be mirrored. The value is the identifier of the ERSPAN or GRE session between the source and destination, this must be unique within the project.
- in Number
- Declares ingress traffic to the port will be mirrored. The value is the identifier of the ERSPAN or GRE session between the source and destination, this must be unique within the project.
- out Number
- Declares egress traffic will be mirrored. The value is the identifier of the ERSPAN or GRE session between the source and destination, this must be unique within the project.
Import
Tap Mirrors can be imported using the id, e.g.
$ pulumi import openstack:index/taasTapMirrorV2:TaasTapMirrorV2 tap_mirror_1 0837b488-f0e2-4689-99b3-e3ed531f9b10
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- OpenStack pulumi/pulumi-openstack
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
openstackTerraform Provider.
