class Azure::Web::Mgmt::V2015_04_01::Models::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.
Attributes
@return [String] Hostname of a slot to which the traffic will be redirected if decided to. E.g. myapp-stage.azurewebsites.net.
@return [String] Custom decision algorithm can be provided in TiPCallback site extension which URL can be specified. See TiPCallback site extension for the scaffold and contracts. www.siteextensions.net/packages/TiPCallback/
@return [Integer] Specifies interval in mimuntes to reevaluate ReroutePercentage.
@return [Float] In auto ramp up scenario this is the step to to add/remove from ReroutePercentage
until it reaches MinReroutePercentage
or MaxReroutePercentage
. Site
metrics are checked every N minutes specificed in ChangeIntervalInMinutes
. Custom decision algorithm can be provided in TiPCallback site extension which URL can be specified in ChangeDecisionCallbackUrl
.
@return [Float] Specifies upper boundary below which ReroutePercentage will stay.
@return [Float] Specifies lower boundary above which ReroutePercentage will stay.
@return [String] Name of the routing rule. The recommended name would be to point to the slot which will receive the traffic in the experiment.
@return [Float] Percentage of the traffic which will be redirected to ActionHostName
.
Public Class Methods
Mapper for RampUpRule
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2015-04-01/generated/azure_mgmt_web/models/ramp_up_rule.rb, line 62 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'RampUpRule', type: { name: 'Composite', class_name: 'RampUpRule', model_properties: { action_host_name: { client_side_validation: true, required: false, serialized_name: 'actionHostName', type: { name: 'String' } }, reroute_percentage: { client_side_validation: true, required: false, serialized_name: 'reroutePercentage', type: { name: 'Double' } }, change_step: { client_side_validation: true, required: false, serialized_name: 'changeStep', type: { name: 'Double' } }, change_interval_in_minutes: { client_side_validation: true, required: false, serialized_name: 'changeIntervalInMinutes', type: { name: 'Number' } }, min_reroute_percentage: { client_side_validation: true, required: false, serialized_name: 'minReroutePercentage', type: { name: 'Double' } }, max_reroute_percentage: { client_side_validation: true, required: false, serialized_name: 'maxReroutePercentage', type: { name: 'Double' } }, change_decision_callback_url: { client_side_validation: true, required: false, serialized_name: 'changeDecisionCallbackUrl', type: { name: 'String' } }, name: { client_side_validation: true, required: false, serialized_name: 'name', type: { name: 'String' } } } } } end