I have published a layer from ArcGIS Pro to ArcGIS Enterprise as a hosted Map Image Layer. I would like to regularly update this layer using python.
For hosted Feature Layer I have found scripting examples, which work. However, these overwrite the Service Definition. Since Map Image Layers don't have Service Definitions, how is it possible to update these via script?