Azure / autorest

OpenAPI (f.k.a Swagger) Specification code generator. Supports C#, PowerShell, Go, Java, Node.js, TypeScript, Python
MIT License
4.54k stars 728 forks source link

Handle recent change for tsp arm template #4940

Open tadelesh opened 2 months ago

tadelesh commented 2 months ago
  1. Deprecated: Use Azure.Core.armResourceIdentifier instead。
  2. @azure-tools/typespec-azure-resource-manager/arm-resource-name-pattern: The resource name parameter should be defined with a 'pattern' restriction. Decorate the "name" property in the resource definition using the @pattern decorator, with a regular expression indicating the allowed characters in the resource name.
  3. @azure-tools/typespec-azure-resource-manager/retry-after: For long-running operations, the Retry-After header indicates how long the client should wait before polling the operation status, please add this header to the 201 or 202 response for this operation.