Share via


ArmAutomationModelFactory.RunbookTestJob Method

Definition

Initializes a new instance of RunbookTestJob.

public static Azure.ResourceManager.Automation.Models.RunbookTestJob RunbookTestJob (DateTimeOffset? createdOn = default, string status = default, string statusDetails = default, string runOn = default, DateTimeOffset? startOn = default, DateTimeOffset? endOn = default, string exception = default, DateTimeOffset? lastModifiedOn = default, DateTimeOffset? lastStatusModifiedOn = default, System.Collections.Generic.IReadOnlyDictionary<string,string> parameters = default, int? logActivityTrace = default);
static member RunbookTestJob : Nullable<DateTimeOffset> * string * string * string * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * string * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * System.Collections.Generic.IReadOnlyDictionary<string, string> * Nullable<int> -> Azure.ResourceManager.Automation.Models.RunbookTestJob
Public Shared Function RunbookTestJob (Optional createdOn As Nullable(Of DateTimeOffset) = Nothing, Optional status As String = Nothing, Optional statusDetails As String = Nothing, Optional runOn As String = Nothing, Optional startOn As Nullable(Of DateTimeOffset) = Nothing, Optional endOn As Nullable(Of DateTimeOffset) = Nothing, Optional exception As String = Nothing, Optional lastModifiedOn As Nullable(Of DateTimeOffset) = Nothing, Optional lastStatusModifiedOn As Nullable(Of DateTimeOffset) = Nothing, Optional parameters As IReadOnlyDictionary(Of String, String) = Nothing, Optional logActivityTrace As Nullable(Of Integer) = Nothing) As RunbookTestJob

Parameters

createdOn
Nullable<DateTimeOffset>

Gets or sets the creation time of the test job.

status
String

Gets or sets the status of the test job.

statusDetails
String

Gets or sets the status details of the test job.

runOn
String

Gets or sets the runOn which specifies the group name where the job is to be executed.

startOn
Nullable<DateTimeOffset>

Gets or sets the start time of the test job.

endOn
Nullable<DateTimeOffset>

Gets or sets the end time of the test job.

exception
String

Gets or sets the exception of the test job.

lastModifiedOn
Nullable<DateTimeOffset>

Gets or sets the last modified time of the test job.

lastStatusModifiedOn
Nullable<DateTimeOffset>

Gets or sets the last status modified time of the test job.

parameters
IReadOnlyDictionary<String,String>

Gets or sets the parameters of the test job.

logActivityTrace
Nullable<Int32>

The activity-level tracing options of the runbook.

Returns

A new RunbookTestJob instance for mocking.

Applies to