ArmNetworkModelFactory.ConnectionPolicyProperties Method

Definition

public static Azure.ResourceManager.Network.Models.ConnectionPolicyProperties ConnectionPolicyProperties(bool? enableInternetSecurity = default, Azure.ResourceManager.Network.Models.RoutingConfigurationNfv routingConfiguration = default, Azure.ResourceManager.Network.Models.NetworkProvisioningState? provisioningState = default, System.Collections.Generic.IEnumerable<string> associatedConnections = default);
static member ConnectionPolicyProperties : Nullable<bool> * Azure.ResourceManager.Network.Models.RoutingConfigurationNfv * Nullable<Azure.ResourceManager.Network.Models.NetworkProvisioningState> * seq<string> -> Azure.ResourceManager.Network.Models.ConnectionPolicyProperties
Public Shared Function ConnectionPolicyProperties (Optional enableInternetSecurity As Nullable(Of Boolean) = Nothing, Optional routingConfiguration As RoutingConfigurationNfv = Nothing, Optional provisioningState As Nullable(Of NetworkProvisioningState) = Nothing, Optional associatedConnections As IEnumerable(Of String) = Nothing) As ConnectionPolicyProperties

Parameters

enableInternetSecurity
Nullable<Boolean>

Enable internet security.

routingConfiguration
Azure.ResourceManager.Network.Models.RoutingConfigurationNfv

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

provisioningState
Nullable<NetworkProvisioningState>

The provisioning state of the ConnectionPolicy resource.

associatedConnections
IEnumerable<String>

List of connection names (e.g. VpnConnection, HubVirtualNetworkConnection) associated with this ConnectionPolicy. These are resource names, not Azure resource IDs, consistent with the established VirtualWAN pattern used by HubRouteTable.associatedConnections.

Returns

A new ConnectionPolicyProperties instance for mocking.

Applies to