-
Notifications
You must be signed in to change notification settings - Fork 4.5k
/
PrivateEndpointAcl.cs
39 lines (32 loc) · 1.54 KB
/
PrivateEndpointAcl.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System;
using System.Collections.Generic;
using Azure.Core;
namespace Azure.ResourceManager.WebPubSub.Models
{
/// <summary> ACL for a private endpoint. </summary>
public partial class PrivateEndpointAcl : PublicNetworkAcls
{
/// <summary> Initializes a new instance of <see cref="PrivateEndpointAcl"/>. </summary>
/// <param name="name"> Name of the private endpoint connection. </param>
/// <exception cref="ArgumentNullException"> <paramref name="name"/> is null. </exception>
public PrivateEndpointAcl(string name)
{
Argument.AssertNotNull(name, nameof(name));
Name = name;
}
/// <summary> Initializes a new instance of <see cref="PrivateEndpointAcl"/>. </summary>
/// <param name="allow"> Allowed request types. The value can be one or more of: ClientConnection, ServerConnection, RESTAPI. </param>
/// <param name="deny"> Denied request types. The value can be one or more of: ClientConnection, ServerConnection, RESTAPI. </param>
/// <param name="name"> Name of the private endpoint connection. </param>
internal PrivateEndpointAcl(IList<WebPubSubRequestType> allow, IList<WebPubSubRequestType> deny, string name) : base(allow, deny)
{
Name = name;
}
/// <summary> Name of the private endpoint connection. </summary>
public string Name { get; set; }
}
}