Class: Azure::AlertsManagement::Mgmt::V2019_03_01::Models::Detector
- Inherits:
-
Object
- Object
- Azure::AlertsManagement::Mgmt::V2019_03_01::Models::Detector
- 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
-
#description ⇒ String
populated, unless it’s specified in expandDetector.
-
#id ⇒ String
The detector id.
-
#image_paths ⇒ Array<String>
is not populated, unless it’s specified in expandDetector.
-
#name ⇒ String
populated, unless it’s specified in expandDetector.
-
#parameters ⇒ Object
The detector’s parameters.‘.
-
#supported_resource_types ⇒ Array<String>
default this is not populated, unless it’s specified in expandDetector.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for Detector class as Ruby Hash.
Instance Attribute Details
#description ⇒ String
populated, unless it’s specified in expandDetector
28 29 30 |
# File 'lib/2019-03-01/generated/azure_mgmt_alerts_management/models/detector.rb', line 28 def description @description end |
#id ⇒ String
Returns 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_paths ⇒ Array<String>
is not populated, unless it’s specified in expandDetector
36 37 38 |
# File 'lib/2019-03-01/generated/azure_mgmt_alerts_management/models/detector.rb', line 36 def image_paths @image_paths end |
#name ⇒ String
populated, unless it’s specified in expandDetector
24 25 26 |
# File 'lib/2019-03-01/generated/azure_mgmt_alerts_management/models/detector.rb', line 24 def name @name end |
#parameters ⇒ Object
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_types ⇒ Array<String>
default this is not populated, unless it’s specified in expandDetector
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
.mapper ⇒ Object
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 |