azure-sdk-for-net
azure-sdk-for-net copied to clipboard
Generate SDK for new API version for resources/Azure.ResourceManager.Resources SDK
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.
Thanks @meghanagupta95 , @fengzhou-msft will work on it.
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).
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.
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.
Azure.ResourceManager 1.4.0 and Azure.ResourceManager.Resources 1.4.0 are both released.