diff options
| author | xuzhang3 <57888764+xuzhang3@users.noreply.github.com> | 2023-02-20 15:34:28 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-02-20 15:34:28 +0800 |
| commit | 7d1d91cebb7b6ab89faaacf07eae799496b4822e (patch) | |
| tree | 5e77d83c2546ce13e6a7b20841a53d4e3c5e801e /website | |
| parent | a83701bfb2328b868bba14ffa05bbb126016a326 (diff) | |
| parent | 6d9efd4a765e84fb21a32b79466659e43765dc6b (diff) | |
Merge pull request #690 from paulkirkwood/auto_update
Add support for 'auto_update'
Diffstat (limited to 'website')
| -rw-r--r-- | website/docs/d/agent_pool.html.markdown | 5 | ||||
| -rw-r--r-- | website/docs/d/agent_pools.html.markdown | 5 | ||||
| -rw-r--r-- | website/docs/r/agent_pool.html.markdown | 2 |
3 files changed, 12 insertions, 0 deletions
diff --git a/website/docs/d/agent_pool.html.markdown b/website/docs/d/agent_pool.html.markdown index 45d539f1..183048eb 100644 --- a/website/docs/d/agent_pool.html.markdown +++ b/website/docs/d/agent_pool.html.markdown @@ -27,6 +27,10 @@ output "pool_type" { output "auto_provision" { value = data.azuredevops_agent_pool.example.auto_provision } + +output "auto_update" { + value = data.azuredevops_agent_pool.example.auto_update +} ``` ## Argument Reference @@ -42,6 +46,7 @@ The following attributes are exported: `name` - The name of the agent pool `pool_type` - Specifies whether the agent pool type is Automation or Deployment. `auto_provision` - Specifies whether a queue should be automatically provisioned for each project collection. +`auto_update` - Specifies whether or not agents within the pool should be automatically updated. ## Relevant Links diff --git a/website/docs/d/agent_pools.html.markdown b/website/docs/d/agent_pools.html.markdown index 54b82c3e..1292a006 100644 --- a/website/docs/d/agent_pools.html.markdown +++ b/website/docs/d/agent_pools.html.markdown @@ -23,6 +23,10 @@ output "auto_provision" { value = data.azuredevops_agent_pools.example.agent_pools.*.auto_provision } +output "auto_update" { + value = data.azuredevops_agent_pools.example.agent_pools.*.auto_update +} + output "pool_type" { value = data.azuredevops_agent_pools.example.agent_pools.*.pool_type } @@ -40,6 +44,7 @@ The following attributes are exported: - `name` - The name of the agent pool - `pool_type` - Specifies whether the agent pool type is Automation or Deployment. - `auto_provision` - Specifies whether or not a queue should be automatically provisioned for each project collection. + - `auto_update` - Specifies whether or not agents within the pool should be automatically updated. ## Relevant Links diff --git a/website/docs/r/agent_pool.html.markdown b/website/docs/r/agent_pool.html.markdown index 07d54ce7..ba27fa21 100644 --- a/website/docs/r/agent_pool.html.markdown +++ b/website/docs/r/agent_pool.html.markdown @@ -15,6 +15,7 @@ Manages an agent pool within Azure DevOps. resource "azuredevops_agent_pool" "example" { name = "Example-pool" auto_provision = false + auto_update = false } ``` @@ -25,6 +26,7 @@ The following arguments are supported: - `name` - (Required) The name of the agent pool. - `auto_provision` - (Optional) Specifies whether a queue should be automatically provisioned for each project collection. Defaults to `false`. - `pool_type` - (Optional) Specifies whether the agent pool type is Automation or Deployment. Defaults to `automation`. +- `auto_update` - (Optional) Specifies whether or not agents within the pool should be automatically updated. Defaults to `true`. ## Attributes Reference |
