AzureWorkloadJob Constructors

Definition

Overloads

AzureWorkloadJob()

Initializes a new instance of the AzureWorkloadJob class.

AzureWorkloadJob(String, String, String, String, Nullable<DateTime>, Nullable<DateTime>, String, String, Nullable<TimeSpan>, IList<Nullable<JobSupportedAction>>, IList<AzureWorkloadErrorInfo>, AzureWorkloadJobExtendedInfo)

Initializes a new instance of the AzureWorkloadJob class.

AzureWorkloadJob()

Initializes a new instance of the AzureWorkloadJob class.

public AzureWorkloadJob ();
Public Sub New ()

Applies to

AzureWorkloadJob(String, String, String, String, Nullable<DateTime>, Nullable<DateTime>, String, String, Nullable<TimeSpan>, IList<Nullable<JobSupportedAction>>, IList<AzureWorkloadErrorInfo>, AzureWorkloadJobExtendedInfo)

Initializes a new instance of the AzureWorkloadJob class.

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

workloadType
String

Workload type of the job

duration
Nullable<TimeSpan>

Time elapsed during the execution of this job.

actionsInfo
IList<Nullable<JobSupportedAction>>

Gets or sets the state/actions applicable on this job like cancel/retry.

errorDetails
IList<AzureWorkloadErrorInfo>

Error details on execution of this job.

extendedInfo
AzureWorkloadJobExtendedInfo

Additional information about the job.

Applies to