VirtualNetworkPeeringInner Class

Definition

Peerings in a virtual network resource.

[Microsoft.Rest.Serialization.JsonTransformation]
public class VirtualNetworkPeeringInner : Microsoft.Azure.Management.ResourceManager.Fluent.SubResource
type VirtualNetworkPeeringInner = class
    inherit SubResource
Public Class VirtualNetworkPeeringInner
Inherits SubResource
Inheritance
VirtualNetworkPeeringInner
Attributes
Microsoft.Rest.Serialization.JsonTransformationAttribute

Constructors

VirtualNetworkPeeringInner()

Initializes a new instance of the VirtualNetworkPeeringInner class.

VirtualNetworkPeeringInner(String, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, SubResource, String, String, String, String)

Initializes a new instance of the VirtualNetworkPeeringInner class.

Properties

AllowForwardedTraffic

Gets or sets whether the forwarded traffic from the VMs in the remote virtual network will be allowed/disallowed.

AllowGatewayTransit

Gets or sets if gateway links can be used in remote virtual networking to link to this virtual network.

AllowVirtualNetworkAccess

Gets or sets whether the VMs in the linked virtual network space would be able to access all the VMs in local Virtual network space.

Etag

Gets or sets a unique read-only string that changes whenever the resource is updated.

Id

Resource Id

(Inherited from SubResource)
Name

Gets or sets the name of the resource that is unique within a resource group. This name can be used to access the resource.

PeeringState

Gets or sets the status of the virtual network peering. Possible values are 'Initiated', 'Connected', and 'Disconnected'. Possible values include: 'Initiated', 'Connected', 'Disconnected'

ProvisioningState

Gets or sets the provisioning state of the resource.

RemoteVirtualNetwork

Gets or sets the reference of the remote virtual network.

UseRemoteGateways

Gets or sets 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.

Applies to