Udostępnij za pośrednictwem


VpnGateway Class

Definition

VpnGateway Resource.

[Microsoft.Rest.Serialization.JsonTransformation]
public class VpnGateway : Microsoft.Azure.Management.Network.Models.Resource
[<Microsoft.Rest.Serialization.JsonTransformation>]
type VpnGateway = class
    inherit Resource
Public Class VpnGateway
Inherits Resource
Inheritance
VpnGateway
Attributes

Constructors

VpnGateway()

Initializes a new instance of the VpnGateway class.

VpnGateway(String, String, String, String, IDictionary<String, String>, SubResource, IList<VpnConnection>, BgpSettings, String, Nullable<Int32>, IList<VpnGatewayIpConfiguration>, Nullable<Boolean>, Nullable<Boolean>, IList<VpnGatewayNatRule>, String)

Initializes a new instance of the VpnGateway class.

Properties

BgpSettings

Gets or sets local network gateway's BGP speaker settings.

Connections

Gets or sets list of all vpn connections to the gateway.

EnableBgpRouteTranslationForNat

Gets or sets enable BGP routes translation for NAT on this VpnGateway.

Etag

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

Id

Gets or sets resource ID.

(Inherited from Resource)
IpConfigurations

Gets list of all IPs configured on the gateway.

IsRoutingPreferenceInternet

Gets or sets enable Routing Preference property for the Public IP Interface of the VpnGateway.

Location

Gets or sets resource location.

(Inherited from Resource)
Name

Gets resource name.

(Inherited from Resource)
NatRules

Gets or sets list of all the nat Rules associated with the gateway.

ProvisioningState

Gets the provisioning state of the VPN gateway resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'

Tags

Gets or sets resource tags.

(Inherited from Resource)
Type

Gets resource type.

(Inherited from Resource)
VirtualHub

Gets or sets the VirtualHub to which the gateway belongs.

VpnGatewayScaleUnit

Gets or sets the scale unit for this vpn gateway.

Methods

Validate()

Validate the object.

Applies to