SecurityInsightsContentTemplateProperties Class

Definition

Template property bag.

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

Constructors

Name Description
SecurityInsightsContentTemplateProperties()

Initializes a new instance of SecurityInsightsContentTemplateProperties.

Properties

Name Description
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.

DependantTemplates

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.

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.

MainTemplate

The JSON of the ARM template to deploy active content. Expandable.

To assign an object to this property use FromObjectAsJson<T>(T, JsonSerializerOptions).

To assign an already formatted json string to this property use FromString(String).

Examples:

  • BinaryData.FromObjectAsJson("foo"). : Creates a payload of "foo".
  • BinaryData.FromString("\"foo\""). : Creates a payload of "foo".
  • BinaryData.FromObjectAsJson(new { key = "value" }). : Creates a payload of { "key": "value" }.
  • BinaryData.FromString("{\"key\": \"value\"}"). : Creates a payload of { "key": "value" }.

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.

Methods

Name Description
JsonModelCreateCore(Utf8JsonReader, ModelReaderWriterOptions)
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)
PersistableModelCreateCore(BinaryData, ModelReaderWriterOptions)
PersistableModelWriteCore(ModelReaderWriterOptions)

Explicit Interface Implementations

Name Description
IJsonModel<SecurityInsightsContentTemplateProperties>.Create(Utf8JsonReader, ModelReaderWriterOptions)
IJsonModel<SecurityInsightsContentTemplateProperties>.Write(Utf8JsonWriter, ModelReaderWriterOptions)
IPersistableModel<SecurityInsightsContentTemplateProperties>.Create(BinaryData, ModelReaderWriterOptions)
IPersistableModel<SecurityInsightsContentTemplateProperties>.GetFormatFromOptions(ModelReaderWriterOptions)
IPersistableModel<SecurityInsightsContentTemplateProperties>.Write(ModelReaderWriterOptions)

Applies to