class Azure::DevTestLabs::Mgmt::V2018_09_15::Models::NotificationChannel
A notification.
Attributes
created_date[RW]
@return [DateTime] The creation date of the notification channel.
description[RW]
@return [String] Description of notification.
email_recipient[RW]
@return [String] The email recipient to send notifications to (can be a list of semi-colon separated email addresses).
events[RW]
@return [Array<Event>] The list of event for which this notification is enabled.
notification_locale[RW]
@return [String] The locale to use when sending a notification (fallback for unsupported languages is EN).
provisioning_state[RW]
@return [String] The provisioning status of the resource.
unique_identifier[RW]
@return [String] The unique immutable identifier of a resource (Guid).
web_hook_url[RW]
@return [String] The webhook URL to send notifications to.
Private Class Methods
mapper()
click to toggle source
Mapper for NotificationChannel
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/notification_channel.rb, line 47 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'NotificationChannel', type: { name: 'Composite', class_name: 'NotificationChannel', 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' } }, location: { client_side_validation: true, required: false, serialized_name: 'location', type: { name: 'String' } }, tags: { client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { name: 'String' } } } }, web_hook_url: { client_side_validation: true, required: false, serialized_name: 'properties.webHookUrl', type: { name: 'String' } }, email_recipient: { client_side_validation: true, required: false, serialized_name: 'properties.emailRecipient', type: { name: 'String' } }, notification_locale: { client_side_validation: true, required: false, serialized_name: 'properties.notificationLocale', type: { name: 'String' } }, description: { client_side_validation: true, required: false, serialized_name: 'properties.description', type: { name: 'String' } }, events: { client_side_validation: true, required: false, serialized_name: 'properties.events', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'EventElementType', type: { name: 'Composite', class_name: 'Event' } } } }, created_date: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.createdDate', type: { name: 'DateTime' } }, provisioning_state: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', type: { name: 'String' } }, unique_identifier: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.uniqueIdentifier', type: { name: 'String' } } } } } end