In some cases, you need to know the sub properties of a property. It's not always the case that you know exactly the name of the sub property. And in some cases, you even don't know if there are some sub properties in a property that you can use in your script. So you would like to know the details of the sub properties of a property.
There are many ways to get the information about the sub properties of a property. Let's take the property "/server/settings" as an example.
- Using ectool
ectool getProperties --propertyName "/server/settings" --expand false
- Using DSL
ectool generateDsl /server/settings