HttpGetActionV1
Class sealed net10.0
HTTPGetActionV1 represents an HTTP GET request action in Kubernetes resources.
namespace Aspire.Hosting.Kubernetes.Resources;
public sealed class HttpGetActionV1{ // ...} 6 members
Remarks
Section titled Remarks 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.
Constructors1
Section titled ConstructorsProperties5
Section titled PropertiesHostget; setstring Gets or sets the hostname to use for the HTTP GET request. This specifies the DNS name or IP address of the server to connect to.
HttpHeadersget Represents a collection of HTTP headers that can be added to an HTTP request in the context of a Kubernetes HTTPGetActionV1 resource.
Pathget; setstring Gets or sets the relative path for the HTTP request. The path specifies the endpoint to be accessed on the server.
Portget; set Gets or sets the port number on which the HTTP request will be sent.
Schemeget; setstring Gets or sets the scheme to use for the HTTP request. This property determines whether the request is sent using "HTTP" or "HTTPS".