Class: Azure::Network::Mgmt::V2019_12_01::Models::AzureFirewallNatRCAction

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

Overview

AzureFirewall NAT Rule Collection Action.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#typeAzureFirewallNatRCActionType

values include: 'Snat', 'Dnat'

Returns:


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

def type
  @type
end

Class Method Details

.mapperObject

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


24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# File 'lib/2019-12-01/generated/azure_mgmt_network/models/azure_firewall_nat_rcaction.rb', line 24

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