你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

TemplateBaseProperties Class

Definition

Template property bag.

public class TemplateBaseProperties : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.SecurityInsights.Models.TemplateBaseProperties>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.SecurityInsights.Models.TemplateBaseProperties>
type TemplateBaseProperties = class
    interface IJsonModel<TemplateBaseProperties>
    interface IPersistableModel<TemplateBaseProperties>
Public Class TemplateBaseProperties
Implements IJsonModel(Of TemplateBaseProperties), IPersistableModel(Of TemplateBaseProperties)
Inheritance
TemplateBaseProperties
Derived
Implements

Properties

Author

The creator of the content item.

Categories

Categories for the item.

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.

ContentKind

The kind of content the template is for.

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.

ContentSchemaVersion

Schema version of the content. Can be used to distinguish between different flow based on the schema version.

CustomVersion

The custom version of the content. A optional free text.

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.

DisplayName

The display name of the template.

FirstPublishOn

first publish date content item.

Icon

the icon identifier. this id can later be fetched from the content metadata.

IsDeprecated

Flag indicates if this template is deprecated.

LastPublishOn

last publish date for the content item.

PackageId

the package Id contains this template.

PackageKind

the packageKind of the package contains this template.

PackageName

the name of the package contains this template.

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.

PreviewImages

preview image file names. These will be taken from the solution artifacts.

PreviewImagesDark

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.

ThreatAnalysisTactics

the tactics the resource covers.

ThreatAnalysisTechniques

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.

Explicit Interface Implementations

IJsonModel<TemplateBaseProperties>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<TemplateBaseProperties>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<TemplateBaseProperties>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<TemplateBaseProperties>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<TemplateBaseProperties>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to