class Azure::Security::Mgmt::V2015_06_01_preview::Models::ExternalSecuritySolution

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.

Attributes

id[RW]

@return [String] Resource Id

kind[RW]
location[RW]

@return [String] Location where the resource is stored

name[RW]

@return [String] Resource name

type[RW]

@return [String] Resource type

Public Class Methods

mapper() click to toggle source

Mapper for ExternalSecuritySolution class as Ruby Hash. This will be used for serialization/deserialization.

# File lib/2015-06-01-preview/generated/azure_mgmt_security/models/external_security_solution.rb, line 45
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
new() click to toggle source
# File lib/2015-06-01-preview/generated/azure_mgmt_security/models/external_security_solution.rb, line 22
def initialize
  @kind = "ExternalSecuritySolution"
end