Class: Azure::ARM::Network::Models::ApplicationGatewayPathRulePropertiesFormat
- Inherits:
-
Object
- Object
- Azure::ARM::Network::Models::ApplicationGatewayPathRulePropertiesFormat
- Includes:
- MsRestAzure
- Defined in:
- lib/azure_mgmt_network/models/application_gateway_path_rule_properties_format.rb
Overview
Properties of probe of application gateway
Instance Attribute Summary collapse
-
#backend_address_pool ⇒ SubResource
URL path map.
-
#backend_http_settings ⇒ SubResource
URL path map.
-
#paths ⇒ Array<String>
Gets or sets the path rules of URL path map.
-
#provisioning_state ⇒ String
Updating/Deleting/Failed.
Class Method Summary collapse
-
.deserialize_object(object) ⇒ ApplicationGatewayPathRulePropertiesFormat
Deserializes given Ruby Hash into Model object.
-
.serialize_object(object) ⇒ Hash
Serializes given Model object into Ruby Hash.
Instance Method Summary collapse
-
#validate ⇒ Object
Validate the object.
Instance Attribute Details
#backend_address_pool ⇒ SubResource
URL path map
20 21 22 |
# File 'lib/azure_mgmt_network/models/application_gateway_path_rule_properties_format.rb', line 20 def backend_address_pool @backend_address_pool end |
#backend_http_settings ⇒ SubResource
URL path map
24 25 26 |
# File 'lib/azure_mgmt_network/models/application_gateway_path_rule_properties_format.rb', line 24 def backend_http_settings @backend_http_settings end |
#paths ⇒ Array<String>
Returns Gets or sets the path rules of URL path map.
16 17 18 |
# File 'lib/azure_mgmt_network/models/application_gateway_path_rule_properties_format.rb', line 16 def paths @paths end |
#provisioning_state ⇒ String
Updating/Deleting/Failed
28 29 30 |
# File 'lib/azure_mgmt_network/models/application_gateway_path_rule_properties_format.rb', line 28 def provisioning_state @provisioning_state end |
Class Method Details
.deserialize_object(object) ⇒ ApplicationGatewayPathRulePropertiesFormat
Deserializes given Ruby Hash into Model object. object.
75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 |
# File 'lib/azure_mgmt_network/models/application_gateway_path_rule_properties_format.rb', line 75 def self.deserialize_object(object) return if object.nil? output_object = ApplicationGatewayPathRulePropertiesFormat.new deserialized_property = object['paths'] output_object.paths = deserialized_property deserialized_property = object['backendAddressPool'] unless deserialized_property.nil? deserialized_property = MsRestAzure::SubResource.deserialize_object(deserialized_property) end output_object.backend_address_pool = deserialized_property deserialized_property = object['backendHttpSettings'] unless deserialized_property.nil? deserialized_property = MsRestAzure::SubResource.deserialize_object(deserialized_property) end output_object.backend_http_settings = deserialized_property deserialized_property = object['provisioningState'] output_object.provisioning_state = deserialized_property output_object end |
.serialize_object(object) ⇒ Hash
Serializes given Model object into Ruby Hash.
44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 |
# File 'lib/azure_mgmt_network/models/application_gateway_path_rule_properties_format.rb', line 44 def self.serialize_object(object) object.validate output_object = {} serialized_property = object.paths output_object['paths'] = serialized_property unless serialized_property.nil? serialized_property = object.backend_address_pool unless serialized_property.nil? serialized_property = MsRestAzure::SubResource.serialize_object(serialized_property) end output_object['backendAddressPool'] = serialized_property unless serialized_property.nil? serialized_property = object.backend_http_settings unless serialized_property.nil? serialized_property = MsRestAzure::SubResource.serialize_object(serialized_property) end output_object['backendHttpSettings'] = serialized_property unless serialized_property.nil? serialized_property = object.provisioning_state output_object['provisioningState'] = serialized_property unless serialized_property.nil? output_object end |
Instance Method Details
#validate ⇒ Object
Validate the object. Throws ValidationError if validation fails.
33 34 35 36 37 |
# File 'lib/azure_mgmt_network/models/application_gateway_path_rule_properties_format.rb', line 33 def validate @paths.each{ |e| e.validate if e.respond_to?(:validate) } unless @paths.nil? @backend_address_pool.validate unless @backend_address_pool.nil? @backend_http_settings.validate unless @backend_http_settings.nil? end |