-
Notifications
You must be signed in to change notification settings - Fork 4.8k
/
A2ATestFailoverContent.cs
40 lines (34 loc) · 2.05 KB
/
A2ATestFailoverContent.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
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System;
using System.Collections.Generic;
using Azure.Core;
namespace Azure.ResourceManager.RecoveryServicesSiteRecovery.Models
{
/// <summary> A2A provider specific input for test failover. </summary>
public partial class A2ATestFailoverContent : TestFailoverProviderSpecificContent
{
/// <summary> Initializes a new instance of <see cref="A2ATestFailoverContent"/>. </summary>
public A2ATestFailoverContent()
{
InstanceType = "A2A";
}
/// <summary> Initializes a new instance of <see cref="A2ATestFailoverContent"/>. </summary>
/// <param name="instanceType"> The class type. </param>
/// <param name="serializedAdditionalRawData"> Keeps track of any properties unknown to the library. </param>
/// <param name="recoveryPointId"> The recovery point id to be passed to test failover to a particular recovery point. In case of latest recovery point, null should be passed. </param>
/// <param name="cloudServiceCreationOption"> A value indicating whether to use recovery cloud service for TFO or not. </param>
internal A2ATestFailoverContent(string instanceType, IDictionary<string, BinaryData> serializedAdditionalRawData, ResourceIdentifier recoveryPointId, string cloudServiceCreationOption) : base(instanceType, serializedAdditionalRawData)
{
RecoveryPointId = recoveryPointId;
CloudServiceCreationOption = cloudServiceCreationOption;
InstanceType = instanceType ?? "A2A";
}
/// <summary> The recovery point id to be passed to test failover to a particular recovery point. In case of latest recovery point, null should be passed. </summary>
public ResourceIdentifier RecoveryPointId { get; set; }
/// <summary> A value indicating whether to use recovery cloud service for TFO or not. </summary>
public string CloudServiceCreationOption { get; set; }
}
}