Compartilhar via


VpnGateway Class

VpnGateway Resource.

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

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

Constructor

VpnGateway(*, id: str | None = None, location: str | None = None, tags: Dict[str, str] | None = None, virtual_hub: _models.SubResource | None = None, connections: List[_models.VpnConnection] | None = None, bgp_settings: _models.BgpSettings | None = None, vpn_gateway_scale_unit: int | None = None, enable_bgp_route_translation_for_nat: bool | None = None, is_routing_preference_internet: bool | None = None, nat_rules: List[_models.VpnGatewayNatRule] | 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.

connections

List of all vpn connections to the gateway.

bgp_settings

Local network gateway's BGP speaker settings.

vpn_gateway_scale_unit
int

The scale unit for this vpn gateway.

enable_bgp_route_translation_for_nat

Enable BGP routes translation for NAT on this VpnGateway.

is_routing_preference_internet

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

nat_rules

List of all the nat Rules associated with the gateway.

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.

connections

List of all vpn connections to the gateway.

bgp_settings

Local network gateway's BGP speaker settings.

provisioning_state

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

vpn_gateway_scale_unit
int

The scale unit for this vpn gateway.

ip_configurations

List of all IPs configured on the gateway.

enable_bgp_route_translation_for_nat

Enable BGP routes translation for NAT on this VpnGateway.

is_routing_preference_internet

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

nat_rules

List of all the nat Rules associated with the gateway.