VpnGateway Class

VpnGateway Resource.

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

Inheritance
azure.mgmt.network.v2018_12_01.models._models_py3.Resource
VpnGateway

Constructor

VpnGateway(*, id: typing.Union[str, NoneType] = None, location: typing.Union[str, NoneType] = None, tags: typing.Union[typing.Dict[str, str], NoneType] = None, virtual_hub: typing.Union[_ForwardRef('SubResource'), NoneType] = None, connections: typing.Union[typing.List[_ForwardRef('VpnConnection')], NoneType] = None, bgp_settings: typing.Union[_ForwardRef('BgpSettings'), NoneType] = None, provisioning_state: typing.Union[str, _ForwardRef('ProvisioningState'), NoneType] = None, vpn_gateway_scale_unit: typing.Union[int, NoneType] = None, **kwargs)

Parameters

id
str

Resource ID.

location
str

Resource location.

tags
dict[str, str]

A set of tags. Resource tags.

virtual_hub
SubResource

The VirtualHub to which the gateway belongs.

connections
list[VpnConnection]

List of all vpn connections to the gateway.

bgp_settings
BgpSettings

Local network gateway's BGP speaker settings.

provisioning_state
str or ProvisioningState

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

vpn_gateway_scale_unit
int

The scale unit for this vpn gateway.

Variables

name
str

Resource name.

type
str

Resource type.

etag
str

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