videosurveillance

package
v3.54.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 24, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GetServiceArgs

type GetServiceArgs struct {
	// Setting the value to `On` to enable the service. If has been enabled, return the result. Valid values: `On` or `Off`. Default to `Off`.
	//
	// > **NOTE:** Setting `enable = "On"` to open the Video Surveillance (VS) service that means you have read and agreed the [VS Terms of Service](https://help.aliyun.com/document_detail/109213.html). The service can not closed once it is opened.
	Enable *string `pulumi:"enable"`
}

A collection of arguments for invoking getService.

type GetServiceOutputArgs added in v3.9.0

type GetServiceOutputArgs struct {
	// Setting the value to `On` to enable the service. If has been enabled, return the result. Valid values: `On` or `Off`. Default to `Off`.
	//
	// > **NOTE:** Setting `enable = "On"` to open the Video Surveillance (VS) service that means you have read and agreed the [VS Terms of Service](https://help.aliyun.com/document_detail/109213.html). The service can not closed once it is opened.
	Enable pulumi.StringPtrInput `pulumi:"enable"`
}

A collection of arguments for invoking getService.

func (GetServiceOutputArgs) ElementType added in v3.9.0

func (GetServiceOutputArgs) ElementType() reflect.Type

type GetServiceResult

type GetServiceResult struct {
	Enable *string `pulumi:"enable"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// The current service enable status.
	Status string `pulumi:"status"`
}

A collection of values returned by getService.

func GetService

func GetService(ctx *pulumi.Context, args *GetServiceArgs, opts ...pulumi.InvokeOption) (*GetServiceResult, error)

Using this data source can open Video Surveillance System service automatically. If the service has been opened, it will return opened.

For information about Video Surveillance System and how to use it, see [What is VS](https://help.aliyun.com/product/108765.html).

> **NOTE:** Available in v1.116.0+

> **NOTE:** The Video Surveillance System service is not support in the international site.

## Example Usage

```go 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 {
		_, err := videosurveillance.GetService(ctx, &videosurveillance.GetServiceArgs{
			Enable: pulumi.StringRef("On"),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetServiceResultOutput added in v3.9.0

type GetServiceResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getService.

func GetServiceOutput added in v3.9.0

func GetServiceOutput(ctx *pulumi.Context, args GetServiceOutputArgs, opts ...pulumi.InvokeOption) GetServiceResultOutput

func (GetServiceResultOutput) ElementType added in v3.9.0

func (GetServiceResultOutput) ElementType() reflect.Type

func (GetServiceResultOutput) Enable added in v3.9.0

func (GetServiceResultOutput) Id added in v3.9.0

The provider-assigned unique ID for this managed resource.

func (GetServiceResultOutput) Status added in v3.9.0

The current service enable status.

func (GetServiceResultOutput) ToGetServiceResultOutput added in v3.9.0

func (o GetServiceResultOutput) ToGetServiceResultOutput() GetServiceResultOutput

func (GetServiceResultOutput) ToGetServiceResultOutputWithContext added in v3.9.0

func (o GetServiceResultOutput) ToGetServiceResultOutputWithContext(ctx context.Context) GetServiceResultOutput

type GetSystemGroupsArgs added in v3.8.0

type GetSystemGroupsArgs struct {
	// A list of Group IDs.
	Ids []string `pulumi:"ids"`
	// The use of the access protocol support `gb28181`,`rtmp`(Real Time Messaging Protocol).
	InProtocol *string `pulumi:"inProtocol"`
	// The name.
	Name *string `pulumi:"name"`
	// A regex string to filter results by Group name.
	NameRegex *string `pulumi:"nameRegex"`
	// File name where to save data source results (after running `pulumi preview`).
	OutputFile *string `pulumi:"outputFile"`
	// The status. Valid values: `on`,`off`.
	Status *string `pulumi:"status"`
}

A collection of arguments for invoking getSystemGroups.

type GetSystemGroupsGroup added in v3.8.0

type GetSystemGroupsGroup struct {
	// The App Name of Group.
	App string `pulumi:"app"`
	// The space within the device status update of the callback, need to start with http:// or https:// at the beginning.
	Callback string `pulumi:"callback"`
	// The creation time of the Group.
	CreateTime string `pulumi:"createTime"`
	// The description of the Group.
	Description string `pulumi:"description"`
	// Whether to open Group.
	Enabled bool `pulumi:"enabled"`
	// Space of national standard ID. **NOTE:** Available only in the national standard access space.
	GbId string `pulumi:"gbId"`
	// Space of national standard signaling server address. **NOTE:** Available only in the national standard access space.
	GbIp string `pulumi:"gbIp"`
	// The ID of Group.
	GroupId string `pulumi:"groupId"`
	// The name of Group.
	GroupName string `pulumi:"groupName"`
	// The ID of the Group.
	Id string `pulumi:"id"`
	// The use of the access protocol support `gb28181`,`rtmp`(Real Time Messaging Protocol).
	InProtocol string `pulumi:"inProtocol"`
	// The use of space play Protocol multi-valued separate them with commas (,). Valid values: `flv`,`hls`, `rtmp`(Real Time Messaging Protocol).
	OutProtocol string `pulumi:"outProtocol"`
	// The domain name of plan streaming used by the group.
	PlayDomain string `pulumi:"playDomain"`
	// The domain name of push streaming used by the group.
	PushDomain string `pulumi:"pushDomain"`
	// The Device statistics of Group.
	Stats []GetSystemGroupsGroupStat `pulumi:"stats"`
}

type GetSystemGroupsGroupArgs added in v3.8.0

type GetSystemGroupsGroupArgs struct {
	// The App Name of Group.
	App pulumi.StringInput `pulumi:"app"`
	// The space within the device status update of the callback, need to start with http:// or https:// at the beginning.
	Callback pulumi.StringInput `pulumi:"callback"`
	// The creation time of the Group.
	CreateTime pulumi.StringInput `pulumi:"createTime"`
	// The description of the Group.
	Description pulumi.StringInput `pulumi:"description"`
	// Whether to open Group.
	Enabled pulumi.BoolInput `pulumi:"enabled"`
	// Space of national standard ID. **NOTE:** Available only in the national standard access space.
	GbId pulumi.StringInput `pulumi:"gbId"`
	// Space of national standard signaling server address. **NOTE:** Available only in the national standard access space.
	GbIp pulumi.StringInput `pulumi:"gbIp"`
	// The ID of Group.
	GroupId pulumi.StringInput `pulumi:"groupId"`
	// The name of Group.
	GroupName pulumi.StringInput `pulumi:"groupName"`
	// The ID of the Group.
	Id pulumi.StringInput `pulumi:"id"`
	// The use of the access protocol support `gb28181`,`rtmp`(Real Time Messaging Protocol).
	InProtocol pulumi.StringInput `pulumi:"inProtocol"`
	// The use of space play Protocol multi-valued separate them with commas (,). Valid values: `flv`,`hls`, `rtmp`(Real Time Messaging Protocol).
	OutProtocol pulumi.StringInput `pulumi:"outProtocol"`
	// The domain name of plan streaming used by the group.
	PlayDomain pulumi.StringInput `pulumi:"playDomain"`
	// The domain name of push streaming used by the group.
	PushDomain pulumi.StringInput `pulumi:"pushDomain"`
	// The Device statistics of Group.
	Stats GetSystemGroupsGroupStatArrayInput `pulumi:"stats"`
}

func (GetSystemGroupsGroupArgs) ElementType added in v3.8.0

func (GetSystemGroupsGroupArgs) ElementType() reflect.Type

func (GetSystemGroupsGroupArgs) ToGetSystemGroupsGroupOutput added in v3.8.0

func (i GetSystemGroupsGroupArgs) ToGetSystemGroupsGroupOutput() GetSystemGroupsGroupOutput

func (GetSystemGroupsGroupArgs) ToGetSystemGroupsGroupOutputWithContext added in v3.8.0

func (i GetSystemGroupsGroupArgs) ToGetSystemGroupsGroupOutputWithContext(ctx context.Context) GetSystemGroupsGroupOutput

type GetSystemGroupsGroupArray added in v3.8.0

type GetSystemGroupsGroupArray []GetSystemGroupsGroupInput

func (GetSystemGroupsGroupArray) ElementType added in v3.8.0

func (GetSystemGroupsGroupArray) ElementType() reflect.Type

func (GetSystemGroupsGroupArray) ToGetSystemGroupsGroupArrayOutput added in v3.8.0

func (i GetSystemGroupsGroupArray) ToGetSystemGroupsGroupArrayOutput() GetSystemGroupsGroupArrayOutput

func (GetSystemGroupsGroupArray) ToGetSystemGroupsGroupArrayOutputWithContext added in v3.8.0

func (i GetSystemGroupsGroupArray) ToGetSystemGroupsGroupArrayOutputWithContext(ctx context.Context) GetSystemGroupsGroupArrayOutput

type GetSystemGroupsGroupArrayInput added in v3.8.0

type GetSystemGroupsGroupArrayInput interface {
	pulumi.Input

	ToGetSystemGroupsGroupArrayOutput() GetSystemGroupsGroupArrayOutput
	ToGetSystemGroupsGroupArrayOutputWithContext(context.Context) GetSystemGroupsGroupArrayOutput
}

GetSystemGroupsGroupArrayInput is an input type that accepts GetSystemGroupsGroupArray and GetSystemGroupsGroupArrayOutput values. You can construct a concrete instance of `GetSystemGroupsGroupArrayInput` via:

GetSystemGroupsGroupArray{ GetSystemGroupsGroupArgs{...} }

type GetSystemGroupsGroupArrayOutput added in v3.8.0

type GetSystemGroupsGroupArrayOutput struct{ *pulumi.OutputState }

func (GetSystemGroupsGroupArrayOutput) ElementType added in v3.8.0

func (GetSystemGroupsGroupArrayOutput) Index added in v3.8.0

func (GetSystemGroupsGroupArrayOutput) ToGetSystemGroupsGroupArrayOutput added in v3.8.0

func (o GetSystemGroupsGroupArrayOutput) ToGetSystemGroupsGroupArrayOutput() GetSystemGroupsGroupArrayOutput

func (GetSystemGroupsGroupArrayOutput) ToGetSystemGroupsGroupArrayOutputWithContext added in v3.8.0

func (o GetSystemGroupsGroupArrayOutput) ToGetSystemGroupsGroupArrayOutputWithContext(ctx context.Context) GetSystemGroupsGroupArrayOutput

type GetSystemGroupsGroupInput added in v3.8.0

type GetSystemGroupsGroupInput interface {
	pulumi.Input

	ToGetSystemGroupsGroupOutput() GetSystemGroupsGroupOutput
	ToGetSystemGroupsGroupOutputWithContext(context.Context) GetSystemGroupsGroupOutput
}

GetSystemGroupsGroupInput is an input type that accepts GetSystemGroupsGroupArgs and GetSystemGroupsGroupOutput values. You can construct a concrete instance of `GetSystemGroupsGroupInput` via:

GetSystemGroupsGroupArgs{...}

type GetSystemGroupsGroupOutput added in v3.8.0

type GetSystemGroupsGroupOutput struct{ *pulumi.OutputState }

func (GetSystemGroupsGroupOutput) App added in v3.8.0

The App Name of Group.

func (GetSystemGroupsGroupOutput) Callback added in v3.8.0

The space within the device status update of the callback, need to start with http:// or https:// at the beginning.

func (GetSystemGroupsGroupOutput) CreateTime added in v3.8.0

The creation time of the Group.

func (GetSystemGroupsGroupOutput) Description added in v3.8.0

The description of the Group.

func (GetSystemGroupsGroupOutput) ElementType added in v3.8.0

func (GetSystemGroupsGroupOutput) ElementType() reflect.Type

func (GetSystemGroupsGroupOutput) Enabled added in v3.8.0

Whether to open Group.

func (GetSystemGroupsGroupOutput) GbId added in v3.8.0

Space of national standard ID. **NOTE:** Available only in the national standard access space.

func (GetSystemGroupsGroupOutput) GbIp added in v3.8.0

Space of national standard signaling server address. **NOTE:** Available only in the national standard access space.

func (GetSystemGroupsGroupOutput) GroupId added in v3.8.0

The ID of Group.

func (GetSystemGroupsGroupOutput) GroupName added in v3.8.0

The name of Group.

func (GetSystemGroupsGroupOutput) Id added in v3.8.0

The ID of the Group.

func (GetSystemGroupsGroupOutput) InProtocol added in v3.8.0

The use of the access protocol support `gb28181`,`rtmp`(Real Time Messaging Protocol).

func (GetSystemGroupsGroupOutput) OutProtocol added in v3.8.0

The use of space play Protocol multi-valued separate them with commas (,). Valid values: `flv`,`hls`, `rtmp`(Real Time Messaging Protocol).

func (GetSystemGroupsGroupOutput) PlayDomain added in v3.8.0

The domain name of plan streaming used by the group.

func (GetSystemGroupsGroupOutput) PushDomain added in v3.8.0

The domain name of push streaming used by the group.

func (GetSystemGroupsGroupOutput) Stats added in v3.8.0

The Device statistics of Group.

func (GetSystemGroupsGroupOutput) ToGetSystemGroupsGroupOutput added in v3.8.0

func (o GetSystemGroupsGroupOutput) ToGetSystemGroupsGroupOutput() GetSystemGroupsGroupOutput

func (GetSystemGroupsGroupOutput) ToGetSystemGroupsGroupOutputWithContext added in v3.8.0

func (o GetSystemGroupsGroupOutput) ToGetSystemGroupsGroupOutputWithContext(ctx context.Context) GetSystemGroupsGroupOutput

type GetSystemGroupsGroupStat added in v3.8.0

type GetSystemGroupsGroupStat struct {
	// The total number of devices in the group.
	DeviceNum string `pulumi:"deviceNum"`
	// The total number of smart devices in the group.
	IedNum string `pulumi:"iedNum"`
	// The total number of cameras in the group.
	IpcNum string `pulumi:"ipcNum"`
	// The total number of platforms in the group.
	PlatformNum string `pulumi:"platformNum"`
}

type GetSystemGroupsGroupStatArgs added in v3.8.0

type GetSystemGroupsGroupStatArgs struct {
	// The total number of devices in the group.
	DeviceNum pulumi.StringInput `pulumi:"deviceNum"`
	// The total number of smart devices in the group.
	IedNum pulumi.StringInput `pulumi:"iedNum"`
	// The total number of cameras in the group.
	IpcNum pulumi.StringInput `pulumi:"ipcNum"`
	// The total number of platforms in the group.
	PlatformNum pulumi.StringInput `pulumi:"platformNum"`
}

func (GetSystemGroupsGroupStatArgs) ElementType added in v3.8.0

func (GetSystemGroupsGroupStatArgs) ToGetSystemGroupsGroupStatOutput added in v3.8.0

func (i GetSystemGroupsGroupStatArgs) ToGetSystemGroupsGroupStatOutput() GetSystemGroupsGroupStatOutput

func (GetSystemGroupsGroupStatArgs) ToGetSystemGroupsGroupStatOutputWithContext added in v3.8.0

func (i GetSystemGroupsGroupStatArgs) ToGetSystemGroupsGroupStatOutputWithContext(ctx context.Context) GetSystemGroupsGroupStatOutput

type GetSystemGroupsGroupStatArray added in v3.8.0

type GetSystemGroupsGroupStatArray []GetSystemGroupsGroupStatInput

func (GetSystemGroupsGroupStatArray) ElementType added in v3.8.0

func (GetSystemGroupsGroupStatArray) ToGetSystemGroupsGroupStatArrayOutput added in v3.8.0

func (i GetSystemGroupsGroupStatArray) ToGetSystemGroupsGroupStatArrayOutput() GetSystemGroupsGroupStatArrayOutput

func (GetSystemGroupsGroupStatArray) ToGetSystemGroupsGroupStatArrayOutputWithContext added in v3.8.0

func (i GetSystemGroupsGroupStatArray) ToGetSystemGroupsGroupStatArrayOutputWithContext(ctx context.Context) GetSystemGroupsGroupStatArrayOutput

type GetSystemGroupsGroupStatArrayInput added in v3.8.0

type GetSystemGroupsGroupStatArrayInput interface {
	pulumi.Input

	ToGetSystemGroupsGroupStatArrayOutput() GetSystemGroupsGroupStatArrayOutput
	ToGetSystemGroupsGroupStatArrayOutputWithContext(context.Context) GetSystemGroupsGroupStatArrayOutput
}

GetSystemGroupsGroupStatArrayInput is an input type that accepts GetSystemGroupsGroupStatArray and GetSystemGroupsGroupStatArrayOutput values. You can construct a concrete instance of `GetSystemGroupsGroupStatArrayInput` via:

GetSystemGroupsGroupStatArray{ GetSystemGroupsGroupStatArgs{...} }

type GetSystemGroupsGroupStatArrayOutput added in v3.8.0

type GetSystemGroupsGroupStatArrayOutput struct{ *pulumi.OutputState }

func (GetSystemGroupsGroupStatArrayOutput) ElementType added in v3.8.0

func (GetSystemGroupsGroupStatArrayOutput) Index added in v3.8.0

func (GetSystemGroupsGroupStatArrayOutput) ToGetSystemGroupsGroupStatArrayOutput added in v3.8.0

func (o GetSystemGroupsGroupStatArrayOutput) ToGetSystemGroupsGroupStatArrayOutput() GetSystemGroupsGroupStatArrayOutput

func (GetSystemGroupsGroupStatArrayOutput) ToGetSystemGroupsGroupStatArrayOutputWithContext added in v3.8.0

func (o GetSystemGroupsGroupStatArrayOutput) ToGetSystemGroupsGroupStatArrayOutputWithContext(ctx context.Context) GetSystemGroupsGroupStatArrayOutput

type GetSystemGroupsGroupStatInput added in v3.8.0

type GetSystemGroupsGroupStatInput interface {
	pulumi.Input

	ToGetSystemGroupsGroupStatOutput() GetSystemGroupsGroupStatOutput
	ToGetSystemGroupsGroupStatOutputWithContext(context.Context) GetSystemGroupsGroupStatOutput
}

GetSystemGroupsGroupStatInput is an input type that accepts GetSystemGroupsGroupStatArgs and GetSystemGroupsGroupStatOutput values. You can construct a concrete instance of `GetSystemGroupsGroupStatInput` via:

GetSystemGroupsGroupStatArgs{...}

type GetSystemGroupsGroupStatOutput added in v3.8.0

type GetSystemGroupsGroupStatOutput struct{ *pulumi.OutputState }

func (GetSystemGroupsGroupStatOutput) DeviceNum added in v3.8.0

The total number of devices in the group.

func (GetSystemGroupsGroupStatOutput) ElementType added in v3.8.0

func (GetSystemGroupsGroupStatOutput) IedNum added in v3.8.0

The total number of smart devices in the group.

func (GetSystemGroupsGroupStatOutput) IpcNum added in v3.8.0

The total number of cameras in the group.

func (GetSystemGroupsGroupStatOutput) PlatformNum added in v3.8.0

The total number of platforms in the group.

func (GetSystemGroupsGroupStatOutput) ToGetSystemGroupsGroupStatOutput added in v3.8.0

func (o GetSystemGroupsGroupStatOutput) ToGetSystemGroupsGroupStatOutput() GetSystemGroupsGroupStatOutput

func (GetSystemGroupsGroupStatOutput) ToGetSystemGroupsGroupStatOutputWithContext added in v3.8.0

func (o GetSystemGroupsGroupStatOutput) ToGetSystemGroupsGroupStatOutputWithContext(ctx context.Context) GetSystemGroupsGroupStatOutput

type GetSystemGroupsOutputArgs added in v3.9.0

type GetSystemGroupsOutputArgs struct {
	// A list of Group IDs.
	Ids pulumi.StringArrayInput `pulumi:"ids"`
	// The use of the access protocol support `gb28181`,`rtmp`(Real Time Messaging Protocol).
	InProtocol pulumi.StringPtrInput `pulumi:"inProtocol"`
	// The name.
	Name pulumi.StringPtrInput `pulumi:"name"`
	// A regex string to filter results by Group name.
	NameRegex pulumi.StringPtrInput `pulumi:"nameRegex"`
	// File name where to save data source results (after running `pulumi preview`).
	OutputFile pulumi.StringPtrInput `pulumi:"outputFile"`
	// The status. Valid values: `on`,`off`.
	Status pulumi.StringPtrInput `pulumi:"status"`
}

A collection of arguments for invoking getSystemGroups.

func (GetSystemGroupsOutputArgs) ElementType added in v3.9.0

func (GetSystemGroupsOutputArgs) ElementType() reflect.Type

type GetSystemGroupsResult added in v3.8.0

type GetSystemGroupsResult struct {
	Groups []GetSystemGroupsGroup `pulumi:"groups"`
	// The provider-assigned unique ID for this managed resource.
	Id         string   `pulumi:"id"`
	Ids        []string `pulumi:"ids"`
	InProtocol *string  `pulumi:"inProtocol"`
	Name       *string  `pulumi:"name"`
	NameRegex  *string  `pulumi:"nameRegex"`
	Names      []string `pulumi:"names"`
	OutputFile *string  `pulumi:"outputFile"`
	Status     *string  `pulumi:"status"`
}

A collection of values returned by getSystemGroups.

func GetSystemGroups added in v3.8.0

func GetSystemGroups(ctx *pulumi.Context, args *GetSystemGroupsArgs, opts ...pulumi.InvokeOption) (*GetSystemGroupsResult, error)

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

```go 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 }) } ```

type GetSystemGroupsResultOutput added in v3.9.0

type GetSystemGroupsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getSystemGroups.

func GetSystemGroupsOutput added in v3.9.0

func (GetSystemGroupsResultOutput) ElementType added in v3.9.0

func (GetSystemGroupsResultOutput) Groups added in v3.9.0

func (GetSystemGroupsResultOutput) Id added in v3.9.0

The provider-assigned unique ID for this managed resource.

func (GetSystemGroupsResultOutput) Ids added in v3.9.0

func (GetSystemGroupsResultOutput) InProtocol added in v3.9.0

func (GetSystemGroupsResultOutput) Name added in v3.9.0

func (GetSystemGroupsResultOutput) NameRegex added in v3.9.0

func (GetSystemGroupsResultOutput) Names added in v3.9.0

func (GetSystemGroupsResultOutput) OutputFile added in v3.9.0

func (GetSystemGroupsResultOutput) Status added in v3.9.0

func (GetSystemGroupsResultOutput) ToGetSystemGroupsResultOutput added in v3.9.0

func (o GetSystemGroupsResultOutput) ToGetSystemGroupsResultOutput() GetSystemGroupsResultOutput

func (GetSystemGroupsResultOutput) ToGetSystemGroupsResultOutputWithContext added in v3.9.0

func (o GetSystemGroupsResultOutput) ToGetSystemGroupsResultOutputWithContext(ctx context.Context) GetSystemGroupsResultOutput

type SystemGroup added in v3.8.0

type SystemGroup struct {
	pulumi.CustomResourceState

	// The space within the device status update of the callback, need to start with http:// or https:// at the beginning.
	Callback pulumi.StringPtrOutput `pulumi:"callback"`
	// The capture image.
	CaptureImage pulumi.IntOutput `pulumi:"captureImage"`
	// The capture interval.
	CaptureInterval pulumi.IntOutput `pulumi:"captureInterval"`
	// The capture oss bucket.
	CaptureOssBucket pulumi.StringOutput `pulumi:"captureOssBucket"`
	// The capture oss path.
	CaptureOssPath pulumi.StringOutput `pulumi:"captureOssPath"`
	// The capture video.
	CaptureVideo pulumi.IntOutput `pulumi:"captureVideo"`
	// The description of Group.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// Whether to open Group.
	Enabled pulumi.BoolOutput `pulumi:"enabled"`
	// The Group Name.
	GroupName pulumi.StringOutput `pulumi:"groupName"`
	// The use of the access protocol support gb28181, Real Time Messaging Protocol (rtmp). Valid values: `gb28181`, `rtmp`.
	InProtocol pulumi.StringOutput `pulumi:"inProtocol"`
	// Whether to enable on-demand streaming. Default value:`false`.
	LazyPull pulumi.BoolOutput `pulumi:"lazyPull"`
	// The playback protocol used by the space, multiple values are separated by commas (,). Valid values: `flv`,`hls`, `rtmp`.
	OutProtocol pulumi.StringOutput `pulumi:"outProtocol"`
	// The domain name of plan streaming used by the group.
	PlayDomain pulumi.StringOutput `pulumi:"playDomain"`
	// The domain name of push streaming used by the group.
	PushDomain pulumi.StringOutput `pulumi:"pushDomain"`
	// Whether to open Group. Valid values: `on`,`off`.
	Status pulumi.BoolOutput `pulumi:"status"`
}

Provides a Video Surveillance System Group resource.

For information about Video Surveillance System Group and how to use it, see [What is Group](https://help.aliyun.com/product/108765.html).

> **NOTE:** Available in v1.135.0+.

## Example Usage

Basic Usage

```go 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 {
		_, err := videosurveillance.NewSystemGroup(ctx, "default", &videosurveillance.SystemGroupArgs{
			GroupName:   pulumi.String("your_group_name"),
			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
		}
		return nil
	})
}

```

## Import

Video Surveillance System Group can be imported using the id, e.g.

```sh $ pulumi import alicloud:videosurveillance/systemGroup:SystemGroup example <id> ```

func GetSystemGroup added in v3.8.0

func GetSystemGroup(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *SystemGroupState, opts ...pulumi.ResourceOption) (*SystemGroup, error)

GetSystemGroup gets an existing SystemGroup resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewSystemGroup added in v3.8.0

func NewSystemGroup(ctx *pulumi.Context,
	name string, args *SystemGroupArgs, opts ...pulumi.ResourceOption) (*SystemGroup, error)

NewSystemGroup registers a new resource with the given unique name, arguments, and options.

func (*SystemGroup) ElementType added in v3.8.0

func (*SystemGroup) ElementType() reflect.Type

func (*SystemGroup) ToSystemGroupOutput added in v3.8.0

func (i *SystemGroup) ToSystemGroupOutput() SystemGroupOutput

func (*SystemGroup) ToSystemGroupOutputWithContext added in v3.8.0

func (i *SystemGroup) ToSystemGroupOutputWithContext(ctx context.Context) SystemGroupOutput

type SystemGroupArgs added in v3.8.0

type SystemGroupArgs struct {
	// The space within the device status update of the callback, need to start with http:// or https:// at the beginning.
	Callback pulumi.StringPtrInput
	// The description of Group.
	Description pulumi.StringPtrInput
	// Whether to open Group.
	Enabled pulumi.BoolPtrInput
	// The Group Name.
	GroupName pulumi.StringInput
	// The use of the access protocol support gb28181, Real Time Messaging Protocol (rtmp). Valid values: `gb28181`, `rtmp`.
	InProtocol pulumi.StringInput
	// The playback protocol used by the space, multiple values are separated by commas (,). Valid values: `flv`,`hls`, `rtmp`.
	OutProtocol pulumi.StringInput
	// The domain name of plan streaming used by the group.
	PlayDomain pulumi.StringInput
	// The domain name of push streaming used by the group.
	PushDomain pulumi.StringInput
}

The set of arguments for constructing a SystemGroup resource.

func (SystemGroupArgs) ElementType added in v3.8.0

func (SystemGroupArgs) ElementType() reflect.Type

type SystemGroupArray added in v3.8.0

type SystemGroupArray []SystemGroupInput

func (SystemGroupArray) ElementType added in v3.8.0

func (SystemGroupArray) ElementType() reflect.Type

func (SystemGroupArray) ToSystemGroupArrayOutput added in v3.8.0

func (i SystemGroupArray) ToSystemGroupArrayOutput() SystemGroupArrayOutput

func (SystemGroupArray) ToSystemGroupArrayOutputWithContext added in v3.8.0

func (i SystemGroupArray) ToSystemGroupArrayOutputWithContext(ctx context.Context) SystemGroupArrayOutput

type SystemGroupArrayInput added in v3.8.0

type SystemGroupArrayInput interface {
	pulumi.Input

	ToSystemGroupArrayOutput() SystemGroupArrayOutput
	ToSystemGroupArrayOutputWithContext(context.Context) SystemGroupArrayOutput
}

SystemGroupArrayInput is an input type that accepts SystemGroupArray and SystemGroupArrayOutput values. You can construct a concrete instance of `SystemGroupArrayInput` via:

SystemGroupArray{ SystemGroupArgs{...} }

type SystemGroupArrayOutput added in v3.8.0

type SystemGroupArrayOutput struct{ *pulumi.OutputState }

func (SystemGroupArrayOutput) ElementType added in v3.8.0

func (SystemGroupArrayOutput) ElementType() reflect.Type

func (SystemGroupArrayOutput) Index added in v3.8.0

func (SystemGroupArrayOutput) ToSystemGroupArrayOutput added in v3.8.0

func (o SystemGroupArrayOutput) ToSystemGroupArrayOutput() SystemGroupArrayOutput

func (SystemGroupArrayOutput) ToSystemGroupArrayOutputWithContext added in v3.8.0

func (o SystemGroupArrayOutput) ToSystemGroupArrayOutputWithContext(ctx context.Context) SystemGroupArrayOutput

type SystemGroupInput added in v3.8.0

type SystemGroupInput interface {
	pulumi.Input

	ToSystemGroupOutput() SystemGroupOutput
	ToSystemGroupOutputWithContext(ctx context.Context) SystemGroupOutput
}

type SystemGroupMap added in v3.8.0

type SystemGroupMap map[string]SystemGroupInput

func (SystemGroupMap) ElementType added in v3.8.0

func (SystemGroupMap) ElementType() reflect.Type

func (SystemGroupMap) ToSystemGroupMapOutput added in v3.8.0

func (i SystemGroupMap) ToSystemGroupMapOutput() SystemGroupMapOutput

func (SystemGroupMap) ToSystemGroupMapOutputWithContext added in v3.8.0

func (i SystemGroupMap) ToSystemGroupMapOutputWithContext(ctx context.Context) SystemGroupMapOutput

type SystemGroupMapInput added in v3.8.0

type SystemGroupMapInput interface {
	pulumi.Input

	ToSystemGroupMapOutput() SystemGroupMapOutput
	ToSystemGroupMapOutputWithContext(context.Context) SystemGroupMapOutput
}

SystemGroupMapInput is an input type that accepts SystemGroupMap and SystemGroupMapOutput values. You can construct a concrete instance of `SystemGroupMapInput` via:

SystemGroupMap{ "key": SystemGroupArgs{...} }

type SystemGroupMapOutput added in v3.8.0

type SystemGroupMapOutput struct{ *pulumi.OutputState }

func (SystemGroupMapOutput) ElementType added in v3.8.0

func (SystemGroupMapOutput) ElementType() reflect.Type

func (SystemGroupMapOutput) MapIndex added in v3.8.0

func (SystemGroupMapOutput) ToSystemGroupMapOutput added in v3.8.0

func (o SystemGroupMapOutput) ToSystemGroupMapOutput() SystemGroupMapOutput

func (SystemGroupMapOutput) ToSystemGroupMapOutputWithContext added in v3.8.0

func (o SystemGroupMapOutput) ToSystemGroupMapOutputWithContext(ctx context.Context) SystemGroupMapOutput

type SystemGroupOutput added in v3.8.0

type SystemGroupOutput struct{ *pulumi.OutputState }

func (SystemGroupOutput) Callback added in v3.27.0

The space within the device status update of the callback, need to start with http:// or https:// at the beginning.

func (SystemGroupOutput) CaptureImage added in v3.27.0

func (o SystemGroupOutput) CaptureImage() pulumi.IntOutput

The capture image.

func (SystemGroupOutput) CaptureInterval added in v3.27.0

func (o SystemGroupOutput) CaptureInterval() pulumi.IntOutput

The capture interval.

func (SystemGroupOutput) CaptureOssBucket added in v3.27.0

func (o SystemGroupOutput) CaptureOssBucket() pulumi.StringOutput

The capture oss bucket.

func (SystemGroupOutput) CaptureOssPath added in v3.27.0

func (o SystemGroupOutput) CaptureOssPath() pulumi.StringOutput

The capture oss path.

func (SystemGroupOutput) CaptureVideo added in v3.27.0

func (o SystemGroupOutput) CaptureVideo() pulumi.IntOutput

The capture video.

func (SystemGroupOutput) Description added in v3.27.0

func (o SystemGroupOutput) Description() pulumi.StringPtrOutput

The description of Group.

func (SystemGroupOutput) ElementType added in v3.8.0

func (SystemGroupOutput) ElementType() reflect.Type

func (SystemGroupOutput) Enabled added in v3.27.0

func (o SystemGroupOutput) Enabled() pulumi.BoolOutput

Whether to open Group.

func (SystemGroupOutput) GroupName added in v3.27.0

func (o SystemGroupOutput) GroupName() pulumi.StringOutput

The Group Name.

func (SystemGroupOutput) InProtocol added in v3.27.0

func (o SystemGroupOutput) InProtocol() pulumi.StringOutput

The use of the access protocol support gb28181, Real Time Messaging Protocol (rtmp). Valid values: `gb28181`, `rtmp`.

func (SystemGroupOutput) LazyPull added in v3.27.0

func (o SystemGroupOutput) LazyPull() pulumi.BoolOutput

Whether to enable on-demand streaming. Default value:`false`.

func (SystemGroupOutput) OutProtocol added in v3.27.0

func (o SystemGroupOutput) OutProtocol() pulumi.StringOutput

The playback protocol used by the space, multiple values are separated by commas (,). Valid values: `flv`,`hls`, `rtmp`.

func (SystemGroupOutput) PlayDomain added in v3.27.0

func (o SystemGroupOutput) PlayDomain() pulumi.StringOutput

The domain name of plan streaming used by the group.

func (SystemGroupOutput) PushDomain added in v3.27.0

func (o SystemGroupOutput) PushDomain() pulumi.StringOutput

The domain name of push streaming used by the group.

func (SystemGroupOutput) Status added in v3.27.0

func (o SystemGroupOutput) Status() pulumi.BoolOutput

Whether to open Group. Valid values: `on`,`off`.

func (SystemGroupOutput) ToSystemGroupOutput added in v3.8.0

func (o SystemGroupOutput) ToSystemGroupOutput() SystemGroupOutput

func (SystemGroupOutput) ToSystemGroupOutputWithContext added in v3.8.0

func (o SystemGroupOutput) ToSystemGroupOutputWithContext(ctx context.Context) SystemGroupOutput

type SystemGroupState added in v3.8.0

type SystemGroupState struct {
	// The space within the device status update of the callback, need to start with http:// or https:// at the beginning.
	Callback pulumi.StringPtrInput
	// The capture image.
	CaptureImage pulumi.IntPtrInput
	// The capture interval.
	CaptureInterval pulumi.IntPtrInput
	// The capture oss bucket.
	CaptureOssBucket pulumi.StringPtrInput
	// The capture oss path.
	CaptureOssPath pulumi.StringPtrInput
	// The capture video.
	CaptureVideo pulumi.IntPtrInput
	// The description of Group.
	Description pulumi.StringPtrInput
	// Whether to open Group.
	Enabled pulumi.BoolPtrInput
	// The Group Name.
	GroupName pulumi.StringPtrInput
	// The use of the access protocol support gb28181, Real Time Messaging Protocol (rtmp). Valid values: `gb28181`, `rtmp`.
	InProtocol pulumi.StringPtrInput
	// Whether to enable on-demand streaming. Default value:`false`.
	LazyPull pulumi.BoolPtrInput
	// The playback protocol used by the space, multiple values are separated by commas (,). Valid values: `flv`,`hls`, `rtmp`.
	OutProtocol pulumi.StringPtrInput
	// The domain name of plan streaming used by the group.
	PlayDomain pulumi.StringPtrInput
	// The domain name of push streaming used by the group.
	PushDomain pulumi.StringPtrInput
	// Whether to open Group. Valid values: `on`,`off`.
	Status pulumi.BoolPtrInput
}

func (SystemGroupState) ElementType added in v3.8.0

func (SystemGroupState) ElementType() reflect.Type

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL