P2SVpnGateway Class

P2SVpnGateway Resource.

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

Inheritance
azure.mgmt.network.v2020_05_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, p2_s_connection_configurations: typing.Union[typing.List[_ForwardRef('P2SConnectionConfiguration')], NoneType] = None, vpn_gateway_scale_unit: typing.Union[int, NoneType] = None, vpn_server_configuration: typing.Union[_ForwardRef('SubResource'), NoneType] = None, custom_dns_servers: typing.Union[typing.List[str], 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.

p2_s_connection_configurations
list[P2SConnectionConfiguration]

List of all p2s connection configurations of the gateway.

vpn_gateway_scale_unit
int

The scale unit for this p2s vpn gateway.

vpn_server_configuration
SubResource

The VpnServerConfiguration to which the p2sVpnGateway is attached to.

custom_dns_servers
list[str]

List of all customer specified DNS servers IP addresses.

Variables

name
str

Resource name.

type
str

Resource type.

etag
str

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

provisioning_state
str or ProvisioningState

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

vpn_client_connection_health
VpnClientConnectionHealth

All P2S VPN clients' connection health status.