Class: Azure::AlertsManagement::Mgmt::V2019_03_01::Models::Detector

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2019-03-01/generated/azure_mgmt_alerts_management/models/detector.rb

Overview

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

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#descriptionString

populated, unless it’s specified in expandDetector

Returns:

  • (String)

    The Smart Detector description. By default this is not



28
29
30
# File 'lib/2019-03-01/generated/azure_mgmt_alerts_management/models/detector.rb', line 28

def description
  @description
end

#idString

Returns The detector id.

Returns:

  • (String)

    The detector id.



17
18
19
# File 'lib/2019-03-01/generated/azure_mgmt_alerts_management/models/detector.rb', line 17

def id
  @id
end

#image_pathsArray<String>

is not populated, unless it’s specified in expandDetector

Returns:

  • (Array<String>)

    The Smart Detector image path. By default this



36
37
38
# File 'lib/2019-03-01/generated/azure_mgmt_alerts_management/models/detector.rb', line 36

def image_paths
  @image_paths
end

#nameString

populated, unless it’s specified in expandDetector

Returns:

  • (String)

    The Smart Detector name. By default this is not



24
25
26
# File 'lib/2019-03-01/generated/azure_mgmt_alerts_management/models/detector.rb', line 24

def name
  @name
end

#parametersObject

Returns The detector’s parameters.‘.

Returns:

  • The detector’s parameters.‘



20
21
22
# File 'lib/2019-03-01/generated/azure_mgmt_alerts_management/models/detector.rb', line 20

def parameters
  @parameters
end

#supported_resource_typesArray<String>

default this is not populated, unless it’s specified in expandDetector

Returns:

  • (Array<String>)

    The Smart Detector supported resource types. By



32
33
34
# File 'lib/2019-03-01/generated/azure_mgmt_alerts_management/models/detector.rb', line 32

def supported_resource_types
  @supported_resource_types
end

Class Method Details

.mapperObject

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



43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
# 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