Compartir a través de


ElasticSanVirtualNetworkRule Class

Definition

Virtual Network rule.

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

Constructors

ElasticSanVirtualNetworkRule(ResourceIdentifier)

Initializes a new instance of ElasticSanVirtualNetworkRule.

Properties

Action

The action of virtual network rule.

VirtualNetworkResourceId

Resource ID of a subnet, for example: /subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.Network/virtualNetworks/{vnetName}/subnets/{subnetName}.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<ElasticSanVirtualNetworkRule>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ElasticSanVirtualNetworkRule>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ElasticSanVirtualNetworkRule>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ElasticSanVirtualNetworkRule>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ElasticSanVirtualNetworkRule>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to