en-US/about_AzDoAgentPool.help.txt
|
.NAME
AzDoAgentPool .SYNOPSIS DSC resource for managing Azure DevOps agent pools. .DESCRIPTION .PARAMETER PoolName Key - System.String .PARAMETER PoolType Write - System.String Allowed values: automation, deployment .PARAMETER AutoProvision Write - System.Boolean .PARAMETER AutoUpdate Write - System.Boolean .PARAMETER IsHosted Write - System.Boolean .EXAMPLE 1 Configuration Example { Import-DscResource -ModuleName 'AzureDevOpsDscNative' node localhost { AzDoAgentPool 'AddAgentPool' { Ensure='Present'; PoolName='MyAgentPool'; PoolType='automation'; AutoProvision=$false; AutoUpdate=$true } } } .EXAMPLE 2 Configuration Example { Import-DscResource -ModuleName 'AzureDevOpsDscNative' node localhost { AzDoAgentPool 'UpdateAgentPool' { Ensure='Present'; PoolName='MyAgentPool'; PoolType='automation'; AutoProvision=$true; AutoUpdate=$true } } } .EXAMPLE 3 Configuration Example { Import-DscResource -ModuleName 'AzureDevOpsDscNative' node localhost { AzDoAgentPool 'RemoveAgentPool' { Ensure='Absent'; PoolName='MyAgentPool' } } } |