-
Notifications
You must be signed in to change notification settings - Fork 4.5k
/
MoverResourceStatus.cs
43 lines (37 loc) · 1.59 KB
/
MoverResourceStatus.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
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using Azure;
namespace Azure.ResourceManager.ResourceMover.Models
{
/// <summary> Defines the move resource status. </summary>
public partial class MoverResourceStatus
{
/// <summary> Initializes a new instance of <see cref="MoverResourceStatus"/>. </summary>
internal MoverResourceStatus()
{
}
/// <summary> Initializes a new instance of <see cref="MoverResourceStatus"/>. </summary>
/// <param name="moveState"> Defines the MoveResource states. </param>
/// <param name="jobStatus"> Defines the job status. </param>
/// <param name="errors"> An error response from the azure resource mover service. </param>
internal MoverResourceStatus(MoverResourceMoveState? moveState, MoverResourceJobStatus jobStatus, MoveResourceError errors)
{
MoveState = moveState;
JobStatus = jobStatus;
Errors = errors;
}
/// <summary> Defines the MoveResource states. </summary>
public MoverResourceMoveState? MoveState { get; }
/// <summary> Defines the job status. </summary>
public MoverResourceJobStatus JobStatus { get; }
/// <summary> An error response from the azure resource mover service. </summary>
internal MoveResourceError Errors { get; }
/// <summary> The move resource error body. </summary>
public ResponseError ErrorsProperties
{
get => Errors?.Properties;
}
}
}