Class WorkspaceServiceAccountTokenState


  • public final class WorkspaceServiceAccountTokenState
    extends com.pulumi.resources.ResourceArgs
    • Method Detail

      • createdAt

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> createdAt()
        Returns:
        When the service account token was created.
      • expiresAt

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> expiresAt()
        Returns:
        When the service account token will expire.
      • key

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> key()
        Returns:
        Key for the service account token. Used when making calls to the Grafana HTTP APIs to authenticate and authorize the requests.
      • name

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> name()
        Returns:
        Name for the token to create. The name must be unique within the workspace.
      • region

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> region()
        Returns:
        Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
      • secondsToLive

        public java.util.Optional<com.pulumi.core.Output<java.lang.Integer>> secondsToLive()
        Returns:
        Sets how long the token will be valid, in seconds. You can set the time up to 30 days in the future.
      • serviceAccountId

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> serviceAccountId()
        Returns:
        ID of the service account for which to create a token.
      • serviceAccountTokenId

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> serviceAccountTokenId()
        Returns:
        Identifier of the service account token in the given Grafana workspace.
      • workspaceId

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> workspaceId()
        Returns:
        Grafana workspace with which the service account token is associated.