Skip to content

Conversation

@kinelski
Copy link
Contributor

Renaming for cross-language consistency.

@kinelski kinelski added the Client This issue is related to a non-management package label Jun 23, 2021
@kinelski kinelski requested a review from maririos June 23, 2021 21:09
@kinelski kinelski self-assigned this Jun 23, 2021
@kinelski kinelski requested a review from maririos June 23, 2021 21:16
{
public MetricAnomalyAlertConfiguration(string detectionConfigurationId, Azure.AI.MetricsAdvisor.Models.MetricAnomalyAlertScope alertScope) { }
public MetricAlertConfiguration(string detectionConfigurationId, Azure.AI.MetricsAdvisor.Models.MetricAnomalyAlertScope alertScope) { }
public Azure.AI.MetricsAdvisor.Models.MetricAnomalyAlertConditions AlertConditions { get { throw null; } set { } }
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

out of curiosity, what was the reason to drop the Anomaly from it? and why it happens to only that type and not the others like this one?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We're just aligning to what other languages are doing (.NET was the odd one out). We'll also rename MetricAnomalyAlertConditions to something else in another PR. Regarding other related models, changing them across languages is an effort with too low priority to be done in the current time frame.

@kinelski
Copy link
Contributor Author

/azp run net - metricsadvisor - tests

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).


/// <summary> The dimension filter. </summary>
internal FeedbackDimensionFilter DimensionFilter => Filter.Dimension == null ? null : new FeedbackDimensionFilter(Filter.Dimension);
internal FeedbackDimensionFilter DimensionFilter => Filter?.Dimension == null ? null : new FeedbackDimensionFilter(Filter.Dimension);
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added small fix for #22269.

@kinelski kinelski merged commit c8b7a33 into Azure:main Jun 29, 2021
@kinelski kinelski deleted the ma-renames branch June 29, 2021 14:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Client This issue is related to a non-management package Cognitive - Metrics Advisor

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants