ArmAutomationModelFactory.AutomationJobData 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 AutomationJobData.
public static Azure.ResourceManager.Automation.AutomationJobData AutomationJobData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, string runbookName = default, string startedBy = default, string runOn = default, Guid? jobId = default, DateTimeOffset? createdOn = 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, Azure.ResourceManager.Automation.Models.JobProvisioningState? provisioningState = default);
static member AutomationJobData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * string * string * string * Nullable<Guid> * Nullable<DateTimeOffset> * Nullable<Azure.ResourceManager.Automation.Models.AutomationJobStatus> * string * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * string * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * System.Collections.Generic.IDictionary<string, string> * Nullable<Azure.ResourceManager.Automation.Models.JobProvisioningState> -> Azure.ResourceManager.Automation.AutomationJobData
Public Shared Function AutomationJobData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional runbookName As String = Nothing, Optional startedBy As String = Nothing, Optional runOn As String = Nothing, Optional jobId As Nullable(Of Guid) = Nothing, Optional createdOn As Nullable(Of DateTimeOffset) = 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, Optional provisioningState As Nullable(Of JobProvisioningState) = Nothing) As AutomationJobData
Parameters
The id.
- name
- String
The name.
- resourceType
- ResourceType
The resourceType.
- systemData
- SystemData
The systemData.
- runbookName
- String
Gets or sets the runbook.
- startedBy
- String
Gets or sets the job started by.
- runOn
- String
Gets or sets the runOn which specifies the group name where the job is to be executed.
- createdOn
- Nullable<DateTimeOffset>
Gets or sets the creation time of the job.
- 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 or sets the start time of the job.
- endOn
- Nullable<DateTimeOffset>
Gets or sets the end time of the job.
- exception
- String
Gets or sets the exception of the job.
- lastModifiedOn
- Nullable<DateTimeOffset>
Gets or sets the last modified time of the job.
- lastStatusModifiedOn
- Nullable<DateTimeOffset>
Gets or sets the last status modified time of the job.
- parameters
- IDictionary<String,String>
Gets or sets the parameters of the job.
- provisioningState
- Nullable<JobProvisioningState>
The current provisioning state of the job.
Returns
A new AutomationJobData instance for mocking.
Applies to
Azure SDK for .NET