Show / Hide Table of Contents

Class Keys

Inheritance
System.Object
Resource
CustomResource
Keys
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 Keys : CustomResource

Constructors

View Source

Keys(String, KeysArgs, CustomResourceOptions)

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

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

The unique name of the resource

KeysArgs 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

Datacenter

The datacenter to use. This overrides the agent's default datacenter and the datacenter in the provider setup.

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

KeysCollection

Specifies a key in Consul to be written. Supported values documented below.

Declaration
public Output<ImmutableArray<KeysKey>> KeysCollection { get; }
Property Value
Type Description
Output<System.Collections.Immutable.ImmutableArray<KeysKey>>
View Source

Namespace

The namespace to create the keys within.

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

Token

The ACL token to use. This overrides the token that the agent provides by default.

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

Var

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

Methods

View Source

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

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

Declaration
public static Keys Get(string name, Input<string> id, KeysState 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.

KeysState state

Any extra arguments used during the lookup.

CustomResourceOptions options

A bag of options that control this resource's behavior

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