Class RampUpRule
java.lang.Object
com.microsoft.azure.management.appservice.RampUpRule
Routing rules for ramp up testing. This rule allows to redirect static
 traffic % to a slot or to gradually change routing % based on performance.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionGet hostname of a slot to which the traffic will be redirected if decided to.Get custom decision algorithm can be provided in TiPCallback site extension which URL can be specified.Get specifies interval in minutes to reevaluate ReroutePercentage.Get 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>.Get specifies upper boundary below which ReroutePercentage will stay.Get specifies lower boundary above which ReroutePercentage will stay.name()Get name of the routing rule.Get percentage of the traffic which will be redirected to <code>ActionHostName</code>.withActionHostName(String actionHostName) Set hostname of a slot to which the traffic will be redirected if decided to.withChangeDecisionCallbackUrl(String changeDecisionCallbackUrl) Set custom decision algorithm can be provided in TiPCallback site extension which URL can be specified.withChangeIntervalInMinutes(Integer changeIntervalInMinutes) Set specifies interval in minutes to reevaluate ReroutePercentage.withChangeStep(Double changeStep) Set 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>.withMaxReroutePercentage(Double maxReroutePercentage) Set specifies upper boundary below which ReroutePercentage will stay.withMinReroutePercentage(Double minReroutePercentage) Set specifies lower boundary above which ReroutePercentage will stay.Set name of the routing rule.withReroutePercentage(Double reroutePercentage) Set percentage of the traffic which will be redirected to <code>ActionHostName</code>.
- 
Constructor Details- 
RampUpRulepublic RampUpRule()
 
- 
- 
Method Details- 
actionHostNameGet hostname of a slot to which the traffic will be redirected if decided to. E.g. myapp-stage.azurewebsites.net.- Returns:
- the actionHostName value
 
- 
withActionHostNameSet hostname of a slot to which the traffic will be redirected if decided to. E.g. myapp-stage.azurewebsites.net.- Parameters:
- actionHostName- the actionHostName value to set
- Returns:
- the RampUpRule object itself.
 
- 
reroutePercentageGet percentage of the traffic which will be redirected to <code>ActionHostName</code>.- Returns:
- the reroutePercentage value
 
- 
withReroutePercentageSet percentage of the traffic which will be redirected to <code>ActionHostName</code>.- Parameters:
- reroutePercentage- the reroutePercentage value to set
- Returns:
- the RampUpRule object itself.
 
- 
changeStepGet 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>.- Returns:
- the changeStep value
 
- 
withChangeStepSet 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>.- Parameters:
- changeStep- the changeStep value to set
- Returns:
- the RampUpRule object itself.
 
- 
changeIntervalInMinutesGet specifies interval in minutes to reevaluate ReroutePercentage.- Returns:
- the changeIntervalInMinutes value
 
- 
withChangeIntervalInMinutesSet specifies interval in minutes to reevaluate ReroutePercentage.- Parameters:
- changeIntervalInMinutes- the changeIntervalInMinutes value to set
- Returns:
- the RampUpRule object itself.
 
- 
minReroutePercentageGet specifies lower boundary above which ReroutePercentage will stay.- Returns:
- the minReroutePercentage value
 
- 
withMinReroutePercentageSet specifies lower boundary above which ReroutePercentage will stay.- Parameters:
- minReroutePercentage- the minReroutePercentage value to set
- Returns:
- the RampUpRule object itself.
 
- 
maxReroutePercentageGet specifies upper boundary below which ReroutePercentage will stay.- Returns:
- the maxReroutePercentage value
 
- 
withMaxReroutePercentageSet specifies upper boundary below which ReroutePercentage will stay.- Parameters:
- maxReroutePercentage- the maxReroutePercentage value to set
- Returns:
- the RampUpRule object itself.
 
- 
changeDecisionCallbackUrlGet 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/.- Returns:
- the changeDecisionCallbackUrl value
 
- 
withChangeDecisionCallbackUrlSet 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/.- Parameters:
- changeDecisionCallbackUrl- the changeDecisionCallbackUrl value to set
- Returns:
- the RampUpRule object itself.
 
- 
nameGet name of the routing rule. The recommended name would be to point to the slot which will receive the traffic in the experiment.- Returns:
- the name value
 
- 
withNameSet name of the routing rule. The recommended name would be to point to the slot which will receive the traffic in the experiment.- Parameters:
- name- the name value to set
- Returns:
- the RampUpRule object itself.
 
 
-