Udostępnij za pośrednictwem


ArmNetworkModelFactory.VpnServerConfigurationData Method

Definition

Initializes a new instance of VpnServerConfigurationData.

public static Azure.ResourceManager.Network.VpnServerConfigurationData VpnServerConfigurationData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType? resourceType = default, Azure.Core.AzureLocation? location = default, System.Collections.Generic.IDictionary<string,string> tags = default, Azure.ETag? etag = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Network.Models.VpnGatewayTunnelingProtocol> vpnProtocols = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Network.Models.VpnAuthenticationType> vpnAuthenticationTypes = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Network.Models.VpnServerConfigVpnClientRootCertificate> vpnClientRootCertificates = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Network.Models.VpnServerConfigVpnClientRevokedCertificate> vpnClientRevokedCertificates = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Network.Models.VpnServerConfigRadiusServerRootCertificate> radiusServerRootCertificates = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Network.Models.VpnServerConfigRadiusClientRootCertificate> radiusClientRootCertificates = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Network.Models.IPsecPolicy> vpnClientIPsecPolicies = default, string radiusServerAddress = default, string radiusServerSecret = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Network.Models.RadiusServer> radiusServers = default, Azure.ResourceManager.Network.Models.AadAuthenticationParameters aadAuthenticationParameters = default, string provisioningState = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Network.P2SVpnGatewayData> p2sVpnGateways = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Network.VpnServerConfigurationPolicyGroupData> configurationPolicyGroups = default);
static member VpnServerConfigurationData : Azure.Core.ResourceIdentifier * string * Nullable<Azure.Core.ResourceType> * Nullable<Azure.Core.AzureLocation> * System.Collections.Generic.IDictionary<string, string> * Nullable<Azure.ETag> * seq<Azure.ResourceManager.Network.Models.VpnGatewayTunnelingProtocol> * seq<Azure.ResourceManager.Network.Models.VpnAuthenticationType> * seq<Azure.ResourceManager.Network.Models.VpnServerConfigVpnClientRootCertificate> * seq<Azure.ResourceManager.Network.Models.VpnServerConfigVpnClientRevokedCertificate> * seq<Azure.ResourceManager.Network.Models.VpnServerConfigRadiusServerRootCertificate> * seq<Azure.ResourceManager.Network.Models.VpnServerConfigRadiusClientRootCertificate> * seq<Azure.ResourceManager.Network.Models.IPsecPolicy> * string * string * seq<Azure.ResourceManager.Network.Models.RadiusServer> * Azure.ResourceManager.Network.Models.AadAuthenticationParameters * string * seq<Azure.ResourceManager.Network.P2SVpnGatewayData> * seq<Azure.ResourceManager.Network.VpnServerConfigurationPolicyGroupData> -> Azure.ResourceManager.Network.VpnServerConfigurationData
Public Shared Function VpnServerConfigurationData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As Nullable(Of ResourceType) = Nothing, Optional location As Nullable(Of AzureLocation) = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional etag As Nullable(Of ETag) = Nothing, Optional vpnProtocols As IEnumerable(Of VpnGatewayTunnelingProtocol) = Nothing, Optional vpnAuthenticationTypes As IEnumerable(Of VpnAuthenticationType) = Nothing, Optional vpnClientRootCertificates As IEnumerable(Of VpnServerConfigVpnClientRootCertificate) = Nothing, Optional vpnClientRevokedCertificates As IEnumerable(Of VpnServerConfigVpnClientRevokedCertificate) = Nothing, Optional radiusServerRootCertificates As IEnumerable(Of VpnServerConfigRadiusServerRootCertificate) = Nothing, Optional radiusClientRootCertificates As IEnumerable(Of VpnServerConfigRadiusClientRootCertificate) = Nothing, Optional vpnClientIPsecPolicies As IEnumerable(Of IPsecPolicy) = Nothing, Optional radiusServerAddress As String = Nothing, Optional radiusServerSecret As String = Nothing, Optional radiusServers As IEnumerable(Of RadiusServer) = Nothing, Optional aadAuthenticationParameters As AadAuthenticationParameters = Nothing, Optional provisioningState As String = Nothing, Optional p2sVpnGateways As IEnumerable(Of P2SVpnGatewayData) = Nothing, Optional configurationPolicyGroups As IEnumerable(Of VpnServerConfigurationPolicyGroupData) = Nothing) As VpnServerConfigurationData

Parameters

id
ResourceIdentifier

Resource ID.

name
String

Resource name.

resourceType
Nullable<ResourceType>

Resource type.

location
Nullable<AzureLocation>

Resource location.

tags
IDictionary<String,String>

Resource tags.

etag
Nullable<ETag>

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

vpnProtocols
IEnumerable<VpnGatewayTunnelingProtocol>

VPN protocols for the VpnServerConfiguration.

vpnAuthenticationTypes
IEnumerable<VpnAuthenticationType>

VPN authentication types for the VpnServerConfiguration.

vpnClientRootCertificates
IEnumerable<VpnServerConfigVpnClientRootCertificate>

VPN client root certificate of VpnServerConfiguration.

vpnClientRevokedCertificates
IEnumerable<VpnServerConfigVpnClientRevokedCertificate>

VPN client revoked certificate of VpnServerConfiguration.

radiusServerRootCertificates
IEnumerable<VpnServerConfigRadiusServerRootCertificate>

Radius Server root certificate of VpnServerConfiguration.

radiusClientRootCertificates
IEnumerable<VpnServerConfigRadiusClientRootCertificate>

Radius client root certificate of VpnServerConfiguration.

vpnClientIPsecPolicies
IEnumerable<IPsecPolicy>

VpnClientIpsecPolicies for VpnServerConfiguration.

radiusServerAddress
String

The radius server address property of the VpnServerConfiguration resource for point to site client connection.

radiusServerSecret
String

The radius secret property of the VpnServerConfiguration resource for point to site client connection.

radiusServers
IEnumerable<RadiusServer>

Multiple Radius Server configuration for VpnServerConfiguration.

aadAuthenticationParameters
AadAuthenticationParameters

The set of aad vpn authentication parameters.

provisioningState
String

The provisioning state of the VpnServerConfiguration resource. Possible values are: 'Updating', 'Deleting', and 'Failed'.

p2sVpnGateways
IEnumerable<P2SVpnGatewayData>

List of references to P2SVpnGateways.

configurationPolicyGroups
IEnumerable<VpnServerConfigurationPolicyGroupData>

List of all VpnServerConfigurationPolicyGroups.

Returns

A new VpnServerConfigurationData instance for mocking.

Applies to