1
- // ----------------------------------------------------------------------------------
1
+ // ----------------------------------------------------------------------------------
2
2
//
3
3
// Copyright Microsoft Corporation
4
4
// Licensed under the Apache License, Version 2.0 (the "License");
12
12
// limitations under the License.
13
13
// ----------------------------------------------------------------------------------
14
14
15
+ using Microsoft . Azure . Management . BackupServices . Models ;
15
16
using System ;
16
17
using System . Collections . Generic ;
17
18
using System . Linq ;
@@ -25,49 +26,23 @@ namespace Microsoft.Azure.Commands.AzureBackup.Cmdlets
25
26
/// </summary>
26
27
public class AzureBackupContainer : AzureBackupContainerContextObject
27
28
{
28
- /// <summary>
29
- /// Type of the Azure Backup container
30
- /// </summary>
31
- public string ContainerType { get ; set ; }
32
-
33
- /// <summary>
34
- /// Friendly name for the Azure Backup container
35
- /// </summary>
36
- public string FriendlyName { get ; set ; }
37
-
38
29
/// <summary>
39
30
/// Status of health of the Azure Backup container
40
31
/// </summary>
41
32
public string HealthStatus { get ; set ; }
42
33
43
- /// <summary>
44
- /// Id of the Azure Backup Container
45
- /// </summary>
46
- public string InstanceId { get ; set ; }
47
-
48
- /// <summary>
49
- /// Name of the Azure Backup container
50
- /// </summary>
51
- public string Name { get ; set ; }
52
-
53
- /// <summary>
54
- /// Friendly name of the parent container
55
- /// </summary>
56
- public string ParentContainerFriendlyName { get ; set ; }
57
-
58
- /// <summary>
59
- /// Name of the parent container
60
- /// </summary>
61
- public string ParentContainerName { get ; set ; }
62
-
63
- /// <summary>
64
- /// Region where this container is present
65
- /// </summary>
66
- public string Region { get ; set ; }
67
-
68
34
/// <summary>
69
35
/// Status of registration of the container
70
36
/// </summary>
71
37
public string RegistrationStatus { get ; set ; }
38
+
39
+ public AzureBackupContainer ( ) : base ( ) { }
40
+
41
+ public AzureBackupContainer ( ContainerInfo containerInfo )
42
+ : base ( containerInfo )
43
+ {
44
+ HealthStatus = containerInfo . HealthStatus ;
45
+ RegistrationStatus = containerInfo . RegistrationStatus ;
46
+ }
72
47
}
73
48
}
0 commit comments