共用方式為


PacketCaptureMachineScope Class

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 class PacketCaptureMachineScope : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Network.Models.PacketCaptureMachineScope>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Network.Models.PacketCaptureMachineScope>
type PacketCaptureMachineScope = class
    interface IJsonModel<PacketCaptureMachineScope>
    interface IPersistableModel<PacketCaptureMachineScope>
Public Class PacketCaptureMachineScope
Implements IJsonModel(Of PacketCaptureMachineScope), IPersistableModel(Of PacketCaptureMachineScope)
Inheritance
PacketCaptureMachineScope
Implements

Constructors

PacketCaptureMachineScope()

Initializes a new instance of PacketCaptureMachineScope.

Properties

Exclude

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

Include

List of AzureVMSS instances to run packet capture on.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<PacketCaptureMachineScope>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<PacketCaptureMachineScope>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<PacketCaptureMachineScope>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<PacketCaptureMachineScope>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<PacketCaptureMachineScope>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to