< Back

Confirm-AzureStorSimpleLegacyVolumeContainerStatus

Wed Jan 30, 2019 5:43 pm

NAME Confirm-AzureStorSimpleLegacyVolumeContainerStatus



SYNOPSIS

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





SYNTAX

Confirm-AzureStorSimpleLegacyVolumeContainerStatus [-LegacyConfigId] <System.String> [-MigrationOperation] {Commit | Rollback} [-All] [-Profile

<Microsoft.Azure.Common.Authentication.Models.AzureProfile>] [<CommonParameters>]



Confirm-AzureStorSimpleLegacyVolumeContainerStatus [-LegacyConfigId] <System.String> [-MigrationOperation] {Commit | Rollback} [-LegacyContainerNames]

<System.String[]> [-Profile <Microsoft.Azure.Common.Authentication.Models.AzureProfile>] [<CommonParameters>]





DESCRIPTION

The Confirm-AzureStorSimpleLegacyVolumeContainerStatus cmdlet initiates the commit or rollback of the volume 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

-All <SwitchParameter>

Indicates that this cmdlet initiates a roll back or commit operation on all volume containers in the imported configuration file.



Required? true

Position? 3

Default value none

Accept pipeline input? false

Accept wildcard characters? false



-LegacyConfigId <System.String>

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



Required? true

Position? 1

Default value none

Accept pipeline input? false

Accept wildcard characters? false



-LegacyContainerNames <System.String[]>

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



Required? true

Position? 3

Default value none

Accept pipeline input? false

Accept wildcard characters? false



-MigrationOperation <System.String>

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



Required? true

Position? 2

Default value none

Accept pipeline input? false

Accept wildcard characters? false



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

Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.



Required? false

Position? named

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











OUTPUTS











NOTES





Keywords: azure, azuresm, servicemanagement, management, service, store, storsimple



Example 1: Initiate a commit operation on a specific volume container



PS C:\\>Confirm-AzureStorSimpleLegacyVolumeContainerStatus -LegacyConfigId "c5a831e1-7888-44f4-adf1-92994be630c3" -LegacyContainerNames

"OneSDKAzureCloud" -MigrationOperation Commit

Please check the commit/discard status using Get-AzureStorSimpleLegacyVolumeContainerConfirmStatus



This command initiates a commit operation on the specified volume container for the specified legacy configuration ID. To see the status of the

operation, use the Get-AzureStorSimpleLegacyVolumeContainerStatus cmdlet.





Example 2: Initiate a rollback operation on a specific volume container



PS C:\\>Confirm-AzureStorSimpleLegacyVolumeContainerStatus -LegacyConfigId "c5a831e1-7888-44f4-adf1-92994be630c3" -LegacyContainerNames

"OneSDKAzureCloud" -MigrationOperation Rollback

Please check the commit/discard status using Get-AzureStorSimpleLegacyVolumeContainerConfirmStatus



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





Example 3: Initiate a commit operation on all volume containers



PS C:\\>Confirm-AzureStorSimpleLegacyVolumeContainerStatus -LegacyConfigId "c5a831e1-7888-44f4-adf1-92994be630c3" -MigrationOperation Commit -All

Please check the commit/discard status using Get-AzureStorSimpleLegacyVolumeContainerConfirmStatus



This command initiates a commit operation on all volume container for the specified legacy configuration ID.





Example 4: Initiate a rollback operation on all volume containers



PS C:\\>Confirm-AzureStorSimpleLegacyVolumeContainerStatus -LegacyConfigId "c5a831e1-7888-44f4-adf1-92994be630c3" -MigrationOperation Rollback -All

Please check the commit/discard status using Get-AzureStorSimpleLegacyVolumeContainerConfirmStatus



This command initiates a rollback operation on all volume containers for the specified legacy configuration ID.







RELATED LINKS

Get-AzureStorSimpleLegacyVolumeContainerStatus

Get-AzureStorSimpleLegacyVolumeContainerConfirmStatus

Get-AzureStorSimpleLegacyVolumeContainerMigrationPlan