共用方式為


NetworkWatcherData Class

Definition

A class representing the NetworkWatcher data model. Network watcher in a resource group.

public class NetworkWatcherData : Azure.ResourceManager.Network.Models.NetworkTrackedResourceData, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Network.NetworkWatcherData>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Network.NetworkWatcherData>
type NetworkWatcherData = class
    inherit NetworkTrackedResourceData
    interface IJsonModel<NetworkWatcherData>
    interface IPersistableModel<NetworkWatcherData>
Public Class NetworkWatcherData
Inherits NetworkTrackedResourceData
Implements IJsonModel(Of NetworkWatcherData), IPersistableModel(Of NetworkWatcherData)
Inheritance
NetworkWatcherData
Implements

Constructors

NetworkWatcherData()

Initializes a new instance of NetworkWatcherData.

Properties

ETag

A unique read-only string that changes whenever the resource is updated.

Id

Resource ID.

(Inherited from NetworkTrackedResourceData)
Location

Resource location.

(Inherited from NetworkTrackedResourceData)
Name

Resource name.

(Inherited from NetworkTrackedResourceData)
ProvisioningState

The provisioning state of the network watcher resource.

ResourceType

Resource type.

(Inherited from NetworkTrackedResourceData)
Tags

Resource tags.

(Inherited from NetworkTrackedResourceData)

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) (Inherited from NetworkTrackedResourceData)

Explicit Interface Implementations

IJsonModel<NetworkTrackedResourceData>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

(Inherited from NetworkTrackedResourceData)
IJsonModel<NetworkTrackedResourceData>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

(Inherited from NetworkTrackedResourceData)
IJsonModel<NetworkWatcherData>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<NetworkWatcherData>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<NetworkTrackedResourceData>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

(Inherited from NetworkTrackedResourceData)
IPersistableModel<NetworkTrackedResourceData>.GetFormatFromOptions(ModelReaderWriterOptions)

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

(Inherited from NetworkTrackedResourceData)
IPersistableModel<NetworkTrackedResourceData>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

(Inherited from NetworkTrackedResourceData)
IPersistableModel<NetworkWatcherData>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<NetworkWatcherData>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<NetworkWatcherData>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to