Configuration version
New-AppSecConfigurationVersion
Synopsis
Clone a configuration version.
Syntax
New-AppSecConfigurationVersion [-ConfigName] <String> -CreateFromVersion <String> [-UpdateRules] [-EdgeRCFile <String>] [-Section <String>] [-AccountSwitchKey <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]
New-AppSecConfigurationVersion -ConfigID <Int32> -CreateFromVersion <String> [-UpdateRules] [-EdgeRCFile <String>] [-Section <String>] [-AccountSwitchKey <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]
Description
Creates a new version of the specified security configuration. When making a request, you can specify a configuration by its name or ID. The -VersionNumber
parameter is an integer or the word latest
.
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. |
‑ConfigID Conditionally required |
Your configuration's ID. |
‑ConfigName Conditionally required |
The name of your security configuration. |
‑CreateFromVersion Required |
The configuration version to clone from. |
‑EdgeRCFile |
Your EdgeGrid resource file to authenticate your command. Defaults to |
‑Section |
The section name in your EdgeGrid resource file to retrieve authentication credentials from. Defaults to |
‑UpdateRules |
If present, the function migrates the application rules to the latest version. |
Related Links
Updated 3 days ago