add link to the available service plans page (#575)

This commit is contained in:
GokceGK 2024-10-23 14:04:08 +02:00 committed by GitHub
parent 3fba34eacf
commit 005d0c15bc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 7 additions and 7 deletions

View file

@ -139,8 +139,8 @@ func (r *volumeDataSource) Schema(_ context.Context, _ datasource.SchemaRequest,
Computed: true,
},
"performance_class": schema.StringAttribute{
Description: "The performance class of the volume.",
Computed: true,
MarkdownDescription: "The performance class of the volume. Possible values are documented in [Service plans BlockStorage](https://docs.stackit.cloud/stackit/en/service-plans-blockstorage-75137974.html#ServiceplansBlockStorage-CurrentlyavailableServicePlans%28performanceclasses%29)",
Computed: true,
},
"size": schema.Int64Attribute{
Description: "The size of the volume in GB. It can only be updated to a larger value than the current size",

View file

@ -229,9 +229,9 @@ func (r *volumeResource) Schema(_ context.Context, _ resource.SchemaRequest, res
Optional: true,
},
"performance_class": schema.StringAttribute{
Description: "The performance class of the volume.",
Optional: true,
Computed: true,
MarkdownDescription: "The performance class of the volume. Possible values are documented in [Service plans BlockStorage](https://docs.stackit.cloud/stackit/en/service-plans-blockstorage-75137974.html#ServiceplansBlockStorage-CurrentlyavailableServicePlans%28performanceclasses%29)",
Optional: true,
Computed: true,
PlanModifiers: []planmodifier.String{
stringplanmodifier.RequiresReplace(),
stringplanmodifier.UseStateForUnknown(),