如何应用 Pulumi Azure Function App 运行时
我有一个 Pulumi 脚本来部署一些服务。一切都很好,除了我不明白如何将运行时应用于 Functions App
api_function_app = azure.appservice.FunctionApp("ApiFunctionApp",
location=resource_group.location,
enabled= True,
enable_builtin_logging = True,
resource_group_name=resource_group.name,
app_service_plan_id=functionStoragePlan.id,
storage_account_name=functionStorageAccount.name,
storage_account_access_key=functionStorageAccount.primary_access_key, os_type="linux", version="~3")
有人见过这样的例子吗?
I have a Pulumi script to deploy few services. Everything is fine except I don't understand how to apply a runtime to Functions App
api_function_app = azure.appservice.FunctionApp("ApiFunctionApp",
location=resource_group.location,
enabled= True,
enable_builtin_logging = True,
resource_group_name=resource_group.name,
app_service_plan_id=functionStoragePlan.id,
storage_account_name=functionStorageAccount.name,
storage_account_access_key=functionStorageAccount.primary_access_key, os_type="linux", version="~3")
Has anyone seen any example of this?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我相信您需要为
FUNCTIONS_WORKER_RUNTIME
应用程序设置设置一个值I believe you need to set a value for
FUNCTIONS_WORKER_RUNTIME
application setting