Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[MetricsAdvisor] Added missing DatasourceCredential types #21587

Merged
merged 13 commits into from
Jun 4, 2021

Conversation

kinelski
Copy link
Member

@kinelski kinelski commented Jun 4, 2021

Part of #18609.

Adding the three remaining DatasourceCredential types. It's pretty much the same thing as the ServicePrincipalDatasourceCredential we added in a previous PR.

@kinelski kinelski added Client This issue points to a problem in the data-plane of the library. Cognitive - Metrics Advisor labels Jun 4, 2021
@kinelski kinelski self-assigned this Jun 4, 2021
@kinelski kinelski marked this pull request as ready for review June 4, 2021 11:45
@kinelski kinelski requested review from maririos and removed request for tg-msft and KrzysztofCwalina June 4, 2021 11:45
@@ -768,6 +768,11 @@ public abstract partial class DataFeedSource
public static bool operator !=(Azure.AI.MetricsAdvisor.Models.DataFeedStatus left, Azure.AI.MetricsAdvisor.Models.DataFeedStatus right) { throw null; }
public override string ToString() { throw null; }
}
public partial class DataLakeGen2SharedKeyDatasourceCredential : Azure.AI.MetricsAdvisor.Models.DatasourceCredential
Copy link
Member

Choose a reason for hiding this comment

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

I imagine there is a reason why the name needs to be super specific?

Copy link
Member Author

Choose a reason for hiding this comment

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

Data Lake Gen 2 is the name of the service to which this credential is used. Shared Key specifies the type of credential. We will need to create other datasource credentials for different types of authentication.

kinelski and others added 3 commits June 4, 2021 12:53
…al/DataLakeGen2SharedKeyDatasourceCredential.cs

Co-authored-by: Mariana Rios Flores <mariari@microsoft.com>
@kinelski kinelski merged commit 0aeb92e into Azure:master Jun 4, 2021
@kinelski kinelski deleted the ma-credentials branch June 4, 2021 20:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Client This issue points to a problem in the data-plane of the library. Cognitive - Metrics Advisor
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants