Share via


MetadataSource Class

Definition

The original source of the content item, where it comes from.

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

Constructors

MetadataSource()

Creates an new MetadataSource instance.

Properties

Kind

Source type of the content

Name

Name of the content source. The repo name, solution name, LA workspace name etc.

SourceId

ID of the content source. The solution ID, workspace ID, etc

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of MetadataSource.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of MetadataSource.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of MetadataSource into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to