Share via


SecurityInsightsProductTemplateData Class

Definition

A class representing the SecurityInsightsProductTemplate data model. Template resource definition.

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

Constructors

SecurityInsightsProductTemplateData()

Initializes a new instance of SecurityInsightsProductTemplateData.

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.

ETag

Etag of the azure resource.

FirstPublishOn

first publish date content item.

Icon

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

Id

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.

(Inherited from ResourceData)
IsDeprecated

Flag indicates if this template is deprecated.

LastPublishOn

last publish date for the content item.

Name

The name of the resource.

(Inherited from ResourceData)
PackagedContent

The json of the ARM template to deploy

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.

ResourceType

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".

(Inherited from ResourceData)
Source

Source of the content. This is where/how it was created.

Support

Support information for the template - type, name, contact information.

SystemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

(Inherited from ResourceData)
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

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) (Inherited from ResourceData)

Explicit Interface Implementations

IJsonModel<SecurityInsightsProductTemplateData>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<SecurityInsightsProductTemplateData>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<SecurityInsightsProductTemplateData>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<SecurityInsightsProductTemplateData>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<SecurityInsightsProductTemplateData>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to