Share via


ArmAutomationModelFactory.SourceControlSyncJobResult Method

Definition

Initializes a new instance of SourceControlSyncJobResult.

public static Azure.ResourceManager.Automation.Models.SourceControlSyncJobResult SourceControlSyncJobResult (Azure.Core.ResourceIdentifier id = default, string sourceControlSyncJobId = default, DateTimeOffset? createdOn = default, Azure.ResourceManager.Automation.Models.SourceControlProvisioningState? provisioningState = default, DateTimeOffset? startOn = default, DateTimeOffset? endOn = default, Azure.ResourceManager.Automation.Models.SourceControlSyncType? syncType = default, string exception = default);
static member SourceControlSyncJobResult : Azure.Core.ResourceIdentifier * string * Nullable<DateTimeOffset> * Nullable<Azure.ResourceManager.Automation.Models.SourceControlProvisioningState> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Nullable<Azure.ResourceManager.Automation.Models.SourceControlSyncType> * string -> Azure.ResourceManager.Automation.Models.SourceControlSyncJobResult
Public Shared Function SourceControlSyncJobResult (Optional id As ResourceIdentifier = Nothing, Optional sourceControlSyncJobId As String = Nothing, Optional createdOn As Nullable(Of DateTimeOffset) = Nothing, Optional provisioningState As Nullable(Of SourceControlProvisioningState) = Nothing, Optional startOn As Nullable(Of DateTimeOffset) = Nothing, Optional endOn As Nullable(Of DateTimeOffset) = Nothing, Optional syncType As Nullable(Of SourceControlSyncType) = Nothing, Optional exception As String = Nothing) As SourceControlSyncJobResult

Parameters

id
ResourceIdentifier

The id of the job.

sourceControlSyncJobId
String

The source control sync job id.

createdOn
Nullable<DateTimeOffset>

The creation time of the job.

provisioningState
Nullable<SourceControlProvisioningState>

The provisioning state of the job.

startOn
Nullable<DateTimeOffset>

The start time of the job.

endOn
Nullable<DateTimeOffset>

The end time of the job.

syncType
Nullable<SourceControlSyncType>

The sync type.

exception
String

The exceptions that occurred while running the sync job.

Returns

A new SourceControlSyncJobResult instance for mocking.

Applies to