SourceControlWebhook Class

Definition

Detail about the webhook object.

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

Constructors

SourceControlWebhook()

Initializes a new instance of SourceControlWebhook.

Properties

IsWebhookSecretRotated

A flag to instruct the backend service to rotate webhook secret.

WebhookId

Unique identifier for the webhook.

WebhookSecretUpdateOn

Time when the webhook secret was updated.

WebhookUri

URL that gets invoked by the webhook.

Explicit Interface Implementations

IJsonModel<SourceControlWebhook>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<SourceControlWebhook>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<SourceControlWebhook>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<SourceControlWebhook>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<SourceControlWebhook>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to