Class GetAclAuthMethod
Inheritance
System.Object
GetAclAuthMethod
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.Consul
Assembly: Pulumi.Consul.dll
Syntax
public static class GetAclAuthMethod
Methods
View SourceInvokeAsync(GetAclAuthMethodArgs, InvokeOptions)
The consul..AclAuthMethod data source returns the information related to a
Consul Auth Method.
{{% examples %}}
Example Usage
{{% example %}}
using Pulumi;
using Consul = Pulumi.Consul;
class MyStack : Stack
{
public MyStack()
{
var test = Output.Create(Consul.GetAclAuthMethod.InvokeAsync(new Consul.GetAclAuthMethodArgs
{
Name = "minikube",
}));
this.ConsulAclAuthMethod = test.Apply(test => test.Config);
}
[Output("consulAclAuthMethod")]
public Output<string> ConsulAclAuthMethod { get; set; }
}
{{% /example %}} {{% /examples %}}
Declaration
public static Task<GetAclAuthMethodResult> InvokeAsync(GetAclAuthMethodArgs args, InvokeOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| GetAclAuthMethodArgs | args | |
| InvokeOptions | options |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<GetAclAuthMethodResult> |