VirtualNetworkPeeringData Class

Definition

A class representing the VirtualNetworkPeering data model. Peerings in a virtual network resource.

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

Constructors

VirtualNetworkPeeringData()

Initializes a new instance of VirtualNetworkPeeringData.

Properties

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

Whether complete virtual network address space is peered.

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

A list of address blocks reserved for this virtual network in CIDR notation.

LocalSubnetNames

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

LocalVirtualNetworkAddressPrefixes

A list of address blocks reserved for this virtual network in CIDR notation.

Name

Resource name.

(Inherited from NetworkWritableResourceData)
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

A list of address blocks reserved for this virtual network in CIDR notation.

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.

RemoteVirtualNetworkAddressPrefixes

A list of address blocks reserved for this virtual network in CIDR notation.

RemoteVirtualNetworkEncryption

The reference to the remote virtual network's encryption.

RemoteVirtualNetworkId

Gets or sets Id.

ResourceGuid

The resourceGuid property of the Virtual Network peering resource.

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.

Explicit Interface Implementations

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<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