CIDR block

Test-IAMCIDRBlock

Synopsis

Validate a CIDR block.

Syntax

Test-IAMCIDRBlock [-CIDRBlock] <String> [[-EdgeRCFile] <String>] [[-Section] <String>] [[-AccountSwitchKey] <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]

Description

Checks the format of the specified CIDR block. To validate it, pass in the CIDR block or any IP address as the -CIDRBlock parameter.

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.

‑EdgeRCFile

Your EdgeGrid resource file to authenticate your command. Defaults to ~/.edgerc.

‑Section

The section name in your EdgeGrid resource file to retrieve authentication credentials from. Defaults to default.

Related Links