Condividi tramite


VpnGateway Class

VpnGateway Resource.

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

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.

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
connections

List of all vpn connections to the gateway.

Default value: None
bgp_settings

Local network gateway's BGP speaker settings.

Default value: None
vpn_gateway_scale_unit
int

The scale unit for this vpn gateway.

Default value: None
enable_bgp_route_translation_for_nat

Enable BGP routes translation for NAT on this VpnGateway.

Default value: None
is_routing_preference_internet

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

Default value: None
nat_rules

List of all the nat Rules associated with the gateway.

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.

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.