共用方式為


VirtualNetworkGatewayInner Constructors

Definition

Overloads

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.

VirtualNetworkGatewayInner()

Initializes a new instance of the VirtualNetworkGatewayInner class.

public VirtualNetworkGatewayInner ();
Public Sub New ()

Applies to

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.

public VirtualNetworkGatewayInner (string location = default, string id = default, string name = default, string type = default, System.Collections.Generic.IDictionary<string,string> tags = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Fluent.Models.VirtualNetworkGatewayIPConfigurationInner> ipConfigurations = default, Microsoft.Azure.Management.Network.Fluent.Models.VirtualNetworkGatewayType gatewayType = default, Microsoft.Azure.Management.Network.Fluent.Models.VpnType vpnType = default, Microsoft.Azure.Management.Network.Fluent.Models.VpnGatewayGeneration vpnGatewayGeneration = default, bool? enableBgp = default, bool? activeActive = default, Microsoft.Azure.Management.ResourceManager.Fluent.SubResource gatewayDefaultSite = default, Microsoft.Azure.Management.Network.Fluent.Models.VirtualNetworkGatewaySku sku = default, Microsoft.Azure.Management.Network.Fluent.Models.VpnClientConfiguration vpnClientConfiguration = default, Microsoft.Azure.Management.Network.Fluent.Models.BgpSettings bgpSettings = default, Microsoft.Azure.Management.Network.Fluent.Models.AddressSpace customRoutes = default, string resourceGuid = default, Microsoft.Azure.Management.Network.Fluent.Models.ProvisioningState provisioningState = default, bool? enableDnsForwarding = default, string inboundDnsForwardingEndpoint = default, string etag = default);
new Microsoft.Azure.Management.Network.Fluent.Models.VirtualNetworkGatewayInner : string * string * string * string * System.Collections.Generic.IDictionary<string, string> * System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Fluent.Models.VirtualNetworkGatewayIPConfigurationInner> * Microsoft.Azure.Management.Network.Fluent.Models.VirtualNetworkGatewayType * Microsoft.Azure.Management.Network.Fluent.Models.VpnType * Microsoft.Azure.Management.Network.Fluent.Models.VpnGatewayGeneration * Nullable<bool> * Nullable<bool> * Microsoft.Azure.Management.ResourceManager.Fluent.SubResource * Microsoft.Azure.Management.Network.Fluent.Models.VirtualNetworkGatewaySku * Microsoft.Azure.Management.Network.Fluent.Models.VpnClientConfiguration * Microsoft.Azure.Management.Network.Fluent.Models.BgpSettings * Microsoft.Azure.Management.Network.Fluent.Models.AddressSpace * string * Microsoft.Azure.Management.Network.Fluent.Models.ProvisioningState * Nullable<bool> * string * string -> Microsoft.Azure.Management.Network.Fluent.Models.VirtualNetworkGatewayInner
Public Sub New (Optional location As String = Nothing, Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional ipConfigurations As IList(Of VirtualNetworkGatewayIPConfigurationInner) = Nothing, Optional gatewayType As VirtualNetworkGatewayType = Nothing, Optional vpnType As VpnType = Nothing, Optional vpnGatewayGeneration As VpnGatewayGeneration = Nothing, Optional enableBgp As Nullable(Of Boolean) = Nothing, Optional activeActive As Nullable(Of Boolean) = Nothing, Optional gatewayDefaultSite As SubResource = Nothing, Optional sku As VirtualNetworkGatewaySku = Nothing, Optional vpnClientConfiguration As VpnClientConfiguration = Nothing, Optional bgpSettings As BgpSettings = Nothing, Optional customRoutes As AddressSpace = Nothing, Optional resourceGuid As String = Nothing, Optional provisioningState As ProvisioningState = Nothing, Optional enableDnsForwarding As Nullable(Of Boolean) = Nothing, Optional inboundDnsForwardingEndpoint As String = Nothing, Optional etag As String = Nothing)

Parameters

location
String
id
String
name
String
type
String
ipConfigurations
IList<VirtualNetworkGatewayIPConfigurationInner>

IP configurations for virtual network gateway.

gatewayType
VirtualNetworkGatewayType

The type of this virtual network gateway. Possible values include: 'Vpn', 'ExpressRoute'

vpnType
VpnType

The type of this virtual network gateway. Possible values include: 'PolicyBased', 'RouteBased'

vpnGatewayGeneration
VpnGatewayGeneration

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

enableBgp
Nullable<Boolean>

Whether BGP is enabled for this virtual network gateway or not.

activeActive
Nullable<Boolean>

ActiveActive flag.

gatewayDefaultSite
SubResource

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.

sku
VirtualNetworkGatewaySku

The reference of the VirtualNetworkGatewaySku resource which represents the SKU selected for Virtual network gateway.

vpnClientConfiguration
VpnClientConfiguration

The reference of the VpnClientConfiguration resource which represents the P2S VpnClient configurations.

bgpSettings
BgpSettings

Virtual network gateway's BGP speaker settings.

customRoutes
AddressSpace

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

resourceGuid
String

The resource GUID property of the virtual network gateway resource.

provisioningState
ProvisioningState

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

enableDnsForwarding
Nullable<Boolean>

Whether dns forwarding is enabled or not.

inboundDnsForwardingEndpoint
String

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

etag
String

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

Applies to