-
Notifications
You must be signed in to change notification settings - Fork 4.8k
/
RecoveryPlanA2ADetails.cs
47 lines (41 loc) · 2.25 KB
/
RecoveryPlanA2ADetails.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
// 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> Recovery plan A2A specific details. </summary>
public partial class RecoveryPlanA2ADetails : RecoveryPlanProviderSpecificDetails
{
/// <summary> Initializes a new instance of <see cref="RecoveryPlanA2ADetails"/>. </summary>
internal RecoveryPlanA2ADetails()
{
InstanceType = "A2A";
}
/// <summary> Initializes a new instance of <see cref="RecoveryPlanA2ADetails"/>. </summary>
/// <param name="instanceType"> Gets the Instance type. </param>
/// <param name="serializedAdditionalRawData"> Keeps track of any properties unknown to the library. </param>
/// <param name="primaryZone"> The primary zone. </param>
/// <param name="recoveryZone"> The recovery zone. </param>
/// <param name="primaryExtendedLocation"> The primary extended location. </param>
/// <param name="recoveryExtendedLocation"> The recovery extended location. </param>
internal RecoveryPlanA2ADetails(string instanceType, IDictionary<string, BinaryData> serializedAdditionalRawData, string primaryZone, string recoveryZone, SiteRecoveryExtendedLocation primaryExtendedLocation, SiteRecoveryExtendedLocation recoveryExtendedLocation) : base(instanceType, serializedAdditionalRawData)
{
PrimaryZone = primaryZone;
RecoveryZone = recoveryZone;
PrimaryExtendedLocation = primaryExtendedLocation;
RecoveryExtendedLocation = recoveryExtendedLocation;
InstanceType = instanceType ?? "A2A";
}
/// <summary> The primary zone. </summary>
public string PrimaryZone { get; }
/// <summary> The recovery zone. </summary>
public string RecoveryZone { get; }
/// <summary> The primary extended location. </summary>
public SiteRecoveryExtendedLocation PrimaryExtendedLocation { get; }
/// <summary> The recovery extended location. </summary>
public SiteRecoveryExtendedLocation RecoveryExtendedLocation { get; }
}
}