ArmWebPubSubModelFactory.WebPubSubApplicationFirewallSettings Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
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.