Public/Get-NetworkFunctionChain.ps1
<#
.DESCRIPTION Wrapper for Nutanix API version 0.3. .NOTES Author: Timothy Rasiah #> function Get-NetworkFunctionChain { [CmdletBinding()] param ( $uuid ) if ($uuid) { $response = Send-Request -method "GET" -endpoint "/network_function_chains/$($uuid)" return $response } $data = @{ "kind" = "network_function_chain" } $response = Send-Request -method "POST" -endpoint "/network_function_chains/list" -data $data return $response.entities } |