-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Adrian Nackov <[email protected]>
- Loading branch information
Showing
20 changed files
with
1,619 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
--- | ||
# generated by https://github.com/hashicorp/terraform-plugin-docs | ||
page_title: "stackit_server_update_schedule Data Source - stackit" | ||
subcategory: "" | ||
description: |- | ||
Server update schedule 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_update_schedule (Data Source) | ||
|
||
Server update schedule 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. | ||
|
||
## Example Usage | ||
|
||
```terraform | ||
data "stackit_server_update_schedule" "example" { | ||
project_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" | ||
server_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" | ||
update_schedule_id = xxxxx | ||
} | ||
``` | ||
|
||
<!-- schema generated by tfplugindocs --> | ||
## Schema | ||
|
||
### Required | ||
|
||
- `project_id` (String) STACKIT Project ID to which the server is associated. | ||
- `server_id` (String) Server ID for the update schedule. | ||
- `update_schedule_id` (Number) Update schedule ID. | ||
|
||
### Read-Only | ||
|
||
- `enabled` (Boolean) Is the update schedule enabled or disabled. | ||
- `id` (String) Terraform's internal resource identifier. It is structured as "`project_id`,`server_id`,`update_schedule_id`". | ||
- `maintenance_window` (Number) Maintenance window [1..24]. | ||
- `name` (String) The schedule name. | ||
- `rrule` (String) Update schedule described in `rrule` (recurrence rule) format. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
--- | ||
# generated by https://github.com/hashicorp/terraform-plugin-docs | ||
page_title: "stackit_server_update_schedules Data Source - stackit" | ||
subcategory: "" | ||
description: |- | ||
Server update 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_update_schedules (Data Source) | ||
|
||
Server update 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. | ||
|
||
## Example Usage | ||
|
||
```terraform | ||
data "stackit_server_update_schedules" "example" { | ||
project_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" | ||
server_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" | ||
} | ||
``` | ||
|
||
<!-- schema generated by tfplugindocs --> | ||
## Schema | ||
|
||
### Required | ||
|
||
- `project_id` (String) STACKIT Project ID (UUID) to which the server is associated. | ||
- `server_id` (String) Server ID (UUID) to which the update schedule is associated. | ||
|
||
### 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](#nestedatt--items)) | ||
|
||
<a id="nestedatt--items"></a> | ||
### Nested Schema for `items` | ||
|
||
Read-Only: | ||
|
||
- `enabled` (Boolean) Is the update schedule enabled or disabled. | ||
- `maintenance_window` (Number) Maintenance window [1..24]. | ||
- `name` (String) The update schedule name. | ||
- `rrule` (String) Update schedule described in `rrule` (recurrence rule) format. | ||
- `update_schedule_id` (Number) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
--- | ||
# generated by https://github.com/hashicorp/terraform-plugin-docs | ||
page_title: "stackit_server_update_schedule Resource - stackit" | ||
subcategory: "" | ||
description: |- | ||
Server update schedule resource 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_update_schedule (Resource) | ||
|
||
Server update schedule resource 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. | ||
|
||
## Example Usage | ||
|
||
```terraform | ||
resource "stackit_server_update_schedule" "example" { | ||
project_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" | ||
server_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" | ||
name = "example_update_schedule_name" | ||
rrule = "DTSTART;TZID=Europe/Sofia:20200803T023000 RRULE:FREQ=DAILY;INTERVAL=1" | ||
enabled = true | ||
maintenance_window = 1 | ||
} | ||
``` | ||
|
||
<!-- schema generated by tfplugindocs --> | ||
## Schema | ||
|
||
### Required | ||
|
||
- `enabled` (Boolean) Is the update schedule enabled or disabled. | ||
- `maintenance_window` (Number) Maintenance window [1..24]. | ||
- `name` (String) The schedule name. | ||
- `project_id` (String) STACKIT Project ID to which the server is associated. | ||
- `rrule` (String) Update schedule described in `rrule` (recurrence rule) format. | ||
- `server_id` (String) Server ID for the update schedule. | ||
|
||
### Read-Only | ||
|
||
- `id` (String) Terraform's internal resource identifier. It is structured as "`project_id`,`server_id`,`update_schedule_id`". | ||
- `update_schedule_id` (Number) Update schedule ID. |
5 changes: 5 additions & 0 deletions
5
examples/data-sources/stackit_server_update_schedule/data-source.tf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
data "stackit_server_update_schedule" "example" { | ||
project_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" | ||
server_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" | ||
update_schedule_id = xxxxx | ||
} |
4 changes: 4 additions & 0 deletions
4
examples/data-sources/stackit_server_update_schedules/data-source.tf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
data "stackit_server_update_schedules" "example" { | ||
project_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" | ||
server_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" | ||
} |
8 changes: 8 additions & 0 deletions
8
examples/resources/stackit_server_update_schedule/resource.tf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
resource "stackit_server_update_schedule" "example" { | ||
project_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" | ||
server_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" | ||
name = "example_update_schedule_name" | ||
rrule = "DTSTART;TZID=Europe/Sofia:20200803T023000 RRULE:FREQ=DAILY;INTERVAL=1" | ||
enabled = true | ||
maintenance_window = 1 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.