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
 

Confirm-AzureStorSimpleLegacyVolumeContainerStatus

Confirm-AzureStorSimpleLegacyVolumeContainerStatus

microsoft.windowsazure.commands.storsimple.dll

Synopsis

Initiates the commit or rollback of the data containers that are migrated.

Syntax

Confirm-AzureStorSimpleLegacyVolumeContainerStatus [-LegacyConfigId] [-LegacyContainerNames] [-MigrationOperation] [-Profile] [<CommonParameters>]

Detailed Description

The Confirm-AzureStorSimpleLegacyVolumeContainerStatus cmdlet initiates the commit or rollback of the data containers that are migrated as part of a legacy migration. The rollback restores the appliance to the original ownership. The commit assigns the ownership to the target appliance.

Parameters

-LegacyConfigId <String>

Specifies the unique ID of the configuration of the legacy appliance.

Aliases

none

Required?

true

Position

1

Default value

none

Accept pipeline input?

false

Accept wildcard characters?

false

-LegacyContainerNames <String[]>

Specifies an array of data container names for which the migration plan applies.

Aliases

none

Required?

false

Position

2

Default value

none

Accept pipeline input?

false

Accept wildcard characters?

false

-MigrationOperation <ConfirmMigrationOperation>

Specifies whether this cmdlet performs a commit or rollback. Valid values are: Commit and Rollback.

Aliases

none

Required?

true

Position

3

Default value

none

Accept pipeline input?

false

Accept wildcard characters?

false

-Profile <AzureProfile>

Specifies an Azure profile.

Aliases

none

Required?

false

Position

named

Default value

none

Accept pipeline input?

false

Accept wildcard characters?

false

Input Type


Return Type


Notes

None

Examples

Example 1: Initiate a commit operation

This command initiates a commit operation for the specified legacy configuration ID. To see the status of the operation, use the Get-AzureStorSimpleLegacyVolumeContainerStatus cmdlet.

PS C:\>Confirm-AzureStorSimpleLegacyVolumeContainerStatus -LegacyConfigId "c5a831e1-7888-44f4-adf1-92994be630c3" -LegacyContainerNames "OneSDKAzureCloud" -MigrationOperation Commit
Please check the commit/discard status using Get-AzureStorSimpleLegacyVolumeContainerConfirmStatus                        

Example 2: Initiate a rollback operation

This command initiates a rollback operation for the specified legacy configuration ID.

PS C:\>Confirm-AzureStorSimpleLegacyVolumeContainerStatus -LegacyConfigId "c5a831e1-7888-44f4-adf1-92994be630c3" -LegacyContainerNames "OneSDKAzureCloud" -MigrationOperation Rollback
Please check the commit/discard status using Get-AzureStorSimpleLegacyVolumeContainerConfirmStatus                        

Get-AzureStorSimpleLegacyVolumeContainerStatus
Get-AzureStorSimpleLegacyVolumeContainerConfirmStatus
Get-AzureStorSimpleLegacyVolumeContainerMigrationPlan