Partilhar via


ArmSecurityInsightsModelFactory.TemplateBaseProperties Method

Definition

Initializes a new instance of TemplateBaseProperties.

public static Azure.ResourceManager.SecurityInsights.Models.TemplateBaseProperties TemplateBaseProperties (string contentId = default, string contentProductId = default, string packageVersion = default, string version = default, string displayName = default, Azure.ResourceManager.SecurityInsights.Models.SecurityInsightsKind? contentKind = default, Azure.ResourceManager.SecurityInsights.Models.SecurityInsightsMetadataSource source = default, Azure.ResourceManager.SecurityInsights.Models.SecurityInsightsMetadataAuthor author = default, Azure.ResourceManager.SecurityInsights.Models.SecurityInsightsMetadataSupport support = default, Azure.ResourceManager.SecurityInsights.Models.SecurityInsightsMetadataDependencies dependencies = default, Azure.ResourceManager.SecurityInsights.Models.SecurityInsightsMetadataCategories categories = default, System.Collections.Generic.IEnumerable<string> providers = default, DateTimeOffset? firstPublishOn = default, DateTimeOffset? lastPublishOn = default, string customVersion = default, string contentSchemaVersion = default, string icon = default, System.Collections.Generic.IEnumerable<string> threatAnalysisTactics = default, System.Collections.Generic.IEnumerable<string> threatAnalysisTechniques = default, System.Collections.Generic.IEnumerable<string> previewImages = default, System.Collections.Generic.IEnumerable<string> previewImagesDark = default, string packageId = default, Azure.ResourceManager.SecurityInsights.Models.SecurityInsightsMetadataPackageKind? packageKind = default, string packageName = default, Azure.ResourceManager.SecurityInsights.Models.SecurityInsightsMetadataFlag? isDeprecated = default);
static member TemplateBaseProperties : string * string * string * string * string * Nullable<Azure.ResourceManager.SecurityInsights.Models.SecurityInsightsKind> * Azure.ResourceManager.SecurityInsights.Models.SecurityInsightsMetadataSource * Azure.ResourceManager.SecurityInsights.Models.SecurityInsightsMetadataAuthor * Azure.ResourceManager.SecurityInsights.Models.SecurityInsightsMetadataSupport * Azure.ResourceManager.SecurityInsights.Models.SecurityInsightsMetadataDependencies * Azure.ResourceManager.SecurityInsights.Models.SecurityInsightsMetadataCategories * seq<string> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * string * string * string * seq<string> * seq<string> * seq<string> * seq<string> * string * Nullable<Azure.ResourceManager.SecurityInsights.Models.SecurityInsightsMetadataPackageKind> * string * Nullable<Azure.ResourceManager.SecurityInsights.Models.SecurityInsightsMetadataFlag> -> Azure.ResourceManager.SecurityInsights.Models.TemplateBaseProperties
Public Shared Function TemplateBaseProperties (Optional contentId As String = Nothing, Optional contentProductId As String = Nothing, Optional packageVersion As String = Nothing, Optional version As String = Nothing, Optional displayName As String = Nothing, Optional contentKind As Nullable(Of SecurityInsightsKind) = Nothing, Optional source As SecurityInsightsMetadataSource = Nothing, Optional author As SecurityInsightsMetadataAuthor = Nothing, Optional support As SecurityInsightsMetadataSupport = Nothing, Optional dependencies As SecurityInsightsMetadataDependencies = Nothing, Optional categories As SecurityInsightsMetadataCategories = Nothing, Optional providers As IEnumerable(Of String) = Nothing, Optional firstPublishOn As Nullable(Of DateTimeOffset) = Nothing, Optional lastPublishOn As Nullable(Of DateTimeOffset) = Nothing, Optional customVersion As String = Nothing, Optional contentSchemaVersion As String = Nothing, Optional icon As String = Nothing, Optional threatAnalysisTactics As IEnumerable(Of String) = Nothing, Optional threatAnalysisTechniques As IEnumerable(Of String) = Nothing, Optional previewImages As IEnumerable(Of String) = Nothing, Optional previewImagesDark As IEnumerable(Of String) = Nothing, Optional packageId As String = Nothing, Optional packageKind As Nullable(Of SecurityInsightsMetadataPackageKind) = Nothing, Optional packageName As String = Nothing, Optional isDeprecated As Nullable(Of SecurityInsightsMetadataFlag) = Nothing) As TemplateBaseProperties

Parameters

contentId
String

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.

contentProductId
String

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.

packageVersion
String

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.

version
String

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.

displayName
String

The display name of the template.

contentKind
Nullable<SecurityInsightsKind>

The kind of content the template is for.

source
SecurityInsightsMetadataSource

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

author
SecurityInsightsMetadataAuthor

The creator of the content item.

support
SecurityInsightsMetadataSupport

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

dependencies
SecurityInsightsMetadataDependencies

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.

categories
SecurityInsightsMetadataCategories

Categories for the item.

providers
IEnumerable<String>

Providers for the content item.

firstPublishOn
Nullable<DateTimeOffset>

first publish date content item.

lastPublishOn
Nullable<DateTimeOffset>

last publish date for the content item.

customVersion
String

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

contentSchemaVersion
String

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

icon
String

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

threatAnalysisTactics
IEnumerable<String>

the tactics the resource covers.

threatAnalysisTechniques
IEnumerable<String>

the techniques the resource covers, these have to be aligned with the tactics being used.

previewImages
IEnumerable<String>

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

previewImagesDark
IEnumerable<String>

preview image file names. These will be taken from the solution artifacts. used for dark theme support.

packageId
String

the package Id contains this template.

packageKind
Nullable<SecurityInsightsMetadataPackageKind>

the packageKind of the package contains this template.

packageName
String

the name of the package contains this template.

isDeprecated
Nullable<SecurityInsightsMetadataFlag>

Flag indicates if this template is deprecated.

Returns

A new TemplateBaseProperties instance for mocking.

Applies to