< Back
Get-AzureStorSimpleDeviceVolume
Post
NAME Get-AzureStorSimpleDeviceVolume
SYNOPSIS
Gets volumes on a device.
SYNTAX
Get-AzureStorSimpleDeviceVolume [-DeviceName] <String> [-VolumeContainer] <DataContainer> [-Profile
<Microsoft.Azure.Common.Authentication.Models.AzureProfile>] [<CommonParameters>]
Get-AzureStorSimpleDeviceVolume [-DeviceName] <String> [-VolumeName] <String> [-Profile <Microsoft.Azure.Common.Authentication.Models.AzureProfile>]
[<CommonParameters>]
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.
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.
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.
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.
Required? true
Position? 2
Default value none
Accept pipeline input? false
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
DataContainer
This cmdlet accepts a DataContainer object that contains the volume to get.
OUTPUTS
VirtualDisk, IList<VirtualDisk>
This cmdlet returns a VirtualDisk object if you specify the VolumeName parameter. If you specify the VolumeContainer, this cmdlet returns an
IList<VirtualDisk> object.
NOTES
Keywords: azure, azuresm, servicemanagement, management, service, store, storsimple
Example 1: Get volumes in a specified container
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
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.
Example 2: Get a volume by using its name
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
This command gets the volume named Volume18 on the device named Contoso63-AppVm.
RELATED LINKS
New-AzureStorSimpleDeviceVolume
Remove-AzureStorSimpleDeviceVolume
Set-AzureStorSimpleDeviceVolume
Get-AzureStorSimpleDeviceVolumeContainer
SYNOPSIS
Gets volumes on a device.
SYNTAX
Get-AzureStorSimpleDeviceVolume [-DeviceName] <String> [-VolumeContainer] <DataContainer> [-Profile
<Microsoft.Azure.Common.Authentication.Models.AzureProfile>] [<CommonParameters>]
Get-AzureStorSimpleDeviceVolume [-DeviceName] <String> [-VolumeName] <String> [-Profile <Microsoft.Azure.Common.Authentication.Models.AzureProfile>]
[<CommonParameters>]
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.
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.
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.
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.
Required? true
Position? 2
Default value none
Accept pipeline input? false
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
DataContainer
This cmdlet accepts a DataContainer object that contains the volume to get.
OUTPUTS
VirtualDisk, IList<VirtualDisk>
This cmdlet returns a VirtualDisk object if you specify the VolumeName parameter. If you specify the VolumeContainer, this cmdlet returns an
IList<VirtualDisk> object.
NOTES
Keywords: azure, azuresm, servicemanagement, management, service, store, storsimple
Example 1: Get volumes in a specified container
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
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.
Example 2: Get a volume by using its name
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
This command gets the volume named Volume18 on the device named Contoso63-AppVm.
RELATED LINKS
New-AzureStorSimpleDeviceVolume
Remove-AzureStorSimpleDeviceVolume
Set-AzureStorSimpleDeviceVolume
Get-AzureStorSimpleDeviceVolumeContainer