Skip to content

missing-operations-endpoint

Id
@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.

  • Area: API

The service is missing the standard Operations endpoint required by the RPC contract.

This rule corresponds to the LintDiff rule OperationsAPIImplementation.

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

A few specs may legitimately not need this; otherwise use the standard Operations template.