ArmStorageMoverModelFactory.JobRunData Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of JobRunData.
public static Azure.ResourceManager.StorageMover.JobRunData JobRunData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, Azure.ResourceManager.StorageMover.Models.JobRunStatus? status = default, Azure.ResourceManager.StorageMover.Models.JobRunScanStatus? scanStatus = default, string agentName = default, Azure.Core.ResourceIdentifier agentResourceId = default, DateTimeOffset? executionStartOn = default, DateTimeOffset? executionEndOn = default, DateTimeOffset? lastStatusUpdate = default, long? itemsScanned = default, long? itemsExcluded = default, long? itemsUnsupported = default, long? itemsNoTransferNeeded = default, long? itemsFailed = default, long? itemsTransferred = default, long? bytesScanned = default, long? bytesExcluded = default, long? bytesUnsupported = default, long? bytesNoTransferNeeded = default, long? bytesFailed = default, long? bytesTransferred = default, string sourceName = default, Azure.Core.ResourceIdentifier sourceResourceId = default, BinaryData sourceProperties = default, string targetName = default, Azure.Core.ResourceIdentifier targetResourceId = default, BinaryData targetProperties = default, BinaryData jobDefinitionProperties = default, Azure.ResourceManager.StorageMover.Models.JobRunError error = default, Azure.ResourceManager.StorageMover.Models.StorageMoverProvisioningState? provisioningState = default);
static member JobRunData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Nullable<Azure.ResourceManager.StorageMover.Models.JobRunStatus> * Nullable<Azure.ResourceManager.StorageMover.Models.JobRunScanStatus> * string * Azure.Core.ResourceIdentifier * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Nullable<int64> * Nullable<int64> * Nullable<int64> * Nullable<int64> * Nullable<int64> * Nullable<int64> * Nullable<int64> * Nullable<int64> * Nullable<int64> * Nullable<int64> * Nullable<int64> * Nullable<int64> * string * Azure.Core.ResourceIdentifier * BinaryData * string * Azure.Core.ResourceIdentifier * BinaryData * BinaryData * Azure.ResourceManager.StorageMover.Models.JobRunError * Nullable<Azure.ResourceManager.StorageMover.Models.StorageMoverProvisioningState> -> Azure.ResourceManager.StorageMover.JobRunData
Public Shared Function JobRunData (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 JobRunStatus) = Nothing, Optional scanStatus As Nullable(Of JobRunScanStatus) = Nothing, Optional agentName As String = Nothing, Optional agentResourceId As ResourceIdentifier = Nothing, Optional executionStartOn As Nullable(Of DateTimeOffset) = Nothing, Optional executionEndOn As Nullable(Of DateTimeOffset) = Nothing, Optional lastStatusUpdate As Nullable(Of DateTimeOffset) = Nothing, Optional itemsScanned As Nullable(Of Long) = Nothing, Optional itemsExcluded As Nullable(Of Long) = Nothing, Optional itemsUnsupported As Nullable(Of Long) = Nothing, Optional itemsNoTransferNeeded As Nullable(Of Long) = Nothing, Optional itemsFailed As Nullable(Of Long) = Nothing, Optional itemsTransferred As Nullable(Of Long) = Nothing, Optional bytesScanned As Nullable(Of Long) = Nothing, Optional bytesExcluded As Nullable(Of Long) = Nothing, Optional bytesUnsupported As Nullable(Of Long) = Nothing, Optional bytesNoTransferNeeded As Nullable(Of Long) = Nothing, Optional bytesFailed As Nullable(Of Long) = Nothing, Optional bytesTransferred As Nullable(Of Long) = Nothing, Optional sourceName As String = Nothing, Optional sourceResourceId As ResourceIdentifier = Nothing, Optional sourceProperties As BinaryData = Nothing, Optional targetName As String = Nothing, Optional targetResourceId As ResourceIdentifier = Nothing, Optional targetProperties As BinaryData = Nothing, Optional jobDefinitionProperties As BinaryData = Nothing, Optional error As JobRunError = Nothing, Optional provisioningState As Nullable(Of StorageMoverProvisioningState) = Nothing) As JobRunData
Parameters
The id.
- name
- String
The name.
- resourceType
- ResourceType
The resourceType.
- systemData
- SystemData
The systemData.
- status
- Nullable<JobRunStatus>
The state of the job execution.
- scanStatus
- Nullable<JobRunScanStatus>
The status of Agent's scanning of source.
- agentName
- String
Name of the Agent assigned to this run.
- agentResourceId
- ResourceIdentifier
Fully qualified resource id of the Agent assigned to this run.
- executionStartOn
- Nullable<DateTimeOffset>
Start time of the run. Null if no Agent reported that the job has started.
- executionEndOn
- Nullable<DateTimeOffset>
End time of the run. Null if Agent has not reported that the job has ended.
- lastStatusUpdate
- Nullable<DateTimeOffset>
The last updated time of the Job Run.
Number of items that will not be transferred, as they are excluded by user configuration.
Number of items that will not be transferred, as they are unsupported on target.
Number of items that will not be transferred, as they are already found on target (e.g. mirror mode).
Bytes of data that will not be transferred, as they are excluded by user configuration.
Bytes of data that will not be transferred, as they are unsupported on target.
Bytes of data that will not be transferred, as they are already found on target (e.g. mirror mode).
- sourceName
- String
Name of source Endpoint resource. This resource may no longer exist.
- sourceResourceId
- ResourceIdentifier
Fully qualified resource id of source Endpoint. This id may no longer exist.
- sourceProperties
- BinaryData
Copy of source Endpoint resource's properties at time of Job Run creation.
- targetName
- String
Name of target Endpoint resource. This resource may no longer exist.
- targetResourceId
- ResourceIdentifier
Fully qualified resource id of of Endpoint. This id may no longer exist.
- targetProperties
- BinaryData
Copy of Endpoint resource's properties at time of Job Run creation.
- jobDefinitionProperties
- BinaryData
Copy of parent Job Definition's properties at time of Job Run creation.
- error
- JobRunError
Error details.
- provisioningState
- Nullable<StorageMoverProvisioningState>
The provisioning state of this resource.
Returns
A new JobRunData instance for mocking.