Azure Functions 정책 구성 참조
Azure Functions 정책 구성 참조 (Azure Functions Policy Configuration Reference)
이 문서는 Kong에서 Azure Functions와 연동할 때 사용하는 정책 설정을 정의해요. clientid, apikey, appname, functionname 등 여러 속성을 JSON 형식으로 구성할 수 있고, appname과 functionname은 필수로 입력해야 해요. 각 설정의 기본값과 설명도 함께 확인할 수 있어서 플러그인 사용에 유용해요.
출처: 문서
본문
{
"properties": {
"config": {
"type": "object",
"properties": {
"clientid": {
"type": "string",
"description": "The `clientid` to access the Azure resources. If provided, it is injected as the `x-functions-clientid` header.",
"x-referenceable": true,
"x-encrypted": true
},
"appname": {
"type": "string",
"description": "The Azure app name."
},
"functionname": {
"type": "string",
"description": "Name of the Azure function to invoke."
},
"hostdomain": {
"type": "string",
"description": "The domain where the function resides.",
"default": "azurewebsites.net"
},
"routeprefix": {
"type": "string",
"description": "Route prefix to use.",
"default": "api"
},
"timeout": {
"type": "number",
"description": "Timeout in milliseconds before closing a connection to the Azure Functions server.",
"default": 600000
},
"keepalive": {
"type": "number",
"description": "Time in milliseconds during which an idle connection to the Azure Functions server lives before being closed.",
"default": 60000
},
"https": {
"type": "boolean",
"description": "Use of HTTPS to connect with the Azure Functions server.",
"default": true
},
"https_verify": {
"type": "boolean",
"description": "Set to `true` to authenticate the Azure Functions server.",
"default": true
},
"apikey": {
"type": "string",
"description": "The apikey to access the Azure resources. If provided, it is injected as the `x-functions-key` header.",
"x-referenceable": true,
"x-encrypted": true
}
},
"required": [
"appname",
"functionname"
]
}
}
}
더 알아보기 (Learn more)
이 문서에는 원문에서 추출한 별도의 관련 문서 링크가 없어요.