-
Notifications
You must be signed in to change notification settings - Fork 3
Get GrafanaFolder
Retrieve folder information from Grafana via the API
Get-GrafanaFolder [-All] [<CommonParameters>]
Get-GrafanaFolder [-Uid <String>] [<CommonParameters>]
Get-GrafanaFolder [-Id <Int32>] [<CommonParameters>]
You can search for Grafana folders via the API with this cmdlet. You may search via Uid,Id, or return All folders
Get-GrafanaFolder
Returns all folders which the user has access to in Grafana.
Get-GrafanaFolder -Uid Ax8x33
Returns the information for the folder with the Uid you entered
Get-GrafanaFolder -Id 3
Returns the information for the folder with the specified ID
The UID value of a folder you wish to search for. This is an alphanumeric value
Type: String
Parameter Sets: Uid
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
This is the ID of the folder you wish to search for. This is an int value
Type: Int32
Parameter Sets: Id
Aliases:
Required: False
Position: Named
Default value: 0
Accept pipeline input: False
Accept wildcard characters: False
Return all folders which you have access too.
Type: SwitchParameter
Parameter Sets: All
Aliases:
Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
-
Configuration
-
Admin
-
API Keys
-
Alerts
-
Dashboards
-
Folders
-
Snapshots
-
Other