Class GetGroup
Inheritance
System.Object
GetGroup
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.GitLab
Assembly: Pulumi.GitLab.dll
Syntax
public static class GetGroup
Methods
View SourceInvokeAsync(GetGroupArgs, InvokeOptions)
Provides details about a specific group in the gitlab provider.
{{% examples %}}
Example Usage
{{% example %}}
By group's ID
using Pulumi;
using GitLab = Pulumi.GitLab;
class MyStack : Stack
{
public MyStack()
{
var foo = Output.Create(GitLab.GetGroup.InvokeAsync(new GitLab.GetGroupArgs
{
GroupId = 123,
}));
}
}
By group's full path
using Pulumi;
using GitLab = Pulumi.GitLab;
class MyStack : Stack
{
public MyStack()
{
var foo = Output.Create(GitLab.GetGroup.InvokeAsync(new GitLab.GetGroupArgs
{
FullPath = "foo/bar",
}));
}
}
{{% /example %}} {{% /examples %}}
Declaration
public static Task<GetGroupResult> InvokeAsync(GetGroupArgs args = null, InvokeOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| GetGroupArgs | args | |
| InvokeOptions | options |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<GetGroupResult> |