Public/Get-DattoDtcStoragePool.ps1
|
function Get-DattoDtcStoragePool { <# .SYNOPSIS Returns Direct-to-Cloud storage pool usage. .DESCRIPTION Implements GET /v1/dtc/storage-pool and extracts the documented items collection. .PARAMETER RawResponse Returns the response envelope. .PARAMETER Connection A connection object, name, or ID. .EXAMPLE Get-DattoDtcStoragePool #> [CmdletBinding()] param( [Parameter()][switch]$RawResponse, [Parameter()][AllowNull()][object]$Connection ) Invoke-DattoApiRequest -Path '/v1/dtc/storage-pool' -ResultProperty 'items' -RawResponse:$RawResponse -Connection $Connection } |