-
Notifications
You must be signed in to change notification settings - Fork 4.7k
/
InMageAzureV2PolicyContent.cs
58 lines (51 loc) · 3.51 KB
/
InMageAzureV2PolicyContent.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
49
50
51
52
53
54
55
56
57
58
// 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> VMWare Azure specific policy Input. </summary>
public partial class InMageAzureV2PolicyContent : PolicyProviderSpecificContent
{
/// <summary> Initializes a new instance of <see cref="InMageAzureV2PolicyContent"/>. </summary>
/// <param name="multiVmSyncStatus"> A value indicating whether multi-VM sync has to be enabled. Value should be 'Enabled' or 'Disabled'. </param>
public InMageAzureV2PolicyContent(SetMultiVmSyncStatus multiVmSyncStatus)
{
MultiVmSyncStatus = multiVmSyncStatus;
InstanceType = "InMageAzureV2";
}
/// <summary> Initializes a new instance of <see cref="InMageAzureV2PolicyContent"/>. </summary>
/// <param name="instanceType"> The class type. </param>
/// <param name="serializedAdditionalRawData"> Keeps track of any properties unknown to the library. </param>
/// <param name="recoveryPointThresholdInMinutes"> The recovery point threshold in minutes. </param>
/// <param name="recoveryPointHistory"> The duration in minutes until which the recovery points need to be stored. </param>
/// <param name="crashConsistentFrequencyInMinutes"> The crash consistent snapshot frequency (in minutes). </param>
/// <param name="appConsistentFrequencyInMinutes"> The app consistent snapshot frequency (in minutes). </param>
/// <param name="multiVmSyncStatus"> A value indicating whether multi-VM sync has to be enabled. Value should be 'Enabled' or 'Disabled'. </param>
internal InMageAzureV2PolicyContent(string instanceType, IDictionary<string, BinaryData> serializedAdditionalRawData, int? recoveryPointThresholdInMinutes, int? recoveryPointHistory, int? crashConsistentFrequencyInMinutes, int? appConsistentFrequencyInMinutes, SetMultiVmSyncStatus multiVmSyncStatus) : base(instanceType, serializedAdditionalRawData)
{
RecoveryPointThresholdInMinutes = recoveryPointThresholdInMinutes;
RecoveryPointHistory = recoveryPointHistory;
CrashConsistentFrequencyInMinutes = crashConsistentFrequencyInMinutes;
AppConsistentFrequencyInMinutes = appConsistentFrequencyInMinutes;
MultiVmSyncStatus = multiVmSyncStatus;
InstanceType = instanceType ?? "InMageAzureV2";
}
/// <summary> Initializes a new instance of <see cref="InMageAzureV2PolicyContent"/> for deserialization. </summary>
internal InMageAzureV2PolicyContent()
{
}
/// <summary> The recovery point threshold in minutes. </summary>
public int? RecoveryPointThresholdInMinutes { get; set; }
/// <summary> The duration in minutes until which the recovery points need to be stored. </summary>
public int? RecoveryPointHistory { get; set; }
/// <summary> The crash consistent snapshot frequency (in minutes). </summary>
public int? CrashConsistentFrequencyInMinutes { get; set; }
/// <summary> The app consistent snapshot frequency (in minutes). </summary>
public int? AppConsistentFrequencyInMinutes { get; set; }
/// <summary> A value indicating whether multi-VM sync has to be enabled. Value should be 'Enabled' or 'Disabled'. </summary>
public SetMultiVmSyncStatus MultiVmSyncStatus { get; }
}
}