파이프라인 일시 중지 작업 - 페이로드 - MediaLive

기계 번역으로 제공되는 번역입니다. 제공된 번역과 원본 영어의 내용이 상충하는 경우에는 영어 버전이 우선합니다.

파이프라인 일시 중지 작업 - 페이로드

다음의 필드 의미 및 값에 대한 자세한 내용은 단원을 JSON참조하십시오일시 중지 필드.

{ "ScheduleActions": [ { "ScheduleActionStartSettings": { "FixedModeScheduleActionStartSettings": { "Time": "string" }, "ImmediateModeScheduleActionStartSettings": { } }, "ActionName": "string", "ScheduleActionSettings": { "PauseStateSettings": { "Pipelines": [ { "PipelineId": "enum" } ] } } } ] }

예: 하나의 파이프라인 일시 중지

이 요청 예제는 20:42:19에 파이프라인 0을 일시 중지합니다UTC.는 MediaLive 항상 명령을 다음과 같이 읽습니다.지정된 파이프라인 또는 파이프라인을 일시 중지하도록 설정하고 다른 모든 파이프라인을 일시 중지되지 않음으로 설정합니다.

{ "ChannelId": "999999", "Creates": { "ScheduleActions": [ { "ScheduleActionStartSettings": { "FixedModeScheduleActionStartSettings": { "Time": "2018-05-21T20:42:19Z" } }, "ActionName": "pause-pipeline-0-now", "ScheduleActionSettings": { "PauseStateSettings": { "Pipelines": [ { "PipelineId": "PIPELINE_0" } ] } } } ] } }

예: 두 파이프라인을 모두 일시 중지 해제

이 요청 예제는 현재 일시 중지된 모든 파이프라인의 일시 중지를 해제합니다.

참고

MediaLive 는 명령을 항상 다음과 같이 읽습니다.지정된 파이프라인 또는 파이프라인을 일시 중지하도록 설정하고 다른 모든 파이프라인을 일시 중지되지 않음으로 설정합니다. 이 예제에서는 Pipelines 배열이 비어 있습니다. MediaLive는이 빈 배열을 다음과 같이 해석합니다. 모든 파이프라인을 일시 중지되지 않음으로 설정합니다.

{ "ChannelId": "999999", "Creates": { "ScheduleActions": [ { "ScheduleActionStartSettings": { "ImmediateModeScheduleActionStartSettings": {} }, "ActionName": "unpause-pipeline-0", "ScheduleActionSettings": { "PauseStateSettings": { "Pipelines": [ {} ] } } } ] } }