Delen via


ArmDataBoxEdgeModelFactory.DataBoxEdgeJobData Method

Definition

Initializes a new instance of DataBoxEdgeJobData.

public static Azure.ResourceManager.DataBoxEdge.DataBoxEdgeJobData DataBoxEdgeJobData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, Azure.ResourceManager.DataBoxEdge.Models.DataBoxEdgeJobStatus? status = default, DateTimeOffset? startOn = default, DateTimeOffset? endOn = default, int? percentComplete = default, Azure.ResourceManager.DataBoxEdge.Models.DataBoxEdgeJobErrorDetails error = default, Azure.ResourceManager.DataBoxEdge.Models.DataBoxEdgeJobType? jobType = default, Azure.ResourceManager.DataBoxEdge.Models.UpdateOperationStage? currentStage = default, Azure.ResourceManager.DataBoxEdge.Models.UpdateDownloadProgress downloadProgress = default, Azure.ResourceManager.DataBoxEdge.Models.UpdateInstallProgress installProgress = default, int? totalRefreshErrors = default, string errorManifestFile = default, Azure.Core.ResourceIdentifier refreshedEntityId = default, string folder = default);
static member DataBoxEdgeJobData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Nullable<Azure.ResourceManager.DataBoxEdge.Models.DataBoxEdgeJobStatus> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Nullable<int> * Azure.ResourceManager.DataBoxEdge.Models.DataBoxEdgeJobErrorDetails * Nullable<Azure.ResourceManager.DataBoxEdge.Models.DataBoxEdgeJobType> * Nullable<Azure.ResourceManager.DataBoxEdge.Models.UpdateOperationStage> * Azure.ResourceManager.DataBoxEdge.Models.UpdateDownloadProgress * Azure.ResourceManager.DataBoxEdge.Models.UpdateInstallProgress * Nullable<int> * string * Azure.Core.ResourceIdentifier * string -> Azure.ResourceManager.DataBoxEdge.DataBoxEdgeJobData
Public Shared Function DataBoxEdgeJobData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional status As Nullable(Of DataBoxEdgeJobStatus) = Nothing, Optional startOn As Nullable(Of DateTimeOffset) = Nothing, Optional endOn As Nullable(Of DateTimeOffset) = Nothing, Optional percentComplete As Nullable(Of Integer) = Nothing, Optional error As DataBoxEdgeJobErrorDetails = Nothing, Optional jobType As Nullable(Of DataBoxEdgeJobType) = Nothing, Optional currentStage As Nullable(Of UpdateOperationStage) = Nothing, Optional downloadProgress As UpdateDownloadProgress = Nothing, Optional installProgress As UpdateInstallProgress = Nothing, Optional totalRefreshErrors As Nullable(Of Integer) = Nothing, Optional errorManifestFile As String = Nothing, Optional refreshedEntityId As ResourceIdentifier = Nothing, Optional folder As String = Nothing) As DataBoxEdgeJobData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

status
Nullable<DataBoxEdgeJobStatus>

The current status of the job.

startOn
Nullable<DateTimeOffset>

The UTC date and time at which the job started.

endOn
Nullable<DateTimeOffset>

The UTC date and time at which the job completed.

percentComplete
Nullable<Int32>

The percentage of the job that is complete.

error
DataBoxEdgeJobErrorDetails

The error details.

jobType
Nullable<DataBoxEdgeJobType>

The type of the job.

currentStage
Nullable<UpdateOperationStage>

Current stage of the update operation.

downloadProgress
UpdateDownloadProgress

The download progress.

installProgress
UpdateInstallProgress

The install progress.

totalRefreshErrors
Nullable<Int32>

Total number of errors encountered during the refresh process.

errorManifestFile
String

Local share/remote container relative path to the error manifest file of the refresh.

refreshedEntityId
ResourceIdentifier

ARM ID of the entity that was refreshed.

folder
String

If only subfolders need to be refreshed, then the subfolder path inside the share or container. (The path is empty if there are no subfolders.).

Returns

A new DataBoxEdgeJobData instance for mocking.

Applies to