VirtualHub Class

VirtualHub Resource.

Variables are only populated by the server, and will be ignored when sending a request.

Inheritance
azure.mgmt.network.v2020_06_01.models._models_py3.Resource
VirtualHub

Constructor

VirtualHub(*, id: typing.Union[str, NoneType] = None, location: typing.Union[str, NoneType] = None, tags: typing.Union[typing.Dict[str, str], NoneType] = None, virtual_wan: typing.Union[_ForwardRef('SubResource'), NoneType] = None, vpn_gateway: typing.Union[_ForwardRef('SubResource'), NoneType] = None, p2_s_vpn_gateway: typing.Union[_ForwardRef('SubResource'), NoneType] = None, express_route_gateway: typing.Union[_ForwardRef('SubResource'), NoneType] = None, azure_firewall: typing.Union[_ForwardRef('SubResource'), NoneType] = None, security_partner_provider: typing.Union[_ForwardRef('SubResource'), NoneType] = None, address_prefix: typing.Union[str, NoneType] = None, route_table: typing.Union[_ForwardRef('VirtualHubRouteTable'), NoneType] = None, security_provider_name: typing.Union[str, NoneType] = None, virtual_hub_route_table_v2_s: typing.Union[typing.List[_ForwardRef('VirtualHubRouteTableV2')], NoneType] = None, sku: typing.Union[str, NoneType] = None, virtual_router_asn: typing.Union[int, NoneType] = None, virtual_router_ips: typing.Union[typing.List[str], NoneType] = None, enable_virtual_router_route_propogation: typing.Union[bool, NoneType] = None, **kwargs)

Parameters

id
str

Resource ID.

location
str

Resource location.

tags
dict[str, str]

A set of tags. Resource tags.

virtual_wan
SubResource

The VirtualWAN to which the VirtualHub belongs.

vpn_gateway
SubResource

The VpnGateway associated with this VirtualHub.

p2_s_vpn_gateway
SubResource

The P2SVpnGateway associated with this VirtualHub.

express_route_gateway
SubResource

The expressRouteGateway associated with this VirtualHub.

azure_firewall
SubResource

The azureFirewall associated with this VirtualHub.

security_partner_provider
SubResource

The securityPartnerProvider associated with this VirtualHub.

address_prefix
str

Address-prefix for this VirtualHub.

route_table
VirtualHubRouteTable

The routeTable associated with this virtual hub.

security_provider_name
str

The Security Provider name.

virtual_hub_route_table_v2_s
list[VirtualHubRouteTableV2]

List of all virtual hub route table v2s associated with this VirtualHub.

sku
str

The sku of this VirtualHub.

virtual_router_asn
<xref:long>

VirtualRouter ASN.

virtual_router_ips
list[str]

VirtualRouter IPs.

enable_virtual_router_route_propogation
bool

Flag to control route propogation for VirtualRouter hub.

Variables

name
str

Resource name.

type
str

Resource type.

etag
str

A unique read-only string that changes whenever the resource is updated.

provisioning_state
str or ProvisioningState

The provisioning state of the virtual hub resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed".

routing_state
str or RoutingState

The routing state. Possible values include: "None", "Provisioned", "Provisioning", "Failed".

bgp_connections
list[SubResource]

List of references to Bgp Connections.

ip_configurations
list[SubResource]

List of references to IpConfigurations.