ArmSecurityInsightsModelFactory.JobItem Method

Definition

Initializes a new instance of JobItem.

public static Azure.ResourceManager.SecurityInsights.Models.JobItem JobItem (Azure.Core.ResourceIdentifier resourceId = default, Azure.ResourceManager.SecurityInsights.Models.PublicationStatus? status = default, DateTimeOffset? executionOn = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.SecurityInsights.Models.PublicationFailedError> errors = default);
static member JobItem : Azure.Core.ResourceIdentifier * Nullable<Azure.ResourceManager.SecurityInsights.Models.PublicationStatus> * Nullable<DateTimeOffset> * seq<Azure.ResourceManager.SecurityInsights.Models.PublicationFailedError> -> Azure.ResourceManager.SecurityInsights.Models.JobItem
Public Shared Function JobItem (Optional resourceId As ResourceIdentifier = Nothing, Optional status As Nullable(Of PublicationStatus) = Nothing, Optional executionOn As Nullable(Of DateTimeOffset) = Nothing, Optional errors As IEnumerable(Of PublicationFailedError) = Nothing) As JobItem

Parameters

resourceId
ResourceIdentifier

The resource id of the content item.

status
Nullable<PublicationStatus>

Status of the item publication.

executionOn
Nullable<DateTimeOffset>

The time the item publishing was completed.

errors
IEnumerable<PublicationFailedError>

The list of error descriptions if the item publication fails.

Returns

A new JobItem instance for mocking.

Applies to