WorkspaceServiceAccountTokenArgs class

The set of arguments for WorkspaceServiceAccountToken. The set of arguments for WorkspaceServiceAccountToken.

Constructors

WorkspaceServiceAccountTokenArgs({Input<String?>? name, Input<String?>? region, required Input<int> secondsToLive, required Input<String> serviceAccountId, required Input<String> workspaceId})
Creates a new WorkspaceServiceAccountTokenArgs. name A name for the token to create. The name must be unique within the workspace. region Region where this resource will be managed. Defaults to the Region set in the provider configuration. secondsToLive Sets how long the token will be valid, in seconds. You can set the time up to 30 days in the future. serviceAccountId The ID of the service account for which to create a token. workspaceId The Grafana workspace with which the service account token is associated.
const
WorkspaceServiceAccountTokenArgs.fromMap(Map<String, dynamic> map)
factory

Properties

hashCode → int
The hash code for this object.
no setterinherited
name → Input<String?>?
A name for the token to create. The name must be unique within the workspace.
final
region → Input<String?>?
Region where this resource will be managed. Defaults to the Region set in the provider configuration.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
secondsToLive → Input<int>
Sets how long the token will be valid, in seconds. You can set the time up to 30 days in the future.
final
serviceAccountId → Input<String>
The ID of the service account for which to create a token.
final
workspaceId → Input<String>
The Grafana workspace with which the service account token is associated.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited