Class: Azure::Network::Mgmt::V2020_06_01::Models::AzureFirewallApplicationRule
- Inherits:
-
Object
- Object
- Azure::Network::Mgmt::V2020_06_01::Models::AzureFirewallApplicationRule
- Includes:
- MsRestAzure
- Defined in:
- lib/2020-06-01/generated/azure_mgmt_network/models/azure_firewall_application_rule.rb
Overview
Properties of an application rule.
Instance Attribute Summary collapse
-
#description ⇒ String
Description of the rule.
-
#fqdn_tags ⇒ Array<String>
List of FQDN Tags for this rule.
-
#name ⇒ String
Name of the application rule.
-
#protocols ⇒ Array<AzureFirewallApplicationRuleProtocol>
ApplicationRuleProtocols.
-
#source_addresses ⇒ Array<String>
List of source IP addresses for this rule.
-
#source_ip_groups ⇒ Array<String>
List of source IpGroups for this rule.
-
#target_fqdns ⇒ Array<String>
List of FQDNs for this rule.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for AzureFirewallApplicationRule class as Ruby Hash.
Instance Attribute Details
#description ⇒ String
Returns Description of the rule.
19 20 21 |
# File 'lib/2020-06-01/generated/azure_mgmt_network/models/azure_firewall_application_rule.rb', line 19 def description @description end |
#fqdn_tags ⇒ Array<String>
Returns List of FQDN Tags for this rule.
32 33 34 |
# File 'lib/2020-06-01/generated/azure_mgmt_network/models/azure_firewall_application_rule.rb', line 32 def @fqdn_tags end |
#name ⇒ String
Returns Name of the application rule.
16 17 18 |
# File 'lib/2020-06-01/generated/azure_mgmt_network/models/azure_firewall_application_rule.rb', line 16 def name @name end |
#protocols ⇒ Array<AzureFirewallApplicationRuleProtocol>
ApplicationRuleProtocols.
26 27 28 |
# File 'lib/2020-06-01/generated/azure_mgmt_network/models/azure_firewall_application_rule.rb', line 26 def protocols @protocols end |
#source_addresses ⇒ Array<String>
Returns List of source IP addresses for this rule.
22 23 24 |
# File 'lib/2020-06-01/generated/azure_mgmt_network/models/azure_firewall_application_rule.rb', line 22 def source_addresses @source_addresses end |
#source_ip_groups ⇒ Array<String>
Returns List of source IpGroups for this rule.
35 36 37 |
# File 'lib/2020-06-01/generated/azure_mgmt_network/models/azure_firewall_application_rule.rb', line 35 def source_ip_groups @source_ip_groups end |
#target_fqdns ⇒ Array<String>
Returns List of FQDNs for this rule.
29 30 31 |
# File 'lib/2020-06-01/generated/azure_mgmt_network/models/azure_firewall_application_rule.rb', line 29 def target_fqdns @target_fqdns end |
Class Method Details
.mapper ⇒ Object
Mapper for AzureFirewallApplicationRule class as Ruby Hash. This will be used for serialization/deserialization.
42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 |
# File 'lib/2020-06-01/generated/azure_mgmt_network/models/azure_firewall_application_rule.rb', line 42 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' } } } }, 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' } } } } } } } end |