protected override void ProcessRecord()
{
SavedSearchProperties properties = new SavedSearchProperties()
{
Category = this.Category,
DisplayName = this.DisplayName,
Query = this.Query,
Version = this.Version,
Tags = new List<Tag>() { new Tag() { Name = "Group", Value = "Computer" } }
};
WriteObject(OperationalInsightsClient.CreateOrUpdateSavedSearch(ResourceGroupName, WorkspaceName, SavedSearchId, properties, Force, ConfirmAction), true);
}