ArmNetworkModelFactory.HubVirtualNetworkConnectionData 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 HubVirtualNetworkConnectionData.
public static Azure.ResourceManager.Network.HubVirtualNetworkConnectionData HubVirtualNetworkConnectionData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType? resourceType = default, Azure.ETag? etag = default, Azure.Core.ResourceIdentifier remoteVirtualNetworkId = default, bool? allowHubToRemoteVnetTransit = default, bool? allowRemoteVnetToUseHubVnetGateways = default, bool? enableInternetSecurity = default, Azure.ResourceManager.Network.Models.RoutingConfiguration routingConfiguration = default, Azure.ResourceManager.Network.Models.NetworkProvisioningState? provisioningState = default);
static member HubVirtualNetworkConnectionData : Azure.Core.ResourceIdentifier * string * Nullable<Azure.Core.ResourceType> * Nullable<Azure.ETag> * Azure.Core.ResourceIdentifier * Nullable<bool> * Nullable<bool> * Nullable<bool> * Azure.ResourceManager.Network.Models.RoutingConfiguration * Nullable<Azure.ResourceManager.Network.Models.NetworkProvisioningState> -> Azure.ResourceManager.Network.HubVirtualNetworkConnectionData
Public Shared Function HubVirtualNetworkConnectionData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As Nullable(Of ResourceType) = Nothing, Optional etag As Nullable(Of ETag) = Nothing, Optional remoteVirtualNetworkId As ResourceIdentifier = Nothing, Optional allowHubToRemoteVnetTransit As Nullable(Of Boolean) = Nothing, Optional allowRemoteVnetToUseHubVnetGateways As Nullable(Of Boolean) = Nothing, Optional enableInternetSecurity As Nullable(Of Boolean) = Nothing, Optional routingConfiguration As RoutingConfiguration = Nothing, Optional provisioningState As Nullable(Of NetworkProvisioningState) = Nothing) As HubVirtualNetworkConnectionData
Parameters
Resource ID.
- name
- String
Resource name.
- resourceType
- Nullable<ResourceType>
Resource type.
- remoteVirtualNetworkId
- ResourceIdentifier
Reference to the remote virtual network.
Deprecated: VirtualHub to RemoteVnet transit to enabled or not.
Deprecated: Allow RemoteVnet to use Virtual Hub's gateways.
- routingConfiguration
- RoutingConfiguration
The Routing Configuration indicating the associated and propagated route tables on this connection.
- provisioningState
- Nullable<NetworkProvisioningState>
The provisioning state of the hub virtual network connection resource.
Returns
A new HubVirtualNetworkConnectionData instance for mocking.
Applies to
Azure SDK for .NET