Alibaba Cloud v3.87.0 published on Saturday, Oct 18, 2025 by Pulumi
alicloud.videosurveillance.getSystemGroups
This data source provides the Video Surveillance System Groups of the current Alibaba Cloud user.
NOTE: Available in v1.135.0+.
Example Usage
Basic Usage
import * as pulumi from "@pulumi/pulumi";
import * as alicloud from "@pulumi/alicloud";
const defaultSystemGroup = new alicloud.videosurveillance.SystemGroup("default", {
groupName: "groupname",
inProtocol: "rtmp",
outProtocol: "flv",
playDomain: "your_plan_domain",
pushDomain: "your_push_domain",
});
const _default = alicloud.videosurveillance.getSystemGroupsOutput({
ids: [defaultSystemGroup.id],
});
export const vsGroup = _default.apply(_default => _default.ids?.[0]);
import pulumi
import pulumi_alicloud as alicloud
default_system_group = alicloud.videosurveillance.SystemGroup("default",
group_name="groupname",
in_protocol="rtmp",
out_protocol="flv",
play_domain="your_plan_domain",
push_domain="your_push_domain")
default = alicloud.videosurveillance.get_system_groups_output(ids=[default_system_group.id])
pulumi.export("vsGroup", default.ids[0])
package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/videosurveillance"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
defaultSystemGroup, err := videosurveillance.NewSystemGroup(ctx, "default", &videosurveillance.SystemGroupArgs{
GroupName: pulumi.String("groupname"),
InProtocol: pulumi.String("rtmp"),
OutProtocol: pulumi.String("flv"),
PlayDomain: pulumi.String("your_plan_domain"),
PushDomain: pulumi.String("your_push_domain"),
})
if err != nil {
return err
}
_default := videosurveillance.GetSystemGroupsOutput(ctx, videosurveillance.GetSystemGroupsOutputArgs{
Ids: pulumi.StringArray{
defaultSystemGroup.ID(),
},
}, nil);
ctx.Export("vsGroup", _default.ApplyT(func(_default videosurveillance.GetSystemGroupsResult) (*string, error) {
return &default.Ids[0], nil
}).(pulumi.StringPtrOutput))
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AliCloud = Pulumi.AliCloud;
return await Deployment.RunAsync(() =>
{
var defaultSystemGroup = new AliCloud.VideoSurveillance.SystemGroup("default", new()
{
GroupName = "groupname",
InProtocol = "rtmp",
OutProtocol = "flv",
PlayDomain = "your_plan_domain",
PushDomain = "your_push_domain",
});
var @default = AliCloud.VideoSurveillance.GetSystemGroups.Invoke(new()
{
Ids = new[]
{
defaultSystemGroup.Id,
},
});
return new Dictionary<string, object?>
{
["vsGroup"] = @default.Apply(@default => @default.Apply(getSystemGroupsResult => getSystemGroupsResult.Ids[0])),
};
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.alicloud.videosurveillance.SystemGroup;
import com.pulumi.alicloud.videosurveillance.SystemGroupArgs;
import com.pulumi.alicloud.videosurveillance.VideosurveillanceFunctions;
import com.pulumi.alicloud.videosurveillance.inputs.GetSystemGroupsArgs;
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 defaultSystemGroup = new SystemGroup("defaultSystemGroup", SystemGroupArgs.builder()
.groupName("groupname")
.inProtocol("rtmp")
.outProtocol("flv")
.playDomain("your_plan_domain")
.pushDomain("your_push_domain")
.build());
final var default = VideosurveillanceFunctions.getSystemGroups(GetSystemGroupsArgs.builder()
.ids(defaultSystemGroup.id())
.build());
ctx.export("vsGroup", default_.applyValue(_default_ -> _default_.ids()[0]));
}
}
resources:
defaultSystemGroup:
type: alicloud:videosurveillance:SystemGroup
name: default
properties:
groupName: groupname
inProtocol: rtmp
outProtocol: flv
playDomain: your_plan_domain
pushDomain: your_push_domain
variables:
default:
fn::invoke:
function: alicloud:videosurveillance:getSystemGroups
arguments:
ids:
- ${defaultSystemGroup.id}
outputs:
vsGroup: ${default.ids[0]}
Using getSystemGroups
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getSystemGroups(args: GetSystemGroupsArgs, opts?: InvokeOptions): Promise<GetSystemGroupsResult>
function getSystemGroupsOutput(args: GetSystemGroupsOutputArgs, opts?: InvokeOptions): Output<GetSystemGroupsResult>def get_system_groups(ids: Optional[Sequence[str]] = None,
in_protocol: Optional[str] = None,
name: Optional[str] = None,
name_regex: Optional[str] = None,
output_file: Optional[str] = None,
status: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetSystemGroupsResult
def get_system_groups_output(ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
in_protocol: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[str]] = None,
name_regex: Optional[pulumi.Input[str]] = None,
output_file: Optional[pulumi.Input[str]] = None,
status: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetSystemGroupsResult]func GetSystemGroups(ctx *Context, args *GetSystemGroupsArgs, opts ...InvokeOption) (*GetSystemGroupsResult, error)
func GetSystemGroupsOutput(ctx *Context, args *GetSystemGroupsOutputArgs, opts ...InvokeOption) GetSystemGroupsResultOutput> Note: This function is named GetSystemGroups in the Go SDK.
public static class GetSystemGroups
{
public static Task<GetSystemGroupsResult> InvokeAsync(GetSystemGroupsArgs args, InvokeOptions? opts = null)
public static Output<GetSystemGroupsResult> Invoke(GetSystemGroupsInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetSystemGroupsResult> getSystemGroups(GetSystemGroupsArgs args, InvokeOptions options)
public static Output<GetSystemGroupsResult> getSystemGroups(GetSystemGroupsArgs args, InvokeOptions options)
fn::invoke:
function: alicloud:videosurveillance/getSystemGroups:getSystemGroups
arguments:
# arguments dictionaryThe following arguments are supported:
- Ids List<string>
- A list of Group IDs.
- In
Protocol string - The use of the access protocol support gb28181, Real Time Messaging Protocol (rtmp). Valid values:
gb28181,rtmp. - Name string
- The name.
- Name
Regex string - A regex string to filter results by Group name.
- Output
File string - File name where to save data source results (after running
pulumi preview). - Status string
- The status. Valid values:
on,off.
- Ids []string
- A list of Group IDs.
- In
Protocol string - The use of the access protocol support gb28181, Real Time Messaging Protocol (rtmp). Valid values:
gb28181,rtmp. - Name string
- The name.
- Name
Regex string - A regex string to filter results by Group name.
- Output
File string - File name where to save data source results (after running
pulumi preview). - Status string
- The status. Valid values:
on,off.
- ids List<String>
- A list of Group IDs.
- in
Protocol String - The use of the access protocol support gb28181, Real Time Messaging Protocol (rtmp). Valid values:
gb28181,rtmp. - name String
- The name.
- name
Regex String - A regex string to filter results by Group name.
- output
File String - File name where to save data source results (after running
pulumi preview). - status String
- The status. Valid values:
on,off.
- ids string[]
- A list of Group IDs.
- in
Protocol string - The use of the access protocol support gb28181, Real Time Messaging Protocol (rtmp). Valid values:
gb28181,rtmp. - name string
- The name.
- name
Regex string - A regex string to filter results by Group name.
- output
File string - File name where to save data source results (after running
pulumi preview). - status string
- The status. Valid values:
on,off.
- ids Sequence[str]
- A list of Group IDs.
- in_
protocol str - The use of the access protocol support gb28181, Real Time Messaging Protocol (rtmp). Valid values:
gb28181,rtmp. - name str
- The name.
- name_
regex str - A regex string to filter results by Group name.
- output_
file str - File name where to save data source results (after running
pulumi preview). - status str
- The status. Valid values:
on,off.
- ids List<String>
- A list of Group IDs.
- in
Protocol String - The use of the access protocol support gb28181, Real Time Messaging Protocol (rtmp). Valid values:
gb28181,rtmp. - name String
- The name.
- name
Regex String - A regex string to filter results by Group name.
- output
File String - File name where to save data source results (after running
pulumi preview). - status String
- The status. Valid values:
on,off.
getSystemGroups Result
The following output properties are available:
- Groups
List<Pulumi.
Ali Cloud. Video Surveillance. Outputs. Get System Groups Group> - Id string
- The provider-assigned unique ID for this managed resource.
- Ids List<string>
- Names List<string>
- In
Protocol string - Name string
- Name
Regex string - Output
File string - Status string
- Groups
[]Get
System Groups Group - Id string
- The provider-assigned unique ID for this managed resource.
- Ids []string
- Names []string
- In
Protocol string - Name string
- Name
Regex string - Output
File string - Status string
- groups
List<Get
System Groups Group> - id String
- The provider-assigned unique ID for this managed resource.
- ids List<String>
- names List<String>
- in
Protocol String - name String
- name
Regex String - output
File String - status String
- groups
Get
System Groups Group[] - id string
- The provider-assigned unique ID for this managed resource.
- ids string[]
- names string[]
- in
Protocol string - name string
- name
Regex string - output
File string - status string
- groups
Sequence[Get
System Groups Group] - id str
- The provider-assigned unique ID for this managed resource.
- ids Sequence[str]
- names Sequence[str]
- in_
protocol str - name str
- name_
regex str - output_
file str - status str
- groups List<Property Map>
- id String
- The provider-assigned unique ID for this managed resource.
- ids List<String>
- names List<String>
- in
Protocol String - name String
- name
Regex String - output
File String - status String
Supporting Types
GetSystemGroupsGroup
- App string
- The App Name of Group.
- Callback string
- The space within the device status update of the callback, need to start with http:// or https:// at the beginning.
- Create
Time string - The creation time of the Group.
- Description string
- The description of the Group.
- Enabled bool
- Whether to open Group.
- Gb
Id string - Space of national standard ID. NOTE: Available only in the national standard access space.
- Gb
Ip string - Space of national standard signaling server address. NOTE: Available only in the national standard access space.
- Group
Id string - The ID of Group.
- Group
Name string - The name of Group.
- Id string
- The ID of the Group.
- In
Protocol string - The use of the access protocol support
gb28181,rtmp(Real Time Messaging Protocol). - Out
Protocol string - The use of space play Protocol multi-valued separate them with commas (,). Valid values:
flv,hls,rtmp(Real Time Messaging Protocol). - Play
Domain string - The domain name of plan streaming used by the group.
- Push
Domain string - The domain name of push streaming used by the group.
- Stats
List<Pulumi.
Ali Cloud. Video Surveillance. Inputs. Get System Groups Group Stat> - The Device statistics of Group.
- App string
- The App Name of Group.
- Callback string
- The space within the device status update of the callback, need to start with http:// or https:// at the beginning.
- Create
Time string - The creation time of the Group.
- Description string
- The description of the Group.
- Enabled bool
- Whether to open Group.
- Gb
Id string - Space of national standard ID. NOTE: Available only in the national standard access space.
- Gb
Ip string - Space of national standard signaling server address. NOTE: Available only in the national standard access space.
- Group
Id string - The ID of Group.
- Group
Name string - The name of Group.
- Id string
- The ID of the Group.
- In
Protocol string - The use of the access protocol support
gb28181,rtmp(Real Time Messaging Protocol). - Out
Protocol string - The use of space play Protocol multi-valued separate them with commas (,). Valid values:
flv,hls,rtmp(Real Time Messaging Protocol). - Play
Domain string - The domain name of plan streaming used by the group.
- Push
Domain string - The domain name of push streaming used by the group.
- Stats
[]Get
System Groups Group Stat - The Device statistics of Group.
- app String
- The App Name of Group.
- callback String
- The space within the device status update of the callback, need to start with http:// or https:// at the beginning.
- create
Time String - The creation time of the Group.
- description String
- The description of the Group.
- enabled Boolean
- Whether to open Group.
- gb
Id String - Space of national standard ID. NOTE: Available only in the national standard access space.
- gb
Ip String - Space of national standard signaling server address. NOTE: Available only in the national standard access space.
- group
Id String - The ID of Group.
- group
Name String - The name of Group.
- id String
- The ID of the Group.
- in
Protocol String - The use of the access protocol support
gb28181,rtmp(Real Time Messaging Protocol). - out
Protocol String - The use of space play Protocol multi-valued separate them with commas (,). Valid values:
flv,hls,rtmp(Real Time Messaging Protocol). - play
Domain String - The domain name of plan streaming used by the group.
- push
Domain String - The domain name of push streaming used by the group.
- stats
List<Get
System Groups Group Stat> - The Device statistics of Group.
- app string
- The App Name of Group.
- callback string
- The space within the device status update of the callback, need to start with http:// or https:// at the beginning.
- create
Time string - The creation time of the Group.
- description string
- The description of the Group.
- enabled boolean
- Whether to open Group.
- gb
Id string - Space of national standard ID. NOTE: Available only in the national standard access space.
- gb
Ip string - Space of national standard signaling server address. NOTE: Available only in the national standard access space.
- group
Id string - The ID of Group.
- group
Name string - The name of Group.
- id string
- The ID of the Group.
- in
Protocol string - The use of the access protocol support
gb28181,rtmp(Real Time Messaging Protocol). - out
Protocol string - The use of space play Protocol multi-valued separate them with commas (,). Valid values:
flv,hls,rtmp(Real Time Messaging Protocol). - play
Domain string - The domain name of plan streaming used by the group.
- push
Domain string - The domain name of push streaming used by the group.
- stats
Get
System Groups Group Stat[] - The Device statistics of Group.
- app str
- The App Name of Group.
- callback str
- The space within the device status update of the callback, need to start with http:// or https:// at the beginning.
- create_
time str - The creation time of the Group.
- description str
- The description of the Group.
- enabled bool
- Whether to open Group.
- gb_
id str - Space of national standard ID. NOTE: Available only in the national standard access space.
- gb_
ip str - Space of national standard signaling server address. NOTE: Available only in the national standard access space.
- group_
id str - The ID of Group.
- group_
name str - The name of Group.
- id str
- The ID of the Group.
- in_
protocol str - The use of the access protocol support
gb28181,rtmp(Real Time Messaging Protocol). - out_
protocol str - The use of space play Protocol multi-valued separate them with commas (,). Valid values:
flv,hls,rtmp(Real Time Messaging Protocol). - play_
domain str - The domain name of plan streaming used by the group.
- push_
domain str - The domain name of push streaming used by the group.
- stats
Sequence[Get
System Groups Group Stat] - The Device statistics of Group.
- app String
- The App Name of Group.
- callback String
- The space within the device status update of the callback, need to start with http:// or https:// at the beginning.
- create
Time String - The creation time of the Group.
- description String
- The description of the Group.
- enabled Boolean
- Whether to open Group.
- gb
Id String - Space of national standard ID. NOTE: Available only in the national standard access space.
- gb
Ip String - Space of national standard signaling server address. NOTE: Available only in the national standard access space.
- group
Id String - The ID of Group.
- group
Name String - The name of Group.
- id String
- The ID of the Group.
- in
Protocol String - The use of the access protocol support
gb28181,rtmp(Real Time Messaging Protocol). - out
Protocol String - The use of space play Protocol multi-valued separate them with commas (,). Valid values:
flv,hls,rtmp(Real Time Messaging Protocol). - play
Domain String - The domain name of plan streaming used by the group.
- push
Domain String - The domain name of push streaming used by the group.
- stats List<Property Map>
- The Device statistics of Group.
GetSystemGroupsGroupStat
- Device
Num string - The total number of devices in the group.
- Ied
Num string - The total number of smart devices in the group.
- Ipc
Num string - The total number of cameras in the group.
- Platform
Num string - The total number of platforms in the group.
- Device
Num string - The total number of devices in the group.
- Ied
Num string - The total number of smart devices in the group.
- Ipc
Num string - The total number of cameras in the group.
- Platform
Num string - The total number of platforms in the group.
- device
Num String - The total number of devices in the group.
- ied
Num String - The total number of smart devices in the group.
- ipc
Num String - The total number of cameras in the group.
- platform
Num String - The total number of platforms in the group.
- device
Num string - The total number of devices in the group.
- ied
Num string - The total number of smart devices in the group.
- ipc
Num string - The total number of cameras in the group.
- platform
Num string - The total number of platforms in the group.
- device_
num str - The total number of devices in the group.
- ied_
num str - The total number of smart devices in the group.
- ipc_
num str - The total number of cameras in the group.
- platform_
num str - The total number of platforms in the group.
- device
Num String - The total number of devices in the group.
- ied
Num String - The total number of smart devices in the group.
- ipc
Num String - The total number of cameras in the group.
- platform
Num String - The total number of platforms in the group.
Package Details
- Repository
- Alibaba Cloud pulumi/pulumi-alicloud
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
alicloudTerraform Provider.
