Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewTokenResource ¶
NewTokenResource is a helper function to simplify the provider implementation.
Types ¶
type Model ¶
type Model struct {
Id types.String `tfsdk:"id"`
InstanceName types.String `tfsdk:"instance_name"`
InstanceId types.String `tfsdk:"instance_id"`
ProjectId types.String `tfsdk:"project_id"`
TokenId types.String `tfsdk:"token_id"` // uuid generated internally because token has no identifier
Token types.String `tfsdk:"token"`
Expiration types.Int64 `tfsdk:"expiration"`
RecreateBefore types.Int64 `tfsdk:"recreate_before"`
ExpiresAt types.String `tfsdk:"expires_at"`
CreationTime types.String `tfsdk:"creation_time"`
Region types.String `tfsdk:"region"`
}
Click to show internal directories.
Click to hide internal directories.