Show / Hide Table of Contents

Class AclAuthMethod

Starting with Consul 1.5.0, the consul..AclAuthMethod resource can be used to managed Consul ACL auth methods.

Example Usage

using Pulumi;
using Consul = Pulumi.Consul;

class MyStack : Stack
{
public MyStack()
{
    var minikube = new Consul.AclAuthMethod("minikube", new Consul.AclAuthMethodArgs
    {
        Config = 
        {
            { "CACert", @"-----BEGIN CERTIFICATE-----
...-----END CERTIFICATE-----

" },
            { "Host", "https://192.0.2.42:8443" },
            { "ServiceAccountJWT", "eyJhbGciOiJSUzI1NiIsImtpZCI6IiJ9..." },
        },
        Description = "dev minikube cluster",
        Type = "kubernetes",
    });
}

}
Inheritance
System.Object
Resource
CustomResource
AclAuthMethod
Inherited Members
CustomResource.Id
Resource.GetResourceType()
Resource.GetResourceName()
Resource.Urn
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 class AclAuthMethod : CustomResource

Constructors

View Source

AclAuthMethod(String, AclAuthMethodArgs, CustomResourceOptions)

Create a AclAuthMethod resource with the given unique name, arguments, and options.

Declaration
public AclAuthMethod(string name, AclAuthMethodArgs args, CustomResourceOptions options = null)
Parameters
Type Name Description
System.String name

The unique name of the resource

AclAuthMethodArgs args

The arguments used to populate this resource's properties

CustomResourceOptions options

A bag of options that control this resource's behavior

Properties

View Source

Config

The raw configuration for this ACL auth method.

Declaration
public Output<ImmutableDictionary<string, string>> Config { get; }
Property Value
Type Description
Output<System.Collections.Immutable.ImmutableDictionary<System.String, System.String>>
View Source

Description

A free form human readable description of the auth method.

Declaration
public Output<string> Description { get; }
Property Value
Type Description
Output<System.String>
View Source

Name

The name of the ACL auth method.

Declaration
public Output<string> Name { get; }
Property Value
Type Description
Output<System.String>
View Source

Namespace

The namespace to create the policy within.

Declaration
public Output<string> Namespace { get; }
Property Value
Type Description
Output<System.String>
View Source

Type

The type of the ACL auth method.

Declaration
public Output<string> Type { get; }
Property Value
Type Description
Output<System.String>

Methods

View Source

Get(String, Input<String>, AclAuthMethodState, CustomResourceOptions)

Get an existing AclAuthMethod resource's state with the given name, ID, and optional extra properties used to qualify the lookup.

Declaration
public static AclAuthMethod Get(string name, Input<string> id, AclAuthMethodState state = null, CustomResourceOptions options = null)
Parameters
Type Name Description
System.String name

The unique name of the resulting resource.

Input<System.String> id

The unique provider ID of the resource to lookup.

AclAuthMethodState state

Any extra arguments used during the lookup.

CustomResourceOptions options

A bag of options that control this resource's behavior

Returns
Type Description
AclAuthMethod
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.