Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

MatchCondition Class

Definition

Namespace:
Microsoft.Azure.PowerShell.Cmdlets.FrontDoor.Models
Assembly:
Az.FrontDoor.private.dll

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.

Define a match condition.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.FrontDoor.Models.MatchConditionTypeConverter))]
public class MatchCondition : Microsoft.Azure.PowerShell.Cmdlets.FrontDoor.Models.IMatchCondition
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.FrontDoor.Models.MatchConditionTypeConverter))>]
type MatchCondition = class
 interface IMatchCondition
 interface IJsonSerializable
Public Class MatchCondition
Implements IMatchCondition
Inheritance
MatchCondition
Attributes
Implements

Constructors

Name Description
MatchCondition()

Creates an new MatchCondition instance.

Properties

Name Description
MatchValue

List of possible match values.

MatchVariable

Request variable to compare with.

NegateCondition

Describes if the result of this condition should be negated.

OperatorProperty

Comparison type to use for matching with the variable value.

Selector

Match against a specific key from the QueryString, PostArgs, RequestHeader or Cookies variables. Default is null.

Transform

List of transforms.

Methods

Name Description
DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of MatchCondition.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of MatchCondition.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.FrontDoor.Models.IMatchCondition.

FromJsonString(String)

Creates a new instance of MatchCondition, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of MatchCondition into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to