Sprog

ArmContainerRegistryModelFactory.ContainerRegistryWebhookPatch Method

Definition

public static Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistryWebhookPatch ContainerRegistryWebhookPatch(System.Collections.Generic.IDictionary<string,string> tags = default, Uri serviceUri = default, System.Collections.Generic.IDictionary<string,string> customHeaders = default, Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistryWebhookStatus? status = default, string scope = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistryWebhookAction> actions = default);
static member ContainerRegistryWebhookPatch : System.Collections.Generic.IDictionary<string, string> * Uri * System.Collections.Generic.IDictionary<string, string> * Nullable<Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistryWebhookStatus> * string * seq<Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistryWebhookAction> -> Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistryWebhookPatch
Public Shared Function ContainerRegistryWebhookPatch (Optional tags As IDictionary(Of String, String) = Nothing, Optional serviceUri As Uri = Nothing, Optional customHeaders As IDictionary(Of String, String) = Nothing, Optional status As Nullable(Of ContainerRegistryWebhookStatus) = Nothing, Optional scope As String = Nothing, Optional actions As IEnumerable(Of ContainerRegistryWebhookAction) = Nothing) As ContainerRegistryWebhookPatch

Parameters

tags
IDictionary<String,String>

The tags for the webhook.

serviceUri
Uri

The service URI for the webhook to post notifications.

customHeaders
IDictionary<String,String>

Custom headers that will be added to the webhook notifications.

status
Nullable<ContainerRegistryWebhookStatus>

The status of the webhook at the time the operation was called.

scope
String

The scope of repositories where the event can be triggered. For example, 'foo:*' means events for all tags under repository 'foo'. 'foo:bar' means events for 'foo:bar' only. 'foo' is equivalent to 'foo:latest'. Empty means all events.

actions
IEnumerable<ContainerRegistryWebhookAction>

The list of actions that trigger the webhook to post notifications.

Returns

A new ContainerRegistryWebhookPatch instance for mocking.

Applies to