Partilhar via


ArmSecurityInsightsModelFactory.BookmarkTimelineItem Method

Definition

Initializes a new instance of BookmarkTimelineItem.

public static Azure.ResourceManager.SecurityInsights.Models.BookmarkTimelineItem BookmarkTimelineItem (Azure.Core.ResourceIdentifier azureResourceId = default, string displayName = default, string notes = default, DateTimeOffset? endOn = default, DateTimeOffset? startOn = default, DateTimeOffset? eventOn = default, Azure.ResourceManager.SecurityInsights.Models.SecurityInsightsUserInfo createdBy = default, System.Collections.Generic.IEnumerable<string> labels = default);
static member BookmarkTimelineItem : Azure.Core.ResourceIdentifier * string * string * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Azure.ResourceManager.SecurityInsights.Models.SecurityInsightsUserInfo * seq<string> -> Azure.ResourceManager.SecurityInsights.Models.BookmarkTimelineItem
Public Shared Function BookmarkTimelineItem (Optional azureResourceId As ResourceIdentifier = Nothing, Optional displayName As String = Nothing, Optional notes As String = Nothing, Optional endOn As Nullable(Of DateTimeOffset) = Nothing, Optional startOn As Nullable(Of DateTimeOffset) = Nothing, Optional eventOn As Nullable(Of DateTimeOffset) = Nothing, Optional createdBy As SecurityInsightsUserInfo = Nothing, Optional labels As IEnumerable(Of String) = Nothing) As BookmarkTimelineItem

Parameters

azureResourceId
ResourceIdentifier

The bookmark azure resource id.

displayName
String

The bookmark display name.

notes
String

The notes of the bookmark.

endOn
Nullable<DateTimeOffset>

The bookmark end time.

startOn
Nullable<DateTimeOffset>

The bookmark start time.

eventOn
Nullable<DateTimeOffset>

The bookmark event time.

createdBy
SecurityInsightsUserInfo

Describes a user that created the bookmark.

labels
IEnumerable<String>

List of labels relevant to this bookmark.

Returns

A new BookmarkTimelineItem instance for mocking.

Applies to