Class GetClientConfig
Inheritance
System.Object
GetClientConfig
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.Gcp.Organizations
Assembly: Pulumi.Gcp.dll
Syntax
public static class GetClientConfig
Methods
View SourceInvokeAsync(InvokeOptions)
Use this data source to access the configuration of the Google Cloud provider.
{{% examples %}}
Example Usage
{{% example %}}
using Pulumi;
using Gcp = Pulumi.Gcp;
class MyStack : Stack
{
public MyStack()
{
var current = Output.Create(Gcp.Organizations.GetClientConfig.InvokeAsync());
this.Project = current.Apply(current => current.Project);
}
[Output("project")]
public Output<string> Project { get; set; }
}
{{% /example %}} {{% /examples %}}
Declaration
public static Task<GetClientConfigResult> InvokeAsync(InvokeOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| InvokeOptions | options |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<GetClientConfigResult> |