-
Notifications
You must be signed in to change notification settings - Fork 2.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
Metrics advisor aad #15922
Metrics advisor aad #15922
Conversation
...or/azure-ai-metricsadvisor/azure/ai/metricsadvisor/_metrics_advisor_administration_client.py
Outdated
Show resolved
Hide resolved
...or/azure-ai-metricsadvisor/azure/ai/metricsadvisor/_metrics_advisor_administration_client.py
Outdated
Show resolved
Hide resolved
...or/azure-ai-metricsadvisor/azure/ai/metricsadvisor/_metrics_advisor_administration_client.py
Outdated
Show resolved
Hide resolved
sdk/metricsadvisor/azure-ai-metricsadvisor/samples/async_samples/sample_authentication_async.py
Show resolved
Hide resolved
sdk/metricsadvisor/azure-ai-metricsadvisor/samples/async_samples/sample_authentication_async.py
Show resolved
Hide resolved
sdk/metricsadvisor/azure-ai-metricsadvisor/tests/test_metrics_advisor_client_live.py
Outdated
Show resolved
Hide resolved
…isor/_metrics_advisor_administration_client.py Co-authored-by: Krista Pratico <krpratic@microsoft.com>
…isor/_metrics_advisor_administration_client.py Co-authored-by: Krista Pratico <krpratic@microsoft.com>
@xiangyan99 i see 368 files changed in this PR - did the rebase go bad? |
No. This is by design. We have hundreds of tests. :) You can ignore all files ending with .yaml. They are test recordings. |
@@ -59,7 +60,8 @@ class MetricsAdvisorClient(object): | |||
:param str endpoint: Supported Cognitive Services endpoints (protocol and hostname, | |||
for example: https://:code:`<resource-name>`.cognitiveservices.azure.com). | |||
:param credential: An instance of ~azure.ai.metricsadvisor.MetricsAdvisorKeyCredential. | |||
Requires both subscription key and API key. | |||
which requires both subscription key and API key. Or an object which can provide an access | |||
token for the vault, such as a credential from :mod:`azure.identity` |
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.
Can we update the credential docstring for the other clients as well?
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.
Good catch! 👍
No description provided.