PlacementConstraint Class
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.
A placement constraint defines requirements for where pipeline group instances can be scheduled.
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Monitor.PipelineGroup.Models.PlacementConstraintTypeConverter))]
public class PlacementConstraint : Microsoft.Azure.PowerShell.Cmdlets.Monitor.PipelineGroup.Models.IPlacementConstraint
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Monitor.PipelineGroup.Models.PlacementConstraintTypeConverter))>]
type PlacementConstraint = class
interface IPlacementConstraint
interface IJsonSerializable
Public Class PlacementConstraint
Implements IPlacementConstraint
- Inheritance
-
PlacementConstraint
- Attributes
- Implements
Constructors
| Name | Description |
|---|---|
| PlacementConstraint() |
Creates an new PlacementConstraint instance. |
Properties
| Name | Description |
|---|---|
| Capability |
The capability or attribute key used to match compute unit properties. |
| Operator |
The match operator, e.g., In, NotIn, Exists, DoesNotExist. |
| Value |
The values to match against. Not required for Exists/DoesNotExist. |
Methods
| Name | Description |
|---|---|
| DeserializeFromDictionary(IDictionary) |
Deserializes a IDictionary into an instance of PlacementConstraint. |
| DeserializeFromPSObject(PSObject) |
Deserializes a PSObject into an instance of PlacementConstraint. |
| FromJson(JsonNode) |
Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Monitor.PipelineGroup.Models.IPlacementConstraint. |
| FromJsonString(String) |
Creates a new instance of PlacementConstraint, deserializing the content from a json string. |
| ToJson(JsonObject, SerializationMode) |
Serializes this instance of PlacementConstraint into a JsonNode. |
| ToJsonString() |
Serializes this instance to a json string. |
| ToString() | |