class Azure::SecurityInsights::Mgmt::V2020_01_01::Models::AlertRuleTemplate
Alert rule template.
Attributes
kind[RW]
Private Class Methods
mapper()
click to toggle source
Mapper for AlertRuleTemplate
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2020-01-01/generated/azure_mgmt_security_insights/models/alert_rule_template.rb, line 27 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'AlertRuleTemplate', type: { name: 'Composite', polymorphic_discriminator: 'kind', uber_parent: 'Resource', class_name: 'AlertRuleTemplate', 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' } } } } } end
new()
click to toggle source
# File lib/2020-01-01/generated/azure_mgmt_security_insights/models/alert_rule_template.rb, line 16 def initialize @kind = "AlertRuleTemplate" end