Class: Azure::SecurityInsights::Mgmt::V2020_01_01::Models::FusionAlertRuleTemplate
- Inherits:
-
AlertRuleTemplate
- Object
- Resource
- AlertRuleTemplate
- Azure::SecurityInsights::Mgmt::V2020_01_01::Models::FusionAlertRuleTemplate
- Includes:
- MsRestAzure
- Defined in:
- lib/2020-01-01/generated/azure_mgmt_security_insights/models/fusion_alert_rule_template.rb
Overview
Represents Fusion alert rule template.
Instance Attribute Summary collapse
-
#alert_rules_created_by_template_count ⇒ Integer
template.
-
#created_date_utc ⇒ DateTime
added.
-
#description ⇒ String
The description of the alert rule template.
-
#display_name ⇒ String
The display name for alert rule template.
-
#kind ⇒ Object
Returns the value of attribute kind.
-
#required_data_connectors ⇒ Array<AlertRuleTemplateDataSource>
connectors for this template.
-
#severity ⇒ AlertSeverity
rule.
-
#status ⇒ TemplateStatus
values include: ‘Installed’, ‘Available’, ‘NotAvailable’.
-
#tactics ⇒ Array<AttackTactic>
The tactics of the alert rule template.
Attributes inherited from Resource
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for FusionAlertRuleTemplate class as Ruby Hash.
Instance Method Summary collapse
-
#initialize ⇒ FusionAlertRuleTemplate
constructor
A new instance of FusionAlertRuleTemplate.
Methods inherited from Resource
Constructor Details
#initialize ⇒ FusionAlertRuleTemplate
Returns a new instance of FusionAlertRuleTemplate.
16 17 18 |
# File 'lib/2020-01-01/generated/azure_mgmt_security_insights/models/fusion_alert_rule_template.rb', line 16 def initialize @kind = "Fusion" end |
Instance Attribute Details
#alert_rules_created_by_template_count ⇒ Integer
template
24 25 26 |
# File 'lib/2020-01-01/generated/azure_mgmt_security_insights/models/fusion_alert_rule_template.rb', line 24 def alert_rules_created_by_template_count @alert_rules_created_by_template_count end |
#created_date_utc ⇒ DateTime
added.
28 29 30 |
# File 'lib/2020-01-01/generated/azure_mgmt_security_insights/models/fusion_alert_rule_template.rb', line 28 def created_date_utc @created_date_utc end |
#description ⇒ String
Returns The description of the alert rule template.
31 32 33 |
# File 'lib/2020-01-01/generated/azure_mgmt_security_insights/models/fusion_alert_rule_template.rb', line 31 def description @description end |
#display_name ⇒ String
Returns The display name for alert rule template.
34 35 36 |
# File 'lib/2020-01-01/generated/azure_mgmt_security_insights/models/fusion_alert_rule_template.rb', line 34 def display_name @display_name end |
#kind ⇒ Object
Returns the value of attribute kind.
20 21 22 |
# File 'lib/2020-01-01/generated/azure_mgmt_security_insights/models/fusion_alert_rule_template.rb', line 20 def kind @kind end |
#required_data_connectors ⇒ Array<AlertRuleTemplateDataSource>
connectors for this template
38 39 40 |
# File 'lib/2020-01-01/generated/azure_mgmt_security_insights/models/fusion_alert_rule_template.rb', line 38 def required_data_connectors @required_data_connectors end |
#severity ⇒ AlertSeverity
rule. Possible values include: ‘High’, ‘Medium’, ‘Low’, ‘Informational’
46 47 48 |
# File 'lib/2020-01-01/generated/azure_mgmt_security_insights/models/fusion_alert_rule_template.rb', line 46 def severity @severity end |
#status ⇒ TemplateStatus
values include: ‘Installed’, ‘Available’, ‘NotAvailable’
42 43 44 |
# File 'lib/2020-01-01/generated/azure_mgmt_security_insights/models/fusion_alert_rule_template.rb', line 42 def status @status end |
#tactics ⇒ Array<AttackTactic>
Returns The tactics of the alert rule template.
49 50 51 |
# File 'lib/2020-01-01/generated/azure_mgmt_security_insights/models/fusion_alert_rule_template.rb', line 49 def tactics @tactics end |
Class Method Details
.mapper ⇒ Object
Mapper for FusionAlertRuleTemplate class as Ruby Hash. This will be used for serialization/deserialization.
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 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 |
# File 'lib/2020-01-01/generated/azure_mgmt_security_insights/models/fusion_alert_rule_template.rb', line 56 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'Fusion', type: { name: 'Composite', class_name: 'FusionAlertRuleTemplate', 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' } }, kind: { client_side_validation: true, required: true, serialized_name: 'kind', type: { name: 'String' } }, alert_rules_created_by_template_count: { client_side_validation: true, required: false, serialized_name: 'properties.alertRulesCreatedByTemplateCount', type: { name: 'Number' } }, created_date_utc: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.createdDateUTC', type: { name: 'DateTime' } }, description: { client_side_validation: true, required: false, serialized_name: 'properties.description', type: { name: 'String' } }, display_name: { client_side_validation: true, required: false, serialized_name: 'properties.displayName', type: { name: 'String' } }, required_data_connectors: { client_side_validation: true, required: false, serialized_name: 'properties.requiredDataConnectors', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'AlertRuleTemplateDataSourceElementType', type: { name: 'Composite', class_name: 'AlertRuleTemplateDataSource' } } } }, status: { client_side_validation: true, required: false, serialized_name: 'properties.status', type: { name: 'String' } }, severity: { client_side_validation: true, required: false, serialized_name: 'properties.severity', type: { name: 'String' } }, tactics: { client_side_validation: true, required: false, serialized_name: 'properties.tactics', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'AttackTacticElementType', type: { name: 'String' } } } } } } } end |