ArmAutomationModelFactory.SourceControlSyncJob Method

Definition

Initializes a new instance of SourceControlSyncJob.

public static Azure.ResourceManager.Automation.Models.SourceControlSyncJob SourceControlSyncJob (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = 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);
static member SourceControlSyncJob : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * string * Nullable<DateTimeOffset> * Nullable<Azure.ResourceManager.Automation.Models.SourceControlProvisioningState> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Nullable<Azure.ResourceManager.Automation.Models.SourceControlSyncType> -> Azure.ResourceManager.Automation.Models.SourceControlSyncJob
Public Shared Function SourceControlSyncJob (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = 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) As SourceControlSyncJob

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

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.

Returns

A new SourceControlSyncJob instance for mocking.

Applies to