Compartilhar via


Get Disk

Applies To: System Center 2012 - Orchestrator, System Center 2012 R2 Orchestrator, System Center 2012 SP1 - Orchestrator

The Get Disk activity is used to retrieve an existing virtual disk based on the filters that you specify.

For the procedure to configure this activity, see Configuring the Get Disk Activity.

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

Get Disk Filters

Element Description

Accessibility

Public or Internal

Added Time

The date and time that the disk was added, in the format mm/dd/yyyy hh:mm:ss AM or PM

Bus

The IDE or SCSI bus to which to attach the disk

Bus Type

IDE or SCSI

Enabled

True or False. If False, the virtual machine cannot be started.

Is VHD

True or False

LUN

The logical unit number (LUN) for the VHD object on an IDE or SCSI bus

Modified Time

The last modified date and time of the disk, in the format mm/dd/yyyy hh:mm:ss AM or PM

Pass-through Disk

A list of names of pass-through disks

Template ID

The unique identifier (GUID) of the template that was used to create the disk

Virtual Hard Disk Path

The location of the VHD used to create the disk

Virtual Disk Drive Name

The name of the virtual disk drive

VM ID

The unique identifier (GUID) of the virtual machine for which the virtual disk was created

Get Disk Published Data

Element Description

Accessibility

Public or Internal

Added Time

The date and time that the disk was added, in the format mm/dd/yyyy hh:mm:ss AM or PM

Bus

The IDE or SCSI bus to which to attach the disk

Bus Type

IDE or SCSI

Enabled

True or False. If False, the virtual machine cannot be started.

Is VHD

True or False

LUN

The logical unit number (LUN) for the VHD object on an IDE or SCSI bus

Modified Time

The last modified date and time of the Virtual Disk, in the format mm/dd/yyyy hh:mm:ss AM or PM

Pass-through Disk

A list of names of pass-through disks

Template ID

The unique identifier (GUID) of the template that was used to create the disk

Virtual Hard Disk Path

The location of the VHD used to create the disk

Virtual Disk Drive Name

The name of the virtual disk drive

VM ID

The unique identifier (GUID) of the virtual machine for which the Virtual Disk Drive was created

Configuring the Get Disk Activity

To configure the Get Disk activity

  1. From the Activities window, drag a Get Disk activity to the active runbook window. Double-click the Get Disk activity icon.

  2. Click the Filters tab.

  3. In the Configuration section, click the ellipsis button (...), and select the Name of the Virtual Machine Manager computer that you want to connect to with this activity. Click OK.

  4. In the Filters section, at least one filter is required to define the activity. Click Add. In the Name box, click the down arrow and select an item from the list.

  5. In the Relation box, click the down arrow and select a relationship descriptor for the filter.

  6. In the Value box, click the ellipsis button (...) and select a value to be applied to this filter. If the ellipsis button (...) does not appear for the filter you have selected, enter the value you want to use. Click OK.

  7. Add additional filters as needed, and then click Finish.

  8. To make changes to a filter, click the filter and then click Edit. Make the necessary changes, and then click OK. To remove a filter, click the filter, and then click Remove.

  9. For information about the settings on the General and Run Behavior tabs, see Common Configuration Instructions for all Activities.

  10. Click Finish.

Other Disk Activities

The Integration Pack for System Center Virtual Machine Manager contains the following additional Disk activities: