Class: Azure::ARM::Network::Models::ApplicationGatewayIpConfigurationPropertiesFormat
- Inherits:
-
Object
- Object
- Azure::ARM::Network::Models::ApplicationGatewayIpConfigurationPropertiesFormat
- Includes:
- MsRestAzure
- Defined in:
- lib/azure_mgmt_network/Models/application_gateway_ip_configuration_properties_format.rb
Overview
Properties of IP configuration of application gateway
Instance Attribute Summary collapse
-
#provisioning_state ⇒ String
gateway subnet resource Updating/Deleting/Failed.
-
#subnet ⇒ SubResource
resource.A subnet from where appliation gateway gets its private address.
Class Method Summary collapse
-
.deserialize_object(object) ⇒ ApplicationGatewayIpConfigurationPropertiesFormat
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
#provisioning_state ⇒ String
gateway subnet resource Updating/Deleting/Failed
22 23 24 |
# File 'lib/azure_mgmt_network/Models/application_gateway_ip_configuration_properties_format.rb', line 22 def provisioning_state @provisioning_state end |
#subnet ⇒ SubResource
resource.A subnet from where appliation gateway gets its private address
18 19 20 |
# File 'lib/azure_mgmt_network/Models/application_gateway_ip_configuration_properties_format.rb', line 18 def subnet @subnet end |
Class Method Details
.deserialize_object(object) ⇒ ApplicationGatewayIpConfigurationPropertiesFormat
Deserializes given Ruby Hash into Model object. Deserialized object.
58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 |
# File 'lib/azure_mgmt_network/Models/application_gateway_ip_configuration_properties_format.rb', line 58 def self.deserialize_object(object) return if object.nil? output_object = ApplicationGatewayIpConfigurationPropertiesFormat.new deserialized_property = object['subnet'] unless deserialized_property.nil? deserialized_property = SubResource.deserialize_object(deserialized_property) end output_object.subnet = deserialized_property deserialized_property = object['provisioningState'] output_object.provisioning_state = deserialized_property output_object.validate output_object end |
.serialize_object(object) ⇒ Hash
Serializes given Model object into Ruby Hash.
36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 |
# File 'lib/azure_mgmt_network/Models/application_gateway_ip_configuration_properties_format.rb', line 36 def self.serialize_object(object) object.validate output_object = {} serialized_property = object.subnet unless serialized_property.nil? serialized_property = SubResource.serialize_object(serialized_property) end output_object['subnet'] = 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.
27 28 29 |
# File 'lib/azure_mgmt_network/Models/application_gateway_ip_configuration_properties_format.rb', line 27 def validate @subnet.validate unless @subnet.nil? end |