共用方式為


ArmRecoveryServicesSiteRecoveryModelFactory.AutomationRunbookTaskDetails Method

Definition

Initializes a new instance of AutomationRunbookTaskDetails.

public static Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.AutomationRunbookTaskDetails AutomationRunbookTaskDetails (string name = default, string cloudServiceName = default, string subscriptionId = default, string accountName = default, string runbookId = default, string runbookName = default, Azure.Core.ResourceIdentifier jobId = default, string jobOutput = default, bool? isPrimarySideScript = default);
static member AutomationRunbookTaskDetails : string * string * string * string * string * string * Azure.Core.ResourceIdentifier * string * Nullable<bool> -> Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.AutomationRunbookTaskDetails
Public Shared Function AutomationRunbookTaskDetails (Optional name As String = Nothing, Optional cloudServiceName As String = Nothing, Optional subscriptionId As String = Nothing, Optional accountName As String = Nothing, Optional runbookId As String = Nothing, Optional runbookName As String = Nothing, Optional jobId As ResourceIdentifier = Nothing, Optional jobOutput As String = Nothing, Optional isPrimarySideScript As Nullable(Of Boolean) = Nothing) As AutomationRunbookTaskDetails

Parameters

name
String

The recovery plan task name.

cloudServiceName
String

The cloud service of the automation runbook account.

subscriptionId
String

The subscription Id of the automation runbook account.

accountName
String

The automation account name of the runbook.

runbookId
String

The runbook Id.

runbookName
String

The runbook name.

jobId
ResourceIdentifier

The job Id of the runbook execution.

jobOutput
String

The execution output of the runbook.

isPrimarySideScript
Nullable<Boolean>

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

Returns

A new AutomationRunbookTaskDetails instance for mocking.

Applies to