# 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::Security::Mgmt::V2015_06_01_preview module Models # # Represents a security solution external to Azure Security Center which # sends information to an OMS workspace and whose data is displayed by # Azure Security Center. # class ExternalSecuritySolution include MsRestAzure @@discriminatorMap = Hash.new @@discriminatorMap["CEF"] = "CefExternalSecuritySolution" @@discriminatorMap["ATA"] = "AtaExternalSecuritySolution" @@discriminatorMap["AAD"] = "AadExternalSecuritySolution" def initialize @kind = "ExternalSecuritySolution" end attr_accessor :kind # @return [String] Resource Id attr_accessor :id # @return [String] Resource name attr_accessor :name # @return [String] Resource type attr_accessor :type # @return [String] Location where the resource is stored attr_accessor :location # # Mapper for ExternalSecuritySolution class as Ruby Hash. # This will be used for serialization/deserialization. # def self.mapper() { client_side_validation: true, required: false, serialized_name: 'ExternalSecuritySolution', type: { name: 'Composite', polymorphic_discriminator: 'kind', uber_parent: 'ExternalSecuritySolution', class_name: 'ExternalSecuritySolution', model_properties: { id: { client_side_validation: true, required: false, read_only: true, serialized_name: 'id', type: { name: 'String' } }, name: { client_side_validation: true, required: false, read_only: true, serialized_name: 'name', type: { name: 'String' } }, type: { client_side_validation: true, required: false, read_only: true, serialized_name: 'type', type: { name: 'String' } }, location: { client_side_validation: true, required: false, read_only: true, serialized_name: 'location', type: { name: 'String' } } } } } end end end end