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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET