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.
public static Azure.ResourceManager.Network.HubVirtualNetworkConnectionData HubVirtualNetworkConnectionData(Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType? resourceType = default, bool? allowHubToRemoteVnetTransit = default, bool? allowRemoteVnetToUseHubVnetGateways = default, bool? enableInternetSecurity = default, Azure.ResourceManager.Network.Models.RoutingConfiguration routingConfiguration = default, bool? isOnlyIPv6PeeringEnabled = default, Azure.ResourceManager.Network.Models.NetworkProvisioningState? provisioningState = default, Azure.Core.ResourceIdentifier remoteVirtualNetworkId = default, Azure.Core.ResourceIdentifier connectionPolicyId = default, Azure.ETag? eTag = default);
static member HubVirtualNetworkConnectionData : Azure.Core.ResourceIdentifier * string * Nullable<Azure.Core.ResourceType> * Nullable<bool> * Nullable<bool> * Nullable<bool> * Azure.ResourceManager.Network.Models.RoutingConfiguration * Nullable<bool> * Nullable<Azure.ResourceManager.Network.Models.NetworkProvisioningState> * Azure.Core.ResourceIdentifier * Azure.Core.ResourceIdentifier * Nullable<Azure.ETag> -> 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 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 isOnlyIPv6PeeringEnabled As Nullable(Of Boolean) = Nothing, Optional provisioningState As Nullable(Of NetworkProvisioningState) = Nothing, Optional remoteVirtualNetworkId As ResourceIdentifier = Nothing, Optional connectionPolicyId As ResourceIdentifier = Nothing, Optional eTag As Nullable(Of ETag) = Nothing) As HubVirtualNetworkConnectionData
Parameters
Resource ID.
- name
- String
Name of the resource.
- resourceType
- Nullable<ResourceType>
Resource type.
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.
- remoteVirtualNetworkId
- ResourceIdentifier
Resource ID.
- connectionPolicyId
- ResourceIdentifier
Resource ID.
Returns
A new HubVirtualNetworkConnectionData instance for mocking.