ArmWebPubSubModelFactory.PublicNetworkAcls 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.
Network ACL.
public static Azure.ResourceManager.WebPubSub.Models.PublicNetworkAcls PublicNetworkAcls(System.Collections.Generic.IEnumerable<Azure.ResourceManager.WebPubSub.Models.WebPubSubRequestType> allow = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.WebPubSub.Models.WebPubSubRequestType> deny = default);
static member PublicNetworkAcls : seq<Azure.ResourceManager.WebPubSub.Models.WebPubSubRequestType> * seq<Azure.ResourceManager.WebPubSub.Models.WebPubSubRequestType> -> Azure.ResourceManager.WebPubSub.Models.PublicNetworkAcls
Public Shared Function PublicNetworkAcls (Optional allow As IEnumerable(Of WebPubSubRequestType) = Nothing, Optional deny As IEnumerable(Of WebPubSubRequestType) = Nothing) As PublicNetworkAcls
Parameters
- allow
- IEnumerable<WebPubSubRequestType>
Allowed request types. The value can be one or more of: ClientConnection, ServerConnection, RESTAPI.
Denied request types. The value can be one or more of: ClientConnection, ServerConnection, RESTAPI.
Returns
A new PublicNetworkAcls instance for mocking.