Пример #1
0
 /// <summary>
 /// Initializes a new instance of the AzureFileshareProtectedItem
 /// class.
 /// </summary>
 /// <param name="backupManagementType">Type of backup management for
 /// the backed up item. Possible values include: 'Invalid',
 /// 'AzureIaasVM', 'MAB', 'DPM', 'AzureBackupServer', 'AzureSql',
 /// 'AzureStorage', 'AzureWorkload', 'DefaultBackup'</param>
 /// <param name="workloadType">Type of workload this item represents.
 /// Possible values include: 'Invalid', 'VM', 'FileFolder',
 /// 'AzureSqlDb', 'SQLDB', 'Exchange', 'Sharepoint', 'VMwareVM',
 /// 'SystemState', 'Client', 'GenericDataSource', 'SQLDataBase',
 /// 'AzureFileShare', 'SAPHanaDatabase', 'SAPAseDatabase'</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="lastRecoveryPoint">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.
 /// Possible values include: 'Invalid', 'Default', 'Recover'</param>
 /// <param name="friendlyName">Friendly name of the fileshare
 /// represented by this backup item.</param>
 /// <param name="protectionStatus">Backup status of this backup
 /// item.</param>
 /// <param name="protectionState">Backup state of this backup item.
 /// Possible values include: 'Invalid', 'IRPending', 'Protected',
 /// 'ProtectionError', 'ProtectionStopped', 'ProtectionPaused'</param>
 /// <param name="healthStatus">backups running status for this backup
 /// item. Possible values include: 'Passed', 'ActionRequired',
 /// 'ActionSuggested', 'Invalid'</param>
 /// <param name="lastBackupStatus">Last backup operation status.
 /// Possible values: Healthy, Unhealthy.</param>
 /// <param name="lastBackupTime">Timestamp of the last backup operation
 /// on this backup item.</param>
 /// <param name="extendedInfo">Additional information with this backup
 /// item.</param>
 public AzureFileshareProtectedItem(string backupManagementType = default(string), string workloadType = default(string), string containerName = default(string), string sourceResourceId = default(string), string policyId = default(string), System.DateTime?lastRecoveryPoint = default(System.DateTime?), string backupSetName = default(string), string createMode = default(string), string friendlyName = default(string), string protectionStatus = default(string), string protectionState = default(string), string healthStatus = default(string), string lastBackupStatus = default(string), System.DateTime?lastBackupTime = default(System.DateTime?), AzureFileshareProtectedItemExtendedInfo extendedInfo = default(AzureFileshareProtectedItemExtendedInfo))
     : base(backupManagementType, workloadType, containerName, sourceResourceId, policyId, lastRecoveryPoint, backupSetName, createMode)
 {
     FriendlyName     = friendlyName;
     ProtectionStatus = protectionStatus;
     ProtectionState  = protectionState;
     HealthStatus     = healthStatus;
     LastBackupStatus = lastBackupStatus;
     LastBackupTime   = lastBackupTime;
     ExtendedInfo     = extendedInfo;
     CustomInit();
 }
 /// <summary>
 /// Initializes a new instance of the AzureFileshareProtectedItem
 /// class.
 /// </summary>
 /// <param name="backupManagementType">Type of backup management for
 /// the backed up item. Possible values include: 'Invalid',
 /// 'AzureIaasVM', 'MAB', 'DPM', 'AzureBackupServer', 'AzureSql',
 /// 'AzureStorage', 'AzureWorkload', 'DefaultBackup'</param>
 /// <param name="workloadType">Type of workload this item represents.
 /// Possible values include: 'Invalid', 'VM', 'FileFolder',
 /// 'AzureSqlDb', 'SQLDB', 'Exchange', 'Sharepoint', 'VMwareVM',
 /// 'SystemState', 'Client', 'GenericDataSource', 'SQLDataBase',
 /// 'AzureFileShare', 'SAPHanaDatabase', 'SAPAseDatabase'</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="lastRecoveryPoint">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.
 /// Possible values include: 'Invalid', 'Default', 'Recover'</param>
 /// <param name="deferredDeleteTimeInUTC">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="friendlyName">Friendly name of the fileshare
 /// represented by this backup item.</param>
 /// <param name="protectionStatus">Backup status of this backup
 /// item.</param>
 /// <param name="protectionState">Backup state of this backup item.
 /// Possible values include: 'Invalid', 'IRPending', 'Protected',
 /// 'ProtectionError', 'ProtectionStopped', 'ProtectionPaused'</param>
 /// <param name="healthStatus">backups running status for this backup
 /// item. Possible values include: 'Passed', 'ActionRequired',
 /// 'ActionSuggested', 'Invalid'</param>
 /// <param name="lastBackupStatus">Last backup operation status.
 /// Possible values: Healthy, Unhealthy.</param>
 /// <param name="lastBackupTime">Timestamp of the last backup operation
 /// on this backup item.</param>
 /// <param name="extendedInfo">Additional information with this backup
 /// item.</param>
 public AzureFileshareProtectedItem(string backupManagementType = default(string), string workloadType = default(string), string containerName = default(string), string sourceResourceId = default(string), string policyId = default(string), System.DateTime?lastRecoveryPoint = default(System.DateTime?), string backupSetName = default(string), string createMode = default(string), System.DateTime?deferredDeleteTimeInUTC = default(System.DateTime?), bool?isScheduledForDeferredDelete = default(bool?), string deferredDeleteTimeRemaining = default(string), bool?isDeferredDeleteScheduleUpcoming = default(bool?), bool?isRehydrate = default(bool?), string friendlyName = default(string), string protectionStatus = default(string), string protectionState = default(string), string healthStatus = default(string), string lastBackupStatus = default(string), System.DateTime?lastBackupTime = default(System.DateTime?), AzureFileshareProtectedItemExtendedInfo extendedInfo = default(AzureFileshareProtectedItemExtendedInfo))
     : base(backupManagementType, workloadType, containerName, sourceResourceId, policyId, lastRecoveryPoint, backupSetName, createMode, deferredDeleteTimeInUTC, isScheduledForDeferredDelete, deferredDeleteTimeRemaining, isDeferredDeleteScheduleUpcoming, isRehydrate)
 {
     FriendlyName     = friendlyName;
     ProtectionStatus = protectionStatus;
     ProtectionState  = protectionState;
     HealthStatus     = healthStatus;
     LastBackupStatus = lastBackupStatus;
     LastBackupTime   = lastBackupTime;
     ExtendedInfo     = extendedInfo;
     CustomInit();
 }
 /// <summary>
 /// Initializes a new instance of the AzureFileshareProtectedItem
 /// class.
 /// </summary>
 /// <param name="backupManagementType">Type of backup management for
 /// the backed up item. Possible values include: 'Invalid',
 /// 'AzureIaasVM', 'MAB', 'DPM', 'AzureBackupServer', 'AzureSql',
 /// 'AzureStorage', 'AzureWorkload', 'DefaultBackup'</param>
 /// <param name="workloadType">Type of workload this item represents.
 /// Possible values include: 'Invalid', 'VM', 'FileFolder',
 /// 'AzureSqlDb', 'SQLDB', 'Exchange', 'Sharepoint', 'VMwareVM',
 /// 'SystemState', 'Client', 'GenericDataSource', 'SQLDataBase',
 /// 'AzureFileShare', 'SAPHanaDatabase', 'SAPAseDatabase'</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="lastRecoveryPoint">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.
 /// Possible values include: 'Invalid', 'Default', 'Recover'</param>
 /// <param name="deferredDeleteTimeInUTC">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="friendlyName">Friendly name of the fileshare
 /// represented by this backup item.</param>
 /// <param name="protectionStatus">Backup status of this backup
 /// item.</param>
 /// <param name="protectionState">Backup state of this backup item.
 /// Possible values include: 'Invalid', 'IRPending', 'Protected',
 /// 'ProtectionError', 'ProtectionStopped', 'ProtectionPaused'</param>
 /// <param name="lastBackupStatus">Last backup operation status.
 /// Possible values: Healthy, Unhealthy.</param>
 /// <param name="lastBackupTime">Timestamp of the last backup operation
 /// on this backup item.</param>
 /// <param name="kpisHealths">Health details of different KPIs</param>
 /// <param name="extendedInfo">Additional information with this backup
 /// item.</param>
 public AzureFileshareProtectedItem(string backupManagementType = default(string), string workloadType = default(string), string containerName = default(string), string sourceResourceId = default(string), string policyId = default(string), System.DateTime?lastRecoveryPoint = default(System.DateTime?), string backupSetName = default(string), string createMode = default(string), System.DateTime?deferredDeleteTimeInUTC = default(System.DateTime?), bool?isScheduledForDeferredDelete = default(bool?), string deferredDeleteTimeRemaining = default(string), bool?isDeferredDeleteScheduleUpcoming = default(bool?), bool?isRehydrate = default(bool?), IList <string> resourceGuardOperationRequests = default(IList <string>), bool?isArchiveEnabled = default(bool?), string policyName = default(string), string friendlyName = default(string), string protectionStatus = default(string), string protectionState = default(string), string lastBackupStatus = default(string), System.DateTime?lastBackupTime = default(System.DateTime?), IDictionary <string, KPIResourceHealthDetails> kpisHealths = default(IDictionary <string, KPIResourceHealthDetails>), AzureFileshareProtectedItemExtendedInfo extendedInfo = default(AzureFileshareProtectedItemExtendedInfo))
     : base(backupManagementType, workloadType, containerName, sourceResourceId, policyId, lastRecoveryPoint, backupSetName, createMode, deferredDeleteTimeInUTC, isScheduledForDeferredDelete, deferredDeleteTimeRemaining, isDeferredDeleteScheduleUpcoming, isRehydrate, resourceGuardOperationRequests, isArchiveEnabled, policyName)
 {
     FriendlyName     = friendlyName;
     ProtectionStatus = protectionStatus;
     ProtectionState  = protectionState;
     LastBackupStatus = lastBackupStatus;
     LastBackupTime   = lastBackupTime;
     KpisHealths      = kpisHealths;
     ExtendedInfo     = extendedInfo;
     CustomInit();
 }