Share via


SecurityInsightsMetadataSource Class

Definition

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

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

Constructors

SecurityInsightsMetadataSource(SecurityInsightsSourceKind)

Initializes a new instance of SecurityInsightsMetadataSource.

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.

Explicit Interface Implementations

IJsonModel<SecurityInsightsMetadataSource>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<SecurityInsightsMetadataSource>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<SecurityInsightsMetadataSource>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<SecurityInsightsMetadataSource>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<SecurityInsightsMetadataSource>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to