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] Remove AZC0007 NoWarn option #16435

Closed
kinelski opened this issue Oct 29, 2020 · 2 comments · Fixed by #37595
Closed

[MetricsAdvisor] Remove AZC0007 NoWarn option #16435

kinelski opened this issue Oct 29, 2020 · 2 comments · Fixed by #37595
Labels
Client This issue points to a problem in the data-plane of the library. Cognitive - Metrics Advisor
Milestone

Comments

@kinelski
Copy link
Member

Blocked by: Azure/azure-sdk-tools#127

Our guidelines state that:

If the options type can be shared by multiple client types, name it with a plural or more general name. For example, the BlobClientsOptions class can be used by BlobClient, BlobContainerClient, and BlobAccountClient.

We can't create a MetricsAdvisorClientsOptions (pluralized "Clients") because the API analyzer expects a ClientOptions suffix. A NoWarn property was added to avoid the warning for the time being.

@kinelski kinelski added Client This issue points to a problem in the data-plane of the library. Cognitive - Metrics Advisor labels Oct 29, 2020
@kinelski kinelski added this to the Backlog milestone Oct 29, 2020
@pallavit
Copy link
Contributor

@kinelski is this still valid?

@kinelski
Copy link
Member Author

@kinelski is this still valid?

We don't seem to get the warning anymore. I'll create a PR to update the code and close this issue.

@github-actions github-actions bot locked and limited conversation to collaborators Oct 11, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Client This issue points to a problem in the data-plane of the library. Cognitive - Metrics Advisor
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants