ArmWebPubSubModelFactory.WebPubSubApplicationFirewallSettings Method

Definition

Application firewall settings for the resource.

public static Azure.ResourceManager.WebPubSub.Models.WebPubSubApplicationFirewallSettings WebPubSubApplicationFirewallSettings(System.Collections.Generic.IEnumerable<Azure.ResourceManager.WebPubSub.Models.WebPubSubClientConnectionCountRule> clientConnectionCountRules = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.WebPubSub.Models.WebPubSubClientTrafficControlRule> clientTrafficControlRules = default, long? maxClientConnectionLifetimeInSeconds = default);
static member WebPubSubApplicationFirewallSettings : seq<Azure.ResourceManager.WebPubSub.Models.WebPubSubClientConnectionCountRule> * seq<Azure.ResourceManager.WebPubSub.Models.WebPubSubClientTrafficControlRule> * Nullable<int64> -> Azure.ResourceManager.WebPubSub.Models.WebPubSubApplicationFirewallSettings
Public Shared Function WebPubSubApplicationFirewallSettings (Optional clientConnectionCountRules As IEnumerable(Of WebPubSubClientConnectionCountRule) = Nothing, Optional clientTrafficControlRules As IEnumerable(Of WebPubSubClientTrafficControlRule) = Nothing, Optional maxClientConnectionLifetimeInSeconds As Nullable(Of Long) = Nothing) As WebPubSubApplicationFirewallSettings

Parameters

clientConnectionCountRules
IEnumerable<WebPubSubClientConnectionCountRule>

Rules to control the client connection count.

clientTrafficControlRules
IEnumerable<WebPubSubClientTrafficControlRule>

Rules to control the client traffic.

maxClientConnectionLifetimeInSeconds
Nullable<Int64>

Config to control the client connection lifetime in seconds, can be set to 0 to disable the config.

Returns

A new WebPubSubApplicationFirewallSettings instance for mocking.

Applies to