Skip to main content
Version: Latest (Core: 0.57.x, Azure: 0.43.x)

[F] $armResourceOperations

function $armResourceOperations(context, interfaceType): void

This decorator is used to identify interfaces containing resource operations. When applied, it marks the interface with the @autoRoute decorator so that all of its contained operations will have their routes generated automatically.

It also adds a @tag decorator bearing the name of the interface so that all of the operations will be grouped based on the interface name in generated clients.

Parameters​

ParameterType
contextDecoratorContext
interfaceTypeInterface

Returns​

void