class Azure::DevTestLabs::Mgmt::V2016_05_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

delay_url120[RW]

@return [String] The URL to delay shutdown by 2 hours.

delay_url60[RW]

@return [String] The URL to delay shutdown by 60 minutes.

event_type[RW]

@return [String] The event for which a notification will be sent.

guid[RW]

@return [String] The GUID for the virtual machine to be shut down.

lab_name[RW]

@return [String] The lab for the schedule.

owner[RW]

@return [String] The owner of the virtual machine.

resource_group_name[RW]

@return [String] The resource group name for the schedule.

skip_url[RW]

@return [String] The URL to skip auto-shutdown.

subscription_id[RW]

@return [String] The subscription ID for the schedule.

text[RW]

@return [String] The text for the notification.

vm_name[RW]

@return [String] The virtual machine to be shut down.

Public Class Methods

mapper() click to toggle source

Mapper for ShutdownNotificationContent class as Ruby Hash. This will be used for serialization/deserialization.

# File lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/shutdown_notification_content.rb, line 55
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'
          }
        },
        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