Udostępnij za pośrednictwem


AzureStorageJob Constructors

Definition

Overloads

AzureStorageJob()

Initializes a new instance of the AzureStorageJob class.

AzureStorageJob(String, String, String, String, Nullable<DateTime>, Nullable<DateTime>, String, Nullable<TimeSpan>, IList<Nullable<JobSupportedAction>>, IList<AzureStorageErrorInfo>, String, String, AzureStorageJobExtendedInfo)

Initializes a new instance of the AzureStorageJob class.

AzureStorageJob()

Initializes a new instance of the AzureStorageJob class.

public AzureStorageJob ();
Public Sub New ()

Applies to

AzureStorageJob(String, String, String, String, Nullable<DateTime>, Nullable<DateTime>, String, Nullable<TimeSpan>, IList<Nullable<JobSupportedAction>>, IList<AzureStorageErrorInfo>, String, String, AzureStorageJobExtendedInfo)

Initializes a new instance of the AzureStorageJob class.

public AzureStorageJob (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.CrossRegionRestore.Models.JobSupportedAction?> actionsInfo = default, System.Collections.Generic.IList<Microsoft.Azure.Management.RecoveryServices.Backup.CrossRegionRestore.Models.AzureStorageErrorInfo> errorDetails = default, string storageAccountName = default, string storageAccountVersion = default, Microsoft.Azure.Management.RecoveryServices.Backup.CrossRegionRestore.Models.AzureStorageJobExtendedInfo extendedInfo = default);
new Microsoft.Azure.Management.RecoveryServices.Backup.CrossRegionRestore.Models.AzureStorageJob : string * string * string * string * Nullable<DateTime> * Nullable<DateTime> * string * Nullable<TimeSpan> * System.Collections.Generic.IList<Nullable<Microsoft.Azure.Management.RecoveryServices.Backup.CrossRegionRestore.Models.JobSupportedAction>> * System.Collections.Generic.IList<Microsoft.Azure.Management.RecoveryServices.Backup.CrossRegionRestore.Models.AzureStorageErrorInfo> * string * string * Microsoft.Azure.Management.RecoveryServices.Backup.CrossRegionRestore.Models.AzureStorageJobExtendedInfo -> Microsoft.Azure.Management.RecoveryServices.Backup.CrossRegionRestore.Models.AzureStorageJob
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 AzureStorageErrorInfo) = Nothing, Optional storageAccountName As String = Nothing, Optional storageAccountVersion As String = Nothing, Optional extendedInfo As AzureStorageJobExtendedInfo = 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<AzureStorageErrorInfo>

Error details on execution of this job.

storageAccountName
String

Specifies friendly name of the storage account.

storageAccountVersion
String

Specifies whether the Storage account is a Classic or an Azure Resource Manager Storage account.

extendedInfo
AzureStorageJobExtendedInfo

Additional information about the job.

Applies to