Skip to content

Inconsistencies in property handling compared with ARM #835

Open
@Bpoe

Description

@Bpoe

Summary of the new feature / enhancement

DSC and ARM are handling properties in an inconsistent way. DSC assumes that all properties consumed or generated from a resource are under the "properties" property. Only these properties are passed to the resource on set/test and any property generated by the resource are placed inside this property.

In ARM, there are properties that are expected/allowed outside of the "properties". For example, all resources are expected to a "name" property outside of "properties" and this property is part of the unique ID of a resource. It is NOT just a human readable description of the step in the template.

Other properties that are allowed outside of the "properties" property are "kind", "sku", "plan", "systemData", "managedBy" and "tags" (and possibly others that I am forgetting). These properties are considered as part of the payload of a resource and are expected to be passed to the resource on set/test and returned by the resource on get.

Proposed technical implementation details (optional)

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions