简体   繁体   English

以编程方式仅为Azure Function App配置HTTPS

[英]Programmatically Configure HTTPS Only for Azure Function App

Is there a way to programmatically enable the HTTPS Only flag on a custom domain of an Azure Function App? 有没有办法在Azure Function应用的自定义域上以编程方式启用HTTPS Only标志? I've been using the CLI quite extensively and have been pleased with the comprehensive coverage it provides, but I can't seem to figure this out out. 我一直在广泛使用CLI,并且对其提供的全面覆盖感到满意,但是我似乎无法弄清楚。

Try the command as below. 尝试如下命令。

az functionapp update  --name '<function name>' --resource-group '<resource group name>' --set httpsOnly=true

在此处输入图片说明

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 用于配置 Azure Function App TLS/SSL“HTTPS Only”设置的 Az CLI - Az CLI to configure Azure Function App TLS/SSL "HTTPS Only" Setting 有没有办法以编程方式为 Azure Function 应用程序配置 azure EasyAuth for AAD? - Is there a way to programmatically configure azure EasyAuth for AAD for an Azure Function App? 在 azure 上为 https 配置 golang rest api 应用程序 - Configure a golang rest api app for https on azure HTTPS 仅不适用于 Azure 应用服务的子域 - HTTPS Only Not Working For Subdomain with Azure App Service Azure Function App是否仅限制从函数内部的传出HTTP调用到HTTPS? - Does Azure Function App restrict outgoing HTTP calls from inside the function to HTTPS only? Azure 功能不适用于 https,仅适用于 http - Azure function not working on https, only http 为Azure Function App(Terraform)配置应用程序提示 - Configure Application Inisghts for Azure Function App (Terraform) Azure Function 定时器通过应用程序设置配置 - Azure Function timer configure through app settings Azure功能应用程序以编程方式更改计划 - Azure Function App Programmatically Change Schedule 以编程方式配置Azure缓存客户端 - Programmatically configure Azure cache client
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM