class Azure::Security::Mgmt::V2017_08_01_preview::Models::SecurityContact
Contact details for security issues
Attributes
alert_notifications[RW]
@return [AlertNotifications] Whether to send security alerts notifications to the security contact. Possible values include: 'On', 'Off'
alerts_to_admins[RW]
@return [AlertsToAdmins] Whether to send security alerts notifications to subscription admins. Possible values include: 'On', 'Off'
email[RW]
@return [String] The email of this security contact
phone[RW]
@return [String] The phone number of this security contact
Private Class Methods
mapper()
click to toggle source
Mapper for SecurityContact
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2017-08-01-preview/generated/azure_mgmt_security/models/security_contact.rb, line 35 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'SecurityContact', type: { name: 'Composite', class_name: 'SecurityContact', 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' } }, email: { client_side_validation: true, required: true, serialized_name: 'properties.email', type: { name: 'String' } }, phone: { client_side_validation: true, required: false, serialized_name: 'properties.phone', type: { name: 'String' } }, alert_notifications: { client_side_validation: true, required: true, serialized_name: 'properties.alertNotifications', type: { name: 'String' } }, alerts_to_admins: { client_side_validation: true, required: true, serialized_name: 'properties.alertsToAdmins', type: { name: 'String' } } } } } end