Skip to content
Docs Try Aspire

HttpGetActionV1 Properties

Class Properties 5 members
HTTPGetActionV1 represents an HTTP GET request action in Kubernetes resources.
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.
public string Host { get; set; }
Represents a collection of HTTP headers that can be added to an HTTP request in the context of a Kubernetes HTTPGetActionV1 resource.
public List<HttpHeaderV1> HttpHeaders { get; }
This property provides a list of HTTPHeaderV1 objects, where each object specifies the name and value of an HTTP header. These headers will be included in the HTTP request made by the Kubernetes resource.
Gets or sets the relative path for the HTTP request. The path specifies the endpoint to be accessed on the server.
public string Path { get; set; }
Gets or sets the port number on which the HTTP request will be sent.
public Int32OrStringV1? Port { get; set; }
Gets or sets the scheme to use for the HTTP request. This property determines whether the request is sent using "HTTP" or "HTTPS".
public string Scheme { get; set; }