Skip to content

Commit 2264a3d

Browse files
Generated docs
1 parent f8fe5d1 commit 2264a3d

File tree

2 files changed

+27
-12
lines changed

2 files changed

+27
-12
lines changed

docs/data-sources/machine_policies.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ Read-Only:
4343
- `machine_cleanup_policy` (Set of Object) (see [below for nested schema](#nestedobjatt--machine_policies--machine_cleanup_policy))
4444
- `machine_connectivity_policy` (Set of Object) (see [below for nested schema](#nestedobjatt--machine_policies--machine_connectivity_policy))
4545
- `machine_health_check_policy` (Set of Object) (see [below for nested schema](#nestedobjatt--machine_policies--machine_health_check_policy))
46+
- `machine_package_cache_retention_policy` (Set of Object) (see [below for nested schema](#nestedobjatt--machine_policies--machine_package_cache_retention_policy))
4647
- `machine_update_policy` (Set of Object) (see [below for nested schema](#nestedobjatt--machine_policies--machine_update_policy))
4748
- `name` (String)
4849
- `polling_request_queue_timeout` (Number)
@@ -95,6 +96,17 @@ Read-Only:
9596
- `script_body` (String)
9697

9798

99+
<a id="nestedobjatt--machine_policies--machine_package_cache_retention_policy"></a>
100+
### Nested Schema for `machine_policies.machine_package_cache_retention_policy`
101+
102+
Read-Only:
103+
104+
- `package_unit` (String)
105+
- `quantity_of_packages_to_keep` (Number)
106+
- `quantity_of_versions_to_keep` (Number)
107+
- `strategy` (String)
108+
- `version_unit` (String)
109+
98110

99111
<a id="nestedobjatt--machine_policies--machine_update_policy"></a>
100112
### Nested Schema for `machine_policies.machine_update_policy`

docs/resources/machine_policy.md

Lines changed: 15 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ This resource manages machine policies in Octopus Deploy.
3030
- `machine_cleanup_policy` (Block Set, Max: 1) (see [below for nested schema](#nestedblock--machine_cleanup_policy))
3131
- `machine_connectivity_policy` (Block Set, Max: 1) (see [below for nested schema](#nestedblock--machine_connectivity_policy))
3232
- `machine_health_check_policy` (Block Set, Max: 1) (see [below for nested schema](#nestedblock--machine_health_check_policy))
33-
- `machine_update_policy` (Block Set, Max: 1) (see [below for nested schema](#nestedblock--machine_update_policy))
3433
- `machine_package_cache_retention_policy` (Block Set, Max: 1) (see [below for nested schema](#nestedblock--machine_package_cache_retention_policy))
34+
- `machine_update_policy` (Block Set, Max: 1) (see [below for nested schema](#nestedblock--machine_update_policy))
3535
- `polling_request_queue_timeout` (Number) In nanoseconds.
3636
- `space_id` (String) The space ID associated with this resource.
3737

@@ -89,6 +89,20 @@ Optional:
8989
- `script_body` (String)
9090

9191

92+
<a id="nestedblock--machine_package_cache_retention_policy"></a>
93+
### Nested Schema for `machine_package_cache_retention_policy`
94+
95+
Required:
96+
97+
- `strategy` (String) The behaviour of the cache retention policy. Valid values are `Default` (let Octopus decide), `Quantities` (keep by a specified number of packages and versions).
98+
99+
Optional:
100+
101+
- `package_unit` (String) The method of counting packages when applying the Quantities strategy.
102+
- `quantity_of_packages_to_keep` (Number) The number of packages to keep.
103+
- `quantity_of_versions_to_keep` (Number) The number of package versions to keep.
104+
- `version_unit` (String) The method of counting package versions when applying the Quantities strategy.
105+
92106

93107
<a id="nestedblock--machine_update_policy"></a>
94108
### Nested Schema for `machine_update_policy`
@@ -100,15 +114,4 @@ Optional:
100114
- `tentacle_update_account_id` (String) The Account ID to perform any Tentacle updates under.
101115
- `tentacle_update_behavior` (String) The behaviour of how Tentacle machines are updated. Valid values are `NeverUpdate` and `Update`.
102116

103-
<a id="nestedblock--machine_package_cache_retention_policy"></a>
104-
### Nested Schema for `machine_package_cache_retention_policy`
105-
106-
Required:
107-
- `strategy` (String) The behaviour of the cache retention policy. Valid values are `Default` and `Quantities`.
108-
109-
Optional:
110117

111-
- `quantity_of_packages_to_keep` (Number) The number of packages to keep.
112-
- `package_unit` (String) The method of counting packages when applying the Quantities strategy. Valid value is `Items`
113-
- `quantity_of_versions_to_keep` (Number) The number of package versions to keep.
114-
- `version_unit` (String) The method of counting package versions when applying the Quantities strategy. Valid value is `Items`.

0 commit comments

Comments
 (0)