Class: Azure::ARM::SQL::Models::FirewallRule
- Inherits:
-
SubResource
- Object
- MsRestAzure::SubResource
- SubResource
- Azure::ARM::SQL::Models::FirewallRule
- Includes:
- MsRest::JSONable, MsRestAzure
- Defined in:
- lib/generated/azure_mgmt_sql/models/firewall_rule.rb
Overview
Represents a server firewall rule.
Instance Attribute Summary collapse
-
#end_ip_address ⇒ String
format.
-
#kind ⇒ String
Kind of server that contains this firewall rule.
-
#location ⇒ String
rule.
-
#start_ip_address ⇒ String
IPv4 format.
-
#type ⇒ String
Type of resource this is.
Attributes inherited from SubResource
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for FirewallRule class as Ruby Hash.
Instance Attribute Details
#end_ip_address ⇒ String
format. Must be greater than or equal to startIpAddress. Use value ‘0.0.0.0’ to represent all Azure-internal IP addresses.
34 35 36 |
# File 'lib/generated/azure_mgmt_sql/models/firewall_rule.rb', line 34 def end_ip_address @end_ip_address end |
#kind ⇒ String
Returns Kind of server that contains this firewall rule.
17 18 19 |
# File 'lib/generated/azure_mgmt_sql/models/firewall_rule.rb', line 17 def kind @kind end |
#location ⇒ String
rule.
21 22 23 |
# File 'lib/generated/azure_mgmt_sql/models/firewall_rule.rb', line 21 def location @location end |
#start_ip_address ⇒ String
IPv4 format. Use value ‘0.0.0.0’ to represent all Azure-internal IP addresses.
29 30 31 |
# File 'lib/generated/azure_mgmt_sql/models/firewall_rule.rb', line 29 def start_ip_address @start_ip_address end |
#type ⇒ String
Returns Type of resource this is.
24 25 26 |
# File 'lib/generated/azure_mgmt_sql/models/firewall_rule.rb', line 24 def type @type end |
Class Method Details
.mapper ⇒ Object
Mapper for FirewallRule class as Ruby Hash. This will be used for serialization/deserialization.
41 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 |
# File 'lib/generated/azure_mgmt_sql/models/firewall_rule.rb', line 41 def self.mapper() { required: false, serialized_name: 'FirewallRule', type: { name: 'Composite', class_name: 'FirewallRule', model_properties: { name: { required: false, read_only: true, serialized_name: 'name', type: { name: 'String' } }, id: { required: false, read_only: true, serialized_name: 'id', type: { name: 'String' } }, kind: { required: false, read_only: true, serialized_name: 'kind', type: { name: 'String' } }, location: { required: false, read_only: true, serialized_name: 'location', type: { name: 'String' } }, type: { required: false, read_only: true, serialized_name: 'type', type: { name: 'String' } }, start_ip_address: { required: true, serialized_name: 'properties.startIpAddress', type: { name: 'String' } }, end_ip_address: { required: true, serialized_name: 'properties.endIpAddress', type: { name: 'String' } } } } } end |