Share via


HttpGetActionV1.HttpHeaders Property

Definition

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

[YamlDotNet.Serialization.YamlMember(Alias="httpHeaders")]
public System.Collections.Generic.List<Aspire.Hosting.Kubernetes.Resources.HttpHeaderV1> HttpHeaders { get; }
[<YamlDotNet.Serialization.YamlMember(Alias="httpHeaders")>]
member this.HttpHeaders : System.Collections.Generic.List<Aspire.Hosting.Kubernetes.Resources.HttpHeaderV1>
Public ReadOnly Property HttpHeaders As List(Of HttpHeaderV1)

Property Value

Attributes
YamlDotNet.Serialization.YamlMemberAttribute

Remarks

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.

Applies to