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

JobPropertiesAutoGenerated Class

Definition

Job custom data details.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api202301.JobPropertiesAutoGeneratedTypeConverter))]
public class JobPropertiesAutoGenerated : Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api202301.IJobPropertiesAutoGenerated
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api202301.JobPropertiesAutoGeneratedTypeConverter))>]
type JobPropertiesAutoGenerated = class
    interface IJobPropertiesAutoGenerated
    interface IJsonSerializable
Public Class JobPropertiesAutoGenerated
Implements IJobPropertiesAutoGenerated
Inheritance
JobPropertiesAutoGenerated
Attributes
Implements

Constructors

JobPropertiesAutoGenerated()

Creates an new JobPropertiesAutoGenerated instance.

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.

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.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of JobPropertiesAutoGenerated.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of JobPropertiesAutoGenerated.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api202301.IJobPropertiesAutoGenerated.

FromJsonString(String)

Creates a new instance of JobPropertiesAutoGenerated, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of JobPropertiesAutoGenerated into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to