VirtualHubProperties Class
- java.
lang. Object - com.
azure. resourcemanager. network. fluent. models. VirtualHubProperties
- com.
Implements
public final class VirtualHubProperties
implements JsonSerializable<VirtualHubProperties>
Parameters for VirtualHub.
Constructor Summary
| Constructor | Description |
|---|---|
| VirtualHubProperties() |
Creates an instance of Virtual |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
addressPrefix()
Get the address |
| Boolean |
allowBranchToBranchTraffic()
Get the allow |
|
Sub |
azureFirewall()
Get the azure |
|
List<Sub |
bgpConnections()
Get the bgp |
|
Sub |
expressRouteGateway()
Get the express |
|
static
Virtual |
fromJson(JsonReader jsonReader)
Reads an instance of Virtual |
|
Hub |
hubRoutingPreference()
Get the hub |
|
List<Sub |
ipConfigurations()
Get the ip |
|
Sub |
p2SVpnGateway()
Get the p2SVpn |
|
Preferred |
preferredRoutingGateway()
Get the preferred |
|
Provisioning |
provisioningState()
Get the provisioning |
|
List<Sub |
routeMaps()
Get the route |
|
Virtual |
routeTable()
Get the route |
|
Routing |
routingState()
Get the routing |
|
Sub |
securityPartnerProvider()
Get the security |
| String |
securityProviderName()
Get the security |
| String |
sku()
Get the sku property: The sku of this Virtual |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
List<Virtual |
virtualHubRouteTableV2s()
Get the virtual |
| Long |
virtualRouterAsn()
Get the virtual |
|
Virtual |
virtualRouterAutoScaleConfiguration()
Get the virtual |
| List<String> |
virtualRouterIps()
Get the virtual |
|
Sub |
virtualWan()
Get the virtual |
|
Sub |
vpnGateway()
Get the vpn |
|
Virtual |
withAddressPrefix(String addressPrefix)
Set the address |
|
Virtual |
withAllowBranchToBranchTraffic(Boolean allowBranchToBranchTraffic)
Set the allow |
|
Virtual |
withAzureFirewall(SubResource azureFirewall)
Set the azure |
|
Virtual |
withExpressRouteGateway(SubResource expressRouteGateway)
Set the express |
|
Virtual |
withHubRoutingPreference(HubRoutingPreference hubRoutingPreference)
Set the hub |
|
Virtual |
withP2SVpnGateway(SubResource p2SVpnGateway)
Set the p2SVpn |
|
Virtual |
withPreferredRoutingGateway(PreferredRoutingGateway preferredRoutingGateway)
Set the preferred |
|
Virtual |
withRouteTable(VirtualHubRouteTable routeTable)
Set the route |
|
Virtual |
withSecurityPartnerProvider(SubResource securityPartnerProvider)
Set the security |
|
Virtual |
withSecurityProviderName(String securityProviderName)
Set the security |
|
Virtual |
withSku(String sku)
Set the sku property: The sku of this Virtual |
|
Virtual |
withVirtualHubRouteTableV2s(List<VirtualHubRouteTableV2Inner> virtualHubRouteTableV2s)
Set the virtual |
|
Virtual |
withVirtualRouterAsn(Long virtualRouterAsn)
Set the virtual |
|
Virtual |
withVirtualRouterAutoScaleConfiguration(VirtualRouterAutoScaleConfiguration virtualRouterAutoScaleConfiguration)
Set the virtual |
|
Virtual |
withVirtualRouterIps(List<String> virtualRouterIps)
Set the virtual |
|
Virtual |
withVirtualWan(SubResource virtualWan)
Set the virtual |
|
Virtual |
withVpnGateway(SubResource vpnGateway)
Set the vpn |
Methods inherited from java.lang.Object
Constructor Details
VirtualHubProperties
public VirtualHubProperties()
Creates an instance of VirtualHubProperties class.
Method Details
addressPrefix
public String addressPrefix()
Get the addressPrefix property: Address-prefix for this VirtualHub.
Returns:
allowBranchToBranchTraffic
public Boolean allowBranchToBranchTraffic()
Get the allowBranchToBranchTraffic property: Flag to control transit for VirtualRouter hub.
Returns:
azureFirewall
public SubResource azureFirewall()
Get the azureFirewall property: The azureFirewall associated with this VirtualHub.
Returns:
bgpConnections
public List<SubResource> bgpConnections()
Get the bgpConnections property: List of references to Bgp Connections.
Returns:
expressRouteGateway
public SubResource expressRouteGateway()
Get the expressRouteGateway property: The expressRouteGateway associated with this VirtualHub.
Returns:
fromJson
public static VirtualHubProperties fromJson(JsonReader jsonReader)
Reads an instance of VirtualHubProperties from the JsonReader.
Parameters:
Returns:
Throws:
hubRoutingPreference
public HubRoutingPreference hubRoutingPreference()
Get the hubRoutingPreference property: The hubRoutingPreference of this VirtualHub.
Returns:
ipConfigurations
public List<SubResource> ipConfigurations()
Get the ipConfigurations property: List of references to IpConfigurations.
Returns:
p2SVpnGateway
public SubResource p2SVpnGateway()
Get the p2SVpnGateway property: The P2SVpnGateway associated with this VirtualHub.
Returns:
preferredRoutingGateway
public PreferredRoutingGateway preferredRoutingGateway()
Get the preferredRoutingGateway property: The preferred gateway to route on-prem traffic.
Returns:
provisioningState
public ProvisioningState provisioningState()
Get the provisioningState property: The provisioning state of the virtual hub resource.
Returns:
routeMaps
public List<SubResource> routeMaps()
Get the routeMaps property: List of references to RouteMaps.
Returns:
routeTable
public VirtualHubRouteTable routeTable()
Get the routeTable property: The routeTable associated with this virtual hub.
Returns:
routingState
public RoutingState routingState()
Get the routingState property: The routing state.
Returns:
securityPartnerProvider
public SubResource securityPartnerProvider()
Get the securityPartnerProvider property: The securityPartnerProvider associated with this VirtualHub.
Returns:
securityProviderName
public String securityProviderName()
Get the securityProviderName property: The Security Provider name.
Returns:
sku
public String sku()
Get the sku property: The sku of this VirtualHub.
Returns:
toJson
validate
public void validate()
Validates the instance.
virtualHubRouteTableV2s
public List<VirtualHubRouteTableV2Inner> virtualHubRouteTableV2s()
Get the virtualHubRouteTableV2s property: List of all virtual hub route table v2s associated with this VirtualHub.
Returns:
virtualRouterAsn
public Long virtualRouterAsn()
Get the virtualRouterAsn property: VirtualRouter ASN.
Returns:
virtualRouterAutoScaleConfiguration
public VirtualRouterAutoScaleConfiguration virtualRouterAutoScaleConfiguration()
Get the virtualRouterAutoScaleConfiguration property: The VirtualHub Router autoscale configuration.
Returns:
virtualRouterIps
public List<String> virtualRouterIps()
Get the virtualRouterIps property: VirtualRouter IPs.
Returns:
virtualWan
public SubResource virtualWan()
Get the virtualWan property: The VirtualWAN to which the VirtualHub belongs.
Returns:
vpnGateway
public SubResource vpnGateway()
Get the vpnGateway property: The VpnGateway associated with this VirtualHub.
Returns:
withAddressPrefix
public VirtualHubProperties withAddressPrefix(String addressPrefix)
Set the addressPrefix property: Address-prefix for this VirtualHub.
Parameters:
Returns:
withAllowBranchToBranchTraffic
public VirtualHubProperties withAllowBranchToBranchTraffic(Boolean allowBranchToBranchTraffic)
Set the allowBranchToBranchTraffic property: Flag to control transit for VirtualRouter hub.
Parameters:
Returns:
withAzureFirewall
public VirtualHubProperties withAzureFirewall(SubResource azureFirewall)
Set the azureFirewall property: The azureFirewall associated with this VirtualHub.
Parameters:
Returns:
withExpressRouteGateway
public VirtualHubProperties withExpressRouteGateway(SubResource expressRouteGateway)
Set the expressRouteGateway property: The expressRouteGateway associated with this VirtualHub.
Parameters:
Returns:
withHubRoutingPreference
public VirtualHubProperties withHubRoutingPreference(HubRoutingPreference hubRoutingPreference)
Set the hubRoutingPreference property: The hubRoutingPreference of this VirtualHub.
Parameters:
Returns:
withP2SVpnGateway
public VirtualHubProperties withP2SVpnGateway(SubResource p2SVpnGateway)
Set the p2SVpnGateway property: The P2SVpnGateway associated with this VirtualHub.
Parameters:
Returns:
withPreferredRoutingGateway
public VirtualHubProperties withPreferredRoutingGateway(PreferredRoutingGateway preferredRoutingGateway)
Set the preferredRoutingGateway property: The preferred gateway to route on-prem traffic.
Parameters:
Returns:
withRouteTable
public VirtualHubProperties withRouteTable(VirtualHubRouteTable routeTable)
Set the routeTable property: The routeTable associated with this virtual hub.
Parameters:
Returns:
withSecurityPartnerProvider
public VirtualHubProperties withSecurityPartnerProvider(SubResource securityPartnerProvider)
Set the securityPartnerProvider property: The securityPartnerProvider associated with this VirtualHub.
Parameters:
Returns:
withSecurityProviderName
public VirtualHubProperties withSecurityProviderName(String securityProviderName)
Set the securityProviderName property: The Security Provider name.
Parameters:
Returns:
withSku
public VirtualHubProperties withSku(String sku)
Set the sku property: The sku of this VirtualHub.
Parameters:
Returns:
withVirtualHubRouteTableV2s
public VirtualHubProperties withVirtualHubRouteTableV2s(List<VirtualHubRouteTableV2Inner> virtualHubRouteTableV2s)
Set the virtualHubRouteTableV2s property: List of all virtual hub route table v2s associated with this VirtualHub.
Parameters:
Returns:
withVirtualRouterAsn
public VirtualHubProperties withVirtualRouterAsn(Long virtualRouterAsn)
Set the virtualRouterAsn property: VirtualRouter ASN.
Parameters:
Returns:
withVirtualRouterAutoScaleConfiguration
public VirtualHubProperties withVirtualRouterAutoScaleConfiguration(VirtualRouterAutoScaleConfiguration virtualRouterAutoScaleConfiguration)
Set the virtualRouterAutoScaleConfiguration property: The VirtualHub Router autoscale configuration.
Parameters:
Returns:
withVirtualRouterIps
public VirtualHubProperties withVirtualRouterIps(List<String> virtualRouterIps)
Set the virtualRouterIps property: VirtualRouter IPs.
Parameters:
Returns:
withVirtualWan
public VirtualHubProperties withVirtualWan(SubResource virtualWan)
Set the virtualWan property: The VirtualWAN to which the VirtualHub belongs.
Parameters:
Returns:
withVpnGateway
public VirtualHubProperties withVpnGateway(SubResource vpnGateway)
Set the vpnGateway property: The VpnGateway associated with this VirtualHub.
Parameters:
Returns: