HubVirtualNetworkConnectionInner Class
- java.
lang. Object - com.
azure. core. management. SubResource - com.
azure. resourcemanager. network. fluent. models. HubVirtualNetworkConnectionInner
- com.
- com.
public final class HubVirtualNetworkConnectionInner
extends SubResource
HubVirtualNetworkConnection Resource.
Constructor Summary
Constructor | Description |
---|---|
HubVirtualNetworkConnectionInner() |
Creates an instance of Hub |
Method Summary
Modifier and Type | Method and Description |
---|---|
Boolean |
allowHubToRemoteVnetTransit()
Get the allow |
Boolean |
allowRemoteVnetToUseHubVnetGateways()
Get the allow |
Boolean |
enableInternetSecurity()
Get the enable |
String |
etag()
Get the etag property: A unique read-only string that changes whenever the resource is updated. |
static
Hub |
fromJson(JsonReader jsonReader)
Reads an instance of Hub |
String |
name()
Get the name property: The name of the resource that is unique within a resource group. |
Provisioning |
provisioningState()
Get the provisioning |
Sub |
remoteVirtualNetwork()
Get the remote |
Routing |
routingConfiguration()
Get the routing |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Hub |
withAllowHubToRemoteVnetTransit(Boolean allowHubToRemoteVnetTransit)
Set the allow |
Hub |
withAllowRemoteVnetToUseHubVnetGateways(Boolean allowRemoteVnetToUseHubVnetGateways)
Set the allow |
Hub |
withEnableInternetSecurity(Boolean enableInternetSecurity)
Set the enable |
Hub |
withId(String id) |
Hub |
withName(String name)
Set the name property: The name of the resource that is unique within a resource group. |
Hub |
withRemoteVirtualNetwork(SubResource remoteVirtualNetwork)
Set the remote |
Hub |
withRoutingConfiguration(RoutingConfiguration routingConfiguration)
Set the routing |
Methods inherited from SubResource
Methods inherited from java.lang.Object
Constructor Details
HubVirtualNetworkConnectionInner
public HubVirtualNetworkConnectionInner()
Creates an instance of HubVirtualNetworkConnectionInner class.
Method Details
allowHubToRemoteVnetTransit
public Boolean allowHubToRemoteVnetTransit()
Get the allowHubToRemoteVnetTransit property: Deprecated: VirtualHub to RemoteVnet transit to enabled or not.
Returns:
allowRemoteVnetToUseHubVnetGateways
public Boolean allowRemoteVnetToUseHubVnetGateways()
Get the allowRemoteVnetToUseHubVnetGateways property: Deprecated: Allow RemoteVnet to use Virtual Hub's gateways.
Returns:
enableInternetSecurity
public Boolean enableInternetSecurity()
Get the enableInternetSecurity property: Enable internet security.
Returns:
etag
public String etag()
Get the etag property: A unique read-only string that changes whenever the resource is updated.
Returns:
fromJson
public static HubVirtualNetworkConnectionInner fromJson(JsonReader jsonReader)
Reads an instance of HubVirtualNetworkConnectionInner from the JsonReader.
Parameters:
Returns:
Throws:
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:
provisioningState
public ProvisioningState provisioningState()
Get the provisioningState property: The provisioning state of the hub virtual network connection resource.
Returns:
remoteVirtualNetwork
public SubResource remoteVirtualNetwork()
Get the remoteVirtualNetwork property: Reference to the remote virtual network.
Returns:
routingConfiguration
public RoutingConfiguration routingConfiguration()
Get the routingConfiguration property: The Routing Configuration indicating the associated and propagated route tables on this connection.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
HubVirtualNetworkConnectionInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
validate
public void validate()
Validates the instance.
withAllowHubToRemoteVnetTransit
public HubVirtualNetworkConnectionInner withAllowHubToRemoteVnetTransit(Boolean allowHubToRemoteVnetTransit)
Set the allowHubToRemoteVnetTransit property: Deprecated: VirtualHub to RemoteVnet transit to enabled or not.
Parameters:
Returns:
withAllowRemoteVnetToUseHubVnetGateways
public HubVirtualNetworkConnectionInner withAllowRemoteVnetToUseHubVnetGateways(Boolean allowRemoteVnetToUseHubVnetGateways)
Set the allowRemoteVnetToUseHubVnetGateways property: Deprecated: Allow RemoteVnet to use Virtual Hub's gateways.
Parameters:
Returns:
withEnableInternetSecurity
public HubVirtualNetworkConnectionInner withEnableInternetSecurity(Boolean enableInternetSecurity)
Set the enableInternetSecurity property: Enable internet security.
Parameters:
Returns:
withId
public HubVirtualNetworkConnectionInner withId(String id)
Overrides:
HubVirtualNetworkConnectionInner.withId(String id)Parameters:
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:
Returns:
withRemoteVirtualNetwork
public HubVirtualNetworkConnectionInner withRemoteVirtualNetwork(SubResource remoteVirtualNetwork)
Set the remoteVirtualNetwork property: Reference to the remote virtual network.
Parameters:
Returns:
withRoutingConfiguration
public HubVirtualNetworkConnectionInner withRoutingConfiguration(RoutingConfiguration routingConfiguration)
Set the routingConfiguration property: The Routing Configuration indicating the associated and propagated route tables on this connection.
Parameters:
Returns:
Applies to
Azure SDK for Java