Class: Azure::Network::Mgmt::V2019_08_01::Models::DdosSettings
- Inherits:
-
Object
- Object
- Azure::Network::Mgmt::V2019_08_01::Models::DdosSettings
- Includes:
- MsRestAzure
- Defined in:
- lib/2019-08-01/generated/azure_mgmt_network/models/ddos_settings.rb
Overview
Contains the DDoS protection settings of the public IP.
Instance Attribute Summary collapse
-
#ddos_custom_policy ⇒ SubResource
IP.
-
#protection_coverage ⇒ DdosSettingsProtectionCoverage
customizability of the public IP.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for DdosSettings class as Ruby Hash.
Instance Attribute Details
#ddos_custom_policy ⇒ SubResource
IP.
17 18 19 |
# File 'lib/2019-08-01/generated/azure_mgmt_network/models/ddos_settings.rb', line 17 def ddos_custom_policy @ddos_custom_policy end |
#protection_coverage ⇒ DdosSettingsProtectionCoverage
customizability of the public IP. Only standard coverage will have the ability to be customized. Possible values include: ‘Basic’, ‘Standard’
22 23 24 |
# File 'lib/2019-08-01/generated/azure_mgmt_network/models/ddos_settings.rb', line 22 def protection_coverage @protection_coverage end |
Class Method Details
.mapper ⇒ Object
Mapper for DdosSettings class as Ruby Hash. This will be used for serialization/deserialization.
29 30 31 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 |
# File 'lib/2019-08-01/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 |