published on Friday, May 29, 2026 by tencentcloudstack
published on Friday, May 29, 2026 by tencentcloudstack
Provides a resource to create a CSS origin stream info.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const example = new tencentcloud.CssOriginStreamInfo("example", {
domainName: "www.demo.com",
originStreamPlayType: "rtmp",
cdnStreamPlayTypes: ["rtmp"],
originStreamType: 1,
originAddressType: 1,
originAddresses: ["1.1.1.1:8080"],
originTimeout: 10000,
originRetryTimes: 10,
});
import pulumi
import pulumi_tencentcloud as tencentcloud
example = tencentcloud.CssOriginStreamInfo("example",
domain_name="www.demo.com",
origin_stream_play_type="rtmp",
cdn_stream_play_types=["rtmp"],
origin_stream_type=1,
origin_address_type=1,
origin_addresses=["1.1.1.1:8080"],
origin_timeout=10000,
origin_retry_times=10)
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.NewCssOriginStreamInfo(ctx, "example", &tencentcloud.CssOriginStreamInfoArgs{
DomainName: pulumi.String("www.demo.com"),
OriginStreamPlayType: pulumi.String("rtmp"),
CdnStreamPlayTypes: pulumi.StringArray{
pulumi.String("rtmp"),
},
OriginStreamType: pulumi.Float64(1),
OriginAddressType: pulumi.Float64(1),
OriginAddresses: pulumi.StringArray{
pulumi.String("1.1.1.1:8080"),
},
OriginTimeout: pulumi.Float64(10000),
OriginRetryTimes: pulumi.Float64(10),
})
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 example = new Tencentcloud.CssOriginStreamInfo("example", new()
{
DomainName = "www.demo.com",
OriginStreamPlayType = "rtmp",
CdnStreamPlayTypes = new[]
{
"rtmp",
},
OriginStreamType = 1,
OriginAddressType = 1,
OriginAddresses = new[]
{
"1.1.1.1:8080",
},
OriginTimeout = 10000,
OriginRetryTimes = 10,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.tencentcloud.CssOriginStreamInfo;
import com.pulumi.tencentcloud.CssOriginStreamInfoArgs;
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 example = new CssOriginStreamInfo("example", CssOriginStreamInfoArgs.builder()
.domainName("www.demo.com")
.originStreamPlayType("rtmp")
.cdnStreamPlayTypes("rtmp")
.originStreamType(1.0)
.originAddressType(1.0)
.originAddresses("1.1.1.1:8080")
.originTimeout(10000.0)
.originRetryTimes(10.0)
.build());
}
}
resources:
example:
type: tencentcloud:CssOriginStreamInfo
properties:
domainName: www.demo.com
originStreamPlayType: rtmp
cdnStreamPlayTypes:
- rtmp
originStreamType: 1
originAddressType: 1
originAddresses:
- 1.1.1.1:8080
originTimeout: 10000
originRetryTimes: 10
Example coming soon!
Create CssOriginStreamInfo Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new CssOriginStreamInfo(name: string, args: CssOriginStreamInfoArgs, opts?: CustomResourceOptions);@overload
def CssOriginStreamInfo(resource_name: str,
args: CssOriginStreamInfoArgs,
opts: Optional[ResourceOptions] = None)
@overload
def CssOriginStreamInfo(resource_name: str,
opts: Optional[ResourceOptions] = None,
domain_name: Optional[str] = None,
origin_stream_type: Optional[float] = None,
origin_stream_play_type: Optional[str] = None,
cdn_stream_play_types: Optional[Sequence[str]] = None,
origin_addresses: Optional[Sequence[str]] = None,
origin_address_type: Optional[float] = None,
follow_redirect: Optional[str] = None,
options_request: Optional[str] = None,
cache_follow_origin: Optional[str] = None,
fragment_cache: Optional[float] = None,
fragment_headers: Optional[Sequence[str]] = None,
fragment_keep_params: Optional[Sequence[str]] = None,
hls_play_fragment_count: Optional[float] = None,
hls_play_fragment_duration: Optional[float] = None,
indexer_cache: Optional[float] = None,
indexer_headers: Optional[Sequence[str]] = None,
indexer_keep_params: Optional[Sequence[str]] = None,
media_package_channel_types: Optional[Sequence[str]] = None,
media_package_type: Optional[str] = None,
customization_rules: Optional[Sequence[CssOriginStreamInfoCustomizationRuleArgs]] = None,
customer_name: Optional[str] = None,
css_origin_stream_info_id: Optional[str] = None,
origin_host: Optional[str] = None,
origin_retry_times: Optional[float] = None,
cache_status_codes: Optional[Sequence[str]] = None,
cache_format_rule: Optional[float] = None,
origin_timeout: Optional[float] = None,
pass_through_http_header: Optional[str] = None,
pass_through_param: Optional[str] = None,
pass_through_response: Optional[str] = None,
time_jitter: Optional[str] = None,
timeouts: Optional[CssOriginStreamInfoTimeoutsArgs] = None,
url_replace_rules: Optional[Sequence[str]] = None,
using_https: Optional[str] = None)func NewCssOriginStreamInfo(ctx *Context, name string, args CssOriginStreamInfoArgs, opts ...ResourceOption) (*CssOriginStreamInfo, error)public CssOriginStreamInfo(string name, CssOriginStreamInfoArgs args, CustomResourceOptions? opts = null)
public CssOriginStreamInfo(String name, CssOriginStreamInfoArgs args)
public CssOriginStreamInfo(String name, CssOriginStreamInfoArgs args, CustomResourceOptions options)
type: tencentcloud:CssOriginStreamInfo
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "tencentcloud_cssoriginstreaminfo" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args CssOriginStreamInfoArgs
- 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 CssOriginStreamInfoArgs
- 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 CssOriginStreamInfoArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args CssOriginStreamInfoArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args CssOriginStreamInfoArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
CssOriginStreamInfo 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 CssOriginStreamInfo resource accepts the following input properties:
- Cdn
Stream List<string>Play Types - CDN play protocol list. Valid values:
rtmp,flv,hls,dash,hls|dash,customization. - Domain
Name string - Domain name.
- Origin
Address doubleType - Origin address type.
1: IP.2: domain name. - Origin
Addresses List<string> - Origin address list. Each item format:
host:port. Port can be empty but colon is required. - Origin
Stream stringPlay Type - Origin stream play protocol. Valid values:
rtmp,flv,hls,dash,hls|dash,customization. - Origin
Stream doubleType - Origin type.
1: live origin.2: mediaPackage. - Cache
Follow stringOrigin - Follow origin cache. Valid values:
on,off. Effective only whenorigin_stream_play_typeishls. - Cache
Format doubleRule - Cache format rule.
0: default.1: live origin format. Effective only whenorigin_stream_play_typeiscustomization. - Cache
Status List<string>Codes - Status code cache list. Format:
cacheKey:interval. Effective only whenorigin_stream_play_typeishls. - Css
Origin stringStream Info Id - ID of the resource.
- Customer
Name string - Custom name.
- Customization
Rules List<CssOrigin Stream Info Customization Rule> - Customization rules list. Effective only when
origin_stream_play_typeiscustomization. - Follow
Redirect string - Follow 301/302. Valid values:
on,off. Effective only whenorigin_stream_play_typeishls. - Fragment
Cache double - Fragment cache in ms, range: 1~60000, default: 10000. Effective only when
origin_stream_play_typeishls. - Fragment
Headers List<string> - Fragment custom headers, max 10 items. Effective only when
origin_stream_play_typeishls. - Fragment
Keep List<string>Params - Fragment cache keep param list, max 30 items. Effective only when
origin_stream_play_typeishls. - Hls
Play doubleFragment Count - Fragment count, range: 1~10, default: 3.
- Hls
Play doubleFragment Duration - Fragment duration in ms, range: 1~10000, default: 3000.
- Indexer
Cache double - Index cache in ms, range: 1~60000, default: 10000. Effective only when
origin_stream_play_typeishls. - Indexer
Headers List<string> - Index custom headers, max 10 items. Effective only when
origin_stream_play_typeishls. - Indexer
Keep List<string>Params - Index cache keep param list, max 30 items. Effective only when
origin_stream_play_typeishls. - Media
Package List<string>Channel Types - MediaPackage channel types. Valid values:
normal,ssai,linear_assembly. Effective only whenorigin_stream_typeis2andmedia_package_typeismedia_package. - Media
Package stringType - MediaPackage type. Valid values:
media_package,media_package_pure_ad,media_package_mix_ad. Effective only whenorigin_stream_typeis2. - Options
Request string - OPTIONS support. Valid values:
on,off. Effective only whenorigin_stream_play_typeishls. - Origin
Host string - Origin host. Effective only when
origin_stream_play_typeishls. - Origin
Retry doubleTimes - Retry count, range: 1~10, default: 10.
- Origin
Timeout double - Timeout in ms, range: 1~60000, default: 10000.
- Pass
Through stringHttp Header - Whether to pass through HTTP headers. Valid values:
on,off. Effective only whenorigin_stream_play_typeishls. - Pass
Through stringParam - Whether to pass through parameters. Valid values:
on,off. Effective only whenorigin_stream_play_typeishls. - Pass
Through stringResponse - Whether to pass through response. Valid values:
on,off. Effective only whenorigin_stream_play_typeishls. - Time
Jitter string - Timestamp correction. Valid values:
on,off. Effective only whenorigin_stream_play_typeisrtmporflv. - Timeouts
Css
Origin Stream Info Timeouts - Url
Replace List<string>Rules - URL rewrite rules. Format:
url1<|>url2. Effective only whenorigin_stream_play_typeishls. - Using
Https string - HTTPS back-to-origin. Valid values:
on,off. Effective only whenorigin_stream_play_typeisflvorhls.
- Cdn
Stream []stringPlay Types - CDN play protocol list. Valid values:
rtmp,flv,hls,dash,hls|dash,customization. - Domain
Name string - Domain name.
- Origin
Address float64Type - Origin address type.
1: IP.2: domain name. - Origin
Addresses []string - Origin address list. Each item format:
host:port. Port can be empty but colon is required. - Origin
Stream stringPlay Type - Origin stream play protocol. Valid values:
rtmp,flv,hls,dash,hls|dash,customization. - Origin
Stream float64Type - Origin type.
1: live origin.2: mediaPackage. - Cache
Follow stringOrigin - Follow origin cache. Valid values:
on,off. Effective only whenorigin_stream_play_typeishls. - Cache
Format float64Rule - Cache format rule.
0: default.1: live origin format. Effective only whenorigin_stream_play_typeiscustomization. - Cache
Status []stringCodes - Status code cache list. Format:
cacheKey:interval. Effective only whenorigin_stream_play_typeishls. - Css
Origin stringStream Info Id - ID of the resource.
- Customer
Name string - Custom name.
- Customization
Rules []CssOrigin Stream Info Customization Rule Args - Customization rules list. Effective only when
origin_stream_play_typeiscustomization. - Follow
Redirect string - Follow 301/302. Valid values:
on,off. Effective only whenorigin_stream_play_typeishls. - Fragment
Cache float64 - Fragment cache in ms, range: 1~60000, default: 10000. Effective only when
origin_stream_play_typeishls. - Fragment
Headers []string - Fragment custom headers, max 10 items. Effective only when
origin_stream_play_typeishls. - Fragment
Keep []stringParams - Fragment cache keep param list, max 30 items. Effective only when
origin_stream_play_typeishls. - Hls
Play float64Fragment Count - Fragment count, range: 1~10, default: 3.
- Hls
Play float64Fragment Duration - Fragment duration in ms, range: 1~10000, default: 3000.
- Indexer
Cache float64 - Index cache in ms, range: 1~60000, default: 10000. Effective only when
origin_stream_play_typeishls. - Indexer
Headers []string - Index custom headers, max 10 items. Effective only when
origin_stream_play_typeishls. - Indexer
Keep []stringParams - Index cache keep param list, max 30 items. Effective only when
origin_stream_play_typeishls. - Media
Package []stringChannel Types - MediaPackage channel types. Valid values:
normal,ssai,linear_assembly. Effective only whenorigin_stream_typeis2andmedia_package_typeismedia_package. - Media
Package stringType - MediaPackage type. Valid values:
media_package,media_package_pure_ad,media_package_mix_ad. Effective only whenorigin_stream_typeis2. - Options
Request string - OPTIONS support. Valid values:
on,off. Effective only whenorigin_stream_play_typeishls. - Origin
Host string - Origin host. Effective only when
origin_stream_play_typeishls. - Origin
Retry float64Times - Retry count, range: 1~10, default: 10.
- Origin
Timeout float64 - Timeout in ms, range: 1~60000, default: 10000.
- Pass
Through stringHttp Header - Whether to pass through HTTP headers. Valid values:
on,off. Effective only whenorigin_stream_play_typeishls. - Pass
Through stringParam - Whether to pass through parameters. Valid values:
on,off. Effective only whenorigin_stream_play_typeishls. - Pass
Through stringResponse - Whether to pass through response. Valid values:
on,off. Effective only whenorigin_stream_play_typeishls. - Time
Jitter string - Timestamp correction. Valid values:
on,off. Effective only whenorigin_stream_play_typeisrtmporflv. - Timeouts
Css
Origin Stream Info Timeouts Args - Url
Replace []stringRules - URL rewrite rules. Format:
url1<|>url2. Effective only whenorigin_stream_play_typeishls. - Using
Https string - HTTPS back-to-origin. Valid values:
on,off. Effective only whenorigin_stream_play_typeisflvorhls.
- cdn_
stream_ list(string)play_ types - CDN play protocol list. Valid values:
rtmp,flv,hls,dash,hls|dash,customization. - domain_
name string - Domain name.
- origin_
address_ numbertype - Origin address type.
1: IP.2: domain name. - origin_
addresses list(string) - Origin address list. Each item format:
host:port. Port can be empty but colon is required. - origin_
stream_ stringplay_ type - Origin stream play protocol. Valid values:
rtmp,flv,hls,dash,hls|dash,customization. - origin_
stream_ numbertype - Origin type.
1: live origin.2: mediaPackage. - cache_
follow_ stringorigin - Follow origin cache. Valid values:
on,off. Effective only whenorigin_stream_play_typeishls. - cache_
format_ numberrule - Cache format rule.
0: default.1: live origin format. Effective only whenorigin_stream_play_typeiscustomization. - cache_
status_ list(string)codes - Status code cache list. Format:
cacheKey:interval. Effective only whenorigin_stream_play_typeishls. - css_
origin_ stringstream_ info_ id - ID of the resource.
- customer_
name string - Custom name.
- customization_
rules list(object) - Customization rules list. Effective only when
origin_stream_play_typeiscustomization. - follow_
redirect string - Follow 301/302. Valid values:
on,off. Effective only whenorigin_stream_play_typeishls. - fragment_
cache number - Fragment cache in ms, range: 1~60000, default: 10000. Effective only when
origin_stream_play_typeishls. - fragment_
headers list(string) - Fragment custom headers, max 10 items. Effective only when
origin_stream_play_typeishls. - fragment_
keep_ list(string)params - Fragment cache keep param list, max 30 items. Effective only when
origin_stream_play_typeishls. - hls_
play_ numberfragment_ count - Fragment count, range: 1~10, default: 3.
- hls_
play_ numberfragment_ duration - Fragment duration in ms, range: 1~10000, default: 3000.
- indexer_
cache number - Index cache in ms, range: 1~60000, default: 10000. Effective only when
origin_stream_play_typeishls. - indexer_
headers list(string) - Index custom headers, max 10 items. Effective only when
origin_stream_play_typeishls. - indexer_
keep_ list(string)params - Index cache keep param list, max 30 items. Effective only when
origin_stream_play_typeishls. - media_
package_ list(string)channel_ types - MediaPackage channel types. Valid values:
normal,ssai,linear_assembly. Effective only whenorigin_stream_typeis2andmedia_package_typeismedia_package. - media_
package_ stringtype - MediaPackage type. Valid values:
media_package,media_package_pure_ad,media_package_mix_ad. Effective only whenorigin_stream_typeis2. - options_
request string - OPTIONS support. Valid values:
on,off. Effective only whenorigin_stream_play_typeishls. - origin_
host string - Origin host. Effective only when
origin_stream_play_typeishls. - origin_
retry_ numbertimes - Retry count, range: 1~10, default: 10.
- origin_
timeout number - Timeout in ms, range: 1~60000, default: 10000.
- pass_
through_ stringhttp_ header - Whether to pass through HTTP headers. Valid values:
on,off. Effective only whenorigin_stream_play_typeishls. - pass_
through_ stringparam - Whether to pass through parameters. Valid values:
on,off. Effective only whenorigin_stream_play_typeishls. - pass_
through_ stringresponse - Whether to pass through response. Valid values:
on,off. Effective only whenorigin_stream_play_typeishls. - time_
jitter string - Timestamp correction. Valid values:
on,off. Effective only whenorigin_stream_play_typeisrtmporflv. - timeouts object
- url_
replace_ list(string)rules - URL rewrite rules. Format:
url1<|>url2. Effective only whenorigin_stream_play_typeishls. - using_
https string - HTTPS back-to-origin. Valid values:
on,off. Effective only whenorigin_stream_play_typeisflvorhls.
- cdn
Stream List<String>Play Types - CDN play protocol list. Valid values:
rtmp,flv,hls,dash,hls|dash,customization. - domain
Name String - Domain name.
- origin
Address DoubleType - Origin address type.
1: IP.2: domain name. - origin
Addresses List<String> - Origin address list. Each item format:
host:port. Port can be empty but colon is required. - origin
Stream StringPlay Type - Origin stream play protocol. Valid values:
rtmp,flv,hls,dash,hls|dash,customization. - origin
Stream DoubleType - Origin type.
1: live origin.2: mediaPackage. - cache
Follow StringOrigin - Follow origin cache. Valid values:
on,off. Effective only whenorigin_stream_play_typeishls. - cache
Format DoubleRule - Cache format rule.
0: default.1: live origin format. Effective only whenorigin_stream_play_typeiscustomization. - cache
Status List<String>Codes - Status code cache list. Format:
cacheKey:interval. Effective only whenorigin_stream_play_typeishls. - css
Origin StringStream Info Id - ID of the resource.
- customer
Name String - Custom name.
- customization
Rules List<CssOrigin Stream Info Customization Rule> - Customization rules list. Effective only when
origin_stream_play_typeiscustomization. - follow
Redirect String - Follow 301/302. Valid values:
on,off. Effective only whenorigin_stream_play_typeishls. - fragment
Cache Double - Fragment cache in ms, range: 1~60000, default: 10000. Effective only when
origin_stream_play_typeishls. - fragment
Headers List<String> - Fragment custom headers, max 10 items. Effective only when
origin_stream_play_typeishls. - fragment
Keep List<String>Params - Fragment cache keep param list, max 30 items. Effective only when
origin_stream_play_typeishls. - hls
Play DoubleFragment Count - Fragment count, range: 1~10, default: 3.
- hls
Play DoubleFragment Duration - Fragment duration in ms, range: 1~10000, default: 3000.
- indexer
Cache Double - Index cache in ms, range: 1~60000, default: 10000. Effective only when
origin_stream_play_typeishls. - indexer
Headers List<String> - Index custom headers, max 10 items. Effective only when
origin_stream_play_typeishls. - indexer
Keep List<String>Params - Index cache keep param list, max 30 items. Effective only when
origin_stream_play_typeishls. - media
Package List<String>Channel Types - MediaPackage channel types. Valid values:
normal,ssai,linear_assembly. Effective only whenorigin_stream_typeis2andmedia_package_typeismedia_package. - media
Package StringType - MediaPackage type. Valid values:
media_package,media_package_pure_ad,media_package_mix_ad. Effective only whenorigin_stream_typeis2. - options
Request String - OPTIONS support. Valid values:
on,off. Effective only whenorigin_stream_play_typeishls. - origin
Host String - Origin host. Effective only when
origin_stream_play_typeishls. - origin
Retry DoubleTimes - Retry count, range: 1~10, default: 10.
- origin
Timeout Double - Timeout in ms, range: 1~60000, default: 10000.
- pass
Through StringHttp Header - Whether to pass through HTTP headers. Valid values:
on,off. Effective only whenorigin_stream_play_typeishls. - pass
Through StringParam - Whether to pass through parameters. Valid values:
on,off. Effective only whenorigin_stream_play_typeishls. - pass
Through StringResponse - Whether to pass through response. Valid values:
on,off. Effective only whenorigin_stream_play_typeishls. - time
Jitter String - Timestamp correction. Valid values:
on,off. Effective only whenorigin_stream_play_typeisrtmporflv. - timeouts
Css
Origin Stream Info Timeouts - url
Replace List<String>Rules - URL rewrite rules. Format:
url1<|>url2. Effective only whenorigin_stream_play_typeishls. - using
Https String - HTTPS back-to-origin. Valid values:
on,off. Effective only whenorigin_stream_play_typeisflvorhls.
- cdn
Stream string[]Play Types - CDN play protocol list. Valid values:
rtmp,flv,hls,dash,hls|dash,customization. - domain
Name string - Domain name.
- origin
Address numberType - Origin address type.
1: IP.2: domain name. - origin
Addresses string[] - Origin address list. Each item format:
host:port. Port can be empty but colon is required. - origin
Stream stringPlay Type - Origin stream play protocol. Valid values:
rtmp,flv,hls,dash,hls|dash,customization. - origin
Stream numberType - Origin type.
1: live origin.2: mediaPackage. - cache
Follow stringOrigin - Follow origin cache. Valid values:
on,off. Effective only whenorigin_stream_play_typeishls. - cache
Format numberRule - Cache format rule.
0: default.1: live origin format. Effective only whenorigin_stream_play_typeiscustomization. - cache
Status string[]Codes - Status code cache list. Format:
cacheKey:interval. Effective only whenorigin_stream_play_typeishls. - css
Origin stringStream Info Id - ID of the resource.
- customer
Name string - Custom name.
- customization
Rules CssOrigin Stream Info Customization Rule[] - Customization rules list. Effective only when
origin_stream_play_typeiscustomization. - follow
Redirect string - Follow 301/302. Valid values:
on,off. Effective only whenorigin_stream_play_typeishls. - fragment
Cache number - Fragment cache in ms, range: 1~60000, default: 10000. Effective only when
origin_stream_play_typeishls. - fragment
Headers string[] - Fragment custom headers, max 10 items. Effective only when
origin_stream_play_typeishls. - fragment
Keep string[]Params - Fragment cache keep param list, max 30 items. Effective only when
origin_stream_play_typeishls. - hls
Play numberFragment Count - Fragment count, range: 1~10, default: 3.
- hls
Play numberFragment Duration - Fragment duration in ms, range: 1~10000, default: 3000.
- indexer
Cache number - Index cache in ms, range: 1~60000, default: 10000. Effective only when
origin_stream_play_typeishls. - indexer
Headers string[] - Index custom headers, max 10 items. Effective only when
origin_stream_play_typeishls. - indexer
Keep string[]Params - Index cache keep param list, max 30 items. Effective only when
origin_stream_play_typeishls. - media
Package string[]Channel Types - MediaPackage channel types. Valid values:
normal,ssai,linear_assembly. Effective only whenorigin_stream_typeis2andmedia_package_typeismedia_package. - media
Package stringType - MediaPackage type. Valid values:
media_package,media_package_pure_ad,media_package_mix_ad. Effective only whenorigin_stream_typeis2. - options
Request string - OPTIONS support. Valid values:
on,off. Effective only whenorigin_stream_play_typeishls. - origin
Host string - Origin host. Effective only when
origin_stream_play_typeishls. - origin
Retry numberTimes - Retry count, range: 1~10, default: 10.
- origin
Timeout number - Timeout in ms, range: 1~60000, default: 10000.
- pass
Through stringHttp Header - Whether to pass through HTTP headers. Valid values:
on,off. Effective only whenorigin_stream_play_typeishls. - pass
Through stringParam - Whether to pass through parameters. Valid values:
on,off. Effective only whenorigin_stream_play_typeishls. - pass
Through stringResponse - Whether to pass through response. Valid values:
on,off. Effective only whenorigin_stream_play_typeishls. - time
Jitter string - Timestamp correction. Valid values:
on,off. Effective only whenorigin_stream_play_typeisrtmporflv. - timeouts
Css
Origin Stream Info Timeouts - url
Replace string[]Rules - URL rewrite rules. Format:
url1<|>url2. Effective only whenorigin_stream_play_typeishls. - using
Https string - HTTPS back-to-origin. Valid values:
on,off. Effective only whenorigin_stream_play_typeisflvorhls.
- cdn_
stream_ Sequence[str]play_ types - CDN play protocol list. Valid values:
rtmp,flv,hls,dash,hls|dash,customization. - domain_
name str - Domain name.
- origin_
address_ floattype - Origin address type.
1: IP.2: domain name. - origin_
addresses Sequence[str] - Origin address list. Each item format:
host:port. Port can be empty but colon is required. - origin_
stream_ strplay_ type - Origin stream play protocol. Valid values:
rtmp,flv,hls,dash,hls|dash,customization. - origin_
stream_ floattype - Origin type.
1: live origin.2: mediaPackage. - cache_
follow_ strorigin - Follow origin cache. Valid values:
on,off. Effective only whenorigin_stream_play_typeishls. - cache_
format_ floatrule - Cache format rule.
0: default.1: live origin format. Effective only whenorigin_stream_play_typeiscustomization. - cache_
status_ Sequence[str]codes - Status code cache list. Format:
cacheKey:interval. Effective only whenorigin_stream_play_typeishls. - css_
origin_ strstream_ info_ id - ID of the resource.
- customer_
name str - Custom name.
- customization_
rules Sequence[CssOrigin Stream Info Customization Rule Args] - Customization rules list. Effective only when
origin_stream_play_typeiscustomization. - follow_
redirect str - Follow 301/302. Valid values:
on,off. Effective only whenorigin_stream_play_typeishls. - fragment_
cache float - Fragment cache in ms, range: 1~60000, default: 10000. Effective only when
origin_stream_play_typeishls. - fragment_
headers Sequence[str] - Fragment custom headers, max 10 items. Effective only when
origin_stream_play_typeishls. - fragment_
keep_ Sequence[str]params - Fragment cache keep param list, max 30 items. Effective only when
origin_stream_play_typeishls. - hls_
play_ floatfragment_ count - Fragment count, range: 1~10, default: 3.
- hls_
play_ floatfragment_ duration - Fragment duration in ms, range: 1~10000, default: 3000.
- indexer_
cache float - Index cache in ms, range: 1~60000, default: 10000. Effective only when
origin_stream_play_typeishls. - indexer_
headers Sequence[str] - Index custom headers, max 10 items. Effective only when
origin_stream_play_typeishls. - indexer_
keep_ Sequence[str]params - Index cache keep param list, max 30 items. Effective only when
origin_stream_play_typeishls. - media_
package_ Sequence[str]channel_ types - MediaPackage channel types. Valid values:
normal,ssai,linear_assembly. Effective only whenorigin_stream_typeis2andmedia_package_typeismedia_package. - media_
package_ strtype - MediaPackage type. Valid values:
media_package,media_package_pure_ad,media_package_mix_ad. Effective only whenorigin_stream_typeis2. - options_
request str - OPTIONS support. Valid values:
on,off. Effective only whenorigin_stream_play_typeishls. - origin_
host str - Origin host. Effective only when
origin_stream_play_typeishls. - origin_
retry_ floattimes - Retry count, range: 1~10, default: 10.
- origin_
timeout float - Timeout in ms, range: 1~60000, default: 10000.
- pass_
through_ strhttp_ header - Whether to pass through HTTP headers. Valid values:
on,off. Effective only whenorigin_stream_play_typeishls. - pass_
through_ strparam - Whether to pass through parameters. Valid values:
on,off. Effective only whenorigin_stream_play_typeishls. - pass_
through_ strresponse - Whether to pass through response. Valid values:
on,off. Effective only whenorigin_stream_play_typeishls. - time_
jitter str - Timestamp correction. Valid values:
on,off. Effective only whenorigin_stream_play_typeisrtmporflv. - timeouts
Css
Origin Stream Info Timeouts Args - url_
replace_ Sequence[str]rules - URL rewrite rules. Format:
url1<|>url2. Effective only whenorigin_stream_play_typeishls. - using_
https str - HTTPS back-to-origin. Valid values:
on,off. Effective only whenorigin_stream_play_typeisflvorhls.
- cdn
Stream List<String>Play Types - CDN play protocol list. Valid values:
rtmp,flv,hls,dash,hls|dash,customization. - domain
Name String - Domain name.
- origin
Address NumberType - Origin address type.
1: IP.2: domain name. - origin
Addresses List<String> - Origin address list. Each item format:
host:port. Port can be empty but colon is required. - origin
Stream StringPlay Type - Origin stream play protocol. Valid values:
rtmp,flv,hls,dash,hls|dash,customization. - origin
Stream NumberType - Origin type.
1: live origin.2: mediaPackage. - cache
Follow StringOrigin - Follow origin cache. Valid values:
on,off. Effective only whenorigin_stream_play_typeishls. - cache
Format NumberRule - Cache format rule.
0: default.1: live origin format. Effective only whenorigin_stream_play_typeiscustomization. - cache
Status List<String>Codes - Status code cache list. Format:
cacheKey:interval. Effective only whenorigin_stream_play_typeishls. - css
Origin StringStream Info Id - ID of the resource.
- customer
Name String - Custom name.
- customization
Rules List<Property Map> - Customization rules list. Effective only when
origin_stream_play_typeiscustomization. - follow
Redirect String - Follow 301/302. Valid values:
on,off. Effective only whenorigin_stream_play_typeishls. - fragment
Cache Number - Fragment cache in ms, range: 1~60000, default: 10000. Effective only when
origin_stream_play_typeishls. - fragment
Headers List<String> - Fragment custom headers, max 10 items. Effective only when
origin_stream_play_typeishls. - fragment
Keep List<String>Params - Fragment cache keep param list, max 30 items. Effective only when
origin_stream_play_typeishls. - hls
Play NumberFragment Count - Fragment count, range: 1~10, default: 3.
- hls
Play NumberFragment Duration - Fragment duration in ms, range: 1~10000, default: 3000.
- indexer
Cache Number - Index cache in ms, range: 1~60000, default: 10000. Effective only when
origin_stream_play_typeishls. - indexer
Headers List<String> - Index custom headers, max 10 items. Effective only when
origin_stream_play_typeishls. - indexer
Keep List<String>Params - Index cache keep param list, max 30 items. Effective only when
origin_stream_play_typeishls. - media
Package List<String>Channel Types - MediaPackage channel types. Valid values:
normal,ssai,linear_assembly. Effective only whenorigin_stream_typeis2andmedia_package_typeismedia_package. - media
Package StringType - MediaPackage type. Valid values:
media_package,media_package_pure_ad,media_package_mix_ad. Effective only whenorigin_stream_typeis2. - options
Request String - OPTIONS support. Valid values:
on,off. Effective only whenorigin_stream_play_typeishls. - origin
Host String - Origin host. Effective only when
origin_stream_play_typeishls. - origin
Retry NumberTimes - Retry count, range: 1~10, default: 10.
- origin
Timeout Number - Timeout in ms, range: 1~60000, default: 10000.
- pass
Through StringHttp Header - Whether to pass through HTTP headers. Valid values:
on,off. Effective only whenorigin_stream_play_typeishls. - pass
Through StringParam - Whether to pass through parameters. Valid values:
on,off. Effective only whenorigin_stream_play_typeishls. - pass
Through StringResponse - Whether to pass through response. Valid values:
on,off. Effective only whenorigin_stream_play_typeishls. - time
Jitter String - Timestamp correction. Valid values:
on,off. Effective only whenorigin_stream_play_typeisrtmporflv. - timeouts Property Map
- url
Replace List<String>Rules - URL rewrite rules. Format:
url1<|>url2. Effective only whenorigin_stream_play_typeishls. - using
Https String - HTTPS back-to-origin. Valid values:
on,off. Effective only whenorigin_stream_play_typeisflvorhls.
Outputs
All input properties are implicitly available as output properties. Additionally, the CssOriginStreamInfo resource produces the following output properties:
Look up Existing CssOriginStreamInfo Resource
Get an existing CssOriginStreamInfo 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?: CssOriginStreamInfoState, opts?: CustomResourceOptions): CssOriginStreamInfo@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
cache_follow_origin: Optional[str] = None,
cache_format_rule: Optional[float] = None,
cache_status_codes: Optional[Sequence[str]] = None,
cdn_stream_play_types: Optional[Sequence[str]] = None,
css_origin_stream_info_id: Optional[str] = None,
customer_name: Optional[str] = None,
customization_rules: Optional[Sequence[CssOriginStreamInfoCustomizationRuleArgs]] = None,
domain_name: Optional[str] = None,
follow_redirect: Optional[str] = None,
fragment_cache: Optional[float] = None,
fragment_headers: Optional[Sequence[str]] = None,
fragment_keep_params: Optional[Sequence[str]] = None,
hls_play_fragment_count: Optional[float] = None,
hls_play_fragment_duration: Optional[float] = None,
indexer_cache: Optional[float] = None,
indexer_headers: Optional[Sequence[str]] = None,
indexer_keep_params: Optional[Sequence[str]] = None,
media_package_channel_types: Optional[Sequence[str]] = None,
media_package_type: Optional[str] = None,
options_request: Optional[str] = None,
origin_address_type: Optional[float] = None,
origin_addresses: Optional[Sequence[str]] = None,
origin_host: Optional[str] = None,
origin_retry_times: Optional[float] = None,
origin_stream_play_type: Optional[str] = None,
origin_stream_type: Optional[float] = None,
origin_timeout: Optional[float] = None,
pass_through_http_header: Optional[str] = None,
pass_through_param: Optional[str] = None,
pass_through_response: Optional[str] = None,
status: Optional[float] = None,
time_jitter: Optional[str] = None,
timeouts: Optional[CssOriginStreamInfoTimeoutsArgs] = None,
url_replace_rules: Optional[Sequence[str]] = None,
using_https: Optional[str] = None) -> CssOriginStreamInfofunc GetCssOriginStreamInfo(ctx *Context, name string, id IDInput, state *CssOriginStreamInfoState, opts ...ResourceOption) (*CssOriginStreamInfo, error)public static CssOriginStreamInfo Get(string name, Input<string> id, CssOriginStreamInfoState? state, CustomResourceOptions? opts = null)public static CssOriginStreamInfo get(String name, Output<String> id, CssOriginStreamInfoState state, CustomResourceOptions options)resources: _: type: tencentcloud:CssOriginStreamInfo get: id: ${id}import {
to = tencentcloud_cssoriginstreaminfo.example
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.
- Cache
Follow stringOrigin - Follow origin cache. Valid values:
on,off. Effective only whenorigin_stream_play_typeishls. - Cache
Format doubleRule - Cache format rule.
0: default.1: live origin format. Effective only whenorigin_stream_play_typeiscustomization. - Cache
Status List<string>Codes - Status code cache list. Format:
cacheKey:interval. Effective only whenorigin_stream_play_typeishls. - Cdn
Stream List<string>Play Types - CDN play protocol list. Valid values:
rtmp,flv,hls,dash,hls|dash,customization. - Css
Origin stringStream Info Id - ID of the resource.
- Customer
Name string - Custom name.
- Customization
Rules List<CssOrigin Stream Info Customization Rule> - Customization rules list. Effective only when
origin_stream_play_typeiscustomization. - Domain
Name string - Domain name.
- Follow
Redirect string - Follow 301/302. Valid values:
on,off. Effective only whenorigin_stream_play_typeishls. - Fragment
Cache double - Fragment cache in ms, range: 1~60000, default: 10000. Effective only when
origin_stream_play_typeishls. - Fragment
Headers List<string> - Fragment custom headers, max 10 items. Effective only when
origin_stream_play_typeishls. - Fragment
Keep List<string>Params - Fragment cache keep param list, max 30 items. Effective only when
origin_stream_play_typeishls. - Hls
Play doubleFragment Count - Fragment count, range: 1~10, default: 3.
- Hls
Play doubleFragment Duration - Fragment duration in ms, range: 1~10000, default: 3000.
- Indexer
Cache double - Index cache in ms, range: 1~60000, default: 10000. Effective only when
origin_stream_play_typeishls. - Indexer
Headers List<string> - Index custom headers, max 10 items. Effective only when
origin_stream_play_typeishls. - Indexer
Keep List<string>Params - Index cache keep param list, max 30 items. Effective only when
origin_stream_play_typeishls. - Media
Package List<string>Channel Types - MediaPackage channel types. Valid values:
normal,ssai,linear_assembly. Effective only whenorigin_stream_typeis2andmedia_package_typeismedia_package. - Media
Package stringType - MediaPackage type. Valid values:
media_package,media_package_pure_ad,media_package_mix_ad. Effective only whenorigin_stream_typeis2. - Options
Request string - OPTIONS support. Valid values:
on,off. Effective only whenorigin_stream_play_typeishls. - Origin
Address doubleType - Origin address type.
1: IP.2: domain name. - Origin
Addresses List<string> - Origin address list. Each item format:
host:port. Port can be empty but colon is required. - Origin
Host string - Origin host. Effective only when
origin_stream_play_typeishls. - Origin
Retry doubleTimes - Retry count, range: 1~10, default: 10.
- Origin
Stream stringPlay Type - Origin stream play protocol. Valid values:
rtmp,flv,hls,dash,hls|dash,customization. - Origin
Stream doubleType - Origin type.
1: live origin.2: mediaPackage. - Origin
Timeout double - Timeout in ms, range: 1~60000, default: 10000.
- Pass
Through stringHttp Header - Whether to pass through HTTP headers. Valid values:
on,off. Effective only whenorigin_stream_play_typeishls. - Pass
Through stringParam - Whether to pass through parameters. Valid values:
on,off. Effective only whenorigin_stream_play_typeishls. - Pass
Through stringResponse - Whether to pass through response. Valid values:
on,off. Effective only whenorigin_stream_play_typeishls. - Status double
- Configuration status.
0: configuring.1: success.2: closing.3: closed successfully. - Time
Jitter string - Timestamp correction. Valid values:
on,off. Effective only whenorigin_stream_play_typeisrtmporflv. - Timeouts
Css
Origin Stream Info Timeouts - Url
Replace List<string>Rules - URL rewrite rules. Format:
url1<|>url2. Effective only whenorigin_stream_play_typeishls. - Using
Https string - HTTPS back-to-origin. Valid values:
on,off. Effective only whenorigin_stream_play_typeisflvorhls.
- Cache
Follow stringOrigin - Follow origin cache. Valid values:
on,off. Effective only whenorigin_stream_play_typeishls. - Cache
Format float64Rule - Cache format rule.
0: default.1: live origin format. Effective only whenorigin_stream_play_typeiscustomization. - Cache
Status []stringCodes - Status code cache list. Format:
cacheKey:interval. Effective only whenorigin_stream_play_typeishls. - Cdn
Stream []stringPlay Types - CDN play protocol list. Valid values:
rtmp,flv,hls,dash,hls|dash,customization. - Css
Origin stringStream Info Id - ID of the resource.
- Customer
Name string - Custom name.
- Customization
Rules []CssOrigin Stream Info Customization Rule Args - Customization rules list. Effective only when
origin_stream_play_typeiscustomization. - Domain
Name string - Domain name.
- Follow
Redirect string - Follow 301/302. Valid values:
on,off. Effective only whenorigin_stream_play_typeishls. - Fragment
Cache float64 - Fragment cache in ms, range: 1~60000, default: 10000. Effective only when
origin_stream_play_typeishls. - Fragment
Headers []string - Fragment custom headers, max 10 items. Effective only when
origin_stream_play_typeishls. - Fragment
Keep []stringParams - Fragment cache keep param list, max 30 items. Effective only when
origin_stream_play_typeishls. - Hls
Play float64Fragment Count - Fragment count, range: 1~10, default: 3.
- Hls
Play float64Fragment Duration - Fragment duration in ms, range: 1~10000, default: 3000.
- Indexer
Cache float64 - Index cache in ms, range: 1~60000, default: 10000. Effective only when
origin_stream_play_typeishls. - Indexer
Headers []string - Index custom headers, max 10 items. Effective only when
origin_stream_play_typeishls. - Indexer
Keep []stringParams - Index cache keep param list, max 30 items. Effective only when
origin_stream_play_typeishls. - Media
Package []stringChannel Types - MediaPackage channel types. Valid values:
normal,ssai,linear_assembly. Effective only whenorigin_stream_typeis2andmedia_package_typeismedia_package. - Media
Package stringType - MediaPackage type. Valid values:
media_package,media_package_pure_ad,media_package_mix_ad. Effective only whenorigin_stream_typeis2. - Options
Request string - OPTIONS support. Valid values:
on,off. Effective only whenorigin_stream_play_typeishls. - Origin
Address float64Type - Origin address type.
1: IP.2: domain name. - Origin
Addresses []string - Origin address list. Each item format:
host:port. Port can be empty but colon is required. - Origin
Host string - Origin host. Effective only when
origin_stream_play_typeishls. - Origin
Retry float64Times - Retry count, range: 1~10, default: 10.
- Origin
Stream stringPlay Type - Origin stream play protocol. Valid values:
rtmp,flv,hls,dash,hls|dash,customization. - Origin
Stream float64Type - Origin type.
1: live origin.2: mediaPackage. - Origin
Timeout float64 - Timeout in ms, range: 1~60000, default: 10000.
- Pass
Through stringHttp Header - Whether to pass through HTTP headers. Valid values:
on,off. Effective only whenorigin_stream_play_typeishls. - Pass
Through stringParam - Whether to pass through parameters. Valid values:
on,off. Effective only whenorigin_stream_play_typeishls. - Pass
Through stringResponse - Whether to pass through response. Valid values:
on,off. Effective only whenorigin_stream_play_typeishls. - Status float64
- Configuration status.
0: configuring.1: success.2: closing.3: closed successfully. - Time
Jitter string - Timestamp correction. Valid values:
on,off. Effective only whenorigin_stream_play_typeisrtmporflv. - Timeouts
Css
Origin Stream Info Timeouts Args - Url
Replace []stringRules - URL rewrite rules. Format:
url1<|>url2. Effective only whenorigin_stream_play_typeishls. - Using
Https string - HTTPS back-to-origin. Valid values:
on,off. Effective only whenorigin_stream_play_typeisflvorhls.
- cache_
follow_ stringorigin - Follow origin cache. Valid values:
on,off. Effective only whenorigin_stream_play_typeishls. - cache_
format_ numberrule - Cache format rule.
0: default.1: live origin format. Effective only whenorigin_stream_play_typeiscustomization. - cache_
status_ list(string)codes - Status code cache list. Format:
cacheKey:interval. Effective only whenorigin_stream_play_typeishls. - cdn_
stream_ list(string)play_ types - CDN play protocol list. Valid values:
rtmp,flv,hls,dash,hls|dash,customization. - css_
origin_ stringstream_ info_ id - ID of the resource.
- customer_
name string - Custom name.
- customization_
rules list(object) - Customization rules list. Effective only when
origin_stream_play_typeiscustomization. - domain_
name string - Domain name.
- follow_
redirect string - Follow 301/302. Valid values:
on,off. Effective only whenorigin_stream_play_typeishls. - fragment_
cache number - Fragment cache in ms, range: 1~60000, default: 10000. Effective only when
origin_stream_play_typeishls. - fragment_
headers list(string) - Fragment custom headers, max 10 items. Effective only when
origin_stream_play_typeishls. - fragment_
keep_ list(string)params - Fragment cache keep param list, max 30 items. Effective only when
origin_stream_play_typeishls. - hls_
play_ numberfragment_ count - Fragment count, range: 1~10, default: 3.
- hls_
play_ numberfragment_ duration - Fragment duration in ms, range: 1~10000, default: 3000.
- indexer_
cache number - Index cache in ms, range: 1~60000, default: 10000. Effective only when
origin_stream_play_typeishls. - indexer_
headers list(string) - Index custom headers, max 10 items. Effective only when
origin_stream_play_typeishls. - indexer_
keep_ list(string)params - Index cache keep param list, max 30 items. Effective only when
origin_stream_play_typeishls. - media_
package_ list(string)channel_ types - MediaPackage channel types. Valid values:
normal,ssai,linear_assembly. Effective only whenorigin_stream_typeis2andmedia_package_typeismedia_package. - media_
package_ stringtype - MediaPackage type. Valid values:
media_package,media_package_pure_ad,media_package_mix_ad. Effective only whenorigin_stream_typeis2. - options_
request string - OPTIONS support. Valid values:
on,off. Effective only whenorigin_stream_play_typeishls. - origin_
address_ numbertype - Origin address type.
1: IP.2: domain name. - origin_
addresses list(string) - Origin address list. Each item format:
host:port. Port can be empty but colon is required. - origin_
host string - Origin host. Effective only when
origin_stream_play_typeishls. - origin_
retry_ numbertimes - Retry count, range: 1~10, default: 10.
- origin_
stream_ stringplay_ type - Origin stream play protocol. Valid values:
rtmp,flv,hls,dash,hls|dash,customization. - origin_
stream_ numbertype - Origin type.
1: live origin.2: mediaPackage. - origin_
timeout number - Timeout in ms, range: 1~60000, default: 10000.
- pass_
through_ stringhttp_ header - Whether to pass through HTTP headers. Valid values:
on,off. Effective only whenorigin_stream_play_typeishls. - pass_
through_ stringparam - Whether to pass through parameters. Valid values:
on,off. Effective only whenorigin_stream_play_typeishls. - pass_
through_ stringresponse - Whether to pass through response. Valid values:
on,off. Effective only whenorigin_stream_play_typeishls. - status number
- Configuration status.
0: configuring.1: success.2: closing.3: closed successfully. - time_
jitter string - Timestamp correction. Valid values:
on,off. Effective only whenorigin_stream_play_typeisrtmporflv. - timeouts object
- url_
replace_ list(string)rules - URL rewrite rules. Format:
url1<|>url2. Effective only whenorigin_stream_play_typeishls. - using_
https string - HTTPS back-to-origin. Valid values:
on,off. Effective only whenorigin_stream_play_typeisflvorhls.
- cache
Follow StringOrigin - Follow origin cache. Valid values:
on,off. Effective only whenorigin_stream_play_typeishls. - cache
Format DoubleRule - Cache format rule.
0: default.1: live origin format. Effective only whenorigin_stream_play_typeiscustomization. - cache
Status List<String>Codes - Status code cache list. Format:
cacheKey:interval. Effective only whenorigin_stream_play_typeishls. - cdn
Stream List<String>Play Types - CDN play protocol list. Valid values:
rtmp,flv,hls,dash,hls|dash,customization. - css
Origin StringStream Info Id - ID of the resource.
- customer
Name String - Custom name.
- customization
Rules List<CssOrigin Stream Info Customization Rule> - Customization rules list. Effective only when
origin_stream_play_typeiscustomization. - domain
Name String - Domain name.
- follow
Redirect String - Follow 301/302. Valid values:
on,off. Effective only whenorigin_stream_play_typeishls. - fragment
Cache Double - Fragment cache in ms, range: 1~60000, default: 10000. Effective only when
origin_stream_play_typeishls. - fragment
Headers List<String> - Fragment custom headers, max 10 items. Effective only when
origin_stream_play_typeishls. - fragment
Keep List<String>Params - Fragment cache keep param list, max 30 items. Effective only when
origin_stream_play_typeishls. - hls
Play DoubleFragment Count - Fragment count, range: 1~10, default: 3.
- hls
Play DoubleFragment Duration - Fragment duration in ms, range: 1~10000, default: 3000.
- indexer
Cache Double - Index cache in ms, range: 1~60000, default: 10000. Effective only when
origin_stream_play_typeishls. - indexer
Headers List<String> - Index custom headers, max 10 items. Effective only when
origin_stream_play_typeishls. - indexer
Keep List<String>Params - Index cache keep param list, max 30 items. Effective only when
origin_stream_play_typeishls. - media
Package List<String>Channel Types - MediaPackage channel types. Valid values:
normal,ssai,linear_assembly. Effective only whenorigin_stream_typeis2andmedia_package_typeismedia_package. - media
Package StringType - MediaPackage type. Valid values:
media_package,media_package_pure_ad,media_package_mix_ad. Effective only whenorigin_stream_typeis2. - options
Request String - OPTIONS support. Valid values:
on,off. Effective only whenorigin_stream_play_typeishls. - origin
Address DoubleType - Origin address type.
1: IP.2: domain name. - origin
Addresses List<String> - Origin address list. Each item format:
host:port. Port can be empty but colon is required. - origin
Host String - Origin host. Effective only when
origin_stream_play_typeishls. - origin
Retry DoubleTimes - Retry count, range: 1~10, default: 10.
- origin
Stream StringPlay Type - Origin stream play protocol. Valid values:
rtmp,flv,hls,dash,hls|dash,customization. - origin
Stream DoubleType - Origin type.
1: live origin.2: mediaPackage. - origin
Timeout Double - Timeout in ms, range: 1~60000, default: 10000.
- pass
Through StringHttp Header - Whether to pass through HTTP headers. Valid values:
on,off. Effective only whenorigin_stream_play_typeishls. - pass
Through StringParam - Whether to pass through parameters. Valid values:
on,off. Effective only whenorigin_stream_play_typeishls. - pass
Through StringResponse - Whether to pass through response. Valid values:
on,off. Effective only whenorigin_stream_play_typeishls. - status Double
- Configuration status.
0: configuring.1: success.2: closing.3: closed successfully. - time
Jitter String - Timestamp correction. Valid values:
on,off. Effective only whenorigin_stream_play_typeisrtmporflv. - timeouts
Css
Origin Stream Info Timeouts - url
Replace List<String>Rules - URL rewrite rules. Format:
url1<|>url2. Effective only whenorigin_stream_play_typeishls. - using
Https String - HTTPS back-to-origin. Valid values:
on,off. Effective only whenorigin_stream_play_typeisflvorhls.
- cache
Follow stringOrigin - Follow origin cache. Valid values:
on,off. Effective only whenorigin_stream_play_typeishls. - cache
Format numberRule - Cache format rule.
0: default.1: live origin format. Effective only whenorigin_stream_play_typeiscustomization. - cache
Status string[]Codes - Status code cache list. Format:
cacheKey:interval. Effective only whenorigin_stream_play_typeishls. - cdn
Stream string[]Play Types - CDN play protocol list. Valid values:
rtmp,flv,hls,dash,hls|dash,customization. - css
Origin stringStream Info Id - ID of the resource.
- customer
Name string - Custom name.
- customization
Rules CssOrigin Stream Info Customization Rule[] - Customization rules list. Effective only when
origin_stream_play_typeiscustomization. - domain
Name string - Domain name.
- follow
Redirect string - Follow 301/302. Valid values:
on,off. Effective only whenorigin_stream_play_typeishls. - fragment
Cache number - Fragment cache in ms, range: 1~60000, default: 10000. Effective only when
origin_stream_play_typeishls. - fragment
Headers string[] - Fragment custom headers, max 10 items. Effective only when
origin_stream_play_typeishls. - fragment
Keep string[]Params - Fragment cache keep param list, max 30 items. Effective only when
origin_stream_play_typeishls. - hls
Play numberFragment Count - Fragment count, range: 1~10, default: 3.
- hls
Play numberFragment Duration - Fragment duration in ms, range: 1~10000, default: 3000.
- indexer
Cache number - Index cache in ms, range: 1~60000, default: 10000. Effective only when
origin_stream_play_typeishls. - indexer
Headers string[] - Index custom headers, max 10 items. Effective only when
origin_stream_play_typeishls. - indexer
Keep string[]Params - Index cache keep param list, max 30 items. Effective only when
origin_stream_play_typeishls. - media
Package string[]Channel Types - MediaPackage channel types. Valid values:
normal,ssai,linear_assembly. Effective only whenorigin_stream_typeis2andmedia_package_typeismedia_package. - media
Package stringType - MediaPackage type. Valid values:
media_package,media_package_pure_ad,media_package_mix_ad. Effective only whenorigin_stream_typeis2. - options
Request string - OPTIONS support. Valid values:
on,off. Effective only whenorigin_stream_play_typeishls. - origin
Address numberType - Origin address type.
1: IP.2: domain name. - origin
Addresses string[] - Origin address list. Each item format:
host:port. Port can be empty but colon is required. - origin
Host string - Origin host. Effective only when
origin_stream_play_typeishls. - origin
Retry numberTimes - Retry count, range: 1~10, default: 10.
- origin
Stream stringPlay Type - Origin stream play protocol. Valid values:
rtmp,flv,hls,dash,hls|dash,customization. - origin
Stream numberType - Origin type.
1: live origin.2: mediaPackage. - origin
Timeout number - Timeout in ms, range: 1~60000, default: 10000.
- pass
Through stringHttp Header - Whether to pass through HTTP headers. Valid values:
on,off. Effective only whenorigin_stream_play_typeishls. - pass
Through stringParam - Whether to pass through parameters. Valid values:
on,off. Effective only whenorigin_stream_play_typeishls. - pass
Through stringResponse - Whether to pass through response. Valid values:
on,off. Effective only whenorigin_stream_play_typeishls. - status number
- Configuration status.
0: configuring.1: success.2: closing.3: closed successfully. - time
Jitter string - Timestamp correction. Valid values:
on,off. Effective only whenorigin_stream_play_typeisrtmporflv. - timeouts
Css
Origin Stream Info Timeouts - url
Replace string[]Rules - URL rewrite rules. Format:
url1<|>url2. Effective only whenorigin_stream_play_typeishls. - using
Https string - HTTPS back-to-origin. Valid values:
on,off. Effective only whenorigin_stream_play_typeisflvorhls.
- cache_
follow_ strorigin - Follow origin cache. Valid values:
on,off. Effective only whenorigin_stream_play_typeishls. - cache_
format_ floatrule - Cache format rule.
0: default.1: live origin format. Effective only whenorigin_stream_play_typeiscustomization. - cache_
status_ Sequence[str]codes - Status code cache list. Format:
cacheKey:interval. Effective only whenorigin_stream_play_typeishls. - cdn_
stream_ Sequence[str]play_ types - CDN play protocol list. Valid values:
rtmp,flv,hls,dash,hls|dash,customization. - css_
origin_ strstream_ info_ id - ID of the resource.
- customer_
name str - Custom name.
- customization_
rules Sequence[CssOrigin Stream Info Customization Rule Args] - Customization rules list. Effective only when
origin_stream_play_typeiscustomization. - domain_
name str - Domain name.
- follow_
redirect str - Follow 301/302. Valid values:
on,off. Effective only whenorigin_stream_play_typeishls. - fragment_
cache float - Fragment cache in ms, range: 1~60000, default: 10000. Effective only when
origin_stream_play_typeishls. - fragment_
headers Sequence[str] - Fragment custom headers, max 10 items. Effective only when
origin_stream_play_typeishls. - fragment_
keep_ Sequence[str]params - Fragment cache keep param list, max 30 items. Effective only when
origin_stream_play_typeishls. - hls_
play_ floatfragment_ count - Fragment count, range: 1~10, default: 3.
- hls_
play_ floatfragment_ duration - Fragment duration in ms, range: 1~10000, default: 3000.
- indexer_
cache float - Index cache in ms, range: 1~60000, default: 10000. Effective only when
origin_stream_play_typeishls. - indexer_
headers Sequence[str] - Index custom headers, max 10 items. Effective only when
origin_stream_play_typeishls. - indexer_
keep_ Sequence[str]params - Index cache keep param list, max 30 items. Effective only when
origin_stream_play_typeishls. - media_
package_ Sequence[str]channel_ types - MediaPackage channel types. Valid values:
normal,ssai,linear_assembly. Effective only whenorigin_stream_typeis2andmedia_package_typeismedia_package. - media_
package_ strtype - MediaPackage type. Valid values:
media_package,media_package_pure_ad,media_package_mix_ad. Effective only whenorigin_stream_typeis2. - options_
request str - OPTIONS support. Valid values:
on,off. Effective only whenorigin_stream_play_typeishls. - origin_
address_ floattype - Origin address type.
1: IP.2: domain name. - origin_
addresses Sequence[str] - Origin address list. Each item format:
host:port. Port can be empty but colon is required. - origin_
host str - Origin host. Effective only when
origin_stream_play_typeishls. - origin_
retry_ floattimes - Retry count, range: 1~10, default: 10.
- origin_
stream_ strplay_ type - Origin stream play protocol. Valid values:
rtmp,flv,hls,dash,hls|dash,customization. - origin_
stream_ floattype - Origin type.
1: live origin.2: mediaPackage. - origin_
timeout float - Timeout in ms, range: 1~60000, default: 10000.
- pass_
through_ strhttp_ header - Whether to pass through HTTP headers. Valid values:
on,off. Effective only whenorigin_stream_play_typeishls. - pass_
through_ strparam - Whether to pass through parameters. Valid values:
on,off. Effective only whenorigin_stream_play_typeishls. - pass_
through_ strresponse - Whether to pass through response. Valid values:
on,off. Effective only whenorigin_stream_play_typeishls. - status float
- Configuration status.
0: configuring.1: success.2: closing.3: closed successfully. - time_
jitter str - Timestamp correction. Valid values:
on,off. Effective only whenorigin_stream_play_typeisrtmporflv. - timeouts
Css
Origin Stream Info Timeouts Args - url_
replace_ Sequence[str]rules - URL rewrite rules. Format:
url1<|>url2. Effective only whenorigin_stream_play_typeishls. - using_
https str - HTTPS back-to-origin. Valid values:
on,off. Effective only whenorigin_stream_play_typeisflvorhls.
- cache
Follow StringOrigin - Follow origin cache. Valid values:
on,off. Effective only whenorigin_stream_play_typeishls. - cache
Format NumberRule - Cache format rule.
0: default.1: live origin format. Effective only whenorigin_stream_play_typeiscustomization. - cache
Status List<String>Codes - Status code cache list. Format:
cacheKey:interval. Effective only whenorigin_stream_play_typeishls. - cdn
Stream List<String>Play Types - CDN play protocol list. Valid values:
rtmp,flv,hls,dash,hls|dash,customization. - css
Origin StringStream Info Id - ID of the resource.
- customer
Name String - Custom name.
- customization
Rules List<Property Map> - Customization rules list. Effective only when
origin_stream_play_typeiscustomization. - domain
Name String - Domain name.
- follow
Redirect String - Follow 301/302. Valid values:
on,off. Effective only whenorigin_stream_play_typeishls. - fragment
Cache Number - Fragment cache in ms, range: 1~60000, default: 10000. Effective only when
origin_stream_play_typeishls. - fragment
Headers List<String> - Fragment custom headers, max 10 items. Effective only when
origin_stream_play_typeishls. - fragment
Keep List<String>Params - Fragment cache keep param list, max 30 items. Effective only when
origin_stream_play_typeishls. - hls
Play NumberFragment Count - Fragment count, range: 1~10, default: 3.
- hls
Play NumberFragment Duration - Fragment duration in ms, range: 1~10000, default: 3000.
- indexer
Cache Number - Index cache in ms, range: 1~60000, default: 10000. Effective only when
origin_stream_play_typeishls. - indexer
Headers List<String> - Index custom headers, max 10 items. Effective only when
origin_stream_play_typeishls. - indexer
Keep List<String>Params - Index cache keep param list, max 30 items. Effective only when
origin_stream_play_typeishls. - media
Package List<String>Channel Types - MediaPackage channel types. Valid values:
normal,ssai,linear_assembly. Effective only whenorigin_stream_typeis2andmedia_package_typeismedia_package. - media
Package StringType - MediaPackage type. Valid values:
media_package,media_package_pure_ad,media_package_mix_ad. Effective only whenorigin_stream_typeis2. - options
Request String - OPTIONS support. Valid values:
on,off. Effective only whenorigin_stream_play_typeishls. - origin
Address NumberType - Origin address type.
1: IP.2: domain name. - origin
Addresses List<String> - Origin address list. Each item format:
host:port. Port can be empty but colon is required. - origin
Host String - Origin host. Effective only when
origin_stream_play_typeishls. - origin
Retry NumberTimes - Retry count, range: 1~10, default: 10.
- origin
Stream StringPlay Type - Origin stream play protocol. Valid values:
rtmp,flv,hls,dash,hls|dash,customization. - origin
Stream NumberType - Origin type.
1: live origin.2: mediaPackage. - origin
Timeout Number - Timeout in ms, range: 1~60000, default: 10000.
- pass
Through StringHttp Header - Whether to pass through HTTP headers. Valid values:
on,off. Effective only whenorigin_stream_play_typeishls. - pass
Through StringParam - Whether to pass through parameters. Valid values:
on,off. Effective only whenorigin_stream_play_typeishls. - pass
Through StringResponse - Whether to pass through response. Valid values:
on,off. Effective only whenorigin_stream_play_typeishls. - status Number
- Configuration status.
0: configuring.1: success.2: closing.3: closed successfully. - time
Jitter String - Timestamp correction. Valid values:
on,off. Effective only whenorigin_stream_play_typeisrtmporflv. - timeouts Property Map
- url
Replace List<String>Rules - URL rewrite rules. Format:
url1<|>url2. Effective only whenorigin_stream_play_typeishls. - using
Https String - HTTPS back-to-origin. Valid values:
on,off. Effective only whenorigin_stream_play_typeisflvorhls.
Supporting Types
CssOriginStreamInfoCustomizationRule, CssOriginStreamInfoCustomizationRuleArgs
- Match
Rule string - Match rule. Valid values:
.m3u8,.mpd,.ts,.mp4,.m4s,.m4a,.m4i,.m4v,.m4f,.aac,.webm. - Origin
Address doubleType - Origin address type.
1: IP.2: domain name. - Origin
Addresses List<string> - Origin address list.
- Cache double
- Cache duration in s, range: 0~31536000.
- Cache
Status List<string>Codes - Status code cache list.
- Customization
Cache doubleFollow Origin - Custom cache follow origin.
0: disabled.1: enabled. - Http
Headers List<string> - Custom headers list.
- Keep
Http List<string>Headers - Cache HTTP header key list.
- Keep
Params List<string> - Cache key list.
- Options
Request string - OPTIONS support. Valid values:
on,off. - Origin
Host string - Origin host.
- Origin
Retry doubleTimes - Retry count, range: 1~10.
- Origin
Timeout double - Back-to-origin timeout in ms, range: 1~60000, default: 10000.
- Pass
Through stringHttp Header - Whether to pass through HTTP headers. Valid values:
on,off. - Pass
Through stringParam - Whether to pass through parameters. Valid values:
on,off. - Pass
Through stringResponse - Whether to pass through response. Valid values:
on,off. - Url
Replace List<string>Rules - URL rewrite rules.
- Match
Rule string - Match rule. Valid values:
.m3u8,.mpd,.ts,.mp4,.m4s,.m4a,.m4i,.m4v,.m4f,.aac,.webm. - Origin
Address float64Type - Origin address type.
1: IP.2: domain name. - Origin
Addresses []string - Origin address list.
- Cache float64
- Cache duration in s, range: 0~31536000.
- Cache
Status []stringCodes - Status code cache list.
- Customization
Cache float64Follow Origin - Custom cache follow origin.
0: disabled.1: enabled. - Http
Headers []string - Custom headers list.
- Keep
Http []stringHeaders - Cache HTTP header key list.
- Keep
Params []string - Cache key list.
- Options
Request string - OPTIONS support. Valid values:
on,off. - Origin
Host string - Origin host.
- Origin
Retry float64Times - Retry count, range: 1~10.
- Origin
Timeout float64 - Back-to-origin timeout in ms, range: 1~60000, default: 10000.
- Pass
Through stringHttp Header - Whether to pass through HTTP headers. Valid values:
on,off. - Pass
Through stringParam - Whether to pass through parameters. Valid values:
on,off. - Pass
Through stringResponse - Whether to pass through response. Valid values:
on,off. - Url
Replace []stringRules - URL rewrite rules.
- match_
rule string - Match rule. Valid values:
.m3u8,.mpd,.ts,.mp4,.m4s,.m4a,.m4i,.m4v,.m4f,.aac,.webm. - origin_
address_ numbertype - Origin address type.
1: IP.2: domain name. - origin_
addresses list(string) - Origin address list.
- cache number
- Cache duration in s, range: 0~31536000.
- cache_
status_ list(string)codes - Status code cache list.
- customization_
cache_ numberfollow_ origin - Custom cache follow origin.
0: disabled.1: enabled. - http_
headers list(string) - Custom headers list.
- keep_
http_ list(string)headers - Cache HTTP header key list.
- keep_
params list(string) - Cache key list.
- options_
request string - OPTIONS support. Valid values:
on,off. - origin_
host string - Origin host.
- origin_
retry_ numbertimes - Retry count, range: 1~10.
- origin_
timeout number - Back-to-origin timeout in ms, range: 1~60000, default: 10000.
- pass_
through_ stringhttp_ header - Whether to pass through HTTP headers. Valid values:
on,off. - pass_
through_ stringparam - Whether to pass through parameters. Valid values:
on,off. - pass_
through_ stringresponse - Whether to pass through response. Valid values:
on,off. - url_
replace_ list(string)rules - URL rewrite rules.
- match
Rule String - Match rule. Valid values:
.m3u8,.mpd,.ts,.mp4,.m4s,.m4a,.m4i,.m4v,.m4f,.aac,.webm. - origin
Address DoubleType - Origin address type.
1: IP.2: domain name. - origin
Addresses List<String> - Origin address list.
- cache Double
- Cache duration in s, range: 0~31536000.
- cache
Status List<String>Codes - Status code cache list.
- customization
Cache DoubleFollow Origin - Custom cache follow origin.
0: disabled.1: enabled. - http
Headers List<String> - Custom headers list.
- keep
Http List<String>Headers - Cache HTTP header key list.
- keep
Params List<String> - Cache key list.
- options
Request String - OPTIONS support. Valid values:
on,off. - origin
Host String - Origin host.
- origin
Retry DoubleTimes - Retry count, range: 1~10.
- origin
Timeout Double - Back-to-origin timeout in ms, range: 1~60000, default: 10000.
- pass
Through StringHttp Header - Whether to pass through HTTP headers. Valid values:
on,off. - pass
Through StringParam - Whether to pass through parameters. Valid values:
on,off. - pass
Through StringResponse - Whether to pass through response. Valid values:
on,off. - url
Replace List<String>Rules - URL rewrite rules.
- match
Rule string - Match rule. Valid values:
.m3u8,.mpd,.ts,.mp4,.m4s,.m4a,.m4i,.m4v,.m4f,.aac,.webm. - origin
Address numberType - Origin address type.
1: IP.2: domain name. - origin
Addresses string[] - Origin address list.
- cache number
- Cache duration in s, range: 0~31536000.
- cache
Status string[]Codes - Status code cache list.
- customization
Cache numberFollow Origin - Custom cache follow origin.
0: disabled.1: enabled. - http
Headers string[] - Custom headers list.
- keep
Http string[]Headers - Cache HTTP header key list.
- keep
Params string[] - Cache key list.
- options
Request string - OPTIONS support. Valid values:
on,off. - origin
Host string - Origin host.
- origin
Retry numberTimes - Retry count, range: 1~10.
- origin
Timeout number - Back-to-origin timeout in ms, range: 1~60000, default: 10000.
- pass
Through stringHttp Header - Whether to pass through HTTP headers. Valid values:
on,off. - pass
Through stringParam - Whether to pass through parameters. Valid values:
on,off. - pass
Through stringResponse - Whether to pass through response. Valid values:
on,off. - url
Replace string[]Rules - URL rewrite rules.
- match_
rule str - Match rule. Valid values:
.m3u8,.mpd,.ts,.mp4,.m4s,.m4a,.m4i,.m4v,.m4f,.aac,.webm. - origin_
address_ floattype - Origin address type.
1: IP.2: domain name. - origin_
addresses Sequence[str] - Origin address list.
- cache float
- Cache duration in s, range: 0~31536000.
- cache_
status_ Sequence[str]codes - Status code cache list.
- customization_
cache_ floatfollow_ origin - Custom cache follow origin.
0: disabled.1: enabled. - http_
headers Sequence[str] - Custom headers list.
- keep_
http_ Sequence[str]headers - Cache HTTP header key list.
- keep_
params Sequence[str] - Cache key list.
- options_
request str - OPTIONS support. Valid values:
on,off. - origin_
host str - Origin host.
- origin_
retry_ floattimes - Retry count, range: 1~10.
- origin_
timeout float - Back-to-origin timeout in ms, range: 1~60000, default: 10000.
- pass_
through_ strhttp_ header - Whether to pass through HTTP headers. Valid values:
on,off. - pass_
through_ strparam - Whether to pass through parameters. Valid values:
on,off. - pass_
through_ strresponse - Whether to pass through response. Valid values:
on,off. - url_
replace_ Sequence[str]rules - URL rewrite rules.
- match
Rule String - Match rule. Valid values:
.m3u8,.mpd,.ts,.mp4,.m4s,.m4a,.m4i,.m4v,.m4f,.aac,.webm. - origin
Address NumberType - Origin address type.
1: IP.2: domain name. - origin
Addresses List<String> - Origin address list.
- cache Number
- Cache duration in s, range: 0~31536000.
- cache
Status List<String>Codes - Status code cache list.
- customization
Cache NumberFollow Origin - Custom cache follow origin.
0: disabled.1: enabled. - http
Headers List<String> - Custom headers list.
- keep
Http List<String>Headers - Cache HTTP header key list.
- keep
Params List<String> - Cache key list.
- options
Request String - OPTIONS support. Valid values:
on,off. - origin
Host String - Origin host.
- origin
Retry NumberTimes - Retry count, range: 1~10.
- origin
Timeout Number - Back-to-origin timeout in ms, range: 1~60000, default: 10000.
- pass
Through StringHttp Header - Whether to pass through HTTP headers. Valid values:
on,off. - pass
Through StringParam - Whether to pass through parameters. Valid values:
on,off. - pass
Through StringResponse - Whether to pass through response. Valid values:
on,off. - url
Replace List<String>Rules - URL rewrite rules.
CssOriginStreamInfoTimeouts, CssOriginStreamInfoTimeoutsArgs
Import
CSS origin stream info can be imported using the domain name, e.g.
$ pulumi import tencentcloud:index/cssOriginStreamInfo:CssOriginStreamInfo example www.demo.com
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
tencentcloudTerraform Provider.
published on Friday, May 29, 2026 by tencentcloudstack