RampUpRule Class
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.
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 : 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
RampUpRule() |
Initializes a new instance of RampUpRule. |
Properties
ActionHostName |
Hostname of a slot to which the traffic will be redirected if decided to. E.g. myapp-stage.azurewebsites.net. |
ChangeDecisionCallbackUri |
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 |
Specifies interval in minutes to reevaluate ReroutePercentage. |
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>. |
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 <code>ActionHostName</code>. |
Methods
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) |
Explicit Interface Implementations
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
Azure SDK for .NET