class Azure::Network::Mgmt::V2020_07_01::Models::ApplicationRule
Rule of type application.
Attributes
destination_addresses[RW]
@return [Array<String>] List of destination IP addresses or Service Tags.
protocols[RW]
@return [Array<FirewallPolicyRuleApplicationProtocol>] Array of Application Protocols.
ruleType[RW]
source_addresses[RW]
@return [Array<String>] List of source IP addresses for this rule.
source_ip_groups[RW]
@return [Array<String>] List of source IpGroups
for this rule.
target_fqdns[RW]
@return [Array<String>] List of FQDNs for this rule.
target_urls[RW]
@return [Array<String>] List of Urls for this rule condition.
terminate_tls[RW]
@return [Boolean] Terminate TLS connections for this rule.
web_categories[RW]
@return [Array<String>] List of destination azure web categories.
Public Class Methods
mapper()
click to toggle source
Mapper for ApplicationRule
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2020-07-01/generated/azure_mgmt_network/models/application_rule.rb, line 56 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'ApplicationRule', type: { name: 'Composite', class_name: 'ApplicationRule', 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' } }, ruleType: { client_side_validation: true, required: true, serialized_name: 'ruleType', 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' } } } }, destination_addresses: { client_side_validation: true, required: false, serialized_name: 'destinationAddresses', 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: 'FirewallPolicyRuleApplicationProtocolElementType', type: { name: 'Composite', class_name: 'FirewallPolicyRuleApplicationProtocol' } } } }, 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' } } } }, target_urls: { client_side_validation: true, required: false, serialized_name: 'targetUrls', 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' } } } }, source_ip_groups: { client_side_validation: true, required: false, serialized_name: 'sourceIpGroups', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { name: 'String' } } } }, terminate_tls: { client_side_validation: true, required: false, serialized_name: 'terminateTLS', type: { name: 'Boolean' } }, web_categories: { client_side_validation: true, required: false, serialized_name: 'webCategories', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { name: 'String' } } } } } } } end
new()
click to toggle source
# File lib/2020-07-01/generated/azure_mgmt_network/models/application_rule.rb, line 16 def initialize @ruleType = "ApplicationRule" end