ArmDataBoxEdgeModelFactory.DataBoxEdgeJobData Method

Definition

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.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, Azure.ResourceManager.DataBoxEdge.Models.DataBoxEdgeJobStatus? status = default, DateTimeOffset? startOn = default, DateTimeOffset? endOn = default, int? percentComplete = default, Azure.ResourceManager.DataBoxEdge.Models.DataBoxEdgeJobErrorDetails error = default);
static member DataBoxEdgeJobData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * 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 * Nullable<Azure.ResourceManager.DataBoxEdge.Models.DataBoxEdgeJobStatus> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Nullable<int> * Azure.ResourceManager.DataBoxEdge.Models.DataBoxEdgeJobErrorDetails -> 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 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, 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) As DataBoxEdgeJobData

Parameters

id
ResourceIdentifier

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.

name
String

The name of the resource.

resourceType
ResourceType

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".

systemData
SystemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

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.).

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.

Returns

A new DataBoxEdgeJobData instance for mocking.

Applies to