Sdílet prostřednictvím


ArmContainerRegistryModelFactory.ContainerRegistryWebhookEventSource Method

Definition

Initializes a new instance of ContainerRegistryWebhookEventSource.

public static Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistryWebhookEventSource ContainerRegistryWebhookEventSource (string addr = default, string instanceId = default);
static member ContainerRegistryWebhookEventSource : string * string -> Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistryWebhookEventSource
Public Shared Function ContainerRegistryWebhookEventSource (Optional addr As String = Nothing, Optional instanceId As String = Nothing) As ContainerRegistryWebhookEventSource

Parameters

addr
String

The IP or hostname and the port of the registry node that generated the event. Generally, this will be resolved by os.Hostname() along with the running port.

instanceId
String

The running instance of an application. Changes after each restart.

Returns

A new ContainerRegistryWebhookEventSource instance for mocking.

Applies to