Class: Azure::Security::Mgmt::V2017_08_01_preview::Models::SecurityContact
- Inherits:
-
Resource
- Object
- Resource
- Azure::Security::Mgmt::V2017_08_01_preview::Models::SecurityContact
- Includes:
- MsRestAzure
- Defined in:
- lib/2017-08-01-preview/generated/azure_mgmt_security/models/security_contact.rb
Overview
Contact details for security issues
Instance Attribute Summary collapse
-
#alert_notifications ⇒ AlertNotifications
notifications to the security contact.
-
#alerts_to_admins ⇒ AlertsToAdmins
to subscription admins.
-
#email ⇒ String
The email of this security contact.
-
#phone ⇒ String
The phone number of this security contact.
Attributes inherited from Resource
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for SecurityContact class as Ruby Hash.
Methods inherited from Resource
Instance Attribute Details
#alert_notifications ⇒ AlertNotifications
notifications to the security contact. Possible values include: ‘On’, ‘Off’
24 25 26 |
# File 'lib/2017-08-01-preview/generated/azure_mgmt_security/models/security_contact.rb', line 24 def alert_notifications @alert_notifications end |
#alerts_to_admins ⇒ AlertsToAdmins
to subscription admins. Possible values include: ‘On’, ‘Off’
28 29 30 |
# File 'lib/2017-08-01-preview/generated/azure_mgmt_security/models/security_contact.rb', line 28 def alerts_to_admins @alerts_to_admins end |
#email ⇒ String
16 17 18 |
# File 'lib/2017-08-01-preview/generated/azure_mgmt_security/models/security_contact.rb', line 16 def email @email end |
#phone ⇒ String
19 20 21 |
# File 'lib/2017-08-01-preview/generated/azure_mgmt_security/models/security_contact.rb', line 19 def phone @phone end |
Class Method Details
.mapper ⇒ Object
Mapper for SecurityContact class as Ruby Hash. This will be used for serialization/deserialization.
35 36 37 38 39 40 41 42 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 |
# 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 |