-
Notifications
You must be signed in to change notification settings - Fork 4.6k
/
GenericContainer.cs
45 lines (40 loc) · 2.66 KB
/
GenericContainer.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
44
45
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
namespace Azure.ResourceManager.RecoveryServicesBackup.Models
{
/// <summary> Base class for generic container of backup items. </summary>
public partial class GenericContainer : BackupGenericProtectionContainer
{
/// <summary> Initializes a new instance of <see cref="GenericContainer"/>. </summary>
public GenericContainer()
{
ContainerType = ProtectableContainerType.GenericContainer;
}
/// <summary> Initializes a new instance of <see cref="GenericContainer"/>. </summary>
/// <param name="friendlyName"> Friendly name of the container. </param>
/// <param name="backupManagementType"> Type of backup management for the container. </param>
/// <param name="registrationStatus"> Status of registration of the container with the Recovery Services Vault. </param>
/// <param name="healthStatus"> Status of health of the container. </param>
/// <param name="containerType">
/// Type of the container. The value of this property for: 1. Compute Azure VM is Microsoft.Compute/virtualMachines 2.
/// Classic Compute Azure VM is Microsoft.ClassicCompute/virtualMachines 3. Windows machines (like MAB, DPM etc) is
/// Windows 4. Azure SQL instance is AzureSqlContainer. 5. Storage containers is StorageContainer. 6. Azure workload
/// Backup is VMAppContainer
/// </param>
/// <param name="protectableObjectType"> Type of the protectable object associated with this container. </param>
/// <param name="fabricName"> Name of the container's fabric. </param>
/// <param name="extendedInformation"> Extended information (not returned in List container API calls). </param>
internal GenericContainer(string friendlyName, BackupManagementType? backupManagementType, string registrationStatus, string healthStatus, ProtectableContainerType containerType, string protectableObjectType, string fabricName, GenericContainerExtendedInfo extendedInformation) : base(friendlyName, backupManagementType, registrationStatus, healthStatus, containerType, protectableObjectType)
{
FabricName = fabricName;
ExtendedInformation = extendedInformation;
ContainerType = containerType;
}
/// <summary> Name of the container's fabric. </summary>
public string FabricName { get; set; }
/// <summary> Extended information (not returned in List container API calls). </summary>
public GenericContainerExtendedInfo ExtendedInformation { get; set; }
}
}