def METHOD_NAME(
    sat_azure_default_architecture,
    sat_azure_default_os,
    sat_azure,
    module_azurerm_cr,
):
    """Creates cloudinit image on AzureRM Compute Resource"""
    finish_image = sat_azure.api.Image(
        architecture=sat_azure_default_architecture,
        compute_resource=module_azurerm_cr,
        name=gen_string('alpha'),
        operatingsystem=sat_azure_default_os,
        username=settings.azurerm.username,
        uuid=AZURERM_RHEL7_UD_IMG_URN,
        user_data=True,
    ).create()
    return finish_image