File tree Expand file tree Collapse file tree 2 files changed +84
-0
lines changed
src/ResourceManager/RecoveryServices.Backup/Commands.RecoveryServices.Backup.Models Expand file tree Collapse file tree 2 files changed +84
-0
lines changed Original file line number Diff line number Diff line change 20
20
21
21
namespace Microsoft . Azure . Commands . RecoveryServices . Backup . Cmdlets . Models
22
22
{
23
+ /// <summary>
24
+ /// Represents IaaSVM Item Class
25
+ /// </summary>
23
26
public class AzureRmRecoveryServicesIaasVmItem : AzureRmRecoveryServicesItemBase
27
+ {
28
+ public string VirtualMachineId { get ; set ; }
29
+
30
+ /// <summary>
31
+ /// Protection Status of the item
32
+ /// </summary>
33
+ public string ProtectionStatus { get ; set ; }
34
+
35
+ /// <summary>
36
+ /// Protection State of the item
37
+ /// </summary>
38
+ public string ProtectionState { get ; set ; }
39
+
40
+ /// <summary>
41
+ /// Last Backup Status for the item
42
+ /// </summary>
43
+ public string LastBackupStatus { get ; set ; }
44
+
45
+ /// <summary>
46
+ /// Protection Policy Name for the Item
47
+ /// </summary>
48
+ public string ProtectionPolicyName { get ; set ; }
49
+
50
+ /// <summary>
51
+ /// ExtendedInfo for the Item
52
+ /// </summary
53
+ public AzureRmRecoveryServicesIaasVmItemExtendedInfo ExtendedInfo { get ; set ; }
54
+ }
55
+
56
+ /// <summary>
57
+ /// Represents IaaSVM Item ExtendedInfo Class
58
+ /// </summary>
59
+ public class AzureRmRecoveryServicesIaasVmItemExtendedInfo : AzureRmRecoveryServicesItemExtendedInfo
24
60
{
61
+ /// <summary>
62
+ /// Oldest Recovery Point for the Item
63
+ /// </summary
64
+ public DateTime ? OldestRecoveryPoint { get ; set ; }
65
+
66
+ /// <summary>
67
+ /// Recovery Points Count for the Item
68
+ /// </summary
69
+ public int RecoveryPointCount { get ; set ; }
70
+
71
+ /// <summary>
72
+ /// PolicyState for the Item
73
+ /// </summary
74
+ public string PolicyState { get ; set ; }
25
75
}
26
76
}
Original file line number Diff line number Diff line change @@ -44,7 +44,41 @@ public AzureRmRecoveryServicesContainerBase(ProtectionContainerResource protecti
44
44
}
45
45
}
46
46
47
+ /// <summary>
48
+ /// Represents Azure Backup Item Base Class
49
+ /// </summary>
47
50
public class AzureRmRecoveryServicesItemBase : AzureRmRecoveryServicesObjectBase
51
+ {
52
+ /// <summary>
53
+ /// Unique Name for the Item
54
+ /// </summary>
55
+ public string Name { get ; set ; }
56
+
57
+ /// <summary>
58
+ /// Workload Type of Item
59
+ /// </summary>
60
+ public string WorkloadType { get ; set ; }
61
+
62
+ /// <summary>
63
+ /// Unique name of the Container
64
+ /// </summary>
65
+ public string ContainerName { get ; set ; }
66
+
67
+ /// <summary>
68
+ /// Type of the container
69
+ /// </summary>
70
+ public string ContainerType { get ; set ; }
71
+
72
+ /// <summary>
73
+ /// Last Recovery Point for the item
74
+ /// </summary>
75
+ public DateTime ? LastRecoveryPoint { get ; set ; }
76
+ }
77
+
78
+ /// <summary>
79
+ /// Represents Azure Backup Item ExtendedInfo Base Class
80
+ /// </summary>
81
+ public class AzureRmRecoveryServicesItemExtendedInfo : AzureRmRecoveryServicesItemBase
48
82
{
49
83
}
50
84
You can’t perform that action at this time.
0 commit comments