-
Notifications
You must be signed in to change notification settings - Fork 4.5k
/
PrivateEndpointAcl.cs
45 lines (37 loc) · 1.93 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
40
41
42
43
44
45
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System;
using System.Collections.Generic;
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="serializedAdditionalRawData"> Keeps track of any properties unknown to the library. </param>
/// <param name="name"> Name of the private endpoint connection. </param>
internal PrivateEndpointAcl(IList<WebPubSubRequestType> allow, IList<WebPubSubRequestType> deny, IDictionary<string, BinaryData> serializedAdditionalRawData, string name) : base(allow, deny, serializedAdditionalRawData)
{
Name = name;
}
/// <summary> Initializes a new instance of <see cref="PrivateEndpointAcl"/> for deserialization. </summary>
internal PrivateEndpointAcl()
{
}
/// <summary> Name of the private endpoint connection. </summary>
[WirePath("name")]
public string Name { get; set; }
}
}