Skip to main content

CompleteInvocation

Properties

NameTypeDescriptionNotes
SecretStringUnique invocation secret that was generated when the invocation was created. Required to authenticate to the endpoint.[required]
VarErrorStringThe error message to indicate a failed invocation or error if any.[optional]
OutputSystemCollectionsHashtableTrigger output to complete the invocation. Its schema is defined in the trigger definition.[required]

Examples

  • Prepare the resource
$CompleteInvocation = Initialize-CompleteInvocation  -Secret 0f11f2a4-7c94-4bf3-a2bd-742580fe3bde `
-VarError Access request is denied. `
-Output {"approved":false}
  • Convert the resource to JSON
$CompleteInvocation | ConvertTo-JSON

[Back to top]