JobDefinitionData Class

Definition

A class representing the JobDefinition data model. The Job Definition resource.

public class JobDefinitionData : Azure.ResourceManager.Models.ResourceData, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.StorageMover.JobDefinitionData>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.StorageMover.JobDefinitionData>
public class JobDefinitionData : Azure.ResourceManager.Models.ResourceData
type JobDefinitionData = class
    inherit ResourceData
    interface IJsonModel<JobDefinitionData>
    interface IPersistableModel<JobDefinitionData>
type JobDefinitionData = class
    inherit ResourceData
Public Class JobDefinitionData
Inherits ResourceData
Implements IJsonModel(Of JobDefinitionData), IPersistableModel(Of JobDefinitionData)
Public Class JobDefinitionData
Inherits ResourceData
Inheritance
JobDefinitionData
Implements

Constructors

JobDefinitionData(StorageMoverCopyMode, String, String)

Initializes a new instance of JobDefinitionData.

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}.

(Inherited from ResourceData)
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.

(Inherited from ResourceData)
ProvisioningState

The provisioning state of this resource.

ResourceType

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".

(Inherited from ResourceData)
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.

SystemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

(Inherited from ResourceData)
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.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) (Inherited from ResourceData)

Explicit Interface Implementations

IJsonModel<JobDefinitionData>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<JobDefinitionData>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<JobDefinitionData>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<JobDefinitionData>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<JobDefinitionData>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to