* fix(server): Handle boot bolume correctly - Display id and delete_on_termination in datasource - Handle id and delete_on_termination in resource Signed-off-by: Alexander Dahmen <alexander.dahmen@inovex.de> * fixup Signed-off-by: Alexander Dahmen <alexander.dahmen@inovex.de> --------- Signed-off-by: Alexander Dahmen <alexander.dahmen@inovex.de>
2.3 KiB
2.3 KiB
| page_title | subcategory | description |
|---|---|---|
| stackit_server_backup_schedules Data Source - stackit | Server backup schedules datasource schema. Must have a region specified in the provider configuration. ~> This resource is in beta and may be subject to breaking changes in the future. Use with caution. See our guide https://registry.terraform.io/providers/stackitcloud/stackit/latest/docs/guides/opting_into_beta_resources for how to opt-in to use beta resources. |
stackit_server_backup_schedules (Data Source)
Server backup schedules datasource schema. Must have a region specified in the provider configuration.
~> This resource is in beta and may be subject to breaking changes in the future. Use with caution. See our guide for how to opt-in to use beta resources.
Example Usage
data "stackit_server_backup_schedules" "example" {
project_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
server_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
}
Schema
Required
project_id(String) STACKIT Project ID (UUID) to which the server is associated.server_id(String) Server ID (UUID) to which the backup schedule is associated.
Optional
region(String) The resource region. If not defined, the provider region is used.
Read-Only
id(String) Terraform's internal data source identifier. It is structured as "project_id,server_id".items(Attributes List) (see below for nested schema)
Nested Schema for items
Read-Only:
backup_properties(Attributes) Backup schedule details for the backups. (see below for nested schema)backup_schedule_id(Number)enabled(Boolean) Is the backup schedule enabled or disabled.name(String) The backup schedule name.rrule(String) Backup schedule described inrrule(recurrence rule) format.
Nested Schema for items.backup_properties
Read-Only:
name(String)retention_period(Number)volume_ids(List of String)