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.AzureAD
Assembly: Pulumi.AzureAD.dll
Syntax
public static class GetClientConfig
Methods
View SourceInvokeAsync(InvokeOptions)
Use this data source to access the configuration of the AzureRM provider.
{{% examples %}}
Example Usage
{{% example %}}
using Pulumi;
using AzureAD = Pulumi.AzureAD;
class MyStack : Stack
{
public MyStack()
{
var current = Output.Create(AzureAD.GetClientConfig.InvokeAsync());
this.AccountId = current.Apply(current => current.ClientId);
}
[Output("accountId")]
public Output<string> AccountId { 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> |