John Cowen 0e122479fa
ui: Add license endpoint/datasource (#12506)
* ui: Add auto-pilot/state endpoint usage (merged into DC models) (#12514)

* ui: Catalog Health Overview DataSource (#12520)
2022-03-09 09:03:15 +00:00

56 lines
1.2 KiB
Plaintext

# Dc
```hbs preview-template
<figure>
<figcaption>URI: <code>/:partition/:nspace/:dc/catalog/health</code></figcaption>
<DataSource
@src={{
uri '/${partition}/${nspace}/${dc}/catalog/health'
(hash
partition='partition'
nspace='ns'
dc='dc1'
)
}}
@onchange={{action (mut data) value="data"}}
/>
<pre><code>{{json-stringify data null 4}}</code></pre>
</figure>
```
```hbs preview-template
<figure>
<figcaption>URI: <code>/:partition/:nspace/:dc/datacenters</code></figcaption>
<DataSource
@src={{
uri '/${partition}/${nspace}/${dc}/datacenters'
(hash
partition='partition'
nspace='ns'
dc='dc1'
)
}}
@onchange={{action (mut data) value="data"}}
/>
<pre><code>{{json-stringify data null 4}}</code></pre>
</figure>
```
```hbs preview-template
<figure>
<figcaption>URI: <code>/:partition/:nspace/:dc/datacenter</code></figcaption>
<DataSource
@src={{
uri '/${partition}/${nspace}/${dc}/datacenter'
(hash
partition='partition'
nspace='ns'
dc='dc1'
)
}}
@onchange={{action (mut data) value="data"}}
/>
<pre><code>{{json-stringify data null 4}}</code></pre>
</figure>
```