/// <summary> /// Initializes a new instance of the Bookmark class. /// </summary> /// <param name="displayName">The display name of the bookmark</param> /// <param name="query">The query of the bookmark.</param> /// <param name="id">Azure resource Id</param> /// <param name="name">Azure resource name</param> /// <param name="type">Azure resource type</param> /// <param name="etag">Etag of the azure resource</param> /// <param name="created">The time the bookmark was created</param> /// <param name="createdBy">Describes a user that created the /// bookmark</param> /// <param name="labels">List of labels relevant to this /// bookmark</param> /// <param name="notes">The notes of the bookmark</param> /// <param name="queryResult">The query result of the bookmark.</param> /// <param name="updated">The last time the bookmark was /// updated</param> /// <param name="updatedBy">Describes a user that updated the /// bookmark</param> /// <param name="eventTime">The bookmark event time</param> /// <param name="queryStartTime">The start time for the query</param> /// <param name="queryEndTime">The end time for the query</param> /// <param name="incidentInfo">Describes an incident that relates to /// bookmark</param> public Bookmark(string displayName, string query, string id = default(string), string name = default(string), string type = default(string), string etag = default(string), System.DateTime?created = default(System.DateTime?), UserInfo createdBy = default(UserInfo), IList <string> labels = default(IList <string>), string notes = default(string), string queryResult = default(string), System.DateTime?updated = default(System.DateTime?), UserInfo updatedBy = default(UserInfo), System.DateTime?eventTime = default(System.DateTime?), System.DateTime?queryStartTime = default(System.DateTime?), System.DateTime?queryEndTime = default(System.DateTime?), IncidentInfo incidentInfo = default(IncidentInfo)) : base(id, name, type, etag) { Created = created; CreatedBy = createdBy; DisplayName = displayName; Labels = labels; Notes = notes; Query = query; QueryResult = queryResult; Updated = updated; UpdatedBy = updatedBy; EventTime = eventTime; QueryStartTime = queryStartTime; QueryEndTime = queryEndTime; IncidentInfo = incidentInfo; CustomInit(); }
/// <summary> /// Initializes a new instance of the HuntingBookmark class. /// </summary> /// <param name="displayName">The display name of the bookmark</param> /// <param name="query">The query of the bookmark.</param> /// <param name="id">Fully qualified resource ID for the resource. Ex - /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}</param> /// <param name="name">The name of the resource</param> /// <param name="type">The type of the resource. E.g. /// "Microsoft.Compute/virtualMachines" or /// "Microsoft.Storage/storageAccounts"</param> /// <param name="systemData">Azure Resource Manager metadata containing /// createdBy and modifiedBy information.</param> /// <param name="additionalData">A bag of custom fields that should be /// part of the entity and will be presented to the user.</param> /// <param name="friendlyName">The graph item display name which is a /// short humanly readable description of the graph item instance. This /// property is optional and might be system generated.</param> /// <param name="created">The time the bookmark was created</param> /// <param name="createdBy">Describes a user that created the /// bookmark</param> /// <param name="eventTime">The time of the event</param> /// <param name="labels">List of labels relevant to this /// bookmark</param> /// <param name="notes">The notes of the bookmark</param> /// <param name="queryResult">The query result of the bookmark.</param> /// <param name="updated">The last time the bookmark was /// updated</param> /// <param name="updatedBy">Describes a user that updated the /// bookmark</param> /// <param name="incidentInfo">Describes an incident that relates to /// bookmark</param> public HuntingBookmark(string displayName, string query, string id = default(string), string name = default(string), string type = default(string), SystemData systemData = default(SystemData), IDictionary <string, object> additionalData = default(IDictionary <string, object>), string friendlyName = default(string), System.DateTime?created = default(System.DateTime?), UserInfo createdBy = default(UserInfo), System.DateTime?eventTime = default(System.DateTime?), IList <string> labels = default(IList <string>), string notes = default(string), string queryResult = default(string), System.DateTime?updated = default(System.DateTime?), UserInfo updatedBy = default(UserInfo), IncidentInfo incidentInfo = default(IncidentInfo)) : base(id, name, type, systemData) { AdditionalData = additionalData; FriendlyName = friendlyName; Created = created; CreatedBy = createdBy; DisplayName = displayName; EventTime = eventTime; Labels = labels; Notes = notes; Query = query; QueryResult = queryResult; Updated = updated; UpdatedBy = updatedBy; IncidentInfo = incidentInfo; CustomInit(); }