class Azure::AlertsManagement::Mgmt::V2019_03_01::Models::Detector

The detector information. By default this is not populated, unless it's specified in expandDetector

Attributes

description[RW]

@return [String] The Smart Detector description. By default this is not populated, unless it's specified in expandDetector

id[RW]

@return [String] The detector id.

image_paths[RW]

@return [Array<String>] The Smart Detector image path. By default this is not populated, unless it's specified in expandDetector

name[RW]

@return [String] The Smart Detector name. By default this is not populated, unless it's specified in expandDetector

parameters[RW]

@return The detector's parameters.'

supported_resource_types[RW]

@return [Array<String>] The Smart Detector supported resource types. By default this is not populated, unless it's specified in expandDetector

Public Class Methods

mapper() click to toggle source

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

# File lib/2019-03-01/generated/azure_mgmt_alerts_management/models/detector.rb, line 43
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'Detector',
    type: {
      name: 'Composite',
      class_name: 'Detector',
      model_properties: {
        id: {
          client_side_validation: true,
          required: true,
          serialized_name: 'id',
          type: {
            name: 'String'
          }
        },
        parameters: {
          client_side_validation: true,
          required: false,
          serialized_name: 'parameters',
          type: {
            name: 'Dictionary',
            value: {
                client_side_validation: true,
                required: false,
                serialized_name: 'ObjectElementType',
                type: {
                  name: 'Object'
                }
            }
          }
        },
        name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'name',
          type: {
            name: 'String'
          }
        },
        description: {
          client_side_validation: true,
          required: false,
          serialized_name: 'description',
          type: {
            name: 'String'
          }
        },
        supported_resource_types: {
          client_side_validation: true,
          required: false,
          serialized_name: 'supportedResourceTypes',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'StringElementType',
                type: {
                  name: 'String'
                }
            }
          }
        },
        image_paths: {
          client_side_validation: true,
          required: false,
          serialized_name: 'imagePaths',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'StringElementType',
                type: {
                  name: 'String'
                }
            }
          }
        }
      }
    }
  }
end