-
Notifications
You must be signed in to change notification settings - Fork 4.5k
/
ComponentSetup.cs
44 lines (37 loc) · 1.86 KB
/
ComponentSetup.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
43
44
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System;
using Azure.Core;
using Azure.Core.Expressions.DataFactory;
namespace Azure.ResourceManager.DataFactory.Models
{
/// <summary> The custom setup of installing 3rd party components. </summary>
public partial class ComponentSetup : CustomSetupBase
{
/// <summary> Initializes a new instance of <see cref="ComponentSetup"/>. </summary>
/// <param name="componentName"> The name of the 3rd party component. </param>
/// <exception cref="ArgumentNullException"> <paramref name="componentName"/> is null. </exception>
public ComponentSetup(string componentName)
{
Argument.AssertNotNull(componentName, nameof(componentName));
ComponentName = componentName;
CustomSetupBaseType = "ComponentSetup";
}
/// <summary> Initializes a new instance of <see cref="ComponentSetup"/>. </summary>
/// <param name="customSetupBaseType"> The type of custom setup. </param>
/// <param name="componentName"> The name of the 3rd party component. </param>
/// <param name="licenseKey"> The license key to activate the component. </param>
internal ComponentSetup(string customSetupBaseType, string componentName, DataFactorySecretBaseDefinition licenseKey) : base(customSetupBaseType)
{
ComponentName = componentName;
LicenseKey = licenseKey;
CustomSetupBaseType = customSetupBaseType ?? "ComponentSetup";
}
/// <summary> The name of the 3rd party component. </summary>
public string ComponentName { get; set; }
/// <summary> The license key to activate the component. </summary>
public DataFactorySecretBaseDefinition LicenseKey { get; set; }
}
}