共用方式為


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.

public class RampUpRule
type RampUpRule = class
Public Class RampUpRule
Inheritance
RampUpRule

Constructors

RampUpRule()

Initializes a new instance of the RampUpRule class.

RampUpRule(String, Nullable<Double>, Nullable<Double>, Nullable<Int32>, Nullable<Double>, Nullable<Double>, String, String)

Initializes a new instance of the RampUpRule class.

Properties

ActionHostName

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

ChangeDecisionCallbackUrl

Gets or sets 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/

ChangeIntervalInMinutes

Gets or sets specifies interval in minutes to reevaluate ReroutePercentage.

ChangeStep

Gets or sets in auto ramp up scenario this is the step to add/remove from &lt;code&gt;ReroutePercentage&lt;/code&gt; until it reaches \n&lt;code&gt;MinReroutePercentage&lt;/code&gt; or &lt;code&gt;MaxReroutePercentage&lt;/code&gt;. Site metrics are checked every N minutes specified in &lt;code&gt;ChangeIntervalInMinutes&lt;/code&gt;.\nCustom decision algorithm can be provided in TiPCallback site extension which URL can be specified in &lt;code&gt;ChangeDecisionCallbackUrl&lt;/code&gt;.

MaxReroutePercentage

Gets or sets specifies upper boundary below which ReroutePercentage will stay.

MinReroutePercentage

Gets or sets specifies lower boundary above which ReroutePercentage will stay.

Name

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

ReroutePercentage

Gets or sets percentage of the traffic which will be redirected to &lt;code&gt;ActionHostName&lt;/code&gt;.

Applies to