ArmWebPubSubModelFactory.WebPubSubIPRule Method

Definition

public static Azure.ResourceManager.WebPubSub.Models.WebPubSubIPRule WebPubSubIPRule(string value = default, Azure.ResourceManager.WebPubSub.Models.AclAction? action = default);
static member WebPubSubIPRule : string * Nullable<Azure.ResourceManager.WebPubSub.Models.AclAction> -> Azure.ResourceManager.WebPubSub.Models.WebPubSubIPRule
Public Shared Function WebPubSubIPRule (Optional value As String = Nothing, Optional action As Nullable(Of AclAction) = Nothing) As WebPubSubIPRule

Parameters

value
String

An IP or CIDR or ServiceTag.

action
Nullable<AclAction>

Azure Networking ACL Action.

Returns

A new WebPubSubIPRule instance for mocking.

Applies to