Class KeyPrefixState
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 sealed class KeyPrefixState : ResourceArgs
Constructors
View SourceKeyPrefixState()
Declaration
public KeyPrefixState()
Properties
View SourceDatacenter
The datacenter to use. This overrides the agent's default datacenter and the datacenter in the provider setup.
Declaration
public Input<string> Datacenter { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Namespace
The namespace to create the keys within.
Declaration
public Input<string> Namespace { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
PathPrefix
Specifies the common prefix shared by all keys that will be managed by this resource instance. In most cases this will end with a slash, to manage a "folder" of keys.
Declaration
public Input<string> PathPrefix { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
SubkeyCollection
A subkey to add. Supported values documented below. Multiple blocks supported.
Declaration
public InputList<KeyPrefixSubkeyCollectionGetArgs> SubkeyCollection { get; set; }
Property Value
| Type | Description |
|---|---|
| InputList<KeyPrefixSubkeyCollectionGetArgs> |
Subkeys
A mapping from subkey name (which will be appended
to the given path_prefix) to the value that should be stored at that key.
Use slashes, as shown in the above example, to create "sub-folders" under
the given path prefix.
Declaration
public InputMap<string> Subkeys { get; set; }
Property Value
| Type | Description |
|---|---|
| InputMap<System.String> |
Token
The ACL token to use. This overrides the token that the agent provides by default.
Declaration
public Input<string> Token { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |