Sdílet prostřednictvím


MachineLearningWebhook Class

Definition

Webhook base Please note MachineLearningWebhook is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include AzureDevOpsWebhook.

[System.ClientModel.Primitives.PersistableModelProxy(typeof(Azure.ResourceManager.MachineLearning.Models.UnknownWebhook))]
public abstract class MachineLearningWebhook : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.MachineLearning.Models.MachineLearningWebhook>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.MachineLearning.Models.MachineLearningWebhook>
public abstract class MachineLearningWebhook
[<System.ClientModel.Primitives.PersistableModelProxy(typeof(Azure.ResourceManager.MachineLearning.Models.UnknownWebhook))>]
type MachineLearningWebhook = class
    interface IJsonModel<MachineLearningWebhook>
    interface IPersistableModel<MachineLearningWebhook>
type MachineLearningWebhook = class
Public MustInherit Class MachineLearningWebhook
Implements IJsonModel(Of MachineLearningWebhook), IPersistableModel(Of MachineLearningWebhook)
Public MustInherit Class MachineLearningWebhook
Inheritance
MachineLearningWebhook
Derived
Attributes
Implements

Constructors

MachineLearningWebhook()

Initializes a new instance of MachineLearningWebhook.

Properties

EventType

Send callback on a specified notification event.

Explicit Interface Implementations

IJsonModel<MachineLearningWebhook>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<MachineLearningWebhook>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<MachineLearningWebhook>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<MachineLearningWebhook>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<MachineLearningWebhook>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to