-
Notifications
You must be signed in to change notification settings - Fork 2
Remove GrafanaSnapshot
Stephen Valdinger edited this page Apr 8, 2019
·
1 revision
Remove a Grafana snapshot via the API
Remove-GrafanaSnapshot [-SnapshotName] <String> [-WhatIf] [-Confirm] [<CommonParameters>]
Grafana exposes an endpoint to delete snapshots. This cmdlet leverages that endpoint to let you remove them programmatically
Remove-GrafanaSnapshot -SnapshotName SnappyMcSnapshoterson
The friendly name of the snapshot you wish to remove
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Shows what would happen if the cmdlet runs. The cmdlet is not run.
Type: SwitchParameter
Parameter Sets: (All)
Aliases: wi
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Prompts you for confirmation before running the cmdlet.
Type: SwitchParameter
Parameter Sets: (All)
Aliases: cf
Required: False
Position: Named
Default value: None
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