你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

P2SVpnGateway Class

P2SVpnGateway Resource.

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

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.

Default value: None
___location
str

Resource ___location.

Default value: None
tags

Resource tags.

Default value: None
virtual_hub

The VirtualHub to which the gateway belongs.

Default value: None
p2_s_connection_configurations

List of all p2s connection configurations of the gateway.

Default value: None
vpn_gateway_scale_unit
int

The scale unit for this p2s vpn gateway.

Default value: None
vpn_server_configuration

The VpnServerConfiguration to which the p2sVpnGateway is attached to.

Default value: None
custom_dns_servers

List of all customer specified DNS servers IP addresses.

Default value: None
is_routing_preference_internet

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

Default value: None

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.