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.

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: Any)

Keyword-Only Parameters

Name Description
skip_url
str

The URL to skip auto-shutdown.

Default value: None
delay_url60
str

The URL to delay shutdown by 60 minutes.

Default value: None
delay_url120
str

The URL to delay shutdown by 2 hours.

Default value: None
vm_name
str

The virtual machine to be shut down.

Default value: None
guid
str

The GUID for the virtual machine to be shut down.

Default value: None
owner
str

The owner of the virtual machine.

Default value: None
vm_url
str

The URL of the virtual machine.

Default value: None
minutes_until_shutdown
str

Minutes remaining until shutdown.

Default value: None
event_type
str

The event for which a notification will be sent.

Default value: None
text
str

The text for the notification.

Default value: None
subscription_id
str

The subscription ID for the schedule.

Default value: None
resource_group_name
str

The resource group name for the schedule.

Default value: None
lab_name
str

The lab for the schedule.

Default value: None

Variables

Name Description
skip_url
str

The URL to skip auto-shutdown.

delay_url60
str

The URL to delay shutdown by 60 minutes.

delay_url120
str

The URL to delay shutdown by 2 hours.

vm_name
str

The virtual machine to be shut down.

guid
str

The GUID for the virtual machine to be shut down.

owner
str

The owner of the virtual machine.

vm_url
str

The URL of the virtual machine.

minutes_until_shutdown
str

Minutes remaining until shutdown.

event_type
str

The event for which a notification will be sent.

text
str

The text for the notification.

subscription_id
str

The subscription ID for the schedule.

resource_group_name
str

The resource group name for the schedule.

lab_name
str

The lab for the schedule.