-
Notifications
You must be signed in to change notification settings - Fork 4.8k
/
ContainerEnvironmentVariable.cs
44 lines (37 loc) · 1.69 KB
/
ContainerEnvironmentVariable.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;
namespace Azure.ResourceManager.ContainerInstance.Models
{
/// <summary> The environment variable to set within the container instance. </summary>
public partial class ContainerEnvironmentVariable
{
/// <summary> Initializes a new instance of ContainerEnvironmentVariable. </summary>
/// <param name="name"> The name of the environment variable. </param>
/// <exception cref="ArgumentNullException"> <paramref name="name"/> is null. </exception>
public ContainerEnvironmentVariable(string name)
{
Argument.AssertNotNull(name, nameof(name));
Name = name;
}
/// <summary> Initializes a new instance of ContainerEnvironmentVariable. </summary>
/// <param name="name"> The name of the environment variable. </param>
/// <param name="value"> The value of the environment variable. </param>
/// <param name="secureValue"> The value of the secure environment variable. </param>
internal ContainerEnvironmentVariable(string name, string value, string secureValue)
{
Name = name;
Value = value;
SecureValue = secureValue;
}
/// <summary> The name of the environment variable. </summary>
public string Name { get; set; }
/// <summary> The value of the environment variable. </summary>
public string Value { get; set; }
/// <summary> The value of the secure environment variable. </summary>
public string SecureValue { get; set; }
}
}