Class HubVirtualNetworkConnectionProperties
java.lang.Object
com.azure.resourcemanager.network.fluent.models.HubVirtualNetworkConnectionProperties
Parameters for HubVirtualNetworkConnection.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of HubVirtualNetworkConnectionProperties class. -
Method Summary
Modifier and TypeMethodDescriptionGet the allowHubToRemoteVnetTransit property: Deprecated: VirtualHub to RemoteVnet transit to enabled or not.Get the allowRemoteVnetToUseHubVnetGateways property: Deprecated: Allow RemoteVnet to use Virtual Hub's gateways.Get the enableInternetSecurity property: Enable internet security.Get the provisioningState property: The provisioning state of the hub virtual network connection resource.com.azure.core.management.SubResourceGet the remoteVirtualNetwork property: Reference to the remote virtual network.Get the routingConfiguration property: The Routing Configuration indicating the associated and propagated route tables on this connection.voidvalidate()Validates the instance.withAllowHubToRemoteVnetTransit(Boolean allowHubToRemoteVnetTransit) Set the allowHubToRemoteVnetTransit property: Deprecated: VirtualHub to RemoteVnet transit to enabled or not.withAllowRemoteVnetToUseHubVnetGateways(Boolean allowRemoteVnetToUseHubVnetGateways) Set the allowRemoteVnetToUseHubVnetGateways property: Deprecated: Allow RemoteVnet to use Virtual Hub's gateways.withEnableInternetSecurity(Boolean enableInternetSecurity) Set the enableInternetSecurity property: Enable internet security.withRemoteVirtualNetwork(com.azure.core.management.SubResource remoteVirtualNetwork) Set the remoteVirtualNetwork property: Reference to the remote virtual network.withRoutingConfiguration(RoutingConfiguration routingConfiguration) Set the routingConfiguration property: The Routing Configuration indicating the associated and propagated route tables on this connection.
-
Constructor Details
-
HubVirtualNetworkConnectionProperties
public HubVirtualNetworkConnectionProperties()Creates an instance of HubVirtualNetworkConnectionProperties class.
-
-
Method Details
-
remoteVirtualNetwork
public com.azure.core.management.SubResource remoteVirtualNetwork()Get the remoteVirtualNetwork property: Reference to the remote virtual network.- Returns:
- the remoteVirtualNetwork value.
-
withRemoteVirtualNetwork
public HubVirtualNetworkConnectionProperties withRemoteVirtualNetwork(com.azure.core.management.SubResource remoteVirtualNetwork) Set the remoteVirtualNetwork property: Reference to the remote virtual network.- Parameters:
remoteVirtualNetwork- the remoteVirtualNetwork value to set.- Returns:
- the HubVirtualNetworkConnectionProperties object itself.
-
allowHubToRemoteVnetTransit
Get the allowHubToRemoteVnetTransit property: Deprecated: VirtualHub to RemoteVnet transit to enabled or not.- Returns:
- the allowHubToRemoteVnetTransit value.
-
withAllowHubToRemoteVnetTransit
public HubVirtualNetworkConnectionProperties withAllowHubToRemoteVnetTransit(Boolean allowHubToRemoteVnetTransit) Set the allowHubToRemoteVnetTransit property: Deprecated: VirtualHub to RemoteVnet transit to enabled or not.- Parameters:
allowHubToRemoteVnetTransit- the allowHubToRemoteVnetTransit value to set.- Returns:
- the HubVirtualNetworkConnectionProperties object itself.
-
allowRemoteVnetToUseHubVnetGateways
Get the allowRemoteVnetToUseHubVnetGateways property: Deprecated: Allow RemoteVnet to use Virtual Hub's gateways.- Returns:
- the allowRemoteVnetToUseHubVnetGateways value.
-
withAllowRemoteVnetToUseHubVnetGateways
public HubVirtualNetworkConnectionProperties withAllowRemoteVnetToUseHubVnetGateways(Boolean allowRemoteVnetToUseHubVnetGateways) Set the allowRemoteVnetToUseHubVnetGateways property: Deprecated: Allow RemoteVnet to use Virtual Hub's gateways.- Parameters:
allowRemoteVnetToUseHubVnetGateways- the allowRemoteVnetToUseHubVnetGateways value to set.- Returns:
- the HubVirtualNetworkConnectionProperties object itself.
-
enableInternetSecurity
Get the enableInternetSecurity property: Enable internet security.- Returns:
- the enableInternetSecurity value.
-
withEnableInternetSecurity
public HubVirtualNetworkConnectionProperties withEnableInternetSecurity(Boolean enableInternetSecurity) Set the enableInternetSecurity property: Enable internet security.- Parameters:
enableInternetSecurity- the enableInternetSecurity value to set.- Returns:
- the HubVirtualNetworkConnectionProperties object itself.
-
routingConfiguration
Get the routingConfiguration property: The Routing Configuration indicating the associated and propagated route tables on this connection.- Returns:
- the routingConfiguration value.
-
withRoutingConfiguration
public HubVirtualNetworkConnectionProperties withRoutingConfiguration(RoutingConfiguration routingConfiguration) Set the routingConfiguration property: The Routing Configuration indicating the associated and propagated route tables on this connection.- Parameters:
routingConfiguration- the routingConfiguration value to set.- Returns:
- the HubVirtualNetworkConnectionProperties object itself.
-
provisioningState
Get the provisioningState property: The provisioning state of the hub virtual network connection resource.- Returns:
- the provisioningState value.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-