Class: Azure::Network::Mgmt::V2019_11_01::Models::ManagedRuleOverride

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

Overview

Defines a managed rule group override setting.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#rule_idString

Returns Identifier for the managed rule.

Returns:

  • (String)

    Identifier for the managed rule.


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

def rule_id
  @rule_id
end

#stateManagedRuleEnabledState

Defaults to Disabled if not specified. Possible values include: 'Disabled'

Returns:


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

def state
  @state
end

Class Method Details

.mapperObject

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


28
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
# File 'lib/2019-11-01/generated/azure_mgmt_network/models/managed_rule_override.rb', line 28

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ManagedRuleOverride',
    type: {
      name: 'Composite',
      class_name: 'ManagedRuleOverride',
      model_properties: {
        rule_id: {
          client_side_validation: true,
          required: true,
          serialized_name: 'ruleId',
          type: {
            name: 'String'
          }
        },
        state: {
          client_side_validation: true,
          required: false,
          serialized_name: 'state',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end