Sdílet prostřednictvím


ArmContainerRegistryModelFactory.ContainerRegistryWebhookCallbackConfig Method

Definition

Initializes a new instance of ContainerRegistryWebhookCallbackConfig.

public static Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistryWebhookCallbackConfig ContainerRegistryWebhookCallbackConfig (Uri serviceUri = default, System.Collections.Generic.IReadOnlyDictionary<string,string> customHeaders = default);
static member ContainerRegistryWebhookCallbackConfig : Uri * System.Collections.Generic.IReadOnlyDictionary<string, string> -> Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistryWebhookCallbackConfig
Public Shared Function ContainerRegistryWebhookCallbackConfig (Optional serviceUri As Uri = Nothing, Optional customHeaders As IReadOnlyDictionary(Of String, String) = Nothing) As ContainerRegistryWebhookCallbackConfig

Parameters

serviceUri
Uri

The service URI for the webhook to post notifications.

customHeaders
IReadOnlyDictionary<String,String>

Custom headers that will be added to the webhook notifications.

Returns

A new ContainerRegistryWebhookCallbackConfig instance for mocking.

Applies to