# encoding: utf-8 # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may cause incorrect behavior and will be lost if the code is # regenerated. module Azure::ARM::Web module Models # # Full view of network features for an app (presently VNET integration and # Hybrid Connections). # class NetworkFeatures < ProxyOnlyResource include MsRestAzure # @return [String] The Virtual Network name. attr_accessor :virtual_network_name # @return [VnetInfo] The Virtual Network summary view. attr_accessor :virtual_network_connection # @return [Array] The Hybrid Connections # summary view. attr_accessor :hybrid_connections # @return [Array] The Hybrid Connection V2 (Service # Bus) view. attr_accessor :hybrid_connections_v2 # # Mapper for NetworkFeatures class as Ruby Hash. # This will be used for serialization/deserialization. # def self.mapper() { required: false, serialized_name: 'NetworkFeatures', type: { name: 'Composite', class_name: 'NetworkFeatures', model_properties: { id: { required: false, read_only: true, serialized_name: 'id', type: { name: 'String' } }, name: { required: false, read_only: true, serialized_name: 'name', type: { name: 'String' } }, kind: { required: false, serialized_name: 'kind', type: { name: 'String' } }, type: { required: false, read_only: true, serialized_name: 'type', type: { name: 'String' } }, virtual_network_name: { required: false, read_only: true, serialized_name: 'properties.virtualNetworkName', type: { name: 'String' } }, virtual_network_connection: { required: false, read_only: true, serialized_name: 'properties.virtualNetworkConnection', type: { name: 'Composite', class_name: 'VnetInfo' } }, hybrid_connections: { required: false, read_only: true, serialized_name: 'properties.hybridConnections', type: { name: 'Sequence', element: { required: false, serialized_name: 'RelayServiceConnectionEntityElementType', type: { name: 'Composite', class_name: 'RelayServiceConnectionEntity' } } } }, hybrid_connections_v2: { required: false, read_only: true, serialized_name: 'properties.hybridConnectionsV2', type: { name: 'Sequence', element: { required: false, serialized_name: 'HybridConnectionElementType', type: { name: 'Composite', class_name: 'HybridConnection' } } } } } } } end end end end