VirtualRouter Class

VirtualRouter Resource.

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

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

Constructor

VirtualRouter(*, id: str | None = None, location: str | None = None, tags: Dict[str, str] | None = None, virtual_router_asn: int | None = None, virtual_router_ips: List[str] | None = None, hosted_subnet: _models.SubResource | None = None, hosted_gateway: _models.SubResource | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
id
str

Resource ID.

location
str

Resource location.

tags

Resource tags.

virtual_router_asn
int

VirtualRouter ASN.

virtual_router_ips

VirtualRouter IPs.

hosted_subnet

The Subnet on which VirtualRouter is hosted.

hosted_gateway

The Gateway on which VirtualRouter is hosted.

Variables

Name Description
id
str

Resource ID.

name
str

Resource name.

type
str

Resource type.

location
str

Resource location.

tags

Resource tags.

etag
str

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

virtual_router_asn
int

VirtualRouter ASN.

virtual_router_ips

VirtualRouter IPs.

hosted_subnet

The Subnet on which VirtualRouter is hosted.

hosted_gateway

The Gateway on which VirtualRouter is hosted.

peerings

List of references to VirtualRouterPeerings.

provisioning_state

The provisioning state of the resource. Known values are: "Succeeded", "Updating", "Deleting", and "Failed".