List items
Test-ClientListItems
Synopsis
Validate entries.
Syntax
items (Default)
Test-ClientListItems -Items <Object> -ListType <String> [-Version <String>] [-EdgeRCFile <String>]
[-Section <String>] [-AccountSwitchKey <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]
file
Test-ClientListItems -File <String> -ListType <String> [-Version <String>] [-EdgeRCFile <String>]
[-Section <String>] [-AccountSwitchKey <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]
Description
Validates entries before creating a client list. It's similar in structure to the Add-ClientListItem
operation, that is, you can provide items as an array or a comma-separated string or you can use a local CSV file. Your CSV file needs to include these four columns: value
, Description
, tags
, and expirationDate
.
When making a request, you can specify the list by either its name or ID. The -Version
parameter is an integer or the word latest
.
Parameters
-AccountSwitchKey
Account switch key, for use when you have access to multiple accounts and need to specify which one to use. Account switch keys can be found using Get-AccountSwitchKey
.
Type: String
Parameter Sets: (All)
Aliases: None
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-EdgeRCFile
EdgeRC file to authenticate your command. Defaults to ~/.edgerc
.
Type: String
Parameter Sets: (All)
Aliases: None
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-File
CSV file from which to read list items.
Type: String
Parameter Sets: file
Aliases: None
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-Items
Entry values to import into a client list. Can be an array or comma-separated string.
Type: Object
Parameter Sets: items
Aliases: None
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-ListType
Type of your client list, which can be IP
, GEO
, ASN
, TLS_FINGERPRINT
, or FILE_HASH
.
Type: String
Parameter Sets: (All)
Aliases:
Accepted values: IP, GEO, ASN, TLS_FINGERPRINT, FILE_HASH
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-Section
EdgeRC section to retrieve authentication credentials from. Defaults to default
.
Type: String
Parameter Sets: (All)
Aliases: None
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-Version
The version of your client list. It can be an integer or the word latest
.
Type: String
Parameter Sets: (All)
Aliases: None
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
CommonParameters
This cmdlet supports the common parameters: -Debug
, -ErrorAction
, -ErrorVariable
, -InformationAction
, -InformationVariable
, -OutVariable
, -OutBuffer
, -PipelineVariable
, -Verbose
, -WarningAction
, and -WarningVariable
. For more information, see about_CommonParameters.
Inputs
None
Outputs
System.Object
Related links
Updated 7 days ago