-
Notifications
You must be signed in to change notification settings - Fork 4.5k
/
ManagedClusterAddonProfile.cs
42 lines (36 loc) · 1.75 KB
/
ManagedClusterAddonProfile.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
// 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.ContainerService.Models
{
/// <summary> A Kubernetes add-on profile for a managed cluster. </summary>
public partial class ManagedClusterAddonProfile
{
/// <summary> Initializes a new instance of ManagedClusterAddonProfile. </summary>
/// <param name="isEnabled"> Whether the add-on is enabled or not. </param>
public ManagedClusterAddonProfile(bool isEnabled)
{
IsEnabled = isEnabled;
Config = new ChangeTrackingDictionary<string, string>();
}
/// <summary> Initializes a new instance of ManagedClusterAddonProfile. </summary>
/// <param name="isEnabled"> Whether the add-on is enabled or not. </param>
/// <param name="config"> Key-value pairs for configuring an add-on. </param>
/// <param name="identity"> Information of user assigned identity used by this add-on. </param>
internal ManagedClusterAddonProfile(bool isEnabled, IDictionary<string, string> config, ManagedClusterAddonProfileIdentity identity)
{
IsEnabled = isEnabled;
Config = config;
Identity = identity;
}
/// <summary> Whether the add-on is enabled or not. </summary>
public bool IsEnabled { get; set; }
/// <summary> Key-value pairs for configuring an add-on. </summary>
public IDictionary<string, string> Config { get; }
/// <summary> Information of user assigned identity used by this add-on. </summary>
public ManagedClusterAddonProfileIdentity Identity { get; }
}
}