ArmSecurityInsightsModelFactory.JobItem 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 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
Colaborar conosco no GitHub
A fonte deste conteúdo pode ser encontrada no GitHub, onde você também pode criar e revisar problemas e solicitações de pull. Para obter mais informações, confira o nosso guia para colaboradores.
Azure SDK for .NET