tencentcloud.MpsFlow
Explore with Pulumi AI
Provides a resource to create a mps flow
Example Usage
Create a mps RTP flow
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const event = new tencentcloud.MpsEvent("event", {
eventName: "tf_test_event_srt_%d",
description: "tf test mps event description",
});
const flow = new tencentcloud.MpsFlow("flow", {
flowName: "tf_test_mps_flow_srt_%d",
maxBandwidth: 10000000,
inputGroups: [{
inputName: "test_inputname",
protocol: "SRT",
description: "input name Description",
allowIpLists: ["0.0.0.0/0"],
srtSettings: {
mode: "LISTENER",
streamId: "#!::u=johnny,r=resource,h=xxx.com,t=stream,m=play",
latency: 1000,
recvLatency: 1000,
peerLatency: 1000,
peerIdleTimeout: 1000,
},
}],
eventId: event.mpsEventId,
});
import pulumi
import pulumi_tencentcloud as tencentcloud
event = tencentcloud.MpsEvent("event",
event_name="tf_test_event_srt_%d",
description="tf test mps event description")
flow = tencentcloud.MpsFlow("flow",
flow_name="tf_test_mps_flow_srt_%d",
max_bandwidth=10000000,
input_groups=[{
"input_name": "test_inputname",
"protocol": "SRT",
"description": "input name Description",
"allow_ip_lists": ["0.0.0.0/0"],
"srt_settings": {
"mode": "LISTENER",
"stream_id": "#!::u=johnny,r=resource,h=xxx.com,t=stream,m=play",
"latency": 1000,
"recv_latency": 1000,
"peer_latency": 1000,
"peer_idle_timeout": 1000,
},
}],
event_id=event.mps_event_id)
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 {
event, err := tencentcloud.NewMpsEvent(ctx, "event", &tencentcloud.MpsEventArgs{
EventName: pulumi.String("tf_test_event_srt_%d"),
Description: pulumi.String("tf test mps event description"),
})
if err != nil {
return err
}
_, err = tencentcloud.NewMpsFlow(ctx, "flow", &tencentcloud.MpsFlowArgs{
FlowName: pulumi.String("tf_test_mps_flow_srt_%d"),
MaxBandwidth: pulumi.Float64(10000000),
InputGroups: tencentcloud.MpsFlowInputGroupArray{
&tencentcloud.MpsFlowInputGroupArgs{
InputName: pulumi.String("test_inputname"),
Protocol: pulumi.String("SRT"),
Description: pulumi.String("input name Description"),
AllowIpLists: pulumi.StringArray{
pulumi.String("0.0.0.0/0"),
},
SrtSettings: &tencentcloud.MpsFlowInputGroupSrtSettingsArgs{
Mode: pulumi.String("LISTENER"),
StreamId: pulumi.String("#!::u=johnny,r=resource,h=xxx.com,t=stream,m=play"),
Latency: pulumi.Float64(1000),
RecvLatency: pulumi.Float64(1000),
PeerLatency: pulumi.Float64(1000),
PeerIdleTimeout: pulumi.Float64(1000),
},
},
},
EventId: event.MpsEventId,
})
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 @event = new Tencentcloud.MpsEvent("event", new()
{
EventName = "tf_test_event_srt_%d",
Description = "tf test mps event description",
});
var flow = new Tencentcloud.MpsFlow("flow", new()
{
FlowName = "tf_test_mps_flow_srt_%d",
MaxBandwidth = 10000000,
InputGroups = new[]
{
new Tencentcloud.Inputs.MpsFlowInputGroupArgs
{
InputName = "test_inputname",
Protocol = "SRT",
Description = "input name Description",
AllowIpLists = new[]
{
"0.0.0.0/0",
},
SrtSettings = new Tencentcloud.Inputs.MpsFlowInputGroupSrtSettingsArgs
{
Mode = "LISTENER",
StreamId = "#!::u=johnny,r=resource,h=xxx.com,t=stream,m=play",
Latency = 1000,
RecvLatency = 1000,
PeerLatency = 1000,
PeerIdleTimeout = 1000,
},
},
},
EventId = @event.MpsEventId,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.tencentcloud.MpsEvent;
import com.pulumi.tencentcloud.MpsEventArgs;
import com.pulumi.tencentcloud.MpsFlow;
import com.pulumi.tencentcloud.MpsFlowArgs;
import com.pulumi.tencentcloud.inputs.MpsFlowInputGroupArgs;
import com.pulumi.tencentcloud.inputs.MpsFlowInputGroupSrtSettingsArgs;
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 event = new MpsEvent("event", MpsEventArgs.builder()
.eventName("tf_test_event_srt_%d")
.description("tf test mps event description")
.build());
var flow = new MpsFlow("flow", MpsFlowArgs.builder()
.flowName("tf_test_mps_flow_srt_%d")
.maxBandwidth(10000000)
.inputGroups(MpsFlowInputGroupArgs.builder()
.inputName("test_inputname")
.protocol("SRT")
.description("input name Description")
.allowIpLists("0.0.0.0/0")
.srtSettings(MpsFlowInputGroupSrtSettingsArgs.builder()
.mode("LISTENER")
.streamId("#!::u=johnny,r=resource,h=xxx.com,t=stream,m=play")
.latency(1000)
.recvLatency(1000)
.peerLatency(1000)
.peerIdleTimeout(1000)
.build())
.build())
.eventId(event.mpsEventId())
.build());
}
}
resources:
event:
type: tencentcloud:MpsEvent
properties:
eventName: tf_test_event_srt_%d
description: tf test mps event description
flow:
type: tencentcloud:MpsFlow
properties:
flowName: tf_test_mps_flow_srt_%d
maxBandwidth: 1e+07
inputGroups:
- inputName: test_inputname
protocol: SRT
description: input name Description
allowIpLists:
- 0.0.0.0/0
srtSettings:
mode: LISTENER
streamId: '#!::u=johnny,r=resource,h=xxx.com,t=stream,m=play'
latency: 1000
recvLatency: 1000
peerLatency: 1000
peerIdleTimeout: 1000
eventId: ${event.mpsEventId}
Create a mps RTP flow
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const eventRtp = new tencentcloud.MpsEvent("eventRtp", {
eventName: "tf_test_event_rtp_%d",
description: "tf test mps event description",
});
const flowRtp = new tencentcloud.MpsFlow("flowRtp", {
flowName: "tf_test_mps_flow_rtp_%d",
maxBandwidth: 10000000,
inputGroups: [{
inputName: "test_inputname",
protocol: "RTP",
description: "input name Description",
allowIpLists: ["0.0.0.0/0"],
rtpSettings: {
fec: "none",
idleTimeout: 1000,
},
}],
eventId: eventRtp.mpsEventId,
});
import pulumi
import pulumi_tencentcloud as tencentcloud
event_rtp = tencentcloud.MpsEvent("eventRtp",
event_name="tf_test_event_rtp_%d",
description="tf test mps event description")
flow_rtp = tencentcloud.MpsFlow("flowRtp",
flow_name="tf_test_mps_flow_rtp_%d",
max_bandwidth=10000000,
input_groups=[{
"input_name": "test_inputname",
"protocol": "RTP",
"description": "input name Description",
"allow_ip_lists": ["0.0.0.0/0"],
"rtp_settings": {
"fec": "none",
"idle_timeout": 1000,
},
}],
event_id=event_rtp.mps_event_id)
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 {
eventRtp, err := tencentcloud.NewMpsEvent(ctx, "eventRtp", &tencentcloud.MpsEventArgs{
EventName: pulumi.String("tf_test_event_rtp_%d"),
Description: pulumi.String("tf test mps event description"),
})
if err != nil {
return err
}
_, err = tencentcloud.NewMpsFlow(ctx, "flowRtp", &tencentcloud.MpsFlowArgs{
FlowName: pulumi.String("tf_test_mps_flow_rtp_%d"),
MaxBandwidth: pulumi.Float64(10000000),
InputGroups: tencentcloud.MpsFlowInputGroupArray{
&tencentcloud.MpsFlowInputGroupArgs{
InputName: pulumi.String("test_inputname"),
Protocol: pulumi.String("RTP"),
Description: pulumi.String("input name Description"),
AllowIpLists: pulumi.StringArray{
pulumi.String("0.0.0.0/0"),
},
RtpSettings: &tencentcloud.MpsFlowInputGroupRtpSettingsArgs{
Fec: pulumi.String("none"),
IdleTimeout: pulumi.Float64(1000),
},
},
},
EventId: eventRtp.MpsEventId,
})
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 eventRtp = new Tencentcloud.MpsEvent("eventRtp", new()
{
EventName = "tf_test_event_rtp_%d",
Description = "tf test mps event description",
});
var flowRtp = new Tencentcloud.MpsFlow("flowRtp", new()
{
FlowName = "tf_test_mps_flow_rtp_%d",
MaxBandwidth = 10000000,
InputGroups = new[]
{
new Tencentcloud.Inputs.MpsFlowInputGroupArgs
{
InputName = "test_inputname",
Protocol = "RTP",
Description = "input name Description",
AllowIpLists = new[]
{
"0.0.0.0/0",
},
RtpSettings = new Tencentcloud.Inputs.MpsFlowInputGroupRtpSettingsArgs
{
Fec = "none",
IdleTimeout = 1000,
},
},
},
EventId = eventRtp.MpsEventId,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.tencentcloud.MpsEvent;
import com.pulumi.tencentcloud.MpsEventArgs;
import com.pulumi.tencentcloud.MpsFlow;
import com.pulumi.tencentcloud.MpsFlowArgs;
import com.pulumi.tencentcloud.inputs.MpsFlowInputGroupArgs;
import com.pulumi.tencentcloud.inputs.MpsFlowInputGroupRtpSettingsArgs;
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 eventRtp = new MpsEvent("eventRtp", MpsEventArgs.builder()
.eventName("tf_test_event_rtp_%d")
.description("tf test mps event description")
.build());
var flowRtp = new MpsFlow("flowRtp", MpsFlowArgs.builder()
.flowName("tf_test_mps_flow_rtp_%d")
.maxBandwidth(10000000)
.inputGroups(MpsFlowInputGroupArgs.builder()
.inputName("test_inputname")
.protocol("RTP")
.description("input name Description")
.allowIpLists("0.0.0.0/0")
.rtpSettings(MpsFlowInputGroupRtpSettingsArgs.builder()
.fec("none")
.idleTimeout(1000)
.build())
.build())
.eventId(eventRtp.mpsEventId())
.build());
}
}
resources:
eventRtp:
type: tencentcloud:MpsEvent
properties:
eventName: tf_test_event_rtp_%d
description: tf test mps event description
flowRtp:
type: tencentcloud:MpsFlow
properties:
flowName: tf_test_mps_flow_rtp_%d
maxBandwidth: 1e+07
inputGroups:
- inputName: test_inputname
protocol: RTP
description: input name Description
allowIpLists:
- 0.0.0.0/0
rtpSettings:
fec: none
idleTimeout: 1000
eventId: ${eventRtp.mpsEventId}
Create a mps RTP flow and start it
Before you start a mps flow, you need to create a output first.
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const eventRtp = new tencentcloud.MpsEvent("eventRtp", {
eventName: "your_event_name",
description: "tf test mps event description",
});
const flowRtp = new tencentcloud.MpsFlow("flowRtp", {
flowName: "your_flow_name",
maxBandwidth: 10000000,
inputGroups: [{
inputName: "test_inputname",
protocol: "RTP",
description: "input name Description",
allowIpLists: ["0.0.0.0/0"],
rtpSettings: {
fec: "none",
idleTimeout: 1000,
},
}],
eventId: eventRtp.mpsEventId,
});
const output = new tencentcloud.MpsOutput("output", {
flowId: flowRtp.mpsFlowId,
output: {
outputName: "your_output_name",
description: "tf mps output group",
protocol: "RTP",
outputRegion: "ap-guangzhou",
rtpSettings: {
destinations: [{
ip: "203.205.141.84",
port: 65535,
}],
fec: "none",
idleTimeout: 1000,
},
},
});
const operation = new tencentcloud.MpsStartFlowOperation("operation", {
flowId: flowRtp.mpsFlowId,
start: true,
}, {
dependsOn: [output],
});
import pulumi
import pulumi_tencentcloud as tencentcloud
event_rtp = tencentcloud.MpsEvent("eventRtp",
event_name="your_event_name",
description="tf test mps event description")
flow_rtp = tencentcloud.MpsFlow("flowRtp",
flow_name="your_flow_name",
max_bandwidth=10000000,
input_groups=[{
"input_name": "test_inputname",
"protocol": "RTP",
"description": "input name Description",
"allow_ip_lists": ["0.0.0.0/0"],
"rtp_settings": {
"fec": "none",
"idle_timeout": 1000,
},
}],
event_id=event_rtp.mps_event_id)
output = tencentcloud.MpsOutput("output",
flow_id=flow_rtp.mps_flow_id,
output={
"output_name": "your_output_name",
"description": "tf mps output group",
"protocol": "RTP",
"output_region": "ap-guangzhou",
"rtp_settings": {
"destinations": [{
"ip": "203.205.141.84",
"port": 65535,
}],
"fec": "none",
"idle_timeout": 1000,
},
})
operation = tencentcloud.MpsStartFlowOperation("operation",
flow_id=flow_rtp.mps_flow_id,
start=True,
opts = pulumi.ResourceOptions(depends_on=[output]))
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 {
eventRtp, err := tencentcloud.NewMpsEvent(ctx, "eventRtp", &tencentcloud.MpsEventArgs{
EventName: pulumi.String("your_event_name"),
Description: pulumi.String("tf test mps event description"),
})
if err != nil {
return err
}
flowRtp, err := tencentcloud.NewMpsFlow(ctx, "flowRtp", &tencentcloud.MpsFlowArgs{
FlowName: pulumi.String("your_flow_name"),
MaxBandwidth: pulumi.Float64(10000000),
InputGroups: tencentcloud.MpsFlowInputGroupArray{
&tencentcloud.MpsFlowInputGroupArgs{
InputName: pulumi.String("test_inputname"),
Protocol: pulumi.String("RTP"),
Description: pulumi.String("input name Description"),
AllowIpLists: pulumi.StringArray{
pulumi.String("0.0.0.0/0"),
},
RtpSettings: &tencentcloud.MpsFlowInputGroupRtpSettingsArgs{
Fec: pulumi.String("none"),
IdleTimeout: pulumi.Float64(1000),
},
},
},
EventId: eventRtp.MpsEventId,
})
if err != nil {
return err
}
output, err := tencentcloud.NewMpsOutput(ctx, "output", &tencentcloud.MpsOutputArgs{
FlowId: flowRtp.MpsFlowId,
Output: &tencentcloud.MpsOutputOutputTypeArgs{
OutputName: pulumi.String("your_output_name"),
Description: pulumi.String("tf mps output group"),
Protocol: pulumi.String("RTP"),
OutputRegion: pulumi.String("ap-guangzhou"),
RtpSettings: &tencentcloud.MpsOutputOutputRtpSettingsArgs{
Destinations: tencentcloud.MpsOutputOutputRtpSettingsDestinationArray{
&tencentcloud.MpsOutputOutputRtpSettingsDestinationArgs{
Ip: pulumi.String("203.205.141.84"),
Port: pulumi.Float64(65535),
},
},
Fec: pulumi.String("none"),
IdleTimeout: pulumi.Float64(1000),
},
},
})
if err != nil {
return err
}
_, err = tencentcloud.NewMpsStartFlowOperation(ctx, "operation", &tencentcloud.MpsStartFlowOperationArgs{
FlowId: flowRtp.MpsFlowId,
Start: pulumi.Bool(true),
}, pulumi.DependsOn([]pulumi.Resource{
output,
}))
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 eventRtp = new Tencentcloud.MpsEvent("eventRtp", new()
{
EventName = "your_event_name",
Description = "tf test mps event description",
});
var flowRtp = new Tencentcloud.MpsFlow("flowRtp", new()
{
FlowName = "your_flow_name",
MaxBandwidth = 10000000,
InputGroups = new[]
{
new Tencentcloud.Inputs.MpsFlowInputGroupArgs
{
InputName = "test_inputname",
Protocol = "RTP",
Description = "input name Description",
AllowIpLists = new[]
{
"0.0.0.0/0",
},
RtpSettings = new Tencentcloud.Inputs.MpsFlowInputGroupRtpSettingsArgs
{
Fec = "none",
IdleTimeout = 1000,
},
},
},
EventId = eventRtp.MpsEventId,
});
var output = new Tencentcloud.MpsOutput("output", new()
{
FlowId = flowRtp.MpsFlowId,
Output = new Tencentcloud.Inputs.MpsOutputOutputArgs
{
OutputName = "your_output_name",
Description = "tf mps output group",
Protocol = "RTP",
OutputRegion = "ap-guangzhou",
RtpSettings = new Tencentcloud.Inputs.MpsOutputOutputRtpSettingsArgs
{
Destinations = new[]
{
new Tencentcloud.Inputs.MpsOutputOutputRtpSettingsDestinationArgs
{
Ip = "203.205.141.84",
Port = 65535,
},
},
Fec = "none",
IdleTimeout = 1000,
},
},
});
var operation = new Tencentcloud.MpsStartFlowOperation("operation", new()
{
FlowId = flowRtp.MpsFlowId,
Start = true,
}, new CustomResourceOptions
{
DependsOn =
{
output,
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.tencentcloud.MpsEvent;
import com.pulumi.tencentcloud.MpsEventArgs;
import com.pulumi.tencentcloud.MpsFlow;
import com.pulumi.tencentcloud.MpsFlowArgs;
import com.pulumi.tencentcloud.inputs.MpsFlowInputGroupArgs;
import com.pulumi.tencentcloud.inputs.MpsFlowInputGroupRtpSettingsArgs;
import com.pulumi.tencentcloud.MpsOutput;
import com.pulumi.tencentcloud.MpsOutputArgs;
import com.pulumi.tencentcloud.inputs.MpsOutputOutputArgs;
import com.pulumi.tencentcloud.inputs.MpsOutputOutputRtpSettingsArgs;
import com.pulumi.tencentcloud.MpsStartFlowOperation;
import com.pulumi.tencentcloud.MpsStartFlowOperationArgs;
import com.pulumi.resources.CustomResourceOptions;
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 eventRtp = new MpsEvent("eventRtp", MpsEventArgs.builder()
.eventName("your_event_name")
.description("tf test mps event description")
.build());
var flowRtp = new MpsFlow("flowRtp", MpsFlowArgs.builder()
.flowName("your_flow_name")
.maxBandwidth(10000000)
.inputGroups(MpsFlowInputGroupArgs.builder()
.inputName("test_inputname")
.protocol("RTP")
.description("input name Description")
.allowIpLists("0.0.0.0/0")
.rtpSettings(MpsFlowInputGroupRtpSettingsArgs.builder()
.fec("none")
.idleTimeout(1000)
.build())
.build())
.eventId(eventRtp.mpsEventId())
.build());
var output = new MpsOutput("output", MpsOutputArgs.builder()
.flowId(flowRtp.mpsFlowId())
.output(MpsOutputOutputArgs.builder()
.outputName("your_output_name")
.description("tf mps output group")
.protocol("RTP")
.outputRegion("ap-guangzhou")
.rtpSettings(MpsOutputOutputRtpSettingsArgs.builder()
.destinations(MpsOutputOutputRtpSettingsDestinationArgs.builder()
.ip("203.205.141.84")
.port(65535)
.build())
.fec("none")
.idleTimeout(1000)
.build())
.build())
.build());
var operation = new MpsStartFlowOperation("operation", MpsStartFlowOperationArgs.builder()
.flowId(flowRtp.mpsFlowId())
.start(true)
.build(), CustomResourceOptions.builder()
.dependsOn(output)
.build());
}
}
resources:
eventRtp:
type: tencentcloud:MpsEvent
properties:
eventName: your_event_name
description: tf test mps event description
flowRtp:
type: tencentcloud:MpsFlow
properties:
flowName: your_flow_name
maxBandwidth: 1e+07
inputGroups:
- inputName: test_inputname
protocol: RTP
description: input name Description
allowIpLists:
- 0.0.0.0/0
rtpSettings:
fec: none
idleTimeout: 1000
eventId: ${eventRtp.mpsEventId}
output:
type: tencentcloud:MpsOutput
properties:
flowId: ${flowRtp.mpsFlowId}
output:
outputName: your_output_name
description: tf mps output group
protocol: RTP
outputRegion: ap-guangzhou
rtpSettings:
destinations:
- ip: 203.205.141.84
port: 65535
fec: none
idleTimeout: 1000
operation:
type: tencentcloud:MpsStartFlowOperation
properties:
flowId: ${flowRtp.mpsFlowId}
start: true
options:
dependsOn:
- ${output}
Create MpsFlow Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new MpsFlow(name: string, args: MpsFlowArgs, opts?: CustomResourceOptions);
@overload
def MpsFlow(resource_name: str,
args: MpsFlowArgs,
opts: Optional[ResourceOptions] = None)
@overload
def MpsFlow(resource_name: str,
opts: Optional[ResourceOptions] = None,
flow_name: Optional[str] = None,
max_bandwidth: Optional[float] = None,
event_id: Optional[str] = None,
input_groups: Optional[Sequence[MpsFlowInputGroupArgs]] = None,
mps_flow_id: Optional[str] = None)
func NewMpsFlow(ctx *Context, name string, args MpsFlowArgs, opts ...ResourceOption) (*MpsFlow, error)
public MpsFlow(string name, MpsFlowArgs args, CustomResourceOptions? opts = null)
public MpsFlow(String name, MpsFlowArgs args)
public MpsFlow(String name, MpsFlowArgs args, CustomResourceOptions options)
type: tencentcloud:MpsFlow
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 MpsFlowArgs
- 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 MpsFlowArgs
- 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 MpsFlowArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args MpsFlowArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args MpsFlowArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
MpsFlow 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 MpsFlow resource accepts the following input properties:
- Flow
Name string - Flow name.
- Max
Bandwidth double - Maximum bandwidth, unit bps, optional [10000000, 20000000, 50000000].
- Event
Id string - The event ID associated with this Flow. Each flow can only be associated with one Event.
- Input
Groups List<MpsFlow Input Group> - The input group for the flow.
- Mps
Flow stringId - ID of the resource.
- Flow
Name string - Flow name.
- Max
Bandwidth float64 - Maximum bandwidth, unit bps, optional [10000000, 20000000, 50000000].
- Event
Id string - The event ID associated with this Flow. Each flow can only be associated with one Event.
- Input
Groups []MpsFlow Input Group Args - The input group for the flow.
- Mps
Flow stringId - ID of the resource.
- flow
Name String - Flow name.
- max
Bandwidth Double - Maximum bandwidth, unit bps, optional [10000000, 20000000, 50000000].
- event
Id String - The event ID associated with this Flow. Each flow can only be associated with one Event.
- input
Groups List<MpsFlow Input Group> - The input group for the flow.
- mps
Flow StringId - ID of the resource.
- flow
Name string - Flow name.
- max
Bandwidth number - Maximum bandwidth, unit bps, optional [10000000, 20000000, 50000000].
- event
Id string - The event ID associated with this Flow. Each flow can only be associated with one Event.
- input
Groups MpsFlow Input Group[] - The input group for the flow.
- mps
Flow stringId - ID of the resource.
- flow_
name str - Flow name.
- max_
bandwidth float - Maximum bandwidth, unit bps, optional [10000000, 20000000, 50000000].
- event_
id str - The event ID associated with this Flow. Each flow can only be associated with one Event.
- input_
groups Sequence[MpsFlow Input Group Args] - The input group for the flow.
- mps_
flow_ strid - ID of the resource.
- flow
Name String - Flow name.
- max
Bandwidth Number - Maximum bandwidth, unit bps, optional [10000000, 20000000, 50000000].
- event
Id String - The event ID associated with this Flow. Each flow can only be associated with one Event.
- input
Groups List<Property Map> - The input group for the flow.
- mps
Flow StringId - ID of the resource.
Outputs
All input properties are implicitly available as output properties. Additionally, the MpsFlow resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing MpsFlow Resource
Get an existing MpsFlow 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?: MpsFlowState, opts?: CustomResourceOptions): MpsFlow
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
event_id: Optional[str] = None,
flow_name: Optional[str] = None,
input_groups: Optional[Sequence[MpsFlowInputGroupArgs]] = None,
max_bandwidth: Optional[float] = None,
mps_flow_id: Optional[str] = None) -> MpsFlow
func GetMpsFlow(ctx *Context, name string, id IDInput, state *MpsFlowState, opts ...ResourceOption) (*MpsFlow, error)
public static MpsFlow Get(string name, Input<string> id, MpsFlowState? state, CustomResourceOptions? opts = null)
public static MpsFlow get(String name, Output<String> id, MpsFlowState state, CustomResourceOptions options)
resources: _: type: tencentcloud:MpsFlow 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.
- Event
Id string - The event ID associated with this Flow. Each flow can only be associated with one Event.
- Flow
Name string - Flow name.
- Input
Groups List<MpsFlow Input Group> - The input group for the flow.
- Max
Bandwidth double - Maximum bandwidth, unit bps, optional [10000000, 20000000, 50000000].
- Mps
Flow stringId - ID of the resource.
- Event
Id string - The event ID associated with this Flow. Each flow can only be associated with one Event.
- Flow
Name string - Flow name.
- Input
Groups []MpsFlow Input Group Args - The input group for the flow.
- Max
Bandwidth float64 - Maximum bandwidth, unit bps, optional [10000000, 20000000, 50000000].
- Mps
Flow stringId - ID of the resource.
- event
Id String - The event ID associated with this Flow. Each flow can only be associated with one Event.
- flow
Name String - Flow name.
- input
Groups List<MpsFlow Input Group> - The input group for the flow.
- max
Bandwidth Double - Maximum bandwidth, unit bps, optional [10000000, 20000000, 50000000].
- mps
Flow StringId - ID of the resource.
- event
Id string - The event ID associated with this Flow. Each flow can only be associated with one Event.
- flow
Name string - Flow name.
- input
Groups MpsFlow Input Group[] - The input group for the flow.
- max
Bandwidth number - Maximum bandwidth, unit bps, optional [10000000, 20000000, 50000000].
- mps
Flow stringId - ID of the resource.
- event_
id str - The event ID associated with this Flow. Each flow can only be associated with one Event.
- flow_
name str - Flow name.
- input_
groups Sequence[MpsFlow Input Group Args] - The input group for the flow.
- max_
bandwidth float - Maximum bandwidth, unit bps, optional [10000000, 20000000, 50000000].
- mps_
flow_ strid - ID of the resource.
- event
Id String - The event ID associated with this Flow. Each flow can only be associated with one Event.
- flow
Name String - Flow name.
- input
Groups List<Property Map> - The input group for the flow.
- max
Bandwidth Number - Maximum bandwidth, unit bps, optional [10000000, 20000000, 50000000].
- mps
Flow StringId - ID of the resource.
Supporting Types
MpsFlowInputGroup, MpsFlowInputGroupArgs
- Input
Name string - Input name, you can fill in uppercase and lowercase letters, numbers and underscores, and the length is [1, 32].
- Protocol string
- Input protocol, optional [SRT|RTP|RTMP|RTMP_PULL].
- Allow
Ip List<string>Lists - The input IP whitelist, the format is CIDR.
- Description string
- Input description with a length of [0, 255].
- Fail
Over string - The active/standby switch of the input, [OPEN|CLOSE] is optional, and the default is CLOSE.
- Hls
Pull MpsSettings Flow Input Group Hls Pull Settings - Input HLS_PULL configuration information.
- Resilient
Stream MpsFlow Input Group Resilient Stream - Delay broadcast smooth streaming configuration information.
- Rtmp
Pull MpsSettings Flow Input Group Rtmp Pull Settings - Input RTMP_PULL configuration information.
- Rtp
Settings MpsFlow Input Group Rtp Settings - RTP configuration information.
- Rtsp
Pull MpsSettings Flow Input Group Rtsp Pull Settings - Input RTSP_PULL configuration information.
- Srt
Settings MpsFlow Input Group Srt Settings - The input SRT configuration information.
- Input
Name string - Input name, you can fill in uppercase and lowercase letters, numbers and underscores, and the length is [1, 32].
- Protocol string
- Input protocol, optional [SRT|RTP|RTMP|RTMP_PULL].
- Allow
Ip []stringLists - The input IP whitelist, the format is CIDR.
- Description string
- Input description with a length of [0, 255].
- Fail
Over string - The active/standby switch of the input, [OPEN|CLOSE] is optional, and the default is CLOSE.
- Hls
Pull MpsSettings Flow Input Group Hls Pull Settings - Input HLS_PULL configuration information.
- Resilient
Stream MpsFlow Input Group Resilient Stream - Delay broadcast smooth streaming configuration information.
- Rtmp
Pull MpsSettings Flow Input Group Rtmp Pull Settings - Input RTMP_PULL configuration information.
- Rtp
Settings MpsFlow Input Group Rtp Settings - RTP configuration information.
- Rtsp
Pull MpsSettings Flow Input Group Rtsp Pull Settings - Input RTSP_PULL configuration information.
- Srt
Settings MpsFlow Input Group Srt Settings - The input SRT configuration information.
- input
Name String - Input name, you can fill in uppercase and lowercase letters, numbers and underscores, and the length is [1, 32].
- protocol String
- Input protocol, optional [SRT|RTP|RTMP|RTMP_PULL].
- allow
Ip List<String>Lists - The input IP whitelist, the format is CIDR.
- description String
- Input description with a length of [0, 255].
- fail
Over String - The active/standby switch of the input, [OPEN|CLOSE] is optional, and the default is CLOSE.
- hls
Pull MpsSettings Flow Input Group Hls Pull Settings - Input HLS_PULL configuration information.
- resilient
Stream MpsFlow Input Group Resilient Stream - Delay broadcast smooth streaming configuration information.
- rtmp
Pull MpsSettings Flow Input Group Rtmp Pull Settings - Input RTMP_PULL configuration information.
- rtp
Settings MpsFlow Input Group Rtp Settings - RTP configuration information.
- rtsp
Pull MpsSettings Flow Input Group Rtsp Pull Settings - Input RTSP_PULL configuration information.
- srt
Settings MpsFlow Input Group Srt Settings - The input SRT configuration information.
- input
Name string - Input name, you can fill in uppercase and lowercase letters, numbers and underscores, and the length is [1, 32].
- protocol string
- Input protocol, optional [SRT|RTP|RTMP|RTMP_PULL].
- allow
Ip string[]Lists - The input IP whitelist, the format is CIDR.
- description string
- Input description with a length of [0, 255].
- fail
Over string - The active/standby switch of the input, [OPEN|CLOSE] is optional, and the default is CLOSE.
- hls
Pull MpsSettings Flow Input Group Hls Pull Settings - Input HLS_PULL configuration information.
- resilient
Stream MpsFlow Input Group Resilient Stream - Delay broadcast smooth streaming configuration information.
- rtmp
Pull MpsSettings Flow Input Group Rtmp Pull Settings - Input RTMP_PULL configuration information.
- rtp
Settings MpsFlow Input Group Rtp Settings - RTP configuration information.
- rtsp
Pull MpsSettings Flow Input Group Rtsp Pull Settings - Input RTSP_PULL configuration information.
- srt
Settings MpsFlow Input Group Srt Settings - The input SRT configuration information.
- input_
name str - Input name, you can fill in uppercase and lowercase letters, numbers and underscores, and the length is [1, 32].
- protocol str
- Input protocol, optional [SRT|RTP|RTMP|RTMP_PULL].
- allow_
ip_ Sequence[str]lists - The input IP whitelist, the format is CIDR.
- description str
- Input description with a length of [0, 255].
- fail_
over str - The active/standby switch of the input, [OPEN|CLOSE] is optional, and the default is CLOSE.
- hls_
pull_ Mpssettings Flow Input Group Hls Pull Settings - Input HLS_PULL configuration information.
- resilient_
stream MpsFlow Input Group Resilient Stream - Delay broadcast smooth streaming configuration information.
- rtmp_
pull_ Mpssettings Flow Input Group Rtmp Pull Settings - Input RTMP_PULL configuration information.
- rtp_
settings MpsFlow Input Group Rtp Settings - RTP configuration information.
- rtsp_
pull_ Mpssettings Flow Input Group Rtsp Pull Settings - Input RTSP_PULL configuration information.
- srt_
settings MpsFlow Input Group Srt Settings - The input SRT configuration information.
- input
Name String - Input name, you can fill in uppercase and lowercase letters, numbers and underscores, and the length is [1, 32].
- protocol String
- Input protocol, optional [SRT|RTP|RTMP|RTMP_PULL].
- allow
Ip List<String>Lists - The input IP whitelist, the format is CIDR.
- description String
- Input description with a length of [0, 255].
- fail
Over String - The active/standby switch of the input, [OPEN|CLOSE] is optional, and the default is CLOSE.
- hls
Pull Property MapSettings - Input HLS_PULL configuration information.
- resilient
Stream Property Map - Delay broadcast smooth streaming configuration information.
- rtmp
Pull Property MapSettings - Input RTMP_PULL configuration information.
- rtp
Settings Property Map - RTP configuration information.
- rtsp
Pull Property MapSettings - Input RTSP_PULL configuration information.
- srt
Settings Property Map - The input SRT configuration information.
MpsFlowInputGroupHlsPullSettings, MpsFlowInputGroupHlsPullSettingsArgs
- Source
Addresses List<MpsFlow Input Group Hls Pull Settings Source Address> - There is only one origin address of the HLS origin station.
- Source
Addresses []MpsFlow Input Group Hls Pull Settings Source Address - There is only one origin address of the HLS origin station.
- source
Addresses List<MpsFlow Input Group Hls Pull Settings Source Address> - There is only one origin address of the HLS origin station.
- source
Addresses MpsFlow Input Group Hls Pull Settings Source Address[] - There is only one origin address of the HLS origin station.
- source_
addresses Sequence[MpsFlow Input Group Hls Pull Settings Source Address] - There is only one origin address of the HLS origin station.
- source
Addresses List<Property Map> - There is only one origin address of the HLS origin station.
MpsFlowInputGroupHlsPullSettingsSourceAddress, MpsFlowInputGroupHlsPullSettingsSourceAddressArgs
- Url string
- The URL address of the RTSP source site.
- Url string
- The URL address of the RTSP source site.
- url String
- The URL address of the RTSP source site.
- url string
- The URL address of the RTSP source site.
- url str
- The URL address of the RTSP source site.
- url String
- The URL address of the RTSP source site.
MpsFlowInputGroupResilientStream, MpsFlowInputGroupResilientStreamArgs
- Buffer
Time double - Delay time, in seconds, currently supports a range of 10 to 300 seconds. Note: This field may return null, indicating that no valid value can be obtained.
- Enable bool
- Whether to enable the delayed broadcast smooth spit stream, true is enabled, false is not enabled, and the default is not enabled. Note: This field may return null, indicating that no valid value can be obtained.
- Buffer
Time float64 - Delay time, in seconds, currently supports a range of 10 to 300 seconds. Note: This field may return null, indicating that no valid value can be obtained.
- Enable bool
- Whether to enable the delayed broadcast smooth spit stream, true is enabled, false is not enabled, and the default is not enabled. Note: This field may return null, indicating that no valid value can be obtained.
- buffer
Time Double - Delay time, in seconds, currently supports a range of 10 to 300 seconds. Note: This field may return null, indicating that no valid value can be obtained.
- enable Boolean
- Whether to enable the delayed broadcast smooth spit stream, true is enabled, false is not enabled, and the default is not enabled. Note: This field may return null, indicating that no valid value can be obtained.
- buffer
Time number - Delay time, in seconds, currently supports a range of 10 to 300 seconds. Note: This field may return null, indicating that no valid value can be obtained.
- enable boolean
- Whether to enable the delayed broadcast smooth spit stream, true is enabled, false is not enabled, and the default is not enabled. Note: This field may return null, indicating that no valid value can be obtained.
- buffer_
time float - Delay time, in seconds, currently supports a range of 10 to 300 seconds. Note: This field may return null, indicating that no valid value can be obtained.
- enable bool
- Whether to enable the delayed broadcast smooth spit stream, true is enabled, false is not enabled, and the default is not enabled. Note: This field may return null, indicating that no valid value can be obtained.
- buffer
Time Number - Delay time, in seconds, currently supports a range of 10 to 300 seconds. Note: This field may return null, indicating that no valid value can be obtained.
- enable Boolean
- Whether to enable the delayed broadcast smooth spit stream, true is enabled, false is not enabled, and the default is not enabled. Note: This field may return null, indicating that no valid value can be obtained.
MpsFlowInputGroupRtmpPullSettings, MpsFlowInputGroupRtmpPullSettingsArgs
- Source
Addresses List<MpsFlow Input Group Rtmp Pull Settings Source Address> - The source site address of the RTMP source site, there can only be one.
- Source
Addresses []MpsFlow Input Group Rtmp Pull Settings Source Address - The source site address of the RTMP source site, there can only be one.
- source
Addresses List<MpsFlow Input Group Rtmp Pull Settings Source Address> - The source site address of the RTMP source site, there can only be one.
- source
Addresses MpsFlow Input Group Rtmp Pull Settings Source Address[] - The source site address of the RTMP source site, there can only be one.
- source_
addresses Sequence[MpsFlow Input Group Rtmp Pull Settings Source Address] - The source site address of the RTMP source site, there can only be one.
- source
Addresses List<Property Map> - The source site address of the RTMP source site, there can only be one.
MpsFlowInputGroupRtmpPullSettingsSourceAddress, MpsFlowInputGroupRtmpPullSettingsSourceAddressArgs
- stream_
key str - StreamKey information of the RTMP source site.
- tc_
url str - TcUrl address of the RTMP source server.
MpsFlowInputGroupRtpSettings, MpsFlowInputGroupRtpSettingsArgs
- Fec string
- Defaults to none, optional values[none].
- Idle
Timeout double - Idle timeout, the default is 5000, the unit is ms, and the range is [1000, 10000].
- Fec string
- Defaults to none, optional values[none].
- Idle
Timeout float64 - Idle timeout, the default is 5000, the unit is ms, and the range is [1000, 10000].
- fec String
- Defaults to none, optional values[none].
- idle
Timeout Double - Idle timeout, the default is 5000, the unit is ms, and the range is [1000, 10000].
- fec string
- Defaults to none, optional values[none].
- idle
Timeout number - Idle timeout, the default is 5000, the unit is ms, and the range is [1000, 10000].
- fec str
- Defaults to none, optional values[none].
- idle_
timeout float - Idle timeout, the default is 5000, the unit is ms, and the range is [1000, 10000].
- fec String
- Defaults to none, optional values[none].
- idle
Timeout Number - Idle timeout, the default is 5000, the unit is ms, and the range is [1000, 10000].
MpsFlowInputGroupRtspPullSettings, MpsFlowInputGroupRtspPullSettingsArgs
- Source
Addresses List<MpsFlow Input Group Rtsp Pull Settings Source Address> - The source site address of the RTSP source site, there can only be one.
- Source
Addresses []MpsFlow Input Group Rtsp Pull Settings Source Address - The source site address of the RTSP source site, there can only be one.
- source
Addresses List<MpsFlow Input Group Rtsp Pull Settings Source Address> - The source site address of the RTSP source site, there can only be one.
- source
Addresses MpsFlow Input Group Rtsp Pull Settings Source Address[] - The source site address of the RTSP source site, there can only be one.
- source_
addresses Sequence[MpsFlow Input Group Rtsp Pull Settings Source Address] - The source site address of the RTSP source site, there can only be one.
- source
Addresses List<Property Map> - The source site address of the RTSP source site, there can only be one.
MpsFlowInputGroupRtspPullSettingsSourceAddress, MpsFlowInputGroupRtspPullSettingsSourceAddressArgs
- Url string
- The URL address of the RTSP source site.
- Url string
- The URL address of the RTSP source site.
- url String
- The URL address of the RTSP source site.
- url string
- The URL address of the RTSP source site.
- url str
- The URL address of the RTSP source site.
- url String
- The URL address of the RTSP source site.
MpsFlowInputGroupSrtSettings, MpsFlowInputGroupSrtSettingsArgs
- Latency double
- Delay, default 0, unit ms, range [0, 3000].
- Mode string
- SRT mode, optional [LISTENER|CALLER], default is LISTENER.
- Passphrase string
- The decryption key, which is empty by default, means no encryption. Only ascii code values can be filled in, and the length is [10, 79].
- Pb
Key doubleLen - Key length, default is 0, optional [0|16|24|32].
- Peer
Idle doubleTimeout - Peer timeout, default is 5000, unit ms, range is [1000, 10000].
- Peer
Latency double - Peer delay, the default is 0, the unit is ms, and the range is [0, 3000].
- Recv
Latency double - Receiving delay, default is 120, unit ms, range is [0, 3000].
- Source
Addresses List<MpsFlow Input Group Srt Settings Source Address> - SRT peer address, required when Mode is CALLER, and only 1 set can be filled in.
- Stream
Id string - Stream ID, optional uppercase and lowercase letters, numbers and special characters (.#!:&,=_-), length 0~512. For specific format, please refer to:https://github.com/Haivision/srt/blob/master/docs/features/access-control.md#standard-keys.
- Latency float64
- Delay, default 0, unit ms, range [0, 3000].
- Mode string
- SRT mode, optional [LISTENER|CALLER], default is LISTENER.
- Passphrase string
- The decryption key, which is empty by default, means no encryption. Only ascii code values can be filled in, and the length is [10, 79].
- Pb
Key float64Len - Key length, default is 0, optional [0|16|24|32].
- Peer
Idle float64Timeout - Peer timeout, default is 5000, unit ms, range is [1000, 10000].
- Peer
Latency float64 - Peer delay, the default is 0, the unit is ms, and the range is [0, 3000].
- Recv
Latency float64 - Receiving delay, default is 120, unit ms, range is [0, 3000].
- Source
Addresses []MpsFlow Input Group Srt Settings Source Address - SRT peer address, required when Mode is CALLER, and only 1 set can be filled in.
- Stream
Id string - Stream ID, optional uppercase and lowercase letters, numbers and special characters (.#!:&,=_-), length 0~512. For specific format, please refer to:https://github.com/Haivision/srt/blob/master/docs/features/access-control.md#standard-keys.
- latency Double
- Delay, default 0, unit ms, range [0, 3000].
- mode String
- SRT mode, optional [LISTENER|CALLER], default is LISTENER.
- passphrase String
- The decryption key, which is empty by default, means no encryption. Only ascii code values can be filled in, and the length is [10, 79].
- pb
Key DoubleLen - Key length, default is 0, optional [0|16|24|32].
- peer
Idle DoubleTimeout - Peer timeout, default is 5000, unit ms, range is [1000, 10000].
- peer
Latency Double - Peer delay, the default is 0, the unit is ms, and the range is [0, 3000].
- recv
Latency Double - Receiving delay, default is 120, unit ms, range is [0, 3000].
- source
Addresses List<MpsFlow Input Group Srt Settings Source Address> - SRT peer address, required when Mode is CALLER, and only 1 set can be filled in.
- stream
Id String - Stream ID, optional uppercase and lowercase letters, numbers and special characters (.#!:&,=_-), length 0~512. For specific format, please refer to:https://github.com/Haivision/srt/blob/master/docs/features/access-control.md#standard-keys.
- latency number
- Delay, default 0, unit ms, range [0, 3000].
- mode string
- SRT mode, optional [LISTENER|CALLER], default is LISTENER.
- passphrase string
- The decryption key, which is empty by default, means no encryption. Only ascii code values can be filled in, and the length is [10, 79].
- pb
Key numberLen - Key length, default is 0, optional [0|16|24|32].
- peer
Idle numberTimeout - Peer timeout, default is 5000, unit ms, range is [1000, 10000].
- peer
Latency number - Peer delay, the default is 0, the unit is ms, and the range is [0, 3000].
- recv
Latency number - Receiving delay, default is 120, unit ms, range is [0, 3000].
- source
Addresses MpsFlow Input Group Srt Settings Source Address[] - SRT peer address, required when Mode is CALLER, and only 1 set can be filled in.
- stream
Id string - Stream ID, optional uppercase and lowercase letters, numbers and special characters (.#!:&,=_-), length 0~512. For specific format, please refer to:https://github.com/Haivision/srt/blob/master/docs/features/access-control.md#standard-keys.
- latency float
- Delay, default 0, unit ms, range [0, 3000].
- mode str
- SRT mode, optional [LISTENER|CALLER], default is LISTENER.
- passphrase str
- The decryption key, which is empty by default, means no encryption. Only ascii code values can be filled in, and the length is [10, 79].
- pb_
key_ floatlen - Key length, default is 0, optional [0|16|24|32].
- peer_
idle_ floattimeout - Peer timeout, default is 5000, unit ms, range is [1000, 10000].
- peer_
latency float - Peer delay, the default is 0, the unit is ms, and the range is [0, 3000].
- recv_
latency float - Receiving delay, default is 120, unit ms, range is [0, 3000].
- source_
addresses Sequence[MpsFlow Input Group Srt Settings Source Address] - SRT peer address, required when Mode is CALLER, and only 1 set can be filled in.
- stream_
id str - Stream ID, optional uppercase and lowercase letters, numbers and special characters (.#!:&,=_-), length 0~512. For specific format, please refer to:https://github.com/Haivision/srt/blob/master/docs/features/access-control.md#standard-keys.
- latency Number
- Delay, default 0, unit ms, range [0, 3000].
- mode String
- SRT mode, optional [LISTENER|CALLER], default is LISTENER.
- passphrase String
- The decryption key, which is empty by default, means no encryption. Only ascii code values can be filled in, and the length is [10, 79].
- pb
Key NumberLen - Key length, default is 0, optional [0|16|24|32].
- peer
Idle NumberTimeout - Peer timeout, default is 5000, unit ms, range is [1000, 10000].
- peer
Latency Number - Peer delay, the default is 0, the unit is ms, and the range is [0, 3000].
- recv
Latency Number - Receiving delay, default is 120, unit ms, range is [0, 3000].
- source
Addresses List<Property Map> - SRT peer address, required when Mode is CALLER, and only 1 set can be filled in.
- stream
Id String - Stream ID, optional uppercase and lowercase letters, numbers and special characters (.#!:&,=_-), length 0~512. For specific format, please refer to:https://github.com/Haivision/srt/blob/master/docs/features/access-control.md#standard-keys.
MpsFlowInputGroupSrtSettingsSourceAddress, MpsFlowInputGroupSrtSettingsSourceAddressArgs
Import
mps flow can be imported using the id, e.g.
$ pulumi import tencentcloud:index/mpsFlow:MpsFlow flow flow_id
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- tencentcloud tencentcloudstack/terraform-provider-tencentcloud
- License
- Notes
- This Pulumi package is based on the
tencentcloud
Terraform Provider.