Share via


AutomationWebhookPatch Class

Definition

The parameters supplied to the update webhook operation.

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

Constructors

AutomationWebhookPatch()

Initializes a new instance of AutomationWebhookPatch.

Properties

Description

Gets or sets the description of the webhook.

IsEnabled

Gets or sets the value of the enabled flag of webhook.

Name

Gets or sets the name of the webhook.

Parameters

Gets or sets the parameters of the job.

RunOn

Gets or sets the name of the hybrid worker group the webhook job will run on.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<AutomationWebhookPatch>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<AutomationWebhookPatch>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<AutomationWebhookPatch>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<AutomationWebhookPatch>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<AutomationWebhookPatch>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to