public class VirtualHubInner
extends com.azure.core.management.Resource
| Constructor and Description |
|---|
VirtualHubInner() |
| Modifier and Type | Method and Description |
|---|---|
String |
addressPrefix()
Get the addressPrefix property: Address-prefix for this VirtualHub.
|
Boolean |
allowBranchToBranchTraffic()
Get the allowBranchToBranchTraffic property: Flag to control transit for VirtualRouter hub.
|
com.azure.core.management.SubResource |
azureFirewall()
Get the azureFirewall property: The azureFirewall associated with this VirtualHub.
|
List<com.azure.core.management.SubResource> |
bgpConnections()
Get the bgpConnections property: List of references to Bgp Connections.
|
String |
etag()
Get the etag property: A unique read-only string that changes whenever the resource is updated.
|
com.azure.core.management.SubResource |
expressRouteGateway()
Get the expressRouteGateway property: The expressRouteGateway associated with this VirtualHub.
|
String |
id()
Get the id property: Resource ID.
|
List<com.azure.core.management.SubResource> |
ipConfigurations()
Get the ipConfigurations property: List of references to IpConfigurations.
|
com.azure.core.management.SubResource |
p2SVpnGateway()
Get the p2SVpnGateway property: The P2SVpnGateway associated with this VirtualHub.
|
PreferredRoutingGateway |
preferredRoutingGateway()
Get the preferredRoutingGateway property: The preferred gateway to route on-prem traffic.
|
ProvisioningState |
provisioningState()
Get the provisioningState property: The provisioning state of the virtual hub resource.
|
VirtualHubRouteTable |
routeTable()
Get the routeTable property: The routeTable associated with this virtual hub.
|
RoutingState |
routingState()
Get the routingState property: The routing state.
|
com.azure.core.management.SubResource |
securityPartnerProvider()
Get the securityPartnerProvider property: The securityPartnerProvider associated with this VirtualHub.
|
String |
securityProviderName()
Get the securityProviderName property: The Security Provider name.
|
String |
sku()
Get the sku property: The sku of this VirtualHub.
|
void |
validate()
Validates the instance.
|
List<VirtualHubRouteTableV2Inner> |
virtualHubRouteTableV2S()
Get the virtualHubRouteTableV2S property: List of all virtual hub route table v2s associated with this
VirtualHub.
|
Long |
virtualRouterAsn()
Get the virtualRouterAsn property: VirtualRouter ASN.
|
List<String> |
virtualRouterIps()
Get the virtualRouterIps property: VirtualRouter IPs.
|
com.azure.core.management.SubResource |
virtualWan()
Get the virtualWan property: The VirtualWAN to which the VirtualHub belongs.
|
com.azure.core.management.SubResource |
vpnGateway()
Get the vpnGateway property: The VpnGateway associated with this VirtualHub.
|
VirtualHubInner |
withAddressPrefix(String addressPrefix)
Set the addressPrefix property: Address-prefix for this VirtualHub.
|
VirtualHubInner |
withAllowBranchToBranchTraffic(Boolean allowBranchToBranchTraffic)
Set the allowBranchToBranchTraffic property: Flag to control transit for VirtualRouter hub.
|
VirtualHubInner |
withAzureFirewall(com.azure.core.management.SubResource azureFirewall)
Set the azureFirewall property: The azureFirewall associated with this VirtualHub.
|
VirtualHubInner |
withExpressRouteGateway(com.azure.core.management.SubResource expressRouteGateway)
Set the expressRouteGateway property: The expressRouteGateway associated with this VirtualHub.
|
VirtualHubInner |
withId(String id)
Set the id property: Resource ID.
|
VirtualHubInner |
withLocation(String location) |
VirtualHubInner |
withP2SVpnGateway(com.azure.core.management.SubResource p2SVpnGateway)
Set the p2SVpnGateway property: The P2SVpnGateway associated with this VirtualHub.
|
VirtualHubInner |
withPreferredRoutingGateway(PreferredRoutingGateway preferredRoutingGateway)
Set the preferredRoutingGateway property: The preferred gateway to route on-prem traffic.
|
VirtualHubInner |
withRouteTable(VirtualHubRouteTable routeTable)
Set the routeTable property: The routeTable associated with this virtual hub.
|
VirtualHubInner |
withSecurityPartnerProvider(com.azure.core.management.SubResource securityPartnerProvider)
Set the securityPartnerProvider property: The securityPartnerProvider associated with this VirtualHub.
|
VirtualHubInner |
withSecurityProviderName(String securityProviderName)
Set the securityProviderName property: The Security Provider name.
|
VirtualHubInner |
withSku(String sku)
Set the sku property: The sku of this VirtualHub.
|
VirtualHubInner |
withTags(Map<String,String> tags) |
VirtualHubInner |
withVirtualHubRouteTableV2S(List<VirtualHubRouteTableV2Inner> virtualHubRouteTableV2S)
Set the virtualHubRouteTableV2S property: List of all virtual hub route table v2s associated with this
VirtualHub.
|
VirtualHubInner |
withVirtualRouterAsn(Long virtualRouterAsn)
Set the virtualRouterAsn property: VirtualRouter ASN.
|
VirtualHubInner |
withVirtualRouterIps(List<String> virtualRouterIps)
Set the virtualRouterIps property: VirtualRouter IPs.
|
VirtualHubInner |
withVirtualWan(com.azure.core.management.SubResource virtualWan)
Set the virtualWan property: The VirtualWAN to which the VirtualHub belongs.
|
VirtualHubInner |
withVpnGateway(com.azure.core.management.SubResource vpnGateway)
Set the vpnGateway property: The VpnGateway associated with this VirtualHub.
|
public String etag()
public com.azure.core.management.SubResource virtualWan()
public VirtualHubInner withVirtualWan(com.azure.core.management.SubResource virtualWan)
virtualWan - the virtualWan value to set.public com.azure.core.management.SubResource vpnGateway()
public VirtualHubInner withVpnGateway(com.azure.core.management.SubResource vpnGateway)
vpnGateway - the vpnGateway value to set.public com.azure.core.management.SubResource p2SVpnGateway()
public VirtualHubInner withP2SVpnGateway(com.azure.core.management.SubResource p2SVpnGateway)
p2SVpnGateway - the p2SVpnGateway value to set.public com.azure.core.management.SubResource expressRouteGateway()
public VirtualHubInner withExpressRouteGateway(com.azure.core.management.SubResource expressRouteGateway)
expressRouteGateway - the expressRouteGateway value to set.public com.azure.core.management.SubResource azureFirewall()
public VirtualHubInner withAzureFirewall(com.azure.core.management.SubResource azureFirewall)
azureFirewall - the azureFirewall value to set.public com.azure.core.management.SubResource securityPartnerProvider()
public VirtualHubInner withSecurityPartnerProvider(com.azure.core.management.SubResource securityPartnerProvider)
securityPartnerProvider - the securityPartnerProvider value to set.public String addressPrefix()
public VirtualHubInner withAddressPrefix(String addressPrefix)
addressPrefix - the addressPrefix value to set.public VirtualHubRouteTable routeTable()
public VirtualHubInner withRouteTable(VirtualHubRouteTable routeTable)
routeTable - the routeTable value to set.public ProvisioningState provisioningState()
public String securityProviderName()
public VirtualHubInner withSecurityProviderName(String securityProviderName)
securityProviderName - the securityProviderName value to set.public List<VirtualHubRouteTableV2Inner> virtualHubRouteTableV2S()
public VirtualHubInner withVirtualHubRouteTableV2S(List<VirtualHubRouteTableV2Inner> virtualHubRouteTableV2S)
virtualHubRouteTableV2S - the virtualHubRouteTableV2S value to set.public String sku()
public VirtualHubInner withSku(String sku)
sku - the sku value to set.public RoutingState routingState()
public List<com.azure.core.management.SubResource> bgpConnections()
public List<com.azure.core.management.SubResource> ipConfigurations()
public Long virtualRouterAsn()
public VirtualHubInner withVirtualRouterAsn(Long virtualRouterAsn)
virtualRouterAsn - the virtualRouterAsn value to set.public List<String> virtualRouterIps()
public VirtualHubInner withVirtualRouterIps(List<String> virtualRouterIps)
virtualRouterIps - the virtualRouterIps value to set.public Boolean allowBranchToBranchTraffic()
public VirtualHubInner withAllowBranchToBranchTraffic(Boolean allowBranchToBranchTraffic)
allowBranchToBranchTraffic - the allowBranchToBranchTraffic value to set.public PreferredRoutingGateway preferredRoutingGateway()
public VirtualHubInner withPreferredRoutingGateway(PreferredRoutingGateway preferredRoutingGateway)
preferredRoutingGateway - the preferredRoutingGateway value to set.public String id()
id in class com.azure.core.management.ProxyResourcepublic VirtualHubInner withId(String id)
id - the id value to set.public VirtualHubInner withLocation(String location)
withLocation in class com.azure.core.management.Resourcepublic VirtualHubInner withTags(Map<String,String> tags)
withTags in class com.azure.core.management.Resourcepublic void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.