你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
RampUpRule Class
- java.
lang. Object - com.
microsoft. azure. management. appservice. RampUpRule
- com.
public class 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.
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
actionHostName()
Get the actionHostName value. |
String |
changeDecisionCallbackUrl()
Get the changeDecisionCallbackUrl value. |
Integer |
changeIntervalInMinutes()
Get the changeIntervalInMinutes value. |
Double |
changeStep()
Get the changeStep value. |
Double |
maxReroutePercentage()
Get the maxReroutePercentage value. |
Double |
minReroutePercentage()
Get the minReroutePercentage value. |
String |
name()
Get the name value. |
Double |
reroutePercentage()
Get the reroutePercentage value. |
Ramp |
withActionHostName(String actionHostName)
Set the actionHostName value. |
Ramp |
withChangeDecisionCallbackUrl(String changeDecisionCallbackUrl)
Set the changeDecisionCallbackUrl value. |
Ramp |
withChangeIntervalInMinutes(Integer changeIntervalInMinutes)
Set the changeIntervalInMinutes value. |
Ramp |
withChangeStep(Double changeStep)
Set the changeStep value. |
Ramp |
withMaxReroutePercentage(Double maxReroutePercentage)
Set the maxReroutePercentage value. |
Ramp |
withMinReroutePercentage(Double minReroutePercentage)
Set the minReroutePercentage value. |
Ramp |
withName(String name)
Set the name value. |
Ramp |
withReroutePercentage(Double reroutePercentage)
Set the reroutePercentage value. |
Method Details
actionHostName
public String actionHostName()
Get the actionHostName value.
Returns:
changeDecisionCallbackUrl
public String changeDecisionCallbackUrl()
Get the changeDecisionCallbackUrl value.
Returns:
changeIntervalInMinutes
public Integer changeIntervalInMinutes()
Get the changeIntervalInMinutes value.
Returns:
changeStep
public Double changeStep()
Get the changeStep value.
Returns:
maxReroutePercentage
public Double maxReroutePercentage()
Get the maxReroutePercentage value.
Returns:
minReroutePercentage
public Double minReroutePercentage()
Get the minReroutePercentage value.
Returns:
name
public String name()
Get the name value.
Returns:
reroutePercentage
public Double reroutePercentage()
Get the reroutePercentage value.
Returns:
withActionHostName
public RampUpRule withActionHostName(String actionHostName)
Set the actionHostName value.
Parameters:
Returns:
withChangeDecisionCallbackUrl
public RampUpRule withChangeDecisionCallbackUrl(String changeDecisionCallbackUrl)
Set the changeDecisionCallbackUrl value.
Parameters:
Returns:
withChangeIntervalInMinutes
public RampUpRule withChangeIntervalInMinutes(Integer changeIntervalInMinutes)
Set the changeIntervalInMinutes value.
Parameters:
Returns:
withChangeStep
public RampUpRule withChangeStep(Double changeStep)
Set the changeStep value.
Parameters:
Returns:
withMaxReroutePercentage
public RampUpRule withMaxReroutePercentage(Double maxReroutePercentage)
Set the maxReroutePercentage value.
Parameters:
Returns:
withMinReroutePercentage
public RampUpRule withMinReroutePercentage(Double minReroutePercentage)
Set the minReroutePercentage value.
Parameters:
Returns:
withName
public RampUpRule withName(String name)
Set the name value.
Parameters:
Returns:
withReroutePercentage
public RampUpRule withReroutePercentage(Double reroutePercentage)
Set the reroutePercentage value.
Parameters:
Returns: