Class: Azure::Network::Mgmt::V2020_04_01::Models::ProtocolCustomSettingsFormat
- Inherits:
-
Object
- Object
- Azure::Network::Mgmt::V2020_04_01::Models::ProtocolCustomSettingsFormat
- Includes:
- MsRestAzure
- Defined in:
- lib/2020-04-01/generated/azure_mgmt_network/models/protocol_custom_settings_format.rb
Overview
DDoS custom policy properties.
Instance Attribute Summary collapse
-
#protocol ⇒ DdosCustomPolicyProtocol
protection policy is being customized.
-
#source_rate_override ⇒ String
The customized DDoS protection source rate.
-
#trigger_rate_override ⇒ String
The customized DDoS protection trigger rate.
-
#trigger_sensitivity_override ⇒ DdosCustomPolicyTriggerSensitivityOverride
DDoS protection trigger rate sensitivity degrees.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for ProtocolCustomSettingsFormat class as Ruby Hash.
Instance Attribute Details
#protocol ⇒ DdosCustomPolicyProtocol
protection policy is being customized. Possible values include: ‘Tcp’, ‘Udp’, ‘Syn’
18 19 20 |
# File 'lib/2020-04-01/generated/azure_mgmt_network/models/protocol_custom_settings_format.rb', line 18 def protocol @protocol end |
#source_rate_override ⇒ String
Returns The customized DDoS protection source rate.
24 25 26 |
# File 'lib/2020-04-01/generated/azure_mgmt_network/models/protocol_custom_settings_format.rb', line 24 def source_rate_override @source_rate_override end |
#trigger_rate_override ⇒ String
Returns The customized DDoS protection trigger rate.
21 22 23 |
# File 'lib/2020-04-01/generated/azure_mgmt_network/models/protocol_custom_settings_format.rb', line 21 def trigger_rate_override @trigger_rate_override end |
#trigger_sensitivity_override ⇒ DdosCustomPolicyTriggerSensitivityOverride
DDoS protection trigger rate sensitivity degrees. High: Trigger rate set with most sensitivity w.r.t. normal traffic. Default: Trigger rate set with moderate sensitivity w.r.t. normal traffic. Low: Trigger rate set with less sensitivity w.r.t. normal traffic. Relaxed: Trigger rate set with least sensitivity w.r.t. normal traffic. Possible values include: ‘Relaxed’, ‘Low’, ‘Default’, ‘High’
33 34 35 |
# File 'lib/2020-04-01/generated/azure_mgmt_network/models/protocol_custom_settings_format.rb', line 33 def trigger_sensitivity_override @trigger_sensitivity_override end |
Class Method Details
.mapper ⇒ Object
Mapper for ProtocolCustomSettingsFormat class as Ruby Hash. This will be used for serialization/deserialization.
40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 |
# File 'lib/2020-04-01/generated/azure_mgmt_network/models/protocol_custom_settings_format.rb', line 40 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'ProtocolCustomSettingsFormat', type: { name: 'Composite', class_name: 'ProtocolCustomSettingsFormat', model_properties: { protocol: { client_side_validation: true, required: false, serialized_name: 'protocol', type: { name: 'String' } }, trigger_rate_override: { client_side_validation: true, required: false, serialized_name: 'triggerRateOverride', type: { name: 'String' } }, source_rate_override: { client_side_validation: true, required: false, serialized_name: 'sourceRateOverride', type: { name: 'String' } }, trigger_sensitivity_override: { client_side_validation: true, required: false, serialized_name: 'triggerSensitivityOverride', type: { name: 'String' } } } } } end |