empty-updateable-properties
@azure-tools/typespec-azure-resource-manager/empty-updateable-propertiesResources with update operations should have updateable properties. The RP-specific properties of the resource (as defined in the properties property) should have at least one updateable property. Properties are updateable if they do not have a @visibility decorator, or if they include Lifecycle.Update in the @visibility decorator arguments.
❌ Incorrect
Section titled “❌ Incorrect”All properties are read-only:
model FooResourceProperties { @visibility(Lifecycle.Read) bar?: string;}✅ Correct
Section titled “✅ Correct”At least one property without read-only visibility:
model FooResourceProperties { @visibility(Lifecycle.Read) provisioningState?: string;
displayName?: string;}Reviewer advice
Section titled “Reviewer advice”Impacts the API: this is already covered by patch-specific rules and means the properties bag has no updateable properties. Ask the author to ensure not all properties in the properties bag are updateable, or to use the Tags Patch pattern when appropriate. Suppress only when needed to match an existing API or when using Tags Patch.