alicloud.esa.VideoProcessing
Explore with Pulumi AI
Provides a ESA Video Processing resource.
For information about ESA Video Processing and how to use it, see What is Video Processing.
NOTE: Available since v1.251.0.
Example Usage
Basic Usage
import * as pulumi from "@pulumi/pulumi";
import * as alicloud from "@pulumi/alicloud";
const config = new pulumi.Config();
const name = config.get("name") || "terraform-example";
const _default = alicloud.esa.getSites({
planSubscribeType: "enterpriseplan",
});
const defaultSite = new alicloud.esa.Site("default", {
siteName: "chenxin0116.site",
instanceId: _default.then(_default => _default.sites?.[0]?.instanceId),
coverage: "overseas",
accessType: "NS",
});
const defaultVideoProcessing = new alicloud.esa.VideoProcessing("default", {
videoSeekEnable: "on",
ruleEnable: "on",
mp4SeekEnd: "end",
flvSeekStart: "start",
rule: "(http.host eq \"video.example.com\")",
flvVideoSeekMode: "by_byte",
mp4SeekStart: "start",
flvSeekEnd: "end",
siteId: defaultSite.id,
sequence: 1,
siteVersion: 0,
ruleName: "example",
});
import pulumi
import pulumi_alicloud as alicloud
config = pulumi.Config()
name = config.get("name")
if name is None:
name = "terraform-example"
default = alicloud.esa.get_sites(plan_subscribe_type="enterpriseplan")
default_site = alicloud.esa.Site("default",
site_name="chenxin0116.site",
instance_id=default.sites[0].instance_id,
coverage="overseas",
access_type="NS")
default_video_processing = alicloud.esa.VideoProcessing("default",
video_seek_enable="on",
rule_enable="on",
mp4_seek_end="end",
flv_seek_start="start",
rule="(http.host eq \"video.example.com\")",
flv_video_seek_mode="by_byte",
mp4_seek_start="start",
flv_seek_end="end",
site_id=default_site.id,
sequence=1,
site_version=0,
rule_name="example")
package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/esa"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
cfg := config.New(ctx, "")
name := "terraform-example"
if param := cfg.Get("name"); param != "" {
name = param
}
_default, err := esa.GetSites(ctx, &esa.GetSitesArgs{
PlanSubscribeType: pulumi.StringRef("enterpriseplan"),
}, nil)
if err != nil {
return err
}
defaultSite, err := esa.NewSite(ctx, "default", &esa.SiteArgs{
SiteName: pulumi.String("chenxin0116.site"),
InstanceId: pulumi.String(_default.Sites[0].InstanceId),
Coverage: pulumi.String("overseas"),
AccessType: pulumi.String("NS"),
})
if err != nil {
return err
}
_, err = esa.NewVideoProcessing(ctx, "default", &esa.VideoProcessingArgs{
VideoSeekEnable: pulumi.String("on"),
RuleEnable: pulumi.String("on"),
Mp4SeekEnd: pulumi.String("end"),
FlvSeekStart: pulumi.String("start"),
Rule: pulumi.String("(http.host eq \"video.example.com\")"),
FlvVideoSeekMode: pulumi.String("by_byte"),
Mp4SeekStart: pulumi.String("start"),
FlvSeekEnd: pulumi.String("end"),
SiteId: defaultSite.ID(),
Sequence: pulumi.Int(1),
SiteVersion: pulumi.Int(0),
RuleName: pulumi.String("example"),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AliCloud = Pulumi.AliCloud;
return await Deployment.RunAsync(() =>
{
var config = new Config();
var name = config.Get("name") ?? "terraform-example";
var @default = AliCloud.Esa.GetSites.Invoke(new()
{
PlanSubscribeType = "enterpriseplan",
});
var defaultSite = new AliCloud.Esa.Site("default", new()
{
SiteName = "chenxin0116.site",
InstanceId = @default.Apply(@default => @default.Apply(getSitesResult => getSitesResult.Sites[0]?.InstanceId)),
Coverage = "overseas",
AccessType = "NS",
});
var defaultVideoProcessing = new AliCloud.Esa.VideoProcessing("default", new()
{
VideoSeekEnable = "on",
RuleEnable = "on",
Mp4SeekEnd = "end",
FlvSeekStart = "start",
Rule = "(http.host eq \"video.example.com\")",
FlvVideoSeekMode = "by_byte",
Mp4SeekStart = "start",
FlvSeekEnd = "end",
SiteId = defaultSite.Id,
Sequence = 1,
SiteVersion = 0,
RuleName = "example",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.alicloud.esa.EsaFunctions;
import com.pulumi.alicloud.esa.inputs.GetSitesArgs;
import com.pulumi.alicloud.esa.Site;
import com.pulumi.alicloud.esa.SiteArgs;
import com.pulumi.alicloud.esa.VideoProcessing;
import com.pulumi.alicloud.esa.VideoProcessingArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var config = ctx.config();
final var name = config.get("name").orElse("terraform-example");
final var default = EsaFunctions.getSites(GetSitesArgs.builder()
.planSubscribeType("enterpriseplan")
.build());
var defaultSite = new Site("defaultSite", SiteArgs.builder()
.siteName("chenxin0116.site")
.instanceId(default_.sites()[0].instanceId())
.coverage("overseas")
.accessType("NS")
.build());
var defaultVideoProcessing = new VideoProcessing("defaultVideoProcessing", VideoProcessingArgs.builder()
.videoSeekEnable("on")
.ruleEnable("on")
.mp4SeekEnd("end")
.flvSeekStart("start")
.rule("(http.host eq \"video.example.com\")")
.flvVideoSeekMode("by_byte")
.mp4SeekStart("start")
.flvSeekEnd("end")
.siteId(defaultSite.id())
.sequence(1)
.siteVersion(0)
.ruleName("example")
.build());
}
}
configuration:
name:
type: string
default: terraform-example
resources:
defaultSite:
type: alicloud:esa:Site
name: default
properties:
siteName: chenxin0116.site
instanceId: ${default.sites[0].instanceId}
coverage: overseas
accessType: NS
defaultVideoProcessing:
type: alicloud:esa:VideoProcessing
name: default
properties:
videoSeekEnable: on
ruleEnable: on
mp4SeekEnd: end
flvSeekStart: start
rule: (http.host eq "video.example.com")
flvVideoSeekMode: by_byte
mp4SeekStart: start
flvSeekEnd: end
siteId: ${defaultSite.id}
sequence: '1'
siteVersion: '0'
ruleName: example
variables:
default:
fn::invoke:
function: alicloud:esa:getSites
arguments:
planSubscribeType: enterpriseplan
Create VideoProcessing Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new VideoProcessing(name: string, args: VideoProcessingArgs, opts?: CustomResourceOptions);
@overload
def VideoProcessing(resource_name: str,
args: VideoProcessingArgs,
opts: Optional[ResourceOptions] = None)
@overload
def VideoProcessing(resource_name: str,
opts: Optional[ResourceOptions] = None,
site_id: Optional[int] = None,
flv_seek_end: Optional[str] = None,
flv_seek_start: Optional[str] = None,
flv_video_seek_mode: Optional[str] = None,
mp4_seek_end: Optional[str] = None,
mp4_seek_start: Optional[str] = None,
rule: Optional[str] = None,
rule_enable: Optional[str] = None,
rule_name: Optional[str] = None,
sequence: Optional[int] = None,
site_version: Optional[int] = None,
video_seek_enable: Optional[str] = None)
func NewVideoProcessing(ctx *Context, name string, args VideoProcessingArgs, opts ...ResourceOption) (*VideoProcessing, error)
public VideoProcessing(string name, VideoProcessingArgs args, CustomResourceOptions? opts = null)
public VideoProcessing(String name, VideoProcessingArgs args)
public VideoProcessing(String name, VideoProcessingArgs args, CustomResourceOptions options)
type: alicloud:esa:VideoProcessing
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 VideoProcessingArgs
- 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 VideoProcessingArgs
- 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 VideoProcessingArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args VideoProcessingArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args VideoProcessingArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var videoProcessingResource = new AliCloud.Esa.VideoProcessing("videoProcessingResource", new()
{
SiteId = 0,
FlvSeekEnd = "string",
FlvSeekStart = "string",
FlvVideoSeekMode = "string",
Mp4SeekEnd = "string",
Mp4SeekStart = "string",
Rule = "string",
RuleEnable = "string",
RuleName = "string",
Sequence = 0,
SiteVersion = 0,
VideoSeekEnable = "string",
});
example, err := esa.NewVideoProcessing(ctx, "videoProcessingResource", &esa.VideoProcessingArgs{
SiteId: pulumi.Int(0),
FlvSeekEnd: pulumi.String("string"),
FlvSeekStart: pulumi.String("string"),
FlvVideoSeekMode: pulumi.String("string"),
Mp4SeekEnd: pulumi.String("string"),
Mp4SeekStart: pulumi.String("string"),
Rule: pulumi.String("string"),
RuleEnable: pulumi.String("string"),
RuleName: pulumi.String("string"),
Sequence: pulumi.Int(0),
SiteVersion: pulumi.Int(0),
VideoSeekEnable: pulumi.String("string"),
})
var videoProcessingResource = new VideoProcessing("videoProcessingResource", VideoProcessingArgs.builder()
.siteId(0)
.flvSeekEnd("string")
.flvSeekStart("string")
.flvVideoSeekMode("string")
.mp4SeekEnd("string")
.mp4SeekStart("string")
.rule("string")
.ruleEnable("string")
.ruleName("string")
.sequence(0)
.siteVersion(0)
.videoSeekEnable("string")
.build());
video_processing_resource = alicloud.esa.VideoProcessing("videoProcessingResource",
site_id=0,
flv_seek_end="string",
flv_seek_start="string",
flv_video_seek_mode="string",
mp4_seek_end="string",
mp4_seek_start="string",
rule="string",
rule_enable="string",
rule_name="string",
sequence=0,
site_version=0,
video_seek_enable="string")
const videoProcessingResource = new alicloud.esa.VideoProcessing("videoProcessingResource", {
siteId: 0,
flvSeekEnd: "string",
flvSeekStart: "string",
flvVideoSeekMode: "string",
mp4SeekEnd: "string",
mp4SeekStart: "string",
rule: "string",
ruleEnable: "string",
ruleName: "string",
sequence: 0,
siteVersion: 0,
videoSeekEnable: "string",
});
type: alicloud:esa:VideoProcessing
properties:
flvSeekEnd: string
flvSeekStart: string
flvVideoSeekMode: string
mp4SeekEnd: string
mp4SeekStart: string
rule: string
ruleEnable: string
ruleName: string
sequence: 0
siteId: 0
siteVersion: 0
videoSeekEnable: string
VideoProcessing 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 VideoProcessing resource accepts the following input properties:
- Site
Id int - The site ID, which can be obtained by calling the ListSites API.
- Flv
Seek stringEnd - Custom FLV end parameters.
- Flv
Seek stringStart - Custom FLV start parameters.
- Flv
Video stringSeek Mode - FLV drag mode. Value range:
- Mp4Seek
End string - Custom mp4 end parameters.
- Mp4Seek
Start string - Custom mp4 start parameters.
- Rule string
- Rule content, using conditional expressions to match user requests. When adding global configuration, this parameter does not need to be set. There are two usage scenarios:
- Match all incoming requests: value set to true
- Match specified request: Set the value to a custom expression, for example: (http.host eq "video.example.com")
- Rule
Enable string - Rule switch. When adding global configuration, this parameter does not need to be set. Value range:
- Rule
Name string - Rule name. When adding global configuration, this parameter does not need to be set.
- Sequence int
- Order of rule execution. The smaller the value, the higher the priority for execution.
- Site
Version int - The version number of the site configuration. For sites that have enabled configuration version management, this parameter can be used to specify the effective version of the configuration site, which defaults to version 0.
- Video
Seek stringEnable - Drag and drop the play function switch. Value range:
- Site
Id int - The site ID, which can be obtained by calling the ListSites API.
- Flv
Seek stringEnd - Custom FLV end parameters.
- Flv
Seek stringStart - Custom FLV start parameters.
- Flv
Video stringSeek Mode - FLV drag mode. Value range:
- Mp4Seek
End string - Custom mp4 end parameters.
- Mp4Seek
Start string - Custom mp4 start parameters.
- Rule string
- Rule content, using conditional expressions to match user requests. When adding global configuration, this parameter does not need to be set. There are two usage scenarios:
- Match all incoming requests: value set to true
- Match specified request: Set the value to a custom expression, for example: (http.host eq "video.example.com")
- Rule
Enable string - Rule switch. When adding global configuration, this parameter does not need to be set. Value range:
- Rule
Name string - Rule name. When adding global configuration, this parameter does not need to be set.
- Sequence int
- Order of rule execution. The smaller the value, the higher the priority for execution.
- Site
Version int - The version number of the site configuration. For sites that have enabled configuration version management, this parameter can be used to specify the effective version of the configuration site, which defaults to version 0.
- Video
Seek stringEnable - Drag and drop the play function switch. Value range:
- site
Id Integer - The site ID, which can be obtained by calling the ListSites API.
- flv
Seek StringEnd - Custom FLV end parameters.
- flv
Seek StringStart - Custom FLV start parameters.
- flv
Video StringSeek Mode - FLV drag mode. Value range:
- mp4Seek
End String - Custom mp4 end parameters.
- mp4Seek
Start String - Custom mp4 start parameters.
- rule String
- Rule content, using conditional expressions to match user requests. When adding global configuration, this parameter does not need to be set. There are two usage scenarios:
- Match all incoming requests: value set to true
- Match specified request: Set the value to a custom expression, for example: (http.host eq "video.example.com")
- rule
Enable String - Rule switch. When adding global configuration, this parameter does not need to be set. Value range:
- rule
Name String - Rule name. When adding global configuration, this parameter does not need to be set.
- sequence Integer
- Order of rule execution. The smaller the value, the higher the priority for execution.
- site
Version Integer - The version number of the site configuration. For sites that have enabled configuration version management, this parameter can be used to specify the effective version of the configuration site, which defaults to version 0.
- video
Seek StringEnable - Drag and drop the play function switch. Value range:
- site
Id number - The site ID, which can be obtained by calling the ListSites API.
- flv
Seek stringEnd - Custom FLV end parameters.
- flv
Seek stringStart - Custom FLV start parameters.
- flv
Video stringSeek Mode - FLV drag mode. Value range:
- mp4Seek
End string - Custom mp4 end parameters.
- mp4Seek
Start string - Custom mp4 start parameters.
- rule string
- Rule content, using conditional expressions to match user requests. When adding global configuration, this parameter does not need to be set. There are two usage scenarios:
- Match all incoming requests: value set to true
- Match specified request: Set the value to a custom expression, for example: (http.host eq "video.example.com")
- rule
Enable string - Rule switch. When adding global configuration, this parameter does not need to be set. Value range:
- rule
Name string - Rule name. When adding global configuration, this parameter does not need to be set.
- sequence number
- Order of rule execution. The smaller the value, the higher the priority for execution.
- site
Version number - The version number of the site configuration. For sites that have enabled configuration version management, this parameter can be used to specify the effective version of the configuration site, which defaults to version 0.
- video
Seek stringEnable - Drag and drop the play function switch. Value range:
- site_
id int - The site ID, which can be obtained by calling the ListSites API.
- flv_
seek_ strend - Custom FLV end parameters.
- flv_
seek_ strstart - Custom FLV start parameters.
- flv_
video_ strseek_ mode - FLV drag mode. Value range:
- mp4_
seek_ strend - Custom mp4 end parameters.
- mp4_
seek_ strstart - Custom mp4 start parameters.
- rule str
- Rule content, using conditional expressions to match user requests. When adding global configuration, this parameter does not need to be set. There are two usage scenarios:
- Match all incoming requests: value set to true
- Match specified request: Set the value to a custom expression, for example: (http.host eq "video.example.com")
- rule_
enable str - Rule switch. When adding global configuration, this parameter does not need to be set. Value range:
- rule_
name str - Rule name. When adding global configuration, this parameter does not need to be set.
- sequence int
- Order of rule execution. The smaller the value, the higher the priority for execution.
- site_
version int - The version number of the site configuration. For sites that have enabled configuration version management, this parameter can be used to specify the effective version of the configuration site, which defaults to version 0.
- video_
seek_ strenable - Drag and drop the play function switch. Value range:
- site
Id Number - The site ID, which can be obtained by calling the ListSites API.
- flv
Seek StringEnd - Custom FLV end parameters.
- flv
Seek StringStart - Custom FLV start parameters.
- flv
Video StringSeek Mode - FLV drag mode. Value range:
- mp4Seek
End String - Custom mp4 end parameters.
- mp4Seek
Start String - Custom mp4 start parameters.
- rule String
- Rule content, using conditional expressions to match user requests. When adding global configuration, this parameter does not need to be set. There are two usage scenarios:
- Match all incoming requests: value set to true
- Match specified request: Set the value to a custom expression, for example: (http.host eq "video.example.com")
- rule
Enable String - Rule switch. When adding global configuration, this parameter does not need to be set. Value range:
- rule
Name String - Rule name. When adding global configuration, this parameter does not need to be set.
- sequence Number
- Order of rule execution. The smaller the value, the higher the priority for execution.
- site
Version Number - The version number of the site configuration. For sites that have enabled configuration version management, this parameter can be used to specify the effective version of the configuration site, which defaults to version 0.
- video
Seek StringEnable - Drag and drop the play function switch. Value range:
Outputs
All input properties are implicitly available as output properties. Additionally, the VideoProcessing resource produces the following output properties:
Look up Existing VideoProcessing Resource
Get an existing VideoProcessing 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?: VideoProcessingState, opts?: CustomResourceOptions): VideoProcessing
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
config_id: Optional[int] = None,
flv_seek_end: Optional[str] = None,
flv_seek_start: Optional[str] = None,
flv_video_seek_mode: Optional[str] = None,
mp4_seek_end: Optional[str] = None,
mp4_seek_start: Optional[str] = None,
rule: Optional[str] = None,
rule_enable: Optional[str] = None,
rule_name: Optional[str] = None,
sequence: Optional[int] = None,
site_id: Optional[int] = None,
site_version: Optional[int] = None,
video_seek_enable: Optional[str] = None) -> VideoProcessing
func GetVideoProcessing(ctx *Context, name string, id IDInput, state *VideoProcessingState, opts ...ResourceOption) (*VideoProcessing, error)
public static VideoProcessing Get(string name, Input<string> id, VideoProcessingState? state, CustomResourceOptions? opts = null)
public static VideoProcessing get(String name, Output<String> id, VideoProcessingState state, CustomResourceOptions options)
resources: _: type: alicloud:esa:VideoProcessing 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.
- Config
Id int - Config Id
- Flv
Seek stringEnd - Custom FLV end parameters.
- Flv
Seek stringStart - Custom FLV start parameters.
- Flv
Video stringSeek Mode - FLV drag mode. Value range:
- Mp4Seek
End string - Custom mp4 end parameters.
- Mp4Seek
Start string - Custom mp4 start parameters.
- Rule string
- Rule content, using conditional expressions to match user requests. When adding global configuration, this parameter does not need to be set. There are two usage scenarios:
- Match all incoming requests: value set to true
- Match specified request: Set the value to a custom expression, for example: (http.host eq "video.example.com")
- Rule
Enable string - Rule switch. When adding global configuration, this parameter does not need to be set. Value range:
- Rule
Name string - Rule name. When adding global configuration, this parameter does not need to be set.
- Sequence int
- Order of rule execution. The smaller the value, the higher the priority for execution.
- Site
Id int - The site ID, which can be obtained by calling the ListSites API.
- Site
Version int - The version number of the site configuration. For sites that have enabled configuration version management, this parameter can be used to specify the effective version of the configuration site, which defaults to version 0.
- Video
Seek stringEnable - Drag and drop the play function switch. Value range:
- Config
Id int - Config Id
- Flv
Seek stringEnd - Custom FLV end parameters.
- Flv
Seek stringStart - Custom FLV start parameters.
- Flv
Video stringSeek Mode - FLV drag mode. Value range:
- Mp4Seek
End string - Custom mp4 end parameters.
- Mp4Seek
Start string - Custom mp4 start parameters.
- Rule string
- Rule content, using conditional expressions to match user requests. When adding global configuration, this parameter does not need to be set. There are two usage scenarios:
- Match all incoming requests: value set to true
- Match specified request: Set the value to a custom expression, for example: (http.host eq "video.example.com")
- Rule
Enable string - Rule switch. When adding global configuration, this parameter does not need to be set. Value range:
- Rule
Name string - Rule name. When adding global configuration, this parameter does not need to be set.
- Sequence int
- Order of rule execution. The smaller the value, the higher the priority for execution.
- Site
Id int - The site ID, which can be obtained by calling the ListSites API.
- Site
Version int - The version number of the site configuration. For sites that have enabled configuration version management, this parameter can be used to specify the effective version of the configuration site, which defaults to version 0.
- Video
Seek stringEnable - Drag and drop the play function switch. Value range:
- config
Id Integer - Config Id
- flv
Seek StringEnd - Custom FLV end parameters.
- flv
Seek StringStart - Custom FLV start parameters.
- flv
Video StringSeek Mode - FLV drag mode. Value range:
- mp4Seek
End String - Custom mp4 end parameters.
- mp4Seek
Start String - Custom mp4 start parameters.
- rule String
- Rule content, using conditional expressions to match user requests. When adding global configuration, this parameter does not need to be set. There are two usage scenarios:
- Match all incoming requests: value set to true
- Match specified request: Set the value to a custom expression, for example: (http.host eq "video.example.com")
- rule
Enable String - Rule switch. When adding global configuration, this parameter does not need to be set. Value range:
- rule
Name String - Rule name. When adding global configuration, this parameter does not need to be set.
- sequence Integer
- Order of rule execution. The smaller the value, the higher the priority for execution.
- site
Id Integer - The site ID, which can be obtained by calling the ListSites API.
- site
Version Integer - The version number of the site configuration. For sites that have enabled configuration version management, this parameter can be used to specify the effective version of the configuration site, which defaults to version 0.
- video
Seek StringEnable - Drag and drop the play function switch. Value range:
- config
Id number - Config Id
- flv
Seek stringEnd - Custom FLV end parameters.
- flv
Seek stringStart - Custom FLV start parameters.
- flv
Video stringSeek Mode - FLV drag mode. Value range:
- mp4Seek
End string - Custom mp4 end parameters.
- mp4Seek
Start string - Custom mp4 start parameters.
- rule string
- Rule content, using conditional expressions to match user requests. When adding global configuration, this parameter does not need to be set. There are two usage scenarios:
- Match all incoming requests: value set to true
- Match specified request: Set the value to a custom expression, for example: (http.host eq "video.example.com")
- rule
Enable string - Rule switch. When adding global configuration, this parameter does not need to be set. Value range:
- rule
Name string - Rule name. When adding global configuration, this parameter does not need to be set.
- sequence number
- Order of rule execution. The smaller the value, the higher the priority for execution.
- site
Id number - The site ID, which can be obtained by calling the ListSites API.
- site
Version number - The version number of the site configuration. For sites that have enabled configuration version management, this parameter can be used to specify the effective version of the configuration site, which defaults to version 0.
- video
Seek stringEnable - Drag and drop the play function switch. Value range:
- config_
id int - Config Id
- flv_
seek_ strend - Custom FLV end parameters.
- flv_
seek_ strstart - Custom FLV start parameters.
- flv_
video_ strseek_ mode - FLV drag mode. Value range:
- mp4_
seek_ strend - Custom mp4 end parameters.
- mp4_
seek_ strstart - Custom mp4 start parameters.
- rule str
- Rule content, using conditional expressions to match user requests. When adding global configuration, this parameter does not need to be set. There are two usage scenarios:
- Match all incoming requests: value set to true
- Match specified request: Set the value to a custom expression, for example: (http.host eq "video.example.com")
- rule_
enable str - Rule switch. When adding global configuration, this parameter does not need to be set. Value range:
- rule_
name str - Rule name. When adding global configuration, this parameter does not need to be set.
- sequence int
- Order of rule execution. The smaller the value, the higher the priority for execution.
- site_
id int - The site ID, which can be obtained by calling the ListSites API.
- site_
version int - The version number of the site configuration. For sites that have enabled configuration version management, this parameter can be used to specify the effective version of the configuration site, which defaults to version 0.
- video_
seek_ strenable - Drag and drop the play function switch. Value range:
- config
Id Number - Config Id
- flv
Seek StringEnd - Custom FLV end parameters.
- flv
Seek StringStart - Custom FLV start parameters.
- flv
Video StringSeek Mode - FLV drag mode. Value range:
- mp4Seek
End String - Custom mp4 end parameters.
- mp4Seek
Start String - Custom mp4 start parameters.
- rule String
- Rule content, using conditional expressions to match user requests. When adding global configuration, this parameter does not need to be set. There are two usage scenarios:
- Match all incoming requests: value set to true
- Match specified request: Set the value to a custom expression, for example: (http.host eq "video.example.com")
- rule
Enable String - Rule switch. When adding global configuration, this parameter does not need to be set. Value range:
- rule
Name String - Rule name. When adding global configuration, this parameter does not need to be set.
- sequence Number
- Order of rule execution. The smaller the value, the higher the priority for execution.
- site
Id Number - The site ID, which can be obtained by calling the ListSites API.
- site
Version Number - The version number of the site configuration. For sites that have enabled configuration version management, this parameter can be used to specify the effective version of the configuration site, which defaults to version 0.
- video
Seek StringEnable - Drag and drop the play function switch. Value range:
Import
ESA Video Processing can be imported using the id, e.g.
$ pulumi import alicloud:esa/videoProcessing:VideoProcessing example <site_id>:<config_id>
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Alibaba Cloud pulumi/pulumi-alicloud
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
alicloud
Terraform Provider.