Viewing docs for GitLab v9.11.0
published on Tuesday, Apr 21, 2026 by Pulumi
published on Tuesday, Apr 21, 2026 by Pulumi
Viewing docs for GitLab v9.11.0
published on Tuesday, Apr 21, 2026 by Pulumi
published on Tuesday, Apr 21, 2026 by Pulumi
The gitlab.getRunnerControllers data source retrieves all runner controllers.
This data source is experimental and may change or be removed in future versions. Introduced in GitLab 18.9.
This data source requires administration privileges.
Upstream API: GitLab REST API docs
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as gitlab from "@pulumi/gitlab";
const all = gitlab.getRunnerControllers({});
import pulumi
import pulumi_gitlab as gitlab
all = gitlab.get_runner_controllers()
package main
import (
"github.com/pulumi/pulumi-gitlab/sdk/v9/go/gitlab"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := gitlab.GetRunnerControllers(ctx, map[string]interface{}{}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using GitLab = Pulumi.GitLab;
return await Deployment.RunAsync(() =>
{
var all = GitLab.Index.GetRunnerControllers.Invoke();
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gitlab.GitlabFunctions;
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 all = GitlabFunctions.getRunnerControllers(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference);
}
}
variables:
all:
fn::invoke:
function: gitlab:getRunnerControllers
arguments: {}
Using getRunnerControllers
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 getRunnerControllers(opts?: InvokeOptions): Promise<GetRunnerControllersResult>
function getRunnerControllersOutput(opts?: InvokeOptions): Output<GetRunnerControllersResult>def get_runner_controllers(opts: Optional[InvokeOptions] = None) -> GetRunnerControllersResult
def get_runner_controllers_output(opts: Optional[InvokeOptions] = None) -> Output[GetRunnerControllersResult]func GetRunnerControllers(ctx *Context, opts ...InvokeOption) (*GetRunnerControllersResult, error)
func GetRunnerControllersOutput(ctx *Context, opts ...InvokeOption) GetRunnerControllersResultOutput> Note: This function is named GetRunnerControllers in the Go SDK.
public static class GetRunnerControllers
{
public static Task<GetRunnerControllersResult> InvokeAsync(InvokeOptions? opts = null)
public static Output<GetRunnerControllersResult> Invoke(InvokeOptions? opts = null)
}public static CompletableFuture<GetRunnerControllersResult> getRunnerControllers(InvokeOptions options)
public static Output<GetRunnerControllersResult> getRunnerControllers(InvokeOptions options)
fn::invoke:
function: gitlab:index/getRunnerControllers:getRunnerControllers
arguments:
# arguments dictionarygetRunnerControllers Result
The following output properties are available:
- Id string
- The ID of this data source.
- Runner
Controllers List<Pulumi.Git Lab. Outputs. Get Runner Controllers Runner Controller> - The list of runner controllers.
- Id string
- The ID of this data source.
- Runner
Controllers []GetRunner Controllers Runner Controller - The list of runner controllers.
- id String
- The ID of this data source.
- runner
Controllers List<GetRunner Controllers Runner Controller> - The list of runner controllers.
- id string
- The ID of this data source.
- runner
Controllers GetRunner Controllers Runner Controller[] - The list of runner controllers.
- id str
- The ID of this data source.
- runner_
controllers Sequence[GetRunner Controllers Runner Controller] - The list of runner controllers.
- id String
- The ID of this data source.
- runner
Controllers List<Property Map> - The list of runner controllers.
Supporting Types
GetRunnerControllersRunnerController
- Created
At string - The time the runner controller was created.
- Description string
- The description of the runner controller.
- Id int
- The ID of the runner controller.
- State string
- The state of the runner controller. Valid values are:
disabled,enabled,dryRun. - Updated
At string - The time the runner controller was last updated.
- Created
At string - The time the runner controller was created.
- Description string
- The description of the runner controller.
- Id int
- The ID of the runner controller.
- State string
- The state of the runner controller. Valid values are:
disabled,enabled,dryRun. - Updated
At string - The time the runner controller was last updated.
- created
At String - The time the runner controller was created.
- description String
- The description of the runner controller.
- id Integer
- The ID of the runner controller.
- state String
- The state of the runner controller. Valid values are:
disabled,enabled,dryRun. - updated
At String - The time the runner controller was last updated.
- created
At string - The time the runner controller was created.
- description string
- The description of the runner controller.
- id number
- The ID of the runner controller.
- state string
- The state of the runner controller. Valid values are:
disabled,enabled,dryRun. - updated
At string - The time the runner controller was last updated.
- created_
at str - The time the runner controller was created.
- description str
- The description of the runner controller.
- id int
- The ID of the runner controller.
- state str
- The state of the runner controller. Valid values are:
disabled,enabled,dryRun. - updated_
at str - The time the runner controller was last updated.
- created
At String - The time the runner controller was created.
- description String
- The description of the runner controller.
- id Number
- The ID of the runner controller.
- state String
- The state of the runner controller. Valid values are:
disabled,enabled,dryRun. - updated
At String - The time the runner controller was last updated.
Package Details
- Repository
- GitLab pulumi/pulumi-gitlab
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
gitlabTerraform Provider.
Viewing docs for GitLab v9.11.0
published on Tuesday, Apr 21, 2026 by Pulumi
published on Tuesday, Apr 21, 2026 by Pulumi
