Compartir a través de


CallbackConfig Class

Definition

The configuration of service URI and custom headers for the webhook.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ContainerRegistry.Models.Api202301Preview.CallbackConfigTypeConverter))]
public class CallbackConfig : Microsoft.Azure.PowerShell.Cmdlets.ContainerRegistry.Models.Api202301Preview.ICallbackConfig
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ContainerRegistry.Models.Api202301Preview.CallbackConfigTypeConverter))>]
type CallbackConfig = class
    interface ICallbackConfig
    interface IJsonSerializable
Public Class CallbackConfig
Implements ICallbackConfig
Inheritance
CallbackConfig
Attributes
Implements

Constructors

CallbackConfig()

Creates an new CallbackConfig instance.

Properties

CustomHeader

Custom headers that will be added to the webhook notifications.

ServiceUri

The service URI for the webhook to post notifications.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of CallbackConfig.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of CallbackConfig.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.ContainerRegistry.Models.Api202301Preview.ICallbackConfig.

FromJsonString(String)

Creates a new instance of CallbackConfig, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of CallbackConfig into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to