Class Keys
Inherited Members
Namespace: Pulumi.Consul
Assembly: Pulumi.Consul.dll
Syntax
public class Keys : CustomResource
Constructors
View SourceKeys(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 SourceDatacenter
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> |
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>> |
Namespace
The namespace to create the keys within.
Declaration
public Output<string> Namespace { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
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> |
Var
Declaration
public Output<ImmutableDictionary<string, string>> Var { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Collections.Immutable.ImmutableDictionary<System.String, System.String>> |
Methods
View SourceGet(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 |