Skip to content

missing-operations-endpoint

Full name
@azure-tools/typespec-azure-resource-manager/missing-operations-endpoint

Check for missing Operations interface. All Azure Resource Manager services must expose the operations endpoint. Add the Operations interface to your service namespace.

main.tsp
@armProviderNamespace
namespace MyService;
main.tsp
@armProviderNamespace
namespace MyService;
interface Operations extends Azure.ResourceManager.Operations {}

Impacts the API: this corresponds to the LintDiff rule OperationsAPIImplementation and causes an RPC violation. Ask the author to use the standard Operations template. Accept a suppression only for the few specs that may not need this endpoint.