你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
JobDefinition Class
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.
The Job Definition resource.
[Microsoft.Azure.PowerShell.Cmdlets.StorageMover.DoNotFormat]
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.JobDefinitionTypeConverter))]
public class JobDefinition : Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinition, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IValidates
[<Microsoft.Azure.PowerShell.Cmdlets.StorageMover.DoNotFormat>]
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.JobDefinitionTypeConverter))>]
type JobDefinition = class
interface IJobDefinition
interface IJsonSerializable
interface IResource
interface IValidates
Public Class JobDefinition
Implements IJobDefinition, IValidates
- Inheritance
-
JobDefinition
- Attributes
- Implements
Constructors
JobDefinition() |
Creates an new JobDefinition instance. |
Properties
AgentName |
Name of the Agent to assign for new Job Runs of this Job Definition. |
AgentResourceId |
Fully qualified resource id of the Agent to assign for new Job Runs of this Job Definition. |
CopyMode |
Strategy to use for copy. |
Description |
A description for the Job Definition. |
Id |
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} |
LatestJobRunName |
The name of the Job Run in a non-terminal state, if exists. |
LatestJobRunResourceId |
The fully qualified resource ID of the Job Run in a non-terminal state, if exists. |
LatestJobRunStatus |
The current status of the Job Run in a non-terminal state, if exists. |
Name |
The name of the resource |
ProvisioningState |
The provisioning state of this resource. |
SourceName |
The name of the source Endpoint. |
SourceResourceId |
Fully qualified resource ID of the source Endpoint. |
SourceSubpath |
The subpath to use when reading from the source Endpoint. |
SystemDataCreatedAt |
The timestamp of resource creation (UTC). |
SystemDataCreatedBy |
The identity that created the resource. |
SystemDataCreatedByType |
The type of identity that created the resource. |
SystemDataLastModifiedAt |
The timestamp of resource last modification (UTC) |
SystemDataLastModifiedBy |
The identity that last modified the resource. |
SystemDataLastModifiedByType |
The type of identity that last modified the resource. |
TargetName |
The name of the target Endpoint. |
TargetResourceId |
Fully qualified resource ID of the target Endpoint. |
TargetSubpath |
The subpath to use when writing to the target Endpoint. |
Type |
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" |
Methods
DeserializeFromDictionary(IDictionary) |
Deserializes a IDictionary into an instance of JobDefinition. |
DeserializeFromPSObject(PSObject) |
Deserializes a PSObject into an instance of JobDefinition. |
FromJson(JsonNode) |
Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinition. |
FromJsonString(String) |
Creates a new instance of JobDefinition, deserializing the content from a json string. |
ToJson(JsonObject, SerializationMode) |
Serializes this instance of JobDefinition into a JsonNode. |
ToJsonString() |
Serializes this instance to a json string. |
ToString() | |
Validate(IEventListener) |
Validates that this object meets the validation criteria. |