-
Notifications
You must be signed in to change notification settings - Fork 4.5k
/
IaasClassicComputeVmProtectedItem.cs
60 lines (55 loc) · 5.68 KB
/
IaasClassicComputeVmProtectedItem.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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System;
using System.Collections.Generic;
using Azure.Core;
namespace Azure.ResourceManager.RecoveryServicesBackup.Models
{
/// <summary> IaaS VM workload-specific backup item representing the Classic Compute VM. </summary>
public partial class IaasClassicComputeVmProtectedItem : IaasVmProtectedItem
{
/// <summary> Initializes a new instance of <see cref="IaasClassicComputeVmProtectedItem"/>. </summary>
public IaasClassicComputeVmProtectedItem()
{
ProtectedItemType = "Microsoft.ClassicCompute/virtualMachines";
}
/// <summary> Initializes a new instance of <see cref="IaasClassicComputeVmProtectedItem"/>. </summary>
/// <param name="protectedItemType"> backup item type. </param>
/// <param name="backupManagementType"> Type of backup management for the backed up item. </param>
/// <param name="workloadType"> Type of workload this item represents. </param>
/// <param name="containerName"> Unique name of container. </param>
/// <param name="sourceResourceId"> ARM ID of the resource to be backed up. </param>
/// <param name="policyId"> ID of the backup policy with which this item is backed up. </param>
/// <param name="lastRecoverOn"> Timestamp when the last (latest) backup copy was created for this backup item. </param>
/// <param name="backupSetName"> Name of the backup set the backup item belongs to. </param>
/// <param name="createMode"> Create mode to indicate recovery of existing soft deleted data source or creation of new data source. </param>
/// <param name="deferredDeletedOn"> Time for deferred deletion in UTC. </param>
/// <param name="isScheduledForDeferredDelete"> Flag to identify whether the DS is scheduled for deferred delete. </param>
/// <param name="deferredDeleteTimeRemaining"> Time remaining before the DS marked for deferred delete is permanently deleted. </param>
/// <param name="isDeferredDeleteScheduleUpcoming"> Flag to identify whether the deferred deleted DS is to be purged soon. </param>
/// <param name="isRehydrate"> Flag to identify that deferred deleted DS is to be moved into Pause state. </param>
/// <param name="resourceGuardOperationRequests"> ResourceGuardOperationRequests on which LAC check will be performed. </param>
/// <param name="isArchiveEnabled"> Flag to identify whether datasource is protected in archive. </param>
/// <param name="policyName"> Name of the policy used for protection. </param>
/// <param name="softDeleteRetentionPeriodInDays"> Soft delete retention period in days. </param>
/// <param name="vaultId"> ID of the vault which protects this item. </param>
/// <param name="friendlyName"> Friendly name of the VM represented by this backup item. </param>
/// <param name="virtualMachineId"> Fully qualified ARM ID of the virtual machine represented by this item. </param>
/// <param name="protectionStatus"> Backup status of this backup item. </param>
/// <param name="protectionState"> Backup state of this backup item. </param>
/// <param name="healthStatus"> Health status of protected item. </param>
/// <param name="healthDetails"> Health details on this backup item. </param>
/// <param name="kpisHealths"> Health details of different KPIs. </param>
/// <param name="lastBackupStatus"> Last backup operation status. </param>
/// <param name="lastBackupOn"> Timestamp of the last backup operation on this backup item. </param>
/// <param name="protectedItemDataId"> Data ID of the protected item. </param>
/// <param name="extendedInfo"> Additional information for this backup item. </param>
/// <param name="extendedProperties"> Extended Properties for Azure IaasVM Backup. </param>
internal IaasClassicComputeVmProtectedItem(string protectedItemType, BackupManagementType? backupManagementType, BackupDataSourceType? workloadType, string containerName, ResourceIdentifier sourceResourceId, ResourceIdentifier policyId, DateTimeOffset? lastRecoverOn, string backupSetName, BackupCreateMode? createMode, DateTimeOffset? deferredDeletedOn, bool? isScheduledForDeferredDelete, string deferredDeleteTimeRemaining, bool? isDeferredDeleteScheduleUpcoming, bool? isRehydrate, IList<string> resourceGuardOperationRequests, bool? isArchiveEnabled, string policyName, int? softDeleteRetentionPeriodInDays, string vaultId, string friendlyName, ResourceIdentifier virtualMachineId, string protectionStatus, BackupProtectionState? protectionState, IaasVmProtectedItemHealthStatus? healthStatus, IList<IaasVmHealthDetails> healthDetails, IDictionary<string, KpiResourceHealthDetails> kpisHealths, string lastBackupStatus, DateTimeOffset? lastBackupOn, string protectedItemDataId, IaasVmProtectedItemExtendedInfo extendedInfo, IaasVmBackupExtendedProperties extendedProperties) : base(protectedItemType, backupManagementType, workloadType, containerName, sourceResourceId, policyId, lastRecoverOn, backupSetName, createMode, deferredDeletedOn, isScheduledForDeferredDelete, deferredDeleteTimeRemaining, isDeferredDeleteScheduleUpcoming, isRehydrate, resourceGuardOperationRequests, isArchiveEnabled, policyName, softDeleteRetentionPeriodInDays, vaultId, friendlyName, virtualMachineId, protectionStatus, protectionState, healthStatus, healthDetails, kpisHealths, lastBackupStatus, lastBackupOn, protectedItemDataId, extendedInfo, extendedProperties)
{
ProtectedItemType = protectedItemType ?? "Microsoft.ClassicCompute/virtualMachines";
}
}
}