你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ArmStorageMoverModelFactory.JobDefinitionData 方法

定义

初始化 JobDefinitionData 的新实例。

public static Azure.ResourceManager.StorageMover.JobDefinitionData JobDefinitionData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, string description = default, Azure.ResourceManager.StorageMover.Models.StorageMoverCopyMode copyMode = default, string sourceName = default, Azure.Core.ResourceIdentifier sourceResourceId = default, string sourceSubpath = default, string targetName = default, Azure.Core.ResourceIdentifier targetResourceId = default, string targetSubpath = default, string latestJobRunName = default, Azure.Core.ResourceIdentifier latestJobRunResourceId = default, Azure.ResourceManager.StorageMover.Models.JobRunStatus? latestJobRunStatus = default, string agentName = default, Azure.Core.ResourceIdentifier agentResourceId = default, Azure.ResourceManager.StorageMover.Models.StorageMoverProvisioningState? provisioningState = default);
static member JobDefinitionData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * string * Azure.ResourceManager.StorageMover.Models.StorageMoverCopyMode * string * Azure.Core.ResourceIdentifier * string * string * Azure.Core.ResourceIdentifier * string * string * Azure.Core.ResourceIdentifier * Nullable<Azure.ResourceManager.StorageMover.Models.JobRunStatus> * string * Azure.Core.ResourceIdentifier * Nullable<Azure.ResourceManager.StorageMover.Models.StorageMoverProvisioningState> -> Azure.ResourceManager.StorageMover.JobDefinitionData
Public Shared Function JobDefinitionData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional description As String = Nothing, Optional copyMode As StorageMoverCopyMode = Nothing, Optional sourceName As String = Nothing, Optional sourceResourceId As ResourceIdentifier = Nothing, Optional sourceSubpath As String = Nothing, Optional targetName As String = Nothing, Optional targetResourceId As ResourceIdentifier = Nothing, Optional targetSubpath As String = Nothing, Optional latestJobRunName As String = Nothing, Optional latestJobRunResourceId As ResourceIdentifier = Nothing, Optional latestJobRunStatus As Nullable(Of JobRunStatus) = Nothing, Optional agentName As String = Nothing, Optional agentResourceId As ResourceIdentifier = Nothing, Optional provisioningState As Nullable(Of StorageMoverProvisioningState) = Nothing) As JobDefinitionData

参数

name
String

名称。

resourceType
ResourceType

resourceType。

systemData
SystemData

systemData。

description
String

作业定义的说明。

copyMode
StorageMoverCopyMode

要用于复制的策略。

sourceName
String

源终结点的名称。

sourceResourceId
ResourceIdentifier

源终结点的完全限定的资源 ID。

sourceSubpath
String

从源终结点读取时要使用的子路径。

targetName
String

目标终结点的名称。

targetResourceId
ResourceIdentifier

目标终结点的完全限定资源 ID。

targetSubpath
String

写入目标终结点时要使用的子路径。

latestJobRunName
String

处于非终端状态的作业运行的名称(如果存在)。

latestJobRunResourceId
ResourceIdentifier

处于非终端状态的作业运行的完全限定的资源 ID(如果存在)。

latestJobRunStatus
Nullable<JobRunStatus>

处于非终端状态的作业运行的当前状态(如果存在)。

agentName
String

要为此作业定义的新作业运行分配的代理的名称。

agentResourceId
ResourceIdentifier

要为此作业定义的新作业运行分配的代理的完全限定资源 ID。

provisioningState
Nullable<StorageMoverProvisioningState>

此资源的预配状态。

返回

用于模拟的新 JobDefinitionData 实例。

适用于