def METHOD_NAME(cmd, client, resource_group, service, enable_application_accelerator, **_):
    if enable_application_accelerator:
        logger.warning(" - Creating Application Accelerator ..")
        application_accelerator_resource = models.ApplicationAcceleratorResource(
            properties=models.ApplicationAcceleratorProperties(
            )
        )
        return client.application_accelerators.begin_create_or_update(resource_group, service, DEFAULT_NAME, application_accelerator_resource)