Skip to main content

StreamStatusResponse

Properties

NameTypeDescriptionNotes
StreamIdStringStream identifier.[optional]
StatusEnum [ "enabled", "paused", "disabled" ]Operational status of the stream (enabled, paused, or disabled).[optional]
ReasonStringOptional reason for the current status (e.g. set when status is updated).[optional]

Examples

  • Prepare the resource
$StreamStatusResponse = Initialize-StreamStatusResponse  -StreamId 550e8400-e29b-41d4-a716-446655440000 `
-Status enabled `
-Reason
  • Convert the resource to JSON
$StreamStatusResponse | ConvertTo-JSON

[Back to top]