1. Packages
  2. Google Cloud Native
  3. API Docs
  4. compute
  5. compute/alpha
  6. PacketMirroring

Google Cloud Native is in preview. Google Cloud Classic is fully supported.

Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi

google-native.compute/alpha.PacketMirroring

Explore with Pulumi AI

google-native logo

Google Cloud Native is in preview. Google Cloud Classic is fully supported.

Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi

    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.GoogleNative.Compute.Alpha.Inputs.PacketMirroringForwardingRuleInfo
    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.GoogleNative.Compute.Alpha.PacketMirroringEnable
    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.GoogleNative.Compute.Alpha.Inputs.PacketMirroringFilter
    Filter for mirrored traffic. If unspecified, all traffic is mirrored.
    MirroredResources Pulumi.GoogleNative.Compute.Alpha.Inputs.PacketMirroringMirroredResourceInfo
    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.GoogleNative.Compute.Alpha.Inputs.PacketMirroringNetworkInfo
    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 PacketMirroringForwardingRuleInfoArgs
    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 PacketMirroringEnable
    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 PacketMirroringFilterArgs
    Filter for mirrored traffic. If unspecified, all traffic is mirrored.
    MirroredResources PacketMirroringMirroredResourceInfoArgs
    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 PacketMirroringNetworkInfoArgs
    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 PacketMirroringForwardingRuleInfo
    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 PacketMirroringEnable
    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 PacketMirroringFilter
    Filter for mirrored traffic. If unspecified, all traffic is mirrored.
    mirroredResources PacketMirroringMirroredResourceInfo
    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 PacketMirroringNetworkInfo
    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 PacketMirroringForwardingRuleInfo
    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 PacketMirroringEnable
    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 PacketMirroringFilter
    Filter for mirrored traffic. If unspecified, all traffic is mirrored.
    mirroredResources PacketMirroringMirroredResourceInfo
    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 PacketMirroringNetworkInfo
    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 PacketMirroringForwardingRuleInfoArgs
    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 PacketMirroringEnable
    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 PacketMirroringFilterArgs
    Filter for mirrored traffic. If unspecified, all traffic is mirrored.
    mirrored_resources PacketMirroringMirroredResourceInfoArgs
    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 PacketMirroringNetworkInfoArgs
    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.
    SelfLinkWithId string
    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.
    SelfLinkWithId string
    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.
    selfLinkWithId String
    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.
    selfLinkWithId string
    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_with_id str
    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.
    selfLinkWithId String
    Server-defined URL for this resource with the resource id.

    Supporting Types

    PacketMirroringEnable, PacketMirroringEnableArgs

    False
    FALSE
    True
    TRUE
    PacketMirroringEnableFalse
    FALSE
    PacketMirroringEnableTrue
    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.GoogleNative.Compute.Alpha.PacketMirroringFilterDirection
    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 PacketMirroringFilterDirection
    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 PacketMirroringFilterDirection
    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 PacketMirroringFilterDirection
    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 PacketMirroringFilterDirection
    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.
    PacketMirroringFilterDirectionBoth
    BOTHDefault, both directions are mirrored.
    PacketMirroringFilterDirectionEgress
    EGRESSOnly egress traffic is mirrored.
    PacketMirroringFilterDirectionIngress
    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.GoogleNative.Compute.Alpha.Inputs.PacketMirroringMirroredResourceInfoInstanceInfo>
    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.GoogleNative.Compute.Alpha.Inputs.PacketMirroringMirroredResourceInfoSubnetInfo>
    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.
    Tags 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 []PacketMirroringMirroredResourceInfoInstanceInfo
    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 []PacketMirroringMirroredResourceInfoSubnetInfo
    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.
    Tags []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<PacketMirroringMirroredResourceInfoInstanceInfo>
    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<PacketMirroringMirroredResourceInfoSubnetInfo>
    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.
    tags 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 PacketMirroringMirroredResourceInfoInstanceInfo[]
    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 PacketMirroringMirroredResourceInfoSubnetInfo[]
    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.
    tags 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[PacketMirroringMirroredResourceInfoInstanceInfo]
    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[PacketMirroringMirroredResourceInfoSubnetInfo]
    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.
    tags 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.
    tags 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.GoogleNative.Compute.Alpha.Inputs.PacketMirroringMirroredResourceInfoInstanceInfoResponse>
    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.GoogleNative.Compute.Alpha.Inputs.PacketMirroringMirroredResourceInfoSubnetInfoResponse>
    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.
    Tags 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 []PacketMirroringMirroredResourceInfoInstanceInfoResponse
    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 []PacketMirroringMirroredResourceInfoSubnetInfoResponse
    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.
    Tags []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<PacketMirroringMirroredResourceInfoInstanceInfoResponse>
    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<PacketMirroringMirroredResourceInfoSubnetInfoResponse>
    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.
    tags 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 PacketMirroringMirroredResourceInfoInstanceInfoResponse[]
    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 PacketMirroringMirroredResourceInfoSubnetInfoResponse[]
    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.
    tags 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[PacketMirroringMirroredResourceInfoInstanceInfoResponse]
    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[PacketMirroringMirroredResourceInfoSubnetInfoResponse]
    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.
    tags 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.
    tags 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-native logo

    Google Cloud Native is in preview. Google Cloud Classic is fully supported.

    Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi