| | 1 | | // Copyright (c) Microsoft Corporation. All rights reserved. |
| | 2 | | // Licensed under the MIT License. |
| | 3 | |
|
| | 4 | | // <auto-generated/> |
| | 5 | |
|
| | 6 | | #nullable disable |
| | 7 | |
|
| | 8 | | using System.Collections.Generic; |
| | 9 | | using Azure.Core; |
| | 10 | |
|
| | 11 | | namespace Azure.Security.KeyVault.Administration.Models |
| | 12 | | { |
| | 13 | | /// <summary> Role definition permissions. </summary> |
| | 14 | | public partial class KeyVaultPermission |
| | 15 | | { |
| | 16 | | /// <summary> Initializes a new instance of KeyVaultPermission. </summary> |
| 0 | 17 | | internal KeyVaultPermission() |
| | 18 | | { |
| 0 | 19 | | Actions = new ChangeTrackingList<string>(); |
| 0 | 20 | | NotActions = new ChangeTrackingList<string>(); |
| 0 | 21 | | DataActions = new ChangeTrackingList<string>(); |
| 0 | 22 | | NotDataActions = new ChangeTrackingList<string>(); |
| 0 | 23 | | } |
| | 24 | |
|
| | 25 | | /// <summary> Initializes a new instance of KeyVaultPermission. </summary> |
| | 26 | | /// <param name="actions"> Allowed actions. </param> |
| | 27 | | /// <param name="notActions"> Denied actions. </param> |
| | 28 | | /// <param name="dataActions"> Allowed Data actions. </param> |
| | 29 | | /// <param name="notDataActions"> Denied Data actions. </param> |
| 204 | 30 | | internal KeyVaultPermission(IReadOnlyList<string> actions, IReadOnlyList<string> notActions, IReadOnlyList<strin |
| | 31 | | { |
| 204 | 32 | | Actions = actions; |
| 204 | 33 | | NotActions = notActions; |
| 204 | 34 | | DataActions = dataActions; |
| 204 | 35 | | NotDataActions = notDataActions; |
| 204 | 36 | | } |
| | 37 | |
|
| | 38 | | /// <summary> Allowed actions. </summary> |
| 0 | 39 | | public IReadOnlyList<string> Actions { get; } |
| | 40 | | /// <summary> Denied actions. </summary> |
| 0 | 41 | | public IReadOnlyList<string> NotActions { get; } |
| | 42 | | /// <summary> Allowed Data actions. </summary> |
| 0 | 43 | | public IReadOnlyList<string> DataActions { get; } |
| | 44 | | /// <summary> Denied Data actions. </summary> |
| 0 | 45 | | public IReadOnlyList<string> NotDataActions { get; } |
| | 46 | | } |
| | 47 | | } |