I am using AzureResourceManager(java).
I am able to start/stop Functions by following.
FunctionApp app = azureResourceManager.functionApps().getById(id);
app.start();
FunctionApp app = azureResourceManager.functionApps().getById(id);
app.stop();
pom.xml
<dependency>
<groupId>com.azure.resourcemanager</groupId>
<artifactId>azure-resourcemanager</artifactId>
<version>2.1.0</version>
</dependency>
I know we can enable/disable them from Azure portal. see Azure Portal Image. I would like to manage it for each function of Functions using java program.