azure-sdk-for-net icon indicating copy to clipboard operation
azure-sdk-for-net copied to clipboard

Generate SDK for new API version for resources/Azure.ResourceManager.Resources SDK

Open meghanagupta95 opened this issue 2 years ago • 4 comments
trafficstars

Library name

Azure.ResourceManager.Resources

Please describe the feature.

We require the SDK team's help in generating the SDK for the new 2022-09-01 API version for resources.json. When we attempted to generate the new SDK by updating the API version in the autorest config file, we ran into multiple DuplicateSchema errors and were unable to resolve them.

meghanagupta95 avatar Dec 14 '22 20:12 meghanagupta95

Thanks @meghanagupta95 , @fengzhou-msft will work on it.

ArthurMa1978 avatar Dec 15 '22 02:12 ArthurMa1978

We need to bump the API version for ResourceManager first (#33331), release it and refresh autorest.csharp with the new ResourceManager version, then we can bump the API version for Resources SDK (#33148).

fengzhou-msft avatar Dec 21 '22 15:12 fengzhou-msft

There is a breaking change in Providers_List operation where the $top parameter was removed. According to https://github.com/Azure/azure-rest-api-specs/issues/1129, the $top parameter was never supported by the service. For backward-compatibility, we could add back the method with the top parameter manullay, but end up ignoring it by forwarding the call to the new generated method without top parameter.

fengzhou-msft avatar Jan 06 '23 01:01 fengzhou-msft

Service behavior regression detected: https://github.com/Azure/azure-sdk-for-net/blob/a7bc78ce01f54ac75a3ae691839a6ad9630082af/sdk/resources/Azure.ResourceManager.Resources/tests/Scenario/DeploymentOperationCollectionTests.cs#L70

The list item from DeploymentOperations_ListAtScope operation previously has values for ServiceRequestId, but now it's null.

fengzhou-msft avatar Jan 10 '23 12:01 fengzhou-msft

Azure.ResourceManager 1.4.0 and Azure.ResourceManager.Resources 1.4.0 are both released.

fengzhou-msft avatar Feb 13 '23 03:02 fengzhou-msft