MetadataPatch Class

Definition

Metadata patch request body.

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

Constructors

Name Description
MetadataPatch()

Initializes a new instance of MetadataPatch.

Properties

Name Description
Author

The creator of the content item.

Categories

Categories for the solution content 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. Can be optionally set for user created content to define dependencies. If an active content item is made from a template, both will have the same contentId.

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.

ETag

Etag of the azure resource.

(Inherited from SecurityInsightsResourceWithEtag)
FirstPublishOn

first publish date of solution content item.

Icon

the icon identifier. this id can later be fetched from the solution template.

Id

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

(Inherited from ResourceData)
Kind

The kind of content the metadata is for.

LastPublishOn

last publish date of solution content item.

Name

The name of the resource.

(Inherited from ResourceData)
ParentId

Full parent resource ID of the content item the metadata is for. This is the full resource ID including the scope (subscription and resource group).

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 solution 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 metadata - 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 template 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<MetadataPatch>.Create(Utf8JsonReader, ModelReaderWriterOptions)
IJsonModel<MetadataPatch>.Write(Utf8JsonWriter, ModelReaderWriterOptions)
IJsonModel<SecurityInsightsResourceWithEtag>.Create(Utf8JsonReader, ModelReaderWriterOptions) (Inherited from SecurityInsightsResourceWithEtag)
IJsonModel<SecurityInsightsResourceWithEtag>.Write(Utf8JsonWriter, ModelReaderWriterOptions) (Inherited from SecurityInsightsResourceWithEtag)
IPersistableModel<MetadataPatch>.Create(BinaryData, ModelReaderWriterOptions)
IPersistableModel<MetadataPatch>.GetFormatFromOptions(ModelReaderWriterOptions)
IPersistableModel<MetadataPatch>.Write(ModelReaderWriterOptions)
IPersistableModel<SecurityInsightsResourceWithEtag>.Create(BinaryData, ModelReaderWriterOptions) (Inherited from SecurityInsightsResourceWithEtag)
IPersistableModel<SecurityInsightsResourceWithEtag>.GetFormatFromOptions(ModelReaderWriterOptions) (Inherited from SecurityInsightsResourceWithEtag)
IPersistableModel<SecurityInsightsResourceWithEtag>.Write(ModelReaderWriterOptions) (Inherited from SecurityInsightsResourceWithEtag)

Applies to