共用方式為


DiscoverySource Class

Definition

Source entity used to drive discovery.

public class DiscoverySource : System.ClientModel.Primitives.IJsonModel<Azure.Analytics.Defender.Easm.DiscoverySource>, System.ClientModel.Primitives.IPersistableModel<Azure.Analytics.Defender.Easm.DiscoverySource>
type DiscoverySource = class
    interface IJsonModel<DiscoverySource>
    interface IPersistableModel<DiscoverySource>
Public Class DiscoverySource
Implements IJsonModel(Of DiscoverySource), IPersistableModel(Of DiscoverySource)
Inheritance
DiscoverySource
Implements

Constructors

DiscoverySource()

Initializes a new instance of DiscoverySource.

Properties

Kind

The kind of disco source.

Name

The name for the disco source.

Explicit Interface Implementations

IJsonModel<DiscoverySource>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<DiscoverySource>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<DiscoverySource>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<DiscoverySource>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<DiscoverySource>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to