ShutdownNotificationContent Class

The contents of a shutdown notification. Webhooks can use this type to deserialize the request body when they get notified of an imminent shutdown.

Inheritance
msrest.serialization.Model
ShutdownNotificationContent

Constructor

ShutdownNotificationContent(*, skip_url: str | None = None, delay_url60: str | None = None, delay_url120: str | None = None, vm_name: str | None = None, guid: str | None = None, owner: str | None = None, vm_url: str | None = None, minutes_until_shutdown: str | None = None, event_type: str | None = None, text: str | None = None, subscription_id: str | None = None, resource_group_name: str | None = None, lab_name: str | None = None, **kwargs)

Parameters

Name Description
skip_url
Required
str

The URL to skip auto-shutdown.

delay_url60
Required
str

The URL to delay shutdown by 60 minutes.

delay_url120
Required
str

The URL to delay shutdown by 2 hours.

vm_name
Required
str

The virtual machine to be shut down.

guid
Required
str

The GUID for the virtual machine to be shut down.

owner
Required
str

The owner of the virtual machine.

vm_url
Required
str

The URL of the virtual machine.

minutes_until_shutdown
Required
str

Minutes remaining until shutdown.

event_type
Required
str

The event for which a notification will be sent.

text
Required
str

The text for the notification.

subscription_id
Required
str

The subscription ID for the schedule.

resource_group_name
Required
str

The resource group name for the schedule.

lab_name
Required
str

The lab for the schedule.

Keyword-Only Parameters

Name Description
skip_url
Required
delay_url60
Required
delay_url120
Required
vm_name
Required
guid
Required
owner
Required
vm_url
Required
minutes_until_shutdown
Required
event_type
Required
text
Required
subscription_id
Required
resource_group_name
Required
lab_name
Required