共用方式為


VirtualNetworkGatewayInner Class

Definition

A common class for general resource information.

[Microsoft.Rest.Serialization.JsonTransformation]
public class VirtualNetworkGatewayInner : Microsoft.Azure.Management.ResourceManager.Fluent.Resource
[<Microsoft.Rest.Serialization.JsonTransformation>]
type VirtualNetworkGatewayInner = class
    inherit Resource
Public Class VirtualNetworkGatewayInner
Inherits Resource
Inheritance
VirtualNetworkGatewayInner
Attributes

Constructors

VirtualNetworkGatewayInner()

Initializes a new instance of the VirtualNetworkGatewayInner class.

VirtualNetworkGatewayInner(String, String, String, String, IDictionary<String, String>, IList<VirtualNetworkGatewayIPConfigurationInner>, VirtualNetworkGatewayType, VpnType, VpnGatewayGeneration, Nullable<Boolean>, Nullable<Boolean>, SubResource, VirtualNetworkGatewaySku, VpnClientConfiguration, BgpSettings, AddressSpace, String, ProvisioningState, Nullable<Boolean>, String, String)

Initializes a new instance of the VirtualNetworkGatewayInner class.

Properties

ActiveActive

Gets or sets activeActive flag.

BgpSettings

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

CustomRoutes

Gets or sets the reference of the address space resource which represents the custom routes address space specified by the customer for virtual network gateway and VpnClient.

EnableBgp

Gets or sets whether BGP is enabled for this virtual network gateway or not.

EnableDnsForwarding

Gets or sets whether dns forwarding is enabled or not.

Etag

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

GatewayDefaultSite

Gets or sets the reference of the LocalNetworkGateway resource which represents local network site having default routes. Assign Null value in case of removing existing default site setting.

GatewayType

Gets or sets the type of this virtual network gateway. Possible values include: 'Vpn', 'ExpressRoute'

Id

Resource Id. Setter is protected because Id needs to be set in Network resources.

(Inherited from ProxyResource)
InboundDnsForwardingEndpoint

Gets the IP address allocated by the gateway to which dns requests can be sent.

IpConfigurations

Gets or sets IP configurations for virtual network gateway.

Location

Resource location

(Inherited from Resource)
Name

Resource name

(Inherited from ProxyResource)
ProvisioningState

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

ResourceGuid

Gets the resource GUID property of the virtual network gateway resource.

Sku

Gets or sets the reference of the VirtualNetworkGatewaySku resource which represents the SKU selected for Virtual network gateway.

Tags

Resource tags

(Inherited from Resource)
Type

Resource type

(Inherited from ProxyResource)
VpnClientConfiguration

Gets or sets the reference of the VpnClientConfiguration resource which represents the P2S VpnClient configurations.

VpnGatewayGeneration

Gets or sets the generation for this VirtualNetworkGateway. Must be None if gatewayType is not VPN. Possible values include: 'None', 'Generation1', 'Generation2'

VpnType

Gets or sets the type of this virtual network gateway. Possible values include: 'PolicyBased', 'RouteBased'

Methods

Validate()

Validate the object.

Applies to