Compute Engine v1 API - Class PacketMirroring (2.9.0)

public sealed class PacketMirroring : IMessage<PacketMirroring>, IEquatable<PacketMirroring>, IDeepCloneable<PacketMirroring>, IBufferMessage, IMessage

Reference documentation and code samples for the Compute Engine v1 API class PacketMirroring.

Represents a Packet Mirroring resource. Packet Mirroring clones the traffic of specified instances in your Virtual Private Cloud (VPC) network and forwards it to a collector destination, such as an instance group of an internal TCP/UDP load balancer, for analysis or examination. For more information about setting up Packet Mirroring, see Using Packet Mirroring.

Inheritance

object > PacketMirroring

Namespace

GoogleCloudGoogle.Cloud.ComputeV1

Assembly

Google.Cloud.Compute.V1.dll

Constructors

PacketMirroring()

public PacketMirroring()

PacketMirroring(PacketMirroring)

public PacketMirroring(PacketMirroring other)
Parameter
NameDescription
otherPacketMirroring

Properties

CollectorIlb

public PacketMirroringForwardingRuleInfo CollectorIlb { get; set; }

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.

Property Value
TypeDescription
PacketMirroringForwardingRuleInfo

CreationTimestamp

public string CreationTimestamp { get; set; }

[Output Only] Creation timestamp in RFC3339 text format.

Property Value
TypeDescription
string

Description

public string Description { get; set; }

An optional description of this resource. Provide this property when you create the resource.

Property Value
TypeDescription
string

Enable

public string Enable { get; set; }

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. Check the Enable enum for the list of possible values.

Property Value
TypeDescription
string

Filter

public PacketMirroringFilter Filter { get; set; }

Filter for mirrored traffic. If unspecified, all traffic is mirrored.

Property Value
TypeDescription
PacketMirroringFilter

HasCreationTimestamp

public bool HasCreationTimestamp { get; }

Gets whether the "creation_timestamp" field is set

Property Value
TypeDescription
bool

HasDescription

public bool HasDescription { get; }

Gets whether the "description" field is set

Property Value
TypeDescription
bool

HasEnable

public bool HasEnable { get; }

Gets whether the "enable" field is set

Property Value
TypeDescription
bool

HasId

public bool HasId { get; }

Gets whether the "id" field is set

Property Value
TypeDescription
bool

HasKind

public bool HasKind { get; }

Gets whether the "kind" field is set

Property Value
TypeDescription
bool

HasName

public bool HasName { get; }

Gets whether the "name" field is set

Property Value
TypeDescription
bool

HasPriority

public bool HasPriority { get; }

Gets whether the "priority" field is set

Property Value
TypeDescription
bool

HasRegion

public bool HasRegion { get; }

Gets whether the "region" field is set

Property Value
TypeDescription
bool
public bool HasSelfLink { get; }

Gets whether the "self_link" field is set

Property Value
TypeDescription
bool

Id

public ulong Id { get; set; }

[Output Only] The unique identifier for the resource. This identifier is defined by the server.

Property Value
TypeDescription
ulong

Kind

public string Kind { get; set; }

[Output Only] Type of the resource. Always compute#packetMirroring for packet mirrorings.

Property Value
TypeDescription
string

MirroredResources

public PacketMirroringMirroredResourceInfo MirroredResources { get; set; }

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.

Property Value
TypeDescription
PacketMirroringMirroredResourceInfo

Name

public string Name { get; set; }

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.

Property Value
TypeDescription
string

Network

public PacketMirroringNetworkInfo Network { get; set; }

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.

Property Value
TypeDescription
PacketMirroringNetworkInfo

Priority

public uint Priority { get; set; }

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.

Property Value
TypeDescription
uint

Region

public string Region { get; set; }

[Output Only] URI of the region where the packetMirroring resides.

Property Value
TypeDescription
string
public string SelfLink { get; set; }

[Output Only] Server-defined URL for the resource.

Property Value
TypeDescription
string