-
Notifications
You must be signed in to change notification settings - Fork 4.5k
/
ClientAccessRight.cs
33 lines (27 loc) · 1.21 KB
/
ClientAccessRight.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
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System;
using Azure.Core;
namespace Azure.ResourceManager.DataBoxEdge.Models
{
/// <summary> The mapping between a particular client IP and the type of access client has on the NFS share. </summary>
public partial class ClientAccessRight
{
/// <summary> Initializes a new instance of ClientAccessRight. </summary>
/// <param name="client"> IP of the client. </param>
/// <param name="accessPermission"> Type of access to be allowed for the client. </param>
/// <exception cref="ArgumentNullException"> <paramref name="client"/> is null. </exception>
public ClientAccessRight(string client, EdgeClientPermissionType accessPermission)
{
Argument.AssertNotNull(client, nameof(client));
Client = client;
AccessPermission = accessPermission;
}
/// <summary> IP of the client. </summary>
public string Client { get; set; }
/// <summary> Type of access to be allowed for the client. </summary>
public EdgeClientPermissionType AccessPermission { get; set; }
}
}