CIDR block
Set-IAMCIDRBlock
Synopsis
Modify a CIDR block.
Syntax
Set-IAMCIDRBlock [-CIDRBlockID] <Int32> [-CIDRBlock] <String> [[-Comments] <String>] [-Enabled] [[-EdgeRCFile] <String>] [[-Section] <String>] [[-AccountSwitchKey] <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]
Description
Modifies a specified CIDR block's details. You can enable or disable an existing CIDR block as well as update comments, IP addresses, or ranges. Note that you can only update a CIDR block with the IP allowlist enabled on your account.
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. |
‑CIDRBlock Required |
The value of an IP address or IP address range. |
‑CIDRBlockID Required |
Your CIDR block's ID. To get this value, run |
‑Comments |
A descriptive text you provide for the CIDR block. |
‑EdgeRCFile |
Your EdgeGrid resource file to authenticate your command. Defaults to |
‑Enabled |
Enables the IP allowlist on the account. |
‑Section |
The section name in your EdgeGrid resource file to retrieve authentication credentials from. Defaults to |
Related Links
Updated about 6 hours ago