ArmContainerRegistryModelFactory.ContainerRegistryWebhookCallbackConfig Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.