ArmContainerServiceFleetModelFactory.ContainerServiceFleetLabelSelectorPatch Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The label selector settings that can be patched.
public static Azure.ResourceManager.ContainerServiceFleet.Models.ContainerServiceFleetLabelSelectorPatch ContainerServiceFleetLabelSelectorPatch(System.Collections.Generic.IDictionary<string,string> matchLabels = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.ContainerServiceFleet.Models.ContainerServiceFleetLabelSelectorRequirementPatch> matchExpressions = default);
static member ContainerServiceFleetLabelSelectorPatch : System.Collections.Generic.IDictionary<string, string> * seq<Azure.ResourceManager.ContainerServiceFleet.Models.ContainerServiceFleetLabelSelectorRequirementPatch> -> Azure.ResourceManager.ContainerServiceFleet.Models.ContainerServiceFleetLabelSelectorPatch
Public Shared Function ContainerServiceFleetLabelSelectorPatch (Optional matchLabels As IDictionary(Of String, String) = Nothing, Optional matchExpressions As IEnumerable(Of ContainerServiceFleetLabelSelectorRequirementPatch) = Nothing) As ContainerServiceFleetLabelSelectorPatch
Parameters
- matchLabels
- IDictionary<String,String>
matchLabels is a map 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<ContainerServiceFleetLabelSelectorRequirementPatch>
The label selector requirements that can be patched.
Returns
A new ContainerServiceFleetLabelSelectorPatch instance for mocking.