Cloud API Overview > @adpt/cloud > k8s > HTTPGetAction
k8s.HTTPGetAction interface
Signature:
export interface HTTPGetAction
Properties
Property | Type | Description |
---|---|---|
host | string | Host name to connect to, defaults to the pod IP.You probably want to set "Host" in httpHeaders instead. |
httpHeaders | { name: string; value: string; }[] | Custom headers to set in the request. HTTP allows repeated headers. |
path | string | Path to access on the HTTP server. |
port | number | string | Name or number of the port to access on the container.Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME. |
scheme | string | Scheme to use for connecting to the host. |