Share via


PrivateAccessVirtualNetwork Class

Definition

Description of a Virtual Network that is useable for private site access.

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

Constructors

PrivateAccessVirtualNetwork()

Initializes a new instance of PrivateAccessVirtualNetwork.

Properties

Key

The key (ID) of the Virtual Network.

Name

The name of the Virtual Network.

ResourceId

The ARM uri of the Virtual Network.

Subnets

A List of subnets that access is allowed to on this Virtual Network. An empty array (but not null) is interpreted to mean that all subnets are allowed within this Virtual Network.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<PrivateAccessVirtualNetwork>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<PrivateAccessVirtualNetwork>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<PrivateAccessVirtualNetwork>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<PrivateAccessVirtualNetwork>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<PrivateAccessVirtualNetwork>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to