このページは、まだ日本語ではご利用いただけません。翻訳中です。
古いプラグインバージョンのドキュメントを閲覧しています。
構成
このプラグインはDBレスモードに対応しています。
互換性のあるプロトコル
Azure Functionsプラグインは以下のプロトコルに対応しています:
 grpc, grpcs, http, https, tcp, tls, tls_passthrough, udp, ws, wss
パラメータ
このプラグインの設定で使用できるすべてのパラメータのリストは次のとおりです。
- 
    name or pluginstring requiredプラグイン名。この場合は azure-functions。- Kong Admin API、Kong Konnect API、宣言型構成、または decK ファイルを使用する場合、フィールドはnameです。
- Kubernetes で KongPlugin オブジェクトを使用する場合、フィールドはpluginです。
 
- Kong Admin API、Kong Konnect API、宣言型構成、または decK ファイルを使用する場合、フィールドは
- 
      instance_namestringプラグインのインスタンスを識別するための任意のカスタム名 (例: azure-functions_my-service。インスタンス名はKong ManagerとKonnectに表示されるので、 例えば複数のサービスで同じプラグインを複数のコンテキストで実行する場合に便利です。また、Kong Admin API経由で特定のプラグインインスタンスに アクセスするためにも使用できます。 インスタンス名は、次のコンテキスト内で一意である必要があります。 - Kong Gateway Enterpriseのワークスペース内
- Konnectのコントロールプレーン(CP)またはコントロールプレーン(CP)グループ内
- Kong Gateway (OSS)の全世界
 
- 
      service.name or service.idstringプラグインが対象とするサービス名または ID。最上位の /pluginsエンドポイント. からプラグインをサービスに追加する場合は、これらのパラメータのいずれかを設定してください/services/{serviceName|Id}/pluginsを使用する場合は必要ありません。
- 
      route.name or route.idstringプラグインがターゲットとするルート名または ID。最上位の /pluginsエンドポイント. を通るルートにプラグインを追加する場合は、これらのパラメータのいずれかを設定してください/routes/{routeName|Id}/pluginsを使用する場合は必要ありません。
- 
      consumer.name or consumer.idstringプラグインがターゲットとするコンシューマーの名前または ID。 最上位の /pluginsエンドポイント. からコンシューマーにプラグインを追加する場合は、これらのパラメーターのいずれかを設定してください/consumers/{consumerName|Id}/pluginsを使用する場合は必要ありません。
- 
    enabledboolean default:trueこのプラグインが適用されるかどうか。 
- 
  configrecord required- 
  timeoutnumber default:600000Timeout in milliseconds before closing a connection to the Azure Functions server. 
 - 
  keepalivenumber default:60000Time in milliseconds during which an idle connection to the Azure Functions server lives before being closed. 
 - 
  httpsboolean default:trueUse of HTTPS to connect with the Azure Functions server. 
 - 
  https_verifyboolean default:falseSet to trueto authenticate the Azure Functions server.
 - 
  apikeystring referenceable encryptedThe apikey to access the Azure resources. If provided, it is injected as the x-functions-keyheader.
 - 
  clientidstring referenceable encryptedThe clientidto access the Azure resources. If provided, it is injected as thex-functions-clientidheader.
 - 
  appnamestring requiredThe Azure app name. 
 - 
  hostdomainstring required default:azurewebsites.netThe domain where the function resides. 
 - 
  routeprefixstring default:apiRoute prefix to use. 
 - 
  functionnamestring requiredName of the Azure function to invoke. 
 
- 
  
 
                      