VirtualNetworkPeeringData Class

Definition

Compatibility declaration for the VirtualNetworkPeeringData type.

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

Constructors

Name Description
VirtualNetworkPeeringData()

Initializes a new instance of VirtualNetworkPeeringData.

Properties

Name Description
AllowForwardedTraffic

Whether the forwarded traffic from the VMs in the local virtual network will be allowed/disallowed in remote virtual network.

AllowGatewayTransit

If gateway links can be used in remote virtual networking to link to this virtual network.

AllowVirtualNetworkAccess

Whether the VMs in the local virtual network space would be able to access the VMs in remote virtual network space.

AreCompleteVnetsPeered

Compatibility member.

DoNotVerifyRemoteGateways

If we need to verify the provisioning state of the remote gateway.

EnableOnlyIPv6Peering

Whether only Ipv6 address space is peered for subnet peering.

ETag

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

Id

Resource ID.

(Inherited from NetworkWritableResourceData)
LocalAddressPrefixes

Compatibility member.

LocalAddressSpace

The local address space of the local virtual network that is peered.

LocalSubnetNames

List of local subnet names that are subnet peered with remote virtual network.

LocalVirtualNetworkAddressPrefixes

Compatibility member.

LocalVirtualNetworkAddressSpace

The current local address space of the local virtual network that is peered.

Name

Resource name.

(Inherited from NetworkWritableResourceData)
PeerCompleteVnets

Whether complete virtual network address space is peered.

PeeringState

The status of the virtual network peering.

PeeringSyncLevel

The peering sync status of the virtual network peering.

ProvisioningState

The provisioning state of the virtual network peering resource.

RemoteAddressPrefixes

Compatibility member.

RemoteAddressSpace

The reference to the address space peered with the remote virtual network.

RemoteBgpCommunities

The reference to the remote virtual network's Bgp Communities.

RemoteSubnetNames

List of remote subnet names from remote virtual network that are subnet peered.

RemoteVirtualNetwork

Compatibility member.

RemoteVirtualNetworkAddressPrefixes

Compatibility member.

RemoteVirtualNetworkAddressSpace

The reference to the current address space of the remote virtual network.

RemoteVirtualNetworkEncryption

The reference to the remote virtual network's encryption.

RemoteVirtualNetworkId

Resource ID.

ResourceGuid

Gets the ResourceGuid compatibility property.

ResourceType

Resource type.

(Inherited from NetworkWritableResourceData)
UseRemoteGateways

If remote gateways can be used on this virtual network. If the flag is set to true, and allowGatewayTransit on remote peering is also true, virtual network will use gateways of remote virtual network for transit. Only one peering can have this flag set to true. This flag cannot be set if virtual network already has a gateway.

Methods

Name Description
JsonModelCreateCore(Utf8JsonReader, ModelReaderWriterOptions)
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)
PersistableModelCreateCore(BinaryData, ModelReaderWriterOptions)
PersistableModelWriteCore(ModelReaderWriterOptions)

Explicit Interface Implementations

Name Description
IJsonModel<NetworkSubResource>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

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

Writes the model to the provided Utf8JsonWriter.

(Inherited from NetworkSubResource)
IJsonModel<NetworkWritableResourceData>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

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

Writes the model to the provided Utf8JsonWriter.

(Inherited from NetworkWritableResourceData)
IJsonModel<VirtualNetworkPeeringData>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<VirtualNetworkPeeringData>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<NetworkSubResource>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

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

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

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

Writes the model into a BinaryData.

(Inherited from NetworkSubResource)
IPersistableModel<NetworkWritableResourceData>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

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

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

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

Writes the model into a BinaryData.

(Inherited from NetworkWritableResourceData)
IPersistableModel<VirtualNetworkPeeringData>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<VirtualNetworkPeeringData>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<VirtualNetworkPeeringData>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to