Documentation ¶
Index ¶
- func PkgVersion() (semver.Version, error)
- type GetServiceArgs
- type GetServiceOutputArgs
- type GetServiceResult
- type GetServiceResultOutput
- func (GetServiceResultOutput) ElementType() reflect.Type
- func (o GetServiceResultOutput) Enable() pulumi.StringPtrOutput
- func (o GetServiceResultOutput) Id() pulumi.StringOutput
- func (o GetServiceResultOutput) Status() pulumi.StringOutput
- func (o GetServiceResultOutput) ToGetServiceResultOutput() GetServiceResultOutput
- func (o GetServiceResultOutput) ToGetServiceResultOutputWithContext(ctx context.Context) GetServiceResultOutput
- type GetSystemGroupsArgs
- type GetSystemGroupsGroup
- type GetSystemGroupsGroupArgs
- type GetSystemGroupsGroupArray
- type GetSystemGroupsGroupArrayInput
- type GetSystemGroupsGroupArrayOutput
- func (GetSystemGroupsGroupArrayOutput) ElementType() reflect.Type
- func (o GetSystemGroupsGroupArrayOutput) Index(i pulumi.IntInput) GetSystemGroupsGroupOutput
- func (o GetSystemGroupsGroupArrayOutput) ToGetSystemGroupsGroupArrayOutput() GetSystemGroupsGroupArrayOutput
- func (o GetSystemGroupsGroupArrayOutput) ToGetSystemGroupsGroupArrayOutputWithContext(ctx context.Context) GetSystemGroupsGroupArrayOutput
- type GetSystemGroupsGroupInput
- type GetSystemGroupsGroupOutput
- func (o GetSystemGroupsGroupOutput) App() pulumi.StringOutput
- func (o GetSystemGroupsGroupOutput) Callback() pulumi.StringOutput
- func (o GetSystemGroupsGroupOutput) CreateTime() pulumi.StringOutput
- func (o GetSystemGroupsGroupOutput) Description() pulumi.StringOutput
- func (GetSystemGroupsGroupOutput) ElementType() reflect.Type
- func (o GetSystemGroupsGroupOutput) Enabled() pulumi.BoolOutput
- func (o GetSystemGroupsGroupOutput) GbId() pulumi.StringOutput
- func (o GetSystemGroupsGroupOutput) GbIp() pulumi.StringOutput
- func (o GetSystemGroupsGroupOutput) GroupId() pulumi.StringOutput
- func (o GetSystemGroupsGroupOutput) GroupName() pulumi.StringOutput
- func (o GetSystemGroupsGroupOutput) Id() pulumi.StringOutput
- func (o GetSystemGroupsGroupOutput) InProtocol() pulumi.StringOutput
- func (o GetSystemGroupsGroupOutput) OutProtocol() pulumi.StringOutput
- func (o GetSystemGroupsGroupOutput) PlayDomain() pulumi.StringOutput
- func (o GetSystemGroupsGroupOutput) PushDomain() pulumi.StringOutput
- func (o GetSystemGroupsGroupOutput) Stats() GetSystemGroupsGroupStatArrayOutput
- func (o GetSystemGroupsGroupOutput) ToGetSystemGroupsGroupOutput() GetSystemGroupsGroupOutput
- func (o GetSystemGroupsGroupOutput) ToGetSystemGroupsGroupOutputWithContext(ctx context.Context) GetSystemGroupsGroupOutput
- type GetSystemGroupsGroupStat
- type GetSystemGroupsGroupStatArgs
- func (GetSystemGroupsGroupStatArgs) ElementType() reflect.Type
- func (i GetSystemGroupsGroupStatArgs) ToGetSystemGroupsGroupStatOutput() GetSystemGroupsGroupStatOutput
- func (i GetSystemGroupsGroupStatArgs) ToGetSystemGroupsGroupStatOutputWithContext(ctx context.Context) GetSystemGroupsGroupStatOutput
- type GetSystemGroupsGroupStatArray
- func (GetSystemGroupsGroupStatArray) ElementType() reflect.Type
- func (i GetSystemGroupsGroupStatArray) ToGetSystemGroupsGroupStatArrayOutput() GetSystemGroupsGroupStatArrayOutput
- func (i GetSystemGroupsGroupStatArray) ToGetSystemGroupsGroupStatArrayOutputWithContext(ctx context.Context) GetSystemGroupsGroupStatArrayOutput
- type GetSystemGroupsGroupStatArrayInput
- type GetSystemGroupsGroupStatArrayOutput
- func (GetSystemGroupsGroupStatArrayOutput) ElementType() reflect.Type
- func (o GetSystemGroupsGroupStatArrayOutput) Index(i pulumi.IntInput) GetSystemGroupsGroupStatOutput
- func (o GetSystemGroupsGroupStatArrayOutput) ToGetSystemGroupsGroupStatArrayOutput() GetSystemGroupsGroupStatArrayOutput
- func (o GetSystemGroupsGroupStatArrayOutput) ToGetSystemGroupsGroupStatArrayOutputWithContext(ctx context.Context) GetSystemGroupsGroupStatArrayOutput
- type GetSystemGroupsGroupStatInput
- type GetSystemGroupsGroupStatOutput
- func (o GetSystemGroupsGroupStatOutput) DeviceNum() pulumi.StringOutput
- func (GetSystemGroupsGroupStatOutput) ElementType() reflect.Type
- func (o GetSystemGroupsGroupStatOutput) IedNum() pulumi.StringOutput
- func (o GetSystemGroupsGroupStatOutput) IpcNum() pulumi.StringOutput
- func (o GetSystemGroupsGroupStatOutput) PlatformNum() pulumi.StringOutput
- func (o GetSystemGroupsGroupStatOutput) ToGetSystemGroupsGroupStatOutput() GetSystemGroupsGroupStatOutput
- func (o GetSystemGroupsGroupStatOutput) ToGetSystemGroupsGroupStatOutputWithContext(ctx context.Context) GetSystemGroupsGroupStatOutput
- type GetSystemGroupsOutputArgs
- type GetSystemGroupsResult
- type GetSystemGroupsResultOutput
- func (GetSystemGroupsResultOutput) ElementType() reflect.Type
- func (o GetSystemGroupsResultOutput) Groups() GetSystemGroupsGroupArrayOutput
- func (o GetSystemGroupsResultOutput) Id() pulumi.StringOutput
- func (o GetSystemGroupsResultOutput) Ids() pulumi.StringArrayOutput
- func (o GetSystemGroupsResultOutput) InProtocol() pulumi.StringPtrOutput
- func (o GetSystemGroupsResultOutput) Name() pulumi.StringPtrOutput
- func (o GetSystemGroupsResultOutput) NameRegex() pulumi.StringPtrOutput
- func (o GetSystemGroupsResultOutput) Names() pulumi.StringArrayOutput
- func (o GetSystemGroupsResultOutput) OutputFile() pulumi.StringPtrOutput
- func (o GetSystemGroupsResultOutput) Status() pulumi.StringPtrOutput
- func (o GetSystemGroupsResultOutput) ToGetSystemGroupsResultOutput() GetSystemGroupsResultOutput
- func (o GetSystemGroupsResultOutput) ToGetSystemGroupsResultOutputWithContext(ctx context.Context) GetSystemGroupsResultOutput
- type SystemGroup
- type SystemGroupArgs
- type SystemGroupArray
- type SystemGroupArrayInput
- type SystemGroupArrayOutput
- func (SystemGroupArrayOutput) ElementType() reflect.Type
- func (o SystemGroupArrayOutput) Index(i pulumi.IntInput) SystemGroupOutput
- func (o SystemGroupArrayOutput) ToSystemGroupArrayOutput() SystemGroupArrayOutput
- func (o SystemGroupArrayOutput) ToSystemGroupArrayOutputWithContext(ctx context.Context) SystemGroupArrayOutput
- type SystemGroupInput
- type SystemGroupMap
- type SystemGroupMapInput
- type SystemGroupMapOutput
- func (SystemGroupMapOutput) ElementType() reflect.Type
- func (o SystemGroupMapOutput) MapIndex(k pulumi.StringInput) SystemGroupOutput
- func (o SystemGroupMapOutput) ToSystemGroupMapOutput() SystemGroupMapOutput
- func (o SystemGroupMapOutput) ToSystemGroupMapOutputWithContext(ctx context.Context) SystemGroupMapOutput
- type SystemGroupOutput
- func (o SystemGroupOutput) Callback() pulumi.StringPtrOutput
- func (o SystemGroupOutput) CaptureImage() pulumi.IntOutput
- func (o SystemGroupOutput) CaptureInterval() pulumi.IntOutput
- func (o SystemGroupOutput) CaptureOssBucket() pulumi.StringOutput
- func (o SystemGroupOutput) CaptureOssPath() pulumi.StringOutput
- func (o SystemGroupOutput) CaptureVideo() pulumi.IntOutput
- func (o SystemGroupOutput) Description() pulumi.StringPtrOutput
- func (SystemGroupOutput) ElementType() reflect.Type
- func (o SystemGroupOutput) Enabled() pulumi.BoolOutput
- func (o SystemGroupOutput) GroupName() pulumi.StringOutput
- func (o SystemGroupOutput) InProtocol() pulumi.StringOutput
- func (o SystemGroupOutput) LazyPull() pulumi.BoolOutput
- func (o SystemGroupOutput) OutProtocol() pulumi.StringOutput
- func (o SystemGroupOutput) PlayDomain() pulumi.StringOutput
- func (o SystemGroupOutput) PushDomain() pulumi.StringOutput
- func (o SystemGroupOutput) Status() pulumi.BoolOutput
- func (o SystemGroupOutput) ToSystemGroupOutput() SystemGroupOutput
- func (o SystemGroupOutput) ToSystemGroupOutputWithContext(ctx context.Context) SystemGroupOutput
- type SystemGroupState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PkgVersion ¶ added in v0.0.1
PkgVersion uses reflection to determine the version of the current package. If a version cannot be determined, v1 will be assumed. The second return value is always nil.
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`. Enable *string `pulumi:"enable"` }
A collection of arguments for invoking getService.
type GetServiceOutputArgs ¶
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`. Enable pulumi.StringPtrInput `pulumi:"enable"` }
A collection of arguments for invoking getService.
func (GetServiceOutputArgs) ElementType ¶
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/go/alicloud/videosurveillance" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/videosurveillance"
)
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 ¶
type GetServiceResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getService.
func GetServiceOutput ¶
func GetServiceOutput(ctx *pulumi.Context, args GetServiceOutputArgs, opts ...pulumi.InvokeOption) GetServiceResultOutput
func (GetServiceResultOutput) ElementType ¶
func (GetServiceResultOutput) ElementType() reflect.Type
func (GetServiceResultOutput) Enable ¶
func (o GetServiceResultOutput) Enable() pulumi.StringPtrOutput
func (GetServiceResultOutput) Id ¶
func (o GetServiceResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetServiceResultOutput) Status ¶
func (o GetServiceResultOutput) Status() pulumi.StringOutput
The current service enable status.
func (GetServiceResultOutput) ToGetServiceResultOutput ¶
func (o GetServiceResultOutput) ToGetServiceResultOutput() GetServiceResultOutput
func (GetServiceResultOutput) ToGetServiceResultOutputWithContext ¶
func (o GetServiceResultOutput) ToGetServiceResultOutputWithContext(ctx context.Context) GetServiceResultOutput
type GetSystemGroupsArgs ¶
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"` OutputFile *string `pulumi:"outputFile"` // The status. Valid values: `on`,`off`. Status *string `pulumi:"status"` }
A collection of arguments for invoking getSystemGroups.
type GetSystemGroupsGroup ¶
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 ¶
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 ¶
func (GetSystemGroupsGroupArgs) ElementType() reflect.Type
func (GetSystemGroupsGroupArgs) ToGetSystemGroupsGroupOutput ¶
func (i GetSystemGroupsGroupArgs) ToGetSystemGroupsGroupOutput() GetSystemGroupsGroupOutput
func (GetSystemGroupsGroupArgs) ToGetSystemGroupsGroupOutputWithContext ¶
func (i GetSystemGroupsGroupArgs) ToGetSystemGroupsGroupOutputWithContext(ctx context.Context) GetSystemGroupsGroupOutput
type GetSystemGroupsGroupArray ¶
type GetSystemGroupsGroupArray []GetSystemGroupsGroupInput
func (GetSystemGroupsGroupArray) ElementType ¶
func (GetSystemGroupsGroupArray) ElementType() reflect.Type
func (GetSystemGroupsGroupArray) ToGetSystemGroupsGroupArrayOutput ¶
func (i GetSystemGroupsGroupArray) ToGetSystemGroupsGroupArrayOutput() GetSystemGroupsGroupArrayOutput
func (GetSystemGroupsGroupArray) ToGetSystemGroupsGroupArrayOutputWithContext ¶
func (i GetSystemGroupsGroupArray) ToGetSystemGroupsGroupArrayOutputWithContext(ctx context.Context) GetSystemGroupsGroupArrayOutput
type GetSystemGroupsGroupArrayInput ¶
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 ¶
type GetSystemGroupsGroupArrayOutput struct{ *pulumi.OutputState }
func (GetSystemGroupsGroupArrayOutput) ElementType ¶
func (GetSystemGroupsGroupArrayOutput) ElementType() reflect.Type
func (GetSystemGroupsGroupArrayOutput) Index ¶
func (o GetSystemGroupsGroupArrayOutput) Index(i pulumi.IntInput) GetSystemGroupsGroupOutput
func (GetSystemGroupsGroupArrayOutput) ToGetSystemGroupsGroupArrayOutput ¶
func (o GetSystemGroupsGroupArrayOutput) ToGetSystemGroupsGroupArrayOutput() GetSystemGroupsGroupArrayOutput
func (GetSystemGroupsGroupArrayOutput) ToGetSystemGroupsGroupArrayOutputWithContext ¶
func (o GetSystemGroupsGroupArrayOutput) ToGetSystemGroupsGroupArrayOutputWithContext(ctx context.Context) GetSystemGroupsGroupArrayOutput
type GetSystemGroupsGroupInput ¶
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 ¶
type GetSystemGroupsGroupOutput struct{ *pulumi.OutputState }
func (GetSystemGroupsGroupOutput) App ¶
func (o GetSystemGroupsGroupOutput) App() pulumi.StringOutput
The App Name of Group.
func (GetSystemGroupsGroupOutput) Callback ¶
func (o GetSystemGroupsGroupOutput) Callback() pulumi.StringOutput
The space within the device status update of the callback, need to start with http:// or https:// at the beginning.
func (GetSystemGroupsGroupOutput) CreateTime ¶
func (o GetSystemGroupsGroupOutput) CreateTime() pulumi.StringOutput
The creation time of the Group.
func (GetSystemGroupsGroupOutput) Description ¶
func (o GetSystemGroupsGroupOutput) Description() pulumi.StringOutput
The description of the Group.
func (GetSystemGroupsGroupOutput) ElementType ¶
func (GetSystemGroupsGroupOutput) ElementType() reflect.Type
func (GetSystemGroupsGroupOutput) Enabled ¶
func (o GetSystemGroupsGroupOutput) Enabled() pulumi.BoolOutput
Whether to open Group.
func (GetSystemGroupsGroupOutput) GbId ¶
func (o GetSystemGroupsGroupOutput) GbId() pulumi.StringOutput
Space of national standard ID. **NOTE:** Available only in the national standard access space.
func (GetSystemGroupsGroupOutput) GbIp ¶
func (o GetSystemGroupsGroupOutput) GbIp() pulumi.StringOutput
Space of national standard signaling server address. **NOTE:** Available only in the national standard access space.
func (GetSystemGroupsGroupOutput) GroupId ¶
func (o GetSystemGroupsGroupOutput) GroupId() pulumi.StringOutput
The ID of Group.
func (GetSystemGroupsGroupOutput) GroupName ¶
func (o GetSystemGroupsGroupOutput) GroupName() pulumi.StringOutput
The name of Group.
func (GetSystemGroupsGroupOutput) Id ¶
func (o GetSystemGroupsGroupOutput) Id() pulumi.StringOutput
The ID of the Group.
func (GetSystemGroupsGroupOutput) InProtocol ¶
func (o GetSystemGroupsGroupOutput) InProtocol() pulumi.StringOutput
The use of the access protocol support `gb28181`,`rtmp`(Real Time Messaging Protocol).
func (GetSystemGroupsGroupOutput) OutProtocol ¶
func (o GetSystemGroupsGroupOutput) OutProtocol() pulumi.StringOutput
The use of space play Protocol multi-valued separate them with commas (,). Valid values: `flv`,`hls`, `rtmp`(Real Time Messaging Protocol).
func (GetSystemGroupsGroupOutput) PlayDomain ¶
func (o GetSystemGroupsGroupOutput) PlayDomain() pulumi.StringOutput
-The domain name of plan streaming used by the group.
func (GetSystemGroupsGroupOutput) PushDomain ¶
func (o GetSystemGroupsGroupOutput) PushDomain() pulumi.StringOutput
The domain name of push streaming used by the group.
func (GetSystemGroupsGroupOutput) Stats ¶
func (o GetSystemGroupsGroupOutput) Stats() GetSystemGroupsGroupStatArrayOutput
The Device statistics of Group.
func (GetSystemGroupsGroupOutput) ToGetSystemGroupsGroupOutput ¶
func (o GetSystemGroupsGroupOutput) ToGetSystemGroupsGroupOutput() GetSystemGroupsGroupOutput
func (GetSystemGroupsGroupOutput) ToGetSystemGroupsGroupOutputWithContext ¶
func (o GetSystemGroupsGroupOutput) ToGetSystemGroupsGroupOutputWithContext(ctx context.Context) GetSystemGroupsGroupOutput
type GetSystemGroupsGroupStat ¶
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 ¶
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 ¶
func (GetSystemGroupsGroupStatArgs) ElementType() reflect.Type
func (GetSystemGroupsGroupStatArgs) ToGetSystemGroupsGroupStatOutput ¶
func (i GetSystemGroupsGroupStatArgs) ToGetSystemGroupsGroupStatOutput() GetSystemGroupsGroupStatOutput
func (GetSystemGroupsGroupStatArgs) ToGetSystemGroupsGroupStatOutputWithContext ¶
func (i GetSystemGroupsGroupStatArgs) ToGetSystemGroupsGroupStatOutputWithContext(ctx context.Context) GetSystemGroupsGroupStatOutput
type GetSystemGroupsGroupStatArray ¶
type GetSystemGroupsGroupStatArray []GetSystemGroupsGroupStatInput
func (GetSystemGroupsGroupStatArray) ElementType ¶
func (GetSystemGroupsGroupStatArray) ElementType() reflect.Type
func (GetSystemGroupsGroupStatArray) ToGetSystemGroupsGroupStatArrayOutput ¶
func (i GetSystemGroupsGroupStatArray) ToGetSystemGroupsGroupStatArrayOutput() GetSystemGroupsGroupStatArrayOutput
func (GetSystemGroupsGroupStatArray) ToGetSystemGroupsGroupStatArrayOutputWithContext ¶
func (i GetSystemGroupsGroupStatArray) ToGetSystemGroupsGroupStatArrayOutputWithContext(ctx context.Context) GetSystemGroupsGroupStatArrayOutput
type GetSystemGroupsGroupStatArrayInput ¶
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 ¶
type GetSystemGroupsGroupStatArrayOutput struct{ *pulumi.OutputState }
func (GetSystemGroupsGroupStatArrayOutput) ElementType ¶
func (GetSystemGroupsGroupStatArrayOutput) ElementType() reflect.Type
func (GetSystemGroupsGroupStatArrayOutput) Index ¶
func (o GetSystemGroupsGroupStatArrayOutput) Index(i pulumi.IntInput) GetSystemGroupsGroupStatOutput
func (GetSystemGroupsGroupStatArrayOutput) ToGetSystemGroupsGroupStatArrayOutput ¶
func (o GetSystemGroupsGroupStatArrayOutput) ToGetSystemGroupsGroupStatArrayOutput() GetSystemGroupsGroupStatArrayOutput
func (GetSystemGroupsGroupStatArrayOutput) ToGetSystemGroupsGroupStatArrayOutputWithContext ¶
func (o GetSystemGroupsGroupStatArrayOutput) ToGetSystemGroupsGroupStatArrayOutputWithContext(ctx context.Context) GetSystemGroupsGroupStatArrayOutput
type GetSystemGroupsGroupStatInput ¶
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 ¶
type GetSystemGroupsGroupStatOutput struct{ *pulumi.OutputState }
func (GetSystemGroupsGroupStatOutput) DeviceNum ¶
func (o GetSystemGroupsGroupStatOutput) DeviceNum() pulumi.StringOutput
The total number of devices in the group.
func (GetSystemGroupsGroupStatOutput) ElementType ¶
func (GetSystemGroupsGroupStatOutput) ElementType() reflect.Type
func (GetSystemGroupsGroupStatOutput) IedNum ¶
func (o GetSystemGroupsGroupStatOutput) IedNum() pulumi.StringOutput
The total number of smart devices in the group.
func (GetSystemGroupsGroupStatOutput) IpcNum ¶
func (o GetSystemGroupsGroupStatOutput) IpcNum() pulumi.StringOutput
The total number of cameras in the group.
func (GetSystemGroupsGroupStatOutput) PlatformNum ¶
func (o GetSystemGroupsGroupStatOutput) PlatformNum() pulumi.StringOutput
The total number of platforms in the group.
func (GetSystemGroupsGroupStatOutput) ToGetSystemGroupsGroupStatOutput ¶
func (o GetSystemGroupsGroupStatOutput) ToGetSystemGroupsGroupStatOutput() GetSystemGroupsGroupStatOutput
func (GetSystemGroupsGroupStatOutput) ToGetSystemGroupsGroupStatOutputWithContext ¶
func (o GetSystemGroupsGroupStatOutput) ToGetSystemGroupsGroupStatOutputWithContext(ctx context.Context) GetSystemGroupsGroupStatOutput
type GetSystemGroupsOutputArgs ¶
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"` 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 ¶
func (GetSystemGroupsOutputArgs) ElementType() reflect.Type
type GetSystemGroupsResult ¶
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 ¶
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/go/alicloud/videosurveillance" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/videosurveillance"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { defaultSystemGroup, err := videosurveillance.NewSystemGroup(ctx, "defaultSystemGroup", &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 } defaultSystemGroups := videosurveillance.GetSystemGroupsOutput(ctx, videosurveillance.GetSystemGroupsOutputArgs{ Ids: pulumi.StringArray{ defaultSystemGroup.ID(), }, }, nil) ctx.Export("vsGroup", defaultSystemGroups.ApplyT(func(defaultSystemGroups videosurveillance.GetSystemGroupsResult) (string, error) { return defaultSystemGroups.Ids[0], nil }).(pulumi.StringOutput)) return nil }) }
```
type GetSystemGroupsResultOutput ¶
type GetSystemGroupsResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getSystemGroups.
func GetSystemGroupsOutput ¶
func GetSystemGroupsOutput(ctx *pulumi.Context, args GetSystemGroupsOutputArgs, opts ...pulumi.InvokeOption) GetSystemGroupsResultOutput
func (GetSystemGroupsResultOutput) ElementType ¶
func (GetSystemGroupsResultOutput) ElementType() reflect.Type
func (GetSystemGroupsResultOutput) Groups ¶
func (o GetSystemGroupsResultOutput) Groups() GetSystemGroupsGroupArrayOutput
func (GetSystemGroupsResultOutput) Id ¶
func (o GetSystemGroupsResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetSystemGroupsResultOutput) Ids ¶
func (o GetSystemGroupsResultOutput) Ids() pulumi.StringArrayOutput
func (GetSystemGroupsResultOutput) InProtocol ¶
func (o GetSystemGroupsResultOutput) InProtocol() pulumi.StringPtrOutput
func (GetSystemGroupsResultOutput) Name ¶
func (o GetSystemGroupsResultOutput) Name() pulumi.StringPtrOutput
func (GetSystemGroupsResultOutput) NameRegex ¶
func (o GetSystemGroupsResultOutput) NameRegex() pulumi.StringPtrOutput
func (GetSystemGroupsResultOutput) Names ¶
func (o GetSystemGroupsResultOutput) Names() pulumi.StringArrayOutput
func (GetSystemGroupsResultOutput) OutputFile ¶
func (o GetSystemGroupsResultOutput) OutputFile() pulumi.StringPtrOutput
func (GetSystemGroupsResultOutput) Status ¶
func (o GetSystemGroupsResultOutput) Status() pulumi.StringPtrOutput
func (GetSystemGroupsResultOutput) ToGetSystemGroupsResultOutput ¶
func (o GetSystemGroupsResultOutput) ToGetSystemGroupsResultOutput() GetSystemGroupsResultOutput
func (GetSystemGroupsResultOutput) ToGetSystemGroupsResultOutputWithContext ¶
func (o GetSystemGroupsResultOutput) ToGetSystemGroupsResultOutputWithContext(ctx context.Context) GetSystemGroupsResultOutput
type SystemGroup ¶
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/sdk/v3/go/pulumi" "github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/videosurveillance"
)
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 ¶
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 ¶
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 ¶
func (*SystemGroup) ElementType() reflect.Type
func (*SystemGroup) ToSystemGroupOutput ¶
func (i *SystemGroup) ToSystemGroupOutput() SystemGroupOutput
func (*SystemGroup) ToSystemGroupOutputWithContext ¶
func (i *SystemGroup) ToSystemGroupOutputWithContext(ctx context.Context) SystemGroupOutput
type SystemGroupArgs ¶
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 ¶
func (SystemGroupArgs) ElementType() reflect.Type
type SystemGroupArray ¶
type SystemGroupArray []SystemGroupInput
func (SystemGroupArray) ElementType ¶
func (SystemGroupArray) ElementType() reflect.Type
func (SystemGroupArray) ToSystemGroupArrayOutput ¶
func (i SystemGroupArray) ToSystemGroupArrayOutput() SystemGroupArrayOutput
func (SystemGroupArray) ToSystemGroupArrayOutputWithContext ¶
func (i SystemGroupArray) ToSystemGroupArrayOutputWithContext(ctx context.Context) SystemGroupArrayOutput
type SystemGroupArrayInput ¶
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 ¶
type SystemGroupArrayOutput struct{ *pulumi.OutputState }
func (SystemGroupArrayOutput) ElementType ¶
func (SystemGroupArrayOutput) ElementType() reflect.Type
func (SystemGroupArrayOutput) Index ¶
func (o SystemGroupArrayOutput) Index(i pulumi.IntInput) SystemGroupOutput
func (SystemGroupArrayOutput) ToSystemGroupArrayOutput ¶
func (o SystemGroupArrayOutput) ToSystemGroupArrayOutput() SystemGroupArrayOutput
func (SystemGroupArrayOutput) ToSystemGroupArrayOutputWithContext ¶
func (o SystemGroupArrayOutput) ToSystemGroupArrayOutputWithContext(ctx context.Context) SystemGroupArrayOutput
type SystemGroupInput ¶
type SystemGroupInput interface { pulumi.Input ToSystemGroupOutput() SystemGroupOutput ToSystemGroupOutputWithContext(ctx context.Context) SystemGroupOutput }
type SystemGroupMap ¶
type SystemGroupMap map[string]SystemGroupInput
func (SystemGroupMap) ElementType ¶
func (SystemGroupMap) ElementType() reflect.Type
func (SystemGroupMap) ToSystemGroupMapOutput ¶
func (i SystemGroupMap) ToSystemGroupMapOutput() SystemGroupMapOutput
func (SystemGroupMap) ToSystemGroupMapOutputWithContext ¶
func (i SystemGroupMap) ToSystemGroupMapOutputWithContext(ctx context.Context) SystemGroupMapOutput
type SystemGroupMapInput ¶
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 ¶
type SystemGroupMapOutput struct{ *pulumi.OutputState }
func (SystemGroupMapOutput) ElementType ¶
func (SystemGroupMapOutput) ElementType() reflect.Type
func (SystemGroupMapOutput) MapIndex ¶
func (o SystemGroupMapOutput) MapIndex(k pulumi.StringInput) SystemGroupOutput
func (SystemGroupMapOutput) ToSystemGroupMapOutput ¶
func (o SystemGroupMapOutput) ToSystemGroupMapOutput() SystemGroupMapOutput
func (SystemGroupMapOutput) ToSystemGroupMapOutputWithContext ¶
func (o SystemGroupMapOutput) ToSystemGroupMapOutputWithContext(ctx context.Context) SystemGroupMapOutput
type SystemGroupOutput ¶
type SystemGroupOutput struct{ *pulumi.OutputState }
func (SystemGroupOutput) Callback ¶
func (o SystemGroupOutput) Callback() pulumi.StringPtrOutput
The space within the device status update of the callback, need to start with http:// or https:// at the beginning.
func (SystemGroupOutput) CaptureImage ¶
func (o SystemGroupOutput) CaptureImage() pulumi.IntOutput
The capture image.
func (SystemGroupOutput) CaptureInterval ¶
func (o SystemGroupOutput) CaptureInterval() pulumi.IntOutput
The capture interval.
func (SystemGroupOutput) CaptureOssBucket ¶
func (o SystemGroupOutput) CaptureOssBucket() pulumi.StringOutput
The capture oss bucket.
func (SystemGroupOutput) CaptureOssPath ¶
func (o SystemGroupOutput) CaptureOssPath() pulumi.StringOutput
The capture oss path.
func (SystemGroupOutput) CaptureVideo ¶
func (o SystemGroupOutput) CaptureVideo() pulumi.IntOutput
The capture video.
func (SystemGroupOutput) Description ¶
func (o SystemGroupOutput) Description() pulumi.StringPtrOutput
The description of Group.
func (SystemGroupOutput) ElementType ¶
func (SystemGroupOutput) ElementType() reflect.Type
func (SystemGroupOutput) Enabled ¶
func (o SystemGroupOutput) Enabled() pulumi.BoolOutput
Whether to open Group.
func (SystemGroupOutput) GroupName ¶
func (o SystemGroupOutput) GroupName() pulumi.StringOutput
The Group Name.
func (SystemGroupOutput) InProtocol ¶
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 ¶
func (o SystemGroupOutput) LazyPull() pulumi.BoolOutput
Whether to enable on-demand streaming. Default value:`false`.
func (SystemGroupOutput) OutProtocol ¶
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 ¶
func (o SystemGroupOutput) PlayDomain() pulumi.StringOutput
The domain name of plan streaming used by the group.
func (SystemGroupOutput) PushDomain ¶
func (o SystemGroupOutput) PushDomain() pulumi.StringOutput
The domain name of push streaming used by the group.
func (SystemGroupOutput) Status ¶
func (o SystemGroupOutput) Status() pulumi.BoolOutput
Whether to open Group. Valid values: `on`,`off`.
func (SystemGroupOutput) ToSystemGroupOutput ¶
func (o SystemGroupOutput) ToSystemGroupOutput() SystemGroupOutput
func (SystemGroupOutput) ToSystemGroupOutputWithContext ¶
func (o SystemGroupOutput) ToSystemGroupOutputWithContext(ctx context.Context) SystemGroupOutput
type SystemGroupState ¶
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 ¶
func (SystemGroupState) ElementType() reflect.Type