Reference documentation and code samples for the Google Cloud Compute V1 API class Google::Cloud::Compute::V1::PacketMirroringMirroredResourceInfo.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#instances
def instances() -> ::Array<::Google::Cloud::Compute::V1::PacketMirroringMirroredResourceInfoInstanceInfo>
Returns
- (::Array<::Google::Cloud::Compute::V1::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.
#instances=
def instances=(value) -> ::Array<::Google::Cloud::Compute::V1::PacketMirroringMirroredResourceInfoInstanceInfo>
Parameter
- value (::Array<::Google::Cloud::Compute::V1::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.
Returns
- (::Array<::Google::Cloud::Compute::V1::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
def subnetworks() -> ::Array<::Google::Cloud::Compute::V1::PacketMirroringMirroredResourceInfoSubnetInfo>
Returns
- (::Array<::Google::Cloud::Compute::V1::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.
#subnetworks=
def subnetworks=(value) -> ::Array<::Google::Cloud::Compute::V1::PacketMirroringMirroredResourceInfoSubnetInfo>
Parameter
- value (::Array<::Google::Cloud::Compute::V1::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.
Returns
- (::Array<::Google::Cloud::Compute::V1::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
def tags() -> ::Array<::String>
Returns
- (::Array<::String>) — A set of mirrored tags. Traffic from/to all VM instances that have one or more of these tags will be mirrored.
#tags=
def tags=(value) -> ::Array<::String>
Parameter
- value (::Array<::String>) — A set of mirrored tags. Traffic from/to all VM instances that have one or more of these tags will be mirrored.
Returns
- (::Array<::String>) — A set of mirrored tags. Traffic from/to all VM instances that have one or more of these tags will be mirrored.