ArmSqlModelFactory.SqlServerJobExecutionData 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 SqlServerJobExecutionData.
public static Azure.ResourceManager.Sql.SqlServerJobExecutionData SqlServerJobExecutionData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, int? jobVersion = default, string stepName = default, int? stepId = default, Guid? jobExecutionId = default, Azure.ResourceManager.Sql.Models.JobExecutionLifecycle? lifecycle = default, Azure.ResourceManager.Sql.Models.JobExecutionProvisioningState? provisioningState = default, DateTimeOffset? createOn = default, DateTimeOffset? startOn = default, DateTimeOffset? endOn = default, int? currentAttempts = default, DateTimeOffset? currentAttemptStartOn = default, string lastMessage = default, Azure.ResourceManager.Sql.Models.JobExecutionTarget target = default);
static member SqlServerJobExecutionData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Nullable<int> * string * Nullable<int> * Nullable<Guid> * Nullable<Azure.ResourceManager.Sql.Models.JobExecutionLifecycle> * Nullable<Azure.ResourceManager.Sql.Models.JobExecutionProvisioningState> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Nullable<int> * Nullable<DateTimeOffset> * string * Azure.ResourceManager.Sql.Models.JobExecutionTarget -> Azure.ResourceManager.Sql.SqlServerJobExecutionData
Public Shared Function SqlServerJobExecutionData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional jobVersion As Nullable(Of Integer) = Nothing, Optional stepName As String = Nothing, Optional stepId As Nullable(Of Integer) = Nothing, Optional jobExecutionId As Nullable(Of Guid) = Nothing, Optional lifecycle As Nullable(Of JobExecutionLifecycle) = Nothing, Optional provisioningState As Nullable(Of JobExecutionProvisioningState) = Nothing, Optional createOn As Nullable(Of DateTimeOffset) = Nothing, Optional startOn As Nullable(Of DateTimeOffset) = Nothing, Optional endOn As Nullable(Of DateTimeOffset) = Nothing, Optional currentAttempts As Nullable(Of Integer) = Nothing, Optional currentAttemptStartOn As Nullable(Of DateTimeOffset) = Nothing, Optional lastMessage As String = Nothing, Optional target As JobExecutionTarget = Nothing) As SqlServerJobExecutionData
Parameters
The id.
- name
- String
The name.
- resourceType
- ResourceType
The resourceType.
- systemData
- SystemData
The systemData.
- stepName
- String
The job step name.
- lifecycle
- Nullable<JobExecutionLifecycle>
The detailed state of the job execution.
- provisioningState
- Nullable<JobExecutionProvisioningState>
The ARM provisioning state of the job execution.
- createOn
- Nullable<DateTimeOffset>
The time that the job execution was created.
- startOn
- Nullable<DateTimeOffset>
The time that the job execution started.
- endOn
- Nullable<DateTimeOffset>
The time that the job execution completed.
- currentAttemptStartOn
- Nullable<DateTimeOffset>
Start time of the current attempt.
- lastMessage
- String
The last status or error message.
- target
- JobExecutionTarget
The target that this execution is executed on.
Returns
A new SqlServerJobExecutionData instance for mocking.
Applies to
Azure SDK for .NET