Skip to content
Docs Try Aspire

HttpGetActionV1

Class sealed net8.0
📦 Aspire.Hosting.Kubernetes v13.2.0-preview.1.26170.3
HTTPGetActionV1 represents an HTTP GET request action in Kubernetes resources.
namespace Aspire.Hosting.Kubernetes.Resources;
public sealed class HttpGetActionV1
{
// ...
}
This action is typically used within Kubernetes probes or handlers to perform HTTP GET requests for purposes such as health checks or event triggering. A URL is constructed using the specified scheme, host, port, and path, and optional HTTP headers can also be included in the request.