ArmNetworkModelFactory.VirtualHubData Method
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.
Initializes a new instance of VirtualHubData.
public static Azure.ResourceManager.Network.VirtualHubData VirtualHubData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType? resourceType = default, Azure.Core.AzureLocation? location = default, System.Collections.Generic.IDictionary<string,string> tags = default, Azure.ETag? etag = default, string kind = default, Azure.Core.ResourceIdentifier virtualWanId = default, Azure.Core.ResourceIdentifier vpnGatewayId = default, Azure.Core.ResourceIdentifier p2sVpnGatewayId = default, Azure.Core.ResourceIdentifier expressRouteGatewayId = default, Azure.Core.ResourceIdentifier azureFirewallId = default, Azure.Core.ResourceIdentifier securityPartnerProviderId = default, string addressPrefix = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Network.Models.VirtualHubRoute> routes = default, Azure.ResourceManager.Network.Models.NetworkProvisioningState? provisioningState = default, string securityProviderName = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Network.VirtualHubRouteTableV2Data> virtualHubRouteTableV2S = default, string sku = default, Azure.ResourceManager.Network.Models.RoutingState? routingState = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Resources.Models.WritableSubResource> bgpConnections = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Resources.Models.WritableSubResource> ipConfigurations = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Resources.Models.WritableSubResource> routeMaps = default, long? virtualRouterAsn = default, System.Collections.Generic.IEnumerable<string> virtualRouterIPs = default, bool? allowBranchToBranchTraffic = default, Azure.ResourceManager.Network.Models.PreferredRoutingGateway? preferredRoutingGateway = default, Azure.ResourceManager.Network.Models.HubRoutingPreference? hubRoutingPreference = default, int? virtualRouterAutoScaleMinCapacity = default);
static member VirtualHubData : Azure.Core.ResourceIdentifier * string * Nullable<Azure.Core.ResourceType> * Nullable<Azure.Core.AzureLocation> * System.Collections.Generic.IDictionary<string, string> * Nullable<Azure.ETag> * string * Azure.Core.ResourceIdentifier * Azure.Core.ResourceIdentifier * Azure.Core.ResourceIdentifier * Azure.Core.ResourceIdentifier * Azure.Core.ResourceIdentifier * Azure.Core.ResourceIdentifier * string * seq<Azure.ResourceManager.Network.Models.VirtualHubRoute> * Nullable<Azure.ResourceManager.Network.Models.NetworkProvisioningState> * string * seq<Azure.ResourceManager.Network.VirtualHubRouteTableV2Data> * string * Nullable<Azure.ResourceManager.Network.Models.RoutingState> * seq<Azure.ResourceManager.Resources.Models.WritableSubResource> * seq<Azure.ResourceManager.Resources.Models.WritableSubResource> * seq<Azure.ResourceManager.Resources.Models.WritableSubResource> * Nullable<int64> * seq<string> * Nullable<bool> * Nullable<Azure.ResourceManager.Network.Models.PreferredRoutingGateway> * Nullable<Azure.ResourceManager.Network.Models.HubRoutingPreference> * Nullable<int> -> Azure.ResourceManager.Network.VirtualHubData
Public Shared Function VirtualHubData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As Nullable(Of ResourceType) = Nothing, Optional location As Nullable(Of AzureLocation) = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional etag As Nullable(Of ETag) = Nothing, Optional kind As String = Nothing, Optional virtualWanId As ResourceIdentifier = Nothing, Optional vpnGatewayId As ResourceIdentifier = Nothing, Optional p2sVpnGatewayId As ResourceIdentifier = Nothing, Optional expressRouteGatewayId As ResourceIdentifier = Nothing, Optional azureFirewallId As ResourceIdentifier = Nothing, Optional securityPartnerProviderId As ResourceIdentifier = Nothing, Optional addressPrefix As String = Nothing, Optional routes As IEnumerable(Of VirtualHubRoute) = Nothing, Optional provisioningState As Nullable(Of NetworkProvisioningState) = Nothing, Optional securityProviderName As String = Nothing, Optional virtualHubRouteTableV2S As IEnumerable(Of VirtualHubRouteTableV2Data) = Nothing, Optional sku As String = Nothing, Optional routingState As Nullable(Of RoutingState) = Nothing, Optional bgpConnections As IEnumerable(Of WritableSubResource) = Nothing, Optional ipConfigurations As IEnumerable(Of WritableSubResource) = Nothing, Optional routeMaps As IEnumerable(Of WritableSubResource) = Nothing, Optional virtualRouterAsn As Nullable(Of Long) = Nothing, Optional virtualRouterIPs As IEnumerable(Of String) = Nothing, Optional allowBranchToBranchTraffic As Nullable(Of Boolean) = Nothing, Optional preferredRoutingGateway As Nullable(Of PreferredRoutingGateway) = Nothing, Optional hubRoutingPreference As Nullable(Of HubRoutingPreference) = Nothing, Optional virtualRouterAutoScaleMinCapacity As Nullable(Of Integer) = Nothing) As VirtualHubData
Parameters
Resource ID.
- name
- String
Resource name.
- resourceType
- Nullable<ResourceType>
Resource type.
- location
- Nullable<AzureLocation>
Resource location.
- tags
- IDictionary<String,String>
Resource tags.
- kind
- String
Kind of service virtual hub. This is metadata used for the Azure portal experience for Route Server.
- virtualWanId
- ResourceIdentifier
The VirtualWAN to which the VirtualHub belongs.
- vpnGatewayId
- ResourceIdentifier
The VpnGateway associated with this VirtualHub.
- p2sVpnGatewayId
- ResourceIdentifier
The P2SVpnGateway associated with this VirtualHub.
- expressRouteGatewayId
- ResourceIdentifier
The expressRouteGateway associated with this VirtualHub.
- azureFirewallId
- ResourceIdentifier
The azureFirewall associated with this VirtualHub.
- securityPartnerProviderId
- ResourceIdentifier
The securityPartnerProvider associated with this VirtualHub.
- addressPrefix
- String
Address-prefix for this VirtualHub.
- routes
- IEnumerable<VirtualHubRoute>
The routeTable associated with this virtual hub.
- provisioningState
- Nullable<NetworkProvisioningState>
The provisioning state of the virtual hub resource.
- securityProviderName
- String
The Security Provider name.
- virtualHubRouteTableV2S
- IEnumerable<VirtualHubRouteTableV2Data>
List of all virtual hub route table v2s associated with this VirtualHub.
- sku
- String
The sku of this VirtualHub.
- routingState
- Nullable<RoutingState>
The routing state.
- bgpConnections
- IEnumerable<WritableSubResource>
List of references to Bgp Connections.
- ipConfigurations
- IEnumerable<WritableSubResource>
List of references to IpConfigurations.
- routeMaps
- IEnumerable<WritableSubResource>
List of references to RouteMaps.
- virtualRouterIPs
- IEnumerable<String>
VirtualRouter IPs.
- preferredRoutingGateway
- Nullable<PreferredRoutingGateway>
The preferred gateway to route on-prem traffic.
- hubRoutingPreference
- Nullable<HubRoutingPreference>
The hubRoutingPreference of this VirtualHub.
Returns
A new VirtualHubData instance for mocking.
Applies to
Azure SDK for .NET