Class: Azure::Network::Mgmt::V2019_11_01::Models::DdosSettings

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2019-11-01/generated/azure_mgmt_network/models/ddos_settings.rb

Overview

Contains the DDoS protection settings of the public IP.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#ddos_custom_policySubResource

IP.

Returns:

  • (SubResource)

    The DDoS custom policy associated with the public


17
18
19
# File 'lib/2019-11-01/generated/azure_mgmt_network/models/ddos_settings.rb', line 17

def ddos_custom_policy
  @ddos_custom_policy
end

#protected_ipBoolean

Returns Enables DDoS protection on the public IP.

Returns:

  • (Boolean)

    Enables DDoS protection on the public IP.


25
26
27
# File 'lib/2019-11-01/generated/azure_mgmt_network/models/ddos_settings.rb', line 25

def protected_ip
  @protected_ip
end

#protection_coverageDdosSettingsProtectionCoverage

customizability of the public IP. Only standard coverage will have the ability to be customized. Possible values include: 'Basic', 'Standard'

Returns:


22
23
24
# File 'lib/2019-11-01/generated/azure_mgmt_network/models/ddos_settings.rb', line 22

def protection_coverage
  @protection_coverage
end

Class Method Details

.mapperObject

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


32
33
34
35
36
37
38
39
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
# File 'lib/2019-11-01/generated/azure_mgmt_network/models/ddos_settings.rb', line 32

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'
          }
        },
        protected_ip: {
          client_side_validation: true,
          required: false,
          serialized_name: 'protectedIP',
          type: {
            name: 'Boolean'
          }
        }
      }
    }
  }
end