Lingua

ArmContainerServiceFleetModelFactory.IdentityBindingLabelSelector Method

Definition

A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects.

public static Azure.ResourceManager.ContainerServiceFleet.Models.IdentityBindingLabelSelector IdentityBindingLabelSelector(System.Collections.Generic.IEnumerable<string> matchLabels = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.ContainerServiceFleet.Models.IdentityBindingLabelSelectorRequirement> matchExpressions = default);
static member IdentityBindingLabelSelector : seq<string> * seq<Azure.ResourceManager.ContainerServiceFleet.Models.IdentityBindingLabelSelectorRequirement> -> Azure.ResourceManager.ContainerServiceFleet.Models.IdentityBindingLabelSelector
Public Shared Function IdentityBindingLabelSelector (Optional matchLabels As IEnumerable(Of String) = Nothing, Optional matchExpressions As IEnumerable(Of IdentityBindingLabelSelectorRequirement) = Nothing) As IdentityBindingLabelSelector

Parameters

matchLabels
IEnumerable<String>

matchLabels is an array of {key=value} pairs. A single {key=value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is key, the operator is In, and the values array contains only value. The requirements are ANDed.

matchExpressions
IEnumerable<IdentityBindingLabelSelectorRequirement>

matchExpressions is a list of label selector requirements. The requirements are ANDed.

Returns

A new IdentityBindingLabelSelector instance for mocking.

Applies to