Partilhar via


ArmSecurityInsightsModelFactory.SecurityInsightsPackageData Method

Definition

Initializes a new instance of SecurityInsightsPackageData.

public static Azure.ResourceManager.SecurityInsights.SecurityInsightsPackageData SecurityInsightsPackageData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, string contentId = default, string contentProductId = default, Azure.ResourceManager.SecurityInsights.Models.SecurityInsightsMetadataPackageKind? contentKind = default, string contentSchemaVersion = default, Azure.ResourceManager.SecurityInsights.Models.SecurityInsightsMetadataFlag? isNew = default, Azure.ResourceManager.SecurityInsights.Models.SecurityInsightsMetadataFlag? isPreview = default, Azure.ResourceManager.SecurityInsights.Models.SecurityInsightsMetadataFlag? isFeatured = default, Azure.ResourceManager.SecurityInsights.Models.SecurityInsightsMetadataFlag? isDeprecated = default, string version = default, string displayName = default, string description = default, string publisherDisplayName = 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, System.Collections.Generic.IEnumerable<string> providers = default, DateTimeOffset? firstPublishOn = default, DateTimeOffset? lastPublishOn = default, Azure.ResourceManager.SecurityInsights.Models.SecurityInsightsMetadataCategories categories = default, System.Collections.Generic.IEnumerable<string> threatAnalysisTactics = default, System.Collections.Generic.IEnumerable<string> threatAnalysisTechniques = default, string icon = default, Azure.ETag? etag = default);
static member SecurityInsightsPackageData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * string * string * Nullable<Azure.ResourceManager.SecurityInsights.Models.SecurityInsightsMetadataPackageKind> * string * Nullable<Azure.ResourceManager.SecurityInsights.Models.SecurityInsightsMetadataFlag> * Nullable<Azure.ResourceManager.SecurityInsights.Models.SecurityInsightsMetadataFlag> * Nullable<Azure.ResourceManager.SecurityInsights.Models.SecurityInsightsMetadataFlag> * Nullable<Azure.ResourceManager.SecurityInsights.Models.SecurityInsightsMetadataFlag> * string * string * string * string * Azure.ResourceManager.SecurityInsights.Models.SecurityInsightsMetadataSource * Azure.ResourceManager.SecurityInsights.Models.SecurityInsightsMetadataAuthor * Azure.ResourceManager.SecurityInsights.Models.SecurityInsightsMetadataSupport * Azure.ResourceManager.SecurityInsights.Models.SecurityInsightsMetadataDependencies * seq<string> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Azure.ResourceManager.SecurityInsights.Models.SecurityInsightsMetadataCategories * seq<string> * seq<string> * string * Nullable<Azure.ETag> -> Azure.ResourceManager.SecurityInsights.SecurityInsightsPackageData
Public Shared Function SecurityInsightsPackageData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional contentId As String = Nothing, Optional contentProductId As String = Nothing, Optional contentKind As Nullable(Of SecurityInsightsMetadataPackageKind) = Nothing, Optional contentSchemaVersion As String = Nothing, Optional isNew As Nullable(Of SecurityInsightsMetadataFlag) = Nothing, Optional isPreview As Nullable(Of SecurityInsightsMetadataFlag) = Nothing, Optional isFeatured As Nullable(Of SecurityInsightsMetadataFlag) = Nothing, Optional isDeprecated As Nullable(Of SecurityInsightsMetadataFlag) = Nothing, Optional version As String = Nothing, Optional displayName As String = Nothing, Optional description As String = Nothing, Optional publisherDisplayName As String = Nothing, Optional source As SecurityInsightsMetadataSource = Nothing, Optional author As SecurityInsightsMetadataAuthor = Nothing, Optional support As SecurityInsightsMetadataSupport = Nothing, Optional dependencies As SecurityInsightsMetadataDependencies = Nothing, Optional providers As IEnumerable(Of String) = Nothing, Optional firstPublishOn As Nullable(Of DateTimeOffset) = Nothing, Optional lastPublishOn As Nullable(Of DateTimeOffset) = Nothing, Optional categories As SecurityInsightsMetadataCategories = Nothing, Optional threatAnalysisTactics As IEnumerable(Of String) = Nothing, Optional threatAnalysisTechniques As IEnumerable(Of String) = Nothing, Optional icon As String = Nothing, Optional etag As Nullable(Of ETag) = Nothing) As SecurityInsightsPackageData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

contentId
String

The content id of the package.

contentProductId
String

Unique ID for the content. It should be generated based on the contentId, contentKind and the contentVersion of the package.

contentKind
Nullable<SecurityInsightsMetadataPackageKind>

The package kind.

contentSchemaVersion
String

The version of the content schema.

isNew
Nullable<SecurityInsightsMetadataFlag>

Flag indicates if this is a newly published package.

isPreview
Nullable<SecurityInsightsMetadataFlag>

Flag indicates if this package is in preview.

isFeatured
Nullable<SecurityInsightsMetadataFlag>

Flag indicates if this package is among the featured list.

isDeprecated
Nullable<SecurityInsightsMetadataFlag>

Flag indicates if this template is deprecated.

version
String

the latest version number of the package.

displayName
String

The display name of the package.

description
String

The description of the package.

publisherDisplayName
String

The publisher display name of the package.

source
SecurityInsightsMetadataSource

The source of the package.

author
SecurityInsightsMetadataAuthor

The author of the package.

support
SecurityInsightsMetadataSupport

The support tier of the package.

dependencies
SecurityInsightsMetadataDependencies

The support tier of the package.

providers
IEnumerable<String>

Providers for the package item.

firstPublishOn
Nullable<DateTimeOffset>

first publish date package item.

lastPublishOn
Nullable<DateTimeOffset>

last publish date for the package item.

categories
SecurityInsightsMetadataCategories

The categories of the package.

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.

icon
String

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

etag
Nullable<ETag>

Etag of the azure resource.

Returns

A new SecurityInsightsPackageData instance for mocking.

Applies to