PropertyShape interface

A single property's shape entry.

Properties

armPath

ARM wire path from the owning model's root to this property. Single-segment for direct properties; multi-segment for properties hoisted through one or more @flattenProperty wrappers.

readOnly

true when ARM treats this property as server-set (visible in GET responses but rejected on PUT). Omitted (i.e. undefined/false) for writable properties.

Currently consumed by the Resource constructor's deployment-context inheritance to skip readonly properties (notably location on many child resources where the field exists in the read model only).

value

Describes this property's value for navigation and wire conversion. Model and container shapes recurse into nested values; a TerminalValueShape explicitly terminates recursion. Scalar terminal shapes carry only the encodings valid for their client-side JavaScript representation.

Property Details

armPath

ARM wire path from the owning model's root to this property. Single-segment for direct properties; multi-segment for properties hoisted through one or more @flattenProperty wrappers.

armPath: readonly string[]

Property Value

readonly string[]

readOnly

true when ARM treats this property as server-set (visible in GET responses but rejected on PUT). Omitted (i.e. undefined/false) for writable properties.

Currently consumed by the Resource constructor's deployment-context inheritance to skip readonly properties (notably location on many child resources where the field exists in the read model only).

readOnly?: boolean

Property Value

boolean

value

Describes this property's value for navigation and wire conversion. Model and container shapes recurse into nested values; a TerminalValueShape explicitly terminates recursion. Scalar terminal shapes carry only the encodings valid for their client-side JavaScript representation.

value: ValueShape

Property Value