-
Notifications
You must be signed in to change notification settings - Fork 4.5k
/
ContainerSecurityContextCapabilitiesDefinition.cs
37 lines (31 loc) · 1.37 KB
/
ContainerSecurityContextCapabilitiesDefinition.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.ContainerInstance.Models
{
/// <summary> The capabilities to add or drop from a container. </summary>
public partial class ContainerSecurityContextCapabilitiesDefinition
{
/// <summary> Initializes a new instance of ContainerSecurityContextCapabilitiesDefinition. </summary>
public ContainerSecurityContextCapabilitiesDefinition()
{
Add = new ChangeTrackingList<string>();
Drop = new ChangeTrackingList<string>();
}
/// <summary> Initializes a new instance of ContainerSecurityContextCapabilitiesDefinition. </summary>
/// <param name="add"> The capabilities to add to the container. </param>
/// <param name="drop"> The capabilities to drop from the container. </param>
internal ContainerSecurityContextCapabilitiesDefinition(IList<string> @add, IList<string> drop)
{
Add = @add;
Drop = drop;
}
/// <summary> The capabilities to add to the container. </summary>
public IList<string> Add { get; }
/// <summary> The capabilities to drop from the container. </summary>
public IList<string> Drop { get; }
}
}