Sprog

ArmNetworkModelFactory.PacketCaptureMachineScope Method

Definition

A list of AzureVMSS instances which can be included or excluded to run packet capture. If both included and excluded are empty, then the packet capture will run on all instances of AzureVMSS.

public static Azure.ResourceManager.Network.Models.PacketCaptureMachineScope PacketCaptureMachineScope(System.Collections.Generic.IEnumerable<string> include = default, System.Collections.Generic.IEnumerable<string> exclude = default);
static member PacketCaptureMachineScope : seq<string> * seq<string> -> Azure.ResourceManager.Network.Models.PacketCaptureMachineScope
Public Shared Function PacketCaptureMachineScope (Optional include As IEnumerable(Of String) = Nothing, Optional exclude As IEnumerable(Of String) = Nothing) As PacketCaptureMachineScope

Parameters

include
IEnumerable<String>

List of AzureVMSS instances to run packet capture on.

exclude
IEnumerable<String>

List of AzureVMSS instances which has to be excluded from the AzureVMSS from running packet capture.

Returns

A new PacketCaptureMachineScope instance for mocking.

Applies to