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>;