ArmAutomationModelFactory.DscCompilationJobData Method

Definition

Initializes a new instance of DscCompilationJobData.

public static Azure.ResourceManager.Automation.DscCompilationJobData DscCompilationJobData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, string configurationName = default, string startedBy = default, Guid? jobId = default, DateTimeOffset? createdOn = default, Azure.ResourceManager.Automation.Models.JobProvisioningState? provisioningState = default, string runOn = default, Azure.ResourceManager.Automation.Models.AutomationJobStatus? status = default, string statusDetails = default, DateTimeOffset? startOn = default, DateTimeOffset? endOn = default, string exception = default, DateTimeOffset? lastModifiedOn = default, DateTimeOffset? lastStatusModifiedOn = default, System.Collections.Generic.IDictionary<string,string> parameters = default);
static member DscCompilationJobData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * string * string * Nullable<Guid> * Nullable<DateTimeOffset> * Nullable<Azure.ResourceManager.Automation.Models.JobProvisioningState> * string * Nullable<Azure.ResourceManager.Automation.Models.AutomationJobStatus> * string * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * string * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * System.Collections.Generic.IDictionary<string, string> -> Azure.ResourceManager.Automation.DscCompilationJobData
Public Shared Function DscCompilationJobData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional configurationName As String = Nothing, Optional startedBy As String = Nothing, Optional jobId As Nullable(Of Guid) = Nothing, Optional createdOn As Nullable(Of DateTimeOffset) = Nothing, Optional provisioningState As Nullable(Of JobProvisioningState) = Nothing, Optional runOn As String = Nothing, Optional status As Nullable(Of AutomationJobStatus) = Nothing, Optional statusDetails 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 IDictionary(Of String, String) = Nothing) As DscCompilationJobData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

configurationName
String

Gets or sets the configuration.

startedBy
String

Gets the compilation job started by.

jobId
Nullable<Guid>

Gets the id of the job.

createdOn
Nullable<DateTimeOffset>

Gets the creation time of the job.

provisioningState
Nullable<JobProvisioningState>

The current provisioning state of the job.

runOn
String

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

status
Nullable<AutomationJobStatus>

Gets or sets the status of the job.

statusDetails
String

Gets or sets the status details of the job.

startOn
Nullable<DateTimeOffset>

Gets the start time of the job.

endOn
Nullable<DateTimeOffset>

Gets the end time of the job.

exception
String

Gets the exception of the job.

lastModifiedOn
Nullable<DateTimeOffset>

Gets the last modified time of the job.

lastStatusModifiedOn
Nullable<DateTimeOffset>

Gets the last status modified time of the job.

parameters
IDictionary<String,String>

Gets or sets the parameters of the job.

Returns

A new DscCompilationJobData instance for mocking.

Applies to