Compartilhar via


P2SVpnGateway Class

P2SVpnGateway Resource.

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

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

Constructor

P2SVpnGateway(*, id: str | None = None, location: str | None = None, tags: Dict[str, str] | None = None, virtual_hub: _models.SubResource | None = None, p2_s_connection_configurations: List[_models.P2SConnectionConfiguration] | None = None, vpn_gateway_scale_unit: int | None = None, vpn_server_configuration: _models.SubResource | None = None, custom_dns_servers: List[str] | None = None, is_routing_preference_internet: bool | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
id
str

Resource ID.

location
str

Resource location.

tags

Resource tags.

virtual_hub

The VirtualHub to which the gateway belongs.

p2_s_connection_configurations

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

The VpnServerConfiguration to which the p2sVpnGateway is attached to.

custom_dns_servers

List of all customer specified DNS servers IP addresses.

is_routing_preference_internet

Enable Routing Preference property for the Public IP Interface of the P2SVpnGateway.

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_hub

The VirtualHub to which the gateway belongs.

p2_s_connection_configurations

List of all p2s connection configurations of the gateway.

provisioning_state

The provisioning state of the P2S VPN gateway resource. Known values are: "Failed", "Succeeded", "Canceled", "Creating", "Updating", and "Deleting".

vpn_gateway_scale_unit
int

The scale unit for this p2s vpn gateway.

vpn_server_configuration

The VpnServerConfiguration to which the p2sVpnGateway is attached to.

vpn_client_connection_health

All P2S VPN clients' connection health status.

custom_dns_servers

List of all customer specified DNS servers IP addresses.

is_routing_preference_internet

Enable Routing Preference property for the Public IP Interface of the P2SVpnGateway.