Sprog

ArmContainerServiceFleetModelFactory.ContainerServiceFleetLabelSelectorRequirementPatch Method

Definition

A label selector requirement that can be patched.

public static Azure.ResourceManager.ContainerServiceFleet.Models.ContainerServiceFleetLabelSelectorRequirementPatch ContainerServiceFleetLabelSelectorRequirementPatch(string key = default, Azure.ResourceManager.ContainerServiceFleet.Models.ContainerServiceFleetLabelSelectorOperator? operator = default, System.Collections.Generic.IEnumerable<string> values = default);
static member ContainerServiceFleetLabelSelectorRequirementPatch : string * Nullable<Azure.ResourceManager.ContainerServiceFleet.Models.ContainerServiceFleetLabelSelectorOperator> * seq<string> -> Azure.ResourceManager.ContainerServiceFleet.Models.ContainerServiceFleetLabelSelectorRequirementPatch
Public Shared Function ContainerServiceFleetLabelSelectorRequirementPatch (Optional key As String = Nothing, Optional operator As Nullable(Of ContainerServiceFleetLabelSelectorOperator) = Nothing, Optional values As IEnumerable(Of String) = Nothing) As ContainerServiceFleetLabelSelectorRequirementPatch

Parameters

key
String

key is the label key that the selector applies to.

operator
Nullable<ContainerServiceFleetLabelSelectorOperator>

operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist.

values
IEnumerable<String>

values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch.

Returns

A new ContainerServiceFleetLabelSelectorRequirementPatch instance for mocking.

Applies to