DiscriminatorNames interface

The two names a discriminator field goes by.

Usually identical — ARM discriminators are type, name, kind and service teams rarely rename them — but a @clientName on the field makes them differ, and the two are looked up in different keyspaces: JS-side state is keyed by jsName, wire JSON by armName. Carrying both is what lets a discriminated shape resolve in either direction.

Properties

armName

Wire-level name, as it appears in an ARM template or response.

jsName

Client-facing name, as authored in TypeScript and held in state.

Property Details

armName

Wire-level name, as it appears in an ARM template or response.

armName: string

Property Value

string

jsName

Client-facing name, as authored in TypeScript and held in state.

jsName: string

Property Value

string