Condividi tramite


Job Constructors

Definition

Overloads

Job()

Initializes a new instance of the Job class.

Job(JobStatus, Int32, JobType, String, String, String, Nullable<Kind>, Nullable<DateTime>, Nullable<DateTime>, JobErrorDetails, DataStatistics, String, String, IList<JobStage>, String, Nullable<Boolean>, Nullable<BackupType>, String, Nullable<DateTime>)

Initializes a new instance of the Job class.

Job()

Initializes a new instance of the Job class.

public Job ();
Public Sub New ()

Applies to

Job(JobStatus, Int32, JobType, String, String, String, Nullable<Kind>, Nullable<DateTime>, Nullable<DateTime>, JobErrorDetails, DataStatistics, String, String, IList<JobStage>, String, Nullable<Boolean>, Nullable<BackupType>, String, Nullable<DateTime>)

Initializes a new instance of the Job class.

public Job (Microsoft.Azure.Management.StorSimple8000Series.Models.JobStatus status, int percentComplete, Microsoft.Azure.Management.StorSimple8000Series.Models.JobType jobType, string id = default, string name = default, string type = default, Microsoft.Azure.Management.StorSimple8000Series.Models.Kind? kind = default, DateTime? startTime = default, DateTime? endTime = default, Microsoft.Azure.Management.StorSimple8000Series.Models.JobErrorDetails error = default, Microsoft.Azure.Management.StorSimple8000Series.Models.DataStatistics dataStats = default, string entityLabel = default, string entityType = default, System.Collections.Generic.IList<Microsoft.Azure.Management.StorSimple8000Series.Models.JobStage> jobStages = default, string deviceId = default, bool? isCancellable = default, Microsoft.Azure.Management.StorSimple8000Series.Models.BackupType? backupType = default, string sourceDeviceId = default, DateTime? backupPointInTime = default);
new Microsoft.Azure.Management.StorSimple8000Series.Models.Job : Microsoft.Azure.Management.StorSimple8000Series.Models.JobStatus * int * Microsoft.Azure.Management.StorSimple8000Series.Models.JobType * string * string * string * Nullable<Microsoft.Azure.Management.StorSimple8000Series.Models.Kind> * Nullable<DateTime> * Nullable<DateTime> * Microsoft.Azure.Management.StorSimple8000Series.Models.JobErrorDetails * Microsoft.Azure.Management.StorSimple8000Series.Models.DataStatistics * string * string * System.Collections.Generic.IList<Microsoft.Azure.Management.StorSimple8000Series.Models.JobStage> * string * Nullable<bool> * Nullable<Microsoft.Azure.Management.StorSimple8000Series.Models.BackupType> * string * Nullable<DateTime> -> Microsoft.Azure.Management.StorSimple8000Series.Models.Job
Public Sub New (status As JobStatus, percentComplete As Integer, jobType As JobType, Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional kind As Nullable(Of Kind) = Nothing, Optional startTime As Nullable(Of DateTime) = Nothing, Optional endTime As Nullable(Of DateTime) = Nothing, Optional error As JobErrorDetails = Nothing, Optional dataStats As DataStatistics = Nothing, Optional entityLabel As String = Nothing, Optional entityType As String = Nothing, Optional jobStages As IList(Of JobStage) = Nothing, Optional deviceId As String = Nothing, Optional isCancellable As Nullable(Of Boolean) = Nothing, Optional backupType As Nullable(Of BackupType) = Nothing, Optional sourceDeviceId As String = Nothing, Optional backupPointInTime As Nullable(Of DateTime) = Nothing)

Parameters

status
JobStatus

The current status of the job. Possible values include: 'Running', 'Succeeded', 'Failed', 'Canceled'

percentComplete
Int32

The percentage of the job that is already complete.

jobType
JobType

The type of the job. Possible values include: 'ScheduledBackup', 'ManualBackup', 'RestoreBackup', 'CloneVolume', 'FailoverVolumeContainers', 'CreateLocallyPinnedVolume', 'ModifyVolume', 'InstallUpdates', 'SupportPackageLogs', 'CreateCloudAppliance'

id
String

The path ID that uniquely identifies the object.

name
String

The name of the object.

type
String

The hierarchical type of the object.

kind
Nullable<Kind>

The Kind of the object. Currently only Series8000 is supported. Possible values include: 'Series8000'

startTime
Nullable<DateTime>

The UTC time at which the job was started.

endTime
Nullable<DateTime>

The UTC time at which the job completed.

error
JobErrorDetails

The error details, if any, for the job.

dataStats
DataStatistics

The data statistics properties of the job.

entityLabel
String

The entity identifier for which the job ran.

entityType
String

The entity type for which the job ran.

jobStages
IList<JobStage>

The job stages.

deviceId
String

The device ID in which the job ran.

isCancellable
Nullable<Boolean>

Represents whether the job is cancellable or not.

backupType
Nullable<BackupType>

The backup type (CloudSnapshot | LocalSnapshot). Applicable only for backup jobs. Possible values include: 'LocalSnapshot', 'CloudSnapshot'

sourceDeviceId
String

The source device ID of the failover job.

backupPointInTime
Nullable<DateTime>

The time of the backup used for the failover.

Applies to