Azure / azure-sdk-for-net

This repository is for active development of the Azure SDK for .NET. For consumers of the SDK we recommend visiting our public developer docs at https://learn.microsoft.com/dotnet/azure/ or our versioned developer docs at https://azure.github.io/azure-sdk-for-net.
MIT License
5.37k stars 4.78k forks source link

Microsoft.Azure.Management.ApiManagement on NuGet has totally different class members. #3981

Closed leftler closed 6 years ago

leftler commented 6 years ago

Using https://www.nuget.org/packages/Microsoft.Azure.Management.ApiManagement/3.4.0-preview (which has a publish date earlier than the inititial check in of https://github.com/Azure/azure-sdk-for-net/tree/psSdkJson6/src/SDKs/ApiManagement) and looking in to Microsoft.Azure.Management.ApiManagement.IUserOperations I see methods like CreateAsync and DeleteAsync.

If I look at https://github.com/Azure/azure-sdk-for-net/blob/3bd40fa47229b3a9163ffefc05cbc5f591c85f51/src/SDKs/ApiManagement/Management.ApiManagement/Generated/IUserOperations.cs I see methods like CreateOrUpdateWithHttpMessagesAsync or DeleteWithHttpMessagesAsync.

Is the 3.4.0-preview NuGet package very out of date or am I using the wrong package to get the .NET wrapper for these Api Management api's?

dsgouda commented 6 years ago

@leftler The package version published from the psSdkJson6 codebase (here) is 4.0.0-preview which, as expected has the CreateOrUpdateWithHttpMessagesAsync or DeleteWithHttpMessagesAsync methods in Microsoft.Azure.Management.ApiManagement.IUserOperations interface. The 3.4.0-preview version was published from the codebase here

You could upgrade to 4.0.0-preview version to see this code.

dsgouda commented 6 years ago

If you have any further issues while using the package, kindly reopen the issue and provide detailed repro steps.