1
+ // ----------------------------------------------------------------------------------
2
+ //
3
+ // Copyright Microsoft Corporation
4
+ // Licensed under the Apache License, Version 2.0 (the "License");
5
+ // you may not use this file except in compliance with the License.
6
+ // You may obtain a copy of the License at
7
+ // http://www.apache.org/licenses/LICENSE-2.0
8
+ // Unless required by applicable law or agreed to in writing, software
9
+ // distributed under the License is distributed on an "AS IS" BASIS,
10
+ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11
+ // See the License for the specific language governing permissions and
12
+ // limitations under the License.
13
+ // ----------------------------------------------------------------------------------
14
+
15
+ using System ;
16
+ using System . Collections . Generic ;
17
+ using System . Linq ;
18
+ using System . Text ;
19
+ using System . Threading . Tasks ;
20
+
21
+ namespace Microsoft . Azure . Commands . AzureBackup . Cmdlets
22
+ {
23
+ /// <summary>
24
+ /// Represents Azure Backup Container
25
+ /// </summary>
26
+ public class AzureBackupItem : AzureBackupItemContextObject
27
+ {
28
+ /// <summary>
29
+ /// Status for the Azure Backup Item
30
+ /// </summary>
31
+ public string Status { get ; set ; }
32
+
33
+ /// <summary>
34
+ /// Protection Status for the Azure Backup Item
35
+ /// </summary>
36
+ public string ProtectionStatus { get ; set ; }
37
+
38
+ /// <summary>
39
+ /// Protectable Object Name for the Azure Backup Item
40
+ /// </summary>
41
+ public string ProtectableObjectName { get ; set ; }
42
+
43
+ /// <summary>
44
+ /// Protection Policy Name for the Azure Backup Item
45
+ /// </summary>
46
+ public string ProtectionPolicyName { get ; set ; }
47
+
48
+ /// <summary>
49
+ /// Protection Policy Id for the Azure Backup Item
50
+ /// </summary>
51
+ public string ProtectionPolicyId { get ; set ; }
52
+
53
+ /// <summary>
54
+ /// Policy Inconsistent for the Azure Backup Item
55
+ /// </summary>
56
+ public bool PolicyInconsistent { get ; set ; }
57
+
58
+ /// <summary>
59
+ /// Recovery Points Count for the Azure Backup Item
60
+ /// </summary>
61
+ public int RecoveryPointsCount { get ; set ; }
62
+
63
+ /// <summary>
64
+ /// Last Recovery Point for the Azure Backup Item
65
+ /// </summary>
66
+ public DateTime ? LastRecoveryPoint { get ; set ; }
67
+
68
+ /// <summary>
69
+ /// Last Backup Time for the Azure Backup Item
70
+ /// </summary>
71
+ public DateTime ? LastBackupTime { get ; set ; }
72
+
73
+ /// <summary>
74
+ /// Last Backup Status for the Azure Backup Item
75
+ /// </summary>
76
+ public string LastBackupStatus { get ; set ; }
77
+
78
+ /// <summary>
79
+ /// Last Backup Job Id for the Azure Backup Item
80
+ /// </summary>
81
+ public string LastBackupJobId { get ; set ; }
82
+ }
83
+ }
0 commit comments