Share via


VirtualNetworkInner Constructors

Definition

Overloads

VirtualNetworkInner()

Initializes a new instance of the VirtualNetworkInner class.

VirtualNetworkInner(String, String, String, String, IDictionary<String, String>, AddressSpace, DhcpOptions, IList<SubnetInner>, IList<VirtualNetworkPeeringInner>, String, ProvisioningState, Nullable<Boolean>, Nullable<Boolean>, SubResource, VirtualNetworkBgpCommunities, String)

Initializes a new instance of the VirtualNetworkInner class.

VirtualNetworkInner()

Initializes a new instance of the VirtualNetworkInner class.

public VirtualNetworkInner ();
Public Sub New ()

Applies to

VirtualNetworkInner(String, String, String, String, IDictionary<String, String>, AddressSpace, DhcpOptions, IList<SubnetInner>, IList<VirtualNetworkPeeringInner>, String, ProvisioningState, Nullable<Boolean>, Nullable<Boolean>, SubResource, VirtualNetworkBgpCommunities, String)

Initializes a new instance of the VirtualNetworkInner class.

public VirtualNetworkInner (string location = default, string id = default, string name = default, string type = default, System.Collections.Generic.IDictionary<string,string> tags = default, Microsoft.Azure.Management.Network.Fluent.Models.AddressSpace addressSpace = default, Microsoft.Azure.Management.Network.Fluent.Models.DhcpOptions dhcpOptions = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Fluent.Models.SubnetInner> subnets = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Fluent.Models.VirtualNetworkPeeringInner> virtualNetworkPeerings = default, string resourceGuid = default, Microsoft.Azure.Management.Network.Fluent.Models.ProvisioningState provisioningState = default, bool? enableDdosProtection = default, bool? enableVmProtection = default, Microsoft.Azure.Management.ResourceManager.Fluent.SubResource ddosProtectionPlan = default, Microsoft.Azure.Management.Network.Fluent.Models.VirtualNetworkBgpCommunities bgpCommunities = default, string etag = default);
new Microsoft.Azure.Management.Network.Fluent.Models.VirtualNetworkInner : string * string * string * string * System.Collections.Generic.IDictionary<string, string> * Microsoft.Azure.Management.Network.Fluent.Models.AddressSpace * Microsoft.Azure.Management.Network.Fluent.Models.DhcpOptions * System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Fluent.Models.SubnetInner> * System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Fluent.Models.VirtualNetworkPeeringInner> * string * Microsoft.Azure.Management.Network.Fluent.Models.ProvisioningState * Nullable<bool> * Nullable<bool> * Microsoft.Azure.Management.ResourceManager.Fluent.SubResource * Microsoft.Azure.Management.Network.Fluent.Models.VirtualNetworkBgpCommunities * string -> Microsoft.Azure.Management.Network.Fluent.Models.VirtualNetworkInner
Public Sub New (Optional location As String = Nothing, Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional addressSpace As AddressSpace = Nothing, Optional dhcpOptions As DhcpOptions = Nothing, Optional subnets As IList(Of SubnetInner) = Nothing, Optional virtualNetworkPeerings As IList(Of VirtualNetworkPeeringInner) = Nothing, Optional resourceGuid As String = Nothing, Optional provisioningState As ProvisioningState = Nothing, Optional enableDdosProtection As Nullable(Of Boolean) = Nothing, Optional enableVmProtection As Nullable(Of Boolean) = Nothing, Optional ddosProtectionPlan As SubResource = Nothing, Optional bgpCommunities As VirtualNetworkBgpCommunities = Nothing, Optional etag As String = Nothing)

Parameters

location
String
id
String
name
String
type
String
addressSpace
AddressSpace

The AddressSpace that contains an array of IP address ranges that can be used by subnets.

dhcpOptions
DhcpOptions

The dhcpOptions that contains an array of DNS servers available to VMs deployed in the virtual network.

subnets
IList<SubnetInner>

A list of subnets in a Virtual Network.

virtualNetworkPeerings
IList<VirtualNetworkPeeringInner>

A list of peerings in a Virtual Network.

resourceGuid
String

The resourceGuid property of the Virtual Network resource.

provisioningState
ProvisioningState

The provisioning state of the virtual network resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'

enableDdosProtection
Nullable<Boolean>

Indicates if DDoS protection is enabled for all the protected resources in the virtual network. It requires a DDoS protection plan associated with the resource.

enableVmProtection
Nullable<Boolean>

Indicates if VM protection is enabled for all the subnets in the virtual network.

ddosProtectionPlan
SubResource

The DDoS protection plan associated with the virtual network.

bgpCommunities
VirtualNetworkBgpCommunities

Bgp Communities sent over ExpressRoute with each route corresponding to a prefix in this VNET.

etag
String

A unique read-only string that changes whenever the resource is updated.

Applies to