Network list
Set-NetworkList
Synopsis
Update a network list.
Syntax
Set-NetworkList [-NetworkListID] <String> [[-Body] <Object>] [[-EdgeRCFile] <String>] [[-Section] <String>] [[-AccountSwitchKey] <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]
Description
Modifies the network list items and properties. You can edit the name, description, and a set of network list items to the resource. You can't edit the type. When running the operation, the current state of the list is replaced with the properties and items you provide.
Note: To retrieve a network list with its elements, run the
Get-NetworkListoperation with the-NetworkListIDparameter and the-IncludeElementsswitch, edit the content locally, and pipe it to this command. Make sure to use the-IncludeElementsswitch when retrieving. Otherwise, the operation won't return any elements.
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. |
‑Body |
A request body, either as a |
‑EdgeRCFile |
Your EdgeGrid resource file to authenticate your command. Defaults to |
‑NetworkListIDRequired |
Your network list's ID. |
‑Section |
The section name in your EdgeGrid resource file to retrieve authentication credentials from. Defaults to |
Related Links
Updated 4 months ago
