Microsoft.CustomerInsights hubs/views template reference

Template format

To create a Microsoft.CustomerInsights/hubs/views resource, add the following JSON to the resources section of your template.

{
  "name": "string",
  "type": "Microsoft.CustomerInsights/hubs/views",
  "apiVersion": "2017-04-26",
  "properties": {
    "userId": "string",
    "displayName": {},
    "definition": "string"
  }
}

Property values

The following tables describe the values you need to set in the schema.

Microsoft.CustomerInsights/hubs/views object

Note

In Bicep, type and apiVersion are specified in the first line of the resource declaration. Use the format <type>@<apiVersion>. Don't set those properties in the resource body.

Name Type Required Value
name string Yes The name of the view.
Min length: 1
Max length: 512
type enum Yes For JSON -views
-or-
Microsoft.CustomerInsights/hubs/views

See Set name and type for child resources.
apiVersion enum Yes For JSON - 2017-04-26
properties object Yes View object

View object

Name Type Required Value
userId string No the user ID.
displayName object No Localized display name for the view.
definition string Yes View definition.