你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

RampUpRule Class

  • java.lang.Object
    • com.microsoft.azure.management.appservice.RampUpRule

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.

RampUpRule withActionHostName(String actionHostName)

Set the actionHostName value.

RampUpRule withChangeDecisionCallbackUrl(String changeDecisionCallbackUrl)

Set the changeDecisionCallbackUrl value.

RampUpRule withChangeIntervalInMinutes(Integer changeIntervalInMinutes)

Set the changeIntervalInMinutes value.

RampUpRule withChangeStep(Double changeStep)

Set the changeStep value.

RampUpRule withMaxReroutePercentage(Double maxReroutePercentage)

Set the maxReroutePercentage value.

RampUpRule withMinReroutePercentage(Double minReroutePercentage)

Set the minReroutePercentage value.

RampUpRule withName(String name)

Set the name value.

RampUpRule withReroutePercentage(Double reroutePercentage)

Set the reroutePercentage value.

Method Details

actionHostName

public String actionHostName()

Get the actionHostName value.

Returns:

the actionHostName value

changeDecisionCallbackUrl

public String changeDecisionCallbackUrl()

Get the changeDecisionCallbackUrl value.

Returns:

the changeDecisionCallbackUrl value

changeIntervalInMinutes

public Integer changeIntervalInMinutes()

Get the changeIntervalInMinutes value.

Returns:

the changeIntervalInMinutes value

changeStep

public Double changeStep()

Get the changeStep value.

Returns:

the changeStep value

maxReroutePercentage

public Double maxReroutePercentage()

Get the maxReroutePercentage value.

Returns:

the maxReroutePercentage value

minReroutePercentage

public Double minReroutePercentage()

Get the minReroutePercentage value.

Returns:

the minReroutePercentage value

name

public String name()

Get the name value.

Returns:

the name value

reroutePercentage

public Double reroutePercentage()

Get the reroutePercentage value.

Returns:

the reroutePercentage value

withActionHostName

public RampUpRule withActionHostName(String actionHostName)

Set the actionHostName value.

Parameters:

actionHostName - the actionHostName value to set

Returns:

the RampUpRule object itself.

withChangeDecisionCallbackUrl

public RampUpRule withChangeDecisionCallbackUrl(String changeDecisionCallbackUrl)

Set the changeDecisionCallbackUrl value.

Parameters:

changeDecisionCallbackUrl - the changeDecisionCallbackUrl value to set

Returns:

the RampUpRule object itself.

withChangeIntervalInMinutes

public RampUpRule withChangeIntervalInMinutes(Integer changeIntervalInMinutes)

Set the changeIntervalInMinutes value.

Parameters:

changeIntervalInMinutes - the changeIntervalInMinutes value to set

Returns:

the RampUpRule object itself.

withChangeStep

public RampUpRule withChangeStep(Double changeStep)

Set the changeStep value.

Parameters:

changeStep - the changeStep value to set

Returns:

the RampUpRule object itself.

withMaxReroutePercentage

public RampUpRule withMaxReroutePercentage(Double maxReroutePercentage)

Set the maxReroutePercentage value.

Parameters:

maxReroutePercentage - the maxReroutePercentage value to set

Returns:

the RampUpRule object itself.

withMinReroutePercentage

public RampUpRule withMinReroutePercentage(Double minReroutePercentage)

Set the minReroutePercentage value.

Parameters:

minReroutePercentage - the minReroutePercentage value to set

Returns:

the RampUpRule object itself.

withName

public RampUpRule withName(String name)

Set the name value.

Parameters:

name - the name value to set

Returns:

the RampUpRule object itself.

withReroutePercentage

public RampUpRule withReroutePercentage(Double reroutePercentage)

Set the reroutePercentage value.

Parameters:

reroutePercentage - the reroutePercentage value to set

Returns:

the RampUpRule object itself.

Applies to