File tree Expand file tree Collapse file tree 1 file changed +15
-1
lines changed
PureStorage.FlashArray.VMware.Configuration Expand file tree Collapse file tree 1 file changed +15
-1
lines changed Original file line number Diff line number Diff line change @@ -1461,7 +1461,21 @@ function New-PfaRestOperation {
14611461 . OUTPUTS
14621462 Returns FA REST response.
14631463 . EXAMPLE
1464-
1464+ PS C:\ $fa = New-PfaArray -endpoint flasharray-m20-2 -credentials (get-credential)
1465+ PS C:\ $volName = "newVolume"
1466+ PS C:\ New-PfaRestOperation -resourceType "volume/$($volName)" -restOperationType POST -flasharray $fa -jsonBody "{`"size`":`"1010010108)`"}" -SkipCertificateCheck
1467+
1468+ Creates a volume named newVolume and skips cert checking.
1469+ . EXAMPLE
1470+ PS C:\ $fa = New-PfaArray -endpoint flasharray-m20-2 -credentials (get-credential)
1471+ PS C:\ New-PfaRestOperation -resourceType "volume" -restOperationType GET -flasharray $fa
1472+
1473+ Returns all volumes on target array
1474+ . EXAMPLE
1475+ PS C:\ $fa = New-PfaArray -endpoint flasharray-m20-2 -credentials (get-credential)
1476+ PS C:\ New-PfaRestOperation -resourceType volume -restOperationType GET -flasharray $fa -queryFilter "?filter=serial=`'7B5ECBDC924142CC0009CB39`'"
1477+
1478+ Returns the volume with the specified serial number.
14651479 . NOTES
14661480 Version: 2.0
14671481 Author: Cody Hosterman https://codyhosterman.com
You can’t perform that action at this time.
0 commit comments