共用方式為


DpmJob Constructors

Definition

Overloads

DpmJob()

Initializes a new instance of the DpmJob class.

DpmJob(String, String, String, String, Nullable<DateTime>, Nullable<DateTime>, String, Nullable<TimeSpan>, String, String, String, String, IList<Nullable<JobSupportedAction>>, IList<DpmErrorInfo>, DpmJobExtendedInfo)

Initializes a new instance of the DpmJob class.

DpmJob()

Initializes a new instance of the DpmJob class.

public DpmJob ();
Public Sub New ()

Applies to

DpmJob(String, String, String, String, Nullable<DateTime>, Nullable<DateTime>, String, Nullable<TimeSpan>, String, String, String, String, IList<Nullable<JobSupportedAction>>, IList<DpmErrorInfo>, DpmJobExtendedInfo)

Initializes a new instance of the DpmJob class.

public DpmJob (string entityFriendlyName = default, string backupManagementType = default, string operation = default, string status = default, DateTime? startTime = default, DateTime? endTime = default, string activityId = default, TimeSpan? duration = default, string dpmServerName = default, string containerName = default, string containerType = default, string workloadType = default, System.Collections.Generic.IList<Microsoft.Azure.Management.RecoveryServices.Backup.Models.JobSupportedAction?> actionsInfo = default, System.Collections.Generic.IList<Microsoft.Azure.Management.RecoveryServices.Backup.Models.DpmErrorInfo> errorDetails = default, Microsoft.Azure.Management.RecoveryServices.Backup.Models.DpmJobExtendedInfo extendedInfo = default);
new Microsoft.Azure.Management.RecoveryServices.Backup.Models.DpmJob : string * string * string * string * Nullable<DateTime> * Nullable<DateTime> * string * Nullable<TimeSpan> * string * string * string * string * System.Collections.Generic.IList<Nullable<Microsoft.Azure.Management.RecoveryServices.Backup.Models.JobSupportedAction>> * System.Collections.Generic.IList<Microsoft.Azure.Management.RecoveryServices.Backup.Models.DpmErrorInfo> * Microsoft.Azure.Management.RecoveryServices.Backup.Models.DpmJobExtendedInfo -> Microsoft.Azure.Management.RecoveryServices.Backup.Models.DpmJob
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 dpmServerName As String = Nothing, Optional containerName As String = Nothing, Optional containerType As String = Nothing, Optional workloadType As String = Nothing, Optional actionsInfo As IList(Of Nullable(Of JobSupportedAction)) = Nothing, Optional errorDetails As IList(Of DpmErrorInfo) = Nothing, Optional extendedInfo As DpmJobExtendedInfo = 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 elapsed for job.

dpmServerName
String

DPM server name managing the backup item or backup job.

containerName
String

Name of cluster/server protecting current backup item, if any.

containerType
String

Type of container.

workloadType
String

Type of backup item.

actionsInfo
IList<Nullable<JobSupportedAction>>

The state/actions applicable on this job like cancel/retry.

errorDetails
IList<DpmErrorInfo>

The errors.

extendedInfo
DpmJobExtendedInfo

Additional information for this job.

Applies to