class Azure::Network::Mgmt::V2018_06_01::Models::AzureFirewallApplicationRuleProtocol
Properties of the application rule protocol.
Attributes
port[RW]
@return [Integer] Port number for the protocol, cannot be greater than
-
This field is optional.
protocol_type[RW]
@return [AzureFirewallApplicationRuleProtocolType] Protocol type. Possible values include: 'Http', 'Https'
Public Class Methods
mapper()
click to toggle source
Mapper for AzureFirewallApplicationRuleProtocol class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2018-06-01/generated/azure_mgmt_network/models/azure_firewall_application_rule_protocol.rb, line 27 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'AzureFirewallApplicationRuleProtocol', type: { name: 'Composite', class_name: 'AzureFirewallApplicationRuleProtocol', model_properties: { protocol_type: { client_side_validation: true, required: false, serialized_name: 'protocolType', type: { name: 'String' } }, port: { client_side_validation: true, required: false, serialized_name: 'port', constraints: { InclusiveMaximum: 64000, InclusiveMinimum: 0 }, type: { name: 'Number' } } } } } end