Udostępnij za pośrednictwem


ArmNetworkModelFactory.VpnServerConfigurationPolicyGroupData Method

Definition

Initializes a new instance of VpnServerConfigurationPolicyGroupData.

public static Azure.ResourceManager.Network.VpnServerConfigurationPolicyGroupData VpnServerConfigurationPolicyGroupData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType? resourceType = default, Azure.ETag? etag = default, bool? isDefault = default, int? priority = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Network.Models.VpnServerConfigurationPolicyGroupMember> policyMembers = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Resources.Models.WritableSubResource> p2sConnectionConfigurations = default, Azure.ResourceManager.Network.Models.NetworkProvisioningState? provisioningState = default);
static member VpnServerConfigurationPolicyGroupData : Azure.Core.ResourceIdentifier * string * Nullable<Azure.Core.ResourceType> * Nullable<Azure.ETag> * Nullable<bool> * Nullable<int> * seq<Azure.ResourceManager.Network.Models.VpnServerConfigurationPolicyGroupMember> * seq<Azure.ResourceManager.Resources.Models.WritableSubResource> * Nullable<Azure.ResourceManager.Network.Models.NetworkProvisioningState> -> Azure.ResourceManager.Network.VpnServerConfigurationPolicyGroupData
Public Shared Function VpnServerConfigurationPolicyGroupData (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 isDefault As Nullable(Of Boolean) = Nothing, Optional priority As Nullable(Of Integer) = Nothing, Optional policyMembers As IEnumerable(Of VpnServerConfigurationPolicyGroupMember) = Nothing, Optional p2sConnectionConfigurations As IEnumerable(Of WritableSubResource) = Nothing, Optional provisioningState As Nullable(Of NetworkProvisioningState) = Nothing) As VpnServerConfigurationPolicyGroupData

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.

isDefault
Nullable<Boolean>

Shows if this is a Default VpnServerConfigurationPolicyGroup or not.

priority
Nullable<Int32>

Priority for VpnServerConfigurationPolicyGroup.

policyMembers
IEnumerable<VpnServerConfigurationPolicyGroupMember>

Multiple PolicyMembers for VpnServerConfigurationPolicyGroup.

p2sConnectionConfigurations
IEnumerable<WritableSubResource>

List of references to P2SConnectionConfigurations.

provisioningState
Nullable<NetworkProvisioningState>

The provisioning state of the VpnServerConfigurationPolicyGroup resource.

Returns

A new VpnServerConfigurationPolicyGroupData instance for mocking.

Applies to