GetAclAuthMethod

The consul..AclAuthMethod data source returns the information related to a Consul Auth Method.

Example Usage

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; }
}

Coming soon!

import pulumi
import pulumi_consul as consul

test = consul.get_acl_auth_method(name="minikube")
pulumi.export("consulAclAuthMethod", test.config)
import * as pulumi from "@pulumi/pulumi";
import * as consul from "@pulumi/consul";

const test = consul.getAclAuthMethod({
    name: "minikube",
});
export const consulAclAuthMethod = test.then(test => test.config);

Using GetAclAuthMethod

function getAclAuthMethod(args: GetAclAuthMethodArgs, opts?: InvokeOptions): Promise<GetAclAuthMethodResult>
function  get_acl_auth_method(config=None, description=None, name=None, namespace=None, type=None, opts=None)
func LookupAclAuthMethod(ctx *Context, args *LookupAclAuthMethodArgs, opts ...InvokeOption) (*LookupAclAuthMethodResult, error)

Note: This function is named LookupAclAuthMethod in the Go SDK.

public static class GetAclAuthMethod {
    public static Task<GetAclAuthMethodResult> InvokeAsync(GetAclAuthMethodArgs args, InvokeOptions? opts = null)
}

The following arguments are supported:

Name string

The name of the ACL Auth Method.

Config Dictionary<string, string>

The configuration options of the ACL Auth Method.

Description string

The description of the ACL Auth Method.

Namespace string

The namespace to lookup the auth method.

Type string

The type of the ACL Auth Method.

Name string

The name of the ACL Auth Method.

Config map[string]string

The configuration options of the ACL Auth Method.

Description string

The description of the ACL Auth Method.

Namespace string

The namespace to lookup the auth method.

Type string

The type of the ACL Auth Method.

name string

The name of the ACL Auth Method.

config {[key: string]: string}

The configuration options of the ACL Auth Method.

description string

The description of the ACL Auth Method.

namespace string

The namespace to lookup the auth method.

type string

The type of the ACL Auth Method.

name str

The name of the ACL Auth Method.

config Dict[str, str]

The configuration options of the ACL Auth Method.

description str

The description of the ACL Auth Method.

namespace str

The namespace to lookup the auth method.

type str

The type of the ACL Auth Method.

GetAclAuthMethod Result

The following output properties are available:

Id string

The provider-assigned unique ID for this managed resource.

Name string
Config Dictionary<string, string>

The configuration options of the ACL Auth Method.

Description string

The description of the ACL Auth Method.

Namespace string
Type string

The type of the ACL Auth Method.

Id string

The provider-assigned unique ID for this managed resource.

Name string
Config map[string]string

The configuration options of the ACL Auth Method.

Description string

The description of the ACL Auth Method.

Namespace string
Type string

The type of the ACL Auth Method.

id string

The provider-assigned unique ID for this managed resource.

name string
config {[key: string]: string}

The configuration options of the ACL Auth Method.

description string

The description of the ACL Auth Method.

namespace string
type string

The type of the ACL Auth Method.

id str

The provider-assigned unique ID for this managed resource.

name str
config Dict[str, str]

The configuration options of the ACL Auth Method.

description str

The description of the ACL Auth Method.

namespace str
type str

The type of the ACL Auth Method.

Package Details

Repository
https://github.com/pulumi/pulumi-consul
License
Apache-2.0
Notes
This Pulumi package is based on the consul Terraform Provider.