Google Cloud Native is in preview. Google Cloud Classic is fully supported.
google-native.compute/alpha.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/alpha: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 packetMirroringResource = new GoogleNative.Compute.Alpha.PacketMirroring("packetMirroringResource", new()
{
    Region = "string",
    CollectorIlb = new GoogleNative.Compute.Alpha.Inputs.PacketMirroringForwardingRuleInfoArgs
    {
        Url = "string",
    },
    Description = "string",
    Enable = GoogleNative.Compute.Alpha.PacketMirroringEnable.False,
    Filter = new GoogleNative.Compute.Alpha.Inputs.PacketMirroringFilterArgs
    {
        CidrRanges = new[]
        {
            "string",
        },
        Direction = GoogleNative.Compute.Alpha.PacketMirroringFilterDirection.Both,
        IpProtocols = new[]
        {
            "string",
        },
    },
    MirroredResources = new GoogleNative.Compute.Alpha.Inputs.PacketMirroringMirroredResourceInfoArgs
    {
        Instances = new[]
        {
            new GoogleNative.Compute.Alpha.Inputs.PacketMirroringMirroredResourceInfoInstanceInfoArgs
            {
                Url = "string",
            },
        },
        Subnetworks = new[]
        {
            new GoogleNative.Compute.Alpha.Inputs.PacketMirroringMirroredResourceInfoSubnetInfoArgs
            {
                Url = "string",
            },
        },
        Tags = new[]
        {
            "string",
        },
    },
    Name = "string",
    Network = new GoogleNative.Compute.Alpha.Inputs.PacketMirroringNetworkInfoArgs
    {
        Url = "string",
    },
    Priority = 0,
    Project = "string",
    RequestId = "string",
});
example, err := compute.NewPacketMirroring(ctx, "packetMirroringResource", &compute.PacketMirroringArgs{
	Region: pulumi.String("string"),
	CollectorIlb: &compute.PacketMirroringForwardingRuleInfoArgs{
		Url: pulumi.String("string"),
	},
	Description: pulumi.String("string"),
	Enable:      compute.PacketMirroringEnableFalse,
	Filter: &compute.PacketMirroringFilterArgs{
		CidrRanges: pulumi.StringArray{
			pulumi.String("string"),
		},
		Direction: compute.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 packetMirroringResource = new PacketMirroring("packetMirroringResource", 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());
packet_mirroring_resource = google_native.compute.alpha.PacketMirroring("packetMirroringResource",
    region="string",
    collector_ilb={
        "url": "string",
    },
    description="string",
    enable=google_native.compute.alpha.PacketMirroringEnable.FALSE,
    filter={
        "cidr_ranges": ["string"],
        "direction": google_native.compute.alpha.PacketMirroringFilterDirection.BOTH,
        "ip_protocols": ["string"],
    },
    mirrored_resources={
        "instances": [{
            "url": "string",
        }],
        "subnetworks": [{
            "url": "string",
        }],
        "tags": ["string"],
    },
    name="string",
    network={
        "url": "string",
    },
    priority=0,
    project="string",
    request_id="string")
const packetMirroringResource = new google_native.compute.alpha.PacketMirroring("packetMirroringResource", {
    region: "string",
    collectorIlb: {
        url: "string",
    },
    description: "string",
    enable: google_native.compute.alpha.PacketMirroringEnable.False,
    filter: {
        cidrRanges: ["string"],
        direction: google_native.compute.alpha.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/alpha: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
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The PacketMirroring resource accepts the following input properties:
- Region string
- CollectorIlb Pulumi.Google Native. Compute. Alpha. 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. Alpha. 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. Alpha. Inputs. Packet Mirroring Filter 
- Filter for mirrored traffic. If unspecified, all traffic is mirrored.
- MirroredResources Pulumi.Google Native. Compute. Alpha. 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. Alpha. 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
- RequestId 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
- CollectorIlb 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
PacketMirroring 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
PacketMirroring Filter Args 
- Filter for mirrored traffic. If unspecified, all traffic is mirrored.
- MirroredResources 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
PacketMirroring 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
- RequestId 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
- collectorIlb 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
PacketMirroring 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
PacketMirroring Filter 
- Filter for mirrored traffic. If unspecified, all traffic is mirrored.
- mirroredResources 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
PacketMirroring 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
- requestId 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
- collectorIlb 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
PacketMirroring 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
PacketMirroring Filter 
- Filter for mirrored traffic. If unspecified, all traffic is mirrored.
- mirroredResources 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
PacketMirroring 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
- requestId 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
PacketMirroring 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
PacketMirroring 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
PacketMirroring 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
- collectorIlb 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.
- mirroredResources 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
- requestId 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:
- CreationTimestamp 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.
- SelfLink string
- Server-defined URL for the resource.
- SelfLink stringWith Id 
- Server-defined URL for this resource with the resource id.
- CreationTimestamp 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.
- SelfLink string
- Server-defined URL for the resource.
- SelfLink stringWith Id 
- Server-defined URL for this resource with the resource id.
- creationTimestamp 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.
- selfLink String
- Server-defined URL for the resource.
- selfLink StringWith Id 
- Server-defined URL for this resource with the resource id.
- creationTimestamp 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.
- selfLink string
- Server-defined URL for the resource.
- selfLink stringWith Id 
- Server-defined URL for this resource with the resource id.
- 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.
- self_link_ strwith_ id 
- Server-defined URL for this resource with the resource id.
- creationTimestamp 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.
- selfLink String
- Server-defined URL for the resource.
- selfLink StringWith Id 
- Server-defined URL for this resource with the resource id.
Supporting Types
PacketMirroringEnable, PacketMirroringEnableArgs      
- False
- FALSE
- True
- TRUE
- PacketMirroring Enable False 
- FALSE
- PacketMirroring Enable True 
- TRUE
- False
- FALSE
- True
- TRUE
- False
- FALSE
- True
- TRUE
- FALSE
- FALSE
- TRUE
- TRUE
- "FALSE"
- FALSE
- "TRUE"
- TRUE
PacketMirroringFilter, PacketMirroringFilterArgs      
- CidrRanges 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. Alpha. Packet Mirroring Filter Direction 
- Direction of traffic to mirror, either INGRESS, EGRESS, or BOTH. The default is BOTH.
- IpProtocols 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.
- CidrRanges []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
PacketMirroring Filter Direction 
- Direction of traffic to mirror, either INGRESS, EGRESS, or BOTH. The default is BOTH.
- IpProtocols []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.
- cidrRanges 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
PacketMirroring Filter Direction 
- Direction of traffic to mirror, either INGRESS, EGRESS, or BOTH. The default is BOTH.
- ipProtocols 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.
- cidrRanges 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
PacketMirroring Filter Direction 
- Direction of traffic to mirror, either INGRESS, EGRESS, or BOTH. The default is BOTH.
- ipProtocols 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
PacketMirroring 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.
- cidrRanges 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.
- ipProtocols 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.
- PacketMirroring Filter Direction Both 
- BOTHDefault, both directions are mirrored.
- PacketMirroring Filter Direction Egress 
- EGRESSOnly egress traffic is mirrored.
- PacketMirroring 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        
- CidrRanges 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.
- IpProtocols 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.
- CidrRanges []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.
- IpProtocols []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.
- cidrRanges 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.
- ipProtocols 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.
- cidrRanges 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.
- ipProtocols 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.
- cidrRanges 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.
- ipProtocols 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            
- CanonicalUrl 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.
- CanonicalUrl 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.
- canonicalUrl 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.
- canonicalUrl 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.
- canonicalUrl 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. Alpha. 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. Alpha. 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
[]PacketMirroring 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
[]PacketMirroring 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<PacketMirroring 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<PacketMirroring 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
PacketMirroring 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
PacketMirroring 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[PacketMirroring 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[PacketMirroring 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                
- CanonicalUrl string
- Unique identifier for the instance; defined by the server.
- Url string
- Resource URL to the virtual machine instance which is being mirrored.
- CanonicalUrl string
- Unique identifier for the instance; defined by the server.
- Url string
- Resource URL to the virtual machine instance which is being mirrored.
- canonicalUrl String
- Unique identifier for the instance; defined by the server.
- url String
- Resource URL to the virtual machine instance which is being mirrored.
- canonicalUrl 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.
- canonicalUrl 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. Alpha. 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. Alpha. 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
[]PacketMirroring 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
[]PacketMirroring 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<PacketMirroring 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<PacketMirroring 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
PacketMirroring 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
PacketMirroring 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[PacketMirroring 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[PacketMirroring 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                
- CanonicalUrl 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.
- CanonicalUrl 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.
- canonicalUrl 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.
- canonicalUrl 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.
- canonicalUrl 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          
- CanonicalUrl string
- Unique identifier for the network; defined by the server.
- Url string
- URL of the network resource.
- CanonicalUrl string
- Unique identifier for the network; defined by the server.
- Url string
- URL of the network resource.
- canonicalUrl String
- Unique identifier for the network; defined by the server.
- url String
- URL of the network resource.
- canonicalUrl 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.
- canonicalUrl 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.