ArmNetworkModelFactory.P2SConnectionConfiguration Method

Definition

Initializes a new instance of P2SConnectionConfiguration.

public static Azure.ResourceManager.Network.Models.P2SConnectionConfiguration P2SConnectionConfiguration (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType? resourceType = default, Azure.ETag? etag = default, System.Collections.Generic.IEnumerable<string> vpnClientAddressPrefixes = default, Azure.ResourceManager.Network.Models.RoutingConfiguration routingConfiguration = default, bool? enableInternetSecurity = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Resources.Models.WritableSubResource> configurationPolicyGroupAssociations = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Network.VpnServerConfigurationPolicyGroupData> previousConfigurationPolicyGroupAssociations = default, Azure.ResourceManager.Network.Models.NetworkProvisioningState? provisioningState = default);
static member P2SConnectionConfiguration : Azure.Core.ResourceIdentifier * string * Nullable<Azure.Core.ResourceType> * Nullable<Azure.ETag> * seq<string> * Azure.ResourceManager.Network.Models.RoutingConfiguration * Nullable<bool> * seq<Azure.ResourceManager.Resources.Models.WritableSubResource> * seq<Azure.ResourceManager.Network.VpnServerConfigurationPolicyGroupData> * Nullable<Azure.ResourceManager.Network.Models.NetworkProvisioningState> -> Azure.ResourceManager.Network.Models.P2SConnectionConfiguration
Public Shared Function P2SConnectionConfiguration (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As Nullable(Of ResourceType) = Nothing, Optional etag As Nullable(Of ETag) = Nothing, Optional vpnClientAddressPrefixes As IEnumerable(Of String) = Nothing, Optional routingConfiguration As RoutingConfiguration = Nothing, Optional enableInternetSecurity As Nullable(Of Boolean) = Nothing, Optional configurationPolicyGroupAssociations As IEnumerable(Of WritableSubResource) = Nothing, Optional previousConfigurationPolicyGroupAssociations As IEnumerable(Of VpnServerConfigurationPolicyGroupData) = Nothing, Optional provisioningState As Nullable(Of NetworkProvisioningState) = Nothing) As P2SConnectionConfiguration

Parameters

id
ResourceIdentifier

Resource ID.

name
String

Resource name.

resourceType
Nullable<ResourceType>

Resource type.

etag
Nullable<ETag>

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

vpnClientAddressPrefixes
IEnumerable<String>

The reference to the address space resource which represents Address space for P2S VpnClient.

routingConfiguration
RoutingConfiguration

The Routing Configuration indicating the associated and propagated route tables on this connection.

enableInternetSecurity
Nullable<Boolean>

Flag indicating whether the enable internet security flag is turned on for the P2S Connections or not.

configurationPolicyGroupAssociations
IEnumerable<WritableSubResource>

List of Configuration Policy Groups that this P2SConnectionConfiguration is attached to.

previousConfigurationPolicyGroupAssociations
IEnumerable<VpnServerConfigurationPolicyGroupData>

List of previous Configuration Policy Groups that this P2SConnectionConfiguration was attached to.

provisioningState
Nullable<NetworkProvisioningState>

The provisioning state of the P2SConnectionConfiguration resource.

Returns

A new P2SConnectionConfiguration instance for mocking.

Applies to