TemplateProperties interface
Template property bag.
Properties
| author | The creator of the content item. |
| categories | Categories for the item |
| content |
Static ID for the content. Used to identify dependencies and content from solutions or community. Hard-coded/static for out of the box content and solutions. Dynamic for user-created. This is the resource name |
| content |
The kind of content the template is for. |
| content |
Unique ID for the content. It should be generated based on the contentId of the package, contentId of the template, contentKind of the template and the contentVersion of the template |
| content |
Schema version of the content. Can be used to distinguish between different flow based on the schema version |
| custom |
The custom version of the content. A optional free text |
| dependant |
Dependant templates. Expandable. |
| dependencies | Dependencies for the content item, what other content items it requires to work. Can describe more complex dependencies using a recursive/nested structure. For a single dependency an id/kind/version can be supplied or operator/criteria for complex formats. |
| display |
The display name of the template |
| first |
first publish date content item |
| icon | the icon identifier. this id can later be fetched from the content metadata |
| is |
Flag indicates if this template is deprecated |
| last |
last publish date for the content item |
| main |
The JSON of the ARM template to deploy active content. Expandable. |
| package |
the package Id contains this template |
| package |
the packageKind of the package contains this template |
| package |
the name of the package contains this template |
| package |
Version of the package. Default and recommended format is numeric (e.g. 1, 1.0, 1.0.0, 1.0.0.0), following ARM metadata best practices. Can also be any string, but then we cannot guarantee any version checks |
| preview |
preview image file names. These will be taken from the solution artifacts |
| preview |
preview image file names. These will be taken from the solution artifacts. used for dark theme support |
| providers | Providers for the content item |
| source | Source of the content. This is where/how it was created. |
| support | Support information for the template - type, name, contact information |
| threat |
the tactics the resource covers |
| threat |
the techniques the resource covers, these have to be aligned with the tactics being used |
| version | Version of the content. Default and recommended format is numeric (e.g. 1, 1.0, 1.0.0, 1.0.0.0), following ARM metadata best practices. Can also be any string, but then we cannot guarantee any version checks |
Property Details
author
categories
contentId
Static ID for the content. Used to identify dependencies and content from solutions or community. Hard-coded/static for out of the box content and solutions. Dynamic for user-created. This is the resource name
contentId?: string
Property Value
string
contentKind
The kind of content the template is for.
contentKind?: string
Property Value
string
contentProductId
Unique ID for the content. It should be generated based on the contentId of the package, contentId of the template, contentKind of the template and the contentVersion of the template
contentProductId?: string
Property Value
string
contentSchemaVersion
Schema version of the content. Can be used to distinguish between different flow based on the schema version
contentSchemaVersion?: string
Property Value
string
customVersion
The custom version of the content. A optional free text
customVersion?: string
Property Value
string
dependantTemplates
Dependant templates. Expandable.
dependantTemplates?: TemplateProperties[]
Property Value
dependencies
Dependencies for the content item, what other content items it requires to work. Can describe more complex dependencies using a recursive/nested structure. For a single dependency an id/kind/version can be supplied or operator/criteria for complex formats.
dependencies?: MetadataDependencies
Property Value
displayName
The display name of the template
displayName?: string
Property Value
string
firstPublishDate
first publish date content item
firstPublishDate?: Date
Property Value
Date
icon
the icon identifier. this id can later be fetched from the content metadata
icon?: string
Property Value
string
isDeprecated
Flag indicates if this template is deprecated
isDeprecated?: string
Property Value
string
lastPublishDate
last publish date for the content item
lastPublishDate?: Date
Property Value
Date
mainTemplate
The JSON of the ARM template to deploy active content. Expandable.
mainTemplate?: any
Property Value
any
packageId
the package Id contains this template
packageId?: string
Property Value
string
packageKind
the packageKind of the package contains this template
packageKind?: string
Property Value
string
packageName
the name of the package contains this template
packageName?: string
Property Value
string
packageVersion
Version of the package. Default and recommended format is numeric (e.g. 1, 1.0, 1.0.0, 1.0.0.0), following ARM metadata best practices. Can also be any string, but then we cannot guarantee any version checks
packageVersion?: string
Property Value
string
previewImages
preview image file names. These will be taken from the solution artifacts
previewImages?: string[]
Property Value
string[]
previewImagesDark
preview image file names. These will be taken from the solution artifacts. used for dark theme support
previewImagesDark?: string[]
Property Value
string[]
providers
Providers for the content item
providers?: string[]
Property Value
string[]
source
Source of the content. This is where/how it was created.
source?: MetadataSource
Property Value
support
Support information for the template - type, name, contact information
support?: MetadataSupport
Property Value
threatAnalysisTactics
the tactics the resource covers
threatAnalysisTactics?: string[]
Property Value
string[]
threatAnalysisTechniques
the techniques the resource covers, these have to be aligned with the tactics being used
threatAnalysisTechniques?: string[]
Property Value
string[]
version
Version of the content. Default and recommended format is numeric (e.g. 1, 1.0, 1.0.0, 1.0.0.0), following ARM metadata best practices. Can also be any string, but then we cannot guarantee any version checks
version?: string
Property Value
string