VirtualHub Class

VirtualHub Resource.

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

Inheritance
azure.mgmt.network.v2018_11_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, virtual_network_connections: typing.Union[typing.List[_ForwardRef('HubVirtualNetworkConnection')], NoneType] = None, address_prefix: typing.Union[str, NoneType] = None, route_table: typing.Union[_ForwardRef('VirtualHubRouteTable'), NoneType] = None, provisioning_state: typing.Union[str, _ForwardRef('ProvisioningState'), 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.

virtual_network_connections
list[HubVirtualNetworkConnection]

list of all vnet connections with this VirtualHub.

address_prefix
str

Address-prefix for this VirtualHub.

route_table
VirtualHubRouteTable

The routeTable associated with this virtual hub.

provisioning_state
str or ProvisioningState

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

Variables

name
str

Resource name.

type
str

Resource type.

etag
str

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