soc/api/v1/workloads/Get-WorkloadSoc.ps1
function Get-WorkloadSoc { param( [Parameter(Mandatory)] [string] $AppAlias, [Parameter(Mandatory)] [string] $VersionAlias, [Parameter(Mandatory)] [string] $ComponentAlias, [Parameter(Mandatory)] [string] $WorkloadId ) return Invoke-Api Get "/soc/api/v1/applications/$AppAlias/versions/$VersionAlias/components/$ComponentAlias/workloads/$WorkloadId" } |