public static PopulateAndValidateTagsForProperties ( |
||
tags | ||
query | string | |
Результат | IList |
protected override void ProcessRecord() { SavedSearch properties = new SavedSearch() { Category = this.Category, DisplayName = this.DisplayName, Query = this.Query, Version = this.Version }; properties.Tags = SearchCommandHelper.PopulateAndValidateTagsForProperties(this.Tag, properties.Query); WriteObject(OperationalInsightsClient.CreateOrUpdateSavedSearch(ResourceGroupName, WorkspaceName, SavedSearchId, properties, Force, ConfirmAction), true); }
protected override void ProcessRecord() { SavedSearch properties = new SavedSearch() { Category = this.Category, DisplayName = this.DisplayName, Query = this.Query, Version = this.Version, FunctionAlias = this.FunctionAlias, FunctionParameters = this.FunctionParameter }; bool patch = this.IsParameterBound(c => c.FunctionParameter); properties.Tags = SearchCommandHelper.PopulateAndValidateTagsForProperties(this.Tag, properties.Query); WriteObject(OperationalInsightsClient.CreateOrUpdateSavedSearch(ResourceGroupName, WorkspaceName, SavedSearchId, properties, patch, true, ConfirmAction, ETag), true); }