1. Packages
  2. Tencentcloud Provider
  3. API Docs
  4. MpsFlow
tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack

tencentcloud.MpsFlow

Explore with Pulumi AI

tencentcloud logo
tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack

    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:

    FlowName string
    Flow name.
    MaxBandwidth double
    Maximum bandwidth, unit bps, optional [10000000, 20000000, 50000000].
    EventId string
    The event ID associated with this Flow. Each flow can only be associated with one Event.
    InputGroups List<MpsFlowInputGroup>
    The input group for the flow.
    MpsFlowId string
    ID of the resource.
    FlowName string
    Flow name.
    MaxBandwidth float64
    Maximum bandwidth, unit bps, optional [10000000, 20000000, 50000000].
    EventId string
    The event ID associated with this Flow. Each flow can only be associated with one Event.
    InputGroups []MpsFlowInputGroupArgs
    The input group for the flow.
    MpsFlowId string
    ID of the resource.
    flowName String
    Flow name.
    maxBandwidth Double
    Maximum bandwidth, unit bps, optional [10000000, 20000000, 50000000].
    eventId String
    The event ID associated with this Flow. Each flow can only be associated with one Event.
    inputGroups List<MpsFlowInputGroup>
    The input group for the flow.
    mpsFlowId String
    ID of the resource.
    flowName string
    Flow name.
    maxBandwidth number
    Maximum bandwidth, unit bps, optional [10000000, 20000000, 50000000].
    eventId string
    The event ID associated with this Flow. Each flow can only be associated with one Event.
    inputGroups MpsFlowInputGroup[]
    The input group for the flow.
    mpsFlowId string
    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[MpsFlowInputGroupArgs]
    The input group for the flow.
    mps_flow_id str
    ID of the resource.
    flowName String
    Flow name.
    maxBandwidth Number
    Maximum bandwidth, unit bps, optional [10000000, 20000000, 50000000].
    eventId String
    The event ID associated with this Flow. Each flow can only be associated with one Event.
    inputGroups List<Property Map>
    The input group for the flow.
    mpsFlowId String
    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.
    The following state arguments are supported:
    EventId string
    The event ID associated with this Flow. Each flow can only be associated with one Event.
    FlowName string
    Flow name.
    InputGroups List<MpsFlowInputGroup>
    The input group for the flow.
    MaxBandwidth double
    Maximum bandwidth, unit bps, optional [10000000, 20000000, 50000000].
    MpsFlowId string
    ID of the resource.
    EventId string
    The event ID associated with this Flow. Each flow can only be associated with one Event.
    FlowName string
    Flow name.
    InputGroups []MpsFlowInputGroupArgs
    The input group for the flow.
    MaxBandwidth float64
    Maximum bandwidth, unit bps, optional [10000000, 20000000, 50000000].
    MpsFlowId string
    ID of the resource.
    eventId String
    The event ID associated with this Flow. Each flow can only be associated with one Event.
    flowName String
    Flow name.
    inputGroups List<MpsFlowInputGroup>
    The input group for the flow.
    maxBandwidth Double
    Maximum bandwidth, unit bps, optional [10000000, 20000000, 50000000].
    mpsFlowId String
    ID of the resource.
    eventId string
    The event ID associated with this Flow. Each flow can only be associated with one Event.
    flowName string
    Flow name.
    inputGroups MpsFlowInputGroup[]
    The input group for the flow.
    maxBandwidth number
    Maximum bandwidth, unit bps, optional [10000000, 20000000, 50000000].
    mpsFlowId string
    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[MpsFlowInputGroupArgs]
    The input group for the flow.
    max_bandwidth float
    Maximum bandwidth, unit bps, optional [10000000, 20000000, 50000000].
    mps_flow_id str
    ID of the resource.
    eventId String
    The event ID associated with this Flow. Each flow can only be associated with one Event.
    flowName String
    Flow name.
    inputGroups List<Property Map>
    The input group for the flow.
    maxBandwidth Number
    Maximum bandwidth, unit bps, optional [10000000, 20000000, 50000000].
    mpsFlowId String
    ID of the resource.

    Supporting Types

    MpsFlowInputGroup, MpsFlowInputGroupArgs

    InputName 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].
    AllowIpLists List<string>
    The input IP whitelist, the format is CIDR.
    Description string
    Input description with a length of [0, 255].
    FailOver string
    The active/standby switch of the input, [OPEN|CLOSE] is optional, and the default is CLOSE.
    HlsPullSettings MpsFlowInputGroupHlsPullSettings
    Input HLS_PULL configuration information.
    ResilientStream MpsFlowInputGroupResilientStream
    Delay broadcast smooth streaming configuration information.
    RtmpPullSettings MpsFlowInputGroupRtmpPullSettings
    Input RTMP_PULL configuration information.
    RtpSettings MpsFlowInputGroupRtpSettings
    RTP configuration information.
    RtspPullSettings MpsFlowInputGroupRtspPullSettings
    Input RTSP_PULL configuration information.
    SrtSettings MpsFlowInputGroupSrtSettings
    The input SRT configuration information.
    InputName 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].
    AllowIpLists []string
    The input IP whitelist, the format is CIDR.
    Description string
    Input description with a length of [0, 255].
    FailOver string
    The active/standby switch of the input, [OPEN|CLOSE] is optional, and the default is CLOSE.
    HlsPullSettings MpsFlowInputGroupHlsPullSettings
    Input HLS_PULL configuration information.
    ResilientStream MpsFlowInputGroupResilientStream
    Delay broadcast smooth streaming configuration information.
    RtmpPullSettings MpsFlowInputGroupRtmpPullSettings
    Input RTMP_PULL configuration information.
    RtpSettings MpsFlowInputGroupRtpSettings
    RTP configuration information.
    RtspPullSettings MpsFlowInputGroupRtspPullSettings
    Input RTSP_PULL configuration information.
    SrtSettings MpsFlowInputGroupSrtSettings
    The input SRT configuration information.
    inputName 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].
    allowIpLists List<String>
    The input IP whitelist, the format is CIDR.
    description String
    Input description with a length of [0, 255].
    failOver String
    The active/standby switch of the input, [OPEN|CLOSE] is optional, and the default is CLOSE.
    hlsPullSettings MpsFlowInputGroupHlsPullSettings
    Input HLS_PULL configuration information.
    resilientStream MpsFlowInputGroupResilientStream
    Delay broadcast smooth streaming configuration information.
    rtmpPullSettings MpsFlowInputGroupRtmpPullSettings
    Input RTMP_PULL configuration information.
    rtpSettings MpsFlowInputGroupRtpSettings
    RTP configuration information.
    rtspPullSettings MpsFlowInputGroupRtspPullSettings
    Input RTSP_PULL configuration information.
    srtSettings MpsFlowInputGroupSrtSettings
    The input SRT configuration information.
    inputName 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].
    allowIpLists string[]
    The input IP whitelist, the format is CIDR.
    description string
    Input description with a length of [0, 255].
    failOver string
    The active/standby switch of the input, [OPEN|CLOSE] is optional, and the default is CLOSE.
    hlsPullSettings MpsFlowInputGroupHlsPullSettings
    Input HLS_PULL configuration information.
    resilientStream MpsFlowInputGroupResilientStream
    Delay broadcast smooth streaming configuration information.
    rtmpPullSettings MpsFlowInputGroupRtmpPullSettings
    Input RTMP_PULL configuration information.
    rtpSettings MpsFlowInputGroupRtpSettings
    RTP configuration information.
    rtspPullSettings MpsFlowInputGroupRtspPullSettings
    Input RTSP_PULL configuration information.
    srtSettings MpsFlowInputGroupSrtSettings
    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_lists Sequence[str]
    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_settings MpsFlowInputGroupHlsPullSettings
    Input HLS_PULL configuration information.
    resilient_stream MpsFlowInputGroupResilientStream
    Delay broadcast smooth streaming configuration information.
    rtmp_pull_settings MpsFlowInputGroupRtmpPullSettings
    Input RTMP_PULL configuration information.
    rtp_settings MpsFlowInputGroupRtpSettings
    RTP configuration information.
    rtsp_pull_settings MpsFlowInputGroupRtspPullSettings
    Input RTSP_PULL configuration information.
    srt_settings MpsFlowInputGroupSrtSettings
    The input SRT configuration information.
    inputName 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].
    allowIpLists List<String>
    The input IP whitelist, the format is CIDR.
    description String
    Input description with a length of [0, 255].
    failOver String
    The active/standby switch of the input, [OPEN|CLOSE] is optional, and the default is CLOSE.
    hlsPullSettings Property Map
    Input HLS_PULL configuration information.
    resilientStream Property Map
    Delay broadcast smooth streaming configuration information.
    rtmpPullSettings Property Map
    Input RTMP_PULL configuration information.
    rtpSettings Property Map
    RTP configuration information.
    rtspPullSettings Property Map
    Input RTSP_PULL configuration information.
    srtSettings Property Map
    The input SRT configuration information.

    MpsFlowInputGroupHlsPullSettings, MpsFlowInputGroupHlsPullSettingsArgs

    SourceAddresses List<MpsFlowInputGroupHlsPullSettingsSourceAddress>
    There is only one origin address of the HLS origin station.
    SourceAddresses []MpsFlowInputGroupHlsPullSettingsSourceAddress
    There is only one origin address of the HLS origin station.
    sourceAddresses List<MpsFlowInputGroupHlsPullSettingsSourceAddress>
    There is only one origin address of the HLS origin station.
    sourceAddresses MpsFlowInputGroupHlsPullSettingsSourceAddress[]
    There is only one origin address of the HLS origin station.
    source_addresses Sequence[MpsFlowInputGroupHlsPullSettingsSourceAddress]
    There is only one origin address of the HLS origin station.
    sourceAddresses 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

    BufferTime 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.
    BufferTime 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.
    bufferTime 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.
    bufferTime 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.
    bufferTime 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

    SourceAddresses List<MpsFlowInputGroupRtmpPullSettingsSourceAddress>
    The source site address of the RTMP source site, there can only be one.
    SourceAddresses []MpsFlowInputGroupRtmpPullSettingsSourceAddress
    The source site address of the RTMP source site, there can only be one.
    sourceAddresses List<MpsFlowInputGroupRtmpPullSettingsSourceAddress>
    The source site address of the RTMP source site, there can only be one.
    sourceAddresses MpsFlowInputGroupRtmpPullSettingsSourceAddress[]
    The source site address of the RTMP source site, there can only be one.
    source_addresses Sequence[MpsFlowInputGroupRtmpPullSettingsSourceAddress]
    The source site address of the RTMP source site, there can only be one.
    sourceAddresses List<Property Map>
    The source site address of the RTMP source site, there can only be one.

    MpsFlowInputGroupRtmpPullSettingsSourceAddress, MpsFlowInputGroupRtmpPullSettingsSourceAddressArgs

    StreamKey string
    StreamKey information of the RTMP source site.
    TcUrl string
    TcUrl address of the RTMP source server.
    StreamKey string
    StreamKey information of the RTMP source site.
    TcUrl string
    TcUrl address of the RTMP source server.
    streamKey String
    StreamKey information of the RTMP source site.
    tcUrl String
    TcUrl address of the RTMP source server.
    streamKey string
    StreamKey information of the RTMP source site.
    tcUrl string
    TcUrl address of the RTMP source server.
    stream_key str
    StreamKey information of the RTMP source site.
    tc_url str
    TcUrl address of the RTMP source server.
    streamKey String
    StreamKey information of the RTMP source site.
    tcUrl String
    TcUrl address of the RTMP source server.

    MpsFlowInputGroupRtpSettings, MpsFlowInputGroupRtpSettingsArgs

    Fec string
    Defaults to none, optional values[none].
    IdleTimeout 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].
    IdleTimeout 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].
    idleTimeout 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].
    idleTimeout 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].
    idleTimeout Number
    Idle timeout, the default is 5000, the unit is ms, and the range is [1000, 10000].

    MpsFlowInputGroupRtspPullSettings, MpsFlowInputGroupRtspPullSettingsArgs

    SourceAddresses List<MpsFlowInputGroupRtspPullSettingsSourceAddress>
    The source site address of the RTSP source site, there can only be one.
    SourceAddresses []MpsFlowInputGroupRtspPullSettingsSourceAddress
    The source site address of the RTSP source site, there can only be one.
    sourceAddresses List<MpsFlowInputGroupRtspPullSettingsSourceAddress>
    The source site address of the RTSP source site, there can only be one.
    sourceAddresses MpsFlowInputGroupRtspPullSettingsSourceAddress[]
    The source site address of the RTSP source site, there can only be one.
    source_addresses Sequence[MpsFlowInputGroupRtspPullSettingsSourceAddress]
    The source site address of the RTSP source site, there can only be one.
    sourceAddresses 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].
    PbKeyLen double
    Key length, default is 0, optional [0|16|24|32].
    PeerIdleTimeout double
    Peer timeout, default is 5000, unit ms, range is [1000, 10000].
    PeerLatency double
    Peer delay, the default is 0, the unit is ms, and the range is [0, 3000].
    RecvLatency double
    Receiving delay, default is 120, unit ms, range is [0, 3000].
    SourceAddresses List<MpsFlowInputGroupSrtSettingsSourceAddress>
    SRT peer address, required when Mode is CALLER, and only 1 set can be filled in.
    StreamId 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].
    PbKeyLen float64
    Key length, default is 0, optional [0|16|24|32].
    PeerIdleTimeout float64
    Peer timeout, default is 5000, unit ms, range is [1000, 10000].
    PeerLatency float64
    Peer delay, the default is 0, the unit is ms, and the range is [0, 3000].
    RecvLatency float64
    Receiving delay, default is 120, unit ms, range is [0, 3000].
    SourceAddresses []MpsFlowInputGroupSrtSettingsSourceAddress
    SRT peer address, required when Mode is CALLER, and only 1 set can be filled in.
    StreamId 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].
    pbKeyLen Double
    Key length, default is 0, optional [0|16|24|32].
    peerIdleTimeout Double
    Peer timeout, default is 5000, unit ms, range is [1000, 10000].
    peerLatency Double
    Peer delay, the default is 0, the unit is ms, and the range is [0, 3000].
    recvLatency Double
    Receiving delay, default is 120, unit ms, range is [0, 3000].
    sourceAddresses List<MpsFlowInputGroupSrtSettingsSourceAddress>
    SRT peer address, required when Mode is CALLER, and only 1 set can be filled in.
    streamId 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].
    pbKeyLen number
    Key length, default is 0, optional [0|16|24|32].
    peerIdleTimeout number
    Peer timeout, default is 5000, unit ms, range is [1000, 10000].
    peerLatency number
    Peer delay, the default is 0, the unit is ms, and the range is [0, 3000].
    recvLatency number
    Receiving delay, default is 120, unit ms, range is [0, 3000].
    sourceAddresses MpsFlowInputGroupSrtSettingsSourceAddress[]
    SRT peer address, required when Mode is CALLER, and only 1 set can be filled in.
    streamId 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_len float
    Key length, default is 0, optional [0|16|24|32].
    peer_idle_timeout float
    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[MpsFlowInputGroupSrtSettingsSourceAddress]
    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].
    pbKeyLen Number
    Key length, default is 0, optional [0|16|24|32].
    peerIdleTimeout Number
    Peer timeout, default is 5000, unit ms, range is [1000, 10000].
    peerLatency Number
    Peer delay, the default is 0, the unit is ms, and the range is [0, 3000].
    recvLatency Number
    Receiving delay, default is 120, unit ms, range is [0, 3000].
    sourceAddresses List<Property Map>
    SRT peer address, required when Mode is CALLER, and only 1 set can be filled in.
    streamId 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

    Ip string
    Peer IP.
    Port double
    Peer port.
    Ip string
    Peer IP.
    Port float64
    Peer port.
    ip String
    Peer IP.
    port Double
    Peer port.
    ip string
    Peer IP.
    port number
    Peer port.
    ip str
    Peer IP.
    port float
    Peer port.
    ip String
    Peer IP.
    port Number
    Peer port.

    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.
    tencentcloud logo
    tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack