共用方式為


ArmStorageMoverModelFactory.JobDefinitionData Method

Definition

Initializes a new instance of 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

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

description
String

A description for the Job Definition.

copyMode
StorageMoverCopyMode

Strategy to use for copy.

sourceName
String

The name of the source Endpoint.

sourceResourceId
ResourceIdentifier

Fully qualified resource ID of the source Endpoint.

sourceSubpath
String

The subpath to use when reading from the source Endpoint.

targetName
String

The name of the target Endpoint.

targetResourceId
ResourceIdentifier

Fully qualified resource ID of the target Endpoint.

targetSubpath
String

The subpath to use when writing to the target Endpoint.

latestJobRunName
String

The name of the Job Run in a non-terminal state, if exists.

latestJobRunResourceId
ResourceIdentifier

The fully qualified resource ID of the Job Run in a non-terminal state, if exists.

latestJobRunStatus
Nullable<JobRunStatus>

The current status of the Job Run in a non-terminal state, if exists.

agentName
String

Name of the Agent to assign for new Job Runs of this Job Definition.

agentResourceId
ResourceIdentifier

Fully qualified resource id of the Agent to assign for new Job Runs of this Job Definition.

provisioningState
Nullable<StorageMoverProvisioningState>

The provisioning state of this resource.

Returns

A new JobDefinitionData instance for mocking.

Applies to