Class HubVirtualNetworkConnectionInner
- java.lang.Object
-
- com.azure.core.management.SubResource
-
- com.azure.resourcemanager.network.fluent.models.HubVirtualNetworkConnectionInner
-
public final class HubVirtualNetworkConnectionInner extends com.azure.core.management.SubResourceHubVirtualNetworkConnection Resource.
-
-
Constructor Summary
Constructors Constructor Description HubVirtualNetworkConnectionInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BooleanallowHubToRemoteVnetTransit()Get the allowHubToRemoteVnetTransit property: Deprecated: VirtualHub to RemoteVnet transit to enabled or not.BooleanallowRemoteVnetToUseHubVnetGateways()Get the allowRemoteVnetToUseHubVnetGateways property: Deprecated: Allow RemoteVnet to use Virtual Hub's gateways.BooleanenableInternetSecurity()Get the enableInternetSecurity property: Enable internet security.Stringetag()Get the etag property: A unique read-only string that changes whenever the resource is updated.Stringname()Get the name property: The name of the resource that is unique within a resource group.ProvisioningStateprovisioningState()Get the provisioningState property: The provisioning state of the hub virtual network connection resource.com.azure.core.management.SubResourceremoteVirtualNetwork()Get the remoteVirtualNetwork property: Reference to the remote virtual network.RoutingConfigurationroutingConfiguration()Get the routingConfiguration property: The Routing Configuration indicating the associated and propagated route tables on this connection.voidvalidate()Validates the instance.HubVirtualNetworkConnectionInnerwithAllowHubToRemoteVnetTransit(Boolean allowHubToRemoteVnetTransit)Set the allowHubToRemoteVnetTransit property: Deprecated: VirtualHub to RemoteVnet transit to enabled or not.HubVirtualNetworkConnectionInnerwithAllowRemoteVnetToUseHubVnetGateways(Boolean allowRemoteVnetToUseHubVnetGateways)Set the allowRemoteVnetToUseHubVnetGateways property: Deprecated: Allow RemoteVnet to use Virtual Hub's gateways.HubVirtualNetworkConnectionInnerwithEnableInternetSecurity(Boolean enableInternetSecurity)Set the enableInternetSecurity property: Enable internet security.HubVirtualNetworkConnectionInnerwithId(String id)HubVirtualNetworkConnectionInnerwithName(String name)Set the name property: The name of the resource that is unique within a resource group.HubVirtualNetworkConnectionInnerwithRemoteVirtualNetwork(com.azure.core.management.SubResource remoteVirtualNetwork)Set the remoteVirtualNetwork property: Reference to the remote virtual network.HubVirtualNetworkConnectionInnerwithRoutingConfiguration(RoutingConfiguration routingConfiguration)Set the routingConfiguration property: The Routing Configuration indicating the associated and propagated route tables on this connection.
-
-
-
Method Detail
-
name
public String name()
Get the name property: The name of the resource that is unique within a resource group. This name can be used to access the resource.- Returns:
- the name value.
-
withName
public HubVirtualNetworkConnectionInner withName(String name)
Set the name property: The name of the resource that is unique within a resource group. This name can be used to access the resource.- Parameters:
name- the name value to set.- Returns:
- the HubVirtualNetworkConnectionInner object itself.
-
etag
public String etag()
Get the etag property: A unique read-only string that changes whenever the resource is updated.- Returns:
- the etag value.
-
withId
public HubVirtualNetworkConnectionInner withId(String id)
- Overrides:
withIdin classcom.azure.core.management.SubResource
-
remoteVirtualNetwork
public com.azure.core.management.SubResource remoteVirtualNetwork()
Get the remoteVirtualNetwork property: Reference to the remote virtual network.- Returns:
- the remoteVirtualNetwork value.
-
withRemoteVirtualNetwork
public HubVirtualNetworkConnectionInner 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 HubVirtualNetworkConnectionInner object itself.
-
allowHubToRemoteVnetTransit
public Boolean allowHubToRemoteVnetTransit()
Get the allowHubToRemoteVnetTransit property: Deprecated: VirtualHub to RemoteVnet transit to enabled or not.- Returns:
- the allowHubToRemoteVnetTransit value.
-
withAllowHubToRemoteVnetTransit
public HubVirtualNetworkConnectionInner 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 HubVirtualNetworkConnectionInner object itself.
-
allowRemoteVnetToUseHubVnetGateways
public Boolean allowRemoteVnetToUseHubVnetGateways()
Get the allowRemoteVnetToUseHubVnetGateways property: Deprecated: Allow RemoteVnet to use Virtual Hub's gateways.- Returns:
- the allowRemoteVnetToUseHubVnetGateways value.
-
withAllowRemoteVnetToUseHubVnetGateways
public HubVirtualNetworkConnectionInner 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 HubVirtualNetworkConnectionInner object itself.
-
enableInternetSecurity
public Boolean enableInternetSecurity()
Get the enableInternetSecurity property: Enable internet security.- Returns:
- the enableInternetSecurity value.
-
withEnableInternetSecurity
public HubVirtualNetworkConnectionInner withEnableInternetSecurity(Boolean enableInternetSecurity)
Set the enableInternetSecurity property: Enable internet security.- Parameters:
enableInternetSecurity- the enableInternetSecurity value to set.- Returns:
- the HubVirtualNetworkConnectionInner object itself.
-
routingConfiguration
public RoutingConfiguration routingConfiguration()
Get the routingConfiguration property: The Routing Configuration indicating the associated and propagated route tables on this connection.- Returns:
- the routingConfiguration value.
-
withRoutingConfiguration
public HubVirtualNetworkConnectionInner 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 HubVirtualNetworkConnectionInner object itself.
-
provisioningState
public ProvisioningState 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.
-
-