Can we create the maintenance configuration with azurerm provider not azureapi

can we create the maintenance configuration with all arguments install patches , windows , Linux etc only with azurerm provider not azureapi provider?