EventGridModelFactory.ContainerRegistryEventSource(String, String) 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 ContainerRegistryEventSource.
public static Azure.Messaging.EventGrid.SystemEvents.ContainerRegistryEventSource ContainerRegistryEventSource (string addr = default, string instanceID = default);
static member ContainerRegistryEventSource : string * string -> Azure.Messaging.EventGrid.SystemEvents.ContainerRegistryEventSource
Public Shared Function ContainerRegistryEventSource (Optional addr As String = Nothing, Optional instanceID As String = Nothing) As ContainerRegistryEventSource
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 ContainerRegistryEventSource instance for mocking.
Applies to
Azure SDK for .NET