Microsoft.Azure.Commands.Insights.Events.GetAzureRmLogCommand.ProcessParticularParameters C# (CSharp) Method

ProcessParticularParameters() protected method

Process the parameters defined by this class (a.k.a. particular parameters)
protected ProcessParticularParameters ( string currentQueryFilter ) : string
currentQueryFilter string The current query filter
return string
        protected override string ProcessParticularParameters(string currentQueryFilter)
        {
            this.SetMaxEventsIfPresent(currentQueryFilter, "MaxEvents", this.MaxEvents);

            string extendedQuery = this.AddConditionIfPResent(currentQueryFilter, "correlationId", this.CorrelationId);
            extendedQuery = this.AddConditionIfPResent(extendedQuery, "resourceGroupName", this.ResourceGroup);

            // Notice the different name in the condition (resourceUri) and the parameter (resourceId)
            // The difference is intentional as the new directive is to use ResourceId everywhere, but the SDK still uses resourceUri
            extendedQuery = this.AddConditionIfPResent(extendedQuery, "resourceUri", this.ResourceId);
            return this.AddConditionIfPResent(extendedQuery, "resourceProvider", this.ResourceProvider);
        }
    }
GetAzureRmLogCommand