equelin / Unity-Powershell

PowerShell module for managing EMC Unity arrays

Home Page:https://www.powershellgallery.com/packages/Unity-Powershell/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

New-UnityVMwareLUN: isThinEnabled is ignored

gabriellus opened this issue · comments

New-UnityVMwareLUN -Name "$array_shortname-$pool_name-L$lunnum" -isThinEnabled:$false -Size 8TB -Pool $pool -Confirm:$False -Verbose

The relevant portion of the verbose output shows no 'thin' option even in the POST body:

VERBOSE: {
"name": "UNI-TEL-01-Silver-L100",
"lunParameters": {
"pool": {
"id": "pool_3"
},
"isCompressionEnabled": false,
"size": 8796093022208
}
}

I'm wondering what code is in place for the JSON generation for the API call, and if it might have omitted the thin option, maybe inadvertently.