tencentcloud.CssStartStreamMonitor
Explore with Pulumi AI
Provides a resource to create a css start_stream_monitor
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const startStreamMonitor = new tencentcloud.CssStartStreamMonitor("startStreamMonitor", {
audibleInputIndexLists: [1],
monitorId: "3d5738dd-1ca2-4601-a6e9-004c5ec75c0b",
});
import pulumi
import pulumi_tencentcloud as tencentcloud
start_stream_monitor = tencentcloud.CssStartStreamMonitor("startStreamMonitor",
audible_input_index_lists=[1],
monitor_id="3d5738dd-1ca2-4601-a6e9-004c5ec75c0b")
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/tencentcloud/tencentcloud"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := tencentcloud.NewCssStartStreamMonitor(ctx, "startStreamMonitor", &tencentcloud.CssStartStreamMonitorArgs{
AudibleInputIndexLists: pulumi.Float64Array{
pulumi.Float64(1),
},
MonitorId: pulumi.String("3d5738dd-1ca2-4601-a6e9-004c5ec75c0b"),
})
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 startStreamMonitor = new Tencentcloud.CssStartStreamMonitor("startStreamMonitor", new()
{
AudibleInputIndexLists = new[]
{
1,
},
MonitorId = "3d5738dd-1ca2-4601-a6e9-004c5ec75c0b",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.tencentcloud.CssStartStreamMonitor;
import com.pulumi.tencentcloud.CssStartStreamMonitorArgs;
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 startStreamMonitor = new CssStartStreamMonitor("startStreamMonitor", CssStartStreamMonitorArgs.builder()
.audibleInputIndexLists(1)
.monitorId("3d5738dd-1ca2-4601-a6e9-004c5ec75c0b")
.build());
}
}
resources:
startStreamMonitor:
type: tencentcloud:CssStartStreamMonitor
properties:
audibleInputIndexLists:
- 1
monitorId: 3d5738dd-1ca2-4601-a6e9-004c5ec75c0b
Create CssStartStreamMonitor Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new CssStartStreamMonitor(name: string, args: CssStartStreamMonitorArgs, opts?: CustomResourceOptions);
@overload
def CssStartStreamMonitor(resource_name: str,
args: CssStartStreamMonitorArgs,
opts: Optional[ResourceOptions] = None)
@overload
def CssStartStreamMonitor(resource_name: str,
opts: Optional[ResourceOptions] = None,
monitor_id: Optional[str] = None,
audible_input_index_lists: Optional[Sequence[float]] = None,
css_start_stream_monitor_id: Optional[str] = None)
func NewCssStartStreamMonitor(ctx *Context, name string, args CssStartStreamMonitorArgs, opts ...ResourceOption) (*CssStartStreamMonitor, error)
public CssStartStreamMonitor(string name, CssStartStreamMonitorArgs args, CustomResourceOptions? opts = null)
public CssStartStreamMonitor(String name, CssStartStreamMonitorArgs args)
public CssStartStreamMonitor(String name, CssStartStreamMonitorArgs args, CustomResourceOptions options)
type: tencentcloud:CssStartStreamMonitor
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 CssStartStreamMonitorArgs
- 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 CssStartStreamMonitorArgs
- 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 CssStartStreamMonitorArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args CssStartStreamMonitorArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args CssStartStreamMonitorArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
CssStartStreamMonitor 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 CssStartStreamMonitor resource accepts the following input properties:
- Monitor
Id string - Monitor id.
- Audible
Input List<double>Index Lists - The input index for monitoring the screen audio, supports multiple input audio sources.The valid range for InputIndex is that it must already exist.If left blank, there will be no audio output by default.
- Css
Start stringStream Monitor Id - ID of the resource.
- Monitor
Id string - Monitor id.
- Audible
Input []float64Index Lists - The input index for monitoring the screen audio, supports multiple input audio sources.The valid range for InputIndex is that it must already exist.If left blank, there will be no audio output by default.
- Css
Start stringStream Monitor Id - ID of the resource.
- monitor
Id String - Monitor id.
- audible
Input List<Double>Index Lists - The input index for monitoring the screen audio, supports multiple input audio sources.The valid range for InputIndex is that it must already exist.If left blank, there will be no audio output by default.
- css
Start StringStream Monitor Id - ID of the resource.
- monitor
Id string - Monitor id.
- audible
Input number[]Index Lists - The input index for monitoring the screen audio, supports multiple input audio sources.The valid range for InputIndex is that it must already exist.If left blank, there will be no audio output by default.
- css
Start stringStream Monitor Id - ID of the resource.
- monitor_
id str - Monitor id.
- audible_
input_ Sequence[float]index_ lists - The input index for monitoring the screen audio, supports multiple input audio sources.The valid range for InputIndex is that it must already exist.If left blank, there will be no audio output by default.
- css_
start_ strstream_ monitor_ id - ID of the resource.
- monitor
Id String - Monitor id.
- audible
Input List<Number>Index Lists - The input index for monitoring the screen audio, supports multiple input audio sources.The valid range for InputIndex is that it must already exist.If left blank, there will be no audio output by default.
- css
Start StringStream Monitor Id - ID of the resource.
Outputs
All input properties are implicitly available as output properties. Additionally, the CssStartStreamMonitor 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 CssStartStreamMonitor Resource
Get an existing CssStartStreamMonitor 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?: CssStartStreamMonitorState, opts?: CustomResourceOptions): CssStartStreamMonitor
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
audible_input_index_lists: Optional[Sequence[float]] = None,
css_start_stream_monitor_id: Optional[str] = None,
monitor_id: Optional[str] = None) -> CssStartStreamMonitor
func GetCssStartStreamMonitor(ctx *Context, name string, id IDInput, state *CssStartStreamMonitorState, opts ...ResourceOption) (*CssStartStreamMonitor, error)
public static CssStartStreamMonitor Get(string name, Input<string> id, CssStartStreamMonitorState? state, CustomResourceOptions? opts = null)
public static CssStartStreamMonitor get(String name, Output<String> id, CssStartStreamMonitorState state, CustomResourceOptions options)
resources: _: type: tencentcloud:CssStartStreamMonitor 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.
- Audible
Input List<double>Index Lists - The input index for monitoring the screen audio, supports multiple input audio sources.The valid range for InputIndex is that it must already exist.If left blank, there will be no audio output by default.
- Css
Start stringStream Monitor Id - ID of the resource.
- Monitor
Id string - Monitor id.
- Audible
Input []float64Index Lists - The input index for monitoring the screen audio, supports multiple input audio sources.The valid range for InputIndex is that it must already exist.If left blank, there will be no audio output by default.
- Css
Start stringStream Monitor Id - ID of the resource.
- Monitor
Id string - Monitor id.
- audible
Input List<Double>Index Lists - The input index for monitoring the screen audio, supports multiple input audio sources.The valid range for InputIndex is that it must already exist.If left blank, there will be no audio output by default.
- css
Start StringStream Monitor Id - ID of the resource.
- monitor
Id String - Monitor id.
- audible
Input number[]Index Lists - The input index for monitoring the screen audio, supports multiple input audio sources.The valid range for InputIndex is that it must already exist.If left blank, there will be no audio output by default.
- css
Start stringStream Monitor Id - ID of the resource.
- monitor
Id string - Monitor id.
- audible_
input_ Sequence[float]index_ lists - The input index for monitoring the screen audio, supports multiple input audio sources.The valid range for InputIndex is that it must already exist.If left blank, there will be no audio output by default.
- css_
start_ strstream_ monitor_ id - ID of the resource.
- monitor_
id str - Monitor id.
- audible
Input List<Number>Index Lists - The input index for monitoring the screen audio, supports multiple input audio sources.The valid range for InputIndex is that it must already exist.If left blank, there will be no audio output by default.
- css
Start StringStream Monitor Id - ID of the resource.
- monitor
Id String - Monitor id.
Import
css start_stream_monitor can be imported using the id, e.g.
$ pulumi import tencentcloud:index/cssStartStreamMonitor:CssStartStreamMonitor start_stream_monitor start_stream_monitor_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.