Job 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.
Job details.
[Microsoft.Azure.PowerShell.Cmdlets.Migrate.DoNotFormat]
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api202401.JobTypeConverter))]
public class Job : Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api202401.IJob, Microsoft.Azure.PowerShell.Cmdlets.Migrate.Runtime.IValidates
[<Microsoft.Azure.PowerShell.Cmdlets.Migrate.DoNotFormat>]
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api202401.JobTypeConverter))>]
type Job = class
interface IJob
interface IJsonSerializable
interface IResource
interface IValidates
Public Class Job
Implements IJob, IValidates
- Inheritance
-
Job
- Attributes
- Implements
Constructors
Job() |
Creates an new Job 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. |
Id |
Resource Id |
Location |
Resource Location |
Name |
Resource Name |
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 |
Methods
DeserializeFromDictionary(IDictionary) |
Deserializes a IDictionary into an instance of Job. |
DeserializeFromPSObject(PSObject) | |
FromJson(JsonNode) |
Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api202401.IJob. |
FromJsonString(String) |
Creates a new instance of Job, deserializing the content from a json string. |
ToJson(JsonObject, SerializationMode) | |
ToJsonString() |
Serializes this instance to a json string. |
Validate(IEventListener) |
Validates that this object meets the validation criteria. |