-
Notifications
You must be signed in to change notification settings - Fork 3
Get GrafanaDatasource
Stephen Valdinger edited this page Apr 3, 2019
·
1 revision
Fetch information about Grafana datasources via the API
Get-GrafanaDatasource [-All] [[-DatasourceId] <Int32>] [[-DatasourceName] <String>] [<CommonParameters>]
Get-GrafanaDatasource -All
Get-GrafanaDatasource -DatasourceId 4
Get-GrafanaDatasource -Datasourcename ElasticPuppies
Returns all datasources in your Grafana Instance
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False
The ID of the datasource for which to search
Type: Int32
Parameter Sets: (All)
Aliases:
Required: False
Position: 1
Default value: 0
Accept pipeline input: False
Accept wildcard characters: False
The friendly name of the datasource for which to search
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.
-
Configuration
-
Admin
-
API Keys
-
Alerts
-
Dashboards
-
Folders
-
Snapshots
-
Other