public final class RampUpRule extends Object
| Constructor and Description |
|---|
RampUpRule() |
| Modifier and Type | Method and Description |
|---|---|
String |
actionHostname()
Get the actionHostname property: Hostname of a slot to which the traffic will be redirected if decided to.
|
String |
changeDecisionCallbackUrl()
Get the changeDecisionCallbackUrl property: Custom decision algorithm can be provided in TiPCallback site
extension which URL can be specified.
|
Integer |
changeIntervalInMinutes()
Get the changeIntervalInMinutes property: Specifies interval in minutes to reevaluate ReroutePercentage.
|
Double |
changeStep()
Get the changeStep property: 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>.
|
Double |
maxReroutePercentage()
Get the maxReroutePercentage property: Specifies upper boundary below which ReroutePercentage will stay.
|
Double |
minReroutePercentage()
Get the minReroutePercentage property: Specifies lower boundary above which ReroutePercentage will stay.
|
String |
name()
Get the name property: Name of the routing rule.
|
Double |
reroutePercentage()
Get the reroutePercentage property: Percentage of the traffic which will be redirected to
<code>ActionHostName</code>.
|
void |
validate()
Validates the instance.
|
RampUpRule |
withActionHostname(String actionHostname)
Set the actionHostname property: Hostname of a slot to which the traffic will be redirected if decided to.
|
RampUpRule |
withChangeDecisionCallbackUrl(String changeDecisionCallbackUrl)
Set the changeDecisionCallbackUrl property: Custom decision algorithm can be provided in TiPCallback site
extension which URL can be specified.
|
RampUpRule |
withChangeIntervalInMinutes(Integer changeIntervalInMinutes)
Set the changeIntervalInMinutes property: Specifies interval in minutes to reevaluate ReroutePercentage.
|
RampUpRule |
withChangeStep(Double changeStep)
Set the changeStep property: 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>.
|
RampUpRule |
withMaxReroutePercentage(Double maxReroutePercentage)
Set the maxReroutePercentage property: Specifies upper boundary below which ReroutePercentage will stay.
|
RampUpRule |
withMinReroutePercentage(Double minReroutePercentage)
Set the minReroutePercentage property: Specifies lower boundary above which ReroutePercentage will stay.
|
RampUpRule |
withName(String name)
Set the name property: Name of the routing rule.
|
RampUpRule |
withReroutePercentage(Double reroutePercentage)
Set the reroutePercentage property: Percentage of the traffic which will be redirected to
<code>ActionHostName</code>.
|
public String actionHostname()
public RampUpRule withActionHostname(String actionHostname)
actionHostname - the actionHostname value to set.public Double reroutePercentage()
public RampUpRule withReroutePercentage(Double reroutePercentage)
reroutePercentage - the reroutePercentage value to set.public Double changeStep()
public RampUpRule withChangeStep(Double changeStep)
changeStep - the changeStep value to set.public Integer changeIntervalInMinutes()
public RampUpRule withChangeIntervalInMinutes(Integer changeIntervalInMinutes)
changeIntervalInMinutes - the changeIntervalInMinutes value to set.public Double minReroutePercentage()
public RampUpRule withMinReroutePercentage(Double minReroutePercentage)
minReroutePercentage - the minReroutePercentage value to set.public Double maxReroutePercentage()
public RampUpRule withMaxReroutePercentage(Double maxReroutePercentage)
maxReroutePercentage - the maxReroutePercentage value to set.public String changeDecisionCallbackUrl()
public RampUpRule withChangeDecisionCallbackUrl(String changeDecisionCallbackUrl)
changeDecisionCallbackUrl - the changeDecisionCallbackUrl value to set.public String name()
public RampUpRule withName(String name)
name - the name value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.