Class TokenState
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.Linode
Assembly: Pulumi.Linode.dll
Syntax
public sealed class TokenState : ResourceArgs
Constructors
View SourceTokenState()
Declaration
public TokenState()
Properties
View SourceCreated
The date and time this token was created.
Declaration
public Input<string> Created { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Expiry
When this token will expire. Personal Access Tokens cannot be renewed, so after this time the token will be completely unusable and a new token will need to be generated. Tokens may be created with 'null' as their expiry and will never expire unless revoked.
Declaration
public Input<string> Expiry { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Label
A label for the Token.
Declaration
public Input<string> Label { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Scopes
The scopes this token was created with. These define what parts of the Account the token can be used to access. Many command-line tools, such as the Linode CLI, require tokens with access to *. Tokens with more restrictive scopes are generally more secure.
Declaration
public Input<string> Scopes { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
TokenName
The token used to access the API.
Declaration
public Input<string> TokenName { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |