tencentcloud.CssPullStreamTask
Explore with Pulumi AI
Provides a resource to create a css pull_stream_task
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const pullStreamTask = new tencentcloud.CssPullStreamTask("pullStreamTask", {
appName: "app_name",
comment: "comment.",
domainName: "domain_name",
endTime: "2022-11-16T22:09:28Z",
operator: "admin",
sourceType: "source_type",
sourceUrls: ["source_urls"],
startTime: "2022-11-16T22:09:28Z",
streamName: "stream_name",
});
import pulumi
import pulumi_tencentcloud as tencentcloud
pull_stream_task = tencentcloud.CssPullStreamTask("pullStreamTask",
app_name="app_name",
comment="comment.",
domain_name="domain_name",
end_time="2022-11-16T22:09:28Z",
operator="admin",
source_type="source_type",
source_urls=["source_urls"],
start_time="2022-11-16T22:09:28Z",
stream_name="stream_name")
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.NewCssPullStreamTask(ctx, "pullStreamTask", &tencentcloud.CssPullStreamTaskArgs{
AppName: pulumi.String("app_name"),
Comment: pulumi.String("comment."),
DomainName: pulumi.String("domain_name"),
EndTime: pulumi.String("2022-11-16T22:09:28Z"),
Operator: pulumi.String("admin"),
SourceType: pulumi.String("source_type"),
SourceUrls: pulumi.StringArray{
pulumi.String("source_urls"),
},
StartTime: pulumi.String("2022-11-16T22:09:28Z"),
StreamName: pulumi.String("stream_name"),
})
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 pullStreamTask = new Tencentcloud.CssPullStreamTask("pullStreamTask", new()
{
AppName = "app_name",
Comment = "comment.",
DomainName = "domain_name",
EndTime = "2022-11-16T22:09:28Z",
Operator = "admin",
SourceType = "source_type",
SourceUrls = new[]
{
"source_urls",
},
StartTime = "2022-11-16T22:09:28Z",
StreamName = "stream_name",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.tencentcloud.CssPullStreamTask;
import com.pulumi.tencentcloud.CssPullStreamTaskArgs;
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) {
var pullStreamTask = new CssPullStreamTask("pullStreamTask", CssPullStreamTaskArgs.builder()
.appName("app_name")
.comment("comment.")
.domainName("domain_name")
.endTime("2022-11-16T22:09:28Z")
.operator("admin")
.sourceType("source_type")
.sourceUrls("source_urls")
.startTime("2022-11-16T22:09:28Z")
.streamName("stream_name")
.build());
}
}
resources:
pullStreamTask:
type: tencentcloud:CssPullStreamTask
properties:
appName: app_name
comment: comment.
domainName: domain_name
endTime: 2022-11-16T22:09:28Z
operator: admin
sourceType: source_type
sourceUrls:
- source_urls
startTime: 2022-11-16T22:09:28Z
streamName: stream_name
Create CssPullStreamTask Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new CssPullStreamTask(name: string, args: CssPullStreamTaskArgs, opts?: CustomResourceOptions);
@overload
def CssPullStreamTask(resource_name: str,
args: CssPullStreamTaskArgs,
opts: Optional[ResourceOptions] = None)
@overload
def CssPullStreamTask(resource_name: str,
opts: Optional[ResourceOptions] = None,
domain_name: Optional[str] = None,
stream_name: Optional[str] = None,
start_time: Optional[str] = None,
source_urls: Optional[Sequence[str]] = None,
source_type: Optional[str] = None,
app_name: Optional[str] = None,
end_time: Optional[str] = None,
comment: Optional[str] = None,
callback_url: Optional[str] = None,
extra_cmd: Optional[str] = None,
file_index: Optional[float] = None,
offset_time: Optional[float] = None,
operator: Optional[str] = None,
push_args: Optional[str] = None,
css_pull_stream_task_id: Optional[str] = None,
callback_events: Optional[Sequence[str]] = None,
backup_source_url: Optional[str] = None,
status: Optional[str] = None,
backup_source_type: Optional[str] = None,
to_url: Optional[str] = None,
vod_loop_times: Optional[float] = None,
vod_refresh_type: Optional[str] = None,
watermark_lists: Optional[Sequence[CssPullStreamTaskWatermarkListArgs]] = None)
func NewCssPullStreamTask(ctx *Context, name string, args CssPullStreamTaskArgs, opts ...ResourceOption) (*CssPullStreamTask, error)
public CssPullStreamTask(string name, CssPullStreamTaskArgs args, CustomResourceOptions? opts = null)
public CssPullStreamTask(String name, CssPullStreamTaskArgs args)
public CssPullStreamTask(String name, CssPullStreamTaskArgs args, CustomResourceOptions options)
type: tencentcloud:CssPullStreamTask
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args CssPullStreamTaskArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args CssPullStreamTaskArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args CssPullStreamTaskArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args CssPullStreamTaskArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args CssPullStreamTaskArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
CssPullStreamTask Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The CssPullStreamTask resource accepts the following input properties:
- App
Name string - push app name.
- Domain
Name string - push domain name.
- End
Time string - task end time.
- Source
Type string PullLivePushLive
: SourceUrls live type,PullVodPushLive
: SourceUrls vod type.- Source
Urls List<string> - Pull Source media, SourceType=PullLivePushLive only 1 value, SourceType=PullLivePushLive can input multi values.
- Start
Time string - task begin time.
- Stream
Name string - push stream name.
- Backup
Source stringType - backup pull source type.
- Backup
Source stringUrl - backup pull source.
- Callback
Events List<string> - defind the callback event you need, null for all. TaskStart, TaskExit, VodSourceFileStart, VodSourceFileFinish, ResetTaskConfig, PullFileUnstable, PushStreamUnstable, PullFileFailed, PushStreamFailed, FileEndEarly.
- Callback
Url string - task event callback url.
- Comment string
- desc for pull task.
- Css
Pull stringStream Task Id - ID of the resource.
- Extra
Cmd string - ignore_region for ignore the input region and reblance inside the server.
- File
Index double - task enable or disable.
- Offset
Time double - task enable or disable.
- Operator string
- desc operator user name.
- Push
Args string - other pushing args.
- Status string
- task enable or disable.
- To
Url string - full target push url, DomainName, AppName, StreamName field must be empty.
- Vod
Loop doubleTimes - loop time for vod.
- Vod
Refresh stringType - vod refresh method.
ImmediateNewSource
: switch to new source at once,ContinueBreakPoint
: switch to new source while old source finish. - Watermark
Lists List<CssPull Stream Task Watermark List> - watermark list, max 4 setting.
- App
Name string - push app name.
- Domain
Name string - push domain name.
- End
Time string - task end time.
- Source
Type string PullLivePushLive
: SourceUrls live type,PullVodPushLive
: SourceUrls vod type.- Source
Urls []string - Pull Source media, SourceType=PullLivePushLive only 1 value, SourceType=PullLivePushLive can input multi values.
- Start
Time string - task begin time.
- Stream
Name string - push stream name.
- Backup
Source stringType - backup pull source type.
- Backup
Source stringUrl - backup pull source.
- Callback
Events []string - defind the callback event you need, null for all. TaskStart, TaskExit, VodSourceFileStart, VodSourceFileFinish, ResetTaskConfig, PullFileUnstable, PushStreamUnstable, PullFileFailed, PushStreamFailed, FileEndEarly.
- Callback
Url string - task event callback url.
- Comment string
- desc for pull task.
- Css
Pull stringStream Task Id - ID of the resource.
- Extra
Cmd string - ignore_region for ignore the input region and reblance inside the server.
- File
Index float64 - task enable or disable.
- Offset
Time float64 - task enable or disable.
- Operator string
- desc operator user name.
- Push
Args string - other pushing args.
- Status string
- task enable or disable.
- To
Url string - full target push url, DomainName, AppName, StreamName field must be empty.
- Vod
Loop float64Times - loop time for vod.
- Vod
Refresh stringType - vod refresh method.
ImmediateNewSource
: switch to new source at once,ContinueBreakPoint
: switch to new source while old source finish. - Watermark
Lists []CssPull Stream Task Watermark List Args - watermark list, max 4 setting.
- app
Name String - push app name.
- domain
Name String - push domain name.
- end
Time String - task end time.
- source
Type String PullLivePushLive
: SourceUrls live type,PullVodPushLive
: SourceUrls vod type.- source
Urls List<String> - Pull Source media, SourceType=PullLivePushLive only 1 value, SourceType=PullLivePushLive can input multi values.
- start
Time String - task begin time.
- stream
Name String - push stream name.
- backup
Source StringType - backup pull source type.
- backup
Source StringUrl - backup pull source.
- callback
Events List<String> - defind the callback event you need, null for all. TaskStart, TaskExit, VodSourceFileStart, VodSourceFileFinish, ResetTaskConfig, PullFileUnstable, PushStreamUnstable, PullFileFailed, PushStreamFailed, FileEndEarly.
- callback
Url String - task event callback url.
- comment String
- desc for pull task.
- css
Pull StringStream Task Id - ID of the resource.
- extra
Cmd String - ignore_region for ignore the input region and reblance inside the server.
- file
Index Double - task enable or disable.
- offset
Time Double - task enable or disable.
- operator String
- desc operator user name.
- push
Args String - other pushing args.
- status String
- task enable or disable.
- to
Url String - full target push url, DomainName, AppName, StreamName field must be empty.
- vod
Loop DoubleTimes - loop time for vod.
- vod
Refresh StringType - vod refresh method.
ImmediateNewSource
: switch to new source at once,ContinueBreakPoint
: switch to new source while old source finish. - watermark
Lists List<CssPull Stream Task Watermark List> - watermark list, max 4 setting.
- app
Name string - push app name.
- domain
Name string - push domain name.
- end
Time string - task end time.
- source
Type string PullLivePushLive
: SourceUrls live type,PullVodPushLive
: SourceUrls vod type.- source
Urls string[] - Pull Source media, SourceType=PullLivePushLive only 1 value, SourceType=PullLivePushLive can input multi values.
- start
Time string - task begin time.
- stream
Name string - push stream name.
- backup
Source stringType - backup pull source type.
- backup
Source stringUrl - backup pull source.
- callback
Events string[] - defind the callback event you need, null for all. TaskStart, TaskExit, VodSourceFileStart, VodSourceFileFinish, ResetTaskConfig, PullFileUnstable, PushStreamUnstable, PullFileFailed, PushStreamFailed, FileEndEarly.
- callback
Url string - task event callback url.
- comment string
- desc for pull task.
- css
Pull stringStream Task Id - ID of the resource.
- extra
Cmd string - ignore_region for ignore the input region and reblance inside the server.
- file
Index number - task enable or disable.
- offset
Time number - task enable or disable.
- operator string
- desc operator user name.
- push
Args string - other pushing args.
- status string
- task enable or disable.
- to
Url string - full target push url, DomainName, AppName, StreamName field must be empty.
- vod
Loop numberTimes - loop time for vod.
- vod
Refresh stringType - vod refresh method.
ImmediateNewSource
: switch to new source at once,ContinueBreakPoint
: switch to new source while old source finish. - watermark
Lists CssPull Stream Task Watermark List[] - watermark list, max 4 setting.
- app_
name str - push app name.
- domain_
name str - push domain name.
- end_
time str - task end time.
- source_
type str PullLivePushLive
: SourceUrls live type,PullVodPushLive
: SourceUrls vod type.- source_
urls Sequence[str] - Pull Source media, SourceType=PullLivePushLive only 1 value, SourceType=PullLivePushLive can input multi values.
- start_
time str - task begin time.
- stream_
name str - push stream name.
- backup_
source_ strtype - backup pull source type.
- backup_
source_ strurl - backup pull source.
- callback_
events Sequence[str] - defind the callback event you need, null for all. TaskStart, TaskExit, VodSourceFileStart, VodSourceFileFinish, ResetTaskConfig, PullFileUnstable, PushStreamUnstable, PullFileFailed, PushStreamFailed, FileEndEarly.
- callback_
url str - task event callback url.
- comment str
- desc for pull task.
- css_
pull_ strstream_ task_ id - ID of the resource.
- extra_
cmd str - ignore_region for ignore the input region and reblance inside the server.
- file_
index float - task enable or disable.
- offset_
time float - task enable or disable.
- operator str
- desc operator user name.
- push_
args str - other pushing args.
- status str
- task enable or disable.
- to_
url str - full target push url, DomainName, AppName, StreamName field must be empty.
- vod_
loop_ floattimes - loop time for vod.
- vod_
refresh_ strtype - vod refresh method.
ImmediateNewSource
: switch to new source at once,ContinueBreakPoint
: switch to new source while old source finish. - watermark_
lists Sequence[CssPull Stream Task Watermark List Args] - watermark list, max 4 setting.
- app
Name String - push app name.
- domain
Name String - push domain name.
- end
Time String - task end time.
- source
Type String PullLivePushLive
: SourceUrls live type,PullVodPushLive
: SourceUrls vod type.- source
Urls List<String> - Pull Source media, SourceType=PullLivePushLive only 1 value, SourceType=PullLivePushLive can input multi values.
- start
Time String - task begin time.
- stream
Name String - push stream name.
- backup
Source StringType - backup pull source type.
- backup
Source StringUrl - backup pull source.
- callback
Events List<String> - defind the callback event you need, null for all. TaskStart, TaskExit, VodSourceFileStart, VodSourceFileFinish, ResetTaskConfig, PullFileUnstable, PushStreamUnstable, PullFileFailed, PushStreamFailed, FileEndEarly.
- callback
Url String - task event callback url.
- comment String
- desc for pull task.
- css
Pull StringStream Task Id - ID of the resource.
- extra
Cmd String - ignore_region for ignore the input region and reblance inside the server.
- file
Index Number - task enable or disable.
- offset
Time Number - task enable or disable.
- operator String
- desc operator user name.
- push
Args String - other pushing args.
- status String
- task enable or disable.
- to
Url String - full target push url, DomainName, AppName, StreamName field must be empty.
- vod
Loop NumberTimes - loop time for vod.
- vod
Refresh StringType - vod refresh method.
ImmediateNewSource
: switch to new source at once,ContinueBreakPoint
: switch to new source while old source finish. - watermark
Lists List<Property Map> - watermark list, max 4 setting.
Outputs
All input properties are implicitly available as output properties. Additionally, the CssPullStreamTask resource produces the following output properties:
- Create
By string - desc who create the task.
- Create
Time string - create time.
- Id string
- The provider-assigned unique ID for this managed resource.
- Region string
- task run region.
- Update
By string - desc who update the task.
- Update
Time string - update time.
- Create
By string - desc who create the task.
- Create
Time string - create time.
- Id string
- The provider-assigned unique ID for this managed resource.
- Region string
- task run region.
- Update
By string - desc who update the task.
- Update
Time string - update time.
- create
By String - desc who create the task.
- create
Time String - create time.
- id String
- The provider-assigned unique ID for this managed resource.
- region String
- task run region.
- update
By String - desc who update the task.
- update
Time String - update time.
- create
By string - desc who create the task.
- create
Time string - create time.
- id string
- The provider-assigned unique ID for this managed resource.
- region string
- task run region.
- update
By string - desc who update the task.
- update
Time string - update time.
- create_
by str - desc who create the task.
- create_
time str - create time.
- id str
- The provider-assigned unique ID for this managed resource.
- region str
- task run region.
- update_
by str - desc who update the task.
- update_
time str - update time.
- create
By String - desc who create the task.
- create
Time String - create time.
- id String
- The provider-assigned unique ID for this managed resource.
- region String
- task run region.
- update
By String - desc who update the task.
- update
Time String - update time.
Look up Existing CssPullStreamTask Resource
Get an existing CssPullStreamTask resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: CssPullStreamTaskState, opts?: CustomResourceOptions): CssPullStreamTask
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
app_name: Optional[str] = None,
backup_source_type: Optional[str] = None,
backup_source_url: Optional[str] = None,
callback_events: Optional[Sequence[str]] = None,
callback_url: Optional[str] = None,
comment: Optional[str] = None,
create_by: Optional[str] = None,
create_time: Optional[str] = None,
css_pull_stream_task_id: Optional[str] = None,
domain_name: Optional[str] = None,
end_time: Optional[str] = None,
extra_cmd: Optional[str] = None,
file_index: Optional[float] = None,
offset_time: Optional[float] = None,
operator: Optional[str] = None,
push_args: Optional[str] = None,
region: Optional[str] = None,
source_type: Optional[str] = None,
source_urls: Optional[Sequence[str]] = None,
start_time: Optional[str] = None,
status: Optional[str] = None,
stream_name: Optional[str] = None,
to_url: Optional[str] = None,
update_by: Optional[str] = None,
update_time: Optional[str] = None,
vod_loop_times: Optional[float] = None,
vod_refresh_type: Optional[str] = None,
watermark_lists: Optional[Sequence[CssPullStreamTaskWatermarkListArgs]] = None) -> CssPullStreamTask
func GetCssPullStreamTask(ctx *Context, name string, id IDInput, state *CssPullStreamTaskState, opts ...ResourceOption) (*CssPullStreamTask, error)
public static CssPullStreamTask Get(string name, Input<string> id, CssPullStreamTaskState? state, CustomResourceOptions? opts = null)
public static CssPullStreamTask get(String name, Output<String> id, CssPullStreamTaskState state, CustomResourceOptions options)
resources: _: type: tencentcloud:CssPullStreamTask get: id: ${id}
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- App
Name string - push app name.
- Backup
Source stringType - backup pull source type.
- Backup
Source stringUrl - backup pull source.
- Callback
Events List<string> - defind the callback event you need, null for all. TaskStart, TaskExit, VodSourceFileStart, VodSourceFileFinish, ResetTaskConfig, PullFileUnstable, PushStreamUnstable, PullFileFailed, PushStreamFailed, FileEndEarly.
- Callback
Url string - task event callback url.
- Comment string
- desc for pull task.
- Create
By string - desc who create the task.
- Create
Time string - create time.
- Css
Pull stringStream Task Id - ID of the resource.
- Domain
Name string - push domain name.
- End
Time string - task end time.
- Extra
Cmd string - ignore_region for ignore the input region and reblance inside the server.
- File
Index double - task enable or disable.
- Offset
Time double - task enable or disable.
- Operator string
- desc operator user name.
- Push
Args string - other pushing args.
- Region string
- task run region.
- Source
Type string PullLivePushLive
: SourceUrls live type,PullVodPushLive
: SourceUrls vod type.- Source
Urls List<string> - Pull Source media, SourceType=PullLivePushLive only 1 value, SourceType=PullLivePushLive can input multi values.
- Start
Time string - task begin time.
- Status string
- task enable or disable.
- Stream
Name string - push stream name.
- To
Url string - full target push url, DomainName, AppName, StreamName field must be empty.
- Update
By string - desc who update the task.
- Update
Time string - update time.
- Vod
Loop doubleTimes - loop time for vod.
- Vod
Refresh stringType - vod refresh method.
ImmediateNewSource
: switch to new source at once,ContinueBreakPoint
: switch to new source while old source finish. - Watermark
Lists List<CssPull Stream Task Watermark List> - watermark list, max 4 setting.
- App
Name string - push app name.
- Backup
Source stringType - backup pull source type.
- Backup
Source stringUrl - backup pull source.
- Callback
Events []string - defind the callback event you need, null for all. TaskStart, TaskExit, VodSourceFileStart, VodSourceFileFinish, ResetTaskConfig, PullFileUnstable, PushStreamUnstable, PullFileFailed, PushStreamFailed, FileEndEarly.
- Callback
Url string - task event callback url.
- Comment string
- desc for pull task.
- Create
By string - desc who create the task.
- Create
Time string - create time.
- Css
Pull stringStream Task Id - ID of the resource.
- Domain
Name string - push domain name.
- End
Time string - task end time.
- Extra
Cmd string - ignore_region for ignore the input region and reblance inside the server.
- File
Index float64 - task enable or disable.
- Offset
Time float64 - task enable or disable.
- Operator string
- desc operator user name.
- Push
Args string - other pushing args.
- Region string
- task run region.
- Source
Type string PullLivePushLive
: SourceUrls live type,PullVodPushLive
: SourceUrls vod type.- Source
Urls []string - Pull Source media, SourceType=PullLivePushLive only 1 value, SourceType=PullLivePushLive can input multi values.
- Start
Time string - task begin time.
- Status string
- task enable or disable.
- Stream
Name string - push stream name.
- To
Url string - full target push url, DomainName, AppName, StreamName field must be empty.
- Update
By string - desc who update the task.
- Update
Time string - update time.
- Vod
Loop float64Times - loop time for vod.
- Vod
Refresh stringType - vod refresh method.
ImmediateNewSource
: switch to new source at once,ContinueBreakPoint
: switch to new source while old source finish. - Watermark
Lists []CssPull Stream Task Watermark List Args - watermark list, max 4 setting.
- app
Name String - push app name.
- backup
Source StringType - backup pull source type.
- backup
Source StringUrl - backup pull source.
- callback
Events List<String> - defind the callback event you need, null for all. TaskStart, TaskExit, VodSourceFileStart, VodSourceFileFinish, ResetTaskConfig, PullFileUnstable, PushStreamUnstable, PullFileFailed, PushStreamFailed, FileEndEarly.
- callback
Url String - task event callback url.
- comment String
- desc for pull task.
- create
By String - desc who create the task.
- create
Time String - create time.
- css
Pull StringStream Task Id - ID of the resource.
- domain
Name String - push domain name.
- end
Time String - task end time.
- extra
Cmd String - ignore_region for ignore the input region and reblance inside the server.
- file
Index Double - task enable or disable.
- offset
Time Double - task enable or disable.
- operator String
- desc operator user name.
- push
Args String - other pushing args.
- region String
- task run region.
- source
Type String PullLivePushLive
: SourceUrls live type,PullVodPushLive
: SourceUrls vod type.- source
Urls List<String> - Pull Source media, SourceType=PullLivePushLive only 1 value, SourceType=PullLivePushLive can input multi values.
- start
Time String - task begin time.
- status String
- task enable or disable.
- stream
Name String - push stream name.
- to
Url String - full target push url, DomainName, AppName, StreamName field must be empty.
- update
By String - desc who update the task.
- update
Time String - update time.
- vod
Loop DoubleTimes - loop time for vod.
- vod
Refresh StringType - vod refresh method.
ImmediateNewSource
: switch to new source at once,ContinueBreakPoint
: switch to new source while old source finish. - watermark
Lists List<CssPull Stream Task Watermark List> - watermark list, max 4 setting.
- app
Name string - push app name.
- backup
Source stringType - backup pull source type.
- backup
Source stringUrl - backup pull source.
- callback
Events string[] - defind the callback event you need, null for all. TaskStart, TaskExit, VodSourceFileStart, VodSourceFileFinish, ResetTaskConfig, PullFileUnstable, PushStreamUnstable, PullFileFailed, PushStreamFailed, FileEndEarly.
- callback
Url string - task event callback url.
- comment string
- desc for pull task.
- create
By string - desc who create the task.
- create
Time string - create time.
- css
Pull stringStream Task Id - ID of the resource.
- domain
Name string - push domain name.
- end
Time string - task end time.
- extra
Cmd string - ignore_region for ignore the input region and reblance inside the server.
- file
Index number - task enable or disable.
- offset
Time number - task enable or disable.
- operator string
- desc operator user name.
- push
Args string - other pushing args.
- region string
- task run region.
- source
Type string PullLivePushLive
: SourceUrls live type,PullVodPushLive
: SourceUrls vod type.- source
Urls string[] - Pull Source media, SourceType=PullLivePushLive only 1 value, SourceType=PullLivePushLive can input multi values.
- start
Time string - task begin time.
- status string
- task enable or disable.
- stream
Name string - push stream name.
- to
Url string - full target push url, DomainName, AppName, StreamName field must be empty.
- update
By string - desc who update the task.
- update
Time string - update time.
- vod
Loop numberTimes - loop time for vod.
- vod
Refresh stringType - vod refresh method.
ImmediateNewSource
: switch to new source at once,ContinueBreakPoint
: switch to new source while old source finish. - watermark
Lists CssPull Stream Task Watermark List[] - watermark list, max 4 setting.
- app_
name str - push app name.
- backup_
source_ strtype - backup pull source type.
- backup_
source_ strurl - backup pull source.
- callback_
events Sequence[str] - defind the callback event you need, null for all. TaskStart, TaskExit, VodSourceFileStart, VodSourceFileFinish, ResetTaskConfig, PullFileUnstable, PushStreamUnstable, PullFileFailed, PushStreamFailed, FileEndEarly.
- callback_
url str - task event callback url.
- comment str
- desc for pull task.
- create_
by str - desc who create the task.
- create_
time str - create time.
- css_
pull_ strstream_ task_ id - ID of the resource.
- domain_
name str - push domain name.
- end_
time str - task end time.
- extra_
cmd str - ignore_region for ignore the input region and reblance inside the server.
- file_
index float - task enable or disable.
- offset_
time float - task enable or disable.
- operator str
- desc operator user name.
- push_
args str - other pushing args.
- region str
- task run region.
- source_
type str PullLivePushLive
: SourceUrls live type,PullVodPushLive
: SourceUrls vod type.- source_
urls Sequence[str] - Pull Source media, SourceType=PullLivePushLive only 1 value, SourceType=PullLivePushLive can input multi values.
- start_
time str - task begin time.
- status str
- task enable or disable.
- stream_
name str - push stream name.
- to_
url str - full target push url, DomainName, AppName, StreamName field must be empty.
- update_
by str - desc who update the task.
- update_
time str - update time.
- vod_
loop_ floattimes - loop time for vod.
- vod_
refresh_ strtype - vod refresh method.
ImmediateNewSource
: switch to new source at once,ContinueBreakPoint
: switch to new source while old source finish. - watermark_
lists Sequence[CssPull Stream Task Watermark List Args] - watermark list, max 4 setting.
- app
Name String - push app name.
- backup
Source StringType - backup pull source type.
- backup
Source StringUrl - backup pull source.
- callback
Events List<String> - defind the callback event you need, null for all. TaskStart, TaskExit, VodSourceFileStart, VodSourceFileFinish, ResetTaskConfig, PullFileUnstable, PushStreamUnstable, PullFileFailed, PushStreamFailed, FileEndEarly.
- callback
Url String - task event callback url.
- comment String
- desc for pull task.
- create
By String - desc who create the task.
- create
Time String - create time.
- css
Pull StringStream Task Id - ID of the resource.
- domain
Name String - push domain name.
- end
Time String - task end time.
- extra
Cmd String - ignore_region for ignore the input region and reblance inside the server.
- file
Index Number - task enable or disable.
- offset
Time Number - task enable or disable.
- operator String
- desc operator user name.
- push
Args String - other pushing args.
- region String
- task run region.
- source
Type String PullLivePushLive
: SourceUrls live type,PullVodPushLive
: SourceUrls vod type.- source
Urls List<String> - Pull Source media, SourceType=PullLivePushLive only 1 value, SourceType=PullLivePushLive can input multi values.
- start
Time String - task begin time.
- status String
- task enable or disable.
- stream
Name String - push stream name.
- to
Url String - full target push url, DomainName, AppName, StreamName field must be empty.
- update
By String - desc who update the task.
- update
Time String - update time.
- vod
Loop NumberTimes - loop time for vod.
- vod
Refresh StringType - vod refresh method.
ImmediateNewSource
: switch to new source at once,ContinueBreakPoint
: switch to new source while old source finish. - watermark
Lists List<Property Map> - watermark list, max 4 setting.
Supporting Types
CssPullStreamTaskWatermarkList, CssPullStreamTaskWatermarkListArgs
- height float
- pic height.
- location float
- position type, 0:left top, 1:right top, 2:right bot, 3: left bot.
- picture_
url str - watermark picture url.
- width float
- pic width.
- x_
position float - x position.
- y_
position float - y position.
Import
css pull_stream_task can be imported using the id, e.g.
$ pulumi import tencentcloud:index/cssPullStreamTask:CssPullStreamTask pull_stream_task pullStreamTask_id
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- tencentcloud tencentcloudstack/terraform-provider-tencentcloud
- License
- Notes
- This Pulumi package is based on the
tencentcloud
Terraform Provider.