Class GetCollaborators
Inheritance
System.Object
GetCollaborators
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.Github
Assembly: Pulumi.Github.dll
Syntax
public static class GetCollaborators
Methods
View SourceInvokeAsync(GetCollaboratorsArgs, InvokeOptions)
Use this data source to retrieve the collaborators for a given repository.
{{% examples %}}
Example Usage
{{% example %}}
using Pulumi;
using Github = Pulumi.Github;
class MyStack : Stack
{
public MyStack()
{
var test = Output.Create(Github.GetCollaborators.InvokeAsync(new Github.GetCollaboratorsArgs
{
Owner = "example_owner",
Repository = "example_repository",
}));
}
}
{{% /example %}} {{% /examples %}}
Declaration
public static Task<GetCollaboratorsResult> InvokeAsync(GetCollaboratorsArgs args, InvokeOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| GetCollaboratorsArgs | args | |
| InvokeOptions | options |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<GetCollaboratorsResult> |