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. Serialized Name: RampUpRule

public class RampUpRule : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.AppService.Models.RampUpRule>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.AppService.Models.RampUpRule>
type RampUpRule = class
    interface IJsonModel<RampUpRule>
    interface IPersistableModel<RampUpRule>
Public Class RampUpRule
Implements IJsonModel(Of RampUpRule), IPersistableModel(Of RampUpRule)
Inheritance
RampUpRule
Implements

Constructors

Name Description
RampUpRule()

Initializes a new instance of RampUpRule.

Properties

Name Description
ActionHostName

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

ChangeDecisionCallbackUri

Custom decision algorithm can be provided in TiPCallback site extension which URL can be specified. Serialized Name: RampUpRule.changeDecisionCallbackUrl

ChangeIntervalInMinutes

Specifies interval in minutes to reevaluate ReroutePercentage. Serialized Name: RampUpRule.changeIntervalInMinutes

ChangeStep

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

MaxReroutePercentage

Specifies upper boundary below which ReroutePercentage will stay. Serialized Name: RampUpRule.maxReroutePercentage

MinReroutePercentage

Specifies lower boundary above which ReroutePercentage will stay. Serialized Name: RampUpRule.minReroutePercentage

Name

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

ReroutePercentage

Percentage of the traffic which will be redirected to <code>ActionHostName</code>. Serialized Name: RampUpRule.reroutePercentage

Methods

Name Description
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

Name Description
IJsonModel<RampUpRule>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<RampUpRule>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<RampUpRule>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<RampUpRule>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<RampUpRule>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to