Class: Azure::ARM::Web::Models::RampUpRule
- Inherits:
-
Object
- Object
- Azure::ARM::Web::Models::RampUpRule
- Includes:
- MsRestAzure
- Defined in:
- lib/generated/azure_mgmt_web/models/ramp_up_rule.rb
Overview
Routing rules for ramp up testing. This rule allows to redirect static traffic % to a slot or to gradually change routing % based on performance
Instance Attribute Summary collapse
-
#action_host_name ⇒ String
redirected if decided to.
-
#change_decision_callback_url ⇒ String
TiPCallback site extension which Url can be specified.
-
#change_interval_in_minutes ⇒ Integer
reevaluate ReroutePercentage.
-
#change_step ⇒ Float
to to add/remove from Microsoft.Web.Hosting.Administration.RampUpRule.ReroutePercentage until it reaches Microsoft.Web.Hosting.Administration.RampUpRule.MinReroutePercentage or Microsoft.Web.Hosting.Administration.RampUpRule.MaxReroutePercentage.
-
#max_reroute_percentage ⇒ Float
ReroutePercentage will stay.
-
#min_reroute_percentage ⇒ Float
ReroutePercentage will stay.
-
#name ⇒ String
be to point to the slot which will receive the traffic in the experiment.
-
#reroute_percentage ⇒ Float
Microsoft.Web.Hosting.Administration.RampUpRule.ActionHostName.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for RampUpRule class as Ruby Hash.
Instance Attribute Details
#action_host_name ⇒ String
redirected if decided to. E.g. mysite-stage.azurewebsites.net
19 20 21 |
# File 'lib/generated/azure_mgmt_web/models/ramp_up_rule.rb', line 19 def action_host_name @action_host_name end |
#change_decision_callback_url ⇒ String
TiPCallback site extension which Url can be specified. See TiPCallback site extension for the scaffold and contracts. www.siteextensions.net/packages/TiPCallback/
55 56 57 |
# File 'lib/generated/azure_mgmt_web/models/ramp_up_rule.rb', line 55 def change_decision_callback_url @change_decision_callback_url end |
#change_interval_in_minutes ⇒ Integer
reevaluate ReroutePercentage
41 42 43 |
# File 'lib/generated/azure_mgmt_web/models/ramp_up_rule.rb', line 41 def change_interval_in_minutes @change_interval_in_minutes end |
#change_step ⇒ Float
to to add/remove from Microsoft.Web.Hosting.Administration.RampUpRule.ReroutePercentage until it reaches Microsoft.Web.Hosting.Administration.RampUpRule.MinReroutePercentage or Microsoft.Web.Hosting.Administration.RampUpRule.MaxReroutePercentage. Site metrics are checked every N minutes specificed in Microsoft.Web.Hosting.Administration.RampUpRule.ChangeIntervalInMinutes. Custom decision algorithm can be provided in TiPCallback site extension which Url can be specified in Microsoft.Web.Hosting.Administration.RampUpRule.ChangeDecisionCallbackUrl
37 38 39 |
# File 'lib/generated/azure_mgmt_web/models/ramp_up_rule.rb', line 37 def change_step @change_step end |
#max_reroute_percentage ⇒ Float
ReroutePercentage will stay.
49 50 51 |
# File 'lib/generated/azure_mgmt_web/models/ramp_up_rule.rb', line 49 def max_reroute_percentage @max_reroute_percentage end |
#min_reroute_percentage ⇒ Float
ReroutePercentage will stay.
45 46 47 |
# File 'lib/generated/azure_mgmt_web/models/ramp_up_rule.rb', line 45 def min_reroute_percentage @min_reroute_percentage end |
#name ⇒ String
be to point to the slot which will receive the traffic in the experiment.
60 61 62 |
# File 'lib/generated/azure_mgmt_web/models/ramp_up_rule.rb', line 60 def name @name end |
#reroute_percentage ⇒ Float
Microsoft.Web.Hosting.Administration.RampUpRule.ActionHostName
23 24 25 |
# File 'lib/generated/azure_mgmt_web/models/ramp_up_rule.rb', line 23 def reroute_percentage @reroute_percentage end |
Class Method Details
.mapper ⇒ Object
Mapper for RampUpRule class as Ruby Hash. This will be used for serialization/deserialization.
67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 |
# File 'lib/generated/azure_mgmt_web/models/ramp_up_rule.rb', line 67 def self.mapper() { required: false, serialized_name: 'RampUpRule', type: { name: 'Composite', class_name: 'RampUpRule', model_properties: { action_host_name: { required: false, serialized_name: 'actionHostName', type: { name: 'String' } }, reroute_percentage: { required: false, serialized_name: 'reroutePercentage', type: { name: 'Double' } }, change_step: { required: false, serialized_name: 'changeStep', type: { name: 'Double' } }, change_interval_in_minutes: { required: false, serialized_name: 'changeIntervalInMinutes', type: { name: 'Number' } }, min_reroute_percentage: { required: false, serialized_name: 'minReroutePercentage', type: { name: 'Double' } }, max_reroute_percentage: { required: false, serialized_name: 'maxReroutePercentage', type: { name: 'Double' } }, change_decision_callback_url: { required: false, serialized_name: 'changeDecisionCallbackUrl', type: { name: 'String' } }, name: { required: false, serialized_name: 'name', type: { name: 'String' } } } } } end |