VirtualHubInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. core. management. Resource - com.
azure. resourcemanager. network. fluent. models. VirtualHubInner
- com.
- com.
- com.
public final class VirtualHubInner
extends Resource
VirtualHub Resource.
Constructor Summary
Constructor | Description |
---|---|
VirtualHubInner() |
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 |
String |
etag()
Get the etag property: A unique read-only string that changes whenever the resource is updated. |
Sub |
expressRouteGateway()
Get the express |
static
Virtual |
fromJson(JsonReader jsonReader)
Reads an instance of Virtual |
Hub |
hubRoutingPreference()
Get the hub |
String |
id()
Get the id property: Resource ID. |
List<Sub |
ipConfigurations()
Get the ip |
String |
kind()
Get the kind property: Kind of service virtual hub. |
String |
name()
Get the name property: The name of the resource. |
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) |
String |
type()
Get the type property: The type of the resource. |
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 |
withId(String id)
Set the id property: Resource ID. |
Virtual |
withLocation(String location) |
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 |
withTags(Map<String,String> tags) |
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 ProxyResource
Methods inherited from Resource
Methods inherited from java.lang.Object
Constructor Details
VirtualHubInner
public VirtualHubInner()
Creates an instance of VirtualHubInner 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
Get the bgpConnections property: List of references to Bgp Connections.
Returns:
etag
public String etag()
Get the etag property: A unique read-only string that changes whenever the resource is updated.
Returns:
expressRouteGateway
public SubResource expressRouteGateway()
Get the expressRouteGateway property: The expressRouteGateway associated with this VirtualHub.
Returns:
fromJson
public static VirtualHubInner fromJson(JsonReader jsonReader)
Reads an instance of VirtualHubInner from the JsonReader.
Parameters:
Returns:
Throws:
hubRoutingPreference
public HubRoutingPreference hubRoutingPreference()
Get the hubRoutingPreference property: The hubRoutingPreference of this VirtualHub.
Returns:
id
public String id()
Get the id property: Resource ID.
Overrides:
VirtualHubInner.id()Returns:
ipConfigurations
public List
Get the ipConfigurations property: List of references to IpConfigurations.
Returns:
kind
public String kind()
Get the kind property: Kind of service virtual hub. This is metadata used for the Azure portal experience for Route Server.
Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
VirtualHubInner.name()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
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
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
VirtualHubInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
VirtualHubInner.type()Returns:
validate
public void validate()
Validates the instance.
virtualHubRouteTableV2S
public List
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
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 VirtualHubInner withAddressPrefix(String addressPrefix)
Set the addressPrefix property: Address-prefix for this VirtualHub.
Parameters:
Returns:
withAllowBranchToBranchTraffic
public VirtualHubInner withAllowBranchToBranchTraffic(Boolean allowBranchToBranchTraffic)
Set the allowBranchToBranchTraffic property: Flag to control transit for VirtualRouter hub.
Parameters:
Returns:
withAzureFirewall
public VirtualHubInner withAzureFirewall(SubResource azureFirewall)
Set the azureFirewall property: The azureFirewall associated with this VirtualHub.
Parameters:
Returns:
withExpressRouteGateway
public VirtualHubInner withExpressRouteGateway(SubResource expressRouteGateway)
Set the expressRouteGateway property: The expressRouteGateway associated with this VirtualHub.
Parameters:
Returns:
withHubRoutingPreference
public VirtualHubInner withHubRoutingPreference(HubRoutingPreference hubRoutingPreference)
Set the hubRoutingPreference property: The hubRoutingPreference of this VirtualHub.
Parameters:
Returns:
withId
public VirtualHubInner withId(String id)
Set the id property: Resource ID.
Parameters:
Returns:
withLocation
public VirtualHubInner withLocation(String location)
Overrides:
VirtualHubInner.withLocation(String location)Parameters:
withP2SVpnGateway
public VirtualHubInner withP2SVpnGateway(SubResource p2SVpnGateway)
Set the p2SVpnGateway property: The P2SVpnGateway associated with this VirtualHub.
Parameters:
Returns:
withPreferredRoutingGateway
public VirtualHubInner withPreferredRoutingGateway(PreferredRoutingGateway preferredRoutingGateway)
Set the preferredRoutingGateway property: The preferred gateway to route on-prem traffic.
Parameters:
Returns:
withRouteTable
public VirtualHubInner withRouteTable(VirtualHubRouteTable routeTable)
Set the routeTable property: The routeTable associated with this virtual hub.
Parameters:
Returns:
withSecurityPartnerProvider
public VirtualHubInner withSecurityPartnerProvider(SubResource securityPartnerProvider)
Set the securityPartnerProvider property: The securityPartnerProvider associated with this VirtualHub.
Parameters:
Returns:
withSecurityProviderName
public VirtualHubInner withSecurityProviderName(String securityProviderName)
Set the securityProviderName property: The Security Provider name.
Parameters:
Returns:
withSku
public VirtualHubInner withSku(String sku)
Set the sku property: The sku of this VirtualHub.
Parameters:
Returns:
withTags
public VirtualHubInner withTags(Map
Overrides:
VirtualHubInner.withTags(Map<String,String> tags)Parameters:
withVirtualHubRouteTableV2S
public VirtualHubInner withVirtualHubRouteTableV2S(List
Set the virtualHubRouteTableV2S property: List of all virtual hub route table v2s associated with this VirtualHub.
Parameters:
Returns:
withVirtualRouterAsn
public VirtualHubInner withVirtualRouterAsn(Long virtualRouterAsn)
Set the virtualRouterAsn property: VirtualRouter ASN.
Parameters:
Returns:
withVirtualRouterAutoScaleConfiguration
public VirtualHubInner withVirtualRouterAutoScaleConfiguration(VirtualRouterAutoScaleConfiguration virtualRouterAutoScaleConfiguration)
Set the virtualRouterAutoScaleConfiguration property: The VirtualHub Router autoscale configuration.
Parameters:
Returns:
withVirtualRouterIps
public VirtualHubInner withVirtualRouterIps(List
Set the virtualRouterIps property: VirtualRouter IPs.
Parameters:
Returns:
withVirtualWan
public VirtualHubInner withVirtualWan(SubResource virtualWan)
Set the virtualWan property: The VirtualWAN to which the VirtualHub belongs.
Parameters:
Returns:
withVpnGateway
public VirtualHubInner withVpnGateway(SubResource vpnGateway)
Set the vpnGateway property: The VpnGateway associated with this VirtualHub.
Parameters:
Returns:
Applies to
Azure SDK for Java