Class VirtualNetworkPeeringState
Inherited Members
Namespace: Pulumi.Azure.Network
Assembly: Pulumi.Azure.dll
Syntax
public sealed class VirtualNetworkPeeringState : ResourceArgs
Constructors
View SourceVirtualNetworkPeeringState()
Declaration
public VirtualNetworkPeeringState()
Properties
View SourceAllowForwardedTraffic
Controls if forwarded traffic from VMs in the remote virtual network is allowed. Defaults to false.
Declaration
public Input<bool> AllowForwardedTraffic { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Boolean> |
AllowGatewayTransit
Controls gatewayLinks can be used in the remote virtual network’s link to the local virtual network.
Declaration
public Input<bool> AllowGatewayTransit { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Boolean> |
AllowVirtualNetworkAccess
Controls if the VMs in the remote virtual network can access VMs in the local virtual network. Defaults to true.
Declaration
public Input<bool> AllowVirtualNetworkAccess { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Boolean> |
Name
The name of the virtual network peering. Changing this forces a new resource to be created.
Declaration
public Input<string> Name { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
RemoteVirtualNetworkId
The full Azure resource ID of the remote virtual network. Changing this forces a new resource to be created.
Declaration
public Input<string> RemoteVirtualNetworkId { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
ResourceGroupName
The name of the resource group in which to create the virtual network. Changing this forces a new resource to be created.
Declaration
public Input<string> ResourceGroupName { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
UseRemoteGateways
Controls if remote gateways can be used on
the local virtual network. If the flag is set to true, and
allow_gateway_transit on the 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. Defaults to false.
Declaration
public Input<bool> UseRemoteGateways { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Boolean> |
VirtualNetworkName
The name of the virtual network. Changing this forces a new resource to be created.
Declaration
public Input<string> VirtualNetworkName { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |