Google Cloud Native is in preview. Google Cloud Classic is fully supported.
google-native.compute/beta.PacketMirroring
Explore with Pulumi AI
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Creates a PacketMirroring resource in the specified project and region using the data included in the request.
Create PacketMirroring Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new PacketMirroring(name: string, args: PacketMirroringArgs, opts?: CustomResourceOptions);
@overload
def PacketMirroring(resource_name: str,
args: PacketMirroringArgs,
opts: Optional[ResourceOptions] = None)
@overload
def PacketMirroring(resource_name: str,
opts: Optional[ResourceOptions] = None,
region: Optional[str] = None,
collector_ilb: Optional[PacketMirroringForwardingRuleInfoArgs] = None,
description: Optional[str] = None,
enable: Optional[PacketMirroringEnable] = None,
filter: Optional[PacketMirroringFilterArgs] = None,
mirrored_resources: Optional[PacketMirroringMirroredResourceInfoArgs] = None,
name: Optional[str] = None,
network: Optional[PacketMirroringNetworkInfoArgs] = None,
priority: Optional[int] = None,
project: Optional[str] = None,
request_id: Optional[str] = None)
func NewPacketMirroring(ctx *Context, name string, args PacketMirroringArgs, opts ...ResourceOption) (*PacketMirroring, error)
public PacketMirroring(string name, PacketMirroringArgs args, CustomResourceOptions? opts = null)
public PacketMirroring(String name, PacketMirroringArgs args)
public PacketMirroring(String name, PacketMirroringArgs args, CustomResourceOptions options)
type: google-native:compute/beta:PacketMirroring
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 PacketMirroringArgs
- 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 PacketMirroringArgs
- 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 PacketMirroringArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args PacketMirroringArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args PacketMirroringArgs
- 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 google_nativePacketMirroringResource = new GoogleNative.Compute.Beta.PacketMirroring("google-nativePacketMirroringResource", new()
{
Region = "string",
CollectorIlb = new GoogleNative.Compute.Beta.Inputs.PacketMirroringForwardingRuleInfoArgs
{
Url = "string",
},
Description = "string",
Enable = GoogleNative.Compute.Beta.PacketMirroringEnable.False,
Filter = new GoogleNative.Compute.Beta.Inputs.PacketMirroringFilterArgs
{
CidrRanges = new[]
{
"string",
},
Direction = GoogleNative.Compute.Beta.PacketMirroringFilterDirection.Both,
IpProtocols = new[]
{
"string",
},
},
MirroredResources = new GoogleNative.Compute.Beta.Inputs.PacketMirroringMirroredResourceInfoArgs
{
Instances = new[]
{
new GoogleNative.Compute.Beta.Inputs.PacketMirroringMirroredResourceInfoInstanceInfoArgs
{
Url = "string",
},
},
Subnetworks = new[]
{
new GoogleNative.Compute.Beta.Inputs.PacketMirroringMirroredResourceInfoSubnetInfoArgs
{
Url = "string",
},
},
Tags = new[]
{
"string",
},
},
Name = "string",
Network = new GoogleNative.Compute.Beta.Inputs.PacketMirroringNetworkInfoArgs
{
Url = "string",
},
Priority = 0,
Project = "string",
RequestId = "string",
});
example, err := computebeta.NewPacketMirroring(ctx, "google-nativePacketMirroringResource", &computebeta.PacketMirroringArgs{
Region: pulumi.String("string"),
CollectorIlb: &compute.PacketMirroringForwardingRuleInfoArgs{
Url: pulumi.String("string"),
},
Description: pulumi.String("string"),
Enable: computebeta.PacketMirroringEnableFalse,
Filter: &compute.PacketMirroringFilterArgs{
CidrRanges: pulumi.StringArray{
pulumi.String("string"),
},
Direction: computebeta.PacketMirroringFilterDirectionBoth,
IpProtocols: pulumi.StringArray{
pulumi.String("string"),
},
},
MirroredResources: &compute.PacketMirroringMirroredResourceInfoArgs{
Instances: compute.PacketMirroringMirroredResourceInfoInstanceInfoArray{
&compute.PacketMirroringMirroredResourceInfoInstanceInfoArgs{
Url: pulumi.String("string"),
},
},
Subnetworks: compute.PacketMirroringMirroredResourceInfoSubnetInfoArray{
&compute.PacketMirroringMirroredResourceInfoSubnetInfoArgs{
Url: pulumi.String("string"),
},
},
Tags: pulumi.StringArray{
pulumi.String("string"),
},
},
Name: pulumi.String("string"),
Network: &compute.PacketMirroringNetworkInfoArgs{
Url: pulumi.String("string"),
},
Priority: pulumi.Int(0),
Project: pulumi.String("string"),
RequestId: pulumi.String("string"),
})
var google_nativePacketMirroringResource = new PacketMirroring("google-nativePacketMirroringResource", PacketMirroringArgs.builder()
.region("string")
.collectorIlb(PacketMirroringForwardingRuleInfoArgs.builder()
.url("string")
.build())
.description("string")
.enable("FALSE")
.filter(PacketMirroringFilterArgs.builder()
.cidrRanges("string")
.direction("BOTH")
.ipProtocols("string")
.build())
.mirroredResources(PacketMirroringMirroredResourceInfoArgs.builder()
.instances(PacketMirroringMirroredResourceInfoInstanceInfoArgs.builder()
.url("string")
.build())
.subnetworks(PacketMirroringMirroredResourceInfoSubnetInfoArgs.builder()
.url("string")
.build())
.tags("string")
.build())
.name("string")
.network(PacketMirroringNetworkInfoArgs.builder()
.url("string")
.build())
.priority(0)
.project("string")
.requestId("string")
.build());
google_native_packet_mirroring_resource = google_native.compute.beta.PacketMirroring("google-nativePacketMirroringResource",
region="string",
collector_ilb=google_native.compute.beta.PacketMirroringForwardingRuleInfoArgs(
url="string",
),
description="string",
enable=google_native.compute.beta.PacketMirroringEnable.FALSE,
filter=google_native.compute.beta.PacketMirroringFilterArgs(
cidr_ranges=["string"],
direction=google_native.compute.beta.PacketMirroringFilterDirection.BOTH,
ip_protocols=["string"],
),
mirrored_resources=google_native.compute.beta.PacketMirroringMirroredResourceInfoArgs(
instances=[google_native.compute.beta.PacketMirroringMirroredResourceInfoInstanceInfoArgs(
url="string",
)],
subnetworks=[google_native.compute.beta.PacketMirroringMirroredResourceInfoSubnetInfoArgs(
url="string",
)],
tags=["string"],
),
name="string",
network=google_native.compute.beta.PacketMirroringNetworkInfoArgs(
url="string",
),
priority=0,
project="string",
request_id="string")
const google_nativePacketMirroringResource = new google_native.compute.beta.PacketMirroring("google-nativePacketMirroringResource", {
region: "string",
collectorIlb: {
url: "string",
},
description: "string",
enable: google_native.compute.beta.PacketMirroringEnable.False,
filter: {
cidrRanges: ["string"],
direction: google_native.compute.beta.PacketMirroringFilterDirection.Both,
ipProtocols: ["string"],
},
mirroredResources: {
instances: [{
url: "string",
}],
subnetworks: [{
url: "string",
}],
tags: ["string"],
},
name: "string",
network: {
url: "string",
},
priority: 0,
project: "string",
requestId: "string",
});
type: google-native:compute/beta:PacketMirroring
properties:
collectorIlb:
url: string
description: string
enable: false
filter:
cidrRanges:
- string
direction: BOTH
ipProtocols:
- string
mirroredResources:
instances:
- url: string
subnetworks:
- url: string
tags:
- string
name: string
network:
url: string
priority: 0
project: string
region: string
requestId: string
PacketMirroring Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The PacketMirroring resource accepts the following input properties:
- Region string
- Collector
Ilb Pulumi.Google Native. Compute. Beta. Inputs. Packet Mirroring Forwarding Rule Info - The Forwarding Rule resource of type loadBalancingScheme=INTERNAL that will be used as collector for mirrored traffic. The specified forwarding rule must have isMirroringCollector set to true.
- Description string
- An optional description of this resource. Provide this property when you create the resource.
- Enable
Pulumi.
Google Native. Compute. Beta. Packet Mirroring Enable - Indicates whether or not this packet mirroring takes effect. If set to FALSE, this packet mirroring policy will not be enforced on the network. The default is TRUE.
- Filter
Pulumi.
Google Native. Compute. Beta. Inputs. Packet Mirroring Filter - Filter for mirrored traffic. If unspecified, all traffic is mirrored.
- Mirrored
Resources Pulumi.Google Native. Compute. Beta. Inputs. Packet Mirroring Mirrored Resource Info - PacketMirroring mirroredResourceInfos. MirroredResourceInfo specifies a set of mirrored VM instances, subnetworks and/or tags for which traffic from/to all VM instances will be mirrored.
- Name string
- Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression
[a-z]([-a-z0-9]*[a-z0-9])?
which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. - Network
Pulumi.
Google Native. Compute. Beta. Inputs. Packet Mirroring Network Info - Specifies the mirrored VPC network. Only packets in this network will be mirrored. All mirrored VMs should have a NIC in the given network. All mirrored subnetworks should belong to the given network.
- Priority int
- The priority of applying this configuration. Priority is used to break ties in cases where there is more than one matching rule. In the case of two rules that apply for a given Instance, the one with the lowest-numbered priority value wins. Default value is 1000. Valid range is 0 through 65535.
- Project string
- Request
Id string - An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
- Region string
- Collector
Ilb PacketMirroring Forwarding Rule Info Args - The Forwarding Rule resource of type loadBalancingScheme=INTERNAL that will be used as collector for mirrored traffic. The specified forwarding rule must have isMirroringCollector set to true.
- Description string
- An optional description of this resource. Provide this property when you create the resource.
- Enable
Packet
Mirroring Enable - Indicates whether or not this packet mirroring takes effect. If set to FALSE, this packet mirroring policy will not be enforced on the network. The default is TRUE.
- Filter
Packet
Mirroring Filter Args - Filter for mirrored traffic. If unspecified, all traffic is mirrored.
- Mirrored
Resources PacketMirroring Mirrored Resource Info Args - PacketMirroring mirroredResourceInfos. MirroredResourceInfo specifies a set of mirrored VM instances, subnetworks and/or tags for which traffic from/to all VM instances will be mirrored.
- Name string
- Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression
[a-z]([-a-z0-9]*[a-z0-9])?
which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. - Network
Packet
Mirroring Network Info Args - Specifies the mirrored VPC network. Only packets in this network will be mirrored. All mirrored VMs should have a NIC in the given network. All mirrored subnetworks should belong to the given network.
- Priority int
- The priority of applying this configuration. Priority is used to break ties in cases where there is more than one matching rule. In the case of two rules that apply for a given Instance, the one with the lowest-numbered priority value wins. Default value is 1000. Valid range is 0 through 65535.
- Project string
- Request
Id string - An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
- region String
- collector
Ilb PacketMirroring Forwarding Rule Info - The Forwarding Rule resource of type loadBalancingScheme=INTERNAL that will be used as collector for mirrored traffic. The specified forwarding rule must have isMirroringCollector set to true.
- description String
- An optional description of this resource. Provide this property when you create the resource.
- enable
Packet
Mirroring Enable - Indicates whether or not this packet mirroring takes effect. If set to FALSE, this packet mirroring policy will not be enforced on the network. The default is TRUE.
- filter
Packet
Mirroring Filter - Filter for mirrored traffic. If unspecified, all traffic is mirrored.
- mirrored
Resources PacketMirroring Mirrored Resource Info - PacketMirroring mirroredResourceInfos. MirroredResourceInfo specifies a set of mirrored VM instances, subnetworks and/or tags for which traffic from/to all VM instances will be mirrored.
- name String
- Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression
[a-z]([-a-z0-9]*[a-z0-9])?
which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. - network
Packet
Mirroring Network Info - Specifies the mirrored VPC network. Only packets in this network will be mirrored. All mirrored VMs should have a NIC in the given network. All mirrored subnetworks should belong to the given network.
- priority Integer
- The priority of applying this configuration. Priority is used to break ties in cases where there is more than one matching rule. In the case of two rules that apply for a given Instance, the one with the lowest-numbered priority value wins. Default value is 1000. Valid range is 0 through 65535.
- project String
- request
Id String - An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
- region string
- collector
Ilb PacketMirroring Forwarding Rule Info - The Forwarding Rule resource of type loadBalancingScheme=INTERNAL that will be used as collector for mirrored traffic. The specified forwarding rule must have isMirroringCollector set to true.
- description string
- An optional description of this resource. Provide this property when you create the resource.
- enable
Packet
Mirroring Enable - Indicates whether or not this packet mirroring takes effect. If set to FALSE, this packet mirroring policy will not be enforced on the network. The default is TRUE.
- filter
Packet
Mirroring Filter - Filter for mirrored traffic. If unspecified, all traffic is mirrored.
- mirrored
Resources PacketMirroring Mirrored Resource Info - PacketMirroring mirroredResourceInfos. MirroredResourceInfo specifies a set of mirrored VM instances, subnetworks and/or tags for which traffic from/to all VM instances will be mirrored.
- name string
- Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression
[a-z]([-a-z0-9]*[a-z0-9])?
which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. - network
Packet
Mirroring Network Info - Specifies the mirrored VPC network. Only packets in this network will be mirrored. All mirrored VMs should have a NIC in the given network. All mirrored subnetworks should belong to the given network.
- priority number
- The priority of applying this configuration. Priority is used to break ties in cases where there is more than one matching rule. In the case of two rules that apply for a given Instance, the one with the lowest-numbered priority value wins. Default value is 1000. Valid range is 0 through 65535.
- project string
- request
Id string - An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
- region str
- collector_
ilb PacketMirroring Forwarding Rule Info Args - The Forwarding Rule resource of type loadBalancingScheme=INTERNAL that will be used as collector for mirrored traffic. The specified forwarding rule must have isMirroringCollector set to true.
- description str
- An optional description of this resource. Provide this property when you create the resource.
- enable
Packet
Mirroring Enable - Indicates whether or not this packet mirroring takes effect. If set to FALSE, this packet mirroring policy will not be enforced on the network. The default is TRUE.
- filter
Packet
Mirroring Filter Args - Filter for mirrored traffic. If unspecified, all traffic is mirrored.
- mirrored_
resources PacketMirroring Mirrored Resource Info Args - PacketMirroring mirroredResourceInfos. MirroredResourceInfo specifies a set of mirrored VM instances, subnetworks and/or tags for which traffic from/to all VM instances will be mirrored.
- name str
- Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression
[a-z]([-a-z0-9]*[a-z0-9])?
which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. - network
Packet
Mirroring Network Info Args - Specifies the mirrored VPC network. Only packets in this network will be mirrored. All mirrored VMs should have a NIC in the given network. All mirrored subnetworks should belong to the given network.
- priority int
- The priority of applying this configuration. Priority is used to break ties in cases where there is more than one matching rule. In the case of two rules that apply for a given Instance, the one with the lowest-numbered priority value wins. Default value is 1000. Valid range is 0 through 65535.
- project str
- request_
id str - An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
- region String
- collector
Ilb Property Map - The Forwarding Rule resource of type loadBalancingScheme=INTERNAL that will be used as collector for mirrored traffic. The specified forwarding rule must have isMirroringCollector set to true.
- description String
- An optional description of this resource. Provide this property when you create the resource.
- enable "FALSE" | "TRUE"
- Indicates whether or not this packet mirroring takes effect. If set to FALSE, this packet mirroring policy will not be enforced on the network. The default is TRUE.
- filter Property Map
- Filter for mirrored traffic. If unspecified, all traffic is mirrored.
- mirrored
Resources Property Map - PacketMirroring mirroredResourceInfos. MirroredResourceInfo specifies a set of mirrored VM instances, subnetworks and/or tags for which traffic from/to all VM instances will be mirrored.
- name String
- Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression
[a-z]([-a-z0-9]*[a-z0-9])?
which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. - network Property Map
- Specifies the mirrored VPC network. Only packets in this network will be mirrored. All mirrored VMs should have a NIC in the given network. All mirrored subnetworks should belong to the given network.
- priority Number
- The priority of applying this configuration. Priority is used to break ties in cases where there is more than one matching rule. In the case of two rules that apply for a given Instance, the one with the lowest-numbered priority value wins. Default value is 1000. Valid range is 0 through 65535.
- project String
- request
Id String - An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
Outputs
All input properties are implicitly available as output properties. Additionally, the PacketMirroring resource produces the following output properties:
- Creation
Timestamp string - Creation timestamp in RFC3339 text format.
- Id string
- The provider-assigned unique ID for this managed resource.
- Kind string
- Type of the resource. Always compute#packetMirroring for packet mirrorings.
- Self
Link string - Server-defined URL for the resource.
- Creation
Timestamp string - Creation timestamp in RFC3339 text format.
- Id string
- The provider-assigned unique ID for this managed resource.
- Kind string
- Type of the resource. Always compute#packetMirroring for packet mirrorings.
- Self
Link string - Server-defined URL for the resource.
- creation
Timestamp String - Creation timestamp in RFC3339 text format.
- id String
- The provider-assigned unique ID for this managed resource.
- kind String
- Type of the resource. Always compute#packetMirroring for packet mirrorings.
- self
Link String - Server-defined URL for the resource.
- creation
Timestamp string - Creation timestamp in RFC3339 text format.
- id string
- The provider-assigned unique ID for this managed resource.
- kind string
- Type of the resource. Always compute#packetMirroring for packet mirrorings.
- self
Link string - Server-defined URL for the resource.
- creation_
timestamp str - Creation timestamp in RFC3339 text format.
- id str
- The provider-assigned unique ID for this managed resource.
- kind str
- Type of the resource. Always compute#packetMirroring for packet mirrorings.
- self_
link str - Server-defined URL for the resource.
- creation
Timestamp String - Creation timestamp in RFC3339 text format.
- id String
- The provider-assigned unique ID for this managed resource.
- kind String
- Type of the resource. Always compute#packetMirroring for packet mirrorings.
- self
Link String - Server-defined URL for the resource.
Supporting Types
PacketMirroringEnable, PacketMirroringEnableArgs
- False
- FALSE
- True
- TRUE
- Packet
Mirroring Enable False - FALSE
- Packet
Mirroring Enable True - TRUE
- False
- FALSE
- True
- TRUE
- False
- FALSE
- True
- TRUE
- FALSE
- FALSE
- TRUE
- TRUE
- "FALSE"
- FALSE
- "TRUE"
- TRUE
PacketMirroringFilter, PacketMirroringFilterArgs
- Cidr
Ranges List<string> - IP CIDR ranges that apply as filter on the source (ingress) or destination (egress) IP in the IP header. Only IPv4 is supported. If no ranges are specified, all traffic that matches the specified IPProtocols is mirrored. If neither cidrRanges nor IPProtocols is specified, all traffic is mirrored.
- Direction
Pulumi.
Google Native. Compute. Beta. Packet Mirroring Filter Direction - Direction of traffic to mirror, either INGRESS, EGRESS, or BOTH. The default is BOTH.
- Ip
Protocols List<string> - Protocols that apply as filter on mirrored traffic. If no protocols are specified, all traffic that matches the specified CIDR ranges is mirrored. If neither cidrRanges nor IPProtocols is specified, all traffic is mirrored.
- Cidr
Ranges []string - IP CIDR ranges that apply as filter on the source (ingress) or destination (egress) IP in the IP header. Only IPv4 is supported. If no ranges are specified, all traffic that matches the specified IPProtocols is mirrored. If neither cidrRanges nor IPProtocols is specified, all traffic is mirrored.
- Direction
Packet
Mirroring Filter Direction - Direction of traffic to mirror, either INGRESS, EGRESS, or BOTH. The default is BOTH.
- Ip
Protocols []string - Protocols that apply as filter on mirrored traffic. If no protocols are specified, all traffic that matches the specified CIDR ranges is mirrored. If neither cidrRanges nor IPProtocols is specified, all traffic is mirrored.
- cidr
Ranges List<String> - IP CIDR ranges that apply as filter on the source (ingress) or destination (egress) IP in the IP header. Only IPv4 is supported. If no ranges are specified, all traffic that matches the specified IPProtocols is mirrored. If neither cidrRanges nor IPProtocols is specified, all traffic is mirrored.
- direction
Packet
Mirroring Filter Direction - Direction of traffic to mirror, either INGRESS, EGRESS, or BOTH. The default is BOTH.
- ip
Protocols List<String> - Protocols that apply as filter on mirrored traffic. If no protocols are specified, all traffic that matches the specified CIDR ranges is mirrored. If neither cidrRanges nor IPProtocols is specified, all traffic is mirrored.
- cidr
Ranges string[] - IP CIDR ranges that apply as filter on the source (ingress) or destination (egress) IP in the IP header. Only IPv4 is supported. If no ranges are specified, all traffic that matches the specified IPProtocols is mirrored. If neither cidrRanges nor IPProtocols is specified, all traffic is mirrored.
- direction
Packet
Mirroring Filter Direction - Direction of traffic to mirror, either INGRESS, EGRESS, or BOTH. The default is BOTH.
- ip
Protocols string[] - Protocols that apply as filter on mirrored traffic. If no protocols are specified, all traffic that matches the specified CIDR ranges is mirrored. If neither cidrRanges nor IPProtocols is specified, all traffic is mirrored.
- cidr_
ranges Sequence[str] - IP CIDR ranges that apply as filter on the source (ingress) or destination (egress) IP in the IP header. Only IPv4 is supported. If no ranges are specified, all traffic that matches the specified IPProtocols is mirrored. If neither cidrRanges nor IPProtocols is specified, all traffic is mirrored.
- direction
Packet
Mirroring Filter Direction - Direction of traffic to mirror, either INGRESS, EGRESS, or BOTH. The default is BOTH.
- ip_
protocols Sequence[str] - Protocols that apply as filter on mirrored traffic. If no protocols are specified, all traffic that matches the specified CIDR ranges is mirrored. If neither cidrRanges nor IPProtocols is specified, all traffic is mirrored.
- cidr
Ranges List<String> - IP CIDR ranges that apply as filter on the source (ingress) or destination (egress) IP in the IP header. Only IPv4 is supported. If no ranges are specified, all traffic that matches the specified IPProtocols is mirrored. If neither cidrRanges nor IPProtocols is specified, all traffic is mirrored.
- direction "BOTH" | "EGRESS" | "INGRESS"
- Direction of traffic to mirror, either INGRESS, EGRESS, or BOTH. The default is BOTH.
- ip
Protocols List<String> - Protocols that apply as filter on mirrored traffic. If no protocols are specified, all traffic that matches the specified CIDR ranges is mirrored. If neither cidrRanges nor IPProtocols is specified, all traffic is mirrored.
PacketMirroringFilterDirection, PacketMirroringFilterDirectionArgs
- Both
- BOTHDefault, both directions are mirrored.
- Egress
- EGRESSOnly egress traffic is mirrored.
- Ingress
- INGRESSOnly ingress traffic is mirrored.
- Packet
Mirroring Filter Direction Both - BOTHDefault, both directions are mirrored.
- Packet
Mirroring Filter Direction Egress - EGRESSOnly egress traffic is mirrored.
- Packet
Mirroring Filter Direction Ingress - INGRESSOnly ingress traffic is mirrored.
- Both
- BOTHDefault, both directions are mirrored.
- Egress
- EGRESSOnly egress traffic is mirrored.
- Ingress
- INGRESSOnly ingress traffic is mirrored.
- Both
- BOTHDefault, both directions are mirrored.
- Egress
- EGRESSOnly egress traffic is mirrored.
- Ingress
- INGRESSOnly ingress traffic is mirrored.
- BOTH
- BOTHDefault, both directions are mirrored.
- EGRESS
- EGRESSOnly egress traffic is mirrored.
- INGRESS
- INGRESSOnly ingress traffic is mirrored.
- "BOTH"
- BOTHDefault, both directions are mirrored.
- "EGRESS"
- EGRESSOnly egress traffic is mirrored.
- "INGRESS"
- INGRESSOnly ingress traffic is mirrored.
PacketMirroringFilterResponse, PacketMirroringFilterResponseArgs
- Cidr
Ranges List<string> - IP CIDR ranges that apply as filter on the source (ingress) or destination (egress) IP in the IP header. Only IPv4 is supported. If no ranges are specified, all traffic that matches the specified IPProtocols is mirrored. If neither cidrRanges nor IPProtocols is specified, all traffic is mirrored.
- Direction string
- Direction of traffic to mirror, either INGRESS, EGRESS, or BOTH. The default is BOTH.
- Ip
Protocols List<string> - Protocols that apply as filter on mirrored traffic. If no protocols are specified, all traffic that matches the specified CIDR ranges is mirrored. If neither cidrRanges nor IPProtocols is specified, all traffic is mirrored.
- Cidr
Ranges []string - IP CIDR ranges that apply as filter on the source (ingress) or destination (egress) IP in the IP header. Only IPv4 is supported. If no ranges are specified, all traffic that matches the specified IPProtocols is mirrored. If neither cidrRanges nor IPProtocols is specified, all traffic is mirrored.
- Direction string
- Direction of traffic to mirror, either INGRESS, EGRESS, or BOTH. The default is BOTH.
- Ip
Protocols []string - Protocols that apply as filter on mirrored traffic. If no protocols are specified, all traffic that matches the specified CIDR ranges is mirrored. If neither cidrRanges nor IPProtocols is specified, all traffic is mirrored.
- cidr
Ranges List<String> - IP CIDR ranges that apply as filter on the source (ingress) or destination (egress) IP in the IP header. Only IPv4 is supported. If no ranges are specified, all traffic that matches the specified IPProtocols is mirrored. If neither cidrRanges nor IPProtocols is specified, all traffic is mirrored.
- direction String
- Direction of traffic to mirror, either INGRESS, EGRESS, or BOTH. The default is BOTH.
- ip
Protocols List<String> - Protocols that apply as filter on mirrored traffic. If no protocols are specified, all traffic that matches the specified CIDR ranges is mirrored. If neither cidrRanges nor IPProtocols is specified, all traffic is mirrored.
- cidr
Ranges string[] - IP CIDR ranges that apply as filter on the source (ingress) or destination (egress) IP in the IP header. Only IPv4 is supported. If no ranges are specified, all traffic that matches the specified IPProtocols is mirrored. If neither cidrRanges nor IPProtocols is specified, all traffic is mirrored.
- direction string
- Direction of traffic to mirror, either INGRESS, EGRESS, or BOTH. The default is BOTH.
- ip
Protocols string[] - Protocols that apply as filter on mirrored traffic. If no protocols are specified, all traffic that matches the specified CIDR ranges is mirrored. If neither cidrRanges nor IPProtocols is specified, all traffic is mirrored.
- cidr_
ranges Sequence[str] - IP CIDR ranges that apply as filter on the source (ingress) or destination (egress) IP in the IP header. Only IPv4 is supported. If no ranges are specified, all traffic that matches the specified IPProtocols is mirrored. If neither cidrRanges nor IPProtocols is specified, all traffic is mirrored.
- direction str
- Direction of traffic to mirror, either INGRESS, EGRESS, or BOTH. The default is BOTH.
- ip_
protocols Sequence[str] - Protocols that apply as filter on mirrored traffic. If no protocols are specified, all traffic that matches the specified CIDR ranges is mirrored. If neither cidrRanges nor IPProtocols is specified, all traffic is mirrored.
- cidr
Ranges List<String> - IP CIDR ranges that apply as filter on the source (ingress) or destination (egress) IP in the IP header. Only IPv4 is supported. If no ranges are specified, all traffic that matches the specified IPProtocols is mirrored. If neither cidrRanges nor IPProtocols is specified, all traffic is mirrored.
- direction String
- Direction of traffic to mirror, either INGRESS, EGRESS, or BOTH. The default is BOTH.
- ip
Protocols List<String> - Protocols that apply as filter on mirrored traffic. If no protocols are specified, all traffic that matches the specified CIDR ranges is mirrored. If neither cidrRanges nor IPProtocols is specified, all traffic is mirrored.
PacketMirroringForwardingRuleInfo, PacketMirroringForwardingRuleInfoArgs
- Url string
- Resource URL to the forwarding rule representing the ILB configured as destination of the mirrored traffic.
- Url string
- Resource URL to the forwarding rule representing the ILB configured as destination of the mirrored traffic.
- url String
- Resource URL to the forwarding rule representing the ILB configured as destination of the mirrored traffic.
- url string
- Resource URL to the forwarding rule representing the ILB configured as destination of the mirrored traffic.
- url str
- Resource URL to the forwarding rule representing the ILB configured as destination of the mirrored traffic.
- url String
- Resource URL to the forwarding rule representing the ILB configured as destination of the mirrored traffic.
PacketMirroringForwardingRuleInfoResponse, PacketMirroringForwardingRuleInfoResponseArgs
- Canonical
Url string - Unique identifier for the forwarding rule; defined by the server.
- Url string
- Resource URL to the forwarding rule representing the ILB configured as destination of the mirrored traffic.
- Canonical
Url string - Unique identifier for the forwarding rule; defined by the server.
- Url string
- Resource URL to the forwarding rule representing the ILB configured as destination of the mirrored traffic.
- canonical
Url String - Unique identifier for the forwarding rule; defined by the server.
- url String
- Resource URL to the forwarding rule representing the ILB configured as destination of the mirrored traffic.
- canonical
Url string - Unique identifier for the forwarding rule; defined by the server.
- url string
- Resource URL to the forwarding rule representing the ILB configured as destination of the mirrored traffic.
- canonical_
url str - Unique identifier for the forwarding rule; defined by the server.
- url str
- Resource URL to the forwarding rule representing the ILB configured as destination of the mirrored traffic.
- canonical
Url String - Unique identifier for the forwarding rule; defined by the server.
- url String
- Resource URL to the forwarding rule representing the ILB configured as destination of the mirrored traffic.
PacketMirroringMirroredResourceInfo, PacketMirroringMirroredResourceInfoArgs
- Instances
List<Pulumi.
Google Native. Compute. Beta. Inputs. Packet Mirroring Mirrored Resource Info Instance Info> - A set of virtual machine instances that are being mirrored. They must live in zones contained in the same region as this packetMirroring. Note that this config will apply only to those network interfaces of the Instances that belong to the network specified in this packetMirroring. You may specify a maximum of 50 Instances.
- Subnetworks
List<Pulumi.
Google Native. Compute. Beta. Inputs. Packet Mirroring Mirrored Resource Info Subnet Info> - A set of subnetworks for which traffic from/to all VM instances will be mirrored. They must live in the same region as this packetMirroring. You may specify a maximum of 5 subnetworks.
- List<string>
- A set of mirrored tags. Traffic from/to all VM instances that have one or more of these tags will be mirrored.
- Instances
[]Packet
Mirroring Mirrored Resource Info Instance Info - A set of virtual machine instances that are being mirrored. They must live in zones contained in the same region as this packetMirroring. Note that this config will apply only to those network interfaces of the Instances that belong to the network specified in this packetMirroring. You may specify a maximum of 50 Instances.
- Subnetworks
[]Packet
Mirroring Mirrored Resource Info Subnet Info - A set of subnetworks for which traffic from/to all VM instances will be mirrored. They must live in the same region as this packetMirroring. You may specify a maximum of 5 subnetworks.
- []string
- A set of mirrored tags. Traffic from/to all VM instances that have one or more of these tags will be mirrored.
- instances
List<Packet
Mirroring Mirrored Resource Info Instance Info> - A set of virtual machine instances that are being mirrored. They must live in zones contained in the same region as this packetMirroring. Note that this config will apply only to those network interfaces of the Instances that belong to the network specified in this packetMirroring. You may specify a maximum of 50 Instances.
- subnetworks
List<Packet
Mirroring Mirrored Resource Info Subnet Info> - A set of subnetworks for which traffic from/to all VM instances will be mirrored. They must live in the same region as this packetMirroring. You may specify a maximum of 5 subnetworks.
- List<String>
- A set of mirrored tags. Traffic from/to all VM instances that have one or more of these tags will be mirrored.
- instances
Packet
Mirroring Mirrored Resource Info Instance Info[] - A set of virtual machine instances that are being mirrored. They must live in zones contained in the same region as this packetMirroring. Note that this config will apply only to those network interfaces of the Instances that belong to the network specified in this packetMirroring. You may specify a maximum of 50 Instances.
- subnetworks
Packet
Mirroring Mirrored Resource Info Subnet Info[] - A set of subnetworks for which traffic from/to all VM instances will be mirrored. They must live in the same region as this packetMirroring. You may specify a maximum of 5 subnetworks.
- string[]
- A set of mirrored tags. Traffic from/to all VM instances that have one or more of these tags will be mirrored.
- instances
Sequence[Packet
Mirroring Mirrored Resource Info Instance Info] - A set of virtual machine instances that are being mirrored. They must live in zones contained in the same region as this packetMirroring. Note that this config will apply only to those network interfaces of the Instances that belong to the network specified in this packetMirroring. You may specify a maximum of 50 Instances.
- subnetworks
Sequence[Packet
Mirroring Mirrored Resource Info Subnet Info] - A set of subnetworks for which traffic from/to all VM instances will be mirrored. They must live in the same region as this packetMirroring. You may specify a maximum of 5 subnetworks.
- Sequence[str]
- A set of mirrored tags. Traffic from/to all VM instances that have one or more of these tags will be mirrored.
- instances List<Property Map>
- A set of virtual machine instances that are being mirrored. They must live in zones contained in the same region as this packetMirroring. Note that this config will apply only to those network interfaces of the Instances that belong to the network specified in this packetMirroring. You may specify a maximum of 50 Instances.
- subnetworks List<Property Map>
- A set of subnetworks for which traffic from/to all VM instances will be mirrored. They must live in the same region as this packetMirroring. You may specify a maximum of 5 subnetworks.
- List<String>
- A set of mirrored tags. Traffic from/to all VM instances that have one or more of these tags will be mirrored.
PacketMirroringMirroredResourceInfoInstanceInfo, PacketMirroringMirroredResourceInfoInstanceInfoArgs
- Url string
- Resource URL to the virtual machine instance which is being mirrored.
- Url string
- Resource URL to the virtual machine instance which is being mirrored.
- url String
- Resource URL to the virtual machine instance which is being mirrored.
- url string
- Resource URL to the virtual machine instance which is being mirrored.
- url str
- Resource URL to the virtual machine instance which is being mirrored.
- url String
- Resource URL to the virtual machine instance which is being mirrored.
PacketMirroringMirroredResourceInfoInstanceInfoResponse, PacketMirroringMirroredResourceInfoInstanceInfoResponseArgs
- Canonical
Url string - Unique identifier for the instance; defined by the server.
- Url string
- Resource URL to the virtual machine instance which is being mirrored.
- Canonical
Url string - Unique identifier for the instance; defined by the server.
- Url string
- Resource URL to the virtual machine instance which is being mirrored.
- canonical
Url String - Unique identifier for the instance; defined by the server.
- url String
- Resource URL to the virtual machine instance which is being mirrored.
- canonical
Url string - Unique identifier for the instance; defined by the server.
- url string
- Resource URL to the virtual machine instance which is being mirrored.
- canonical_
url str - Unique identifier for the instance; defined by the server.
- url str
- Resource URL to the virtual machine instance which is being mirrored.
- canonical
Url String - Unique identifier for the instance; defined by the server.
- url String
- Resource URL to the virtual machine instance which is being mirrored.
PacketMirroringMirroredResourceInfoResponse, PacketMirroringMirroredResourceInfoResponseArgs
- Instances
List<Pulumi.
Google Native. Compute. Beta. Inputs. Packet Mirroring Mirrored Resource Info Instance Info Response> - A set of virtual machine instances that are being mirrored. They must live in zones contained in the same region as this packetMirroring. Note that this config will apply only to those network interfaces of the Instances that belong to the network specified in this packetMirroring. You may specify a maximum of 50 Instances.
- Subnetworks
List<Pulumi.
Google Native. Compute. Beta. Inputs. Packet Mirroring Mirrored Resource Info Subnet Info Response> - A set of subnetworks for which traffic from/to all VM instances will be mirrored. They must live in the same region as this packetMirroring. You may specify a maximum of 5 subnetworks.
- List<string>
- A set of mirrored tags. Traffic from/to all VM instances that have one or more of these tags will be mirrored.
- Instances
[]Packet
Mirroring Mirrored Resource Info Instance Info Response - A set of virtual machine instances that are being mirrored. They must live in zones contained in the same region as this packetMirroring. Note that this config will apply only to those network interfaces of the Instances that belong to the network specified in this packetMirroring. You may specify a maximum of 50 Instances.
- Subnetworks
[]Packet
Mirroring Mirrored Resource Info Subnet Info Response - A set of subnetworks for which traffic from/to all VM instances will be mirrored. They must live in the same region as this packetMirroring. You may specify a maximum of 5 subnetworks.
- []string
- A set of mirrored tags. Traffic from/to all VM instances that have one or more of these tags will be mirrored.
- instances
List<Packet
Mirroring Mirrored Resource Info Instance Info Response> - A set of virtual machine instances that are being mirrored. They must live in zones contained in the same region as this packetMirroring. Note that this config will apply only to those network interfaces of the Instances that belong to the network specified in this packetMirroring. You may specify a maximum of 50 Instances.
- subnetworks
List<Packet
Mirroring Mirrored Resource Info Subnet Info Response> - A set of subnetworks for which traffic from/to all VM instances will be mirrored. They must live in the same region as this packetMirroring. You may specify a maximum of 5 subnetworks.
- List<String>
- A set of mirrored tags. Traffic from/to all VM instances that have one or more of these tags will be mirrored.
- instances
Packet
Mirroring Mirrored Resource Info Instance Info Response[] - A set of virtual machine instances that are being mirrored. They must live in zones contained in the same region as this packetMirroring. Note that this config will apply only to those network interfaces of the Instances that belong to the network specified in this packetMirroring. You may specify a maximum of 50 Instances.
- subnetworks
Packet
Mirroring Mirrored Resource Info Subnet Info Response[] - A set of subnetworks for which traffic from/to all VM instances will be mirrored. They must live in the same region as this packetMirroring. You may specify a maximum of 5 subnetworks.
- string[]
- A set of mirrored tags. Traffic from/to all VM instances that have one or more of these tags will be mirrored.
- instances
Sequence[Packet
Mirroring Mirrored Resource Info Instance Info Response] - A set of virtual machine instances that are being mirrored. They must live in zones contained in the same region as this packetMirroring. Note that this config will apply only to those network interfaces of the Instances that belong to the network specified in this packetMirroring. You may specify a maximum of 50 Instances.
- subnetworks
Sequence[Packet
Mirroring Mirrored Resource Info Subnet Info Response] - A set of subnetworks for which traffic from/to all VM instances will be mirrored. They must live in the same region as this packetMirroring. You may specify a maximum of 5 subnetworks.
- Sequence[str]
- A set of mirrored tags. Traffic from/to all VM instances that have one or more of these tags will be mirrored.
- instances List<Property Map>
- A set of virtual machine instances that are being mirrored. They must live in zones contained in the same region as this packetMirroring. Note that this config will apply only to those network interfaces of the Instances that belong to the network specified in this packetMirroring. You may specify a maximum of 50 Instances.
- subnetworks List<Property Map>
- A set of subnetworks for which traffic from/to all VM instances will be mirrored. They must live in the same region as this packetMirroring. You may specify a maximum of 5 subnetworks.
- List<String>
- A set of mirrored tags. Traffic from/to all VM instances that have one or more of these tags will be mirrored.
PacketMirroringMirroredResourceInfoSubnetInfo, PacketMirroringMirroredResourceInfoSubnetInfoArgs
- Url string
- Resource URL to the subnetwork for which traffic from/to all VM instances will be mirrored.
- Url string
- Resource URL to the subnetwork for which traffic from/to all VM instances will be mirrored.
- url String
- Resource URL to the subnetwork for which traffic from/to all VM instances will be mirrored.
- url string
- Resource URL to the subnetwork for which traffic from/to all VM instances will be mirrored.
- url str
- Resource URL to the subnetwork for which traffic from/to all VM instances will be mirrored.
- url String
- Resource URL to the subnetwork for which traffic from/to all VM instances will be mirrored.
PacketMirroringMirroredResourceInfoSubnetInfoResponse, PacketMirroringMirroredResourceInfoSubnetInfoResponseArgs
- Canonical
Url string - Unique identifier for the subnetwork; defined by the server.
- Url string
- Resource URL to the subnetwork for which traffic from/to all VM instances will be mirrored.
- Canonical
Url string - Unique identifier for the subnetwork; defined by the server.
- Url string
- Resource URL to the subnetwork for which traffic from/to all VM instances will be mirrored.
- canonical
Url String - Unique identifier for the subnetwork; defined by the server.
- url String
- Resource URL to the subnetwork for which traffic from/to all VM instances will be mirrored.
- canonical
Url string - Unique identifier for the subnetwork; defined by the server.
- url string
- Resource URL to the subnetwork for which traffic from/to all VM instances will be mirrored.
- canonical_
url str - Unique identifier for the subnetwork; defined by the server.
- url str
- Resource URL to the subnetwork for which traffic from/to all VM instances will be mirrored.
- canonical
Url String - Unique identifier for the subnetwork; defined by the server.
- url String
- Resource URL to the subnetwork for which traffic from/to all VM instances will be mirrored.
PacketMirroringNetworkInfo, PacketMirroringNetworkInfoArgs
- Url string
- URL of the network resource.
- Url string
- URL of the network resource.
- url String
- URL of the network resource.
- url string
- URL of the network resource.
- url str
- URL of the network resource.
- url String
- URL of the network resource.
PacketMirroringNetworkInfoResponse, PacketMirroringNetworkInfoResponseArgs
- Canonical
Url string - Unique identifier for the network; defined by the server.
- Url string
- URL of the network resource.
- Canonical
Url string - Unique identifier for the network; defined by the server.
- Url string
- URL of the network resource.
- canonical
Url String - Unique identifier for the network; defined by the server.
- url String
- URL of the network resource.
- canonical
Url string - Unique identifier for the network; defined by the server.
- url string
- URL of the network resource.
- canonical_
url str - Unique identifier for the network; defined by the server.
- url str
- URL of the network resource.
- canonical
Url String - Unique identifier for the network; defined by the server.
- url String
- URL of the network resource.
Package Details
- Repository
- Google Cloud Native pulumi/pulumi-google-native
- License
- Apache-2.0
Google Cloud Native is in preview. Google Cloud Classic is fully supported.