ArmCdnModelFactory.ServerPortMatchCondition Method

Definition

Defines the parameters for ServerPort match conditions.

public static Azure.ResourceManager.Cdn.Models.ServerPortMatchCondition ServerPortMatchCondition(Azure.ResourceManager.Cdn.Models.ServerPortOperator serverPortOperator = default, bool? negateCondition = default, System.Collections.Generic.IEnumerable<string> matchValues = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Cdn.Models.PreTransformCategory> transforms = default);
static member ServerPortMatchCondition : Azure.ResourceManager.Cdn.Models.ServerPortOperator * Nullable<bool> * seq<string> * seq<Azure.ResourceManager.Cdn.Models.PreTransformCategory> -> Azure.ResourceManager.Cdn.Models.ServerPortMatchCondition
Public Shared Function ServerPortMatchCondition (Optional serverPortOperator As ServerPortOperator = Nothing, Optional negateCondition As Nullable(Of Boolean) = Nothing, Optional matchValues As IEnumerable(Of String) = Nothing, Optional transforms As IEnumerable(Of PreTransformCategory) = Nothing) As ServerPortMatchCondition

Parameters

serverPortOperator
ServerPortOperator

Describes operator to be matched.

negateCondition
Nullable<Boolean>

Describes if this is negate condition or not.

matchValues
IEnumerable<String>

The match value for the condition of the delivery rule.

transforms
IEnumerable<PreTransformCategory>

List of transforms.

Returns

A new ServerPortMatchCondition instance for mocking.

Applies to