WorkspaceServiceAccountTokenState class
Input properties used for looking up and filtering WorkspaceServiceAccountToken resources.
Constructors
-
WorkspaceServiceAccountTokenState({Input<
String?> ? createdAt, Input<String?> ? expiresAt, Input<String?> ? key, Input<String?> ? name, Input<String?> ? region, Input<int?> ? secondsToLive, Input<String?> ? serviceAccountId, Input<String?> ? serviceAccountTokenId, Input<String?> ? workspaceId}) -
Creates a new WorkspaceServiceAccountTokenState.
createdAtSpecifies when the service account token was created.expiresAtSpecifies when the service account token will expire.keyThe key for the service account token. Used when making calls to the Grafana HTTP APIs to authenticate and authorize the requests.nameA name for the token to create. The name must be unique within the workspace.regionRegion where this resource will be managed. Defaults to the Region set in the provider configuration.secondsToLiveSets how long the token will be valid, in seconds. You can set the time up to 30 days in the future.serviceAccountIdThe ID of the service account for which to create a token.serviceAccountTokenIdIdentifier of the service account token in the given Grafana workspace.workspaceIdThe Grafana workspace with which the service account token is associated.const -
WorkspaceServiceAccountTokenState.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
createdAt
→ Input<
String?> ? -
Specifies when the service account token was created.
final
-
expiresAt
→ Input<
String?> ? -
Specifies when the service account token will expire.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
key
→ Input<
String?> ? -
The key for the service account token. Used when making calls to the Grafana HTTP APIs to authenticate and authorize the requests.
final
-
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
-
serviceAccountTokenId
→ Input<
String?> ? -
Identifier of the service account token in the given Grafana workspace.
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