你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
ArmStorageMoverModelFactory.JobRunData 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
初始化 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
参数
ID。
- name
- String
名称。
- resourceType
- ResourceType
resourceType。
- systemData
- SystemData
systemData。
- status
- Nullable<JobRunStatus>
作业执行的状态。
- scanStatus
- Nullable<JobRunScanStatus>
代理扫描源的状态。
- agentName
- String
分配给此运行的代理的名称。
- agentResourceId
- ResourceIdentifier
分配给此运行的代理的完全限定资源 ID。
- executionStartOn
- Nullable<DateTimeOffset>
运行的开始时间。 如果没有代理报告作业已启动,则为 Null。
- executionEndOn
- Nullable<DateTimeOffset>
运行的结束时间。 如果代理未报告作业已结束,则为 Null。
- lastStatusUpdate
- Nullable<DateTimeOffset>
作业运行的上次更新时间。
- sourceName
- String
源终结点资源的名称。 此资源可能不再存在。
- sourceResourceId
- ResourceIdentifier
源终结点的完全限定资源 ID。 此 ID 可能不再存在。
- sourceProperties
- BinaryData
创建作业运行时源终结点资源属性的副本。
- targetName
- String
目标终结点资源的名称。 此资源可能不再存在。
- targetResourceId
- ResourceIdentifier
终结点的完全限定资源 ID。 此 ID 可能不再存在。
- targetProperties
- BinaryData
创建作业运行时终结点资源属性的副本。
- jobDefinitionProperties
- BinaryData
创建作业运行时父作业定义的属性的副本。
- error
- JobRunError
错误详细信息。
- provisioningState
- Nullable<StorageMoverProvisioningState>
此资源的预配状态。
返回
用于模拟的新 JobRunData 实例。