Share via


RampUpRule Class

Definition

Routing rules for ramp up testing. This rule allows to redirect static traffic % to a slot or to gradually change routing % based on performance.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20231201.RampUpRuleTypeConverter))]
public class RampUpRule : Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20231201.IRampUpRule
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20231201.RampUpRuleTypeConverter))>]
type RampUpRule = class
    interface IRampUpRule
    interface IJsonSerializable
Public Class RampUpRule
Implements IRampUpRule
Inheritance
RampUpRule
Attributes
Implements

Constructors

RampUpRule()

Creates an new RampUpRule instance.

Properties

ActionHostName

Hostname of a slot to which the traffic will be redirected if decided to. E.g. myapp-stage.azurewebsites.net.

ChangeDecisionCallbackUrl

Custom decision algorithm can be provided in TiPCallback site extension which URL can be specified. See TiPCallback site extension for the scaffold and contracts. https://www.siteextensions.net/packages/TiPCallback/

ChangeIntervalInMinute

Specifies interval in minutes to reevaluate ReroutePercentage.

ChangeStep

In auto ramp up scenario this is the step to add/remove from ReroutePercentage until it reaches \nMinReroutePercentage or MaxReroutePercentage. Site metrics are checked every N minutes specified in ChangeIntervalInMinutes.\nCustom decision algorithm can be provided in TiPCallback site extension which URL can be specified in ChangeDecisionCallbackUrl.

MaxReroutePercentage

Specifies upper boundary below which ReroutePercentage will stay.

MinReroutePercentage

Specifies lower boundary above which ReroutePercentage will stay.

Name

Name of the routing rule. The recommended name would be to point to the slot which will receive the traffic in the experiment.

ReroutePercentage

Percentage of the traffic which will be redirected to ActionHostName.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of RampUpRule.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of RampUpRule.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20231201.IRampUpRule.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of RampUpRule into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to