Class SecretState
Inherited Members
Namespace: Pulumi.Gcp.SecretManager
Assembly: Pulumi.Gcp.dll
Syntax
public sealed class SecretState : ResourceArgs
Constructors
View SourceSecretState()
Declaration
public SecretState()
Properties
View SourceCreateTime
The time at which the Secret was created.
Declaration
public Input<string> CreateTime { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Labels
The labels assigned to this Secret. Label keys must be between 1 and 63 characters long, have a UTF-8 encoding of maximum 128 bytes, and must conform to the following PCRE regular expression: [\p{Ll}\p{Lo}][\p{Ll}\p{Lo}\p{N}-]{0,62} Label values must be between 0 and 63 characters long, have a UTF-8 encoding of maximum 128 bytes, and must conform to the following PCRE regular expression: [\p{Ll}\p{Lo}\p{N}-]{0,63} No more than 64 labels can be assigned to a given resource. An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.
Declaration
public InputMap<string> Labels { get; set; }
Property Value
| Type | Description |
|---|---|
| InputMap<System.String> |
Name
The resource name of the Secret. Format: 'projects/{{project}}/secrets/{{secret_id}}'
Declaration
public Input<string> Name { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Project
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
Declaration
public Input<string> Project { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Replication
The replication policy of the secret data attached to the Secret. It cannot be changed after the Secret has been created. Structure is documented below.
Declaration
public Input<SecretReplicationGetArgs> Replication { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<SecretReplicationGetArgs> |
SecretId
This must be unique within the project.
Declaration
public Input<string> SecretId { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |