Edit

Share via


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

IdentifyById

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

IdentifyByName

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.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

IdentifyById
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-DeviceName

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

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

IdentifyByName
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-Profile

Specifies an Azure profile.

Parameter properties

Type:AzureSMProfile
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

Outputs

IList

This cmdlet returns a list of VolumeContainer groups.