LabelSelectorAttributesV1
Class sealed net10.0
Represents the attributes used for label selection in Kubernetes resources.
namespace Aspire.Hosting.Kubernetes.Resources;
public sealed class LabelSelectorAttributesV1{ // ...}Constructors1
Section titled ConstructorsProperties2
Section titled PropertiesRawSelectorget; setstring Gets or sets the raw string representation of a label selector. This property allows defining label selection criteria in a raw textual format, which can be used to match resources based on their label key-value pairs.
Requirementsget Represents the collection of label selector requirements associated with this object. Each requirement is a key-value pair that defines a rule for selecting Kubernetes resources based on their labels.