共用方式為


ArmRecoveryServicesSiteRecoveryModelFactory.CriticalJobHistoryDetails Method

Definition

Initializes a new instance of CriticalJobHistoryDetails.

public static Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.CriticalJobHistoryDetails CriticalJobHistoryDetails (string jobName = default, Azure.Core.ResourceIdentifier jobId = default, DateTimeOffset? startOn = default, string jobStatus = default);
static member CriticalJobHistoryDetails : string * Azure.Core.ResourceIdentifier * Nullable<DateTimeOffset> * string -> Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.CriticalJobHistoryDetails
Public Shared Function CriticalJobHistoryDetails (Optional jobName As String = Nothing, Optional jobId As ResourceIdentifier = Nothing, Optional startOn As Nullable(Of DateTimeOffset) = Nothing, Optional jobStatus As String = Nothing) As CriticalJobHistoryDetails

Parameters

jobName
String

The job name.

jobId
ResourceIdentifier

The ARM Id of the job being executed.

startOn
Nullable<DateTimeOffset>

The start time of the job.

jobStatus
String

The job state.

Returns

A new CriticalJobHistoryDetails instance for mocking.

Applies to