-
Notifications
You must be signed in to change notification settings - Fork 2
New GrafanaFolder
Create a new folder in Grafana via the API
New-GrafanaFolder [-Title] <String> [[-Uid] <String>] [<CommonParameters>]
The Grafana API allows you to create new folders. This cmdlet accomplishes this. Title is required, but you may supply an optional Uid. If you don't specify a Uid, one will be generated for you by the API at runtime.
New-GrafanaFolder -Title "My Awesome Folder"
Creates a new folder in Grafana called "My Awesome Folder"
New-GrafanaFolder -Title "Web Farm Folder" -Uid nErXDvCkzz
Creates a new folder in Grafana called "Web Farm Folder" with a Uid of nErXDvCkzz
The title of the folder you wish to create with the API
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
The uid to give the folder when created by the API
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 2
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.
General notes
-
Configuration
-
Admin
-
API Keys
-
Alerts
-
Dashboards
-
Folders
-
Snapshots
-
Other