Microsoft.Azure.Commands.OperationalInsights.NewAzureOperationalInsightsComputerGroupCommand.ProcessRecord C# (CSharp) Method

ProcessRecord() protected method

protected ProcessRecord ( ) : void
return void
        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);
        }
NewAzureOperationalInsightsComputerGroupCommand