Class: Azure::SecurityInsights::Mgmt::V2019_01_01_preview::Models::MicrosoftSecurityIncidentCreationAlertRule
- Inherits:
-
AlertRule
- Object
- AlertRule
- Azure::SecurityInsights::Mgmt::V2019_01_01_preview::Models::MicrosoftSecurityIncidentCreationAlertRule
- Includes:
- MsRestAzure
- Defined in:
- lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/microsoft_security_incident_creation_alert_rule.rb
Overview
Represents MicrosoftSecurityIncidentCreation rule.
Instance Attribute Summary collapse
-
#alert_rule_template_name ⇒ String
this rule.
-
#description ⇒ String
The description of the alert rule.
-
#display_name ⇒ String
rule.
-
#display_names_exclude_filter ⇒ Array<String>
will not be generated.
-
#display_names_filter ⇒ Array<String>
will be generated.
-
#enabled ⇒ Boolean
disabled.
-
#kind ⇒ Object
Returns the value of attribute kind.
-
#last_modified_utc ⇒ DateTime
The last time that this alert has been modified.
-
#product_filter ⇒ MicrosoftSecurityProductName
the cases will be generated.
-
#severities_filter ⇒ Array<AlertSeverity>
cases will be generated.
Attributes inherited from AlertRule
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for MicrosoftSecurityIncidentCreationAlertRule class as Ruby Hash.
Instance Method Summary collapse
-
#initialize ⇒ MicrosoftSecurityIncidentCreationAlertRule
constructor
A new instance of MicrosoftSecurityIncidentCreationAlertRule.
Constructor Details
#initialize ⇒ MicrosoftSecurityIncidentCreationAlertRule
Returns a new instance of MicrosoftSecurityIncidentCreationAlertRule.
16 17 18 |
# File 'lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/microsoft_security_incident_creation_alert_rule.rb', line 16 def initialize @kind = "MicrosoftSecurityIncidentCreation" end |
Instance Attribute Details
#alert_rule_template_name ⇒ String
this rule.
44 45 46 |
# File 'lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/microsoft_security_incident_creation_alert_rule.rb', line 44 def alert_rule_template_name @alert_rule_template_name end |
#description ⇒ String
Returns The description of the alert rule.
47 48 49 |
# File 'lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/microsoft_security_incident_creation_alert_rule.rb', line 47 def description @description end |
#display_name ⇒ String
rule.
51 52 53 |
# File 'lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/microsoft_security_incident_creation_alert_rule.rb', line 51 def display_name @display_name end |
#display_names_exclude_filter ⇒ Array<String>
will not be generated
28 29 30 |
# File 'lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/microsoft_security_incident_creation_alert_rule.rb', line 28 def display_names_exclude_filter @display_names_exclude_filter end |
#display_names_filter ⇒ Array<String>
will be generated
24 25 26 |
# File 'lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/microsoft_security_incident_creation_alert_rule.rb', line 24 def display_names_filter @display_names_filter end |
#enabled ⇒ Boolean
disabled.
55 56 57 |
# File 'lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/microsoft_security_incident_creation_alert_rule.rb', line 55 def enabled @enabled end |
#kind ⇒ Object
Returns the value of attribute kind.
20 21 22 |
# File 'lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/microsoft_security_incident_creation_alert_rule.rb', line 20 def kind @kind end |
#last_modified_utc ⇒ DateTime
Returns The last time that this alert has been modified.
58 59 60 |
# File 'lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/microsoft_security_incident_creation_alert_rule.rb', line 58 def last_modified_utc @last_modified_utc end |
#product_filter ⇒ MicrosoftSecurityProductName
the cases will be generated. Possible values include: ‘Microsoft Cloud App Security’, ‘Azure Security Center’, ‘Azure Advanced Threat Protection’, ‘Azure Active Directory Identity Protection’, ‘Azure Security Center for IoT’, ‘Office 365 Advanced Threat Protection’, ‘Microsoft Defender Advanced Threat Protection’
36 37 38 |
# File 'lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/microsoft_security_incident_creation_alert_rule.rb', line 36 def product_filter @product_filter end |
#severities_filter ⇒ Array<AlertSeverity>
cases will be generated
40 41 42 |
# File 'lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/microsoft_security_incident_creation_alert_rule.rb', line 40 def severities_filter @severities_filter end |
Class Method Details
.mapper ⇒ Object
Mapper for MicrosoftSecurityIncidentCreationAlertRule class as Ruby Hash. This will be used for serialization/deserialization.
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 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 |
# File 'lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/microsoft_security_incident_creation_alert_rule.rb', line 66 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'MicrosoftSecurityIncidentCreation', type: { name: 'Composite', class_name: 'MicrosoftSecurityIncidentCreationAlertRule', 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' } }, etag: { client_side_validation: true, required: false, serialized_name: 'etag', type: { name: 'String' } }, kind: { client_side_validation: true, required: true, serialized_name: 'kind', type: { name: 'String' } }, display_names_filter: { client_side_validation: true, required: false, serialized_name: 'properties.displayNamesFilter', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { name: 'String' } } } }, display_names_exclude_filter: { client_side_validation: true, required: false, serialized_name: 'properties.displayNamesExcludeFilter', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { name: 'String' } } } }, product_filter: { client_side_validation: true, required: true, serialized_name: 'properties.productFilter', type: { name: 'String' } }, severities_filter: { client_side_validation: true, required: false, serialized_name: 'properties.severitiesFilter', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'AlertSeverityElementType', type: { name: 'String' } } } }, alert_rule_template_name: { client_side_validation: true, required: false, serialized_name: 'properties.alertRuleTemplateName', type: { name: 'String' } }, description: { client_side_validation: true, required: false, serialized_name: 'properties.description', type: { name: 'String' } }, display_name: { client_side_validation: true, required: true, serialized_name: 'properties.displayName', type: { name: 'String' } }, enabled: { client_side_validation: true, required: true, serialized_name: 'properties.enabled', type: { name: 'Boolean' } }, last_modified_utc: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.lastModifiedUtc', type: { name: 'DateTime' } } } } } end |