共用方式為


ArmAppContainersModelFactory.ContainerAppJobExecutionData Method

Definition

Initializes a new instance of ContainerAppJobExecutionData.

public static Azure.ResourceManager.AppContainers.ContainerAppJobExecutionData ContainerAppJobExecutionData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, Azure.ResourceManager.AppContainers.Models.JobExecutionRunningState? status = default, DateTimeOffset? startOn = default, DateTimeOffset? endOn = default, Azure.ResourceManager.AppContainers.Models.ContainerAppJobExecutionTemplate template = default);
static member ContainerAppJobExecutionData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Nullable<Azure.ResourceManager.AppContainers.Models.JobExecutionRunningState> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Azure.ResourceManager.AppContainers.Models.ContainerAppJobExecutionTemplate -> Azure.ResourceManager.AppContainers.ContainerAppJobExecutionData
Public Shared Function ContainerAppJobExecutionData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional status As Nullable(Of JobExecutionRunningState) = Nothing, Optional startOn As Nullable(Of DateTimeOffset) = Nothing, Optional endOn As Nullable(Of DateTimeOffset) = Nothing, Optional template As ContainerAppJobExecutionTemplate = Nothing) As ContainerAppJobExecutionData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

status
Nullable<JobExecutionRunningState>

Current running State of the job.

startOn
Nullable<DateTimeOffset>

Job execution start time.

endOn
Nullable<DateTimeOffset>

Job execution end time.

template
ContainerAppJobExecutionTemplate

Job's execution container.

Returns

A new ContainerAppJobExecutionData instance for mocking.

Applies to