Share via


MetadataDependencies Class

Definition

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 dependencies.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.SecurityInsights.Models.Api20210901Preview.MetadataDependenciesTypeConverter))]
public class MetadataDependencies : Microsoft.Azure.PowerShell.Cmdlets.SecurityInsights.Models.Api20210901Preview.IMetadataDependencies
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.SecurityInsights.Models.Api20210901Preview.MetadataDependenciesTypeConverter))>]
type MetadataDependencies = class
    interface IMetadataDependencies
    interface IJsonSerializable
Public Class MetadataDependencies
Implements IMetadataDependencies
Inheritance
MetadataDependencies
Attributes
Implements

Constructors

MetadataDependencies()

Creates an new MetadataDependencies instance.

Properties

ContentId

Id of the content item we depend on

Criterion

This is the list of dependencies we must fulfill, according to the AND/OR operator

Kind

Type of the content item we depend on

Name

Name of the content item

Operator

Operator used for list of dependencies in criteria array.

Version

Version of the the content item we depend on. Can be blank, * or missing to indicate any version fulfills the dependency. If version does not match our defined numeric format then an exact match is required.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of MetadataDependencies.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of MetadataDependencies.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.SecurityInsights.Models.Api20210901Preview.IMetadataDependencies.

FromJsonString(String)

Creates a new instance of MetadataDependencies, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of MetadataDependencies into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to