tencentcloud 1.81.183 published on Wednesday, Apr 16, 2025 by tencentcloudstack
tencentcloud.getCssPullStreamTaskStatus
Explore with Pulumi AI
tencentcloud 1.81.183 published on Wednesday, Apr 16, 2025 by tencentcloudstack
Use this data source to query detailed information of css pull_stream_task_status
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const pullStreamTaskStatus = tencentcloud.getCssPullStreamTaskStatus({
taskId: "63229997",
});
import pulumi
import pulumi_tencentcloud as tencentcloud
pull_stream_task_status = tencentcloud.get_css_pull_stream_task_status(task_id="63229997")
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/tencentcloud/tencentcloud"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := tencentcloud.GetCssPullStreamTaskStatus(ctx, &tencentcloud.GetCssPullStreamTaskStatusArgs{
TaskId: "63229997",
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Tencentcloud = Pulumi.Tencentcloud;
return await Deployment.RunAsync(() =>
{
var pullStreamTaskStatus = Tencentcloud.GetCssPullStreamTaskStatus.Invoke(new()
{
TaskId = "63229997",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.tencentcloud.TencentcloudFunctions;
import com.pulumi.tencentcloud.inputs.GetCssPullStreamTaskStatusArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var pullStreamTaskStatus = TencentcloudFunctions.getCssPullStreamTaskStatus(GetCssPullStreamTaskStatusArgs.builder()
.taskId("63229997")
.build());
}
}
variables:
pullStreamTaskStatus:
fn::invoke:
function: tencentcloud:getCssPullStreamTaskStatus
arguments:
taskId: '63229997'
Using getCssPullStreamTaskStatus
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getCssPullStreamTaskStatus(args: GetCssPullStreamTaskStatusArgs, opts?: InvokeOptions): Promise<GetCssPullStreamTaskStatusResult>
function getCssPullStreamTaskStatusOutput(args: GetCssPullStreamTaskStatusOutputArgs, opts?: InvokeOptions): Output<GetCssPullStreamTaskStatusResult>
def get_css_pull_stream_task_status(id: Optional[str] = None,
result_output_file: Optional[str] = None,
task_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetCssPullStreamTaskStatusResult
def get_css_pull_stream_task_status_output(id: Optional[pulumi.Input[str]] = None,
result_output_file: Optional[pulumi.Input[str]] = None,
task_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetCssPullStreamTaskStatusResult]
func GetCssPullStreamTaskStatus(ctx *Context, args *GetCssPullStreamTaskStatusArgs, opts ...InvokeOption) (*GetCssPullStreamTaskStatusResult, error)
func GetCssPullStreamTaskStatusOutput(ctx *Context, args *GetCssPullStreamTaskStatusOutputArgs, opts ...InvokeOption) GetCssPullStreamTaskStatusResultOutput
> Note: This function is named GetCssPullStreamTaskStatus
in the Go SDK.
public static class GetCssPullStreamTaskStatus
{
public static Task<GetCssPullStreamTaskStatusResult> InvokeAsync(GetCssPullStreamTaskStatusArgs args, InvokeOptions? opts = null)
public static Output<GetCssPullStreamTaskStatusResult> Invoke(GetCssPullStreamTaskStatusInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetCssPullStreamTaskStatusResult> getCssPullStreamTaskStatus(GetCssPullStreamTaskStatusArgs args, InvokeOptions options)
public static Output<GetCssPullStreamTaskStatusResult> getCssPullStreamTaskStatus(GetCssPullStreamTaskStatusArgs args, InvokeOptions options)
fn::invoke:
function: tencentcloud:index/getCssPullStreamTaskStatus:getCssPullStreamTaskStatus
arguments:
# arguments dictionary
The following arguments are supported:
- Task
Id This property is required. string - Task ID.
- Id string
- Result
Output stringFile - Used to save results.
- Task
Id This property is required. string - Task ID.
- Id string
- Result
Output stringFile - Used to save results.
- task
Id This property is required. String - Task ID.
- id String
- result
Output StringFile - Used to save results.
- task
Id This property is required. string - Task ID.
- id string
- result
Output stringFile - Used to save results.
- task_
id This property is required. str - Task ID.
- id str
- result_
output_ strfile - Used to save results.
- task
Id This property is required. String - Task ID.
- id String
- result
Output StringFile - Used to save results.
getCssPullStreamTaskStatus Result
The following output properties are available:
- Id string
- Task
Id string - Task
Status List<GetInfos Css Pull Stream Task Status Task Status Info> - Task status info.
- Result
Output stringFile
- Id string
- Task
Id string - Task
Status []GetInfos Css Pull Stream Task Status Task Status Info - Task status info.
- Result
Output stringFile
- id String
- task
Id String - task
Status List<GetInfos Css Pull Stream Task Status Task Status Info> - Task status info.
- result
Output StringFile
- id string
- task
Id string - task
Status GetInfos Css Pull Stream Task Status Task Status Info[] - Task status info.
- result
Output stringFile
- id str
- task_
id str - task_
status_ Sequence[Getinfos Css Pull Stream Task Status Task Status Info] - Task status info.
- result_
output_ strfile
- id String
- task
Id String - task
Status List<Property Map>Infos - Task status info.
- result
Output StringFile
Supporting Types
GetCssPullStreamTaskStatusTaskStatusInfo
- File
Duration This property is required. double - The duration of the VOD source file, in seconds.
- File
Url This property is required. string - Current use source url.
- Looped
Times This property is required. double - The number of times a VOD source task is played in a loop.
- Next
File Url This property is required. string - The URL of the next progress VOD file.
- Offset
Time This property is required. double - The playback offset of the VOD source, in seconds.
- Report
Time This property is required. string - The latest heartbeat reporting time in UTC format, for example: 2022-02-11T10:00:00Z.Note: UTC time is 8 hours ahead of Beijing time.
- Run
Status This property is required. string - Real run status:active,inactive.
- File
Duration This property is required. float64 - The duration of the VOD source file, in seconds.
- File
Url This property is required. string - Current use source url.
- Looped
Times This property is required. float64 - The number of times a VOD source task is played in a loop.
- Next
File Url This property is required. string - The URL of the next progress VOD file.
- Offset
Time This property is required. float64 - The playback offset of the VOD source, in seconds.
- Report
Time This property is required. string - The latest heartbeat reporting time in UTC format, for example: 2022-02-11T10:00:00Z.Note: UTC time is 8 hours ahead of Beijing time.
- Run
Status This property is required. string - Real run status:active,inactive.
- file
Duration This property is required. Double - The duration of the VOD source file, in seconds.
- file
Url This property is required. String - Current use source url.
- looped
Times This property is required. Double - The number of times a VOD source task is played in a loop.
- next
File Url This property is required. String - The URL of the next progress VOD file.
- offset
Time This property is required. Double - The playback offset of the VOD source, in seconds.
- report
Time This property is required. String - The latest heartbeat reporting time in UTC format, for example: 2022-02-11T10:00:00Z.Note: UTC time is 8 hours ahead of Beijing time.
- run
Status This property is required. String - Real run status:active,inactive.
- file
Duration This property is required. number - The duration of the VOD source file, in seconds.
- file
Url This property is required. string - Current use source url.
- looped
Times This property is required. number - The number of times a VOD source task is played in a loop.
- next
File Url This property is required. string - The URL of the next progress VOD file.
- offset
Time This property is required. number - The playback offset of the VOD source, in seconds.
- report
Time This property is required. string - The latest heartbeat reporting time in UTC format, for example: 2022-02-11T10:00:00Z.Note: UTC time is 8 hours ahead of Beijing time.
- run
Status This property is required. string - Real run status:active,inactive.
- file_
duration This property is required. float - The duration of the VOD source file, in seconds.
- file_
url This property is required. str - Current use source url.
- looped_
times This property is required. float - The number of times a VOD source task is played in a loop.
- next_
file_ url This property is required. str - The URL of the next progress VOD file.
- offset_
time This property is required. float - The playback offset of the VOD source, in seconds.
- report_
time This property is required. str - The latest heartbeat reporting time in UTC format, for example: 2022-02-11T10:00:00Z.Note: UTC time is 8 hours ahead of Beijing time.
- run_
status This property is required. str - Real run status:active,inactive.
- file
Duration This property is required. Number - The duration of the VOD source file, in seconds.
- file
Url This property is required. String - Current use source url.
- looped
Times This property is required. Number - The number of times a VOD source task is played in a loop.
- next
File Url This property is required. String - The URL of the next progress VOD file.
- offset
Time This property is required. Number - The playback offset of the VOD source, in seconds.
- report
Time This property is required. String - The latest heartbeat reporting time in UTC format, for example: 2022-02-11T10:00:00Z.Note: UTC time is 8 hours ahead of Beijing time.
- run
Status This property is required. String - Real run status:active,inactive.
Package Details
- Repository
- tencentcloud tencentcloudstack/terraform-provider-tencentcloud
- License
- Notes
- This Pulumi package is based on the
tencentcloud
Terraform Provider.
tencentcloud 1.81.183 published on Wednesday, Apr 16, 2025 by tencentcloudstack