WorkspaceServiceAccountTokenState constructor

const WorkspaceServiceAccountTokenState({
  1. Input<String?>? createdAt,
  2. Input<String?>? expiresAt,
  3. Input<String?>? key,
  4. Input<String?>? name,
  5. Input<String?>? region,
  6. Input<int?>? secondsToLive,
  7. Input<String?>? serviceAccountId,
  8. Input<String?>? serviceAccountTokenId,
  9. Input<String?>? workspaceId,
})

Creates a new WorkspaceServiceAccountTokenState. createdAt Specifies when the service account token was created. expiresAt Specifies when the service account token will expire. key The key for the service account token. Used when making calls to the Grafana HTTP APIs to authenticate and authorize the requests. 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. serviceAccountTokenId Identifier of the service account token in the given Grafana workspace. workspaceId The Grafana workspace with which the service account token is associated.

Implementation

const WorkspaceServiceAccountTokenState({
  this.createdAt,
  this.expiresAt,
  this.key,
  this.name,
  this.region,
  this.secondsToLive,
  this.serviceAccountId,
  this.serviceAccountTokenId,
  this.workspaceId,
});