| # | |
| # Licensed to the Apache Software Foundation (ASF) under one or more | |
| # contributor license agreements. See the NOTICE file distributed with | |
| # this work for additional information regarding copyright ownership. | |
| # The ASF licenses this file to You under the Apache License, Version 2.0 | |
| # (the "License"); you may not use this file except in compliance with | |
| # the License. You may obtain a copy of the License at | |
| # | |
| # http://www.apache.org/licenses/LICENSE-2.0 | |
| # | |
| # Unless required by applicable law or agreed to in writing, software | |
| # distributed under the License is distributed on an "AS IS" BASIS, | |
| # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |
| # See the License for the specific language governing permissions and | |
| # limitations under the License. | |
| # | |
| properties: | |
| http_method: | |
| default: GET | |
| enum: | |
| - GET | |
| - POST | |
| - PUT | |
| - DELETE | |
| - PATCH | |
| - HEAD | |
| - OPTIONS | |
| - CONNECT | |
| - TRACE | |
| - PURGE | |
| type: string | |
| port: | |
| maximum: 65535 | |
| minimum: 1 | |
| type: integer | |
| host: | |
| pattern: ^\*$|^\*?[0-9a-zA-Z-._\[\]:]+$ | |
| type: string | |
| timeout: | |
| default: 1 | |
| type: number | |
| unhealthy: | |
| $ref: ./HealthCheckActiveUnhealthy.yaml | |
| healthy: | |
| $ref: ./HealthCheckActiveHealthy.yaml | |
| https_verify_certificate: | |
| default: true | |
| type: boolean | |
| req_headers: | |
| items: | |
| uniqueItems: true | |
| type: string | |
| minItems: 1 | |
| type: array | |
| http_path: | |
| default: / | |
| type: string | |
| http_req_body: | |
| default: "" | |
| type: string | |
| concurrency: | |
| default: 10 | |
| type: integer | |
| type: | |
| default: http | |
| enum: | |
| - http | |
| - https | |
| - tcp | |
| type: string | |
| type: object | |
| x-source: apisix/schema_def.lua |