Viewing docs for Grafana v2.23.0
published on Wednesday, Apr 1, 2026 by pulumiverse
published on Wednesday, Apr 1, 2026 by pulumiverse
Viewing docs for Grafana v2.23.0
published on Wednesday, Apr 1, 2026 by pulumiverse
published on Wednesday, Apr 1, 2026 by pulumiverse
Represents a list of Grafana Fleet Management collectors.
- Official documentation
- API documentation
- Step-by-step guide
Required access policy scopes:
- fleet-management:read
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as grafana from "@pulumiverse/grafana";
const test = grafana.fleetManagement.getCollectors({});
import pulumi
import pulumi_grafana as grafana
test = grafana.fleetManagement.get_collectors()
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumiverse/pulumi-grafana/sdk/v2/go/grafana/fleetmanagement"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := fleetmanagement.GetCollectors(ctx, map[string]interface{}{}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Grafana = Pulumiverse.Grafana;
return await Deployment.RunAsync(() =>
{
var test = Grafana.FleetManagement.GetCollectors.Invoke();
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.grafana.fleetManagement.FleetManagementFunctions;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var test = FleetManagementFunctions.getCollectors(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference);
}
}
variables:
test:
fn::invoke:
function: grafana:fleetManagement:getCollectors
arguments: {}
Using getCollectors
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getCollectors(opts?: InvokeOptions): Promise<GetCollectorsResult>
function getCollectorsOutput(opts?: InvokeOptions): Output<GetCollectorsResult>def get_collectors(opts: Optional[InvokeOptions] = None) -> GetCollectorsResult
def get_collectors_output(opts: Optional[InvokeOptions] = None) -> Output[GetCollectorsResult]func GetCollectors(ctx *Context, opts ...InvokeOption) (*GetCollectorsResult, error)
func GetCollectorsOutput(ctx *Context, opts ...InvokeOption) GetCollectorsResultOutput> Note: This function is named GetCollectors in the Go SDK.
public static class GetCollectors
{
public static Task<GetCollectorsResult> InvokeAsync(InvokeOptions? opts = null)
public static Output<GetCollectorsResult> Invoke(InvokeOptions? opts = null)
}public static CompletableFuture<GetCollectorsResult> getCollectors(InvokeOptions options)
public static Output<GetCollectorsResult> getCollectors(InvokeOptions options)
fn::invoke:
function: grafana:fleetManagement/getCollectors:getCollectors
arguments:
# arguments dictionarygetCollectors Result
The following output properties are available:
- Collectors
List<Pulumiverse.
Grafana. Fleet Management. Outputs. Get Collectors Collector> - List of collectors
- Id string
- The provider-assigned unique ID for this managed resource.
- Collectors
[]Get
Collectors Collector - List of collectors
- Id string
- The provider-assigned unique ID for this managed resource.
- collectors
List<Get
Collectors Collector> - List of collectors
- id String
- The provider-assigned unique ID for this managed resource.
- collectors
Get
Collectors Collector[] - List of collectors
- id string
- The provider-assigned unique ID for this managed resource.
- collectors
Sequence[Get
Collectors Collector] - List of collectors
- id str
- The provider-assigned unique ID for this managed resource.
- collectors List<Property Map>
- List of collectors
- id String
- The provider-assigned unique ID for this managed resource.
Supporting Types
GetCollectorsCollector
- Collector
Type string - Enabled bool
- Id string
- Local
Attributes Dictionary<string, string> - Remote
Attributes Dictionary<string, string>
- Collector
Type string - Enabled bool
- Id string
- Local
Attributes map[string]string - Remote
Attributes map[string]string
- collector
Type String - enabled Boolean
- id String
- local
Attributes Map<String,String> - remote
Attributes Map<String,String>
- collector
Type string - enabled boolean
- id string
- local
Attributes {[key: string]: string} - remote
Attributes {[key: string]: string}
- collector_
type str - enabled bool
- id str
- local_
attributes Mapping[str, str] - remote_
attributes Mapping[str, str]
- collector
Type String - enabled Boolean
- id String
- local
Attributes Map<String> - remote
Attributes Map<String>
Package Details
- Repository
- grafana pulumiverse/pulumi-grafana
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
grafanaTerraform Provider.
Viewing docs for Grafana v2.23.0
published on Wednesday, Apr 1, 2026 by pulumiverse
published on Wednesday, Apr 1, 2026 by pulumiverse
