arm-custom-resource-usage-discourage
@azure-tools/typespec-azure-resource-manager/arm-custom-resource-usage-discourageAvoid using the @customAzureResource decorator. It doesn’t provide validation for ARM resources, and its usage should be limited to brownfield services migration.
❌ Incorrect
Section titled “❌ Incorrect”@Azure.ResourceManager.Legacy.customAzureResourcemodel Person { name: string;}✅ Correct
Section titled “✅ Correct”Use standard ARM resource types:
model Employee is TrackedResource<EmployeeProperties> { ...ResourceNameParameter<Employee>;}