ArmAutomationModelFactory.SourceControlSyncJob Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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.