-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
Conversation
...dvisor/Azure.AI.MetricsAdvisor/src/Models/Credential/ServicePrincipalDatasourceCredential.cs
Show resolved
Hide resolved
sdk/metricsadvisor/Azure.AI.MetricsAdvisor/tests/Models/DatasourceCredentialsTests.cs
Show resolved
Hide resolved
@@ -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 |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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.
...r/Azure.AI.MetricsAdvisor/src/Models/Credential/DataLakeGen2SharedKeyDatasourceCredential.cs
Outdated
Show resolved
Hide resolved
...r/Azure.AI.MetricsAdvisor/src/Models/Credential/DataLakeGen2SharedKeyDatasourceCredential.cs
Outdated
Show resolved
Hide resolved
…al/DataLakeGen2SharedKeyDatasourceCredential.cs Co-authored-by: Mariana Rios Flores <mariari@microsoft.com>
Part of #18609.
Adding the three remaining
DatasourceCredential
types. It's pretty much the same thing as theServicePrincipalDatasourceCredential
we added in a previous PR.