Delete VM Data Disk

The Delete VM Data Disk activity removes the specified data disk from a virtual machine. It is part of the Azure Virtual Machine Disks category activity.

The activity publishes all of the data from the required and optional properties into published data. The following tables list the required and optional properties and published data for this activity.

Delete VM Data Disk Required Properties

Element

Description

Valid values

VM Service Name

The cloud service to remove the data disk from.

String

VM Deployment Name

The deployment to remove the data disk from.

String

VM Instance Name

The virtual machine to remove the data disk from.

String

Logical Unit Number

The Logical Unit Number (LUN) of the disk.

0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15

Wait for Completion

Whether to wait for this operation to complete in Windows Azure before moving on to the next activity.

True, False

Delete VM Data Disk Optional Properties

There are no optional properties for this runbook activity.

Delete VM Data Disk Published Data

Element

Description

Value type

VM Service Name

The cloud service to remove the data disk from.

String

VM Deployment Name

The deployment to remove the data disk from.

String

VM Instance Name

The virtual machine to remove the data disk from.

String

Logical Unit Number

The Logical Unit Number (LUN) of the disk.

Integer

Wait for Completion

Whether to wait for this operation to complete in Windows Azure before moving on to the next activity.