P2SVpnGateway Class

P2SVpnGateway Resource.

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

Inheritance
azure.mgmt.network.v2019_04_01.models._models_py3.Resource
P2SVpnGateway

Constructor

P2SVpnGateway(*, 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, vpn_gateway_scale_unit: typing.Union[int, NoneType] = None, p2_s_vpn_server_configuration: typing.Union[_ForwardRef('SubResource'), NoneType] = None, vpn_client_address_pool: typing.Union[_ForwardRef('AddressSpace'), NoneType] = None, custom_routes: typing.Union[_ForwardRef('AddressSpace'), 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.

vpn_gateway_scale_unit
int

The scale unit for this p2s vpn gateway.

p2_s_vpn_server_configuration
SubResource

The P2SVpnServerConfiguration to which the p2sVpnGateway is attached to.

vpn_client_address_pool
AddressSpace

The reference of the address space resource which represents Address space for P2S VpnClient.

custom_routes
AddressSpace

The reference of the address space resource which represents the custom routes specified by the customer for P2SVpnGateway and P2S VpnClient.

Variables

name
str

Resource name.

type
str

Resource type.

etag
str

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

provisioning_state
str or ProvisioningState

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

vpn_client_connection_health
VpnClientConnectionHealth

All P2S VPN clients' connection health status.