-
Notifications
You must be signed in to change notification settings - Fork 4.5k
/
FailoverJobDetails.cs
38 lines (32 loc) · 1.94 KB
/
FailoverJobDetails.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
// 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> This class represents the details for a failover job. </summary>
public partial class FailoverJobDetails : SiteRecoveryJobDetails
{
/// <summary> Initializes a new instance of <see cref="FailoverJobDetails"/>. </summary>
internal FailoverJobDetails()
{
ProtectedItemDetails = new ChangeTrackingList<FailoverReplicationProtectedItemDetails>();
InstanceType = "FailoverJobDetails";
}
/// <summary> Initializes a new instance of <see cref="FailoverJobDetails"/>. </summary>
/// <param name="instanceType"> Gets the type of job details (see JobDetailsTypes enum for possible values). </param>
/// <param name="affectedObjectDetails"> The affected object properties like source server, source cloud, target server, target cloud etc. based on the workflow object details. </param>
/// <param name="serializedAdditionalRawData"> Keeps track of any properties unknown to the library. </param>
/// <param name="protectedItemDetails"> The test VM details. </param>
internal FailoverJobDetails(string instanceType, IReadOnlyDictionary<string, string> affectedObjectDetails, IDictionary<string, BinaryData> serializedAdditionalRawData, IReadOnlyList<FailoverReplicationProtectedItemDetails> protectedItemDetails) : base(instanceType, affectedObjectDetails, serializedAdditionalRawData)
{
ProtectedItemDetails = protectedItemDetails;
InstanceType = instanceType ?? "FailoverJobDetails";
}
/// <summary> The test VM details. </summary>
public IReadOnlyList<FailoverReplicationProtectedItemDetails> ProtectedItemDetails { get; }
}
}