Class ContainerRegistryEventSource

java.lang.Object
com.azure.messaging.eventgrid.systemevents.ContainerRegistryEventSource

public final class ContainerRegistryEventSource extends Object
The registry node that generated the event. Put differently, while the actor initiates the event, the source generates it.
  • Constructor Details

    • ContainerRegistryEventSource

      public ContainerRegistryEventSource()
  • Method Details

    • getAddr

      public String 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

      public ContainerRegistryEventSource setAddr(String addr)
      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

      public String getInstanceID()
      Get the instanceID property: The running instance of an application. Changes after each restart.
      Returns:
      the instanceID value.
    • setInstanceID

      public ContainerRegistryEventSource setInstanceID(String instanceID)
      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.