Share via


VirtualRouter Constructors

Definition

Overloads

VirtualRouter()

Initializes a new instance of the VirtualRouter class.

VirtualRouter(String, String, String, String, IDictionary<String, String>, Nullable<Int64>, IList<String>, SubResource, SubResource, IList<SubResource>, String, String)

Initializes a new instance of the VirtualRouter class.

VirtualRouter()

Initializes a new instance of the VirtualRouter class.

public VirtualRouter ();
Public Sub New ()

Applies to

VirtualRouter(String, String, String, String, IDictionary<String, String>, Nullable<Int64>, IList<String>, SubResource, SubResource, IList<SubResource>, String, String)

Initializes a new instance of the VirtualRouter class.

public VirtualRouter (string id = default, string name = default, string type = default, string location = default, System.Collections.Generic.IDictionary<string,string> tags = default, long? virtualRouterAsn = default, System.Collections.Generic.IList<string> virtualRouterIps = default, Microsoft.Azure.Management.Network.Models.SubResource hostedSubnet = default, Microsoft.Azure.Management.Network.Models.SubResource hostedGateway = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.SubResource> peerings = default, string provisioningState = default, string etag = default);
new Microsoft.Azure.Management.Network.Models.VirtualRouter : string * string * string * string * System.Collections.Generic.IDictionary<string, string> * Nullable<int64> * System.Collections.Generic.IList<string> * Microsoft.Azure.Management.Network.Models.SubResource * Microsoft.Azure.Management.Network.Models.SubResource * System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.SubResource> * string * string -> Microsoft.Azure.Management.Network.Models.VirtualRouter
Public Sub New (Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional location As String = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional virtualRouterAsn As Nullable(Of Long) = Nothing, Optional virtualRouterIps As IList(Of String) = Nothing, Optional hostedSubnet As SubResource = Nothing, Optional hostedGateway As SubResource = Nothing, Optional peerings As IList(Of SubResource) = Nothing, Optional provisioningState As String = Nothing, Optional etag As String = Nothing)

Parameters

id
String

Resource ID.

name
String

Resource name.

type
String

Resource type.

location
String

Resource location.

tags
IDictionary<String,String>

Resource tags.

virtualRouterAsn
Nullable<Int64>

VirtualRouter ASN.

virtualRouterIps
IList<String>

VirtualRouter IPs.

hostedSubnet
SubResource

The Subnet on which VirtualRouter is hosted.

hostedGateway
SubResource

The Gateway on which VirtualRouter is hosted.

peerings
IList<SubResource>

List of references to VirtualRouterPeerings.

provisioningState
String

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

etag
String

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

Applies to