ArmCdnModelFactory.ServerPortMatchCondition 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.
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.
- 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.