Sdílet prostřednictvím


ArmNetworkModelFactory.HubVirtualNetworkConnectionData Method

Definition

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

id
ResourceIdentifier

Resource ID.

name
String

Resource name.

resourceType
Nullable<ResourceType>

Resource type.

etag
Nullable<ETag>

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

remoteVirtualNetworkId
ResourceIdentifier

Reference to the remote virtual network.

allowHubToRemoteVnetTransit
Nullable<Boolean>

Deprecated: VirtualHub to RemoteVnet transit to enabled or not.

allowRemoteVnetToUseHubVnetGateways
Nullable<Boolean>

Deprecated: Allow RemoteVnet to use Virtual Hub's gateways.

enableInternetSecurity
Nullable<Boolean>

Enable internet security.

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