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

[Management Plane][Azure Cognitive Search] Update SDK code for the new API version #14059

Merged
merged 14 commits into from
Aug 27, 2020

Conversation

arv100kri
Copy link
Member

@arv100kri arv100kri commented Aug 8, 2020

This PR follows up from the REST API specs PR: Azure/azure-rest-api-specs#10255 and generates a new SDK pointing to the GA API version 2020-08-01.

Key features:

  • Introduces shared private link resource management APIs
    • Test added to demonstrate this API
    • List operations API test updated to include the new APIs
  • List group IDs API can now return list of resources for which shared private link resources can be created
    • Test added to show this behavior
  • Breaking change in service update API: SearchServiceUpdate model represents the data required to update an existing search service.
    • Tests are updated to show how the breaking change should be carried out in client code

@arv100kri
Copy link
Member Author

TODO: Once the swagger PR is checked in, need to regenerate from master branch to update the metadata

@arv100kri
Copy link
Member Author

TODO: Once the swagger PR is checked in, need to regenerate from master branch to update the metadata

This is now done

@@ -46,7 +46,7 @@ public void CanListServicesBySubscription()

var services = searchMgmt.Services.ListBySubscription();
Assert.NotNull(services);
Assert.Equal(2, services.Count());
Assert.Equal(2, services.Where(service => service.Name.StartsWith("azs-")).Count());
Copy link
Contributor

Choose a reason for hiding this comment

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

This is a great addition, thanks for this!

@arv100kri arv100kri merged commit 4dafa22 into Azure:master Aug 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants