VirtualRouter Class

VirtualRouter Resource.

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

Inheritance
azure.mgmt.network.v2020_04_01.models._models_py3.Resource
VirtualRouter

Constructor

VirtualRouter(*, id: typing.Union[str, NoneType] = None, location: typing.Union[str, NoneType] = None, tags: typing.Union[typing.Dict[str, str], NoneType] = None, virtual_router_asn: typing.Union[int, NoneType] = None, virtual_router_ips: typing.Union[typing.List[str], NoneType] = None, hosted_subnet: typing.Union[_ForwardRef('SubResource'), NoneType] = None, hosted_gateway: typing.Union[_ForwardRef('SubResource'), NoneType] = None, **kwargs)

Parameters

id
str

Resource ID.

location
str

Resource location.

tags
dict[str, str]

A set of tags. Resource tags.

virtual_router_asn
<xref:long>

VirtualRouter ASN.

virtual_router_ips
list[str]

VirtualRouter IPs.

hosted_subnet
SubResource

The Subnet on which VirtualRouter is hosted.

hosted_gateway
SubResource

The Gateway on which VirtualRouter is hosted.

Variables

name
str

Resource name.

type
str

Resource type.

etag
str

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

peerings
list[SubResource]

List of references to VirtualRouterPeerings.

provisioning_state
str or ProvisioningState

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