【发布时间】:2022-01-02 13:52:53
【问题描述】:
我正在使用 AzureResourceManager(java)。
我可以通过以下方式启动/停止功能。
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>
我知道我们可以从 Azure 门户启用/禁用它们。 见Azure Portal Image。 我想使用 java 程序为 Functions 的每个功能管理它。
【问题讨论】:
标签: java azure azure-functions azure-java-tools