Get-AzureStorSimpleFailoverVolumeContainers

Gets the volume container groups for device failover.

Note

The cmdlets referenced in this documentation are for managing legacy Azure resources that use Azure Service Manager (ASM) APIs. This legacy PowerShell module isn't recommended when creating new resources since ASM is scheduled for retirement. For more information, see Azure Service Manager retirement.

The Az PowerShell module is the recommended PowerShell module for managing Azure Resource Manager (ARM) resources with PowerShell.

Syntax

Get-AzureStorSimpleFailoverVolumeContainers
   -DeviceId <String>
   [-Profile <AzureSMProfile>]
   [<CommonParameters>]
Get-AzureStorSimpleFailoverVolumeContainers
   -DeviceName <String>
   [-Profile <AzureSMProfile>]
   [<CommonParameters>]

Description

The Get-AzureStorSimpleFailoverVolumeContainers cmdlet gets the volume container groups for device failover. Pass a single VolumeContainer group or an array of VolumeContainer groups to the Start-AzureStorSimpleDeviceFailover cmdlet. Only groups that have a value of $True for the IsDCGroupEligibleForDR property are eligible for failover.

Examples

Example 1: Get failover volume containers

PS C:\>Get-AzureStorSimpleFailoverVolumeContainers -DeviceName "ChewD_App7"

DCGroup                    IneligibilityMessage          IsDCGroupEligibleForDR
-------                    --------------------          ----------------------
{VolumeContainer1889078...                                                 True
{VC_01}                    No cloud snapshot found                        False
{VolumeContainer7306959}   No cloud snapshot found                        False
{VolumeContainer407850151} No cloud snapshot found                        False

This command gets failover volume containers. Only the DCGroups that have a value of $True for the IsDCGroupEligibleForDR property can be used for device failover.

Parameters

-DeviceId

Specifies the instance ID of the StorSimple device on which to run the cmdlet.

Type:String
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-DeviceName

Specifies the name of the StorSimple device on which to run the cmdlet.

Type:String
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-Profile

Specifies an Azure profile.

Type:AzureSMProfile
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

Outputs

IList\<DataContainerGroup\>

This cmdlet returns a list of VolumeContainer groups.