class Azure::Network::Mgmt::V2017_03_30::Models::DdosSettings

Contains the DDoS protection settings of the public IP.

Attributes

ddos_custom_policy[RW]

@return [SubResource] The DDoS custom policy associated with the public IP.

protection_coverage[RW]

@return [DdosSettingsProtectionCoverage] The DDoS protection policy customizability of the public IP. Only standard coverage will have the ability to be customized. Possible values include: 'Basic', 'Standard'

Private Class Methods

mapper() click to toggle source

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

# File lib/2017-03-30/generated/azure_mgmt_network/models/ddos_settings.rb, line 29
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'DdosSettings',
    type: {
      name: 'Composite',
      class_name: 'DdosSettings',
      model_properties: {
        ddos_custom_policy: {
          client_side_validation: true,
          required: false,
          serialized_name: 'ddosCustomPolicy',
          type: {
            name: 'Composite',
            class_name: 'SubResource'
          }
        },
        protection_coverage: {
          client_side_validation: true,
          required: false,
          serialized_name: 'protectionCoverage',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end