Delen via


MabJob Constructors

Definition

Overloads

MabJob()

Initializes a new instance of the MabJob class.

MabJob(String, String, String, String, Nullable<DateTime>, Nullable<DateTime>, String, Nullable<TimeSpan>, IList<Nullable<JobSupportedAction>>, String, String, String, IList<MabErrorInfo>, MabJobExtendedInfo)

Initializes a new instance of the MabJob class.

MabJob()

Initializes a new instance of the MabJob class.

public MabJob ();
Public Sub New ()

Applies to

MabJob(String, String, String, String, Nullable<DateTime>, Nullable<DateTime>, String, Nullable<TimeSpan>, IList<Nullable<JobSupportedAction>>, String, String, String, IList<MabErrorInfo>, MabJobExtendedInfo)

Initializes a new instance of the MabJob class.

public MabJob (string entityFriendlyName = default, string backupManagementType = default, string operation = default, string status = default, DateTime? startTime = default, DateTime? endTime = default, string activityId = default, TimeSpan? duration = default, System.Collections.Generic.IList<Microsoft.Azure.Management.RecoveryServices.Backup.Models.JobSupportedAction?> actionsInfo = default, string mabServerName = default, string mabServerType = default, string workloadType = default, System.Collections.Generic.IList<Microsoft.Azure.Management.RecoveryServices.Backup.Models.MabErrorInfo> errorDetails = default, Microsoft.Azure.Management.RecoveryServices.Backup.Models.MabJobExtendedInfo extendedInfo = default);
new Microsoft.Azure.Management.RecoveryServices.Backup.Models.MabJob : string * string * string * string * Nullable<DateTime> * Nullable<DateTime> * string * Nullable<TimeSpan> * System.Collections.Generic.IList<Nullable<Microsoft.Azure.Management.RecoveryServices.Backup.Models.JobSupportedAction>> * string * string * string * System.Collections.Generic.IList<Microsoft.Azure.Management.RecoveryServices.Backup.Models.MabErrorInfo> * Microsoft.Azure.Management.RecoveryServices.Backup.Models.MabJobExtendedInfo -> Microsoft.Azure.Management.RecoveryServices.Backup.Models.MabJob
Public Sub New (Optional entityFriendlyName As String = Nothing, Optional backupManagementType As String = Nothing, Optional operation As String = Nothing, Optional status As String = Nothing, Optional startTime As Nullable(Of DateTime) = Nothing, Optional endTime As Nullable(Of DateTime) = Nothing, Optional activityId As String = Nothing, Optional duration As Nullable(Of TimeSpan) = Nothing, Optional actionsInfo As IList(Of Nullable(Of JobSupportedAction)) = Nothing, Optional mabServerName As String = Nothing, Optional mabServerType As String = Nothing, Optional workloadType As String = Nothing, Optional errorDetails As IList(Of MabErrorInfo) = Nothing, Optional extendedInfo As MabJobExtendedInfo = Nothing)

Parameters

entityFriendlyName
String

Friendly name of the entity on which the current job is executing.

backupManagementType
String

Backup management type to execute the current job. Possible values include: 'Invalid', 'AzureIaasVM', 'MAB', 'DPM', 'AzureBackupServer', 'AzureSql', 'AzureStorage', 'AzureWorkload', 'DefaultBackup'

operation
String

The operation name.

status
String

Job status.

startTime
Nullable<DateTime>

The start time.

endTime
Nullable<DateTime>

The end time.

activityId
String

ActivityId of job.

duration
Nullable<TimeSpan>

Time taken by job to run.

actionsInfo
IList<Nullable<JobSupportedAction>>

The state/actions applicable on jobs like cancel/retry.

mabServerName
String

Name of server protecting the DS.

mabServerType
String

Server type of MAB container. Possible values include: 'Invalid', 'Unknown', 'IaasVMContainer', 'IaasVMServiceContainer', 'DPMContainer', 'AzureBackupServerContainer', 'MABContainer', 'Cluster', 'AzureSqlContainer', 'Windows', 'VCenter', 'VMAppContainer', 'SQLAGWorkLoadContainer', 'StorageContainer', 'GenericContainer'

workloadType
String

Workload type of backup item. Possible values include: 'Invalid', 'VM', 'FileFolder', 'AzureSqlDb', 'SQLDB', 'Exchange', 'Sharepoint', 'VMwareVM', 'SystemState', 'Client', 'GenericDataSource', 'SQLDataBase', 'AzureFileShare', 'SAPHanaDatabase', 'SAPAseDatabase'

errorDetails
IList<MabErrorInfo>

The errors.

extendedInfo
MabJobExtendedInfo

Additional information on the job.

Applies to