WorkspaceApiKeyState class

Input properties used for looking up and filtering WorkspaceApiKey resources.

Constructors

WorkspaceApiKeyState({Input<String?>? key, Input<String?>? keyName, Input<String?>? keyRole, Input<String?>? region, Input<int?>? secondsToLive, Input<String?>? workspaceId})
Creates a new WorkspaceApiKeyState. key The key token in JSON format. Use this value as a bearer token to authenticate HTTP requests to the workspace. keyName Specifies the name of the API key. Key names must be unique to the workspace. keyRole Specifies the permission level of the API key. Valid values are VIEWER, EDITOR, or ADMIN. region Region where this resource will be managed. Defaults to the Region set in the provider configuration. secondsToLive Specifies the time in seconds until the API key expires. Keys can be valid for up to 30 days. workspaceId The ID of the workspace that the API key is valid for.
const
WorkspaceApiKeyState.fromMap(Map<String, dynamic> map)
factory

Properties

hashCode → int
The hash code for this object.
no setterinherited
key → Input<String?>?
The key token in JSON format. Use this value as a bearer token to authenticate HTTP requests to the workspace.
final
keyName → Input<String?>?
Specifies the name of the API key. Key names must be unique to the workspace.
final
keyRole → Input<String?>?
Specifies the permission level of the API key. Valid values are VIEWER, EDITOR, or ADMIN.
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?>?
Specifies the time in seconds until the API key expires. Keys can be valid for up to 30 days.
final
workspaceId → Input<String?>?
The ID of the workspace that the API key is valid for.
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