ContainerRegistryEventSource Class
- java.
lang. Object - com.
microsoft. azure. eventgrid. models. ContainerRegistryEventSource
- com.
public class ContainerRegistryEventSource
The registry node that generated the event. Put differently, while the actor initiates the event, the source generates it.
Constructor Summary
| Constructor | Description | |
|---|---|---|
| ContainerRegistryEventSource() | ||
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| java.lang.String |
addr()
Get the IP or hostname and the port of the registry node that generated the event. |
| java.lang.String |
instanceID()
Get the running instance of an application. |
|
Container |
withAddr(String addr)
Set the IP or hostname and the port of the registry node that generated the event. |
|
Container |
withInstanceID(String instanceID)
Set the running instance of an application. |
Methods inherited from java.lang.Object
Constructor Details
ContainerRegistryEventSource
public ContainerRegistryEventSource()
Method Details
addr
public String addr()
Get 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:
instanceID
public String instanceID()
Get the running instance of an application. Changes after each restart.
Returns:
withAddr
public ContainerRegistryEventSource withAddr(String addr)
Set 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:
Returns:
withInstanceID
public ContainerRegistryEventSource withInstanceID(String instanceID)
Set the running instance of an application. Changes after each restart.
Parameters:
Returns: