VirtualHub 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
VirtualHub()
Initializes a new instance of the VirtualHub class.
public VirtualHub ();
Public Sub New ()
Applies to
VirtualHub(String, String, String, String, IDictionary<String, String>, SubResource, SubResource, SubResource, SubResource, SubResource, SubResource, String, VirtualHubRouteTable, String, String, IList<VirtualHubRouteTableV2>, String, String, IList<SubResource>, IList<SubResource>, IList<SubResource>, Nullable<Int64>, IList<String>, Nullable<Boolean>, String, String, VirtualRouterAutoScaleConfiguration, String, String)
Initializes a new instance of the VirtualHub class.
public VirtualHub (string id = default, string name = default, string type = default, string location = default, System.Collections.Generic.IDictionary<string,string> tags = default, Microsoft.Azure.Management.Network.Models.SubResource virtualWan = default, Microsoft.Azure.Management.Network.Models.SubResource vpnGateway = default, Microsoft.Azure.Management.Network.Models.SubResource p2SVpnGateway = default, Microsoft.Azure.Management.Network.Models.SubResource expressRouteGateway = default, Microsoft.Azure.Management.Network.Models.SubResource azureFirewall = default, Microsoft.Azure.Management.Network.Models.SubResource securityPartnerProvider = default, string addressPrefix = default, Microsoft.Azure.Management.Network.Models.VirtualHubRouteTable routeTable = default, string provisioningState = default, string securityProviderName = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.VirtualHubRouteTableV2> virtualHubRouteTableV2s = default, string sku = default, string routingState = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.SubResource> bgpConnections = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.SubResource> ipConfigurations = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.SubResource> routeMaps = default, long? virtualRouterAsn = default, System.Collections.Generic.IList<string> virtualRouterIps = default, bool? allowBranchToBranchTraffic = default, string preferredRoutingGateway = default, string hubRoutingPreference = default, Microsoft.Azure.Management.Network.Models.VirtualRouterAutoScaleConfiguration virtualRouterAutoScaleConfiguration = default, string etag = default, string kind = default);
new Microsoft.Azure.Management.Network.Models.VirtualHub : string * string * string * string * System.Collections.Generic.IDictionary<string, string> * Microsoft.Azure.Management.Network.Models.SubResource * Microsoft.Azure.Management.Network.Models.SubResource * Microsoft.Azure.Management.Network.Models.SubResource * Microsoft.Azure.Management.Network.Models.SubResource * Microsoft.Azure.Management.Network.Models.SubResource * Microsoft.Azure.Management.Network.Models.SubResource * string * Microsoft.Azure.Management.Network.Models.VirtualHubRouteTable * string * string * System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.VirtualHubRouteTableV2> * string * string * System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.SubResource> * System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.SubResource> * System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.SubResource> * Nullable<int64> * System.Collections.Generic.IList<string> * Nullable<bool> * string * string * Microsoft.Azure.Management.Network.Models.VirtualRouterAutoScaleConfiguration * string * string -> Microsoft.Azure.Management.Network.Models.VirtualHub
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 virtualWan As SubResource = Nothing, Optional vpnGateway As SubResource = Nothing, Optional p2SVpnGateway As SubResource = Nothing, Optional expressRouteGateway As SubResource = Nothing, Optional azureFirewall As SubResource = Nothing, Optional securityPartnerProvider As SubResource = Nothing, Optional addressPrefix As String = Nothing, Optional routeTable As VirtualHubRouteTable = Nothing, Optional provisioningState As String = Nothing, Optional securityProviderName As String = Nothing, Optional virtualHubRouteTableV2s As IList(Of VirtualHubRouteTableV2) = Nothing, Optional sku As String = Nothing, Optional routingState As String = Nothing, Optional bgpConnections As IList(Of SubResource) = Nothing, Optional ipConfigurations As IList(Of SubResource) = Nothing, Optional routeMaps As IList(Of SubResource) = Nothing, Optional virtualRouterAsn As Nullable(Of Long) = Nothing, Optional virtualRouterIps As IList(Of String) = Nothing, Optional allowBranchToBranchTraffic As Nullable(Of Boolean) = Nothing, Optional preferredRoutingGateway As String = Nothing, Optional hubRoutingPreference As String = Nothing, Optional virtualRouterAutoScaleConfiguration As VirtualRouterAutoScaleConfiguration = Nothing, Optional etag As String = Nothing, Optional kind 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.
- virtualWan
- SubResource
The VirtualWAN to which the VirtualHub belongs.
- vpnGateway
- SubResource
The VpnGateway associated with this VirtualHub.
- p2SVpnGateway
- SubResource
The P2SVpnGateway associated with this VirtualHub.
- expressRouteGateway
- SubResource
The expressRouteGateway associated with this VirtualHub.
- azureFirewall
- SubResource
The azureFirewall associated with this VirtualHub.
- securityPartnerProvider
- SubResource
The securityPartnerProvider associated with this VirtualHub.
- addressPrefix
- String
Address-prefix for this VirtualHub.
- routeTable
- VirtualHubRouteTable
The routeTable associated with this virtual hub.
- provisioningState
- String
The provisioning state of the virtual hub resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'
- securityProviderName
- String
The Security Provider name.
- virtualHubRouteTableV2s
- IList<VirtualHubRouteTableV2>
List of all virtual hub route table v2s associated with this VirtualHub.
- sku
- String
The sku of this VirtualHub.
- routingState
- String
The routing state. Possible values include: 'None', 'Provisioned', 'Provisioning', 'Failed'
- bgpConnections
- IList<SubResource>
List of references to Bgp Connections.
- ipConfigurations
- IList<SubResource>
List of references to IpConfigurations.
- routeMaps
- IList<SubResource>
List of references to RouteMaps.
- preferredRoutingGateway
- String
The preferred gateway to route on-prem traffic. Possible values include: 'ExpressRoute', 'VpnGateway', 'None'
- hubRoutingPreference
- String
The hubRoutingPreference of this VirtualHub. Possible values include: 'ExpressRoute', 'VpnGateway', 'ASPath'
- virtualRouterAutoScaleConfiguration
- VirtualRouterAutoScaleConfiguration
The VirtualHub Router autoscale configuration.
- etag
- String
A unique read-only string that changes whenever the resource is updated.
- kind
- String
Kind of service virtual hub. This is metadata used for the Azure portal experience for Route Server.
Applies to
Azure SDK for .NET