Show / Hide Table of Contents

Class TokenArgs

Inheritance
System.Object
InputArgs
ResourceArgs
TokenArgs
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 TokenArgs : ResourceArgs

Constructors

View Source

TokenArgs()

Declaration
public TokenArgs()

Properties

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
Back to top Copyright 2016-2020, Pulumi Corporation.