PacketCaptureMachineScope Class
- java.
lang. Object - com.
azure. resourcemanager. network. models. PacketCaptureMachineScope
- com.
Implements
public final class PacketCaptureMachineScope
implements JsonSerializable<PacketCaptureMachineScope>
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.
Constructor Summary
Constructor | Description |
---|---|
PacketCaptureMachineScope() |
Creates an instance of Packet |
Method Summary
Modifier and Type | Method and Description |
---|---|
List<String> |
exclude()
Get the exclude property: List of AzureVMSS instances which has to be excluded from the AzureVMSS from running packet capture. |
static
Packet |
fromJson(JsonReader jsonReader)
Reads an instance of Packet |
List<String> |
include()
Get the include property: List of AzureVMSS instances to run packet capture on. |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Packet |
withExclude(List<String> exclude)
Set the exclude property: List of AzureVMSS instances which has to be excluded from the AzureVMSS from running packet capture. |
Packet |
withInclude(List<String> include)
Set the include property: List of AzureVMSS instances to run packet capture on. |
Methods inherited from java.lang.Object
Constructor Details
PacketCaptureMachineScope
public PacketCaptureMachineScope()
Creates an instance of PacketCaptureMachineScope class.
Method Details
exclude
public List
Get the exclude property: List of AzureVMSS instances which has to be excluded from the AzureVMSS from running packet capture.
Returns:
fromJson
public static PacketCaptureMachineScope fromJson(JsonReader jsonReader)
Reads an instance of PacketCaptureMachineScope from the JsonReader.
Parameters:
Returns:
Throws:
include
public List
Get the include property: List of AzureVMSS instances to run packet capture on.
Returns:
toJson
validate
public void validate()
Validates the instance.
withExclude
public PacketCaptureMachineScope withExclude(List
Set the exclude property: List of AzureVMSS instances which has to be excluded from the AzureVMSS from running packet capture.
Parameters:
Returns:
withInclude
public PacketCaptureMachineScope withInclude(List
Set the include property: List of AzureVMSS instances to run packet capture on.
Parameters:
Returns:
Applies to
Azure SDK for Java