VirtualNetworkPeeringPropertiesFormat Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| Name | Description |
|---|---|
| VirtualNetworkPeeringPropertiesFormat() |
Initializes a new instance of the VirtualNetworkPeeringPropertiesFormat class. |
| VirtualNetworkPeeringPropertiesFormat(Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, SubResource, AddressSpace, VirtualNetworkBgpCommunities, String, String) |
Initializes a new instance of the VirtualNetworkPeeringPropertiesFormat class. |
VirtualNetworkPeeringPropertiesFormat()
Initializes a new instance of the VirtualNetworkPeeringPropertiesFormat class.
public VirtualNetworkPeeringPropertiesFormat();
Public Sub New ()
Applies to
VirtualNetworkPeeringPropertiesFormat(Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, SubResource, AddressSpace, VirtualNetworkBgpCommunities, String, String)
Initializes a new instance of the VirtualNetworkPeeringPropertiesFormat class.
public VirtualNetworkPeeringPropertiesFormat(bool? allowVirtualNetworkAccess = default, bool? allowForwardedTraffic = default, bool? allowGatewayTransit = default, bool? useRemoteGateways = default, Microsoft.Azure.PowerShell.Cmdlets.Websites.Helper.Network.Models.SubResource remoteVirtualNetwork = default, Microsoft.Azure.PowerShell.Cmdlets.Websites.Helper.Network.Models.AddressSpace remoteAddressSpace = default, Microsoft.Azure.PowerShell.Cmdlets.Websites.Helper.Network.Models.VirtualNetworkBgpCommunities remoteBgpCommunities = default, string peeringState = default, string provisioningState = default);
new Microsoft.Azure.PowerShell.Cmdlets.Websites.Helper.Network.Models.VirtualNetworkPeeringPropertiesFormat : Nullable<bool> * Nullable<bool> * Nullable<bool> * Nullable<bool> * Microsoft.Azure.PowerShell.Cmdlets.Websites.Helper.Network.Models.SubResource * Microsoft.Azure.PowerShell.Cmdlets.Websites.Helper.Network.Models.AddressSpace * Microsoft.Azure.PowerShell.Cmdlets.Websites.Helper.Network.Models.VirtualNetworkBgpCommunities * string * string -> Microsoft.Azure.PowerShell.Cmdlets.Websites.Helper.Network.Models.VirtualNetworkPeeringPropertiesFormat
Public Sub New (Optional allowVirtualNetworkAccess As Nullable(Of Boolean) = Nothing, Optional allowForwardedTraffic As Nullable(Of Boolean) = Nothing, Optional allowGatewayTransit As Nullable(Of Boolean) = Nothing, Optional useRemoteGateways As Nullable(Of Boolean) = Nothing, Optional remoteVirtualNetwork As SubResource = Nothing, Optional remoteAddressSpace As AddressSpace = Nothing, Optional remoteBgpCommunities As VirtualNetworkBgpCommunities = Nothing, Optional peeringState As String = Nothing, Optional provisioningState As String = Nothing)
Parameters
Whether the VMs in the local virtual network space would be able to access the VMs in remote virtual network space.
Whether the forwarded traffic from the VMs in the local virtual network will be allowed/disallowed in remote virtual network.
If gateway links can be used in remote virtual networking to link to this virtual network.
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.
- remoteVirtualNetwork
- SubResource
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).
- remoteAddressSpace
- AddressSpace
The reference to the remote virtual network address space.
- remoteBgpCommunities
- VirtualNetworkBgpCommunities
The reference to the remote virtual network's Bgp Communities.
- peeringState
- String
The status of the virtual network peering. Possible values include: 'Initiated', 'Connected', 'Disconnected'
- provisioningState
- String
The provisioning state of the virtual network peering resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'