Cmdlets

Choose a cmdlet from the list on the left or search for a specific cmdlet. Choose a cmdlet from the list or search for a specific cmdlet.
About Help  Providers
 

Get-AzureStorSimpleDeviceVolume

Get-AzureStorSimpleDeviceVolume

microsoft.windowsazure.commands.storsimple.dll

Synopsis

Gets volumes on a device.

Syntax

Get-AzureStorSimpleDeviceVolume [-DeviceName] [-VolumeContainer] [-Profile] [<CommonParameters>]

Get-AzureStorSimpleDeviceVolume [-DeviceName] [-VolumeName] [-Profile] [<CommonParameters>]

Detailed Description

The Get-AzureStorSimpleDeviceVolume cmdlet gets a list of volumes for a specified volume container, or volume that has the specified name. The returned object contains the following properties: -- AccessType -- AcrList -- AppType -- DataContainer -- DataContainerId -- InstanceId -- IsBackupEnabled -- IsDefaultBackupEnabled -- IsMonitoringEnabled -- Name -- Online -- OperationInProgress -- SizeInBytes -- VSN

Parameters

-DeviceName <String>

Specifies the name of the StorSimple device from which to get volumes.

Aliases

none

Required?

true

Position

1

Default value

none

Accept pipeline input?

false

Accept wildcard characters?

false

-Profile <Microsoft.Azure.Common.Authentication.Models.AzureProfile>

Specifies an Azure profile.

Aliases

none

Required?

false

Position

named

Default value

none

Accept pipeline input?

false

Accept wildcard characters?

false

-VolumeContainer <DataContainer>

Specifies the volume container, as a DataContainer object, that includes the volumes to get. To obtain a DataContainer, use the Get-AzureStorSimpleDeviceVolumeContainer cmdlet.

Aliases

none

Required?

true

Position

2

Default value

none

Accept pipeline input?

true (ByValue)

Accept wildcard characters?

false

-VolumeName <String>

Specifies the name of the volume to get.

Aliases

Name

Required?

true

Position

2

Default value

none

Accept pipeline input?

false

Accept wildcard characters?

false

Input Type

DataContainer

Return Type

VirtualDisk, IList<VirtualDisk>

Notes

None

Examples

Example 1: Get volumes in a specified container

This command gets the volume container named Container03 on the device named Contoso63-AppVm by using the Get-AzureStorSimpleDeviceVolumeContainer cmdlet. The command uses the pipeline operator to pass that container to the current cmdlet. That cmdlet gets all the volumes in that container for the device named Contoso63-AppVm.

PS C:\>Get-AzureStorSimpleDeviceVolumeContainer -DeviceName "Contoso63-AppVm" -VolumeContainerName "Container03" | Get-AzureStorSimpleDeviceVolume -DeviceName "Contoso63-AppVm"
InstanceId             : BA-1503262017214433280-ade42af6-dabb-449d-b66b-4f5d06891d4c
Name                   : Volume 1 Clone
Online                 : True
SizeInBytes            : 3298534883328
AccessType             : ReadWrite
AcrList                : {Windows_XYUSFL718-RV_ACR}
AppType                : Invalid
DataContainerId        : 127135b6-92de-4f53-850d-70e1f9a38cbe
IsBackupEnabled        : True
IsDefaultBackupEnabled : False
IsMonitoringEnabled    : False
VSN                    : BA-1503262017214433280-ade42af6-dabb-449d-b66b-4f5d06891d4c

InstanceId             : BA-1503262017366008684-cf8bb1a3-21e5-4cfc-ba0d-bfe238d77ebe
Name                   : Volume 3 Clone
Online                 : True
SizeInBytes            : 1717986918400
AccessType             : ReadWrite
AcrList                : {Linux_XYUSFL719_ACR}
AppType                : Invalid
DataContainerId        : 127135b6-92de-4f53-850d-70e1f9a38cbe
IsBackupEnabled        : True
IsDefaultBackupEnabled : False
IsMonitoringEnabled    : False
VSN                    : BA-1503262017366008684-cf8bb1a3-21e5-4cfc-ba0d-bfe238d77ebe

InstanceId             : SS-VOL-2180be94-36f1-473e-a42b-a3ebd2cdb481
Name                   : Volume 4
Online                 : True
SizeInBytes            : 1610612736000
AccessType             : ReadWrite
AcrList                : {Linux_XYUSFL719_ACR}
AppType                : Invalid
DataContainerId        : 127135b6-92de-4f53-850d-70e1f9a38cbe
IsBackupEnabled        : True
IsDefaultBackupEnabled : False
IsMonitoringEnabled    : False
VSN                    : SS-VOL-2180be94-36f1-473e-a42b-a3ebd2cdb481

Example 2: Get a volume by using its name

This command gets the volume named Volume18 on the device named Contoso63-AppVm.

PS C:\>Get-AzureStorSimpleDeviceVolume -DeviceName "Contoso63-AppVm" -VolumeName "Volume18"
InstanceId             : SS-VOL-c75e9636-1dcf-43db-92df-3af1ecf3f18a
Name                   : Volume18
Online                 : True
SizeInBytes            : 2748779069440
AccessType             : ReadWrite
AcrList                : {Windows_XYUSFL718-RV_ACR}
AppType                : Invalid
DataContainerId        : 127135b6-92de-4f53-850d-70e1f9a38cbe
IsBackupEnabled        : True
IsDefaultBackupEnabled : False
IsMonitoringEnabled    : False
VSN                    : SS-VOL-c75e9636-1dcf-43db-92df-3af1ecf3f18a 

New-AzureStorSimpleDeviceVolume
Remove-AzureStorSimpleDeviceVolume
Set-AzureStorSimpleDeviceVolume
Get-AzureStorSimpleDeviceVolumeContainer