GetMetadataResult

data class GetMetadataResult(val author: MetadataAuthorResponse? = null, val azureApiVersion: String, val categories: MetadataCategoriesResponse? = null, val contentId: String? = null, val contentSchemaVersion: String? = null, val customVersion: String? = null, val dependencies: MetadataDependenciesResponse? = null, val etag: String? = null, val firstPublishDate: String? = null, val icon: String? = null, val id: String, val kind: String, val lastPublishDate: String? = null, val name: String, val parentId: String, val previewImages: List<String>? = null, val previewImagesDark: List<String>? = null, val providers: List<String>? = null, val source: MetadataSourceResponse? = null, val support: MetadataSupportResponse? = null, val systemData: SystemDataResponse, val threatAnalysisTactics: List<String>? = null, val threatAnalysisTechniques: List<String>? = null, val type: String, val version: String? = null)

Metadata resource definition.

Constructors

Link copied to clipboard
constructor(author: MetadataAuthorResponse? = null, azureApiVersion: String, categories: MetadataCategoriesResponse? = null, contentId: String? = null, contentSchemaVersion: String? = null, customVersion: String? = null, dependencies: MetadataDependenciesResponse? = null, etag: String? = null, firstPublishDate: String? = null, icon: String? = null, id: String, kind: String, lastPublishDate: String? = null, name: String, parentId: String, previewImages: List<String>? = null, previewImagesDark: List<String>? = null, providers: List<String>? = null, source: MetadataSourceResponse? = null, support: MetadataSupportResponse? = null, systemData: SystemDataResponse, threatAnalysisTactics: List<String>? = null, threatAnalysisTechniques: List<String>? = null, type: String, version: String? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The creator of the content item.

Link copied to clipboard

The Azure API version of the resource.

Link copied to clipboard

Categories for the solution content item

Link copied to clipboard
val contentId: String? = null

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

Link copied to clipboard

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

Link copied to clipboard
val customVersion: String? = null

The custom version of the content. A optional free text

Link copied to clipboard

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.

Link copied to clipboard
val etag: String? = null

Etag of the azure resource

Link copied to clipboard

first publish date solution content item

Link copied to clipboard
val icon: String? = null

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

Link copied to clipboard
val id: String

Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"

Link copied to clipboard

The kind of content the metadata is for.

Link copied to clipboard
val lastPublishDate: String? = null

last publish date for the solution content item

Link copied to clipboard

The name of the resource

Link copied to clipboard

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)

Link copied to clipboard
val previewImages: List<String>? = null

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

Link copied to clipboard

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

Link copied to clipboard
val providers: List<String>? = null

Providers for the solution content item

Link copied to clipboard

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

Link copied to clipboard

Support information for the metadata - type, name, contact information

Link copied to clipboard

Azure Resource Manager metadata containing createdBy and modifiedBy information.

Link copied to clipboard

the tactics the resource covers

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard
val version: String? = null

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