cohesity / cohesity-powershell-module

This repository provides a PowerShell Module for Cohesity DataPlatform. https://cohesity.github.io/cohesity-powershell-module
Apache License 2.0
42 stars 16 forks source link

Please add the ability to set/edit the Logical Quota/Alert with Set-CohesityView #208

Closed KuJoe closed 1 year ago

KuJoe commented 1 year ago

🚀 Feature Request

Similar to issue #30, please add these parameters to the Set-CohesityView command to allow us to set or edit the Logical Quota and Alert Threshold. Thank you.

naveena-maplelabs commented 1 year ago

You can follow the steps to update the quota policy of a view

>$quotaPolicy = [Cohesity.Model.QuotaPolicy]::new()
>$view = Get-CohesityView
>$view.LogicalQuota = $quotaPolicy
>$view | Set-CohesityView