class Azure::DevTestLabs::Mgmt::V2018_09_15::Models::ShutdownNotificationContent
The contents of a shutdown notification. Webhooks can use this type to deserialize the request body when they get notified of an imminent shutdown.
Attributes
@return [String] The URL to delay shutdown by 2 hours.
@return [String] The URL to delay shutdown by 60 minutes.
@return [String] The event for which a notification will be sent.
@return [String] The GUID for the virtual machine to be shut down.
@return [String] The lab for the schedule.
@return [String] Minutes remaining until shutdown
@return [String] The owner of the virtual machine.
@return [String] The resource group name for the schedule.
@return [String] The URL to skip auto-shutdown.
@return [String] The subscription ID for the schedule.
@return [String] The text for the notification.
@return [String] The virtual machine to be shut down.
@return [String] The URL of the virtual machine.
Private Class Methods
Mapper for ShutdownNotificationContent
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/shutdown_notification_content.rb, line 61 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'ShutdownNotificationContent', type: { name: 'Composite', class_name: 'ShutdownNotificationContent', model_properties: { skip_url: { client_side_validation: true, required: false, serialized_name: 'skipUrl', type: { name: 'String' } }, delay_url60: { client_side_validation: true, required: false, serialized_name: 'delayUrl60', type: { name: 'String' } }, delay_url120: { client_side_validation: true, required: false, serialized_name: 'delayUrl120', type: { name: 'String' } }, vm_name: { client_side_validation: true, required: false, serialized_name: 'vmName', type: { name: 'String' } }, guid: { client_side_validation: true, required: false, serialized_name: 'guid', type: { name: 'String' } }, owner: { client_side_validation: true, required: false, serialized_name: 'owner', type: { name: 'String' } }, vm_url: { client_side_validation: true, required: false, serialized_name: 'vmUrl', type: { name: 'String' } }, minutes_until_shutdown: { client_side_validation: true, required: false, serialized_name: 'minutesUntilShutdown', type: { name: 'String' } }, event_type: { client_side_validation: true, required: false, serialized_name: 'eventType', type: { name: 'String' } }, text: { client_side_validation: true, required: false, serialized_name: 'text', type: { name: 'String' } }, subscription_id: { client_side_validation: true, required: false, serialized_name: 'subscriptionId', type: { name: 'String' } }, resource_group_name: { client_side_validation: true, required: false, serialized_name: 'resourceGroupName', type: { name: 'String' } }, lab_name: { client_side_validation: true, required: false, serialized_name: 'labName', type: { name: 'String' } } } } } end