Share via


VirtualNetworkResourceSettings Constructors

Definition

Overloads

VirtualNetworkResourceSettings()

Initializes a new instance of the VirtualNetworkResourceSettings class.

VirtualNetworkResourceSettings(String, IDictionary<String,String>, Nullable<Boolean>, IList<String>, IList<String>, IList<SubnetResourceSettings>)

Initializes a new instance of the VirtualNetworkResourceSettings class.

VirtualNetworkResourceSettings()

Initializes a new instance of the VirtualNetworkResourceSettings class.

public VirtualNetworkResourceSettings ();
Public Sub New ()

Applies to

VirtualNetworkResourceSettings(String, IDictionary<String,String>, Nullable<Boolean>, IList<String>, IList<String>, IList<SubnetResourceSettings>)

Initializes a new instance of the VirtualNetworkResourceSettings class.

public VirtualNetworkResourceSettings (string targetResourceName, System.Collections.Generic.IDictionary<string,string> tags = default, bool? enableDdosProtection = default, System.Collections.Generic.IList<string> addressSpace = default, System.Collections.Generic.IList<string> dnsServers = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Migrate.ResourceMover.Models.SubnetResourceSettings> subnets = default);
new Microsoft.Azure.Management.Migrate.ResourceMover.Models.VirtualNetworkResourceSettings : string * System.Collections.Generic.IDictionary<string, string> * Nullable<bool> * System.Collections.Generic.IList<string> * System.Collections.Generic.IList<string> * System.Collections.Generic.IList<Microsoft.Azure.Management.Migrate.ResourceMover.Models.SubnetResourceSettings> -> Microsoft.Azure.Management.Migrate.ResourceMover.Models.VirtualNetworkResourceSettings
Public Sub New (targetResourceName As String, Optional tags As IDictionary(Of String, String) = Nothing, Optional enableDdosProtection As Nullable(Of Boolean) = Nothing, Optional addressSpace As IList(Of String) = Nothing, Optional dnsServers As IList(Of String) = Nothing, Optional subnets As IList(Of SubnetResourceSettings) = Nothing)

Parameters

targetResourceName
String

Gets or sets the target Resource name.

tags
IDictionary<String,String>

Gets or sets the Resource tags.

enableDdosProtection
Nullable<Boolean>

Gets or sets a value indicating whether gets or sets whether the DDOS protection should be switched on.

addressSpace
IList<String>

Gets or sets the address prefixes for the virtual network.

dnsServers
IList<String>

Gets or sets DHCPOptions that contains an array of DNS servers available to VMs deployed in the virtual network.

subnets
IList<SubnetResourceSettings>

Gets or sets List of subnets in a VirtualNetwork.

Applies to