Class V1HTTPGetAction
HTTPGetAction describes an action based on HTTP Get requests.
Inheritance
V1HTTPGetAction
Assembly: KubernetesClient.dll
Syntax
public record V1HTTPGetAction : IEquatable<V1HTTPGetAction>
Constructors
V1HTTPGetAction()
Declaration
V1HTTPGetAction(V1HTTPGetAction)
Declaration
protected V1HTTPGetAction(V1HTTPGetAction original)
Parameters
Properties
EqualityContract
Declaration
protected virtual Type EqualityContract { get; }
Property Value
Host
Host name to connect to, defaults to the pod IP. You probably want to set "Host"
in httpHeaders instead.
Declaration
[JsonPropertyName("host")]
public string Host { get; set; }
Property Value
Custom headers to set in the request. HTTP allows repeated headers.
Declaration
[JsonPropertyName("httpHeaders")]
public IList<V1HTTPHeader> HttpHeaders { get; set; }
Property Value
Path
Path to access on the HTTP server.
Declaration
[JsonPropertyName("path")]
public string Path { get; set; }
Property Value
Port
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.
Declaration
[JsonPropertyName("port")]
public IntOrString Port { get; set; }
Property Value
Scheme
Scheme to use for connecting to the host. Defaults to HTTP.
Declaration
[JsonPropertyName("scheme")]
public string Scheme { get; set; }
Property Value
Methods
Equals(object?)
Declaration
public override bool Equals(object? obj)
Parameters
| Type |
Name |
Description |
| object |
obj |
|
Returns
Overrides
Equals(V1HTTPGetAction?)
Declaration
public virtual bool Equals(V1HTTPGetAction? other)
Parameters
Returns
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Overrides
PrintMembers(StringBuilder)
Declaration
protected virtual bool PrintMembers(StringBuilder builder)
Parameters
Returns
ToString()
Declaration
public override string ToString()
Returns
Overrides
Operators
operator ==(V1HTTPGetAction?, V1HTTPGetAction?)
Declaration
public static bool operator ==(V1HTTPGetAction? left, V1HTTPGetAction? right)
Parameters
Returns
operator !=(V1HTTPGetAction?, V1HTTPGetAction?)
Declaration
public static bool operator !=(V1HTTPGetAction? left, V1HTTPGetAction? right)
Parameters
Returns
Implements