ArmNetworkModelFactory.PacketCaptureMachineScope Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.