Share via


SecurityInsightsProductPackageData Class

Definition

A class representing the SecurityInsightsProductPackage data model. Represents a Package in Azure Security Insights.

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

Constructors

SecurityInsightsProductPackageData()

Initializes a new instance of SecurityInsightsProductPackageData.

Properties

Author

The author of the package.

Categories

The categories of the package.

ContentId

The content id of the package.

ContentKind

The package kind.

ContentProductId

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

ContentSchemaVersion

The version of the content schema.

Dependencies

The support tier of the package.

Description

The description of the package.

DisplayName

The display name of the package.

ETag

Etag of the azure resource.

FirstPublishOn

first publish date package 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)
InstalledVersion

The version of the installed package, null or absent means not installed.

IsDeprecated

Flag indicates if this template is deprecated.

IsFeatured

Flag indicates if this package is among the featured list.

IsNew

Flag indicates if this is a newly published package.

IsPreview

Flag indicates if this package is in preview.

LastPublishOn

last publish date for the package item.

MetadataResourceId

The metadata resource id.

Name

The name of the resource.

(Inherited from ResourceData)
PackagedContent

The json of the ARM template to deploy. 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" }.

Providers

Providers for the package item.

PublisherDisplayName

The publisher display name of the package.

ResourceType

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

(Inherited from ResourceData)
Source

The source of the package.

Support

The support tier of the package.

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

the latest version number of the package.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) (Inherited from ResourceData)

Explicit Interface Implementations

IJsonModel<SecurityInsightsProductPackageData>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<SecurityInsightsProductPackageData>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<SecurityInsightsProductPackageData>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<SecurityInsightsProductPackageData>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<SecurityInsightsProductPackageData>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to