class Azure::Network::Mgmt::V2019_06_01::Models::ProtocolCustomSettingsFormat

DDoS custom policy properties.

Attributes

protocol[RW]

@return [DdosCustomPolicyProtocol] The protocol for which the DDoS protection policy is being customized. Possible values include: 'Tcp', 'Udp', 'Syn'

source_rate_override[RW]

@return [String] The customized DDoS protection source rate.

trigger_rate_override[RW]

@return [String] The customized DDoS protection trigger rate.

trigger_sensitivity_override[RW]

@return [DdosCustomPolicyTriggerSensitivityOverride] The customized 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'

Private Class Methods

mapper() click to toggle source

Mapper for ProtocolCustomSettingsFormat class as Ruby Hash. This will be used for serialization/deserialization.

# File lib/2019-06-01/generated/azure_mgmt_network/models/protocol_custom_settings_format.rb, line 39
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