Share via


VaultJob Constructors

Definition

Overloads

VaultJob()

Initializes a new instance of the VaultJob class.

VaultJob(String, String, String, String, Nullable<DateTime>, Nullable<DateTime>, String, Nullable<TimeSpan>, IList<Nullable<JobSupportedAction>>, IList<VaultJobErrorInfo>, VaultJobExtendedInfo)

Initializes a new instance of the VaultJob class.

VaultJob()

Initializes a new instance of the VaultJob class.

public VaultJob ();
Public Sub New ()

Applies to

VaultJob(String, String, String, String, Nullable<DateTime>, Nullable<DateTime>, String, Nullable<TimeSpan>, IList<Nullable<JobSupportedAction>>, IList<VaultJobErrorInfo>, VaultJobExtendedInfo)

Initializes a new instance of the VaultJob class.

public VaultJob (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, System.Collections.Generic.IList<Microsoft.Azure.Management.RecoveryServices.Backup.Models.VaultJobErrorInfo> errorDetails = default, Microsoft.Azure.Management.RecoveryServices.Backup.Models.VaultJobExtendedInfo extendedInfo = default);
new Microsoft.Azure.Management.RecoveryServices.Backup.Models.VaultJob : string * string * string * string * Nullable<DateTime> * Nullable<DateTime> * 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.VaultJobErrorInfo> * Microsoft.Azure.Management.RecoveryServices.Backup.Models.VaultJobExtendedInfo -> Microsoft.Azure.Management.RecoveryServices.Backup.Models.VaultJob
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 errorDetails As IList(Of VaultJobErrorInfo) = Nothing, Optional extendedInfo As VaultJobExtendedInfo = 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 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<VaultJobErrorInfo>

Error details on execution of this job.

extendedInfo
VaultJobExtendedInfo

Additional information about the job.

Applies to