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

IJob Interface

Definition

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api202301.JobTypeConverter))]
public interface IJob : Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api202301.IResource
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api202301.JobTypeConverter))>]
type IJob = interface
    interface IJsonSerializable
    interface IResource
Public Interface IJob
Implements IResource
Derived
Attributes
Implements

Properties

ActivityId

The activity id.

AllowedAction

The Allowed action the job.

CustomDetailAffectedObjectDetail

The affected object properties like source server, source cloud, target server, target cloud etc. based on the workflow object details.

CustomDetailInstanceType

Gets the type of job details (see JobDetailsTypes enum for possible values).

EndTime

The end time.

Error

The errors.

FriendlyName

The DisplayName.

Id

Resource Id

(Inherited from IResource)
Location

Resource Location

(Inherited from IResource)
Name

Resource Name

(Inherited from IResource)
ScenarioName

The ScenarioName.

StartTime

The start time.

State

The status of the Job. It is one of these values - NotStarted, InProgress, Succeeded, Failed, Cancelled, Suspended or Other.

StateDescription

The description of the state of the Job. For e.g. - For Succeeded state, description can be Completed, PartiallySucceeded, CompletedWithInformation or Skipped.

TargetInstanceType

The type of the affected object which is of Microsoft.Azure.SiteRecovery.V2015_11_10.AffectedObjectType class.

TargetObjectId

The affected Object Id.

TargetObjectName

The name of the affected object.

Task

The tasks.

Type

Resource Type

(Inherited from IResource)

Methods

ToJson(JsonObject, SerializationMode) (Inherited from IJsonSerializable)

Applies to