ArmWebPubSubModelFactory.PrivateEndpointAcl 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.
ACL for a private endpoint.
public static Azure.ResourceManager.WebPubSub.Models.PrivateEndpointAcl PrivateEndpointAcl(System.Collections.Generic.IEnumerable<Azure.ResourceManager.WebPubSub.Models.WebPubSubRequestType> allow = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.WebPubSub.Models.WebPubSubRequestType> deny = default, string name = default);
static member PrivateEndpointAcl : seq<Azure.ResourceManager.WebPubSub.Models.WebPubSubRequestType> * seq<Azure.ResourceManager.WebPubSub.Models.WebPubSubRequestType> * string -> Azure.ResourceManager.WebPubSub.Models.PrivateEndpointAcl
Public Shared Function PrivateEndpointAcl (Optional allow As IEnumerable(Of WebPubSubRequestType) = Nothing, Optional deny As IEnumerable(Of WebPubSubRequestType) = Nothing, Optional name As String = Nothing) As PrivateEndpointAcl
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.
- name
- String
Name of the private endpoint connection.
Returns
A new PrivateEndpointAcl instance for mocking.