# encoding: utf-8 # Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0 # Changes may cause incorrect behavior and will be lost if the code is # regenerated. module Azure::ARM::Web module Models # # Specification for using a Virtual Network. # class VirtualNetworkProfile include MsRestAzure include MsRest::JSONable # @return [String] Resource id of the Virtual Network. attr_accessor :id # @return [String] Name of the Virtual Network (read-only). attr_accessor :name # @return [String] Resource type of the Virtual Network (read-only). attr_accessor :type # @return [String] Subnet within the Virtual Network. attr_accessor :subnet # # Mapper for VirtualNetworkProfile class as Ruby Hash. # This will be used for serialization/deserialization. # def self.mapper() { required: false, serialized_name: 'VirtualNetworkProfile', type: { name: 'Composite', class_name: 'VirtualNetworkProfile', model_properties: { id: { required: false, serialized_name: 'id', type: { name: 'String' } }, name: { required: false, read_only: true, serialized_name: 'name', type: { name: 'String' } }, type: { required: false, read_only: true, serialized_name: 'type', type: { name: 'String' } }, subnet: { required: false, serialized_name: 'subnet', type: { name: 'String' } } } } } end end end end