-
Notifications
You must be signed in to change notification settings - Fork 4.5k
/
InMageRcmUpdateContainerMappingContent.cs
48 lines (40 loc) · 2.29 KB
/
InMageRcmUpdateContainerMappingContent.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
45
46
47
48
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System;
using System.Collections.Generic;
namespace Azure.ResourceManager.RecoveryServicesSiteRecovery.Models
{
/// <summary> InMageRcm update protection container mapping. </summary>
public partial class InMageRcmUpdateContainerMappingContent : ReplicationProviderSpecificUpdateContainerMappingContent
{
/// <summary> Initializes a new instance of <see cref="InMageRcmUpdateContainerMappingContent"/>. </summary>
/// <param name="enableAgentAutoUpgrade"> A value indicating whether agent auto upgrade has to be enabled. </param>
/// <exception cref="ArgumentNullException"> <paramref name="enableAgentAutoUpgrade"/> is null. </exception>
public InMageRcmUpdateContainerMappingContent(string enableAgentAutoUpgrade)
{
if (enableAgentAutoUpgrade == null)
{
throw new ArgumentNullException(nameof(enableAgentAutoUpgrade));
}
EnableAgentAutoUpgrade = enableAgentAutoUpgrade;
InstanceType = "InMageRcm";
}
/// <summary> Initializes a new instance of <see cref="InMageRcmUpdateContainerMappingContent"/>. </summary>
/// <param name="instanceType"> The class type. </param>
/// <param name="serializedAdditionalRawData"> Keeps track of any properties unknown to the library. </param>
/// <param name="enableAgentAutoUpgrade"> A value indicating whether agent auto upgrade has to be enabled. </param>
internal InMageRcmUpdateContainerMappingContent(string instanceType, IDictionary<string, BinaryData> serializedAdditionalRawData, string enableAgentAutoUpgrade) : base(instanceType, serializedAdditionalRawData)
{
EnableAgentAutoUpgrade = enableAgentAutoUpgrade;
InstanceType = instanceType ?? "InMageRcm";
}
/// <summary> Initializes a new instance of <see cref="InMageRcmUpdateContainerMappingContent"/> for deserialization. </summary>
internal InMageRcmUpdateContainerMappingContent()
{
}
/// <summary> A value indicating whether agent auto upgrade has to be enabled. </summary>
public string EnableAgentAutoUpgrade { get; }
}
}