Test case
Restore-TestCase
Synopsis
Restore test cases.
Syntax
Restore-TestCase [-TestSuiteID] <Int32> [-TestCaseId] <Int32> [-IncludeStatus] [[-EdgeRCFile] <String>] [[-Section] <String>] [[-AccountSwitchKey] <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]
Description
Restores functional test cases into a test suite. To get the ID of the test case you want to restore, run the Get-TestCase
operation with the -IncludeRecentlyDeleted
switch parameter. With this operation, you can restore only those test cases that were deleted no later than 30 days from their deletion date.
Parameters
‑AccountSwitchKey |
An account credential key that lets you move between accounts when using an API client enabled for multiple accounts. To find account switch keys, use Get-AccountSwitchKey. |
‑EdgeRCFile |
Your EdgeGrid resource file to authenticate your command. Defaults to |
‑IncludeStatus |
When enabled, return response metadata as well as the usual 'successes' object. |
‑Section |
The section name in your EdgeGrid resource file to retrieve authentication credentials from. Defaults to |
‑TestCaseId Required |
Your functional test case's ID. |
‑TestSuiteID Required |
Your test suite's ID. |
Related Links
Updated 11 days ago