class Azure::Network::Mgmt::V2019_04_01::Models::AzureFirewallApplicationRule

Properties of an application rule.

Attributes

description[RW]

@return [String] Description of the rule.

fqdn_tags[RW]

@return [Array<String>] List of FQDN Tags for this rule.

name[RW]

@return [String] Name of the application rule.

protocols[RW]

@return [Array<AzureFirewallApplicationRuleProtocol>] Array of ApplicationRuleProtocols.

source_addresses[RW]

@return [Array<String>] List of source IP addresses for this rule.

target_fqdns[RW]

@return [Array<String>] List of FQDNs for this rule.

Public Class Methods

mapper() click to toggle source

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

# File lib/2019-04-01/generated/azure_mgmt_network/models/azure_firewall_application_rule.rb, line 39
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'AzureFirewallApplicationRule',
    type: {
      name: 'Composite',
      class_name: 'AzureFirewallApplicationRule',
      model_properties: {
        name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'name',
          type: {
            name: 'String'
          }
        },
        description: {
          client_side_validation: true,
          required: false,
          serialized_name: 'description',
          type: {
            name: 'String'
          }
        },
        source_addresses: {
          client_side_validation: true,
          required: false,
          serialized_name: 'sourceAddresses',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'StringElementType',
                type: {
                  name: 'String'
                }
            }
          }
        },
        protocols: {
          client_side_validation: true,
          required: false,
          serialized_name: 'protocols',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'AzureFirewallApplicationRuleProtocolElementType',
                type: {
                  name: 'Composite',
                  class_name: 'AzureFirewallApplicationRuleProtocol'
                }
            }
          }
        },
        target_fqdns: {
          client_side_validation: true,
          required: false,
          serialized_name: 'targetFqdns',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'StringElementType',
                type: {
                  name: 'String'
                }
            }
          }
        },
        fqdn_tags: {
          client_side_validation: true,
          required: false,
          serialized_name: 'fqdnTags',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'StringElementType',
                type: {
                  name: 'String'
                }
            }
          }
        }
      }
    }
  }
end