Skip to content

Latest commit

 

History

History
118 lines (90 loc) · 2.46 KB

Invoke-WAFQueryLoop.md

File metadata and controls

118 lines (90 loc) · 2.46 KB
external help file Module Name online version schema
collector-help.xml
collector
2.0.0

Invoke-WAFQueryLoop

SYNOPSIS

Invokes a loop to run queries for each recommendation object.

SYNTAX

Invoke-WAFQueryLoop [-RecommendationObject] <PSObject[]> [-SubscriptionIds] <String[]>
 [[-AddedTypes] <String[]>] [[-ProgressId] <Int32>] [-ProgressAction <ActionPreference>] [<CommonParameters>]

DESCRIPTION

The Invoke-WAFQueryLoop function runs queries for each recommendation object and retrieves the resources.

EXAMPLES

EXAMPLE 1

$resources = Invoke-WAFQueryLoop -RecommendationObject $recommendations -subscriptionIds @('sub1', 'sub2')

PARAMETERS

-RecommendationObject

An array of recommendation objects to query.

Type: PSObject[]
Parameter Sets: (All)
Aliases:

Required: True
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-SubscriptionIds

An array of subscription IDs to scope the query.

Type: String[]
Parameter Sets: (All)
Aliases:

Required: True
Position: 2
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-AddedTypes

{{ Fill AddedTypes Description }}

Type: String[]
Parameter Sets: (All)
Aliases:

Required: False
Position: 3
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-ProgressId

{{ Fill ProgressId Description }}

Type: Int32
Parameter Sets: (All)
Aliases:

Required: False
Position: 4
Default value: 1
Accept pipeline input: False
Accept wildcard characters: False

-ProgressAction

{{ Fill ProgressAction Description }}

Type: ActionPreference
Parameter Sets: (All)
Aliases: proga

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

OUTPUTS

Returns an array of resources for each recommendation object.

NOTES

This function uses the Get-WAFAllAzGraphResource function to perform the queries.

RELATED LINKS