共用方式為


NetworkAnalyticsVirtualNetworkRule Class

Definition

Virtual Network Rule.

public class NetworkAnalyticsVirtualNetworkRule : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.NetworkAnalytics.Models.NetworkAnalyticsVirtualNetworkRule>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.NetworkAnalytics.Models.NetworkAnalyticsVirtualNetworkRule>
public class NetworkAnalyticsVirtualNetworkRule
type NetworkAnalyticsVirtualNetworkRule = class
    interface IJsonModel<NetworkAnalyticsVirtualNetworkRule>
    interface IPersistableModel<NetworkAnalyticsVirtualNetworkRule>
type NetworkAnalyticsVirtualNetworkRule = class
Public Class NetworkAnalyticsVirtualNetworkRule
Implements IJsonModel(Of NetworkAnalyticsVirtualNetworkRule), IPersistableModel(Of NetworkAnalyticsVirtualNetworkRule)
Public Class NetworkAnalyticsVirtualNetworkRule
Inheritance
NetworkAnalyticsVirtualNetworkRule
Implements

Constructors

NetworkAnalyticsVirtualNetworkRule(String)

Initializes a new instance of NetworkAnalyticsVirtualNetworkRule.

Properties

Action

The action of virtual network rule.

Id

Resource ID of a subnet.

State

Gets the state of virtual network rule.

Explicit Interface Implementations

IJsonModel<NetworkAnalyticsVirtualNetworkRule>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<NetworkAnalyticsVirtualNetworkRule>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<NetworkAnalyticsVirtualNetworkRule>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<NetworkAnalyticsVirtualNetworkRule>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<NetworkAnalyticsVirtualNetworkRule>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to