Show / Hide Table of Contents

Class TokenState

Inheritance
System.Object
InputArgs
ResourceArgs
TokenState
Inherited Members
ResourceArgs.Empty
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 Source

TokenState()

Declaration
public TokenState()

Properties

View Source

Created

The date and time this token was created.

Declaration
public Input<string> Created { get; set; }
Property Value
Type Description
Input<System.String>
View Source

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>
View Source

Label

A label for the Token.

Declaration
public Input<string> Label { get; set; }
Property Value
Type Description
Input<System.String>
View Source

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>
View Source

TokenName

The token used to access the API.

Declaration
public Input<string> TokenName { get; set; }
Property Value
Type Description
Input<System.String>
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.