ArmWebPubSubModelFactory.PrivateEndpointAcl Method

Definition

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.

deny
IEnumerable<WebPubSubRequestType>

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.

Applies to