Share via


HyperVJob Class

Definition

Job REST Resource.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api202001.HyperVJobTypeConverter))]
public class HyperVJob : Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api202001.IHyperVJob
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api202001.HyperVJobTypeConverter))>]
type HyperVJob = class
    interface IHyperVJob
    interface IJsonSerializable
Public Class HyperVJob
Implements IHyperVJob
Inheritance
HyperVJob
Attributes
Implements

Constructors

HyperVJob()

Creates an new HyperVJob instance.

Properties

ActivityId

Activity Id used in the operation execution context.

ClientRequestId

Client request Id used in the operation execution context.

DisplayName

Display name of the Job.

EndTime

Operation end time.

Error

Errors.

Id

Resource Id.

Name

Name of the Job.

StartTime

Operation start time.

Status

Operation status.

Type

Type of resource. Type = Microsoft.OffAzure/HyperVSites/Jobs.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of HyperVJob.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of HyperVJob.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api202001.IHyperVJob.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of HyperVJob into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to