Share via


HttpGetActionV1 Class

Definition

HTTPGetActionV1 represents an HTTP GET request action in Kubernetes resources.

[YamlDotNet.Serialization.YamlSerializable]
public sealed class HttpGetActionV1
[<YamlDotNet.Serialization.YamlSerializable>]
type HttpGetActionV1 = class
Public NotInheritable Class HttpGetActionV1
Inheritance
HttpGetActionV1
Attributes
YamlDotNet.Serialization.YamlSerializableAttribute

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.

Constructors

HttpGetActionV1()

Properties

Host

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.

HttpHeaders

Represents a collection of HTTP headers that can be added to an HTTP request in the context of a Kubernetes HTTPGetActionV1 resource.

Path

Gets or sets the relative path for the HTTP request. The path specifies the endpoint to be accessed on the server.

Port

Gets or sets the port number on which the HTTP request will be sent.

Scheme

Gets or sets the scheme to use for the HTTP request. This property determines whether the request is sent using "HTTP" or "HTTPS".

Applies to