Share via


AutomationRunbookTaskDetails Class

Definition

This class represents the task details for an automation runbook.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api202301.AutomationRunbookTaskDetailsTypeConverter))]
public class AutomationRunbookTaskDetails : Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api202301.IAutomationRunbookTaskDetails, Microsoft.Azure.PowerShell.Cmdlets.Migrate.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api202301.AutomationRunbookTaskDetailsTypeConverter))>]
type AutomationRunbookTaskDetails = class
    interface IAutomationRunbookTaskDetails
    interface IJsonSerializable
    interface ITaskTypeDetails
    interface IValidates
Public Class AutomationRunbookTaskDetails
Implements IAutomationRunbookTaskDetails, IValidates
Inheritance
AutomationRunbookTaskDetails
Attributes
Implements

Constructors

AutomationRunbookTaskDetails()

Creates an new AutomationRunbookTaskDetails instance.

Properties

AccountName

The automation account name of the runbook.

CloudServiceName

The cloud service of the automation runbook account.

InstanceType

The type of task details.

IsPrimarySideScript

A value indicating whether it is a primary side script or not.

JobId

The job Id of the runbook execution.

JobOutput

The execution output of the runbook.

Name

The recovery plan task name.

RunbookId

The runbook Id.

RunbookName

The runbook name.

SubscriptionId

The subscription Id of the automation runbook account.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of AutomationRunbookTaskDetails.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of AutomationRunbookTaskDetails.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of AutomationRunbookTaskDetails into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to