ArmContainerRegistryModelFactory.ContainerRegistryWebhookEventSource 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 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.