Class ContainerRegistryEventSource
java.lang.Object
com.azure.messaging.eventgrid.systemevents.ContainerRegistryEventSource
The registry node that generated the event. Put differently, while the actor initiates the event, the source
generates it.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetAddr()
Get the addr property: The IP or hostname and the port of the registry node that generated the event.Get the instanceID property: The running instance of an application.Set the addr property: The IP or hostname and the port of the registry node that generated the event.setInstanceID
(String instanceID) Set the instanceID property: The running instance of an application.
-
Constructor Details
-
ContainerRegistryEventSource
public ContainerRegistryEventSource()
-
-
Method Details
-
getAddr
Get the addr property: 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.- Returns:
- the addr value.
-
setAddr
Set the addr property: 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.- Parameters:
addr
- the addr value to set.- Returns:
- the ContainerRegistryEventSource object itself.
-
getInstanceID
Get the instanceID property: The running instance of an application. Changes after each restart.- Returns:
- the instanceID value.
-
setInstanceID
Set the instanceID property: The running instance of an application. Changes after each restart.- Parameters:
instanceID
- the instanceID value to set.- Returns:
- the ContainerRegistryEventSource object itself.
-