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

This package is deprecated. Active development has stopped. We recommend using the Google Cloud package instead.

Viewing docs for Google Cloud Native v0.32.0
published on Wednesday, Nov 29, 2023 by Pulumi
google-native logo Google Cloud Native

This package is deprecated. Active development has stopped. We recommend using the Google Cloud package instead.

Viewing docs for 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/beta:PacketMirroring
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "google-native_compute_beta_packet_mirroring" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args PacketMirroringArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args PacketMirroringArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args PacketMirroringArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args PacketMirroringArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args PacketMirroringArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var google_nativePacketMirroringResource = new GoogleNative.Compute.Beta.PacketMirroring("google-nativePacketMirroringResource", new()
    {
        Region = "string",
        CollectorIlb = new GoogleNative.Compute.Beta.Inputs.PacketMirroringForwardingRuleInfoArgs
        {
            Url = "string",
        },
        Description = "string",
        Enable = GoogleNative.Compute.Beta.PacketMirroringEnable.False,
        Filter = new GoogleNative.Compute.Beta.Inputs.PacketMirroringFilterArgs
        {
            CidrRanges = new[]
            {
                "string",
            },
            Direction = GoogleNative.Compute.Beta.PacketMirroringFilterDirection.Both,
            IpProtocols = new[]
            {
                "string",
            },
        },
        MirroredResources = new GoogleNative.Compute.Beta.Inputs.PacketMirroringMirroredResourceInfoArgs
        {
            Instances = new[]
            {
                new GoogleNative.Compute.Beta.Inputs.PacketMirroringMirroredResourceInfoInstanceInfoArgs
                {
                    Url = "string",
                },
            },
            Subnetworks = new[]
            {
                new GoogleNative.Compute.Beta.Inputs.PacketMirroringMirroredResourceInfoSubnetInfoArgs
                {
                    Url = "string",
                },
            },
            Tags = new[]
            {
                "string",
            },
        },
        Name = "string",
        Network = new GoogleNative.Compute.Beta.Inputs.PacketMirroringNetworkInfoArgs
        {
            Url = "string",
        },
        Priority = 0,
        Project = "string",
        RequestId = "string",
    });
    
    example, err := computebeta.NewPacketMirroring(ctx, "google-nativePacketMirroringResource", &computebeta.PacketMirroringArgs{
    	Region: pulumi.String("string"),
    	CollectorIlb: &compute.PacketMirroringForwardingRuleInfoArgs{
    		Url: pulumi.String("string"),
    	},
    	Description: pulumi.String("string"),
    	Enable:      computebeta.PacketMirroringEnableFalse,
    	Filter: &compute.PacketMirroringFilterArgs{
    		CidrRanges: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    		Direction: computebeta.PacketMirroringFilterDirectionBoth,
    		IpProtocols: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    	},
    	MirroredResources: &compute.PacketMirroringMirroredResourceInfoArgs{
    		Instances: compute.PacketMirroringMirroredResourceInfoInstanceInfoArray{
    			&compute.PacketMirroringMirroredResourceInfoInstanceInfoArgs{
    				Url: pulumi.String("string"),
    			},
    		},
    		Subnetworks: compute.PacketMirroringMirroredResourceInfoSubnetInfoArray{
    			&compute.PacketMirroringMirroredResourceInfoSubnetInfoArgs{
    				Url: pulumi.String("string"),
    			},
    		},
    		Tags: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    	},
    	Name: pulumi.String("string"),
    	Network: &compute.PacketMirroringNetworkInfoArgs{
    		Url: pulumi.String("string"),
    	},
    	Priority:  pulumi.Int(0),
    	Project:   pulumi.String("string"),
    	RequestId: pulumi.String("string"),
    })
    
    resource "google-native_compute_beta_packet_mirroring" "google-nativePacketMirroringResource" {
      lifecycle {
        create_before_destroy = true
      }
      region = "string"
      collector_ilb = {
        url = "string"
      }
      description = "string"
      enable      = "FALSE"
      filter = {
        cidr_ranges  = ["string"]
        direction    = "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"
    }
    
    var google_nativePacketMirroringResource = new com.pulumi.googlenative.compute.PacketMirroring("google-nativePacketMirroringResource", com.pulumi.googlenative.compute.PacketMirroringArgs.builder()
        .region("string")
        .collectorIlb(com.pulumi.googlenative.compute.inputs.PacketMirroringForwardingRuleInfoArgs.builder()
            .url("string")
            .build())
        .description("string")
        .enable(com.pulumi.googlenative.compute_beta.enums.PacketMirroringEnable.False)
        .filter(com.pulumi.googlenative.compute.inputs.PacketMirroringFilterArgs.builder()
            .cidrRanges("string")
            .direction(com.pulumi.googlenative.compute_beta.enums.PacketMirroringFilterDirection.Both)
            .ipProtocols("string")
            .build())
        .mirroredResources(com.pulumi.googlenative.compute.inputs.PacketMirroringMirroredResourceInfoArgs.builder()
            .instances(com.pulumi.googlenative.compute.inputs.PacketMirroringMirroredResourceInfoInstanceInfoArgs.builder()
                .url("string")
                .build())
            .subnetworks(com.pulumi.googlenative.compute.inputs.PacketMirroringMirroredResourceInfoSubnetInfoArgs.builder()
                .url("string")
                .build())
            .tags("string")
            .build())
        .name("string")
        .network(com.pulumi.googlenative.compute.inputs.PacketMirroringNetworkInfoArgs.builder()
            .url("string")
            .build())
        .priority(0)
        .project("string")
        .requestId("string")
        .build());
    
    google_native_packet_mirroring_resource = google_native.compute.beta.PacketMirroring("google-nativePacketMirroringResource",
        region="string",
        collector_ilb={
            "url": "string",
        },
        description="string",
        enable=google_native.compute.beta.PacketMirroringEnable.FALSE,
        filter={
            "cidr_ranges": ["string"],
            "direction": google_native.compute.beta.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 google_nativePacketMirroringResource = new google_native.compute.beta.PacketMirroring("google-nativePacketMirroringResource", {
        region: "string",
        collectorIlb: {
            url: "string",
        },
        description: "string",
        enable: google_native.compute.beta.PacketMirroringEnable.False,
        filter: {
            cidrRanges: ["string"],
            direction: google_native.compute.beta.PacketMirroringFilterDirection.Both,
            ipProtocols: ["string"],
        },
        mirroredResources: {
            instances: [{
                url: "string",
            }],
            subnetworks: [{
                url: "string",
            }],
            tags: ["string"],
        },
        name: "string",
        network: {
            url: "string",
        },
        priority: 0,
        project: "string",
        requestId: "string",
    });
    
    type: google-native:compute/beta:PacketMirroring
    properties:
        collectorIlb:
            url: string
        description: string
        enable: false
        filter:
            cidrRanges:
                - string
            direction: BOTH
            ipProtocols:
                - string
        mirroredResources:
            instances:
                - url: string
            subnetworks:
                - url: string
            tags:
                - string
        name: string
        network:
            url: string
        priority: 0
        project: string
        region: string
        requestId: string
    

    PacketMirroring Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    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.Beta.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.Beta.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.Beta.Inputs.PacketMirroringFilter
    Filter for mirrored traffic. If unspecified, all traffic is mirrored.
    MirroredResources Pulumi.GoogleNative.Compute.Beta.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.Beta.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
    collector_ilb object
    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 object
    Filter for mirrored traffic. If unspecified, all traffic is mirrored.
    mirrored_resources object
    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 object
    Specifies the mirrored VPC network. Only packets in this network will be mirrored. All mirrored VMs should have a NIC in the given network. All mirrored subnetworks should belong to the given network.
    priority number
    The priority of applying this configuration. Priority is used to break ties in cases where there is more than one matching rule. In the case of two rules that apply for a given Instance, the one with the lowest-numbered priority value wins. Default value is 1000. Valid range is 0 through 65535.
    project string
    request_id string
    An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
    region 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.
    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.
    creation_timestamp string
    Creation timestamp in RFC3339 text format.
    id string
    The provider-assigned unique ID for this managed resource.
    kind string
    Type of the resource. Always compute#packetMirroring for packet mirrorings.
    self_link string
    Server-defined URL for the resource.
    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.
    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.
    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.
    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.

    Look up Existing PacketMirroring Resource

    Get an existing PacketMirroring resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, opts?: CustomResourceOptions): PacketMirroring
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None) -> PacketMirroring
    func GetPacketMirroring(ctx *Context, name string, id IDInput, state *PacketMirroringState, opts ...ResourceOption) (*PacketMirroring, error)
    public static PacketMirroring Get(string name, Input<string> id, CustomResourceOptions? opts = null)
    public static PacketMirroring get(String name, Output<String> id, CustomResourceOptions options)
    resources:  existingPacketMirroring:    type: google-native:compute/beta:PacketMirroring    get:      id: ${id}
    import {
      to = google-native_compute_beta_packet_mirroring.example
      id = "${id}"
    }
    
    name string
    The unique name of the resulting resource.
    id Input<ID>
    The unique provider ID of the resource to look up.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resulting resource.
    id str
    The unique provider ID of the resource to look up.
    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 resulting resource.
    id IDInput
    The unique provider ID of the resource to look up.
    state PacketMirroringState
    Pass nil. This resource has no state arguments.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resulting resource.
    id Input<string>
    The unique provider ID of the resource to look up.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resulting resource.
    id Output<String>
    The unique provider ID of the resource to look up.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Supporting Types

    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.

    NameValue
    FalseFALSE
    TrueTRUE
    NameValue
    PacketMirroringEnableFalseFALSE
    PacketMirroringEnableTrueTRUE
    Value
    FALSE
    TRUE
    NameValue
    FalseFALSE
    TrueTRUE
    NameValue
    FalseFALSE
    TrueTRUE
    NameValue
    FALSEFALSE
    TRUETRUE
    Value
    FALSE
    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.Beta.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 list(string)
    IP CIDR ranges that apply as filter on the source (ingress) or destination (egress) IP in the IP header. Only IPv4 is supported. If no ranges are specified, all traffic that matches the specified IPProtocols is mirrored. If neither cidrRanges nor IPProtocols is specified, all traffic is mirrored.
    direction "BOTH" | "EGRESS" | "INGRESS"
    Direction of traffic to mirror, either INGRESS, EGRESS, or BOTH. The default is BOTH.
    ip_protocols list(string)
    Protocols that apply as filter on mirrored traffic. If no protocols are specified, all traffic that matches the specified CIDR ranges is mirrored. If neither cidrRanges nor IPProtocols is specified, all traffic is mirrored.
    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

    Direction of traffic to mirror, either INGRESS, EGRESS, or BOTH. The default is BOTH.

    NameValueDescription
    BothBOTHDefault, both directions are mirrored.
    EgressEGRESSOnly egress traffic is mirrored.
    IngressINGRESSOnly ingress traffic is mirrored.
    NameValueDescription
    PacketMirroringFilterDirectionBothBOTHDefault, both directions are mirrored.
    PacketMirroringFilterDirectionEgressEGRESSOnly egress traffic is mirrored.
    PacketMirroringFilterDirectionIngressINGRESSOnly ingress traffic is mirrored.
    ValueDescription
    BOTHDefault, both directions are mirrored.
    EGRESSOnly egress traffic is mirrored.
    INGRESSOnly ingress traffic is mirrored.
    NameValueDescription
    BothBOTHDefault, both directions are mirrored.
    EgressEGRESSOnly egress traffic is mirrored.
    IngressINGRESSOnly ingress traffic is mirrored.
    NameValueDescription
    BothBOTHDefault, both directions are mirrored.
    EgressEGRESSOnly egress traffic is mirrored.
    IngressINGRESSOnly ingress traffic is mirrored.
    NameValueDescription
    BOTHBOTHDefault, both directions are mirrored.
    EGRESSEGRESSOnly egress traffic is mirrored.
    INGRESSINGRESSOnly ingress traffic is mirrored.
    ValueDescription
    BOTHDefault, both directions are mirrored.
    EGRESSOnly egress traffic is mirrored.
    INGRESSOnly ingress traffic is mirrored.

    PacketMirroringFilterResponse

    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 list(string)
    IP CIDR ranges that apply as filter on the source (ingress) or destination (egress) IP in the IP header. Only IPv4 is supported. If no ranges are specified, all traffic that matches the specified IPProtocols is mirrored. If neither cidrRanges nor IPProtocols is specified, all traffic is mirrored.
    direction string
    Direction of traffic to mirror, either INGRESS, EGRESS, or BOTH. The default is BOTH.
    ip_protocols list(string)
    Protocols that apply as filter on mirrored traffic. If no protocols are specified, all traffic that matches the specified CIDR ranges is mirrored. If neither cidrRanges nor IPProtocols is specified, all traffic is mirrored.
    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 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

    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 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.Beta.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.Beta.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(object)
    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(object)
    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 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 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

    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 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

    Instances List<Pulumi.GoogleNative.Compute.Beta.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.Beta.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(object)
    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(object)
    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 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 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

    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 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 string
    URL of the network resource.
    url str
    URL of the network resource.
    url String
    URL of the network resource.

    PacketMirroringNetworkInfoResponse

    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 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

    This package is deprecated. Active development has stopped. We recommend using the Google Cloud package instead.

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

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial