THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
Element | Required | Description |
---|---|---|
name | Yes | The unique name of the view. See <name> for more information. |
label | Yes | The display label of the view. See <label> for more information. |
version | Yes | The version of the view. See <version> for more information. |
icon | No | |
icon64 | No | |
parameter | No | Defines a configuration parameter that is used to when creating a view instance. See <parameter> for more information. |
resource | No | Defines a resource that is exposed by the view. See <resource> for more information. |
instance | No | Defines a static instance of the view. See <instance> for more information. |
Anchor | ||||
---|---|---|---|---|
|
...
Element | Required | Description |
---|---|---|
name | Yes | The name of the parameter. See <parameter><name> for more informationThis will be the resource endpoint name of the view instance. |
service-class | No | |
provider-class | No | |
resource-class | No |
...
See the Weather View Example to see an Ambari-Managed ResourceProvider view implementation..
Anchor | ||||
---|---|---|---|---|
|
Element | Required | Description |
---|---|---|
name | Yes | The name of the parameter. |
label | No | The display label of the view instance. If not set, the view definition <label> is used. |
visible | No | If true , for the view instance to show up in the users view instance list. |
icon | No | |
icon64 | No | |
property | No | Specifies any necessary configuration parameters for the view instance. |
Code Block |
---|
<instance>
<name>US_WEST</name>
<property>
<key>cities</key>
<value>Palo Alto, US;Los Angeles, US;Portland, US;Seattle, US</value>
</property>
<property>
<key>units</key>
<value>imperial</value>
</property>
</instance> |
<property>
<key>
<value>