arm-resource-invalid-action-verb
@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-action-verbFor ARM http operations, the action verb must be @post or @get. Any other action verb is flagged as incorrect.
❌ Incorrect
Section titled “❌ Incorrect”@delete op getAction is ArmProviderActionAsync< { name: string; }, ArmCombinedLroHeaders, SubscriptionActionScope>;✅ Correct
Section titled “✅ Correct”op postAction is ArmProviderActionAsync< { name: string; }, ArmCombinedLroHeaders, SubscriptionActionScope>;✅ Correct
Section titled “✅ Correct”@get op getAction is ArmProviderActionSync< { name: string; }, ArmCombinedLroHeaders, SubscriptionActionScope>;Reviewer advice
Section titled “Reviewer advice”Impacts the API and generated SDKs: using a verb other than POST or GET for a resource action can cause failures in the C# SDK and emitters that model resource actions. Ask the author to use the standard resource action templates and not override the verb with @put, @patch, @delete, or @head. Accept a suppression only when needed to match an existing API.