ContainerServiceFleetPropertySelectorRequirement Constructor

Definition

Initializes a new instance of ContainerServiceFleetPropertySelectorRequirement.

public ContainerServiceFleetPropertySelectorRequirement(string name, Azure.ResourceManager.ContainerServiceFleet.Models.ContainerServiceFleetPropertySelectorOperator operator, System.Collections.Generic.IEnumerable<string> values);
new Azure.ResourceManager.ContainerServiceFleet.Models.ContainerServiceFleetPropertySelectorRequirement : string * Azure.ResourceManager.ContainerServiceFleet.Models.ContainerServiceFleetPropertySelectorOperator * seq<string> -> Azure.ResourceManager.ContainerServiceFleet.Models.ContainerServiceFleetPropertySelectorRequirement
Public Sub New (name As String, operator As ContainerServiceFleetPropertySelectorOperator, values As IEnumerable(Of String))

Parameters

name
String

Name is the name of the property; it should be a Kubernetes label name.

operator
ContainerServiceFleetPropertySelectorOperator

Operator specifies the relationship between a cluster's observed value of the specified property and the values given in the requirement.

values
IEnumerable<String>

Values are a list of values of the specified property which Fleet will compare against the observed values of individual member clusters in accordance with the given operator. At this moment, each value should be a Kubernetes quantity. For more information, see https://pkg.go.dev/k8s.io/apimachinery/pkg/api/resource#Quantity. If the operator is Gt (greater than), Ge (greater than or equal to), Lt (less than), or Le (less than or equal to), Eq (equal to), or Ne (ne), exactly one value must be specified in the list.

Exceptions

name or values is null.

Applies to