Azure / cadl-ranch

Cadl Scenarios for client generations
https://azure.github.io/cadl-ranch/
MIT License
8 stars 33 forks source link

ARM, test case for move resource #690

Open XiaofeiCao opened 3 months ago

XiaofeiCao commented 3 months ago

doc: https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/resource-api-reference.md#move-resource

example: https://github.com/Azure/typespec-azure/blob/main/packages/samples/specs/resource-manager/resource-types/tracked/main.tsp#L82

The typespec example seems not correct... According to the doc, resource move actions are not tied to a specific RP. e.g. https://github.com/Azure/azure-rest-api-specs/blob/44051823078bc61d1210c324faf6d12e409497b7/specification/resources/resource-manager/Microsoft.Resources/stable/2024-07-01/resources.json#L2862-L2867