-
Notifications
You must be signed in to change notification settings - Fork 4.8k
/
SignalRNetworkAcl.cs
37 lines (31 loc) · 1.49 KB
/
SignalRNetworkAcl.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
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System.Collections.Generic;
using Azure.Core;
namespace Azure.ResourceManager.SignalR.Models
{
/// <summary> Network ACL. </summary>
public partial class SignalRNetworkAcl
{
/// <summary> Initializes a new instance of SignalRNetworkAcl. </summary>
public SignalRNetworkAcl()
{
Allow = new ChangeTrackingList<SignalRRequestType>();
Deny = new ChangeTrackingList<SignalRRequestType>();
}
/// <summary> Initializes a new instance of SignalRNetworkAcl. </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>
internal SignalRNetworkAcl(IList<SignalRRequestType> allow, IList<SignalRRequestType> deny)
{
Allow = allow;
Deny = deny;
}
/// <summary> Allowed request types. The value can be one or more of: ClientConnection, ServerConnection, RESTAPI. </summary>
public IList<SignalRRequestType> Allow { get; }
/// <summary> Denied request types. The value can be one or more of: ClientConnection, ServerConnection, RESTAPI. </summary>
public IList<SignalRRequestType> Deny { get; }
}
}