VirtualNetworkPeeringArgs

data class VirtualNetworkPeeringArgs(val allowForwardedTraffic: Output<Boolean>? = null, val allowGatewayTransit: Output<Boolean>? = null, val allowVirtualNetworkAccess: Output<Boolean>? = null, val doNotVerifyRemoteGateways: Output<Boolean>? = null, val enableOnlyIPv6Peering: Output<Boolean>? = null, val id: Output<String>? = null, val localAddressSpace: Output<AddressSpaceArgs>? = null, val localSubnetNames: Output<List<String>>? = null, val localVirtualNetworkAddressSpace: Output<AddressSpaceArgs>? = null, val name: Output<String>? = null, val peerCompleteVnets: Output<Boolean>? = null, val peeringState: Output<Either<String, VirtualNetworkPeeringState>>? = null, val peeringSyncLevel: Output<Either<String, VirtualNetworkPeeringLevel>>? = null, val remoteAddressSpace: Output<AddressSpaceArgs>? = null, val remoteBgpCommunities: Output<VirtualNetworkBgpCommunitiesArgs>? = null, val remoteSubnetNames: Output<List<String>>? = null, val remoteVirtualNetwork: Output<SubResourceArgs>? = null, val remoteVirtualNetworkAddressSpace: Output<AddressSpaceArgs>? = null, val type: Output<String>? = null, val useRemoteGateways: Output<Boolean>? = null) : ConvertibleToJava<VirtualNetworkPeeringArgs>

Peerings in a virtual network resource.

Constructors

Link copied to clipboard
constructor(allowForwardedTraffic: Output<Boolean>? = null, allowGatewayTransit: Output<Boolean>? = null, allowVirtualNetworkAccess: Output<Boolean>? = null, doNotVerifyRemoteGateways: Output<Boolean>? = null, enableOnlyIPv6Peering: Output<Boolean>? = null, id: Output<String>? = null, localAddressSpace: Output<AddressSpaceArgs>? = null, localSubnetNames: Output<List<String>>? = null, localVirtualNetworkAddressSpace: Output<AddressSpaceArgs>? = null, name: Output<String>? = null, peerCompleteVnets: Output<Boolean>? = null, peeringState: Output<Either<String, VirtualNetworkPeeringState>>? = null, peeringSyncLevel: Output<Either<String, VirtualNetworkPeeringLevel>>? = null, remoteAddressSpace: Output<AddressSpaceArgs>? = null, remoteBgpCommunities: Output<VirtualNetworkBgpCommunitiesArgs>? = null, remoteSubnetNames: Output<List<String>>? = null, remoteVirtualNetwork: Output<SubResourceArgs>? = null, remoteVirtualNetworkAddressSpace: Output<AddressSpaceArgs>? = null, type: Output<String>? = null, useRemoteGateways: Output<Boolean>? = null)

Properties

Link copied to clipboard
val allowForwardedTraffic: Output<Boolean>? = null

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

Link copied to clipboard
val allowGatewayTransit: Output<Boolean>? = null

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

Link copied to clipboard
val allowVirtualNetworkAccess: Output<Boolean>? = null

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

Link copied to clipboard
val doNotVerifyRemoteGateways: Output<Boolean>? = null

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

Link copied to clipboard
val enableOnlyIPv6Peering: Output<Boolean>? = null

Whether only Ipv6 address space is peered for subnet peering.

Link copied to clipboard
val id: Output<String>? = null

Resource ID.

Link copied to clipboard
val localAddressSpace: Output<AddressSpaceArgs>? = null

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

Link copied to clipboard
val localSubnetNames: Output<List<String>>? = null

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

Link copied to clipboard

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

Link copied to clipboard
val name: Output<String>? = null

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

Link copied to clipboard
val peerCompleteVnets: Output<Boolean>? = null

Whether complete virtual network address space is peered.

Link copied to clipboard
val peeringState: Output<Either<String, VirtualNetworkPeeringState>>? = null

The status of the virtual network peering.

Link copied to clipboard
val peeringSyncLevel: Output<Either<String, VirtualNetworkPeeringLevel>>? = null

The peering sync status of the virtual network peering.

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard
val remoteSubnetNames: Output<List<String>>? = null

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

Link copied to clipboard

The reference to the remote virtual network. The remote virtual network can be in the same or different region (preview). See here to register for the preview and learn more (https://docs.microsoft.com/en-us/azure/virtual-network/virtual-network-create-peering).

Link copied to clipboard

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

Link copied to clipboard
val type: Output<String>? = null

Resource type.

Link copied to clipboard
val useRemoteGateways: Output<Boolean>? = null

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.

Functions

Link copied to clipboard
open override fun toJava(): VirtualNetworkPeeringArgs