You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/azure-resource-manager/managed-applications/concepts-view-definition.md
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,7 +9,7 @@ ms.date: 08/25/2022
9
9
10
10
# View definition artifact in Azure Managed Applications
11
11
12
-
View definition is an optional artifact in Azure Managed Applications. It allows to customize overview page and add more views such as Metrics and Custom resources.
12
+
View definition is an optional artifact in Azure Managed Applications. It allows you to customize the overview page and add more views such as Metrics and Custom resources.
13
13
14
14
This article provides an overview of view definition artifact and its capabilities.
15
15
@@ -136,7 +136,7 @@ When you provide this view in _viewDefinition.json_, it overrides the default Ov
136
136
|---------|---------|---------|
137
137
|header|No|The header of the overview page.|
138
138
|description|No|The description of your managed application.|
139
-
|commands|No|The array of additional toolbar buttons of the overview page, see [commands](#commands).|
139
+
|commands|No|The array of more toolbar buttons of the overview page, see [commands](#commands).|
140
140
141
141
:::image type="content" source="./media/view-definition/overview.png" alt-text="Screenshot shows the Overview for a managed application with a Test Action control to run a demo application.":::
142
142
@@ -193,7 +193,7 @@ The metrics view enables you to collect and aggregate data from your managed app
193
193
|---------|---------|---------|
194
194
|name|Yes|The name of the metric.|
195
195
|aggregationType|Yes|The aggregation type to use for this metric. Supported aggregation types: `none, sum, min, max, avg, unique, percentile, count`|
196
-
|namespace|No|Additional information to use when determining the correct metrics provider.|
196
+
|namespace|No| More information to use when determining the correct metrics provider.|
197
197
|resourceTagFilter|No|The resource tags array (will be separated with `or` word) for which metrics would be displayed. Applies on top of resource type filter.|
198
198
|resourceType|Yes|The resource type for which metrics would be displayed.|
199
199
@@ -250,14 +250,14 @@ In this view you can perform GET, PUT, DELETE and POST operations for your custo
250
250
|resourceType|Yes|The custom resource type. Must be a **unique** custom resource type of your custom provider.|
251
251
|icon|No|The icon of the view. List of example icons is defined in [JSON Schema](https://schema.management.azure.com/schemas/viewdefinition/0.0.1-preview/ViewDefinition.json#).|
252
252
|createUIDefinition|No|Create UI Definition schema for create custom resource command. For an introduction to creating UI definitions, see [Getting started with CreateUiDefinition](create-uidefinition-overview.md)|
253
-
|commands|No|The array of additional toolbar buttons of the CustomResources view, see [commands](#commands).|
253
+
|commands|No|The array of more toolbar buttons of the CustomResources view, see [commands](#commands).|
254
254
|columns|No|The array of columns of the custom resource. If not defined the `name` column will be shown by default. The column must have `"key"` and `"displayName"`. For key, provide the key of the property to display in a view. If nested, use dot as delimiter, for example, `"key": "name"` or `"key": "properties.property1"`. For display name, provide the display name of the property to display in a view. You can also provide an `"optional"` property. When set to true, the column is hidden in a view by default.|
255
255
256
256
:::image type="content" source="./media/view-definition/customresources.png" alt-text="Screenshot shows a Resources page called Test custom resource type and the control Custom Context Action.":::
257
257
258
258
## Commands
259
259
260
-
Commands is an array of additional toolbar buttons that are displayed on page. Each command represents a POST action from your Azure Custom Provider defined in _mainTemplate.json_. For an introduction to custom providers, see [Azure Custom Providers overview](../custom-providers/overview.md).
260
+
The `commands` property is an array of more toolbar buttons that are displayed on page. Each command represents a POST action from your Azure Custom Provider defined in _mainTemplate.json_. For an introduction to custom providers, see [Azure Custom Providers overview](../custom-providers/overview.md).
261
261
262
262
```json
263
263
{
@@ -285,7 +285,7 @@ Commands is an array of additional toolbar buttons that are displayed on page. E
285
285
286
286
You can define multiple views of this type. This view allows you to link existing resources to the managed application through the custom provider you defined in _mainTemplate.json_. For an introduction to custom providers, see [Azure Custom Providers Preview overview](../custom-providers/overview.md).
287
287
288
-
In this view you can extend existing Azure resources based on the `targetResourceType`. When a resource is selected, it will create an onboarding request to the **public** custom provider, which can apply a side effect to the resource.
288
+
In this view, you can extend existing Azure resources based on the `targetResourceType`. When a resource is selected, it will create an onboarding request to the **public** custom provider, which can apply a side effect to the resource.
289
289
290
290
```json
291
291
{
@@ -303,7 +303,7 @@ In this view you can extend existing Azure resources based on the `targetResourc
303
303
|---------|---------|---------|
304
304
|displayName|Yes|The displayed title of the view. The title should be **unique** for each Associations view in your _viewDefinition.json_.|
305
305
|version|No|The version of the platform used to render the view.|
306
-
|targetResourceType|Yes|The target resource type. This is the resource type that will be displayed for resource onboarding.|
306
+
|targetResourceType|Yes|The target resource type. This resource type will be displayed for resource onboarding.|
307
307
|createUIDefinition|No|Create UI Definition schema for create association resource command. For an introduction to creating UI definitions, see [Getting started with CreateUiDefinition](create-uidefinition-overview.md)|
0 commit comments